/* ==========================================================================
   Sunlife Hospital - shared design system
   Bright & modern healthcare. Teal + warm "sun" amber + health-green.
   Distinctive type: Fraunces (display serif) + Plus Jakarta Sans (UI sans).
   OKLCH tokens only. No Inter / Roboto / system-ui.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  /* --- surfaces --- */
  --bg:        oklch(0.992 0.006 95);    /* warm near-white page */
  --bg-tint:   oklch(0.972 0.014 210);   /* faint teal mist section */
  --bg-warm:   oklch(0.975 0.020 80);    /* faint sun-warm section */
  --surface:   oklch(1 0 0);             /* cards */
  --surface-2: oklch(0.985 0.008 210);

  /* --- ink --- */
  --ink:       oklch(0.29 0.035 232);    /* primary text, deep slate-teal */
  --ink-soft:  oklch(0.47 0.028 232);    /* secondary text */
  --ink-faint: oklch(0.60 0.020 232);    /* tertiary */
  --on-dark:   oklch(0.98 0.008 200);

  /* --- brand --- */
  --primary:        oklch(0.62 0.115 218);   /* fresh teal */
  --primary-strong: oklch(0.50 0.105 222);   /* deep teal */
  --primary-tint:   oklch(0.93 0.035 210);   /* teal wash */
  --sun:            oklch(0.80 0.155 67);    /* brand sun amber */
  --sun-strong:     oklch(0.72 0.150 55);    /* deeper amber */
  --sun-tint:       oklch(0.95 0.045 78);
  --emerald:        oklch(0.68 0.140 160);   /* health / verified */
  --emerald-tint:   oklch(0.94 0.045 160);
  --star:           oklch(0.80 0.150 78);    /* rating gold */

  --border:    oklch(0.90 0.012 220);
  --border-2:  oklch(0.85 0.018 220);
  --ring:      oklch(0.62 0.115 218 / 0.45);

  /* --- type --- */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, sans-serif;

  /* --- shape & depth --- */
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 34px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px oklch(0.4 0.04 232 / 0.06), 0 2px 6px oklch(0.4 0.04 232 / 0.05);
  --shadow:    0 6px 18px oklch(0.4 0.04 232 / 0.08), 0 2px 6px oklch(0.4 0.04 232 / 0.05);
  --shadow-lg: 0 24px 60px oklch(0.4 0.05 232 / 0.16), 0 8px 20px oklch(0.4 0.04 232 / 0.08);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; overflow-x:clip; }
body{
  margin:0; font-family:var(--sans); color:var(--ink);
  background:var(--bg); line-height:1.65; font-size:17px;
  font-weight:400; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:clip; width:100%; max-width:100%;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ font-family:var(--display); font-weight:600; line-height:1.08; margin:0;
  letter-spacing:-0.015em; color:var(--ink); }
p{ margin:0; }
::selection{ background:var(--sun-tint); color:var(--ink); }

/* focus visibility for keyboard nav */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible{
  outline:3px solid var(--ring); outline-offset:2px; border-radius:6px;
}

/* ---------- layout helpers ---------- */
.wrap{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(20px,5vw,40px); }
.section{ padding-block:clamp(64px,9vw,118px); }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--sans);
  font-weight:700; font-size:0.74rem; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--primary-strong);
}
.eyebrow::before{ content:""; width:22px; height:2px; background:var(--sun-strong); border-radius:2px; }
.section-head{ max-width:680px; }
.section-head h2{ font-size:clamp(2rem,4.4vw,3.1rem); margin-top:14px; }
.section-head p{ color:var(--ink-soft); font-size:1.08rem; margin-top:16px; }
.lead{ font-size:1.15rem; color:var(--ink-soft); }
.center{ text-align:center; margin-inline:auto; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--sans); font-weight:700; font-size:0.98rem; cursor:pointer;
  padding:14px 26px; border-radius:var(--r-pill); border:1.5px solid transparent;
  transition:transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  line-height:1; white-space:nowrap;
}
.btn svg{ width:18px; height:18px; }
.btn-primary{ background:var(--primary-strong); color:var(--on-dark); box-shadow:var(--shadow); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:var(--shadow-lg); background:var(--primary); }
.btn-sun{ background:var(--sun); color:oklch(0.30 0.06 60); box-shadow:0 8px 22px oklch(0.72 0.15 60 / 0.32); }
.btn-sun:hover{ transform:translateY(-2px); background:var(--sun-strong); color:var(--on-dark); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--border-2); }
.btn-ghost:hover{ border-color:var(--primary); color:var(--primary-strong); background:var(--surface-2); }
.btn-lg{ padding:17px 32px; font-size:1.04rem; }

/* ---------- top bar / header ---------- */
.topbar{ background:var(--primary-strong); color:var(--on-dark); font-size:0.84rem; }
.topbar .wrap{ display:flex; gap:18px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  padding-block:8px; }
.topbar a{ display:inline-flex; align-items:center; gap:7px; color:var(--on-dark); opacity:.92; font-weight:500; }
.topbar a:hover{ opacity:1; }
.topbar svg{ width:15px; height:15px; }
.topbar .tb-group{ display:flex; gap:20px; flex-wrap:wrap; align-items:center; }

header.site{ position:sticky; top:0; z-index:60; background:oklch(1 0 0 / 0.82);
  backdrop-filter:blur(14px); border-bottom:1px solid var(--border);
  transition:box-shadow .3s; }
header.site.scrolled{ box-shadow:var(--shadow); }
.nav{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:14px; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand .mark{ width:42px; height:42px; flex:none; }
.brand b{ font-family:var(--display); font-size:1.32rem; font-weight:600; letter-spacing:-0.02em;
  line-height:1; display:block; }
.brand span{ font-size:0.72rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink-faint);
  font-weight:600; }
.brand-logo{ height:46px; width:auto; display:block; }
.footer-logo{ height:76px; width:auto; display:block; margin-bottom:4px; }
@media(max-width:600px){ .brand-logo{ height:38px; } .footer-logo{ height:64px; } }
.nav-links{ display:flex; align-items:center; gap:4px; }
.nav-links a{ font-weight:600; font-size:0.92rem; color:var(--ink-soft); padding:8px 11px; border-radius:var(--r-pill);
  transition:color .2s, background .2s; white-space:nowrap; }
.nav-links a:hover{ color:var(--primary-strong); background:var(--surface-2); }
.nav-links a.active{ color:var(--primary-strong); background:var(--primary-tint); }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.menu-toggle{ display:none; background:none; border:1.5px solid var(--border-2); border-radius:12px;
  width:46px; height:46px; cursor:pointer; align-items:center; justify-content:center; color:var(--ink); }
.menu-toggle svg{ width:24px; height:24px; }

/* mobile drawer */
.mobile-nav{ display:none; }

/* ---------- pills / chips ---------- */
.chip{ display:inline-flex; align-items:center; gap:7px; padding:7px 14px; border-radius:var(--r-pill);
  font-size:0.85rem; font-weight:600; background:var(--surface-2); border:1px solid var(--border);
  color:var(--ink-soft); }
.chip svg{ width:15px; height:15px; }
.chip-emerald{ background:var(--emerald-tint); border-color:transparent; color:oklch(0.40 0.10 160); }
.chip-sun{ background:var(--sun-tint); border-color:transparent; color:oklch(0.42 0.10 60); }
.chip-teal{ background:var(--primary-tint); border-color:transparent; color:var(--primary-strong); }

/* ---------- cards ---------- */
.card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:30px; box-shadow:var(--shadow-sm); transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); border-color:var(--primary-tint); }

/* ---------- stars ---------- */
.stars{ display:inline-flex; gap:2px; color:var(--star); }
.stars svg{ width:18px; height:18px; }

/* ---------- footer ---------- */
footer.site{ background:var(--primary-strong); color:var(--on-dark); padding-block:64px 28px; margin-top:0; }
footer.site a{ color:var(--on-dark); opacity:.85; }
footer.site a:hover{ opacity:1; color:var(--sun-tint); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; }
.footer-grid h4{ color:var(--on-dark); font-family:var(--sans); font-size:0.8rem; letter-spacing:0.14em;
  text-transform:uppercase; font-weight:700; margin-bottom:18px; opacity:.7; }
.footer-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:11px; font-size:0.96rem; }
.footer-brand b{ font-family:var(--display); font-size:1.5rem; font-weight:600; }
.footer-brand p{ opacity:.8; margin-top:14px; max-width:30ch; font-size:0.95rem; line-height:1.6; }
.footer-bottom{ border-top:1px solid oklch(1 0 0 / 0.16); margin-top:48px; padding-top:24px;
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:0.86rem; opacity:.75; }

/* ---------- generic grids ---------- */
.grid{ display:grid; gap:24px; }
.g-2{ grid-template-columns:repeat(2,1fr); }
.g-3{ grid-template-columns:repeat(3,1fr); }
.g-4{ grid-template-columns:repeat(4,1fr); }

/* ---------- page hero (inner pages) ---------- */
.page-hero{ position:relative; overflow:hidden; padding-block:clamp(72px,11vw,130px) clamp(48px,7vw,80px);
  background:
    radial-gradient(120% 120% at 88% -10%, var(--sun-tint) 0%, transparent 46%),
    radial-gradient(120% 120% at 0% 110%, var(--primary-tint) 0%, transparent 50%),
    var(--bg); }
.page-hero h1{ font-size:clamp(2.4rem,5.5vw,3.9rem); max-width:16ch; }
.page-hero p{ font-size:1.15rem; color:var(--ink-soft); max-width:60ch; margin-top:18px; }
.breadcrumb{ font-size:0.88rem; color:var(--ink-faint); font-weight:600; margin-bottom:18px;
  display:flex; gap:8px; align-items:center; }
.breadcrumb a:hover{ color:var(--primary-strong); }

/* utility */
.muted{ color:var(--ink-soft); }
.tcent{ text-align:center; }
.mt-s{ margin-top:14px; } .mt-m{ margin-top:26px; } .mt-l{ margin-top:44px; }
.hide-desktop{ display:none; }

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .g-4{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 860px){
  .nav-links, .nav-cta .btn{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .hide-desktop{ display:block; }
  .g-3{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px){
  body{ font-size:16px; }
  .g-2,.g-3,.g-4{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .topbar .tb-group:first-child{ display:none; }
  .section{ padding-block:56px; }
}

/* ==========================================================================
   COMPONENTS - hero, stats, reviews, doctors, schemes, cta, forms
   ========================================================================== */

.grad{ background:linear-gradient(95deg, var(--primary-strong), var(--sun-strong));
  -webkit-background-clip:text; background-clip:text; color:transparent; }

/* mobile drawer */
.mobile-nav.open{ display:flex; }
.mobile-nav{ flex-direction:column; gap:4px; padding:14px clamp(20px,5vw,40px) 22px;
  border-top:1px solid var(--border); background:var(--surface); }
.mobile-nav a{ font-weight:600; padding:12px 8px; border-radius:10px; color:var(--ink); }
.mobile-nav a:hover{ background:var(--surface-2); color:var(--primary-strong); }

/* ---------- HERO ---------- */
.hero{ position:relative; overflow:hidden; padding-block:clamp(48px,7vw,88px) clamp(56px,8vw,104px);
  background:
    radial-gradient(130% 120% at 92% -20%, var(--sun-tint) 0%, transparent 45%),
    radial-gradient(120% 130% at -10% 120%, var(--primary-tint) 0%, transparent 48%),
    var(--bg); }
.hero-rays{ position:absolute; inset:0; pointer-events:none; opacity:.5;
  background-image:
    repeating-conic-gradient(from 0deg at 92% -2%, oklch(0.82 0.155 67 / 0.07) 0deg 6deg, transparent 6deg 14deg);
  mask-image:radial-gradient(60% 60% at 92% 0%, #000, transparent 70%); }
.hero-grid{ position:relative; display:grid; grid-template-columns:1.08fr 0.92fr; gap:clamp(32px,5vw,72px); align-items:center; }
@media (min-width:981px){ .hero-grid{ align-items:start; } .hero-media{ margin-top:6px; } }
.hero-copy h1{ font-size:clamp(2.6rem,5.6vw,4.3rem); margin-top:22px; line-height:1.04; }
.hero-copy h1.hero-quote{ font-size:clamp(1.95rem,4.1vw,3.25rem); line-height:1.16; letter-spacing:-0.012em; }
.hero-attrib{ margin-top:16px; font-weight:600; color:var(--ink-soft); font-size:1rem; }
.hero-attrib .verified{ color:var(--emerald); font-weight:700; }
.hero-copy .lead{ margin-top:22px; max-width:54ch; }
.hero-actions{ display:flex; gap:14px; flex-wrap:wrap; margin-top:32px; }
.hero-proof{ display:flex; align-items:center; gap:22px; margin-top:34px; flex-wrap:wrap; }
.proof-item{ display:flex; align-items:center; gap:12px; }
.proof-item .stars svg{ width:20px; height:20px; }
.proof-item b{ font-family:var(--display); font-size:1.35rem; }
.proof-item small{ color:var(--ink-faint); font-size:0.82rem; }
.proof-item div{ line-height:1.25; font-size:0.92rem; }
.proof-divider{ width:1px; height:34px; background:var(--border-2); }

/* hero media - real doctor photo collage + glass proof badge */
.hero-media{ position:relative; }
.hm-blob{ position:absolute; inset:-8% -6% -10% -6%; z-index:0; border-radius:50%;
  background:
    radial-gradient(closest-side, oklch(0.80 0.155 67 / 0.40), transparent 70%),
    radial-gradient(closest-side, oklch(0.62 0.115 218 / 0.34), transparent 72%);
  background-position:18% 14%, 86% 86%; background-size:62% 62%, 66% 66%; background-repeat:no-repeat;
  filter:blur(8px); }
.hm-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.hm-ph{ margin:0; border-radius:var(--r-lg); overflow:hidden; box-shadow:var(--shadow-lg);
  aspect-ratio:4/5; background:var(--surface-2); border:3px solid var(--surface); position:relative; }
.hm-ph::after{ content:""; position:absolute; inset:0; box-shadow:inset 0 -60px 50px -40px oklch(0.25 0.04 232 / 0.35); }
.hm-ph img{ width:100%; height:100%; object-fit:cover; object-position:center 28%;
  transition:transform .6s var(--ease); }
.hm-ph:hover img{ transform:scale(1.05); }
.hm-grid > figure:nth-child(even){ transform:translateY(30px); }
.hm-badge{ position:relative; z-index:2; width:max-content; max-width:100%; margin:-26px auto 0;
  display:flex; align-items:center; gap:14px; padding:14px 20px; border-radius:var(--r-pill);
  background:oklch(1 0 0 / 0.86); backdrop-filter:blur(12px); border:1px solid var(--border);
  box-shadow:var(--shadow-lg); }
.hm-badge .stars svg{ width:18px; height:18px; }
.hm-badge-txt{ font-size:0.92rem; color:var(--ink-soft); line-height:1.3; }
.hm-badge-txt b{ font-family:var(--display); color:var(--ink); font-size:1.05rem; }
.hm-badge-txt span{ display:block; font-size:0.78rem; color:var(--ink-faint); }

/* hero image frame (the hospital building) */
.hm-frame{ position:relative; z-index:1; border-radius:var(--r-xl); overflow:hidden;
  box-shadow:var(--shadow-lg); aspect-ratio:4/5; background:var(--surface-2); }
.hm-frame img{ width:100%; height:100%; object-fit:cover; }
.hm-frame::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(to top, oklch(0.22 0.05 232 / 0.78) 0%, transparent 42%); }
.hm-cap{ position:absolute; left:22px; bottom:20px; z-index:2; color:#fff; }
.hm-cap b{ font-family:var(--display); font-size:1.3rem; font-weight:600; display:block; }
.hm-cap span{ font-size:0.86rem; opacity:.9; }
.hm-nabh{ position:absolute; top:16px; left:16px; z-index:2; display:inline-flex; align-items:center; gap:7px;
  padding:8px 14px; border-radius:var(--r-pill); font-size:0.8rem; font-weight:700;
  background:var(--emerald-tint); color:oklch(0.36 0.10 160); box-shadow:var(--shadow); }
.hm-nabh svg{ width:15px; height:15px; }
.hm-google{ position:absolute; right:-14px; top:30%; z-index:3; display:flex; align-items:center; gap:12px;
  background:oklch(1 0 0 / 0.95); backdrop-filter:blur(10px); border:1px solid var(--border);
  border-radius:var(--r); padding:12px 16px; box-shadow:var(--shadow-lg); max-width:62%; }
.hm-google .g-logo{ width:30px; height:30px; flex:none; }
.hm-google b{ font-family:var(--display); font-size:1.25rem; line-height:1; }
.hm-google .stars svg{ width:13px; height:13px; }
.hm-google small{ display:block; color:var(--ink-faint); font-size:0.74rem; }

/* specialities marquee */
.marquee{ background:var(--surface); border-block:1px solid var(--border); overflow:hidden; padding:18px 0; }
.marquee-track{ display:flex; gap:0; width:max-content; animation:scrollx 34s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state:paused; }
.marquee-item{ display:inline-flex; align-items:center; gap:12px; padding-inline:30px; white-space:nowrap;
  font-family:var(--display); font-size:1.18rem; font-weight:600; color:var(--ink); }
.marquee-item svg{ width:18px; height:18px; color:var(--sun-strong); }
@keyframes scrollx{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- IMAGE SPECIALITY CARDS (Centres of Excellence) ---------- */
.exc-card{ position:relative; border-radius:var(--r-lg); overflow:hidden; background:var(--surface);
  box-shadow:var(--shadow); border:1px solid var(--border); display:flex; flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.exc-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.exc-media{ position:relative; aspect-ratio:16/11; overflow:hidden; }
.exc-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.exc-card:hover .exc-media img{ transform:scale(1.06); }
.exc-media::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(to top, oklch(0.22 0.05 232 / 0.55), transparent 55%); }
.exc-tag{ position:absolute; top:14px; left:14px; z-index:2; }
.exc-body{ padding:22px 24px 26px; flex:1; display:flex; flex-direction:column; }
.exc-body h3{ font-size:1.25rem; }
.exc-body p{ color:var(--ink-soft); font-size:0.95rem; margin-top:9px; line-height:1.55; flex:1; }
.exc-link{ margin-top:16px; display:inline-flex; align-items:center; gap:8px; font-weight:700;
  font-size:0.92rem; color:var(--primary-strong); }
.exc-link svg{ width:16px; height:16px; transition:transform .2s var(--ease); }
.exc-card:hover .exc-link svg{ transform:translateX(4px); }

/* ---------- FULL-BLEED IMAGE BAND ---------- */
.band{ position:relative; overflow:hidden; color:var(--on-dark); }
.band-bg{ position:absolute; inset:0; z-index:0; }
.band-bg img{ width:100%; height:100%; object-fit:cover; }
.band-bg::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(105deg, oklch(0.32 0.07 232 / 0.94) 0%, oklch(0.30 0.07 232 / 0.80) 48%, oklch(0.28 0.06 232 / 0.55) 100%); }
.band .wrap{ position:relative; z-index:1; }
.band h2{ color:var(--on-dark); }
.band .lead{ color:oklch(0.93 0.02 200); }
.band-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; }
.band-points{ list-style:none; margin:24px 0 0; padding:0; display:grid; gap:14px; }
.band-points li{ display:flex; gap:13px; align-items:flex-start; font-size:1rem; color:oklch(0.95 0.015 200); }
.band-points svg{ width:24px; height:24px; flex:none; color:var(--sun); margin-top:1px; }
.band-stats{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.band-stat{ background:oklch(1 0 0 / 0.10); border:1px solid oklch(1 0 0 / 0.20); border-radius:var(--r-lg);
  padding:24px; backdrop-filter:blur(6px); }
.band-stat b{ font-family:var(--display); font-size:2.4rem; font-weight:700; color:var(--sun-tint); display:block; line-height:1; }
.band-stat span{ font-size:0.9rem; opacity:.88; display:block; margin-top:8px; }

/* ---------- VISIT / BUILDING SECTION ---------- */
.visit-grid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,4vw,60px); align-items:center; }
.visit-img{ border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:5/4; }
.visit-img img{ width:100%; height:100%; object-fit:cover; }

/* ---------- GALLERY ---------- */
.gallery-grid{ columns:3; column-gap:16px; }
.gallery-grid figure{ break-inside:avoid; margin:0 0 16px; border-radius:var(--r); overflow:hidden;
  box-shadow:var(--shadow-sm); position:relative; }
.gallery-grid img{ width:100%; display:block; transition:transform .5s var(--ease); }
.gallery-grid figure:hover img{ transform:scale(1.05); }
.gallery-grid figcaption{ position:absolute; inset:auto 0 0 0; padding:16px 14px 12px; color:#fff;
  font-size:0.85rem; font-weight:600; background:linear-gradient(to top, oklch(0.22 0.04 232 / 0.85), transparent); }

/* ---------- BLOG CARDS ---------- */
.blog-card{ border-radius:var(--r-lg); overflow:hidden; background:var(--surface); border:1px solid var(--border);
  box-shadow:var(--shadow-sm); display:flex; flex-direction:column; transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.blog-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.blog-media{ aspect-ratio:16/10; overflow:hidden; }
.blog-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.blog-card:hover .blog-media img{ transform:scale(1.05); }
.blog-body{ padding:24px; flex:1; display:flex; flex-direction:column; }
.blog-body .chip{ margin-bottom:12px; align-self:flex-start; }
.blog-body h3{ font-size:1.22rem; line-height:1.25; }
.blog-body p{ color:var(--ink-soft); font-size:0.94rem; margin-top:10px; flex:1; }
.blog-body .exc-link{ margin-top:16px; }

/* ---------- PACKAGES (upgraded) ---------- */
.pkg-feature{ background:linear-gradient(150deg, var(--primary-strong), oklch(0.40 0.095 235)); color:var(--on-dark);
  border:none; }
.pkg-feature h4, .pkg-feature .pkg-price{ color:var(--on-dark); }
.pkg-feature .pkg-price{ color:var(--sun-tint); }
.pkg-feature p{ color:oklch(0.92 0.02 200); }

@media (max-width: 860px){
  .gallery-grid{ columns:2; }
  .band-grid, .visit-grid{ grid-template-columns:1fr; gap:32px; }
}
@media (max-width: 600px){
  .gallery-grid{ columns:auto; display:flex; flex-direction:column; gap:14px; }
  .gallery-grid figure{ margin:0; }
  .band-stats{ grid-template-columns:1fr 1fr; }
}

/* ---------- STATS STRIP ---------- */
.stats-strip{ background:var(--primary-strong); color:var(--on-dark); }
.stats-row{ list-style:none; margin:0; padding:38px 0; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.stats-row li{ text-align:center; padding-inline:14px; border-right:1px solid oklch(1 0 0 / 0.14); }
.stats-row li:last-child{ border-right:none; }
.stats-row .num{ display:block; font-family:var(--display); font-weight:700; font-size:2.5rem; line-height:1;
  color:var(--sun-tint); }
.stats-row .lbl{ display:block; margin-top:10px; font-size:0.9rem; opacity:.85; line-height:1.4; }

/* ---------- SPECIALITIES ---------- */
.spec-ic{ display:inline-grid; place-content:center; width:56px; height:56px; border-radius:16px;
  background:var(--c); color:var(--ck); margin-bottom:18px; }
.spec-ic svg{ width:28px; height:28px; }
.spec h3{ font-size:1.32rem; }
.spec p{ color:var(--ink-soft); margin-top:10px; font-size:0.98rem; }
.spec .chip{ margin-top:16px; }

/* ---------- REVIEWS ---------- */
.reviews{ background:
  radial-gradient(100% 80% at 50% -10%, var(--sun-tint) 0%, transparent 40%),
  var(--bg-tint); }
.agg-row{ display:grid; grid-template-columns:1fr 1fr 1.5fr; gap:22px; }
.agg-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:28px; box-shadow:var(--shadow-sm); }
.agg-brand{ display:flex; align-items:center; gap:10px; font-weight:700; color:var(--ink-soft); font-size:0.95rem; }
.practo-dot{ width:24px; height:24px; border-radius:7px; background:oklch(0.55 0.13 250); color:#fff;
  display:grid; place-content:center; font-weight:800; font-size:0.95rem; }
.agg-score{ font-family:var(--display); font-weight:700; font-size:3rem; line-height:1; margin:14px 0 6px; }
.agg-score span{ font-size:1.1rem; color:var(--ink-faint); }
.agg-card p{ color:var(--ink-soft); font-size:0.95rem; margin-top:10px; }
.agg-card .stars svg{ width:20px; height:20px; }
.agg-feature{ background:linear-gradient(150deg, var(--primary-strong), oklch(0.42 0.10 230)); color:var(--on-dark);
  border:none; display:flex; flex-direction:column; justify-content:center; }
.agg-feature .agg-kicker{ text-transform:uppercase; letter-spacing:0.14em; font-size:0.74rem; font-weight:700;
  color:var(--sun-tint); margin:0; }
.agg-big{ font-family:var(--display); font-weight:700; font-size:4.2rem; line-height:1; margin:8px 0 10px; color:var(--sun-tint); }
.agg-feature p{ color:oklch(0.94 0.02 200); font-size:1.02rem; }
.agg-feature b{ color:#fff; }

.cluster-title{ font-size:1.6rem; margin-top:64px; margin-bottom:24px; }
.cluster-grid{ align-items:stretch; }
.cluster{ display:flex; flex-direction:column; position:relative; }
.cl-ic{ display:inline-grid; place-content:center; width:50px; height:50px; border-radius:14px;
  background:var(--c); color:var(--ck); margin-bottom:16px; }
.cl-ic svg{ width:25px; height:25px; }
.cl-tag{ position:absolute; top:22px; right:22px; font-size:0.74rem; font-weight:700; color:var(--ck);
  text-transform:uppercase; letter-spacing:0.04em; }
.cluster h4{ font-size:1.18rem; }
.cluster p{ color:var(--ink-soft); font-size:0.95rem; margin-top:10px; line-height:1.55; }

.quote-grid{ columns:3; column-gap:22px; }
.quote{ break-inside:avoid; margin-bottom:22px; display:inline-block; width:100%; }
.q-stars svg{ width:16px; height:16px; }
.quote blockquote{ margin:14px 0 18px; font-size:1.02rem; line-height:1.6; color:var(--ink); }
.quote figcaption{ display:flex; flex-direction:column; gap:3px; border-top:1px solid var(--border); padding-top:14px; }
.q-name{ font-weight:700; }
.q-meta{ font-size:0.84rem; color:var(--ink-faint); }
.verified{ color:var(--emerald); font-weight:600; }
.reviews-note{ text-align:center; color:var(--ink-faint); font-size:0.88rem; margin-top:40px; max-width:60ch;
  margin-inline:auto; }

/* ---------- DOCTORS ---------- */
.doc{ text-align:center; }
.doc-av{ width:74px; height:74px; border-radius:50%; margin:0 auto 16px; display:grid; place-content:center;
  background:var(--c); font-family:var(--display); font-weight:700; font-size:1.5rem; color:var(--primary-strong); }
/* round photo (homepage star doctors) */
.doc-photo{ width:104px; height:104px; border-radius:50%; margin:0 auto 18px; overflow:hidden;
  border:3px solid var(--surface); box-shadow:0 0 0 3px var(--primary-tint), var(--shadow); background:var(--surface-2); }
.doc-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 25%; }
.doc h3{ font-size:1.18rem; }
.doc-role{ color:var(--ink-soft); font-size:0.92rem; margin-top:6px; font-weight:600; }
.doc-cred{ color:var(--ink-faint); font-size:0.84rem; margin-top:4px; }
.doc-rate{ margin-top:16px; padding-top:14px; border-top:1px solid var(--border); font-size:0.9rem; color:var(--ink-soft); }
.dr-pct{ font-family:var(--display); font-weight:700; font-size:1.5rem; color:var(--emerald); }
.doc-rate small{ color:var(--ink-faint); }

/* ---------- SCHEMES ---------- */
.schemes{ background:linear-gradient(135deg, var(--primary-strong), oklch(0.40 0.095 235)); }
.schemes-inner{ display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; }
.scheme-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.scheme-list li{ background:oklch(1 0 0 / 0.10); border:1px solid oklch(1 0 0 / 0.18); border-radius:var(--r);
  padding:16px 18px; color:var(--on-dark); font-weight:600; font-size:0.98rem; backdrop-filter:blur(4px); }

/* ---------- CTA / BOOK ---------- */
.cta-final{ background:var(--bg-warm); }
.cta-grid{ display:grid; grid-template-columns:1fr 0.92fr; gap:clamp(36px,5vw,72px); align-items:center; }
.contact-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:18px; }
.contact-list li{ display:flex; gap:14px; align-items:flex-start; color:var(--ink-soft); font-size:0.98rem; }
.contact-list svg{ width:22px; height:22px; flex:none; color:var(--primary-strong); margin-top:2px; }
.contact-list b{ color:var(--ink); }
.contact-list a{ color:var(--primary-strong); font-weight:600; }
.book-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl); padding:32px;
  box-shadow:var(--shadow-lg); }
.book-card h3{ font-size:1.45rem; }
.field{ margin-top:16px; display:flex; flex-direction:column; gap:7px; }
.field label{ font-size:0.85rem; font-weight:600; color:var(--ink-soft); }
.field input, .field select{ font-family:var(--sans); font-size:1rem; padding:13px 15px; border-radius:12px;
  border:1.5px solid var(--border-2); background:var(--surface-2); color:var(--ink); width:100%; }
.field input:focus, .field select:focus{ border-color:var(--primary); background:var(--surface); outline:none; }

/* ---------- responsive (components) ---------- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-media{ max-width:480px; margin-top:8px; }
  .agg-row{ grid-template-columns:1fr 1fr; }
  .agg-feature{ grid-column:1 / -1; }
  .quote-grid{ columns:2; }
  .schemes-inner, .cta-grid{ grid-template-columns:1fr; }
  .stats-row{ grid-template-columns:1fr 1fr; gap:30px 12px; }
  .stats-row li:nth-child(2){ border-right:none; }
}
@media (max-width: 600px){
  .quote-grid{ columns:auto; display:flex; flex-direction:column; gap:18px; }
  .quote{ display:block; width:100%; margin:0; }
  .stats-row li{ border-right:none; border-bottom:1px solid oklch(1 0 0 / 0.14); padding-bottom:22px; }
  .stats-row li:last-child{ border-bottom:none; }
  .scheme-list{ grid-template-columns:1fr; }
  .marquee-item{ font-size:1.02rem; padding-inline:20px; }
}

/* ==========================================================================
   INNER PAGES - about, services, doctors, contact
   ========================================================================== */

/* ABOUT */
.about-split{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(36px,5vw,68px); align-items:center; }
.about-split h2{ font-size:clamp(1.8rem,3.6vw,2.6rem); }
.about-split em{ color:var(--primary-strong); font-style:normal; font-family:var(--display); }
.about-quote{ margin-top:30px; padding:24px 26px; border-radius:var(--r-lg); background:var(--sun-tint);
  position:relative; }
.about-quote svg{ width:30px; height:30px; color:var(--sun-strong); opacity:.7; }
.about-quote p{ font-family:var(--display); font-size:1.4rem; line-height:1.3; margin-top:8px; color:var(--ink); }
.about-quote span{ display:block; margin-top:10px; font-size:0.85rem; color:oklch(0.42 0.10 60); font-weight:600; }
.about-stats{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.as-card{ padding:26px; }
.as-num{ display:block; font-family:var(--display); font-weight:700; font-size:2.6rem; line-height:1; color:var(--primary-strong); }
.as-num small{ font-size:1.4rem; color:var(--sun-strong); }
.as-num small svg{ width:1.5rem; height:1.5rem; color:var(--star); display:inline-block; vertical-align:-2px; }
.as-lbl{ display:block; margin-top:10px; color:var(--ink-soft); font-size:0.92rem; line-height:1.45; }
.mv{ padding:34px; }
.mv h3{ font-size:1.5rem; }
.val h4{ font-size:1.12rem; }
.val p{ font-size:0.93rem; margin-top:8px; }

/* accreditation strip (about) */
.accred{ background:linear-gradient(135deg, var(--primary-strong), oklch(0.40 0.095 235)); }
.accred-inner{ display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; }
.accred-list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.accred-list li{ background:oklch(1 0 0 / 0.10); border:1px solid oklch(1 0 0 / 0.18); border-radius:var(--r);
  padding:20px; color:var(--on-dark); backdrop-filter:blur(4px); }
.accred-list b{ display:block; font-family:var(--display); font-size:1.6rem; }
.accred-list span{ font-size:0.85rem; opacity:.8; }

/* cta band (shared inner) */
.cta-band{ background:
  radial-gradient(90% 100% at 50% 0%, var(--sun-tint) 0%, transparent 45%), var(--bg-tint); }

/* SERVICES - facilities */
.fac{ text-align:left; }
.fac svg{ width:34px; height:34px; color:var(--primary-strong); margin-bottom:12px; }
.fac h4{ font-size:1.1rem; }
.fac p{ color:var(--ink-soft); font-size:0.9rem; margin-top:6px; }
.proc-chips{ display:flex; flex-wrap:wrap; gap:12px; }
.proc-chips .chip{ font-size:0.95rem; padding:11px 18px; }
.pkg{ padding:26px; }
.pkg h4{ font-size:1.05rem; min-height:2.6em; }
.pkg-price{ font-family:var(--display); font-weight:700; font-size:2rem; color:var(--primary-strong); margin:8px 0; }
.pkg p{ font-size:0.88rem; }

/* DOCTORS full grid */
.doc2{ text-align:left; display:flex; flex-direction:column; }
.doc2-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.doc2 .doc-av{ margin:0; }
.doc2-photo{ width:84px; height:84px; border-radius:18px; overflow:hidden; flex:none;
  border:2px solid var(--surface); box-shadow:0 0 0 2px var(--border); background:var(--surface-2); }
.doc2-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 22%; }
.rec-badge{ background:var(--emerald-tint); color:oklch(0.38 0.10 160); border-radius:var(--r-pill);
  padding:8px 16px; font-family:var(--display); font-weight:700; font-size:1.25rem; line-height:1; text-align:center; }
.rec-badge small{ display:block; font-family:var(--sans); font-size:0.62rem; font-weight:700; letter-spacing:0.08em;
  text-transform:uppercase; opacity:.8; margin-top:2px; }
.doc2 h3{ font-size:1.18rem; }
.doc2 .doc-role{ margin-top:6px; }
.doc-meta{ list-style:none; margin:16px 0 0; padding:14px 0 0; border-top:1px solid var(--border);
  display:flex; flex-direction:column; gap:8px; font-size:0.9rem; color:var(--ink-soft); }
.doc-meta li{ display:flex; align-items:center; gap:9px; }
.doc-meta li::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--sun); flex:none; }

/* CONTACT */
.contact-card{ display:flex; flex-direction:column; align-items:flex-start; }
.contact-card h3{ font-size:1.18rem; }
.contact-card .muted{ margin-top:6px; font-size:1.02rem; color:var(--ink); font-weight:600; }
.cc-link{ margin-top:14px; color:var(--primary-strong); font-weight:700; font-size:0.92rem; }
.contact-split{ display:grid; grid-template-columns:0.95fr 1.05fr; gap:clamp(32px,4vw,56px); align-items:start; }
.contact-split .book-card textarea{ font-family:var(--sans); font-size:1rem; padding:13px 15px; border-radius:12px;
  border:1.5px solid var(--border-2); background:var(--surface-2); color:var(--ink); width:100%; resize:vertical; }
.contact-split .book-card textarea:focus{ border-color:var(--primary); background:var(--surface); outline:none; }
.map-wrap{ border-radius:var(--r-lg); overflow:hidden; border:1px solid var(--border); box-shadow:var(--shadow);
  aspect-ratio:16/10; }
.map-wrap iframe{ width:100%; height:100%; border:0; display:block; }
.info-list{ list-style:none; margin:24px 0; padding:0; display:flex; flex-direction:column; gap:18px; }
.info-list li{ display:flex; gap:14px; align-items:flex-start; color:var(--ink-soft); font-size:0.96rem; line-height:1.5; }
.info-list svg{ width:22px; height:22px; flex:none; color:var(--primary-strong); margin-top:2px; }
.info-list b{ color:var(--ink); }

@media (max-width: 980px){
  .about-split, .about-stats, .accred-inner, .contact-split{ grid-template-columns:1fr; }
  .about-stats{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 600px){
  .accred-list, .about-stats{ grid-template-columns:1fr; }
}

/* ==========================================================================
   SCROLL ANIMATION STATES  (only active once JS adds .anim-ready, and only
   when the user has no reduced-motion preference)
   ========================================================================== */
.scroll-progress{ position:fixed; top:0; left:0; height:4px; width:0%;
  background:linear-gradient(90deg, var(--sun-strong), var(--primary), var(--emerald));
  z-index:200; pointer-events:none; box-shadow:0 0 12px oklch(0.62 0.115 218 / 0.5); }

@media (prefers-reduced-motion: no-preference){
  /* bigger, more noticeable reveals (driven by JS .in-view) */
  html.anim-ready [data-anim]{ opacity:0; transform:translateY(64px);
    transition:opacity .8s var(--ease), transform .8s var(--ease); will-change:opacity, transform; }
  html.anim-ready [data-anim="left"]{ transform:translateX(-80px); }
  html.anim-ready [data-anim="right"]{ transform:translateX(80px); }
  html.anim-ready [data-anim="scale"]{ transform:scale(0.82); }
  html.anim-ready [data-anim="blur"]{ filter:blur(16px); transform:translateY(40px);
    transition:opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease); }
  html.anim-ready [data-anim].in-view{ opacity:1; transform:none; filter:none; }

  html.anim-ready [data-stagger] > *{ opacity:0; transform:translateY(46px);
    transition:opacity .7s var(--ease), transform .7s var(--ease); will-change:opacity, transform; }
  html.anim-ready [data-stagger].in-view > *{ opacity:1; transform:none; }

  html.anim-ready [data-reveal]{ clip-path:inset(0 0 101% 0); transition:clip-path 1.1s var(--ease); }
  html.anim-ready [data-reveal].in-view{ clip-path:inset(0 0 0 0); }

  html.anim-ready [data-hero]{ opacity:0; transform:translateY(26px);
    transition:opacity .8s var(--ease), transform .8s var(--ease); }
  html.anim-ready [data-hero].in-view{ opacity:1; transform:none; }

  /* scroll-linked helpers set by JS (transform updated continuously on scroll) */
  [data-parallax], [data-zoom]{ will-change:transform; }
}

/* ==========================================================================
   STICKY SCROLLYTELLING  ("Your journey with us")
   ========================================================================== */
.scrolly{ display:grid; grid-template-columns:0.95fr 1.05fr; gap:clamp(32px,5vw,72px); align-items:start; }
.scrolly-sticky{ position:sticky; top:108px; }
.scrolly-figure{ position:relative; border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow-lg);
  aspect-ratio:4/5; }
.scrolly-figure img{ width:100%; height:118%; object-fit:cover; position:absolute; top:-9%; left:0; }
.scrolly-figure .sf-tag{ position:absolute; left:18px; bottom:18px; z-index:2; }
.scrolly-steps{ display:flex; flex-direction:column; gap:clamp(40px,9vh,96px); padding-block:6vh 8vh; }
.scrolly-step{ }
.scrolly-step .step-no{ display:inline-grid; place-content:center; width:54px; height:54px; border-radius:50%;
  background:var(--primary-strong); color:#fff; font-family:var(--display); font-weight:700; font-size:1.4rem;
  margin-bottom:18px; box-shadow:var(--shadow); }
.scrolly-step h3{ font-size:clamp(1.5rem,3vw,2.1rem); }
.scrolly-step p{ color:var(--ink-soft); font-size:1.08rem; margin-top:12px; max-width:42ch; }
@media (max-width: 860px){
  .scrolly{ grid-template-columns:1fr; }
  .scrolly-sticky{ position:relative; top:0; }
  .scrolly-figure{ aspect-ratio:16/10; }
  .scrolly-steps{ gap:36px; padding-block:24px 0; }
}

/* ==========================================================================
   DETAIL PAGES (speciality / facility)
   ========================================================================== */
.detail-hero{ position:relative; overflow:hidden; color:var(--on-dark);
  padding-block:clamp(96px,14vw,170px) clamp(60px,9vw,110px); }
.detail-hero-bg{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.detail-hero-bg img{ width:100%; height:118%; object-fit:cover; position:absolute; top:-9%; left:0; }
.detail-hero-bg::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(100deg, oklch(0.30 0.07 232 / 0.93) 0%, oklch(0.30 0.07 232 / 0.74) 55%, oklch(0.28 0.06 232 / 0.42) 100%); }
.detail-hero .wrap{ position:relative; z-index:1; }
.detail-hero .breadcrumb{ color:oklch(0.90 0.02 200); }
.detail-hero .breadcrumb a:hover{ color:#fff; }
.detail-hero h1{ color:var(--on-dark); font-size:clamp(2.3rem,5vw,3.6rem); max-width:18ch; }
.detail-hero p{ color:oklch(0.93 0.02 200); font-size:1.15rem; max-width:60ch; margin-top:16px; }
.detail-hero .chip{ background:oklch(1 0 0 / 0.16); color:#fff; border-color:transparent; margin-bottom:16px; }

.detail-split{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:clamp(34px,5vw,64px); align-items:center; }
.detail-figure{ border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:4/3; }
.detail-figure img{ width:100%; height:100%; object-fit:cover; }
.offer-list{ list-style:none; margin:22px 0 0; padding:0; display:grid; gap:13px; }
.offer-list li{ display:flex; gap:12px; align-items:flex-start; color:var(--ink-soft); font-size:1rem; }
.offer-list svg{ width:22px; height:22px; flex:none; color:var(--emerald); margin-top:2px; }

/* enriched detail media: image + drifting blob + floating badge + heartbeat line */
.detail-media{ position:relative; padding:18px; }
.detail-media .detail-figure{ position:relative; z-index:2; aspect-ratio:4/3; margin:0; }
.dm-blob{ position:absolute; z-index:0; width:78%; aspect-ratio:1; border-radius:50%; left:-9%; top:-9%;
  background:radial-gradient(closest-side, oklch(0.80 0.155 67 / 0.55), transparent 70%); filter:blur(14px); }
.dm-blob.two{ left:auto; right:-9%; top:auto; bottom:-9%; width:64%;
  background:radial-gradient(closest-side, oklch(0.62 0.115 218 / 0.45), transparent 70%); }
.dm-badge{ position:absolute; z-index:3; left:0; bottom:24px; display:inline-flex; align-items:center; gap:10px;
  background:oklch(1 0 0 / 0.94); backdrop-filter:blur(10px); border:1px solid var(--border); border-radius:var(--r-pill);
  padding:12px 18px; box-shadow:var(--shadow-lg); font-weight:700; font-size:0.9rem; color:var(--ink); }
.dm-badge svg{ width:20px; height:20px; color:var(--emerald); }
.dm-pulse{ position:absolute; z-index:3; right:18px; top:6px; width:120px; height:46px; pointer-events:none;
  background:oklch(1 0 0 / 0.9); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow);
  padding:6px 8px; display:flex; align-items:center; }
.dm-pulse svg{ width:100%; height:100%; }
.dm-pulse path{ fill:none; stroke:var(--sun-strong); stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:160; stroke-dashoffset:160; animation:ecg 2.4s linear infinite; }
@keyframes ecg{ 0%{ stroke-dashoffset:160; } 70%{ stroke-dashoffset:0; } 100%{ stroke-dashoffset:-160; } }
@media (prefers-reduced-motion: reduce){ .dm-pulse path{ animation:none; stroke-dashoffset:0; } }
@media (max-width: 600px){ .dm-pulse{ width:96px; } .detail-media{ padding:8px; } }

/* ==========================================================================
   DOCTOR SOCIAL ICONS
   ========================================================================== */
.doc-social{ display:flex; gap:10px; margin-top:16px; padding-top:14px; border-top:1px solid var(--border); }
.doc-social a{ width:38px; height:38px; border-radius:50%; display:grid; place-content:center;
  background:var(--surface-2); border:1px solid var(--border); color:var(--ink-soft);
  transition:transform .2s var(--ease), background .2s, color .2s, border-color .2s; }
.doc-social a:hover{ transform:translateY(-3px); background:var(--primary-strong); color:#fff; border-color:transparent; }
.doc-social svg{ width:17px; height:17px; }
.doc2 .doc-social{ margin-top:auto; }

/* ==========================================================================
   3D  -  hero WebGL helix canvas + interactive tilt cards (2.5D depth)
   ========================================================================== */
#hero3d{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none;
  opacity:0.32;
  mask-image:linear-gradient(100deg, transparent 0%, transparent 44%, #000 64%, #000 100%);
  -webkit-mask-image:linear-gradient(100deg, transparent 0%, transparent 44%, #000 64%, #000 100%); }
.hero{ position:relative; }
.hero .wrap{ position:relative; z-index:1; }
.hero .hero-copy{ position:relative; z-index:2; }
.hero .hero-media{ position:relative; z-index:2; }
.hm-frame{ transition:transform .25s var(--ease); transform-style:preserve-3d; }

@media (prefers-reduced-motion: no-preference){
  .tilt{ transform-style:preserve-3d; transition:transform .22s var(--ease), box-shadow .22s var(--ease); }
  .tilt .tilt-inner{ transform:translateZ(28px); transform-style:preserve-3d; }
}
/* perf + touch: skip heavy 3D on small / coarse-pointer devices */
@media (max-width: 860px){ #hero3d{ display:none; } }
@media (pointer: coarse){ #hero3d{ display:none; } }

/* ==========================================================================
   MOBILE-FIRST OPTIMISATION  (primary audience views on a phone)
   ========================================================================== */
@media (max-width: 900px){
  .detail-split{ grid-template-columns:1fr; gap:26px; }
  .detail-media{ padding:4px; max-width:560px; margin-inline:auto; }
  .detail-media .detail-figure{ aspect-ratio:16/11; }
  .dm-pulse{ width:104px; }
}
@media (max-width: 860px){
  body{ padding-bottom:74px; }                 /* room for the sticky mobile CTA bar */
}
@media (max-width: 640px){
  .section{ padding-block:50px; }
  .page-hero{ padding-block:56px 38px; }
  .page-hero h1{ font-size:2rem; }
  .hero{ padding-block:28px 44px; }
  .hero-copy h1{ font-size:2.15rem; }
  .hero-copy h1.hero-quote{ font-size:1.62rem; line-height:1.22; }
  .hero-copy .lead{ font-size:1.04rem; }
  .section-head h2{ font-size:1.72rem; }
  .reviews h2, .scrolly + .reviews h2{ font-size:1.72rem; }
  .agg-row{ grid-template-columns:1fr; }
  .agg-score{ font-size:2.6rem; }
  .agg-big{ font-size:3.4rem; }
  .detail-hero{ padding-block:60px 38px; }
  .detail-hero h1{ font-size:1.95rem; }
  .detail-hero p{ font-size:1.05rem; }
  .stats-row{ padding:30px 0; gap:24px 12px; }
  .stats-row .num{ font-size:2rem; }
  .hm-google{ right:6px; padding:10px 13px; }
  .topbar .tb-group a[href^="mailto"]{ display:none; }   /* keep only the emergency line */
  .topbar .wrap{ justify-content:center; }
  .btn-lg{ padding:15px 22px; font-size:1rem; }
  /* full-width, thumb-friendly CTAs */
  .hero-actions{ width:100%; }
  .hero-actions .btn{ width:100%; }
  .cta-band .hero-actions .btn, .cta-final .btn-lg{ width:100%; }
  .marquee-item{ font-size:1.04rem; }
  .band-stats{ grid-template-columns:1fr 1fr; }
  .scrolly-step h3{ font-size:1.4rem; }
}

/* ---- sticky mobile Call / Book bar (markup injected by motion-snippets.js) ---- */
.mobile-cta{ display:none; }
@media (max-width: 860px){
  .mobile-cta{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:140; gap:10px;
    padding:10px 14px calc(10px + env(safe-area-inset-bottom));
    background:oklch(1 0 0 / 0.93); backdrop-filter:blur(12px);
    border-top:1px solid var(--border); box-shadow:0 -8px 24px oklch(0.40 0.05 232 / 0.14); }
  .mobile-cta a{ flex:1; display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:14px 10px; border-radius:var(--r-pill); font-weight:700; font-size:0.98rem; line-height:1; }
  .mobile-cta svg{ width:18px; height:18px; }
  .mcta-call{ background:var(--surface-2); border:1.5px solid var(--border-2); color:var(--primary-strong); }
  .mcta-book{ background:var(--sun); color:oklch(0.30 0.06 60); box-shadow:0 6px 16px oklch(0.72 0.15 60 / 0.3); }
}

/* respect reduced motion (motion-snippets also handles JS) */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
  #hero3d{ display:none; }
}
