:root {
	color-scheme: light;
	--color-ink: #0a1c18;
	--color-muted: #4a5d58;
	--color-surface: #ffffff;
	--color-soft: #f4f6f4; /* Soft organic sage tint */
	--color-line: #e1e8e5;
	--color-brand: #1e3d2e; /* Deep Forest Green */
	--color-brand-dark: #11241c; /* Deeper Forest Green */
	--color-accent: #527240; /* Organic Leaf Green */
	--shadow: 0 12px 32px rgb(22 57 28 / 8%);
	--radius: 24px; /* Organic curved shapes */
	--container: 1120px;
	--font-sans:
		"Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", sans-serif;
	--font-serif: "Schibsted Grotesk", sans-serif;
	font-family: var(--font-sans);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--color-surface);
	color: var(--color-ink);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Hindi specific adjustments */
[lang="hi"] body {
	line-height: 1.8;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-brand-dark);
	transition: all 0.2s ease;
}

a:hover {
	color: var(--color-brand);
}

/* Global Keyboard Focus Indicators */
:where(a:any-link, button, [role="button"], [tabindex="0"], summary):focus-visible {
	outline: 3px solid var(--color-brand);
	outline-offset: 2px;
}

/* Focus indicator for .button class elements */
.button:focus-visible {
    outline: 3px solid var(--color-brand);
    outline-offset: 2px;
}

/* Contrast focus rings for dark backgrounds */
.lightbox-dialog :where(a:any-link, button, [role="button"], [tabindex="0"], summary):focus-visible,
.section--dark :where(a:any-link, button, [role="button"], [tabindex="0"], summary):focus-visible,
.site-footer :where(a:any-link, button, [role="button"], [tabindex="0"], summary):focus-visible {
	outline-color: #ffffff;
}

/* category-card: overflow:hidden clips outline, use box-shadow instead */
.category-card:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #ffffff, 0 0 0 6px var(--color-brand);
}

/* Image stack focus for gallery */
.image-stack:focus-visible {
    outline: 3px solid var(--color-brand);
    outline-offset: 2px;
}

/* Images inside overflow:hidden parents: use :has() on the parent to show outline outside the clip */
.gallery .map-card:has(.map-card__image:focus-visible),
.category-grid div:has(img:focus-visible) {
    outline: 3px solid var(--color-brand);
    outline-offset: 3px;
}

/* Suppress the default outline on the img itself in these cases */
.gallery .map-card__image:focus-visible,
.category-grid div img:focus-visible {
    outline: none;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-serif);
	font-weight: 800;
	color: var(--color-ink);
	margin: 0;
}

.hero h1,
.section h1 {
	max-width: 15ch;
	margin: 0 0 1rem;
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
	.about-heading {
		white-space: nowrap;
		font-size: clamp(2rem, 3.2vw, 2.75rem) !important;
	}
	.doctor-heading {
		white-space: nowrap;
		font-size: clamp(1.6rem, 2.2vw, 1.95rem) !important;
	}
}

h2 {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.15;
	margin-bottom: 1.5rem;
}

h3 {
	font-size: 1.5rem;
	line-height: 1.3;
	margin-bottom: 1rem;
}

p {
	margin: 0 0 1.25rem;
}

.eyebrow {
	font-family: var(--font-sans);
	color: var(--color-accent);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
	display: block;
}

.lede {
	max-width: 65ch;
	color: var(--color-muted);
	font-size: 1.25rem;
	line-height: 1.6;
}

.container {
	width: min(100% - 3rem, var(--container));
	margin-inline: auto;
}

.narrow {
	max-width: 760px;
}

/* Skip Link */
.skip-link {
	position: absolute;
	top: -100px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--color-brand);
	color: white;
	padding: 1rem 2rem;
	z-index: 1000;
	text-decoration: none;
	border-radius: 0 0 var(--radius) var(--radius);
	transition: top 0.2s;
}

.skip-link:focus {
	top: 0;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	border-bottom: 1px solid var(--color-line);
	backdrop-filter: blur(20px);
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header:not([at-top]) {
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 88px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--color-ink);
	text-decoration: none;
	flex-shrink: 0;
}

.brand__text-group {
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.1;
}

.brand__text {
	font-family: var(--font-serif);
	font-weight: 800;
	font-size: 1.2rem;
	color: var(--color-ink);
	line-height: 1.1;
}

.brand__tagline {
	display: flex;
	justify-content: space-around;
	font-size: 0.65rem;
	text-transform: uppercase;
	color: var(--color-accent);
	font-weight: 700;
	margin-top: 0.35rem;
	line-height: 1.1;
	width: 100%;
}

.brand__logo-svg {
	height: 56px;
	width: auto;
	object-fit: contain;
}

.logo__image {
	max-width: 240px;
	height: auto;
	object-fit: contain;
}

.logo__image--wide {
	max-width: 100%;
}

.nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.nav a {
	color: var(--color-ink);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--color-brand);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-shrink: 0;
}

.language-link {
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	color: var(--color-accent);
}

/* Buttons */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0 1.75rem;
	border-radius: var(--radius);
	background: var(--color-brand);
	color: white;
	font-weight: 700;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button svg {
	flex-shrink: 0;
}

.button:hover {
	background: var(--color-brand-dark);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(13, 92, 77, 0.15);
}

.button--secondary {
	background: transparent;
	color: var(--color-brand);
	border: 1px solid var(--color-brand);
}

.button--secondary:hover {
	background: var(--color-soft);
	color: var(--color-brand-dark);
}

.button--small {
	min-height: 44px;
	padding: 0 1.25rem;
	font-size: 0.9rem;
}

.button-group {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Sections */
.hero,
.section {
	padding: clamp(4rem, 10vw, 8rem) 0;
}

.section--tint {
	background: var(--color-soft);
}

.section--compact {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 6vw, 4.5rem);
	align-items: center;
}

.hero {
	background: radial-gradient(circle at top right, #f0f7f4, #ffffff);
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 1rem clamp(2rem, 8vw, 6rem);
	align-items: center;
}

.hero__text-block {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	flex-direction: column;
}

.hero__eyebrow {
	margin: 0;
}

.hero__heading {
	margin: 0;
}

.hero__intro {
	margin: 1.5rem 0 0 0;
}

.hero__cta {
	grid-column: 1;
	grid-row: 2;
	margin-top: 2rem;
}

.hero__grid .hero__media {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.hero__media {
	max-width: 600px;
	width: 100%;
	justify-self: center;
	position: relative;
}

.hero__image,
.portrait-card__image {
	border-radius: 24px;
	box-shadow: var(--shadow);
	width: 100%;
	aspect-ratio: 4 / 4;
	object-fit: cover;
}

.hero__image--portrait {
	aspect-ratio: 3 / 4;
}

.hero__image--specialist {
	object-position: 0 10%;
}

.hero__image--landscape {
	border-radius: 24px;
	box-shadow: var(--shadow);
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.section--intro {
	padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.about-heading__qualifications {
	display: block;
	font-size: 0.45em;
	font-weight: 500;
	color: var(--color-muted);
	letter-spacing: 0.05em;
	margin-top: 0.5rem;
	text-transform: uppercase;
}

.team-banner-image {
	border-radius: 24px;
	box-shadow: var(--shadow);
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center 70%;
}

@media (max-width: 600px) {
	.team-banner-image {
		aspect-ratio: 4 / 3;
	}
}

/* Treatment List */
.treatment-category {
	margin-top: 4rem;
}

.treatment-category h3 {
	margin-bottom: 2rem;
	color: var(--color-accent);
}

.card h3 {
	margin: 0 0 0.75rem;
	font-family: var(--font-serif);
	font-size: 1.35rem;
	line-height: 1.3;
}

/* Cards */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
}

.card {
	padding: 2.5rem;
	background: white;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.card:hover {
	border-color: var(--color-accent);
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.card h3 {
	margin-bottom: 0.75rem;
}

.card p {
	color: var(--color-muted);
	font-size: 0.95rem;
	margin-bottom: 0;
	flex-grow: 1;
}

.notice {
	padding: 2rem;
	background: #fff9f2;
	border: 1px solid #f3e5d8;
	border-radius: var(--radius);
}

.form-card {
	padding: clamp(1.5rem, 5vw, 3rem);
	background: white;
	border: 1px solid var(--color-line);
	border-radius: 24px;
	box-shadow: var(--shadow);
}

/* Philosophy list */
.philosophy-list {
	margin-top: 1.5rem;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 1rem;
}

.philosophy-list li {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.philosophy-list li::before {
	content: "•";
	color: var(--color-accent);
	font-weight: 800;
	font-size: 1.5rem;
	line-height: 1;
	flex-shrink: 0;
}

.philosophy-list strong {
	color: var(--color-brand);
	font-family: var(--font-serif);
	font-size: 1.1rem;
	display: inline-block;
	min-width: 3rem;
}

/* About Page Logo & Philosophy Layout */
.logo-philosophy-layout {
	display: flex;
	flex-direction: column;
	gap: clamp(3rem, 8vw, 5rem);
}

.logo-section__media {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: clamp(1rem, 3vw, 2rem);
}

@media (max-width: 900px) {
	.logo-section__media {
		justify-content: center;
	}
}

.logo-section__image {
	max-width: 240px;
	height: auto;
	object-fit: contain;
}

.philosophy-section__list-wrapper {
	display: flex;
	align-items: center;
}

.philosophy-section__list-wrapper .philosophy-list {
	margin-top: 0;
	width: 100%;
}

/* FAQs */
.faq-list {
	display: grid;
	gap: 1.5rem;
}

details {
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	background: white;
	transition: all 0.3s ease;
}

details[open] {
	border-color: var(--color-accent);
	box-shadow: var(--shadow);
}

summary {
	cursor: pointer;
	padding: 1.5rem;
	font-weight: 700;
	font-family: var(--font-serif);
	font-size: 1.2rem;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: var(--radius);
}

details[open] summary {
	border-radius: var(--radius) var(--radius) 0 0;
}

summary::-webkit-details-marker {
	display: none;
}

summary::after {
	content: "+";
	font-size: 1.5rem;
	color: var(--color-accent);
	transition: transform 0.3s ease;
}

details[open] summary::after {
	transform: rotate(45deg);
}

details p {
	padding: 0 1.5rem 1.5rem;
	color: var(--color-muted);
	margin: 0;
}

/* Footer */
.site-footer {
	background: #051411;
	color: white;
	padding: 5rem 0 3rem;
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1.3fr 1fr;
	gap: 4rem;
}

.footer__logo {
	display: block;
	max-width: 140px;
	width: 100%;
}

.footer__logo img {
	width: 100%;
	height: auto;
	display: block;
}

.footer__brand-group {
	display: flex;
	flex-direction: column;
	width: fit-content;
	margin-bottom: 1.5rem;
}

.footer__logo-svg {
	height: 52px;
	width: auto;
	object-fit: contain;
	display: block;
}

.footer__disclaimer {
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.85rem;
	line-height: 1.6;
}

.footer__heading {
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-accent);
	margin-bottom: 1.5rem;
	display: block;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer__contact-link {
	color: white !important;
}

.footer__social-row {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	margin-top: -0.25rem;
	margin-bottom: 1.25rem;
}

.footer__social-row a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.85) !important;
	transition: transform 0.2s ease, color 0.2s ease;
}

.footer__social-row a:hover {
	color: var(--color-accent) !important;
	transform: translateY(-2px);
}

.footer__contact-link:hover {
	color: var(--color-accent) !important;
}

.site-footer a:hover {
	color: white;
}

.footer__bottom {
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.5);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer__credits-link {
	color: rgba(255, 255, 255, 0.6) !important;
	text-decoration: underline !important;
}

.footer__credits-link:hover {
	color: white !important;
}

/* Utility classes */
.hidden {
	display: none !important;
}

/* Section Headings */
.section__heading {
	margin-bottom: 3.5rem;
	max-width: 65ch;
}

/* Forms & Fields */
.field {
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.field label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--color-ink);
}

.field input,
.field textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-line);
	border-radius: var(--radius);
	font-family: var(--font-sans);
	font-size: 1rem;
	background: var(--color-surface);
	color: var(--color-ink);
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.field input:hover,
.field textarea:hover {
	border-color: var(--color-brand);
}

.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--color-brand);
	box-shadow: 0 0 0 3px rgba(13, 92, 77, 0.15);
}

/* Form Feedback Messages */
.form-feedback {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-radius: var(--radius);
	margin-bottom: 1.5rem;
	line-height: 1.5;
	animation: formFeedbackFadeIn 0.3s ease-out;
}

.form-feedback p {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 500;
}

.form-feedback .feedback-icon {
	font-size: 1.2rem;
	line-height: 1;
	font-weight: bold;
	flex-shrink: 0;
	margin-top: 0.1rem;
}

.form-feedback.success-message {
	background: var(--color-soft);
	border: 1px solid var(--color-brand);
	color: var(--color-brand-dark);
}

.form-feedback.success-message .feedback-icon {
	color: var(--color-accent);
}

.form-feedback.error-message {
	background: #fdf2f2;
	border: 1px solid #f5baba;
	color: #9b1c1c;
}

.form-feedback.error-message .feedback-icon {
	color: #de3535;
}

@keyframes formFeedbackFadeIn {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Contact Page Layout */
.contact-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 8vw, 6rem);
	align-items: center;
}

.contact-list {
	margin-top: 1.5rem;
	margin-bottom: 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.contact-list p {
	margin: 0;
}

.map-card {
	display: block;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.map-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgb(13 92 77 / 12%);
}

.map-card iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 400px;
	border: 0;
}

.map-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.gallery .map-card__image {
	aspect-ratio: 1 / 1;
}

/* Contact Page Split Layout */
.contact-section-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	background: var(--color-soft);
	min-height: clamp(500px, 75vh, 800px);
}

.contact-details-side {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
}

.contact-details-content {
	width: 100%;
	max-width: calc(var(--container) / 2 - 2rem);
}

.contact-map-side {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 450px;
}

.contact-map-side iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.hours-list {
	list-style: none;
	padding: 0;
	margin: 0.25rem 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hours-list li {
	color: var(--color-muted);
}

/* About Page Hero Grid */
.about-grid-container {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	grid-template-rows: auto;
	gap: 1rem clamp(2rem, 8vw, 6rem);
	align-items: start;
}

.about-header {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
}

.about-eyebrow {
	margin: 0;
}

.about-heading {
	margin: 0.5rem 0 2rem 0;
}

/* Col 1: bio text */
.about-bio {
	grid-column: 1;
	grid-row: 2;
	align-self: start;
}

/* Row 3: affiliations spans full width */
.about-affiliations {
	grid-column: 1 / -1;
	grid-row: 3;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--color-line);
	align-self: start;
}

/* Col 2: portrait image aligns with bio row only */
.about-portrait {
	grid-column: 2;
	grid-row: 2;
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.about-portrait .image-stack {
	max-width: 420px;
	width: 100%;
	margin: 0;
	aspect-ratio: 1 / 1;
}

/* Mobile CTA default override */
.mobile-cta {
	display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.header__inner {
		gap: 1rem;
	}
	.nav {
		gap: 1.25rem;
	}
}

@media (max-width: 900px) {
	.site-header {
		backdrop-filter: none;
		background: var(--color-surface);
	}

	.header__inner {
		min-height: 72px;
	}

	.nav {
		position: fixed;
		bottom: 0; /* Default bottom on tablet */
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(12px);
		padding: 1rem;
		justify-content: center;
		border-top: 1px solid var(--color-line);
		box-shadow: 0 -4px 20px rgba(13, 92, 77, 0.06);
		gap: 1.5rem;
		z-index: 1000;
	}

	.nav a {
		font-size: 0.85rem;
	}

	.hero__grid,
	.split,
	.footer__grid,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.contact-section-split {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.contact-details-side {
		justify-content: center;
		padding: 3rem 1.5rem;
	}

	.contact-details-content {
		max-width: 100%;
	}

	.contact-map-side {
		height: 400px;
		order: -1;
	}

	.map-card {
		order: -1;
	}

	.hero h1,
	.section h1 {
		font-size: 2.5rem;
	}

	.hero__grid {
		display: flex;
		flex-direction: column;
		gap: 2rem;
	}

	.hero__text-block {
		order: 1;
		grid-column: auto;
		grid-row: auto;
	}

	.hero__grid .hero__media {
		order: 2;
		grid-column: auto;
		grid-row: auto;
		max-width: 500px;
		width: 100%;
		margin: 0 auto;
	}

	.hero__cta {
		order: 3;
		grid-column: auto;
		grid-row: auto;
		margin-top: 0;
	}

	.hero__intro {
		margin-top: 0.5rem;
	}

	.hero__image--portrait {
		aspect-ratio: 4 / 3;
	}

	.about-grid-container {
		display: flex;
		flex-direction: column;
		gap: 1.5rem;
	}

	.about-header,
	.about-portrait,
	.about-bio,
	.about-affiliations {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.about-portrait {
		justify-content: center;
	}

	.about-portrait .image-stack {
		margin: 1rem auto;
		max-width: 340px;
	}
}

@media (max-width: 600px) {
	.container {
		width: min(100% - 2rem, var(--container));
	}

	.header__actions {
		display: flex;
		gap: 1rem;
	}

	.header__actions .button {
		display: none;
	}

	.nav {
		bottom: 56px; /* Offset upward to make room for mobile-cta */
	}

	.mobile-cta {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: rgba(255, 255, 255, 0.95);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--color-line);
		box-shadow: 0 -4px 20px rgba(13, 92, 77, 0.06);
		z-index: 1000;
	}

	.mobile-cta a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		flex: 1;
		text-align: center;
		padding: 1.1rem;
		font-weight: 700;
		font-size: 0.95rem;
		color: var(--color-brand);
		text-decoration: none;
		transition: background-color 0.2s ease;
	}

	.mobile-cta a:active {
		background-color: var(--color-soft);
	}

	.mobile-cta a + a {
		border-left: 1px solid var(--color-line);
	}

	.hero,
	.section {
		padding: 3rem 0;
	}

	.card-grid {
		grid-template-columns: 1fr;
	}

	/* Home Hero CTA Buttons side-by-side */
	.hero__cta {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
		width: 100%;
	}

	.hero__cta .button {
		padding: 0 0.5rem;
		font-size: 0.82rem;
		gap: 0.35rem;
		min-width: 0;
	}

	/* Clinic Gallery 2-column on mobile */
	.gallery.card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
}

/* Lightbox Dialog */
.lightbox-dialog {
	border: none;
	background: transparent;
	padding: 0;
	width: 100vw;
	height: 100vh;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	overflow: hidden;
	outline: none;

	/* Discrete transitions for the dialog container to allow child transitions on exit */
	transition:
		display 0.3s allow-discrete,
		overlay 0.3s allow-discrete;
}

.lightbox-dialog[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Lightbox Content Container (Animate scale and opacity here to prevent dialog backdrop scaling bugs) */
.lightbox-content {
	opacity: 0;
	transform: scale(0.95);
	transition:
		opacity 0.3s ease-out,
		transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-dialog[open] .lightbox-content {
	opacity: 1;
	transform: scale(1);
}

@starting-style {
	.lightbox-dialog[open] .lightbox-content {
		opacity: 0;
		transform: scale(0.95);
	}
}

.lightbox-dialog::backdrop {
	background: rgba(10, 28, 24, 0);
	backdrop-filter: blur(0px);
	transition:
		background-color 0.3s ease-out,
		backdrop-filter 0.3s ease-out,
		display 0.3s allow-discrete,
		overlay 0.3s allow-discrete;
}

.lightbox-dialog[open]::backdrop {
	background: rgba(10, 28, 24, 0.85);
	backdrop-filter: blur(8px);
}

@starting-style {
	.lightbox-dialog[open]::backdrop {
		background: rgba(10, 28, 24, 0);
		backdrop-filter: blur(0px);
	}
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
	.lightbox-content {
		transform: none;
		transition-duration: 0.15s;
	}
	@starting-style {
		.lightbox-dialog[open] .lightbox-content {
			transform: none;
		}
	}
	.lightbox-dialog::backdrop {
		transition-duration: 0.15s;
	}
	@starting-style {
		.lightbox-dialog[open]::backdrop {
			backdrop-filter: blur(0px);
		}
	}
}

.lightbox-image {
	display: block;
	width: auto;
	height: auto;
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: var(--radius);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.lightbox-picture {
	display: block;
}

.lightbox-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	background: rgba(10, 28, 24, 0.5);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: white;
	font-size: 2rem;
	line-height: 1;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;

	/* Smooth entrance/exit fade */
	opacity: 0;
	transition:
		opacity 0.3s ease-out,
		background-color 0.2s,
		transform 0.2s,
		border-color 0.2s;
}

.lightbox-dialog[open] .lightbox-close {
	opacity: 1;
}

@starting-style {
	.lightbox-dialog[open] .lightbox-close {
		opacity: 0;
	}
}

.lightbox-close:hover {
	background: rgba(10, 28, 24, 0.8);
	border-color: rgba(255, 255, 255, 0.3);
	transform: scale(1.05);
}

/* Testimonials */
.section--dark {
	background: var(--color-brand);
	color: #ffffff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
	color: #ffffff;
}

.testimonial-grid {
	margin-bottom: 3rem;
}

.js-testimonial {
	display: none;
}

.testimonial-card {
	background: var(--color-brand-dark);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #ffffff;
	justify-content: space-between;
	gap: 1.5rem;
	height: 100%;
}

.testimonial-card:hover {
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.testimonial-rating {
	display: flex;
	gap: 0.25rem;
}

.star-icon {
	fill: #ffd700;
	color: #ffd700;
}

.testimonial-card .testimonial-message {
	font-style: italic;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-size: 1.05rem;
	color: #ffffff !important;
}

.testimonial-author {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 1.25rem;
	margin-top: auto;
}

.testimonial-name {
	font-family: var(--font-sans);
	font-weight: 700;
	color: #ffffff;
	font-size: 1rem;
}

.testimonial-card .testimonial-subtitle {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.85) !important;
}

.testimonial-cta {
	text-align: center;
	margin-top: 3rem;
}

/* Custom white outlined button */
.button--outline-white {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0 1.75rem;
	border-radius: var(--radius);
	background: transparent;
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid #ffffff;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button--outline-white:hover {
	background: #ffffff;
	color: var(--color-brand);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

/* Category Grid & Cards (Overlay Design) */
.category-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	aspect-ratio: 1 / 1;
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	background: var(--color-brand-dark);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 12px rgb(0 0 0 / 4%);
	border: 1px solid var(--color-line);
}

.category-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow);
	border-color: var(--color-accent);
}

.category-card__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.category-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card:hover .category-card__img {
	transform: scale(1.08);
}

/* Gradient Overlay */
.category-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(10, 28, 24, 0) 15%,
		rgba(10, 28, 24, 0.45) 50%,
		rgba(10, 28, 24, 0.9) 88%
	);
	z-index: 2;
	transition: opacity 0.3s ease;
}

.category-card:hover::after {
	background: linear-gradient(
		to bottom,
		rgba(10, 28, 24, 0) 10%,
		rgba(10, 28, 24, 0.5) 45%,
		rgba(10, 28, 24, 0.95) 85%
	);
}

.category-card__content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 2.25rem 2rem;
	display: flex;
	flex-direction: column;
	color: #ffffff;
}

.category-card__title {
	font-family: var(--font-serif);
	font-weight: 800;
	font-size: 1.5rem;
	color: #ffffff;
	margin-bottom: 0.5rem;
}

.category-card__desc {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
	margin-bottom: 1.25rem;
	/* Limit description to 2 lines for compactness */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.category-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: #ffffff;
	transition: gap 0.2s ease, color 0.2s ease;
}

.category-card__link svg {
	transition: transform 0.2s ease;
}

.category-card:hover .category-card__link {
	color: var(--color-soft);
	gap: 0.75rem;
}

.category-card:hover .category-card__link svg {
	transform: translateX(4px);
}

/* Treatment Sections & Compact Cards */
.treatment-section {
	scroll-margin-top: 100px;
}

.treatment-sections .treatment-section:first-child {
	padding-top: 4rem;
}

@media (min-width: 768px) {
	.treatment-section .card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.treatment-section .card {
	padding: 1.75rem 2rem;
	gap: 0.5rem;
}

.treatment-section .card h3 {
	font-size: 1.25rem;
	margin-bottom: 0.25rem;
}

.treatment-section .card p {
	font-size: 0.9rem;
	line-height: 1.55;
}

/* Men Category Special Styles */
.men-message-card {
	padding: 3rem 2.5rem;
	background: var(--color-soft);
	border-radius: var(--radius);
	border-left: 4px solid var(--color-accent);
	max-width: 860px;
	margin-inline: auto;
	box-shadow: 0 4px 12px rgb(0 0 0 / 1%);
}

.men-message-card p {
	font-size: 1.15rem;
	line-height: 1.85;
	color: var(--color-ink);
	margin-bottom: 0;
}

[lang="hi"] .men-message-card p {
	line-height: 2;
}

@media (max-width: 768px) {
	.men-message-card {
		padding: 2rem 1.5rem;
	}
	.men-message-card p {
		font-size: 1.05rem;
		line-height: 1.75;
	}
}

/* Image Stack styles */
.image-stack {
	position: relative;
	width: 100%;
	max-width: 320px;
	aspect-ratio: 1 / 1;
	margin: 2rem auto;
	height: auto;
}

.image-stack__card {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	transition: transform 0.55s cubic-bezier(0.34, 1.2, 0.64, 1),
	            opacity 0.45s ease,
	            z-index 0s step-end;
	user-select: none;
	will-change: transform, opacity;
}

.image-stack__card picture {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.image-stack__image {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(13, 92, 77, 0.08);
	background: var(--color-surface, #ffffff);
}

/* Stack positioning — last child in DOM = top of pile */
/* Tighter scale spread so cards feel similar in size */
.image-stack__card:nth-last-child(1) {
	z-index: 5;
	transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
	opacity: 1;
}

.image-stack__card:nth-last-child(2) {
	z-index: 4;
	transform: translate3d(5px, 8px, 0) rotate(1.2deg) scale(0.985);
	opacity: 0.75;
	filter: brightness(0.9);
}

.image-stack__card:nth-last-child(3) {
	z-index: 3;
	transform: translate3d(-6px, 3px, 0) rotate(-1.5deg) scale(0.97);
	opacity: 0.55;
	filter: brightness(0.85);
}

.image-stack__card:nth-last-child(4) {
	z-index: 2;
	transform: translate3d(8px, -4px, 0) rotate(0.8deg) scale(0.955);
	opacity: 0.38;
	filter: brightness(0.8);
}

.image-stack__card:nth-last-child(5) {
	z-index: 1;
	transform: translate3d(-8px, -9px, 0) rotate(-0.8deg) scale(0.94);
	opacity: 0.22;
	filter: brightness(0.75);
}

/* Hover: gentle fan to hint at multiple images */
.image-stack:hover .image-stack__card:nth-last-child(1) {
	transform: translate3d(-8px, -8px, 0) rotate(-1.5deg) scale(1.02);
}

.image-stack:hover .image-stack__card:nth-last-child(2) {
	transform: translate3d(20px, 18px, 0) rotate(4deg) scale(1);
	opacity: 0.8;
}

.image-stack:hover .image-stack__card:nth-last-child(3) {
	transform: translate3d(-26px, 12px, 0) rotate(-5deg) scale(0.98);
	opacity: 0.62;
}

.image-stack:hover .image-stack__card:nth-last-child(4) {
	transform: translate3d(32px, -12px, 0) rotate(3.5deg) scale(0.965);
	opacity: 0.45;
}

.image-stack:hover .image-stack__card:nth-last-child(5) {
	transform: translate3d(-38px, -18px, 0) rotate(-3.5deg) scale(0.95);
	opacity: 0.3;
}

/* Treatments Page Split Layout */
.treatment-split {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr; /* cards on left (1.2fr), media-wrapper on right (0.8fr) */
	gap: clamp(2rem, 6vw, 4rem);
	align-items: start;
}

.treatment-split--reverse {
	grid-template-columns: 0.8fr 1.2fr; /* media-wrapper on left (0.8fr), cards on right (1.2fr) */
}

.treatment-split__media-wrapper {
	grid-column: 2;
	grid-row: 1;
	position: sticky;
	top: 120px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.treatment-split--reverse .treatment-split__media-wrapper {
	grid-column: 1;
}

.treatment-split__content {
	grid-column: 1;
	grid-row: 1;
}

.treatment-split--reverse .treatment-split__content {
	grid-column: 2;
}

.treatment-split__media {
	width: 100%;
}

.treatment-split__image {
	border-radius: 24px;
	box-shadow: var(--shadow);
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

/* Make card grid inside split 2-columns instead of 3-columns */
.card-grid--split {
	grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
	.treatment-split,
	.treatment-split--reverse {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	
	.treatment-split__content,
	.treatment-split__media-wrapper,
	.treatment-split--reverse .treatment-split__content,
	.treatment-split--reverse .treatment-split__media-wrapper {
		grid-column: 1;
		grid-row: auto;
	}
	
	.treatment-split__media-wrapper {
		position: static;
		order: -1; /* Header + image first */
		max-width: 600px;
		margin-inline: auto;
		width: 100%;
	}
	
	.treatment-split__image {
		aspect-ratio: auto;
		height: auto;
	}

	.card-grid--split {
		grid-template-columns: 1fr;
	}
}

/* Accessible Interactive Zoom Images focus outline is now handled globally */
