/* Ananta Memorial Hospital & Research Centre
   Mobile-first clinical design system.
   Red wordmark + H mark, hospital blue, surgical scrub green. */

:root {
    --red: #c1102b;
    --red-bright: #dc2340;
    --red-light: #ff8b98;

    --navy-deep: #03203a;
    --navy: #052c4d;
    --blue: #0a5a9c;
    --blue-bright: #1783d4;
    --blue-tint: #eaf3fb;

    --scrub-deep: #10604f;
    --scrub: #17786a;
    --scrub-bright: #23a189;
    --scrub-glow: #4be0c0;
    --scrub-tint: #e7f4f1;

    --ink: #0d1b26;
    --slate: #4d6473;
    --slate-soft: #6e828f;
    --line: #dbe4ea;
    --line-strong: #c3d2db;
    --line-dark: rgba(255, 255, 255, .14);
    --mist: #f5f8fa;
    --white: #fff;

    --danger: #a8202c;
    --warning: #8a5a12;
    --success: #10684f;

    --shadow-xs: 0 1px 2px rgba(5, 33, 56, .06), 0 4px 12px rgba(5, 33, 56, .05);
    --shadow-sm: 0 8px 24px rgba(5, 33, 56, .08);
    --shadow-md: 0 18px 44px rgba(4, 30, 52, .13);
    --shadow-lg: 0 26px 70px rgba(3, 25, 44, .22);

    --radius-xs: .5rem;
    --radius-sm: .8rem;
    --radius-md: 1.1rem;
    --radius-lg: 1.6rem;
    --radius-pill: 999px;

    --container: 78rem;
    --header-height: 4.1rem;
    --ease: cubic-bezier(.22, 1, .36, 1);

    --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    --font-display: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

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

/* Clip prevents any off-canvas element from creating sideways scroll,
   which is what produced the empty strip on the right when zoomed out. */
html {
    max-width: 100%;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    max-width: 100%;
    margin: 0;
    padding-bottom: 4.35rem; /* clears the fixed mobile action bar */
    overflow-x: clip;
    color: var(--ink);
    background: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.66;
    letter-spacing: -.006em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .18em; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    color: var(--navy-deep);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.028em;
    line-height: 1.13;
    text-wrap: balance;
}
h1 { font-size: clamp(2rem, 7.6vw, 3.9rem); line-height: 1.07; }
h2 { font-size: clamp(1.6rem, 5.4vw, 2.85rem); }
h3 { font-size: clamp(1.08rem, 3.4vw, 1.32rem); }

::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: .16rem solid var(--scrub-bright); outline-offset: .16rem; }
[hidden] { display: none !important; }

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(3.35rem, 8.4vw, 5.75rem); }
.section--tint { background: var(--mist); }
.section--dark { color: rgba(255, 255, 255, .76); background: var(--navy-deep); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; z-index: 10000; top: .6rem; left: .6rem;
    padding: .65rem 1rem; color: var(--white); background: var(--navy-deep);
    border-radius: var(--radius-xs); font-size: .8rem; font-weight: 650;
    transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* ---------- Type and controls ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    margin-bottom: .7rem; color: var(--scrub); font-size: .66rem;
    font-weight: 800; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase;
}
.eyebrow::before { width: 1.2rem; height: 2px; background: currentColor; border-radius: 2px; content: ""; }
.eyebrow--light { color: var(--scrub-glow); }

.lead { color: var(--ink); font-size: clamp(1rem, 2.3vw, 1.2rem); line-height: 1.55; }

.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .85rem; }
.button-row--center { justify-content: center; }

.button {
    display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.2rem; border: 1px solid transparent; border-radius: var(--radius-pill);
    font-size: .83rem; font-weight: 700; line-height: 1.2;
    text-align: center; text-decoration: none;
    transition: transform .3s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .3s;
}
.button span { transition: transform .3s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translateX(.2rem); }
.button--primary { color: var(--white); background: var(--blue); box-shadow: 0 6px 16px rgba(10, 90, 156, .25); }
.button--primary:hover { background: var(--blue-bright); }
.button--accent {
    color: var(--white);
    background: linear-gradient(135deg, var(--scrub-bright), var(--scrub-deep));
    box-shadow: 0 8px 22px rgba(16, 96, 79, .4);
}
.button--light { color: var(--navy-deep); background: var(--white); box-shadow: var(--shadow-xs); }
.button--light:hover { background: var(--scrub-tint); }
.button--glass {
    color: var(--white); background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.button--glass:hover { background: rgba(255, 255, 255, .26); }
.button--outline { color: var(--blue); background: transparent; border-color: var(--line-strong); }
.button--outline:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button--muted { color: var(--slate-soft); background: #e7ecef; }
.button--large { min-height: 3.35rem; padding-inline: 1.5rem; font-size: .86rem; }
.button--block { width: 100%; }

.text-link, .icon-link {
    display: inline-flex; align-items: center; gap: .42rem; padding: .18rem 0;
    color: var(--blue); border: 0; background: none;
    font-size: .84rem; font-weight: 700; text-decoration: none;
}
.text-link span, .icon-link span { transition: transform .25s var(--ease); }
.text-link:hover span, .icon-link:hover span { transform: translateX(.25rem); }
.text-link--light { color: var(--white); }
.text-link--large { font-size: .92rem; }

.glass-card {
    border: 1px solid rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .16);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.status-pill, .specialty-tag {
    display: inline-flex; width: fit-content; padding: .34rem .68rem;
    color: var(--scrub); background: var(--scrub-tint); border-radius: var(--radius-pill);
    font-size: .63rem; font-weight: 800; letter-spacing: .09em; line-height: 1.2; text-transform: uppercase;
}
.specialty-tag { color: var(--blue); background: var(--blue-tint); }
.specialty-tag--light { color: var(--navy-deep); background: #9fe3d3; }
.status-dot {
    display: inline-block; width: .4rem; height: .4rem; margin-right: .4rem;
    background: var(--scrub-glow); border-radius: 50%;
}

/* ---------- Header: transparent over hero, solid on scroll ---------- */
.site-header {
    position: sticky; z-index: 1000; top: 0; height: var(--header-height);
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid rgba(5, 44, 77, .09);
    transition: background .3s, box-shadow .3s, border-color .3s;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(4, 30, 52, .09); }
.site-header__inner { display: flex; height: 100%; align-items: center; justify-content: space-between; gap: .6rem; }

/* Home page: header floats over the carousel until the user scrolls. */
.site-header--overlay {
    position: absolute; right: 0; left: 0;
    background: transparent; border-bottom-color: transparent;
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header--overlay .brand-name { color: var(--white); }
.site-header--overlay .brand-sub { color: rgba(255, 255, 255, .74); }
.site-header--overlay .brand-mark { color: var(--white); }
.site-header--overlay .nav-toggle {
    color: var(--white); background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .42);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header--overlay .header-appointment {
    background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5);
    box-shadow: none; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header--overlay.is-scrolled {
    position: fixed;
    background: rgba(255, 255, 255, .96);
    border-bottom-color: rgba(5, 44, 77, .09);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    animation: headerDrop .38s var(--ease);
}
@keyframes headerDrop { from { transform: translateY(-100%); } to { transform: none; } }
.site-header--overlay.is-scrolled .brand-name { color: var(--red); }
.site-header--overlay.is-scrolled .brand-sub { color: var(--slate); }
.site-header--overlay.is-scrolled .brand-mark { color: var(--red); }
.site-header--overlay.is-scrolled .nav-toggle { color: var(--navy); background: var(--white); border-color: var(--line-strong); }
.site-header--overlay.is-scrolled .header-appointment {
    background: var(--blue); border-color: transparent; box-shadow: 0 6px 16px rgba(10, 90, 156, .25);
}

/* Wordmark plus the H-in-circle mark used on the building. */
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--red); text-decoration: none; }
.brand-mark { display: block; width: 2.05rem; height: 2.05rem; flex: 0 0 auto; color: var(--red); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; gap: .08rem; }
.brand-name {
    color: var(--red);
    font-family: var(--font-display);
    font-size: clamp(1.02rem, 4.4vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -.026em;
    line-height: 1;
}
.brand-sub {
    color: var(--slate);
    font-size: clamp(.46rem, 1.75vw, .55rem);
    font-weight: 650;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}
.brand:hover .brand-name { color: var(--red-bright); }
.brand--footer { color: var(--red-light); }
.brand--footer .brand-name, .brand--footer .brand-mark { color: var(--red-light); }
.brand--footer .brand-sub { color: rgba(255, 255, 255, .52); }

.nav-toggle {
    display: inline-flex; min-height: 2.5rem; align-items: center; gap: .45rem;
    padding: .42rem .7rem; color: var(--navy); background: var(--white);
    border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
    transition: background .25s, border-color .25s, color .25s;
}
.nav-toggle__label { font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav-toggle__icon { display: flex; width: .95rem; flex-direction: column; gap: .24rem; }
.nav-toggle__icon i { display: block; width: 100%; height: 1.5px; background: currentColor; border-radius: 2px; }

.nav-panel {
    position: fixed; z-index: 1002; inset: 0 0 0 auto;
    display: flex; width: min(86vw, 21rem); height: 100dvh;
    flex-direction: column; padding: 1rem;
    color: var(--white); background: var(--navy-deep);
    box-shadow: var(--shadow-lg); visibility: hidden;
    transform: translateX(101%);
    transition: transform .42s var(--ease), visibility .42s;
}
.nav-open .nav-panel { visibility: visible; transform: none; }
.nav-panel__header {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 1rem; border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-display); font-size: .68rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
}
.nav-close {
    display: grid; width: 2.4rem; height: 2.4rem; place-items: center;
    color: var(--white); background: transparent; border: 1px solid var(--line-dark);
    border-radius: 50%; font-size: 1.5rem; line-height: 1;
}
.nav-list { display: flex; flex-direction: column; margin: 1rem 0; padding: 0; list-style: none; }
.nav-list a {
    display: block; padding: .68rem .15rem; color: rgba(255, 255, 255, .76);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    font-family: var(--font-display); font-size: 1.2rem; font-weight: 650;
    letter-spacing: -.015em; text-decoration: none;
}
.nav-list a:hover { color: var(--white); }
.nav-list a[aria-current="page"] { color: var(--scrub-glow); }
.nav-panel__cta { margin-top: auto; }
.nav-panel__note { margin: .75rem 0 0; color: rgba(255, 255, 255, .5); font-size: .68rem; text-align: center; }
.nav-backdrop { position: fixed; z-index: 1001; inset: 0; background: rgba(3, 25, 42, .6); backdrop-filter: blur(3px); }
.nav-open .nav-backdrop { display: block !important; }
.header-appointment { display: none; }

/* No-JavaScript fallback: expose all routes instead of an inert button. */
html:not(.js) .site-header, html:not(.js) .site-header--overlay {
    position: relative; height: auto; background: rgba(255, 255, 255, .96);
}
html:not(.js) .site-header--overlay .brand-name, html:not(.js) .site-header--overlay .brand-mark { color: var(--red); }
html:not(.js) .site-header--overlay .brand-sub { color: var(--slate); }
html:not(.js) .site-header__inner { height: auto; flex-wrap: wrap; padding-block: .6rem; }
html:not(.js) .site-nav { width: 100%; }
html:not(.js) .nav-toggle,
html:not(.js) .nav-panel__header,
html:not(.js) .nav-panel__cta,
html:not(.js) .nav-panel__note,
html:not(.js) .nav-backdrop { display: none; }
html:not(.js) .nav-panel {
    position: static; display: block; width: 100%; height: auto; padding: 0;
    color: var(--ink); background: transparent; box-shadow: none;
    visibility: visible; transform: none;
}
html:not(.js) .nav-list { flex-flow: row wrap; gap: .1rem; margin: .35rem 0 0; }
html:not(.js) .nav-list a {
    padding: .35rem .45rem; color: var(--slate); border-bottom: 0;
    font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
}

/* ---------- Hero carousel ---------- */
.hero {
    position: relative; isolation: isolate;
    height: min(92svh, 44rem); min-height: 30rem;
    overflow: hidden; background: var(--navy-deep);
}
.hero__track { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; pointer-events: none;
    transition: opacity .85s var(--ease);
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide picture, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: center; }
.hero-slide.is-active img { animation: kenBurns 9s var(--ease) both; }
@keyframes kenBurns { from { transform: scale(1.035); } to { transform: scale(1); } }

/* Neutral, image-preserving fade only where text sits. No colour tint. */
.hero-slide__fade {
    position: absolute; inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .74) 0%, rgba(0, 0, 0, .42) 26%, rgba(0, 0, 0, .06) 52%, transparent 68%),
        linear-gradient(to bottom, rgba(0, 0, 0, .32) 0%, transparent 22%);
}

.hero-slide__inner {
    position: absolute; right: 0; bottom: 0; left: 0;
    padding-bottom: 7.6rem;
}
.hero-slide__eyebrow {
    margin: 0 0 .5rem; color: var(--scrub-glow);
    font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.hero-slide__title {
    max-width: 20ch; margin: 0 0 .55rem; color: var(--white);
    font-family: var(--font-display); font-size: clamp(1.95rem, 8.6vw, 4.15rem);
    font-weight: 750; letter-spacing: -.032em; line-height: 1.05;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
    text-wrap: balance;
}
.hero-slide__text {
    max-width: 32ch; margin: 0; color: rgba(255, 255, 255, .88);
    font-size: clamp(.92rem, 3.4vw, 1.12rem); line-height: 1.45;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .45);
}
.hero-slide.is-active .hero-slide__eyebrow { animation: heroTextRise .7s var(--ease) both .12s; }
.hero-slide.is-active .hero-slide__title { animation: heroTextRise .8s var(--ease) both .2s; }
.hero-slide.is-active .hero-slide__text { animation: heroTextRise .8s var(--ease) both .3s; }
@keyframes heroTextRise { from { opacity: 0; transform: translateY(1.1rem); } to { opacity: 1; transform: none; } }

/* Sits clear of the fixed mobile action bar, which already carries both CTAs. */
.hero__foot { position: absolute; right: 0; bottom: 0; left: 0; padding-bottom: 4.2rem; }
.hero__foot-inner { display: flex; flex-direction: column; gap: .7rem; }
.hero__cta { display: none; gap: .5rem; }
.hero__cta .button { flex: 1 1 0; min-height: 3rem; }

/* Liquid glass carousel controls */
.hero-controls {
    display: flex; align-items: center; justify-content: center; gap: .35rem;
    align-self: center; padding: .3rem;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .3);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.hero-controls__btn {
    display: grid; width: 2.15rem; height: 2.15rem; place-items: center;
    color: var(--white); background: transparent; border: 0; border-radius: 50%;
    transition: background .25s, transform .25s var(--ease);
}
.hero-controls__btn:hover { background: rgba(255, 255, 255, .22); transform: scale(1.06); }
.hero-controls__btn svg { width: 1.05rem; height: 1.05rem; }
.hero-controls__resume { display: none; }
.hero-controls__btn--play.is-paused .hero-controls__pause { display: none; }
.hero-controls__btn--play.is-paused .hero-controls__resume { display: block; }
.hero-controls__dots { display: flex; align-items: center; gap: .28rem; padding-inline: .2rem; }
.hero-dot {
    width: .48rem; height: .48rem; padding: 0;
    background: rgba(255, 255, 255, .48); border: 0; border-radius: var(--radius-pill);
    transition: width .35s var(--ease), background .35s;
}
.hero-dot:hover { background: rgba(255, 255, 255, .8); }
.hero-dot.is-active { width: 1.35rem; background: var(--scrub-glow); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-strip__grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem .85rem; padding-block: 1.25rem;
}
.trust-item { display: flex; align-items: center; gap: .6rem; padding: .3rem 0; }
.trust-item > span {
    display: grid; width: 2.1rem; height: 2.1rem; flex: 0 0 auto; place-items: center;
    color: var(--scrub); background: var(--scrub-tint); border-radius: var(--radius-xs);
}
.trust-item svg { width: 1.15rem; height: 1.15rem; }
.trust-item div { display: flex; flex-direction: column; min-width: 0; }
.trust-item strong { color: var(--navy-deep); font-size: .8rem; font-weight: 750; letter-spacing: -.015em; }
.trust-item small { color: var(--slate); font-size: .66rem; line-height: 1.3; }

/* ---------- Quick paths ---------- */
.quick-paths { background: var(--white); border-bottom: 1px solid var(--line); }
.quick-paths__grid { display: grid; }
.quick-paths a {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem;
    padding: 1.15rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.quick-paths a:last-child { border-bottom: 0; }
.quick-paths__icon {
    display: grid; width: 2.45rem; height: 2.45rem; place-items: center;
    color: var(--blue); background: var(--blue-tint); border-radius: var(--radius-sm);
    transition: background .25s, color .25s;
}
.quick-paths__icon svg { width: 1.25rem; height: 1.25rem; }
.quick-paths a:hover .quick-paths__icon { color: var(--white); background: var(--blue); }
.quick-paths__text { display: flex; flex-direction: column; }
.quick-paths strong { color: var(--navy-deep); font-family: var(--font-display); font-size: .97rem; font-weight: 700; letter-spacing: -.02em; }
.quick-paths small { color: var(--slate); font-size: .72rem; }
.quick-paths i { color: var(--blue); font-style: normal; transition: transform .25s; }
.quick-paths a:hover i { transform: translateX(.28rem); }

/* ---------- Layout primitives ---------- */
.split-layout { display: grid; gap: 2.5rem; align-items: center; }
.section-copy { max-width: 42rem; }
.section-copy h2 { margin-bottom: 1rem; }
.section-copy p:not(.lead) { color: var(--slate); }
.section-copy .text-link { margin-top: .9rem; }
.section-heading { display: grid; gap: .8rem; margin-bottom: clamp(2.1rem, 5.6vw, 3.25rem); }
.section-heading h2 { max-width: 46rem; margin-bottom: 0; }
.section-heading > p { max-width: 33rem; margin-bottom: 0; color: var(--slate); }
.section-heading--light > p { color: rgba(255, 255, 255, .64); }
.section-action { margin-top: 1.25rem; text-align: center; }

.editorial-image { position: relative; }
.editorial-image > img {
    width: 100%; height: 100%; min-height: 16rem; object-fit: cover;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.editorial-image__note {
    position: absolute; right: .7rem; bottom: .7rem;
    display: flex; align-items: center; gap: .6rem;
    padding: .6rem .8rem; color: var(--white); border-radius: var(--radius-sm);
}
.editorial-image__note > span { display: block; width: 1.85rem; height: 1.85rem; flex: 0 0 auto; }
.editorial-image__note svg { width: 100%; height: 100%; }
.editorial-image__note p { display: flex; flex-direction: column; margin: 0; line-height: 1.25; }
.editorial-image__note strong { font-size: .82rem; }
.editorial-image__note small { font-size: .58rem; opacity: .82; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: 1rem; }
.service-card {
    display: flex; flex-direction: column; padding: 1.4rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service-card:hover { border-color: var(--scrub-bright); box-shadow: var(--shadow-sm); transform: translateY(-.25rem); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.service-number { color: var(--scrub); font-family: var(--font-display); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.service-mark { position: relative; width: 2.1rem; height: 2.1rem; background: var(--scrub-tint); border-radius: var(--radius-xs); }
.service-mark::before, .service-mark::after {
    position: absolute; top: 50%; left: 50%; background: var(--scrub); border-radius: 2px; content: "";
    transform: translate(-50%, -50%);
}
.service-mark::before { width: .85rem; height: 2px; }
.service-mark::after { width: 2px; height: .85rem; }
.service-card h3 { margin-bottom: .4rem; }
.service-card p { margin-bottom: .9rem; color: var(--slate); font-size: .85rem; }
.service-card .text-link { margin-top: auto; }

/* ---------- Featured doctor ---------- */
.doctor-feature { overflow: hidden; }
.doctor-feature__grid { display: grid; gap: 1.85rem; align-items: center; }
.doctor-feature__portrait { position: relative; width: min(100%, 19rem); margin-inline: auto; aspect-ratio: 1 / 1; }
.doctor-feature__portrait img {
    position: relative; z-index: 2; width: 100%; height: 100%;
    object-fit: cover; object-position: center 14%;
    background: var(--blue-tint); border-radius: 50% 50% 46% 54%; box-shadow: var(--shadow-md);
}
.portrait-orbit { position: absolute; border-radius: 50%; }
.portrait-orbit--one { inset: -.75rem; border: 1.5px solid var(--scrub-bright); opacity: .4; }
.portrait-orbit--two { inset: -1.6rem; border: 1px solid var(--line-strong); }
.doctor-feature__badge {
    position: absolute; z-index: 3; right: 0; bottom: 1.1rem;
    padding: .45rem .8rem; color: var(--navy-deep); background: rgba(255, 255, 255, .84);
    border-radius: var(--radius-pill); font-size: .64rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
}
.doctor-feature__copy { max-width: 40rem; }
.doctor-feature__copy h2 { margin-bottom: .3rem; }
.doctor-feature__qualification { margin-bottom: .15rem; color: var(--blue); font-size: .9rem; font-weight: 700; }
.doctor-feature__role { margin-bottom: .85rem; color: var(--slate); }
.doctor-feature__copy > p:not([class]) { color: var(--slate); }

.check-list { display: grid; gap: .4rem; margin: .9rem 0 1.25rem; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: .55rem; font-size: .88rem; }
.check-list li::before {
    display: inline-grid; width: 1.15rem; height: 1.15rem; flex: 0 0 auto; place-items: center;
    color: var(--white); background: var(--scrub); border-radius: 50%; content: "✓"; font-size: .6rem;
}

/* ---------- Principles ---------- */
.principle-grid { display: grid; gap: .1rem; }
.principle-grid article { padding: 1.15rem 0; border-top: 1px solid var(--line-dark); }
.principle-grid span { color: var(--scrub-glow); font-family: var(--font-display); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.principle-grid h3 { margin: .7rem 0 .4rem; }
.principle-grid p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .86rem; }

/* ---------- Facility gallery ---------- */
.facility-gallery { display: grid; gap: .8rem; }
.facility-gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-md); }
.facility-gallery img { width: 100%; height: 100%; min-height: 12.5rem; object-fit: cover; transition: transform .8s var(--ease); }
.facility-gallery figure:hover img { transform: scale(1.04); }
.facility-gallery figcaption {
    position: absolute; right: 0; bottom: 0; left: 0;
    display: flex; flex-direction: column; gap: .02rem;
    padding: 2.2rem .85rem .85rem; color: var(--white);
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
}
.facility-gallery figcaption strong { font-family: var(--font-display); font-size: .95rem; font-weight: 700; }
.facility-gallery figcaption span { color: rgba(255, 255, 255, .7); font-size: .62rem; letter-spacing: .09em; text-transform: uppercase; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 1.6rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
    position: relative; padding: 1.2rem 2.1rem 1.2rem 0; color: var(--navy-deep);
    cursor: pointer; font-family: var(--font-display); font-size: .97rem; font-weight: 700;
    letter-spacing: -.015em; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after {
    position: absolute; top: 50%; right: .2rem; width: .8rem; height: 2px;
    background: var(--scrub); border-radius: 2px; content: ""; transition: transform .25s;
}
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details div { padding: 0 1.4rem 1rem 0; color: var(--slate); }
.faq-list details p { margin: 0; font-size: .88rem; }

/* ---------- Page heroes ---------- */
.page-hero {
    position: relative; overflow: hidden;
    padding: .85rem 0 2.25rem;
    background: linear-gradient(170deg, var(--blue-tint), var(--mist) 62%);
}
.page-hero::after {
    position: absolute; right: -6.5rem; bottom: -10rem; width: 17rem; height: 17rem;
    border: 1.5px solid rgba(35, 161, 137, .2); border-radius: 50%; content: "";
}
.page-hero::before {
    position: absolute; right: 1.25rem; bottom: -7.5rem; width: 11.5rem; height: 11.5rem;
    border: 1px solid rgba(10, 90, 156, .15); border-radius: 50%; content: "";
}
.page-hero--doctors { background: linear-gradient(170deg, var(--scrub-tint), var(--mist) 64%); }
.page-hero--services { background: linear-gradient(170deg, #e9f1f9, var(--mist) 64%); }
.page-hero--appointments { background: linear-gradient(168deg, var(--scrub-tint), #eef5fb 58%, var(--mist)); }
.page-hero--packages { background: linear-gradient(170deg, #f0f4f7, var(--mist) 60%); }
.page-hero--contact { background: linear-gradient(170deg, var(--blue-tint), var(--mist) 66%); }
.page-hero--about { background: linear-gradient(170deg, #e8f2f7, var(--mist) 64%); }

.breadcrumbs { position: relative; z-index: 1; margin-bottom: clamp(1.5rem, 5vw, 3.5rem); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .3rem; color: var(--slate-soft); font-size: .67rem; }
.breadcrumbs a { color: var(--blue); font-weight: 650; }
.page-hero__content { position: relative; z-index: 1; max-width: 54rem; }
.page-hero__content h1 { margin-bottom: .7rem; font-size: clamp(2rem, 7.8vw, 3.9rem); }
.page-hero__content p { max-width: 41rem; margin: 0; color: var(--slate); font-size: clamp(.95rem, 2.5vw, 1.15rem); }

/* ---------- About ---------- */
.about-story { align-items: start; }
.fact-row { display: grid; gap: .6rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.fact-row div { display: flex; flex-direction: column; }
.fact-row strong { color: var(--navy-deep); font-family: var(--font-display); font-size: 1.3rem; font-weight: 750; letter-spacing: -.03em; }
.fact-row span { color: var(--slate); font-size: .66rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }

.framed-image { position: relative; margin: 0; }
.framed-image img { width: 100%; min-height: 15rem; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.framed-image figcaption { padding: .45rem 0; color: var(--slate-soft); font-size: .64rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.value-grid, .package-field-grid { display: grid; gap: 1rem; }
.value-grid article, .package-field-grid article {
    padding: 1.35rem; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-md); box-shadow: var(--shadow-xs);
}
.value-grid__mark, .package-field-grid article > span {
    display: inline-grid; width: 2rem; height: 2rem; place-items: center;
    color: var(--scrub); background: var(--scrub-tint); border-radius: var(--radius-xs);
    font-family: var(--font-display); font-size: .72rem; font-weight: 800;
}
.value-grid h3, .package-field-grid h3 { margin: .75rem 0 .35rem; }
.value-grid p, .package-field-grid p { margin: 0; color: var(--slate); font-size: .85rem; }

.facility-story { display: grid; gap: 1.6rem; align-items: center; }
.facility-story__copy { max-width: 39rem; }
.facility-story__images { display: grid; gap: .55rem; }
.facility-story__images img { width: 100%; height: 100%; min-height: 11rem; object-fit: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

.verification-section__grid { display: grid; gap: 1.25rem; }
.verification-section__grid p { max-width: 39rem; color: rgba(255, 255, 255, .68); }
.centred-callout { max-width: 46rem; margin-inline: auto; text-align: center; }
.centred-callout p { max-width: 37rem; margin: 0 auto 1.25rem; color: var(--slate); }
.split-callout { display: grid; gap: 1.25rem; align-items: start; }
.split-callout h2 { margin: 0; }
.split-callout > div:last-child { max-width: 38rem; }
.split-callout > div:last-child p { color: var(--slate); font-size: .9rem; }
.split-callout--light > div:last-child p { color: rgba(255, 255, 255, .7); }
.roster-note-section code, .contact-verification code {
    padding: .1rem .3rem; background: var(--blue-tint); border-radius: .3rem;
    font-size: .85em; word-break: break-word;
}

/* ---------- Doctor directory ---------- */
.directory-toolbar { display: grid; gap: .85rem; margin-bottom: 1.5rem; }
.directory-toolbar h2 { margin-bottom: 0; }
.search-field { position: relative; }
.search-field label { display: block; margin-bottom: .3rem; color: var(--slate); font-size: .68rem; font-weight: 700; }
.search-field input {
    width: 100%; min-height: 2.95rem; padding: .65rem 1rem .65rem 2.4rem;
    background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
}
.search-field input:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 .16rem rgba(10, 90, 156, .13); }
.search-field > span::before {
    position: absolute; bottom: 1rem; left: .95rem; width: .68rem; height: .68rem;
    border: 1.6px solid var(--blue); border-radius: 50%; content: "";
}
.search-field > span::after {
    position: absolute; bottom: .88rem; left: 1.55rem; width: .38rem; height: 1.6px;
    background: var(--blue); content: ""; transform: rotate(45deg);
}
.filter-chips { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .2rem; scrollbar-width: thin; }
.filter-chips button {
    flex: 0 0 auto; padding: .5rem .8rem; color: var(--slate);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill);
    font-size: .69rem; font-weight: 700; white-space: nowrap;
}
.filter-chips button.is-active { color: var(--white); background: var(--blue); border-color: var(--blue); }
.directory-count { margin: 0; color: var(--slate-soft); font-size: .7rem; }

.doctor-grid { display: grid; gap: 1rem; }
.doctor-card {
    height: 100%; overflow: hidden; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-md);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.doctor-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-.25rem); }
.doctor-card__media {
    display: block; aspect-ratio: 4 / 3.3; overflow: hidden;
    background: linear-gradient(150deg, var(--blue-tint), var(--scrub-tint)); text-decoration: none;
}
.doctor-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 14%; transition: transform .6s var(--ease); }
.doctor-card:hover .doctor-card__media img { transform: scale(1.04); }
.doctor-placeholder { display: grid; width: 100%; height: 100%; align-content: center; justify-items: center; color: var(--blue); }
.doctor-placeholder > span {
    display: grid; width: 4.2rem; height: 4.2rem; place-items: center;
    background: rgba(255, 255, 255, .72); border: 1.5px solid rgba(10, 90, 156, .22);
    border-radius: 50%; font-family: var(--font-display); font-size: 1.4rem; font-weight: 750;
}
.doctor-placeholder small { margin-top: .5rem; color: var(--slate-soft); font-size: .56rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.doctor-card__body { display: flex; min-height: 11.5rem; flex-direction: column; padding: 1.2rem; }
.doctor-card h3 { margin: .6rem 0 .25rem; font-size: 1.03rem; }
.doctor-card h3 a { text-decoration: none; }
.doctor-card h3 a:hover { color: var(--blue); }
.doctor-card__qualification { margin-bottom: .15rem; color: var(--blue); font-size: .74rem; font-weight: 700; }
.doctor-card__role { color: var(--slate); font-size: .8rem; }
.doctor-card__actions {
    display: flex; align-items: center; justify-content: space-between; gap: .45rem;
    margin-top: auto; padding-top: .75rem; border-top: 1px solid var(--line);
}
.icon-link { color: var(--slate-soft); font-size: .69rem; }
.icon-link:hover { color: var(--scrub); }
.empty-state { padding: 2.5rem 1rem; text-align: center; background: var(--mist); border-radius: var(--radius-md); }
.empty-state p { margin: 0; color: var(--slate); }

/* ---------- Doctor profile ---------- */
.profile-hero {
    padding: .85rem 0 2.5rem; overflow: hidden;
    color: rgba(255, 255, 255, .78);
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 55%, var(--scrub-deep) 135%);
}
.profile-hero .breadcrumbs a { color: var(--scrub-glow); }
.profile-hero .breadcrumbs li { color: rgba(255, 255, 255, .5); }
.profile-hero__grid { display: grid; gap: 1.6rem; align-items: center; }
.profile-portrait { position: relative; width: min(100%, 15rem); margin-inline: auto; }
.profile-portrait::before {
    position: absolute; inset: -.6rem; border: 1.5px solid rgba(75, 224, 192, .3);
    border-radius: 50% 50% 44% 56%; content: "";
}
.profile-portrait img, .profile-placeholder {
    position: relative; width: 100%; aspect-ratio: 1 / 1;
    object-fit: cover; object-position: center 14%;
    background: #d8e9ee; border-radius: 50% 50% 44% 56%;
}
.profile-placeholder { display: grid; align-content: center; justify-items: center; color: var(--blue); }
.profile-placeholder span { font-family: var(--font-display); font-size: 2.9rem; font-weight: 750; }
.profile-placeholder small { font-size: .6rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.profile-hero__copy { max-width: 45rem; }
.profile-hero__copy h1 { margin: .7rem 0 .35rem; color: var(--white); font-size: clamp(2rem, 8.4vw, 3.85rem); }
.profile-qualifications { margin-bottom: .15rem; color: var(--scrub-glow); font-size: .92rem; font-weight: 700; }
.profile-designation { color: rgba(255, 255, 255, .72); }
.profile-intro { max-width: 42rem; margin: .9rem 0 1.25rem; font-size: .95rem; }
.profile-availability {
    display: flex; align-items: flex-start; gap: .5rem; margin: .9rem 0 0;
    color: rgba(255, 255, 255, .62); font-size: .72rem;
}
.profile-availability span { width: .42rem; height: .42rem; margin-top: .42rem; flex: 0 0 auto; background: #f0c674; border-radius: 50%; }

.profile-content__grid { display: grid; gap: 2.5rem; align-items: start; }
.profile-main { display: grid; gap: 2.6rem; }
.profile-main section { max-width: 46rem; }
.profile-main h2 { margin-bottom: .7rem; font-size: clamp(1.4rem, 5.2vw, 2.2rem); }
.profile-main p { color: var(--slate); }
.feature-list { display: grid; margin: 0; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: .7rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.feature-list li > span { width: .5rem; height: .5rem; flex: 0 0 auto; background: var(--scrub-bright); border-radius: 50%; }
.source-disclaimer { margin-top: .85rem; padding-left: .8rem; border-left: 2px solid #e2b862; font-size: .76rem; }
.timeline-list { border-left: 1.5px solid rgba(35, 161, 137, .35); }
.timeline-list > div { position: relative; padding: 0 0 1rem 1.15rem; }
.timeline-list > div > span {
    position: absolute; top: .42rem; left: -.3rem; width: .55rem; height: .55rem;
    background: var(--white); border: 2px solid var(--scrub-bright); border-radius: 50%;
}
.timeline-list p { margin: 0; font-size: .88rem; }

.profile-sidebar { display: grid; gap: .7rem; }
.credential-card, .appointment-card { padding: 1.15rem; border-radius: var(--radius-md); }
.credential-card { background: var(--mist); border: 1px solid var(--line); }
.credential-card h2, .appointment-card h2 { font-size: 1.25rem; }
.credential-card ul { display: flex; flex-wrap: wrap; gap: .35rem; margin: .85rem 0 0; padding: 0; list-style: none; }
.credential-card li {
    padding: .4rem .68rem; color: var(--blue); background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: .68rem; font-weight: 800;
}
.appointment-card { color: rgba(255, 255, 255, .74); background: linear-gradient(150deg, var(--blue), var(--navy)); }
.appointment-card h2 { color: var(--white); }
.appointment-card p { font-size: .84rem; }

.notice { padding: 1.05rem; border-radius: var(--radius-sm); }
.notice strong { display: block; margin-bottom: .2rem; color: var(--ink); font-size: .8rem; }
.notice p { margin: 0; font-size: .76rem; }
.notice--warning { color: #6f4d16; background: #fff7e8; border: 1px solid #ecd8ac; }
.notice--warning strong { color: var(--warning); }
.notice--neutral { color: var(--slate); background: var(--mist); border: 1px solid var(--line); }
.notice--compact { max-width: 30rem; }
.not-found { display: grid; min-height: 52vh; place-items: center; }

/* ---------- Services ---------- */
.service-details { border-top: 1px solid var(--line); }
.service-detail { padding-block: 2rem; border-bottom: 1px solid var(--line); }
.service-detail--alternate { background: var(--mist); }
.service-detail__grid { display: grid; gap: .9rem; align-items: start; }
.service-detail__number { color: var(--scrub); font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: .08em; }
.service-detail__copy h2 { margin-bottom: .6rem; }
.service-detail__copy .lead { max-width: 40rem; }
.service-detail__action {
    padding: 1rem; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-md); box-shadow: var(--shadow-xs);
}
.service-detail__action p { color: var(--slate); font-size: .8rem; }
.service-detail__action .text-link { display: flex; margin-top: .75rem; }

.numbered-steps { display: grid; gap: .85rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.numbered-steps li { display: flex; gap: .75rem; }
.numbered-steps li > span {
    display: grid; width: 2.15rem; height: 2.15rem; flex: 0 0 auto; place-items: center;
    color: var(--scrub); background: var(--scrub-tint); border-radius: 50%;
    font-family: var(--font-display); font-size: .68rem; font-weight: 800;
}
.numbered-steps strong { display: block; margin-bottom: .1rem; color: var(--navy-deep); font-size: .9rem; }
.numbered-steps p { margin: 0; color: var(--slate); font-size: .78rem; }

/* ---------- Packages ---------- */
.package-status-section { padding-bottom: 0; }
.package-status {
    display: grid; gap: .85rem; align-items: center; padding: 1.15rem;
    background: linear-gradient(140deg, var(--blue-tint), var(--scrub-tint));
    border: 1px solid var(--line); border-radius: var(--radius-md);
}
.package-status__mark {
    display: grid; width: 2.8rem; height: 2.8rem; place-items: center;
    color: var(--white); background: var(--blue); border-radius: 50%;
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 750;
}
.package-status h2 { margin-bottom: .45rem; font-size: clamp(1.4rem, 4.8vw, 2.2rem); }
.package-status p { margin: 0; color: var(--slate); font-size: .88rem; }

.package-template {
    padding: 1.15rem; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.package-template__kicker { margin: 1rem 0 .1rem; color: var(--slate-soft); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.package-template h3 { margin-bottom: 1rem; }
.package-template dl { margin: 0 0 1rem; }
.package-template dl div { display: flex; justify-content: space-between; gap: .8rem; padding: .62rem 0; border-bottom: 1px solid var(--line); }
.package-template dt { color: var(--slate); font-size: .76rem; }
.package-template dd { margin: 0; color: var(--navy); font-size: .76rem; font-weight: 700; text-align: right; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1rem; }
.contact-card {
    display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem;
    background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-md);
}
.contact-card--primary { color: rgba(255, 255, 255, .74); background: linear-gradient(150deg, var(--blue), var(--navy)); border-color: transparent; }
.contact-card--primary h2 { color: var(--white); }
.contact-card__icon {
    display: grid; width: 2.4rem; height: 2.4rem; margin-bottom: 1.1rem; place-items: center;
    color: var(--scrub); background: var(--scrub-tint); border-radius: var(--radius-xs);
    font-family: var(--font-display); font-size: .84rem; font-weight: 800;
}
.contact-card--primary .contact-card__icon { color: var(--scrub-glow); background: rgba(255, 255, 255, .12); }
.contact-card h2 { margin-bottom: .4rem; font-size: 1.25rem; }
.contact-card p { color: var(--slate); font-size: .84rem; }
.contact-card--primary p { color: rgba(255, 255, 255, .7); }
.contact-card .text-link, .contact-card .status-pill { margin-top: auto; }

.location-grid { display: grid; gap: 1.6rem; align-items: center; }
.location-image { position: relative; }
.location-image > img { width: 100%; min-height: 17rem; object-fit: cover; border-radius: var(--radius-lg); }
.location-image__label {
    position: absolute; right: .7rem; bottom: .7rem; display: flex; flex-direction: column;
    padding: .7rem .95rem; color: var(--white); border-radius: var(--radius-sm);
}
.location-image__label strong { font-family: var(--font-display); font-size: .95rem; }
.location-image__label small { font-size: .62rem; opacity: .82; }
.location-copy { max-width: 39rem; }
.visit-checklist { display: grid; gap: .95rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.visit-checklist li { display: flex; gap: .85rem; padding-bottom: .95rem; border-bottom: 1px solid var(--line); }
.visit-checklist li > span { color: var(--scrub); font-family: var(--font-display); font-size: .76rem; font-weight: 800; }
.visit-checklist strong { display: block; color: var(--navy-deep); font-size: .9rem; }
.visit-checklist p { margin: .1rem 0 0; color: var(--slate); font-size: .8rem; }

/* ---------- Appointment form ---------- */
.appointment-layout { display: grid; gap: 1.25rem; align-items: start; }
.appointment-form-wrap {
    padding: 1.25rem; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.form-heading { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.form-heading h2 { margin-bottom: .3rem; font-size: clamp(1.4rem, 5.2vw, 2.2rem); }
.form-heading p { margin: 0; color: var(--slate); font-size: .76rem; }
.appointment-form fieldset { margin: 0; padding: 1.6rem 0; border: 0; border-bottom: 1px solid var(--line); }
.appointment-form legend {
    width: 100%; margin-bottom: 1rem; color: var(--navy-deep);
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
}
.appointment-form legend span {
    display: inline-grid; width: 1.5rem; height: 1.5rem; margin-right: .45rem; place-items: center;
    color: var(--scrub); background: var(--scrub-tint); border-radius: 50%;
    font-family: var(--font-sans); font-size: .62rem; font-weight: 800; vertical-align: middle;
}
.form-grid { display: grid; gap: 1.05rem; }
.field { display: flex; flex-direction: column; }
.field label { margin-bottom: .3rem; color: var(--navy-deep); font-size: .72rem; font-weight: 700; }
.optional { margin-left: .2rem; color: var(--slate-soft); font-size: .58rem; font-weight: 600; text-transform: uppercase; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 2.95rem; padding: .65rem .75rem; color: var(--ink);
    background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-xs);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--blue); outline: 0; box-shadow: 0 0 0 .16rem rgba(10, 90, 156, .13);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
    border-color: var(--danger); box-shadow: 0 0 0 .16rem rgba(168, 32, 44, .1);
}
.field-hint, .field-meta { margin-top: .25rem; color: var(--slate-soft); font-size: .65rem; }
.field-meta { display: flex; justify-content: space-between; gap: .8rem; }
.field-error { margin-top: .22rem; color: var(--danger); font-size: .67rem; font-weight: 650; }
.field-error:empty { display: none; }

.consent-field { display: grid; grid-template-columns: auto 1fr; gap: .55rem; padding: 1.1rem 0; }
.consent-field input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--scrub); }
.consent-field label { color: var(--slate); font-size: .76rem; }
.consent-field .field-error { grid-column: 2; }
.form-submit { display: flex; flex-direction: column; align-items: stretch; gap: .55rem; }
.form-submit p { margin: 0; color: var(--slate-soft); font-size: .62rem; text-align: center; }
.appointment-form.is-submitting .button-spinner { display: block; }
.appointment-form.is-submitting [data-submit-label] { opacity: .7; }
.button-spinner {
    display: none; width: 1rem; height: 1rem; border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite;
}
.form-result { margin-top: 1.1rem; padding: .85rem; border-radius: var(--radius-sm); font-size: .83rem; }
.form-result.is-success { color: var(--success); background: #e9f7f1; border: 1px solid #a9dbc9; }
.form-result.is-error { color: var(--danger); background: #fdf0f1; border: 1px solid #e6bcbf; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.appointment-sidebar { display: grid; gap: .7rem; }
.appointment-sidebar__card { padding: 1.05rem; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-md); }
.appointment-sidebar .notice .text-link { margin-top: .55rem; color: var(--warning); }
.privacy-card { display: flex; gap: .75rem; padding: .9rem; color: var(--slate); border: 1px solid var(--line); border-radius: var(--radius-md); }
.privacy-card > span {
    display: grid; width: 2.1rem; height: 2.1rem; flex: 0 0 auto; place-items: center;
    color: var(--scrub); background: var(--scrub-tint); border-radius: 50%;
}
.privacy-card strong { color: var(--navy-deep); font-size: .76rem; }
.privacy-card p { margin: .12rem 0 0; font-size: .68rem; }

/* ---------- Pre-footer, footer, dialog ---------- */
.pre-footer { color: rgba(255, 255, 255, .78); background: linear-gradient(135deg, var(--blue), var(--scrub-deep)); }
.pre-footer__inner { display: grid; gap: 1.1rem; padding-block: 2.6rem; align-items: center; }
.pre-footer h2 { margin-bottom: .4rem; color: var(--white); font-size: clamp(1.5rem, 5.8vw, 2.7rem); }
.pre-footer p { max-width: 38rem; margin: 0; font-size: .9rem; }

.site-footer { color: rgba(255, 255, 255, .62); background: var(--navy-deep); }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.85rem; }
.footer-brand > p { max-width: 26rem; margin: .8rem 0 0; font-size: .8rem; }
.footer-heading {
    margin-bottom: .65rem; color: var(--white); font-family: var(--font-sans);
    font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.footer-links { display: grid; gap: .42rem; margin: 0; padding: 0; list-style: none; }
.footer-links a, .footer-links button {
    padding: 0; color: rgba(255, 255, 255, .66); background: none; border: 0;
    font-size: .8rem; text-align: left; text-decoration: none;
}
.footer-links a:hover, .footer-links button:hover { color: var(--scrub-glow); }
.footer-contact p { font-size: .78rem; }
.footer-contact strong { color: var(--white); }
.footer-contact span { color: rgba(255, 255, 255, .5); }
.footer-bottom { display: flex; flex-direction: column; gap: .25rem; padding-block: .95rem; border-top: 1px solid var(--line-dark); }
.footer-bottom p { margin: 0; font-size: .62rem; }

.site-dialog {
    width: min(100% - 1.4rem, 33rem); max-height: calc(100dvh - 2rem);
    padding: 0; border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.site-dialog::backdrop { background: rgba(2, 24, 42, .72); backdrop-filter: blur(4px); }
.site-dialog__surface { position: relative; padding: 1.6rem 1.05rem; }
.site-dialog h2 { font-size: clamp(1.4rem, 5.2vw, 2rem); }
.site-dialog p { color: var(--slate); font-size: .88rem; }
.dialog-close {
    position: absolute; top: .6rem; right: .6rem; display: grid;
    width: 2.2rem; height: 2.2rem; place-items: center; color: var(--navy);
    background: var(--mist); border: 1px solid var(--line); border-radius: 50%; font-size: 1.35rem;
}
.site-dialog .notice { margin: 1rem 0; }

/* Fixed mobile action bar keeps booking within thumb reach. */
.mobile-actions {
    position: fixed; z-index: 900; right: 0; bottom: 0; left: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: .45rem;
    padding: .45rem .6rem calc(.45rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .94);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(4, 30, 52, .09);
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
}
.mobile-actions a {
    display: inline-flex; min-height: 2.7rem; align-items: center; justify-content: center; gap: .35rem;
    color: var(--navy); background: var(--mist); border: 1px solid var(--line);
    border-radius: var(--radius-pill); font-size: .76rem; font-weight: 700; text-decoration: none;
}
.mobile-actions svg { width: 1rem; height: 1rem; }
.mobile-actions__primary {
    color: var(--white); background: linear-gradient(135deg, var(--scrub-bright), var(--scrub-deep));
    border-color: transparent; box-shadow: 0 5px 14px rgba(16, 96, 79, .3);
}

.noscript-notice {
    position: fixed; z-index: 9999; right: .7rem; bottom: 5rem; left: .7rem;
    padding: .65rem; color: var(--white); background: var(--navy-deep);
    border-radius: var(--radius-xs); font-size: .72rem;
}

.js [data-reveal] { opacity: 0; transform: translateY(1rem); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Location, map and contact details ---------- */
.page-hero--locate { background: linear-gradient(170deg, var(--scrub-tint), #eef5fb 58%, var(--mist)); }

.locate-grid { display: grid; gap: 1.85rem; align-items: start; }
.locate-details { max-width: 34rem; }
.locate-details h2 { margin-bottom: 1.25rem; }
.locate-details .button-row { margin-top: 1.5rem; }

.map-frame {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 3.4;
    background: var(--blue-tint);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-frame__fallback { position: absolute; inset: auto 1rem 1rem; margin: 0; font-size: .82rem; }
.map-note { margin: .7rem 0 0; color: var(--slate-soft); font-size: .72rem; line-height: 1.5; }

.detail-list { display: grid; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.detail-list li { display: flex; gap: .85rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.detail-list li:last-child { border-bottom: 0; }
.detail-list__icon {
    display: grid; width: 2.4rem; height: 2.4rem; flex: 0 0 auto; place-items: center;
    color: var(--scrub); background: var(--scrub-tint); border-radius: var(--radius-xs);
}
.detail-list__icon svg { width: 1.2rem; height: 1.2rem; }
.detail-list strong { display: block; margin-bottom: .15rem; color: var(--navy-deep); font-size: .82rem; }
.detail-list address, .detail-list p { margin: 0; color: var(--slate); font-size: .92rem; font-style: normal; line-height: 1.5; }
.detail-list small { display: block; margin-top: .2rem; color: var(--slate-soft); font-size: .68rem; }
.detail-list .text-link { margin-top: .4rem; font-size: .78rem; }
.detail-list__link { color: var(--blue); font-size: 1.15rem; font-weight: 750; letter-spacing: -.01em; text-decoration: none; }
.detail-list__link:hover { text-decoration: underline; }

.contact-card__icon svg { width: 1.2rem; height: 1.2rem; }
.contact-card__phone { color: inherit; text-decoration: none; }
.contact-card__phone:hover { text-decoration: underline; }
.contact-aside { display: grid; gap: .85rem; align-content: start; }

.nav-panel__call {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    margin-top: .6rem; padding: .7rem;
    color: var(--white); background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius-pill);
    font-size: .82rem; font-weight: 700; text-decoration: none;
}
.nav-panel__call span { display: block; width: 1rem; height: 1rem; }
.nav-panel__call svg { width: 100%; height: 100%; }

.footer-contact address { margin: 0 0 .75rem; font-size: .8rem; font-style: normal; line-height: 1.55; }
.footer-contact address strong { display: block; color: var(--white); }
.footer-phone { color: var(--scrub-glow); font-size: 1rem; font-weight: 750; text-decoration: none; }
.footer-phone:hover { text-decoration: underline; }

.dialog-call, .appointment-sidebar__call {
    display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0;
    padding: .85rem 1rem; background: var(--scrub-tint);
    border: 1px solid rgba(35, 161, 137, .28); border-radius: var(--radius-sm);
}
.dialog-call > span, .appointment-sidebar__call > span {
    display: grid; width: 2.2rem; height: 2.2rem; flex: 0 0 auto; place-items: center;
    color: var(--white); background: var(--scrub); border-radius: 50%;
}
.dialog-call svg, .appointment-sidebar__call svg { width: 1.1rem; height: 1.1rem; }
.dialog-call small, .appointment-sidebar__call small {
    display: block; color: var(--slate); font-size: .66rem; font-weight: 650;
    letter-spacing: .07em; text-transform: uppercase;
}
.dialog-call a, .appointment-sidebar__call a {
    color: var(--scrub-deep); font-size: 1.1rem; font-weight: 800;
    letter-spacing: -.01em; text-decoration: none;
}
.dialog-call a:hover, .appointment-sidebar__call a:hover { text-decoration: underline; }
.dialog-address { margin: 0 0 1rem; color: var(--slate); font-size: .85rem; }

/* ---------- Tablet ---------- */
@media (min-width: 40rem) {
    .container { width: min(100% - 3.25rem, var(--container)); }
    .map-frame { aspect-ratio: 16 / 10; }
    .hero { height: min(88svh, 42rem); }
    .trust-strip__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
    .trust-item { flex-direction: column; align-items: flex-start; gap: .45rem; }
    .service-grid, .value-grid, .package-field-grid, .doctor-grid, .contact-grid,
    .facility-story__images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .principle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .facility-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .facility-gallery__large { grid-column: 1 / -1; }
    .fact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .package-status { grid-template-columns: auto 1fr; padding: 1.4rem; }
    .package-status .status-pill { grid-column: 2; }
    .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field--full { grid-column: 1 / -1; }
    .appointment-form-wrap { padding: 1.5rem; }
    .form-submit { flex-direction: row; align-items: center; gap: .9rem; }
    .form-submit p { text-align: left; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
    .site-dialog__surface { padding: 2rem; }
    .mobile-actions { grid-template-columns: repeat(2, minmax(0, 13rem)); justify-content: center; }
}

/* ---------- Desktop ---------- */
@media (min-width: 64rem) {
    :root { --header-height: 4.75rem; }
    body { padding-bottom: 0; }
    .mobile-actions { display: none; }
    .noscript-notice { bottom: 1rem; }

    .site-header__inner { gap: 1.25rem; }
    .nav-toggle, .nav-panel__header, .nav-panel__cta, .nav-panel__note, .nav-backdrop { display: none; }
    .site-nav { margin-left: auto; }
    .nav-panel {
        position: static; display: block; width: auto; height: auto; padding: 0;
        color: var(--ink); background: transparent; box-shadow: none; visibility: visible; transform: none;
    }
    .nav-list { display: flex; flex-direction: row; gap: .1rem; margin: 0; }
    .nav-list a {
        position: relative; padding: .85rem .65rem; color: var(--slate); border-bottom: 0;
        font-family: var(--font-sans); font-size: .77rem; font-weight: 700; line-height: 1;
    }
    .nav-list a::after {
        position: absolute; right: .65rem; bottom: .4rem; left: .65rem; height: 2px;
        background: var(--scrub-bright); border-radius: 2px; content: "";
        transform: scaleX(0); transition: transform .25s var(--ease);
    }
    .nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--navy); }
    .nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
    .site-header--overlay .nav-list a { color: rgba(255, 255, 255, .88); }
    .site-header--overlay .nav-list a:hover, .site-header--overlay .nav-list a[aria-current="page"] { color: var(--white); }
    .site-header--overlay.is-scrolled .nav-list a { color: var(--slate); }
    .site-header--overlay.is-scrolled .nav-list a:hover,
    .site-header--overlay.is-scrolled .nav-list a[aria-current="page"] { color: var(--navy); }
    .header-appointment { display: inline-flex; min-height: 2.6rem; padding-inline: 1rem; font-size: .75rem; }

    .hero { height: min(92svh, 48rem); }
    .hero__cta { display: flex; justify-content: flex-start; }
    .hero__cta .button { flex: 0 0 auto; min-width: 11rem; }
    .hero-slide__fade {
        background:
            linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .34) 30%, transparent 62%),
            linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .12) 42%, transparent 66%),
            linear-gradient(to bottom, rgba(0, 0, 0, .3) 0%, transparent 18%);
    }
    .hero-slide__title { font-size: clamp(3.1rem, 5vw, 4.6rem); }
    .hero-slide__text { font-size: 1.15rem; }
    .hero__foot { padding-bottom: 1.75rem; }
    .hero-slide__inner { padding-bottom: 8.5rem; }
    .hero__foot-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 1.5rem; }
    .hero-controls { align-self: auto; }
    .hero-controls__btn { width: 2.35rem; height: 2.35rem; }

    .trust-strip__grid { padding-block: 1.1rem; gap: 1.5rem; }
    .trust-item { flex-direction: row; align-items: center; gap: .65rem; }
    .trust-item strong { font-size: .84rem; }

    .quick-paths__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quick-paths a { padding: 1.2rem 1.4rem; border-right: 1px solid var(--line); border-bottom: 0; }
    .quick-paths a:first-child { padding-left: 0; }
    .quick-paths a:last-child { padding-right: 0; border-right: 0; }

    .split-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 4.5rem); }
    .split-layout--intro { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
    .section-heading { grid-template-columns: minmax(0, 1.5fr) minmax(16rem, .7fr); align-items: end; gap: 1.75rem; }
    .service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .service-grid--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .doctor-feature__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 4.5rem; }
    .doctor-feature__portrait { width: min(100%, 24rem); }
    .facility-gallery { grid-template-columns: 1.45fr .78fr .78fr; grid-template-rows: 23rem; }
    .facility-gallery__large { grid-column: auto; }
    .facility-gallery figure, .facility-gallery img { min-height: 100%; }
    .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr); gap: 4rem; }

    .page-hero { padding-bottom: 3.5rem; }
    .about-story { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
    .value-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .facility-story { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
    .facility-story__images { grid-template-columns: 1.15fr .85fr; }
    .facility-story__images img { min-height: 18rem; }
    .verification-section__grid, .split-callout { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 3.25rem; }

    .directory-toolbar { grid-template-columns: minmax(0, 1fr) minmax(18rem, .7fr); align-items: end; gap: 1.25rem; }
    .filter-chips, .directory-count { grid-column: 1 / -1; }
    .doctor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }

    .profile-hero { padding-bottom: 3.5rem; }
    .profile-hero__grid { grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr); gap: 3.5rem; }
    .profile-portrait { width: 100%; }
    .profile-content__grid { grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .55fr); gap: 4rem; }
    .profile-sidebar { position: sticky; top: 6rem; }

    .service-detail { padding-block: 2.85rem; }
    .service-detail__grid { grid-template-columns: .16fr 1fr .48fr; gap: 2rem; }
    .service-detail__number { font-size: 2rem; }

    .package-field-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .package-status { grid-template-columns: auto 1fr auto; gap: 1.5rem; padding: 1.75rem; }
    .package-status .status-pill { grid-column: auto; }

    .contact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .contact-card { min-height: 15.5rem; }
    .location-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 4rem; }
    .locate-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3.25rem; align-items: center; }
    .map-frame { aspect-ratio: 16 / 11; }

    .appointment-layout { grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .55fr); gap: 2rem; }
    .appointment-sidebar { position: sticky; top: 6rem; }
    .appointment-form-wrap { padding: 2rem; }

    .pre-footer__inner { grid-template-columns: 1fr auto; padding-block: 2.75rem; }
    .footer-grid { grid-template-columns: 1.6fr .7fr .7fr .9fr; gap: 2rem; padding-block: 3rem; }
    .footer-brand { grid-column: auto; }
}

@media (min-width: 80rem) {
    .nav-list a { padding-inline: .8rem; }
    .nav-list a::after { right: .8rem; left: .8rem; }
}

/* ---------- Motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
    .site-header, .pre-footer, .site-footer, .mobile-actions, .hero__foot,
    .site-dialog, .noscript-notice, .button { display: none !important; }
    body { padding-bottom: 0; color: #000; background: #fff; }
    .hero { height: auto; }
    .section { padding-block: 1.25rem; }
    .brand-name, .brand-mark { color: #000; }
    a { color: inherit; text-decoration: none; }
}
