/* ==========================================================================
   Umang Hospital – main stylesheet
   ========================================================================== */

:root {
	--pink: #ed1651;
	--pink-600: #d40f46;
	--pink-700: #b00c3a;
	--pink-100: #ffe1e9;
	--pink-50: #fff3f6;
	--blue: #0095da;
	--blue-700: #00709f;
	--blue-100: #d4eefa;
	--blue-50: #eef8fd;
	--ink: #14213d;
	--ink-900: #0e1830;
	--text: #3b4660;
	--muted: #67718a;
	--line: #e7e9f0;
	--white: #fff;
	--wa: #25d366;
	--wa-700: #0f7a41; /* 5.3:1 with white text (WCAG AA) */

	--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-serif: "Fraunces", Georgia, serif;

	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgb(20 33 61 / 6%), 0 2px 8px rgb(20 33 61 / 5%);
	--shadow: 0 10px 30px -12px rgb(20 33 61 / 18%);
	--shadow-lg: 0 30px 60px -24px rgb(20 33 61 / 30%);

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section-y: clamp(64px, 9vw, 112px);
	--header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--font-sans);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.02em;
	color: var(--ink);
}

p { margin: 0 0 1.1em; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pink-600); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: middle; }
.icon.flip { transform: scaleX(-1); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(780px + var(--gutter) * 2); }

/* ---------- Buttons ---------- */
.btn {
	--btn-bg: var(--pink-600);
	--btn-fg: var(--white);
	--btn-bd: var(--btn-bg);
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.4em;
	font: 700 15px/1.2 var(--font-sans);
	letter-spacing: .01em;
	color: var(--btn-fg);
	background: var(--btn-bg);
	border: 2px solid var(--btn-bd);
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
	white-space: nowrap;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--primary:hover { --btn-bg: var(--pink-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); background: var(--white); }
.btn--outline:hover { --btn-bd: var(--ink); --btn-fg: var(--ink); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--pink-700); }
.btn--light:hover { --btn-fg: var(--pink-700); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgb(255 255 255 / 55%); }
.btn--ghost-light:hover { --btn-bd: var(--white); }
.btn--sm { padding: .6em 1.1em; font-size: 14px; }
.btn--lg { padding: .95em 1.7em; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.icon-btn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px;
	border: 2px solid var(--line); border-radius: 50%;
	background: var(--white); color: var(--ink);
	cursor: pointer; transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink-600); }

/* ---------- Eyebrows, section heads ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .5em;
	margin-bottom: 14px;
	font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
	color: var(--pink-600);
}
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow--pill {
	padding: 7px 14px 7px 10px;
	background: var(--white);
	border: 1px solid var(--pink-100);
	border-radius: 999px;
	letter-spacing: .06em; text-transform: none; font-size: 14px; font-weight: 700;
	box-shadow: var(--shadow-sm);
}
.eyebrow--pill .icon { color: var(--pink); width: 1.1em; height: 1.1em; }
.eyebrow--light { color: #ff8fae; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); } /* block only: may share an element with .container */
.section--blush { background: var(--pink-50); }
.section--sky { background: var(--blue-50); }
.section--ink { background: var(--ink-900); color: #c8cfe0; }
.section--ink .section-title, .section--ink h3, .section--ink strong { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; max-width: none; }
.section-head--row .section-title { margin-bottom: 0; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); }
.section-title--sub { margin-top: clamp(48px, 6vw, 80px); margin-bottom: 28px; font-size: clamp(24px, 2.6vw, 32px); }
.section-lead { font-size: 18px; color: var(--muted); }
.section-foot { margin: 40px 0 0; text-align: center; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink-900); color: #c8cfe0; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.topbar a { color: var(--white); font-weight: 700; text-decoration: none; }
.topbar a:hover { color: #ff8fae; }
.topbar__emergency { font-weight: 600; }
.topbar__meta { display: none; list-style: none; margin: 0; padding: 0; gap: 22px; }
.topbar__meta li { display: flex; align-items: center; gap: 7px; }
.topbar__meta .icon { width: 15px; height: 15px; color: #8ea0c4; }
.topbar__meta a { font-weight: 500; color: #c8cfe0; }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #ff4d7a; }
.pulse-dot::after {
	content: ""; position: absolute; inset: -4px; border-radius: 50%;
	border: 2px solid #ff4d7a; opacity: 0; animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgb(255 255 255 / 92%);
	backdrop-filter: saturate(1.4) blur(12px);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(20 33 61 / 40%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.site-logo { display: block; flex-shrink: 0; }
.site-logo__img { width: auto; height: 50px; }
.site-header__actions { position: relative; z-index: 100; display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

.nav-toggle {
	display: inline-grid; place-items: center;
	width: 46px; height: 46px; padding: 0;
	border: 1px solid var(--line); border-radius: 12px;
	background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

/* Mobile navigation drawer */
.primary-nav {
	position: fixed; inset: 0 0 0 auto; z-index: 99;
	width: min(88vw, 380px);
	padding: calc(var(--header-h) + 56px) 24px 32px;
	background: var(--white);
	box-shadow: var(--shadow-lg);
	overflow-y: auto;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .3s ease, visibility .3s;
}
.nav-open .primary-nav { transform: none; visibility: visible; }
.nav-open::after {
	content: ""; position: fixed; inset: 0; z-index: 98;
	background: rgb(14 24 48 / 45%);
}
.nav-open .site-header { z-index: 101; }
body.nav-open { overflow: hidden; }

.primary-nav .menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; border-bottom: 1px solid var(--line); }
.primary-nav .menu a {
	display: block; padding: 14px 0;
	font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none;
}
.primary-nav .menu a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a { color: var(--pink-600); }
.submenu-toggle {
	position: absolute; top: 6px; right: 0;
	display: grid; place-items: center; width: 40px; height: 40px;
	border: 0; border-radius: 10px; background: var(--pink-50); color: var(--pink-600); cursor: pointer;
}
.submenu-toggle .icon { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav .sub-menu { display: none; list-style: none; margin: 0 0 12px; padding: 0 0 0 12px; border-left: 2px solid var(--pink-100); }
.primary-nav .sub-menu.is-open { display: block; }
.primary-nav .sub-menu a { padding: 8px 0; font-size: 15px; font-weight: 600; color: var(--text); }
.primary-nav__cta { display: grid; gap: 10px; margin-top: 28px; }

@media (min-width: 640px) {
	.header-cta { display: inline-flex; }
}

@media (min-width: 1280px) {
	.topbar__meta { display: flex; }
	.nav-toggle, .primary-nav__cta { display: none; }
	.site-logo__img { height: 56px; }
	.primary-nav {
		position: static; width: auto; padding: 0; transform: none; visibility: visible;
		background: none; box-shadow: none; overflow: visible;
	}
	.primary-nav .menu { display: flex; align-items: center; gap: 4px; }
	.primary-nav .menu > li { border: 0; }
	.primary-nav .menu > li > a { padding: 10px 14px; font-size: 15px; border-radius: 999px; }
	.primary-nav .menu > li > a:hover { background: var(--pink-50); }
	.primary-nav .menu-item-has-children > a { padding-right: 32px; }
	.submenu-toggle { top: 50%; right: 8px; width: 22px; height: 22px; transform: translateY(-50%); background: none; color: var(--muted); }
	.submenu-toggle .icon { width: 16px; height: 16px; }
	.primary-nav .sub-menu {
		position: absolute; top: calc(100% + 8px); left: -8px; z-index: 10;
		display: block; min-width: 280px; margin: 0; padding: 10px;
		background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
		box-shadow: var(--shadow-lg);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .18s, transform .18s, visibility .18s;
	}
	.primary-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
	.primary-nav li:hover > .sub-menu,
	.primary-nav li:focus-within > .sub-menu,
	.primary-nav .sub-menu.is-open { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a { padding: 9px 14px; border-radius: 10px; font-size: 14.5px; }
	.primary-nav .sub-menu a:hover { background: var(--pink-50); }
	.nav-open::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
	background:
		radial-gradient(60% 70% at 100% 0%, var(--pink-50) 0%, transparent 70%),
		radial-gradient(50% 60% at 0% 100%, var(--blue-50) 0%, transparent 70%),
		var(--white);
}
.hero__inner { display: grid; gap: 48px; align-items: center; }
.hero__kicker { line-height: 1.35; }
.hero__title { font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 22px; color: var(--ink); }
.hero__title em {
	display: block;
	/* Handwritten accent, same font as the IVF hero ("See you soon!"); subset in assets/css/fonts.css */
	font-family: "Dancing Script", var(--font-serif); font-style: normal; font-weight: 700; font-size: 1.08em; letter-spacing: 0;
	color: var(--pink-600);
}
.hero__lead { font-size: clamp(17px, 1.6vw, 19px); max-width: 560px; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 34px; }
.hero__trust { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.hero__trust li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.35; }
.hero__trust .icon {
	width: 42px; height: 42px; padding: 10px;
	border-radius: 12px; background: var(--white); color: var(--pink-600);
	box-shadow: var(--shadow-sm);
}
.hero__trust strong { display: block; color: var(--ink); font-size: 15.5px; }

.hero__visual { position: relative; isolation: isolate; max-width: 520px; margin: 12% auto 0; width: 100%; } /* top margin: room for the pop-out head when stacked */
.hero__photo {
	position: relative;
	aspect-ratio: 1;
	border-radius: 50%;
	background: linear-gradient(165deg, #fcd9e2 0%, var(--pink-50) 55%, var(--white) 100%);
	box-shadow: var(--shadow-lg);
}
.hero__photo::after {
	content: ""; position: absolute; inset: 0;
	border-radius: inherit; box-shadow: inset 0 0 0 8px rgb(255 255 255 / 55%);
}
/* Pop-out portrait: the transparent cut-out is 12% larger than the circle and masked to
   circle ∪ everything above the circle's centre line, so her head rises out of the frame while the body stays inside. */
.hero__photo img {
	position: absolute; z-index: 1; left: -6%; bottom: 0;
	width: 112%; height: 112%; max-width: none;
	object-fit: contain; object-position: 50% 100%;
	-webkit-mask: radial-gradient(closest-side, #000 calc(100% - 1px), transparent 100%) 50% 100% / 89.3% 89.3% no-repeat, linear-gradient(#000 0 0) 50% 0 / 100% 55.4% no-repeat;
	mask: radial-gradient(closest-side, #000 calc(100% - 1px), transparent 100%) 50% 100% / 89.3% 89.3% no-repeat, linear-gradient(#000 0 0) 50% 0 / 100% 55.4% no-repeat;
	filter: drop-shadow(0 18px 22px rgb(20 33 61 / 18%));
}
.hero__visual::before {
	content: ""; position: absolute; z-index: -1;
	width: 46%; aspect-ratio: 1; right: -8%; top: -6%;
	border-radius: 50%; background: var(--pink); opacity: .9;
}
.hero__visual::after {
	content: ""; position: absolute; z-index: -1;
	width: 26%; aspect-ratio: 1; left: -4%; bottom: 10%;
	border-radius: 50%; background: var(--blue); opacity: .9;
}
.hero__badge {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
	max-width: 250px; padding: 12px 16px;
	font-size: 13px; line-height: 1.35;
	background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
}
.hero__badge strong { display: block; color: var(--ink); font-size: 16px; }
/* Badges sit in the empty space left of her head and over the coat, never over her face (centre-right, top third). */
.hero__badge--yt { right: -2%; bottom: 5%; max-width: 46%; }
.hero__badge-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #ff0033; color: var(--white); }
.hero__badge--doc { left: -2%; top: 7%; max-width: min(210px, 40%); border-left: 4px solid var(--blue); }
@media (max-width: 599px) {
	.hero__badge { gap: 10px; padding: 10px 12px; font-size: 12px; border-radius: 14px; }
	.hero__badge strong { font-size: 14px; }
	.hero__badge-icon { width: 34px; height: 34px; border-radius: 10px; }
	.hero__badge--yt { max-width: 56%; }
}

@media (min-width: 960px) {
	.hero__inner { grid-template-columns: 1.08fr .92fr; gap: 64px; }
	.hero__visual { margin-top: 0; }
	.hero__trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; }
	.hero__badge--yt { right: -8%; }
	.hero__badge--doc { left: -10%; }
}

/* ---------- Quick info ---------- */
.quick-info { position: relative; z-index: 2; margin-top: -28px; }
.quick-info__grid {
	display: grid; gap: 1px;
	background: var(--line);
	border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow);
	padding: 0;
	max-width: calc(var(--container));
	width: calc(100% - var(--gutter) * 2);
}
.quick-info__item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 22px; background: var(--white); }
.quick-info__item h2 { margin: 0 0 4px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.quick-info__item p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); font-weight: 600; }
.quick-info__item small { color: var(--muted); font-weight: 500; font-size: 13.5px; }
.quick-info__item a { font-weight: 700; color: var(--pink-600); text-decoration: none; }
.quick-info__icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); }
.quick-info__icon--wa { background: #e6f9ee; color: var(--wa-700); }
.quick-info__item--alert .quick-info__icon { background: var(--pink-50); color: var(--pink-600); }
@media (min-width: 640px) { .quick-info__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .quick-info__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 18px; }
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .service-grid--full { grid-template-columns: repeat(3, 1fr); } }

.service-card {
	position: relative; display: flex; flex-direction: column;
	padding: 28px 24px 24px;
	background: var(--white);
	border: 1px solid var(--line); border-radius: var(--radius);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--pink-100); }
.service-card__icon {
	display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
	border-radius: 16px; background: var(--pink-50); color: var(--pink-600);
	transition: background-color .25s, color .25s;
}
.service-card:nth-child(even) .service-card__icon { background: var(--blue-50); color: var(--blue-700); }
.service-card:hover .service-card__icon { background: var(--pink); color: var(--white); }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card__title { font-size: 19px; margin-bottom: 8px; }
.service-card__title a { color: inherit; text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card__text { flex: 1; font-size: 15px; line-height: 1.6; color: var(--muted); }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--pink-600); }
.service-card__more .icon { width: 16px; height: 16px; transition: transform .2s; }
@media (max-width: 599px) {
	.service-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px 18px; }
	.service-card__icon { grid-row: 1 / 4; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
	.service-card__icon .icon { width: 24px; height: 24px; }
	.service-card__title { font-size: 17px; margin-bottom: 4px; }
	.service-card__text { margin-bottom: 8px; font-size: 14.5px; }
}
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* ---------- Split sections ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
	.split { grid-template-columns: 1fr 1fr; gap: 72px; }
	.split--reverse .split__media { order: 2; }
}
.checklist { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checklist .icon {
	width: 24px; height: 24px; padding: 4px; margin-top: 2px;
	border-radius: 50%; background: var(--pink); color: var(--white); stroke-width: 3;
}

.media-stack { position: relative; padding: 0 0 56px 0; }
.media-stack__main { width: 88%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; }
.media-stack__inset {
	position: absolute; right: 0; bottom: 0; width: 52%;
	aspect-ratio: 4 / 3; object-fit: cover;
	border: 6px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.media-stack__stat {
	position: absolute; left: 6%; bottom: 14px;
	display: flex; align-items: center; gap: 12px;
	padding: 14px 18px; border-radius: 16px;
	background: var(--pink-600); color: var(--white); box-shadow: var(--shadow);
	font-size: 13.5px; line-height: 1.3; max-width: 220px;
}
.media-stack__stat strong { font-size: 34px; line-height: 1; letter-spacing: -.03em; }

.doctor-feature img {
	width: 100%; max-width: 480px; margin: 0 auto;
	aspect-ratio: 1; object-fit: cover;
	border-radius: var(--radius-lg);
	box-shadow: 18px 18px 0 var(--blue-100), var(--shadow);
}
.doctor-feature__role { margin-top: -6px; font-weight: 700; color: var(--blue-700); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat-row > div { padding: 16px; border-radius: var(--radius-sm); background: var(--pink-50); text-align: center; }
.stat-row strong { display: block; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; color: var(--pink-600); letter-spacing: -.02em; }
.stat-row span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.35; color: var(--muted); font-weight: 600; }

/* ---------- IVF band ---------- */
.ivf-band { position: relative; overflow: hidden; }
.ivf-band::before {
	content: ""; position: absolute; right: -10%; top: -30%; width: 50%; aspect-ratio: 1;
	background: radial-gradient(circle, rgb(237 22 81 / 22%), transparent 65%);
}
.ivf-steps { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; gap: 14px; }
.ivf-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgb(255 255 255 / 10%); border-radius: var(--radius-sm); background: rgb(255 255 255 / 4%); font-size: 15px; line-height: 1.5; }
.ivf-steps span { font-weight: 800; color: #ff8fae; font-size: 14px; padding-top: 2px; }
.ivf-steps strong { display: block; font-size: 16px; }
@media (min-width: 600px) { .ivf-steps { grid-template-columns: 1fr 1fr; } }
.ivf-band__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ivf-band__media img { border-radius: var(--radius); object-fit: cover; width: 100%; height: auto; }
.ivf-band__media img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.ivf-band__media img:last-child { display: none; }
@media (min-width: 600px) {
	.ivf-band__media img:last-child { display: block; grid-column: 2; aspect-ratio: 4 / 3; margin-top: -90px; border: 6px solid var(--ink-900); }
}

/* ---------- Facility mosaic ---------- */
.facility-mosaic { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.facility-mosaic__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.facility-mosaic__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.facility-mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.facility-mosaic__item:hover img { transform: scale(1.05); }
.facility-mosaic__item figcaption {
	position: absolute; left: 12px; bottom: 12px;
	padding: 6px 12px; border-radius: 999px;
	background: rgb(255 255 255 / 92%); color: var(--ink);
	font-size: 13px; font-weight: 700;
}
@media (min-width: 900px) {
	.facility-mosaic { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 230px); }
	.facility-mosaic__item, .facility-mosaic__item:first-child { aspect-ratio: auto; }
	.facility-mosaic__item:first-child { grid-column: 1; grid-row: 1 / 3; }
}

/* ---------- Testimonials ---------- */
.carousel {
	display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 380px); gap: 18px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px;
	padding: 4px 4px 20px; margin: 0 -4px;
	scrollbar-width: thin;
}
.carousel > * { scroll-snap-align: start; }
.carousel-nav { display: flex; align-items: center; gap: 10px; }

.testimonial {
	display: flex; flex-direction: column;
	margin: 0; padding: 26px;
	background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.testimonial__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.testimonial__tag { padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 12px; font-weight: 700; }
.testimonial__quote { flex: 1; margin: 0 0 20px; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.testimonial__quote p:last-child { margin: 0; }
.testimonial__author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); line-height: 1.3; }
.testimonial__author strong { display: block; color: var(--ink); }
.testimonial__author small { color: var(--muted); font-size: 13px; }
.testimonial__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--blue)); color: var(--white); font-weight: 800; }
.stars { display: inline-flex; gap: 2px; }
.stars .icon { width: 17px; height: 17px; }
.stars .is-on { color: #f5a524; }
.stars .is-off { color: var(--line); }

.testimonial-grid { columns: 1; column-gap: 18px; }
.testimonial-grid .testimonial { break-inside: avoid; margin-bottom: 18px; }
@media (min-width: 700px) { .testimonial-grid { columns: 2; } }
@media (min-width: 1050px) { .testimonial-grid { columns: 3; } }

.review-banner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
	margin-bottom: 40px; padding: 24px 28px;
	border-radius: var(--radius); background: var(--blue-50);
}
.review-banner .btn-row { margin: 0; }
.review-banner p { margin: 6px 0 0; font-weight: 700; color: var(--ink); }
.review-banner .stars .icon { width: 24px; height: 24px; }

/* ---------- Videos ---------- */
.video-grid { display: grid; gap: 22px; }
@media (min-width: 700px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { margin: 0; }
.video-card figcaption { margin-top: 12px; font-weight: 700; color: var(--ink); line-height: 1.4; font-size: 16px; }
.lite-yt {
	position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
	padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
	background: #000; cursor: pointer;
}
.lite-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .4s, opacity .3s; }
.lite-yt:hover img { transform: scale(1.04); opacity: 1; }
.lite-yt__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: grid; place-items: center; width: 68px; height: 68px;
	border-radius: 50%; background: rgb(255 255 255 / 95%); color: var(--pink-600);
	box-shadow: 0 10px 30px rgb(0 0 0 / 30%); transition: transform .2s;
}
.lite-yt__play .icon { width: 28px; height: 28px; margin-left: 4px; }
.lite-yt:hover .lite-yt__play { transform: translate(-50%, -50%) scale(1.08); }
.lite-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lite-yt--vertical { aspect-ratio: 9 / 16; }
/* Rows of videos (Umang Grace page and [umang_videos] in content): Shorts stay narrow beside landscape videos. */
.video-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; margin: 24px 0; }
.video-row .video-card { flex: 1 1 360px; max-width: 560px; }
.video-row .video-card--vertical { flex: 0 1 240px; }
.video-row figcaption { font-size: 15px; }
/* A row of Shorts only: equal columns, two per row on phones. */
.video-row:not(:has(.video-card:not(.video-card--vertical))) { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); max-width: 1100px; }
.video-row:not(:has(.video-card:not(.video-card--vertical))) .video-card { max-width: none; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } .faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-list .wp-block-details,
.entry-content .wp-block-details {
	margin: 0 0 12px; padding: 0;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
	transition: box-shadow .2s, border-color .2s;
}
.entry-content .wp-block-details[open] { border-color: var(--pink-100); box-shadow: var(--shadow-sm); }
.entry-content .wp-block-details summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 18px 56px 18px 22px; font-weight: 700; color: var(--ink); line-height: 1.45;
}
.entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.entry-content .wp-block-details summary::after {
	content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--pink-50); color: var(--pink-600); font-size: 20px; font-weight: 600; line-height: 1;
	transition: transform .2s;
}
.entry-content .wp-block-details[open] summary::after { content: "−"; }
.entry-content .wp-block-details > :not(summary) { margin-left: 22px; margin-right: 22px; }
.entry-content .wp-block-details > :last-child { margin-bottom: 20px; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pink-50); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--pink); }
.post-card__placeholder .icon { width: 48px; height: 48px; }
.post-card__body { padding: 22px 22px 26px; }
.post-card__meta { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; font-size: 13px; color: var(--muted); font-weight: 600; }
.post-card__cat { color: var(--pink-600); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 12px; }
.post-card__title { font-size: 19px; line-height: 1.35; margin-bottom: 8px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--pink-600); }
.post-card__excerpt { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--pink-600); border-color: var(--pink-600); color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(40px, 5vw, 64px) 0; background: linear-gradient(120deg, var(--pink-600) 0%, #e2306a 55%, #c2185b 100%); color: rgb(255 255 255 / 90%); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / 8%); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta-band__title { color: var(--white); font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page hero (inner) ---------- */
.page-hero {
	padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 60px);
	background:
		radial-gradient(50% 120% at 100% 0%, var(--pink-50), transparent 70%),
		radial-gradient(40% 100% at 0% 100%, var(--blue-50), transparent 70%);
	border-bottom: 1px solid var(--line);
}
.page-hero__title { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.03em; margin-bottom: 12px; max-width: 900px; }
.page-hero__intro { max-width: 720px; margin: 0; font-size: 18px; color: var(--muted); }
.page-hero--article { border: 0; text-align: left; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b6bccb; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--pink-600); }

/* ---------- Entry content (Gutenberg) ---------- */
.entry-content { font-size: 17.5px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.8em; }
.entry-content h3 { font-size: clamp(20px, 2vw, 24px); margin-top: 1.5em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--pink); }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 1.6em 0; padding: 20px 24px;
	border-left: 4px solid var(--pink); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: var(--pink-50); font-size: 1.05em; color: var(--ink);
}
.entry-content .wp-block-quote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--muted); }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--radius); }
.entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; }
.entry-content .wp-block-columns { gap: 32px; }
.entry-content .wp-block-group.has-background { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); }
.entry-content .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.entry-content .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-table thead { background: var(--blue-50); color: var(--ink); }
.entry-content .wp-block-button__link { padding: .8em 1.5em; border-radius: 999px; font-weight: 700; background: var(--pink-600); color: var(--white); text-decoration: none; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.entry-content .is-style-callout,
.entry-content .callout {
	padding: 22px 24px; border-radius: var(--radius); background: var(--blue-50);
	border: 1px solid var(--blue-100);
}
.entry-content .wp-block-gallery { gap: 14px; }
.entry-content .wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; height: 100%; }
.entry-content .wp-block-media-text { gap: 32px; }
.entry-content .wp-block-media-text__content { padding: 0; }
.entry-content .has-pink-color { color: var(--pink-600); }
.entry-content .has-blush-background-color { background: var(--pink-50); }
.entry-content .has-sky-background-color { background: var(--blue-50); }
.entry-content .has-ink-background-color { background: var(--ink); color: var(--white); }
.entry-content .alignwide { max-width: none; }
.entry-content .wp-block-cover { border-radius: var(--radius-lg); overflow: hidden; }

/* Feature tiles used inside About / service content */
.entry-content .feature-tiles { gap: 18px; }
.entry-content .feature-tiles > .wp-block-column {
	padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.entry-content .feature-tiles h3 { margin-top: 0; font-size: 19px; }
.entry-content .feature-tiles p { margin: 0; font-size: 15.5px; color: var(--muted); }

.entry-content .stat-strip { gap: 14px; text-align: center; }
.entry-content .stat-strip > .wp-block-column { padding: 22px 12px; border-radius: var(--radius); background: var(--pink-50); }
.entry-content .stat-strip p { margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.entry-content .stat-strip p strong { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -.03em; color: var(--pink-600); }

/* ---------- Service single ---------- */
.with-sidebar { display: grid; gap: 40px; }
@media (min-width: 1000px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; } .with-sidebar__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.service-cover { margin-bottom: 36px; }
.service-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.side-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); margin-bottom: 20px; }
.side-card h2 { font-size: 19px; margin-bottom: 10px; }
.side-card--accent { background: linear-gradient(150deg, var(--pink-600), #c2185b); border: 0; color: rgb(255 255 255 / 90%); }
.side-card--accent h2 { color: var(--white); font-size: 22px; }
.side-card--accent .btn { margin-top: 10px; }
.side-card__note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 14px; font-weight: 600; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
.side-links .icon { color: var(--pink); width: 18px; height: 18px; }
.side-links a:hover, .side-links .is-current a { background: var(--pink-50); color: var(--pink-700); }

/* ---------- Doctor profile ---------- */
.doctor-profile { display: grid; gap: 40px; align-items: start; }
.doctor-profile + .doctor-profile { margin-top: 80px; padding-top: 80px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .doctor-profile { grid-template-columns: 420px 1fr; gap: 64px; } .doctor-profile__media { position: sticky; top: calc(var(--header-h) + 24px); } }
.doctor-profile__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: 18px 18px 0 var(--pink-50), var(--shadow); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
.chip-list li { padding: 6px 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-size: 14px; font-weight: 700; }
.doctor-profile__opd { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--pink-50); color: var(--ink); }
.doctor-profile__opd .icon { color: var(--pink-600); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 16px; margin-bottom: 48px; }
@media (min-width: 800px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
	display: flex; flex-direction: column; gap: 4px;
	padding: 24px; border-radius: var(--radius); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.contact-card:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--pink-100); }
.contact-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 14px; background: var(--pink-50); color: var(--pink-600); }
.contact-card--wa .contact-card__icon { background: #e6f9ee; color: var(--wa-700); }
.contact-card__label { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 19px; word-break: break-word; }
.contact-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.contact-details h2 { font-size: 28px; }
.contact-details h3 { font-size: 18px; margin-top: 36px; }
.contact-details__address { display: flex; gap: 12px; font-size: 17px; color: var(--ink); font-weight: 600; }
.contact-details__address .icon { color: var(--pink-600); margin-top: 4px; }
.contact-details__areas { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.hours th { font-weight: 600; color: var(--text); }
.hours td { text-align: right; font-weight: 700; color: var(--ink); }
.hours__emergency th, .hours__emergency td { color: var(--pink-600); }
.contact-map { min-height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--blue-50); }
.contact-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Article ---------- */
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.article__cover { margin-bottom: 8px; }
.article__cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.article__cta { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin: 48px 0; padding: 26px; border-radius: var(--radius); background: var(--pink-50); }
.article__cta strong { color: var(--ink); font-size: 18px; }
.article__cta p { margin: 4px 0 0; font-size: 15px; }
.article__nav { display: grid; gap: 14px; }
@media (min-width: 640px) { .article__nav { grid-template-columns: 1fr 1fr; } .article__nav-next { text-align: right; grid-column: 2; } }
.article__nav a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.4; }
.article__nav a:hover { border-color: var(--pink-100); background: var(--pink-50); }
.article__nav small { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Misc ---------- */
.empty-state, .not-found { text-align: center; }
.not-found__code { margin: 0; font-size: clamp(80px, 14vw, 160px); font-weight: 800; line-height: 1; letter-spacing: -.05em; background: linear-gradient(120deg, var(--pink), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 24px auto 0; }
.search-form input { flex: 1; padding: 12px 18px; font: inherit; border: 1px solid var(--line); border-radius: 999px; }
.search-form .btn { padding: 0 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #aeb7cc; font-size: 15px; padding-bottom: 72px; }
.site-footer__grid { display: grid; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .site-footer__grid { grid-template-columns: 1.3fr .9fr .8fr 1.3fr; gap: 48px; } }
.site-logo--footer { display: inline-block; padding: 12px 16px; margin-bottom: 18px; background: var(--white); border-radius: 14px; }
.site-logo--footer .site-logo__img { height: 46px; }
.site-footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 18px; color: #ff8fae; }
.site-footer__nabh { width: 120px; padding: 8px; border-radius: 12px; background: var(--white); }
.site-footer__title { margin-bottom: 18px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d4dae8; text-decoration: none; }
.site-footer a:hover { color: #ff8fae; }
.site-footer__contact { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.site-footer__contact .icon { color: #ff8fae; margin-top: 3px; width: 18px; height: 18px; }
.site-footer__contact strong { color: var(--white); }
.social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / 8%); color: var(--white); transition: background-color .2s; }
.social a:hover { background: var(--pink-600); color: var(--white); }
.social .icon { width: 19px; height: 19px; }
.site-footer__bottom { border-top: 1px solid rgb(255 255 255 / 8%); font-size: 13.5px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.site-footer__bottom p { margin: 0; }
.site-footer__disclaimer { color: #7f8aa5; }
@media (min-width: 900px) { .site-footer { padding-bottom: 0; } }

/* ---------- Floating contact ---------- */
.float-contact {
	position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
	display: grid; grid-template-columns: 1fr 1fr;
	box-shadow: 0 -6px 24px rgb(20 33 61 / 14%);
}
.float-contact__btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 0 16px;
	font-weight: 800; font-size: 16px; text-decoration: none; color: var(--white);
}
.float-contact__btn:hover { color: var(--white); }
.float-contact__btn .icon { width: 22px; height: 22px; }
.float-contact__btn--call { background: var(--pink-600); }
.float-contact__btn--wa { background: var(--wa-700); }
@media (min-width: 900px) {
	.float-contact { left: auto; right: 24px; bottom: 24px; grid-template-columns: none; gap: 12px; box-shadow: none; }
	.float-contact__btn { width: 58px; height: 58px; min-height: 0; padding: 0; border-radius: 50%; box-shadow: 0 10px 28px -6px rgb(20 33 61 / 40%); transition: transform .2s; }
	.float-contact__btn:hover { transform: scale(1.08); }
	.float-contact__btn--wa { background: var(--wa); order: -1; }
	.float-contact__btn--wa .icon { width: 30px; height: 30px; }
	.float-contact__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.float-contact__btn--wa::before {
		content: ""; position: absolute; inset: 0; border-radius: 50%;
		border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite;
	}
	.float-contact__btn { position: relative; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Readability tweaks ---------- */
.entry-content--page > :is(p, ul, ol, h2, h3, h4, blockquote, .wp-block-details, .callout) { max-width: 820px; }
.entry-content .callout > :last-child,
.entry-content .wp-block-group > :last-child { margin-bottom: 0; }

/* Gallery: explicit 2/3-column grid (core widths assume a different gap). */
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0; width: 100%; }
@media (min-width: 600px) {
	.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { width: calc(50% - 7px); }
}
@media (min-width: 960px) {
	.entry-content .wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image) { width: calc(33.333% - 28px / 3); }
}
.entry-content .wp-block-gallery figcaption { font-size: 13px; font-weight: 600; }

/* backdrop-filter makes the header the containing block for the fixed drawer; drop it while open. */
@media (max-width: 1279px) {
	.nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
	.primary-nav { height: 100dvh; }
}

/* Footer legal links and PC&PNDT notice */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.site-footer__legal a { color: #d4dae8; }
.site-footer__pcpndt, .site-footer__disclaimer { flex-basis: 100%; }
.site-footer__pcpndt { color: #c8cfe0; font-weight: 600; }
.entry-content .wp-block-group__inner-container > :last-child { margin-bottom: 0; }

/* ---------- Umang IVF landing page ---------- */
.ivf-hero { position: relative; overflow: hidden; background: #fff; }
.ivf-hero__media { display: block; }
/* Phone: square newborn photo, nest kept whole, bottom edge fading into the page white. */
.ivf-hero__img {
	width: 100%; height: auto; aspect-ratio: 1 / .88; object-fit: cover; object-position: 50% 75%;
	-webkit-mask-image: linear-gradient(#000 84%, transparent);
	mask-image: linear-gradient(#000 84%, transparent);
}
.ivf-hero__inner { position: relative; z-index: 1; padding-top: 12px; padding-bottom: 36px; }
.ivf-hero__content { max-width: 560px; margin: 0 auto; text-align: center; }
.ivf-hero .breadcrumbs ol { justify-content: center; margin-bottom: 8px; }
.ivf-hero__h1 {
	margin: 4px 0 22px;
	font-size: clamp(15px, 1.25vw, 18px); font-weight: 700; letter-spacing: .01em; line-height: 1.4;
	color: var(--ink);
}
.ivf-hero__actions { justify-content: center; margin: 0; }

/* Handwritten headline with hearts (sizes in em so decorations scale with the text). */
.ivf-script {
	--script-size: clamp(40px, 10.5vw, 64px);
	position: relative;
	width: fit-content; margin: 0 auto;
	padding: .38em .95em .5em .6em;
	font-family: "Dancing Script", "Segoe Script", cursive;
	font-size: var(--script-size); line-height: 1.08; text-align: left;
}
.ivf-script__line { display: block; white-space: nowrap; }
.ivf-script__line--ink { font-weight: 600; color: #3a3d46; }
.ivf-script__line--pink { font-weight: 700; color: var(--pink-600); padding-left: .3em; }
.ivf-script__heart { position: absolute; width: .3em; height: .3em; color: var(--pink-600); fill: currentColor; }
.ivf-script__heart.is-outline { fill: none; stroke: currentColor; stroke-width: 1.4; width: .4em; height: .4em; }
.ivf-script__heart--a { left: .08em; top: .62em; }
.ivf-script__heart--b { left: 44%; top: -.06em; }
.ivf-script__heart--c { right: .5em; top: 1.3em; width: .34em; height: .34em; }
.ivf-script__heart--d { right: .62em; bottom: .6em; }
.ivf-script__swash { position: absolute; left: 14%; bottom: .02em; width: 68%; height: .42em; color: var(--pink-600); }

@media (min-width: 600px) {
	.ivf-hero__img { aspect-ratio: 2048 / 768; object-position: right center; -webkit-mask-image: none; mask-image: none; }
}
@media (min-width: 1100px) {
	/* Hero keeps the image's own proportions so the baby always sits in the right half. */
	.ivf-hero { aspect-ratio: 2048 / 768; min-height: 440px; display: flex; align-items: center; }
	.ivf-hero__media { position: absolute; inset: 0; }
	.ivf-hero__img { height: 100%; aspect-ratio: auto; object-position: right center; }
	.ivf-hero__media::after {
		content: ""; position: absolute; inset: 0;
		background: linear-gradient(90deg, rgb(255 255 255 / 90%) 0%, rgb(255 255 255 / 70%) 30%, rgb(255 255 255 / 0%) 42%);
	}
	.ivf-hero__inner { padding-top: 24px; padding-bottom: 24px; }
	.ivf-hero__content { max-width: min(480px, 36vw); margin: 0; text-align: left; }
	.ivf-hero .breadcrumbs ol { justify-content: flex-start; }
	.ivf-script { --script-size: clamp(44px, 4.1vw, 74px); margin: 0 0 0 -.6em; }
	.ivf-hero__actions { justify-content: flex-start; }
}
@media (min-width: 1814px) {
	/* Very wide screens: stop the image growing (it would drift under the text); fade its left edge into white. */
	.ivf-hero { aspect-ratio: auto; height: 680px; }
	.ivf-hero__img {
		object-fit: contain; object-position: right center;
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%);
		mask-image: linear-gradient(90deg, transparent 0, #000 14%);
	}
}

.ivf-intro { padding: 28px 0; background: var(--pink-50); border-top: 1px solid var(--pink-100); border-bottom: 1px solid var(--pink-100); }
.ivf-intro__inner { display: grid; gap: 22px; align-items: center; }
.ivf-intro__lead { margin: 0; font-size: 17.5px; color: var(--ink); font-weight: 500; }
@media (min-width: 640px) { .ivf-intro__trust { grid-template-columns: repeat(3, auto); justify-content: start; gap: 22px; } }
@media (min-width: 1024px) { .ivf-intro__inner { grid-template-columns: 1fr auto; gap: 48px; } }

.service-grid--static .service-card:hover { transform: none; box-shadow: none; border-color: var(--line); }
.service-grid--static .service-card:hover .service-card__icon { background: var(--pink-50); color: var(--pink-600); }
.service-grid--static .service-card:nth-child(even):hover .service-card__icon { background: var(--blue-50); color: var(--blue-700); }
@media (min-width: 1024px) { .service-grid--static { grid-template-columns: repeat(5, 1fr); } .service-grid--static .service-card { padding: 24px 20px; } }

.ivf-note { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.ivf-guide h2 { font-size: clamp(24px, 2.8vw, 34px); }
.ivf-guide .wp-block-details { background: var(--white); }
.ivf-location .chip-list { margin: 18px 0 26px; }
.ivf-location .contact-map { min-height: 460px; }

/* Highlighted "Umang IVF" item in the primary menu */
@media (min-width: 1280px) {
	.primary-nav .menu > li > a { white-space: nowrap; }
}
@media (min-width: 1280px) and (max-width: 1499px) {
	/* The menu items plus the Book button must fit at 1280px. */
	.primary-nav .menu { gap: 0; }
	.primary-nav .menu > li > a { padding: 10px 9px; font-size: 14px; }
	.primary-nav .menu-item-has-children > a { padding-right: 24px; }
	.submenu-toggle { right: 4px; }
	.header-cta { padding-inline: 16px; }
}

/* ---------- Fellowship programmes ---------- */
.fellow-hero {
	padding: clamp(32px, 5vw, 60px) 0;
	background:
		radial-gradient(50% 120% at 100% 0%, var(--pink-50), transparent 70%),
		radial-gradient(40% 100% at 0% 100%, var(--blue-50), transparent 70%);
	border-bottom: 1px solid var(--line);
}
.fellow-hero__inner { display: grid; gap: 32px; align-items: center; }
.fellow-hero .eyebrow .icon { width: 1.3em; height: 1.3em; }
.fellow-hero__title { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -.03em; margin-bottom: 14px; }
.fellow-hero__lead { max-width: 620px; margin: 0; font-size: 18px; color: var(--muted); }
.fellow-hero__actions { margin: 26px 0 0; }
.fellow-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (min-width: 960px) { .fellow-hero__inner { grid-template-columns: 1.15fr .85fr; gap: 56px; } }

/* "Programme at a glance" facts */
.entry-content .glance-tiles { gap: 14px; margin-bottom: 40px; }
.entry-content .glance-tiles > .wp-block-column { padding: 18px 20px; border-radius: var(--radius); background: var(--pink-50); }
.entry-content .glance-tiles h3 { margin: 0 0 4px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pink-600); }
.entry-content .glance-tiles p { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }

/* Draft marker for details the client still has to confirm. Remove every one before launch. */
.tbc { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #fff3c4; color: #7a4d00; font-size: .82em; font-weight: 700; white-space: nowrap; }

/* ---------- Umang Grace ---------- */
.fellow-hero__media .grace-hero__doctor { object-position: 50% 15%; } /* keep her face in the 4:3 frame */
.grace-hero .fellow-hero__title { --grace-title: clamp(30px, 4vw, 46px); font-size: var(--grace-title); margin-bottom: 4px; }
/* Same treatment as the home hero line ("welcoming every new life."): Dancing Script 700 at 1.08× the heading size. */
.grace-script {
	margin: 0 0 18px;
	font-family: "Dancing Script", var(--font-serif); font-style: normal; font-weight: 700; letter-spacing: 0;
	font-size: calc(clamp(30px, 4vw, 46px) * 1.08); line-height: 1.06;
	color: var(--pink-600);
}

