/**
 * DERMAL Phase C Home composition layer.
 *
 * Task 27 owns only the Home route's visual hierarchy and responsive
 * composition. Source-backed markup, content filters and interaction hooks
 * remain in the frozen Home implementation.
 */

.home-page {
	--dermal-home-section-space: clamp(4.5rem, 7vw, 7rem);
	--dermal-home-section-space-compact: clamp(3.5rem, 5vw, 5.5rem);
	--dermal-home-card-padding: clamp(1.25rem, 2vw, 1.75rem);
	--dermal-home-surface-border: 1px solid var(--dermal-color-border);
	--dermal-home-dark-surface: rgb(255 255 255 / 8%);
	--dermal-home-dark-border: rgb(255 255 255 / 15%);
}

.home-page :where(.section-title h1, .section-title h2) {
	line-height: var(--dermal-line-height-heading);
	text-wrap: balance;
}

.home-page .section-title h1 {
	font-size: clamp(2.75rem, 4.5vw, 4rem);
}

.home-page .section-title h2 {
	font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.home-page .section-title h3 {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: var(--dermal-letter-spacing-label);
	text-transform: uppercase;
}

.home-page .section-title p {
	max-width: 42rem;
	line-height: 1.7;
	text-wrap: pretty;
}

.home-page .section-row {
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.home-page :where(
	.about-us,
	.our-services,
	.why-choose-us,
	.our-process,
	.how-we-work,
	.our-benefit,
	.our-results,
	.our-faqs,
	.our-testimonials,
	.our-team,
	.our-blog,
	.book-appointment
) {
	isolation: isolate;
}

.home-page :where(
	.about-us,
	.our-services,
	.why-choose-us,
	.how-we-work,
	.our-benefit,
	.our-results,
	.our-faqs,
	.our-testimonials,
	.our-team,
	.our-blog,
	.book-appointment
) {
	padding-top: var(--dermal-home-section-space);
	padding-bottom: var(--dermal-home-section-space);
}

.home-page :where(
	.our-services,
	.our-process,
	.our-benefit,
	.our-faqs,
	.our-team,
	.book-appointment
) {
	border: var(--dermal-home-surface-border);
	box-shadow: var(--dermal-shadow-sm);
}

/* Hero: preserve the source composition while strengthening its first-view hierarchy. */
.home-page .hero {
	background: transparent;
}

.home-page .hero-section {
	min-height: min(50rem, calc(100svh - 6rem));
	padding-top: clamp(3.5rem, 5vw, 5rem);
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 12%);
	box-shadow: var(--dermal-shadow-md);
}

.home-page .hero-content {
	max-width: 35rem;
}

.home-page .hero-doctor-badge {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	gap: 0.625rem;
	margin: 0 0 1.25rem;
	padding: 0.625rem 0.9375rem;
	color: var(--white-color);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.015em;
	background: rgb(255 255 255 / 7%);
	border: 1px solid rgb(255 255 255 / 36%);
	border-radius: 999px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.home-page .hero-doctor-badge__mark {
	flex: 0 0 auto;
	width: 0.625rem;
	height: 0.625rem;
	background: var(--white-color);
	border: 2px solid rgb(var(--dermal-color-brand-rgb) / 78%);
	border-radius: 50%;
	box-shadow: 0 0 0 2px rgb(255 255 255 / 24%);
}

.home-page .hero-content .section-title {
	margin-bottom: var(--dermal-space-8);
}

.home-page .hero-content .section-title p {
	max-width: 33rem;
	color: rgb(255 255 255 / 84%);
}

.home-page .hero-review-box {
	max-width: 34rem;
	padding: var(--dermal-space-5);
	background: var(--dermal-home-dark-surface);
	border: 1px solid var(--dermal-home-dark-border);
	border-radius: var(--dermal-radius-lg);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.home-page .hero-review-box-title {
	padding-bottom: var(--dermal-space-3);
	margin-bottom: var(--dermal-space-4);
}

.home-page .hero-review-box-title h3 {
	font-family: var(--dermal-font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: var(--dermal-letter-spacing-label);
	text-transform: uppercase;
}

.home-page .hero-cta-box {
	padding: var(--dermal-space-8) 0 var(--dermal-space-12);
	background: transparent;
}

.home-page .hero-cta-info {
	gap: var(--dermal-space-4);
}

.home-page .hero-cta-item {
	width: calc(33.333% - 0.667rem);
	min-width: 0;
	padding: var(--dermal-home-card-padding);
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-lg);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .hero-cta-item::before {
	display: none;
}

.home-page .hero-cta-item-header .icon-box {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	margin-right: var(--dermal-space-3);
	background: var(--dermal-color-brand-100);
	border-radius: var(--dermal-radius-md);
}

/* About and trust metrics. */
.home-page .about-us-image,
.home-page .why-choose-image figure,
.home-page .how-we-work-img figure {
	filter: drop-shadow(0 18px 40px rgb(var(--dermal-color-brand-rgb) / 12%));
}

.home-page .about-us-image--single {
	display: grid;
	grid-template-rows: minmax(0, 1fr);
	padding: 0;
	overflow: hidden;
	aspect-ratio: 1 / 1.08;
	border-radius: 30px;
}

.home-page .about-us-image--single :where(.about-img-1, .about-img-1 figure, .about-img-1 img) {
	width: 100%;
	height: 100%;
	min-height: 0;
}

.home-page .about-us-image--single .about-img-1 img {
	aspect-ratio: auto;
	object-fit: cover;
	object-position: 50% 28%;
}

.home-page .about-body-list ul li,
.home-page .our-process-list ul li {
	padding-left: 1.75rem;
}

.home-page .about-body-list ul li::before,
.home-page .our-process-list ul li::before {
	content: "";
	top: 0.45em;
	width: 0.75rem;
	height: 0.75rem;
	background: var(--dermal-color-brand-100);
	border: 3px solid var(--dermal-color-brand-700);
	border-radius: 50%;
}

.home-page .about-team-member {
	border: 1px solid rgb(255 255 255 / 12%);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .about-counter-list {
	gap: var(--dermal-space-4);
	padding-top: var(--dermal-space-8);
	margin-top: var(--dermal-space-10);
}

.home-page .about-counter-item {
	width: calc(25% - 0.75rem);
	min-width: 0;
	padding: var(--dermal-space-5);
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-lg);
	box-shadow: var(--dermal-shadow-sm);
}

/* Cards and decision-support sections. */
.home-page .service-box {
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 35%);
	border-radius: var(--dermal-radius-xl);
	box-shadow: var(--dermal-shadow-md);
}

.home-page .service-image a,
.home-page .service-image img {
	border-radius: inherit;
}

.home-page .our-services .service-content h3 {
	font-weight: 700;
	line-height: 1.25;
	text-shadow: 0 1px 2px rgb(0 0 0 / 24%);
}

.home-page .services-slider .swiper:not(.swiper-initialized) {
	overflow: visible;
}

.home-page .services-slider .swiper:not(.swiper-initialized) .swiper-wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	transform: none !important;
}

.home-page .services-slider .swiper:not(.swiper-initialized) .swiper-slide {
	width: auto !important;
}

.home-page .services-pagination:empty {
	display: none;
}

.home-page .services-pagination .swiper-pagination-bullet:focus-visible {
	outline: 3px solid var(--dermal-color-focus);
	outline-offset: 4px;
}

.home-page .why-choose-list {
	display: grid;
	gap: var(--dermal-space-4);
}

.home-page .why-choose-list-item {
	padding: var(--dermal-home-card-padding);
	margin-top: 0;
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-lg);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .why-choose-list-item .icon-box {
	border-radius: var(--dermal-radius-md);
}

.home-page .why-choose-item-content h3 {
	font-weight: 600;
}

@media only screen and (min-width: 992px) {
	.home-page .why-choose-layout {
		display: grid;
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		grid-template-rows: minmax(0, auto);
		gap: 30px;
		align-items: stretch !important;
		margin: 0;
	}

	.home-page .why-choose-copy-column {
		display: block;
		grid-column: 1;
		grid-row: 1;
		width: auto;
		max-width: none;
		padding: 0;
	}

	.home-page .why-choose-content {
		display: flex;
		height: 100%;
		margin-right: 0;
		flex-direction: column;
	}

	.home-page .why-choose-content .section-title {
		margin: 0 0 clamp(2.75rem, 4vw, 4rem);
	}

	.home-page .why-choose-list {
		margin-top: auto;
	}

	.home-page .why-choose-media-column {
		position: relative;
		grid-column: 2;
		grid-row: 1;
		width: auto;
		max-width: none;
		min-height: 0;
		padding: 0;
	}

	.home-page .why-choose-image {
		position: absolute;
		inset: 0;
	}

	.home-page .why-choose-image,
	.home-page .why-choose-image figure,
	.home-page .why-choose-image img {
		width: 100%;
		height: 100%;
		min-height: 0;
	}

	.home-page .why-choose-image img {
		aspect-ratio: auto;
		object-fit: cover;
		object-position: 50% 46%;
	}
}

@media only screen and (max-width: 991px) {
	.home-page .why-choose-image {
		width: min(100%, 42rem);
		margin: 0 auto;
	}

	.home-page .why-choose-image img {
		aspect-ratio: 4 / 3;
		object-fit: cover;
		object-position: 50% 42%;
	}
}

.home-page .process-video-box,
.home-page .process-video-image,
.home-page .process-video-image img {
	border-radius: var(--dermal-radius-xl) 0 0 var(--dermal-radius-xl);
}

.home-page .our-process .row > [class*="col-"] {
	display: flex;
}

.home-page .process-video-box,
.home-page .process-video-image,
.home-page .process-video-image figure,
.home-page .our-process-content {
	width: 100%;
}

.home-page .process-video-image figure {
	position: relative;
}

.home-page .process-video-image img {
	object-position: 50% 45%;
}

.home-page .process-media-caption {
	bottom: clamp(2rem, 4vw, 4.5rem);
	left: clamp(1.5rem, 4vw, 4.5rem);
	right: clamp(1.5rem, 4vw, 4.5rem);
}

.home-page .process-media-caption--static .video-play-content {
	width: min(100%, 39rem);
}

.home-page .process-media-caption .video-play-content h3 {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: var(--dermal-letter-spacing-label);
	text-transform: none;
}

.home-page .process-media-caption .video-play-content h2 {
	font-size: clamp(2rem, 3vw, 3rem);
	font-weight: 500;
	line-height: 1.08;
	text-wrap: balance;
}

.home-page .our-process-content {
	max-width: 48rem;
	padding-top: var(--dermal-home-section-space-compact);
	padding-bottom: var(--dermal-home-section-space-compact);
}

.home-page .our-process-content .section-title {
	margin-bottom: var(--dermal-space-6);
}

.home-page .our-process-content .section-title h3 {
	text-transform: none;
}

.home-page .our-process-content .section-title p {
	max-width: 44rem;
}

.home-page .our-process-list ul {
	gap: var(--dermal-space-4);
}

.home-page .our-process-list ul li {
	width: calc(50% - (var(--dermal-space-4) / 2));
	font-weight: 600;
	line-height: 1.45;
	text-wrap: pretty;
}

.home-page .our-process-btn {
	margin-top: var(--dermal-space-8);
}

.home-page .our-process-content .section-footer-text {
	max-width: 40rem;
	margin-top: var(--dermal-space-6);
}

.home-page .how-work-steps {
	display: grid;
	gap: var(--dermal-space-3);
}

.home-page .how-work-step-item {
	gap: var(--dermal-space-4);
	padding: var(--dermal-space-5);
	margin: 0;
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-lg);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .how-work-step-no {
	min-width: 3.25rem;
}

.home-page .how-work-step-no h2 {
	color: var(--dermal-color-brand-500);
}

.home-page .how-work-contact-info {
	padding: var(--dermal-space-5);
	background: rgb(var(--dermal-color-brand-rgb) / 74%);
	border: 1px solid rgb(255 255 255 / 18%);
	border-radius: var(--dermal-radius-lg);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

/* Task 98: Home laser and energy technology overview. */
.home-page .how-we-work--technology {
	background:
		radial-gradient(circle at 88% 14%, rgb(var(--dermal-color-brand-rgb) / 7%), transparent 28rem),
		var(--dermal-color-canvas);
}

.home-page .how-we-work--technology .row > [class*="col-"] {
	display: flex;
}

.home-page .how-we-work--technology .how-we-work-content {
	display: flex;
	width: 100%;
	height: 100%;
	margin-right: clamp(0.75rem, 2vw, 1.875rem);
	flex-direction: column;
}

.home-page .how-we-work--technology .section-title {
	max-width: 48rem;
	margin-bottom: clamp(2rem, 3vw, 3rem);
}

.home-page .how-we-work--technology .section-title--eyebrow-only {
	margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.home-page .how-we-work--technology .section-title h2 {
	max-width: 44rem;
	font-size: clamp(2.5rem, 3.65vw, 3.75rem);
}

.home-page .how-we-work--technology .section-title p {
	max-width: 46rem;
	color: var(--dermal-color-text-soft);
}

.home-page .how-we-work--technology .how-work-steps {
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(0.875rem, 1.35vw, 1.25rem);
}

.home-page .how-we-work--technology .how-work-step-item {
	display: grid;
	min-height: 8.5rem;
	padding: clamp(1.25rem, 1.7vw, 1.625rem);
	grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
	align-items: center;
	gap: clamp(0.875rem, 1.5vw, 1.25rem);
	color: inherit;
	text-decoration: none;
	border-color: rgb(var(--dermal-color-brand-rgb) / 16%);
	box-shadow: 0 14px 35px rgb(var(--dermal-color-brand-rgb) / 7%);
}

.home-page .how-we-work--technology .how-work-step-item--linked:hover {
	color: inherit;
	border-color: rgb(var(--dermal-color-brand-rgb) / 32%);
	box-shadow: 0 18px 38px rgb(var(--dermal-color-brand-rgb) / 11%);
}

.home-page .how-we-work--technology .how-work-step-item--linked:focus-visible {
	outline: 3px solid var(--dermal-color-focus);
	outline-offset: 3px;
}

.home-page .how-we-work--technology .how-work-step-no {
	min-width: 0;
}

.home-page .how-we-work--technology .how-work-step-no h2 {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	margin: 0;
	color: var(--dermal-color-primary);
	font-family: var(--dermal-font-body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	background: var(--dermal-color-brand-100);
	border: 1px solid rgb(var(--dermal-color-brand-rgb) / 14%);
	border-radius: 999px;
}

.home-page .how-we-work--technology .how-work-step-content h3 {
	margin: 0 0 0.625rem;
	font-size: clamp(1.25rem, 1.55vw, 1.5rem);
	font-weight: 700;
	line-height: 1.2;
	text-transform: none;
	text-wrap: balance;
}

.home-page .how-we-work--technology .how-work-step-content {
	min-width: 0;
}

.home-page .how-we-work--technology .how-work-step-content p {
	max-width: 34rem;
	color: var(--dermal-color-text-soft);
	font-size: 0.9375rem;
	line-height: 1.6;
	text-wrap: pretty;
}

.home-page .how-we-work--technology .how-work-step-action {
	display: grid;
	width: 2.75rem;
	height: 2.75rem;
	place-items: center;
	color: var(--dermal-color-primary);
	font-size: 1.35rem;
	line-height: 1;
	background: var(--dermal-color-brand-100);
	border-radius: 999px;
}

.home-page .how-we-work--technology .how-work-step-action--static {
	opacity: 0.48;
}

.home-page .how-we-work--technology .how-we-work-image,
.home-page .how-we-work--technology .how-we-work-img,
.home-page .how-we-work--technology .how-we-work-img figure,
.home-page .how-we-work--technology .how-we-work-img img {
	width: 100%;
	height: 100%;
	min-height: 0;
}

.home-page .how-we-work--technology .how-we-work-image {
	overflow: hidden;
	border-radius: var(--dermal-radius-xl);
	box-shadow: var(--dermal-shadow-md);
}

.home-page .how-we-work--technology .how-we-work-img figure {
	position: relative;
	margin: 0;
	border-radius: inherit;
	filter: none;
}

.home-page .how-we-work--technology .how-we-work-img figure::before {
	z-index: 1;
	background: linear-gradient(180deg, transparent 48%, rgb(15 48 28 / 20%) 68%, rgb(15 48 28 / 94%) 100%);
}

.home-page .how-we-work--technology .how-we-work-img img {
	display: block;
	aspect-ratio: auto;
	object-fit: cover;
	object-position: 50% 46%;
}

.home-page .how-work-technology-cta {
	position: absolute;
	right: clamp(1.25rem, 2.4vw, 2.25rem);
	bottom: clamp(1.25rem, 2.4vw, 2.25rem);
	left: clamp(1.25rem, 2.4vw, 2.25rem);
	z-index: 2;
	padding: clamp(1rem, 1.7vw, 1.5rem);
	background: rgb(24 73 41 / 88%);
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: var(--dermal-radius-lg);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.home-page .how-work-technology-cta p {
	margin: 0 0 0.875rem;
	color: rgb(255 255 255 / 84%);
	font-size: 0.875rem;
	line-height: 1.45;
}

.home-page .how-work-technology-cta .btn-default {
	width: 100%;
	justify-content: center;
	color: var(--dermal-color-primary);
	background: var(--white-color);
}

.home-page .how-work-technology-cta .btn-default::before {
	background-color: var(--dermal-color-brand-100);
}

.home-page .how-work-technology-cta .btn-default:focus-visible {
	outline: 3px solid var(--white-color);
	outline-offset: 4px;
}

@media only screen and (min-width: 992px) {
	.home-page .how-we-work--technology .row > .col-lg-5 {
		position: relative;
	}

	.home-page .how-we-work--technology .how-we-work-image {
		position: absolute;
		inset: 0 0 0 0.9375rem;
		width: auto;
	}
}

.home-page .our-benefit-box-1,
.home-page .our-benefit-box-2 {
	display: grid;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: var(--dermal-space-4);
}

.home-page .our-benefit-item {
	min-height: 9rem;
	padding: var(--dermal-space-4);
	margin-bottom: 0;
	background: var(--dermal-home-dark-surface);
	border: 1px solid var(--dermal-home-dark-border);
	border-radius: var(--dermal-radius-lg);
}

.home-page .our-benefit-item .icon-box {
	flex: 0 0 3.75rem;
	border-radius: var(--dermal-radius-md);
}

.home-page .our-benefit-item-content h3 {
	line-height: 1.2;
	text-wrap: balance;
}

.home-page .our-benefit-item-content p {
	font-size: 0.9375rem;
	line-height: 1.55;
	text-wrap: pretty;
}

.home-page .our-benefit-image figure {
	padding: 0.375rem;
	background: rgb(255 255 255 / 10%);
	border: 1px solid var(--dermal-home-dark-border);
}

.home-page .our-benefit-image img {
	height: auto;
}

.home-page .transformation_image {
	padding: 0.375rem;
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-xl);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .transformation_image img {
	border-radius: calc(var(--dermal-radius-xl) - 0.375rem);
}

.home-page .our-faqs {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.home-page .our-benefit + .our-faqs {
	margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.home-page .faq-accordion {
	display: grid;
	gap: var(--dermal-space-3);
}

.home-page .faq-accordion .accordion-item,
.home-page .faq-accordion .accordion-item:last-child {
	padding: var(--dermal-space-5);
	margin: 0;
	background: var(--dermal-home-dark-surface);
	border: 1px solid var(--dermal-home-dark-border);
	border-radius: var(--dermal-radius-lg);
}

.home-page .faq-accordion .accordion-button {
	min-height: 2.75rem;
}

/* Task 78: replace the unavailable FontAwesome glyph with a native CSS plus/minus. */
.home-page .faq-accordion .accordion-item .accordion-button::after,
.home-page .faq-accordion .accordion-item .accordion-button.collapsed::after {
	content: "";
	position: absolute;
	top: 0.325rem;
	right: 0;
	width: 1rem;
	height: 1rem;
	margin: 0;
	font-family: inherit;
	font-size: 0;
	color: currentColor;
	background-image:
		linear-gradient(currentColor, currentColor),
		linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 2px, 2px 100%;
	transform: none;
	transition: none;
}

.home-page .faq-accordion .accordion-item .accordion-button:not(.collapsed)::after {
	background-size: 100% 2px, 0 0;
	transform: none;
}

/* Social proof, people and editorial cards remain placeholders until Task 36. */
.home-page .testimonial-item {
	min-height: 18rem;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-xl);
}

.home-page .trusted-client-box {
	padding: var(--dermal-home-card-padding);
	background: var(--dermal-color-surface-muted);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-lg);
}

.home-page .trusted-client-logo img {
	filter: grayscale(1);
	opacity: 0.72;
}

.home-page .team-item {
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-xl);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .team-image a,
.home-page .team-image img {
	border-radius: inherit;
}

.home-page .team-item:focus-within .team-body {
	transform: translateY(0);
}

.home-page .team-item:focus-within .team-social-list {
	margin-top: var(--dermal-space-3);
	opacity: 1;
	visibility: visible;
}

.home-page .post-item {
	overflow: hidden;
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-xl);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .post-featured-image {
	margin-bottom: 0;
}

.home-page .post-featured-image a,
.home-page .post-featured-image img {
	border-radius: var(--dermal-radius-xl) var(--dermal-radius-xl) 0 0;
}

.home-page .post-item-body {
	padding: var(--dermal-home-card-padding);
}

.home-page .post-item-content h2 {
	text-wrap: balance;
}

/* Task 79: verified native Blog posts replace the source-only Home cards. */
.home-page .home-blog-preview {
	padding-top: clamp(4rem, 5.5vw, 5.5rem);
	padding-bottom: clamp(3.75rem, 5vw, 4.5rem);
}

.home-page .home-blog-header {
	position: relative;
	width: min(100%, 74rem);
	margin-right: auto;
	margin-bottom: clamp(2.75rem, 3.5vw, 3.25rem);
	margin-left: auto;
}

.home-page .home-blog-header .section-title {
	width: min(100%, 54rem);
	margin-inline: auto;
}

.home-page .home-blog-header .section-title h2 {
	font-size: clamp(2.25rem, 3.4vw, 3rem);
}

.home-page .home-blog-navigation {
	position: absolute;
	right: 0;
	bottom: 0;
	display: none;
	align-items: center;
	gap: 0.75rem;
}

.home-page .home-blog-preview.is-carousel-ready .home-blog-navigation {
	display: flex;
}

.home-page .home-blog-arrow {
	display: inline-grid;
	width: 3rem;
	height: 3rem;
	padding: 0;
	place-items: center;
	color: var(--dermal-color-primary);
	font: inherit;
	font-size: 1.35rem;
	line-height: 1;
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: 999px;
	box-shadow: var(--dermal-shadow-sm);
	cursor: pointer;
}

.home-page .home-blog-arrow:hover:not(:disabled) {
	color: var(--dermal-color-surface);
	background: var(--dermal-color-primary);
	border-color: var(--dermal-color-primary);
}

.home-page .home-blog-arrow:focus-visible {
	outline: 3px solid var(--dermal-color-primary);
	outline-offset: 3px;
}

.home-page .home-blog-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.home-page .home-blog-carousel {
	overflow: hidden;
}

.home-page .home-blog-carousel .swiper-wrapper {
	align-items: stretch;
}

.home-page .home-blog-carousel .swiper-slide {
	display: flex;
	height: auto;
}

.home-page .home-blog-preview .post-item {
	display: flex;
	width: 100%;
	height: 100%;
	overflow: visible;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	flex-direction: column;
}

.home-page .home-blog-preview .post-featured-image {
	overflow: hidden;
	border-radius: var(--dermal-radius-xl);
}

.home-page .home-blog-preview .post-featured-image a,
.home-page .home-blog-preview .post-featured-image figure,
.home-page .home-blog-preview .post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: inherit;
}

.home-page .home-blog-preview .post-featured-image figure {
	aspect-ratio: 4 / 3;
}

.home-page .home-blog-preview .post-featured-image img {
	object-fit: cover;
	transform: none !important;
	transition: none !important;
}

.home-page .home-blog-preview .post-item-body {
	display: flex;
	flex: 1 1 auto;
	min-height: 0;
	padding: 1rem 0 0;
	flex-direction: column;
}

.home-page .home-blog-preview .post-item-content {
	margin-bottom: 0.625rem;
}

.home-page .home-blog-preview .post-item-content h2 {
	display: -webkit-box;
	min-height: 2.15em;
	margin: 0;
	overflow: hidden;
	font-size: clamp(1.35rem, 1.8vw, 1.55rem);
	line-height: 1.28;
	text-wrap: pretty;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.home-page .home-blog-preview .post-item-btn {
	margin-top: 0;
}

/* With JavaScript disabled every verified post remains visible and readable. */
.home-page .home-blog-carousel:not(.swiper-initialized) {
	overflow: visible;
}

.home-page .home-blog-carousel:not(.swiper-initialized) .swiper-wrapper {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.875rem;
	transform: none !important;
}

.home-page .home-blog-carousel:not(.swiper-initialized) .swiper-slide {
	width: auto !important;
}

/* Appointment presentation remains a PII-free GET handoff. */
.home-page .booking-contact-list {
	gap: var(--dermal-space-3);
}

.home-page .booking-contact-item {
	width: calc(50% - 0.375rem);
	padding: var(--dermal-space-4);
	background: rgb(255 255 255 / 68%);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-lg);
}

.home-page .google-map-iframe {
	overflow: hidden;
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-xl);
	box-shadow: var(--dermal-shadow-sm);
}

.home-page .booking-form-box {
	padding: clamp(1.5rem, 4vw, 3rem);
	background: var(--dermal-color-surface);
	border: var(--dermal-home-surface-border);
	border-radius: var(--dermal-radius-xl);
	box-shadow: var(--dermal-shadow-md);
}

.home-page .book-appointment-form .form-control {
	min-height: 3.5rem;
	color: var(--dermal-color-text);
	background: var(--dermal-color-canvas);
	border-color: var(--dermal-color-border-strong);
	opacity: 1;
}

.home-page .book-appointment-form textarea.form-control {
	min-height: 8rem;
}

.home-page .our-scrolling-ticker {
	padding: clamp(2rem, 4vw, 3rem) 0;
}

.home-page .scrolling-content span {
	font-size: clamp(3.5rem, 7vw, 6.25rem);
}

@media only screen and (max-width: 991px) {
	.home-page {
		--dermal-home-section-space: 5rem;
		--dermal-home-section-space-compact: 4rem;
	}

	.home-page .hero-section {
		min-height: 0;
	}

	.home-page .hero-content {
		max-width: none;
		margin-bottom: clamp(1rem, 3vw, 1.5rem);
	}

	.home-page .hero-review-box {
		max-width: none;
	}

	.home-page .hero-image {
		width: min(100%, 28rem);
		max-width: none;
	}

	.home-page .hero-image figure img {
		display: block;
		height: auto;
		aspect-ratio: auto;
		object-fit: contain;
	}

	.home-page .about-us-image--single {
		width: min(100%, 40rem);
		max-width: 100%;
	}

	.home-page .hero-cta-item {
		width: calc(50% - 0.5rem);
	}

	.home-page .hero-cta-item:last-child:nth-child(odd) {
		width: 100%;
	}

	.home-page .about-counter-item {
		width: calc(50% - 0.5rem);
	}

	.home-page .process-video-box,
	.home-page .process-video-image,
	.home-page .process-video-image img {
		border-radius: var(--dermal-radius-xl) var(--dermal-radius-xl) 0 0;
	}

	.home-page .our-process .row > [class*="col-"] {
		display: block;
	}

	.home-page .process-video-image img {
		object-position: 50% 38%;
	}

	.home-page .our-process-content {
		padding-right: var(--dermal-space-10);
		padding-left: var(--dermal-space-10);
	}

	.home-page .how-we-work--technology .row > [class*="col-"] {
		display: block;
	}

	.home-page .how-we-work--technology .how-we-work-content {
		margin: 0 0 2rem;
	}

	.home-page .how-we-work--technology .how-we-work-image {
		width: min(100%, 45rem);
		aspect-ratio: 4 / 5;
		margin: 0 auto;
	}

	.home-page .how-we-work--technology .how-we-work-img img {
		object-position: 50% 40%;
	}

	.home-page .our-benefit-item {
		min-height: 9.8125rem;
	}

	.home-page .home-blog-navigation {
		position: static;
		justify-content: center;
		margin-top: 1.25rem;
	}

	.home-page .home-blog-carousel:not(.swiper-initialized) .swiper-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-page .booking-form-box {
		margin-left: 0;
		margin-bottom: var(--dermal-space-8);
	}
}

@media only screen and (max-width: 767px) {
	.home-page .how-we-work--technology .section-title h2 {
		font-size: clamp(2.25rem, 12vw, 3.15rem);
	}

	.home-page .how-we-work--technology .how-work-step-item {
		min-height: 0;
		padding: 1.125rem;
		grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
		gap: 0.75rem;
	}

	.home-page .how-we-work--technology .how-work-step-no h2 {
		width: 2.5rem;
		height: 2.5rem;
	}

	.home-page .how-we-work--technology .how-we-work-image {
		aspect-ratio: 4 / 5;
	}

	.home-page .how-we-work--technology .how-we-work-img img {
		object-position: 50% 44%;
	}

	.home-page .how-we-work--technology .how-work-step-action {
		width: 2.5rem;
		height: 2.5rem;
	}

	.home-page .how-work-technology-cta p {
		font-size: 0.8125rem;
	}

	.home-page .hero-doctor-badge {
		margin-bottom: 1rem;
		padding: 0.5625rem 0.8125rem;
		font-size: 0.8125rem;
	}

	.home-page .about-us-image--single {
		aspect-ratio: 1 / 1.12;
		border-radius: 20px;
	}

	.home-page .about-us-image--single .about-img-1 img {
		object-position: 50% 24%;
	}
}

@media only screen and (max-width: 767px) {
	.home-page {
		--dermal-home-section-space: 3.75rem;
		--dermal-home-section-space-compact: 3.25rem;
		--dermal-home-card-padding: 1.125rem;
	}

	.home-page .section-title h1 {
		font-size: clamp(2.375rem, 11vw, 3rem);
	}

	.home-page .section-title h2 {
		font-size: clamp(2rem, 9vw, 2.5rem);
	}

	.home-page .hero-section {
		padding-top: var(--dermal-space-10);
	}

	.home-page .hero-review-box {
		padding: var(--dermal-space-4);
	}

	.home-page .hero-review-item {
		align-items: flex-start;
	}

	.home-page .hero-review-item-content {
		align-items: flex-start;
		flex-direction: column;
	}

	.home-page .hero-cta-box {
		padding-top: var(--dermal-space-6);
		padding-bottom: var(--dermal-space-8);
	}

	.home-page .hero-cta-item,
	.home-page .hero-cta-item:last-child:nth-child(odd),
	.home-page .about-counter-item,
	.home-page .booking-contact-item {
		width: 100%;
	}

	.home-page .about-counter-item {
		padding: var(--dermal-space-4);
	}

	.home-page .why-choose-list-item,
	.home-page .how-work-step-item {
		align-items: flex-start;
	}

	.home-page .why-choose-image img {
		aspect-ratio: 4 / 5;
		object-position: 50% 45%;
	}

	.home-page .our-process-content {
		padding-right: var(--dermal-space-5);
		padding-left: var(--dermal-space-5);
	}

	.home-page .process-video-image img {
		object-position: 50% 42%;
	}

	.home-page .process-media-caption .video-play-content h2 {
		font-size: clamp(1.75rem, 8vw, 2.25rem);
	}

	.home-page .our-process-content .section-title {
		margin-bottom: var(--dermal-space-6);
	}

	.home-page .our-process-list ul li {
		width: 100%;
	}

	.home-page .our-process-list {
		padding-bottom: var(--dermal-space-6);
	}

	.home-page .our-process-btn {
		margin-top: 0;
	}

	.home-page .our-process-content .section-footer-text {
		margin-top: var(--dermal-space-6);
	}

	.home-page .our-benefit-item {
		min-height: 9.625rem;
	}

	.home-page .faq-accordion .accordion-item,
	.home-page .faq-accordion .accordion-item:last-child {
		padding: var(--dermal-space-4);
	}

	.home-page .testimonial-item {
		min-height: 0;
	}

	.home-page .trusted-client-box {
		padding: var(--dermal-space-4);
	}

	.home-page .home-blog-carousel:not(.swiper-initialized) .swiper-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}

	.home-page .home-blog-preview .post-item-body {
		min-height: 0;
	}

	.home-page .home-blog-preview .post-item-content h2 {
		display: block;
		min-height: 0;
		overflow: visible;
		-webkit-line-clamp: initial;
	}

	.home-page .booking-form-box {
		padding: var(--dermal-space-5);
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-page .service-box,
	.home-page .why-choose-list-item,
	.home-page .how-work-step-item,
	.home-page .testimonial-item,
	.home-page .team-item,
	.home-page .post-item {
		transform: none !important;
	}

	.home-page .home-blog-arrow {
		transition: none !important;
	}

	.home-page .services-pagination .swiper-pagination-bullet {
		transition: none !important;
	}
}

@media (min-width: 768px) and (max-width: 990px) {
	.home-page .services-slider .swiper:not(.swiper-initialized) .swiper-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.home-page .services-slider .swiper:not(.swiper-initialized) .swiper-wrapper {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Task163: long mobile card stacks stay comfortable without creating dead space. */
@media only screen and (max-width: 430px) {
	.home-page {
		--dermal-home-section-space: 3.25rem;
		--dermal-home-section-space-compact: 2.75rem;
		--dermal-home-card-padding: 1rem;
	}

	.home-page .how-we-work--technology .how-we-work-content {
		margin-bottom: 1.5rem;
	}

	.home-page .how-we-work--technology .how-work-steps,
	.home-page .our-benefit-box-1,
	.home-page .our-benefit-box-2 {
		gap: 0.75rem;
	}

	.home-page .how-we-work--technology .how-work-step-item {
		padding: 1rem;
		grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
		gap: 0.625rem;
	}

	.home-page .how-we-work--technology .how-work-step-no h2,
	.home-page .how-we-work--technology .how-work-step-action {
		width: 2.25rem;
		height: 2.25rem;
	}

	.home-page .our-benefit-item {
		min-height: 0;
		padding: 0.875rem;
	}

	.home-page .our-benefit-item .icon-box {
		flex-basis: 3.25rem;
	}
}
