/* ==========================================================================
   Sarvdrishti Eye Hospital
   Plain CSS. Mobile first. Design tokens live in :root.
   Signature shape: the lens (circles, rings, arcs, the almond of an eye).
   ========================================================================== */

/* ---------- Fonts (self hosted; built by tools/build-fonts.py) ---------- */
/* Headings: Anek Latin, variable 600 to 800. Body: Mukta. Both by Ek Type. */
@font-face {
  font-family: "Anek Latin";
  src: url("../fonts/anek-latin.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mukta";
  src: url("../fonts/mukta-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mukta";
  src: url("../fonts/mukta-600-latin.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mukta";
  src: url("../fonts/mukta-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Hindi, all of it (text, chips, headings, the big background words), on the booking page too:
   Anek Devanagari, weights 400 to 800, the whole Devanagari alphabet. Only pages with Hindi load it. */
@font-face {
  font-family: "Anek Devanagari";
  src: url("../fonts/anek-devanagari.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+200C-200D, U+25CC, U+A8E0-A8FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Brand blue, sampled from the logo file */
  --blue: #20658d;
  --blue-press: #1a5a80;
  --blue-deep: #17577f;        /* footer, deepest surface, still clearly blue */
  --blue-bright: #2a7cad;
  --blue-soft: #8dbbd8;
  --sky: #e6f1f8;
  --sky-2: #cfe4f1;            /* shapes on the pale blue background */
  --sky-3: #c4dbed;            /* large decorative type on the pale blue background */
  --mist: #f0f3f8;             /* pale blue grey: chips, borders */
  --navy: #0e3a56;             /* the hero stage: the brand blue, deepened */

  /* Accent */
  --orange: #fb8c00;
  --orange-hover: #ff9b1a;
  --orange-soft: #ffd3a0;
  --peach: #fff0e1;
  --peach-2: #ffe2c3;

  /* Neutrals */
  --cream: #e0edf7;            /* pale tint of the brand blue for large backgrounds */
  --cream-line: #b9d3e7;       /* dividers on that background */
  --white: #fff;
  --ink: #1f2a37;              /* text only, never a background */
  --ink-2: #4b5868;
  --line: #e1e7ee;
  --error: #b42318;
  --ok: #13713a;               /* "Open now", as green as on Google Maps */

  /* Hindi inside English text and headings shows in Anek Devanagari too (Mukta and Anek Latin have no Hindi letters) */
  --font-display: "Anek Latin", "Anek Devanagari", "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Mukta", "Anek Devanagari", "Noto Sans Devanagari", "Nirmala UI", "Kohinoor Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hindi: "Anek Devanagari", "Anek Latin", "Nirmala UI", "Noto Sans Devanagari", sans-serif;

  --r-s: 8px;
  --r: 12px;
  --r-l: 18px;
  --pill: 999px;

  --shadow-card: 0 1px 2px rgba(31, 42, 55, .05), 0 22px 44px -26px rgba(31, 42, 55, .32);
  --shadow-blue: 0 22px 48px -22px rgba(32, 101, 141, .55);
  --shadow-orange: 0 14px 30px -12px rgba(251, 140, 0, .7);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --section-y: clamp(72px, 5vw + 48px, 136px);
  --wrap: 1240px;
  --gutter: 16px;
  --header-h: 72px;
  --curve: clamp(20px, 3vw, 40px); /* rounded top of the blue and peach sections */
}
@media (min-width: 600px) { :root { --gutter: 28px; } }
@media (min-width: 1080px) { :root { --header-h: 88px; --gutter: 40px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1080px) { body { font-size: 1.125rem; } }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blue-press); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
    text-wrap: balance;
}
h2 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.9rem); }
h1 em, h2 em, h3 em { font-style: normal; color: var(--blue); }
.on-blue h2, .on-blue h2 em { color: #fff; }

/* A short bold line above some headings, with an orange lens arc under it */
.eyebrow-line {
  position: relative; display: inline-block; margin: 0 0 14px; padding-bottom: 10px;
  font-family: var(--font-display); font-weight: 800; line-height: 1.2; letter-spacing: -.01em;
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); color: var(--blue);
}
.eyebrow-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 2.6em; height: .5em;
  border-bottom: 3px solid var(--orange); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.on-blue .lead { color: rgba(255, 255, 255, .88); }
main:focus { outline: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.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: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-s);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.on-blue :focus-visible { outline-color: #fff; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .7em 1.4em;
  border: 2px solid transparent; border-radius: var(--pill);
  background: var(--btn-bg);
  font: 700 1rem/1.15 var(--font-body);
  text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn--lg { min-height: 58px; padding: .8em 1.7em; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: .55em 1.1em; font-size: .95rem; }
.btn--orange { --btn-bg: var(--orange); color: var(--ink); box-shadow: var(--shadow-orange); }
.btn--orange:hover { --btn-bg: var(--orange-hover); color: var(--ink); box-shadow: 0 18px 36px -12px rgba(251, 140, 0, .8); }
.btn--blue { --btn-bg: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--blue:hover { --btn-bg: var(--blue-press); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); }
.btn--outline:hover { --btn-bg: var(--blue); color: #fff; }
.btn--white { --btn-bg: #fff; color: var(--blue); }
.btn--white:hover { color: var(--blue-press); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Small label with an orange lens dot */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; padding: 7px 16px 7px 9px;
  border: 1.5px solid var(--sky-2); border-radius: var(--pill);
  background: #fff; color: var(--blue);
  font-weight: 700; font-size: .95rem; line-height: 1.3;
}
.eyebrow-dot { width: 18px; height: 18px; border-radius: 50%; border: 3.5px solid var(--orange); flex: none; }
.eyebrow--on-blue { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; }

/* Lens ripples: rings spreading out from the Sarvdrishti eye at their centre.
   A decorative disc behind a section; each use sets its size and place, and
   --gap (ring spacing), --line, --ring and --eye (colours) when they differ.
   The first ring is left out, so the eye sits in a clear lens. The eye is the
   logo file used as a mask, so it takes any colour. */
.ripples {
  --gap: 36px; --line: 2px; --ring: rgba(255, 255, 255, .06); --eye: rgba(255, 255, 255, .11);
  position: absolute; z-index: -1; aspect-ratio: 1; pointer-events: none;
}
.ripples::before, .ripples::after { content: ""; position: absolute; }
.ripples::before {
  inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 calc(var(--gap) - var(--line)), var(--ring) calc(var(--gap) - var(--line)) var(--gap));
  -webkit-mask-image: radial-gradient(circle, transparent calc(var(--gap) * 1.5), #000 calc(var(--gap) * 1.5));
  mask-image: radial-gradient(circle, transparent calc(var(--gap) * 1.5), #000 calc(var(--gap) * 1.5));
}
.ripples::after {
  left: 50%; top: 50%; width: calc(var(--gap) * 3.2); aspect-ratio: 471 / 231; translate: -50% -50%;
  background: var(--eye);
  -webkit-mask: url("../img/logo-eye-white-128.png") center / contain no-repeat;
  mask: url("../img/logo-eye-white-128.png") center / contain no-repeat;
}

/* ==========================================================================
   Header
   ========================================================================== */
/* Fixed and see-through at the top of the page; frosted once the page scrolls.
   On the home page it sits over the hero photos in white (see "Over the hero"). */
.site-header {
  --hdr-ink: var(--ink); --hdr-ink-2: var(--ink-2);
  --hdr-hover-bg: #fff; --hdr-hover-ink: var(--blue);
  --hdr-pill-bg: #fff; --hdr-pill-line: var(--line); --hdr-pill-ic: var(--blue); --hdr-pill-ic-ink: #fff;
  --hdr-menu-bg: var(--blue); --hdr-menu-line: transparent;
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
  background: rgba(224, 237, 247, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(31, 42, 55, .06), 0 12px 30px -22px rgba(31, 42, 55, .4);
}
.menu-open .site-header { background: var(--cream); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* Pages without a full width hero keep their content clear of the header */
body:not(.has-hero) main { padding-top: var(--header-h); }
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.is-scrolled .header-inner { height: calc(var(--header-h) - 16px); }
.brand { display: block; flex: none; margin-right: auto; }
.brand-logo { height: 34px; width: auto; transition: height .3s var(--ease); }
.brand-logo--light { display: none; }
.is-scrolled .brand-logo { height: 30px; }
@media (min-width: 1080px) { .brand-logo { height: 38px; } .is-scrolled .brand-logo { height: 32px; } }

.nav { display: none; }
@media (min-width: 1080px) {
  .brand { margin-right: 0; }
  .nav { display: block; margin-right: auto; margin-left: 12px; }
  .nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
  .nav-link {
    display: block; padding: 10px 14px; border-radius: var(--pill);
    color: var(--hdr-ink); font-weight: 700; text-decoration: none; font-size: 1rem;
    transition: background-color .2s, color .2s;
  }
  .nav-link:hover, .nav-link[aria-current] { background: var(--hdr-hover-bg); color: var(--hdr-hover-ink); }
}
.has-sub { position: relative; display: flex; align-items: center; }
.has-sub .nav-link { padding-right: 4px; }
.sub-toggle {
  display: grid; place-items: center; width: 30px; height: 30px; margin-right: 4px;
  border: 0; border-radius: 50%; background: transparent; color: var(--hdr-ink);
}
.sub-toggle .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.has-sub.is-open .sub-toggle .icon { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 10px); left: -16px; z-index: 5;
  width: 520px; padding: 12px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-card), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; list-style: none; }
.sub-list a {
  display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; color: var(--ink);
}
.sub-list a:hover { background: var(--sky); }
.sub-list a[aria-current] { background: var(--sky); box-shadow: inset 3px 0 0 var(--orange); }
.sub-name { display: block; font-weight: 700; }
.sub-exp { display: block; font-size: .85rem; color: var(--ink-2); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.call-pill {
  display: none; align-items: center; gap: 10px;
  padding: 5px 16px 5px 5px; border-radius: var(--pill);
  border: 1.5px solid var(--hdr-pill-line); background: var(--hdr-pill-bg);
  color: var(--hdr-ink); text-decoration: none; line-height: 1.15;
  transition: border-color .2s, box-shadow .2s, background-color .3s, color .3s;
}
.call-pill:hover { border-color: var(--blue-soft); color: var(--hdr-ink); box-shadow: var(--shadow-card); }
.call-pill-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hdr-pill-ic); color: var(--hdr-pill-ic-ink); }
.call-pill-ic .icon { width: 20px; height: 20px; }
.call-pill-txt { display: grid; }
.call-pill-city { font-size: .78rem; font-weight: 700; color: var(--hdr-ink-2); text-transform: uppercase; letter-spacing: .06em; }
.call-pill-num { font-weight: 700; font-size: 1rem; white-space: nowrap; }
.btn--header { display: none; white-space: nowrap; }
@media (min-width: 760px) { .call-pill { display: inline-flex; } }
@media (min-width: 1080px) { .btn--header { display: inline-flex; } }
/* Between the tablet and wide layouts the full nav, number and button do not
   all fit on one line: keep only the phone icon and tighten the links. */
@media (min-width: 1080px) and (max-width: 1279px) {
  .nav { margin-left: 4px; }
  .nav-link { padding: 10px 8px; }
  .call-pill { padding: 5px; }
  .call-pill-txt {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 16px 0 12px; border-radius: var(--pill);
  background: var(--hdr-menu-bg); box-shadow: inset 0 0 0 1.5px var(--hdr-menu-line);
  color: #fff; font-weight: 700; text-decoration: none;
  transition: background-color .3s, box-shadow .3s;
}
.menu-toggle:hover { color: #fff; background: var(--blue-press); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (min-width: 1080px) { .menu-toggle { display: none; } }
/* Small phones: logo and a labelled button do not fit side by side */
@media (max-width: 379px) { .brand-logo { height: 30px; } }
@media (max-width: 359px) {
  .menu-toggle { justify-content: center; width: 46px; padding: 0; }
  .menu-toggle-label {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100dvh - var(--header-h)); overflow-y: auto;
  padding: 12px 0 calc(40px + env(safe-area-inset-bottom));
  background: var(--cream); border-top: 1px solid var(--cream-line);
}
.is-scrolled .mobile-menu { height: calc(100dvh - var(--header-h) + 16px); }
.mm-label { margin: 16px 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mm-tx { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.mm-tx a {
  display: block; padding: 9px 15px; border-radius: var(--pill); background: #fff; border: 1.5px solid var(--line);
  color: var(--ink); font-weight: 700; text-decoration: none;
}
.mm-tx a[aria-current] { background: var(--blue); border-color: var(--blue); color: #fff; }
.mm-main { list-style: none; margin-top: 20px; }
.mm-main a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--cream-line);
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--ink); text-decoration: none;
}
.mm-main a[aria-current] { color: var(--blue); }
.mm-call { margin-top: 18px; display: grid; gap: 8px; }
.mm-call a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 18px;
  border-radius: var(--r); background: var(--blue); color: #fff; text-decoration: none;
}
.mm-call strong { font-size: 1.1rem; }
@media (min-width: 1080px) { .mobile-menu { display: none !important; } }
body.menu-open { overflow: hidden; }

/* Over the hero: white logo and links on the photos, glass buttons */
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) {
  --hdr-ink: #fff; --hdr-ink-2: rgba(255, 255, 255, .78);
  --hdr-hover-bg: rgba(255, 255, 255, .14); --hdr-hover-ink: #fff;
  --hdr-pill-bg: rgba(10, 44, 66, .35); --hdr-pill-line: rgba(255, 255, 255, .3); --hdr-pill-ic: #fff; --hdr-pill-ic-ink: var(--blue);
  --hdr-menu-bg: rgba(255, 255, 255, .14); --hdr-menu-line: rgba(255, 255, 255, .4);
}
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) .brand-logo--dark { display: none; }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) .brand-logo--light { display: block; }
.has-hero:not(.menu-open) .site-header:not(.is-scrolled) :is(.call-pill, .menu-toggle) {
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

/* ==========================================================================
   Hero: full size photo slides on a navy stage (Splide, main.js). The photos
   fill the full width stage behind the text, from the very top of the page
   (behind the see-through header), and fade from one to the next; each slide's
   text rises in as it arrives, and the bar of the current slide fills as it
   plays. Without JavaScript the first slide shows on its own.
   ========================================================================== */
.hero-stage {
  /* phones: the photo band across the top, running up behind the header */
  --photo-h: calc(clamp(300px, 92vw, 560px) + var(--header-h));
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  background:
    radial-gradient(55% 65% at 0% 0%, rgba(42, 124, 173, .5), transparent 72%),
    radial-gradient(45% 55% at 22% 105%, rgba(32, 101, 141, .55), transparent 70%),
    var(--navy);
  color: #fff;
}
.hero-stage::before {
  /* lens ripples spreading out from behind the headline. No eye at their
     centre here: it would sit half hidden behind the headline, just under
     the eye in the logo. */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 6% 34%, transparent 0 46px, rgba(255, 255, 255, .05) 46px 47.5px);
  -webkit-mask-image: radial-gradient(75% 95% at 6% 34%, #000 15%, transparent 72%);
  mask-image: radial-gradient(75% 95% at 6% 34%, #000 15%, transparent 72%);
}

/* The photos. Each one slowly settles from a slight zoom while it is shown. */
.hero-bgs {
  position: absolute; inset: 0 0 auto; z-index: 0; height: var(--photo-h);
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 50%, transparent 94%);
}
.hero-bgs::before {
  /* shade the top of the photos so the white header reads on them */
  content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--header-h) + 90px); pointer-events: none;
  background: linear-gradient(to bottom, rgba(14, 58, 86, .78), rgba(14, 58, 86, .35) 55%, transparent);
}
.hero-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.hero-bg.is-active, .hero-bgs:not(.is-ready) .hero-bg:first-child { opacity: 1; }
.hero-bgs:not(.is-ready) .hero-bg + .hero-bg { display: none; } /* loads once the slider runs */
.hero-bg picture, .hero-bg img { width: 100%; height: 100%; }
.hero-bg img {
  /* On phones the photo spans the whole width, so a slide can zoom in (--zoom-m,
     from the slide data) to crop off the navy curve on the left of its photo */
  --zoom: var(--zoom-m, 1);
  object-fit: cover; object-position: var(--pos-m); transform-origin: var(--pos-m);
  transform: scale(calc(var(--zoom) * 1.05));
  transition: transform 0s 1s; /* back to the start only once it has faded out */
}
.hero-bg.is-active img { transform: scale(var(--zoom)); transition: transform 9s cubic-bezier(.3, .5, .3, 1); }
/* The page heading stays put while the slides change */
.hero-main { position: relative; z-index: 2; display: flex; flex-direction: column; }
.hero-head { position: absolute; top: calc(var(--header-h) + 8px); left: 0; right: 0; z-index: 3; }
.hero-eyebrow {
  font-family: var(--font-body); letter-spacing: 0;
  background: rgba(10, 44, 66, .5); border-color: rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
/* Phones and tablets: hidden from view, but still the page heading for screen readers */
@media (max-width: 999px) {
  .hero-eyebrow {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* Splide's own layout (its stylesheet is not loaded: it hides the slider until the script runs) */
.hero-slider .splide__track { position: relative; z-index: 0; overflow: hidden; }
.hero-slider .splide__list { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; backface-visibility: hidden; }
.hero-slide { position: relative; flex-shrink: 0; width: 100%; margin: 0; list-style: none; backface-visibility: hidden; }
.hero-slider:not(.is-initialized) .hero-slide + .hero-slide { display: none; }
.splide__track--fade > .splide__list > .splide__slide { margin: 0 !important; opacity: 0; z-index: 0; }
.splide__track--fade > .splide__list > .splide__slide.is-active { opacity: 1; z-index: 1; }
.splide__track--draggable { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.splide__sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* One slide: the text starts over the foot of the photo band on phones */
.hero-slide > .wrap { padding-top: calc(var(--photo-h) - 56px); }
.hero-title {
  margin: 0 0 16px; color: #fff;
  /* follows the screen height too, so a short laptop screen still shows the slide controls */
  font-size: clamp(2.5rem, min(1.2rem + 4.4vw, 8.6svh + .4rem), 4.6rem);
  font-weight: 800; line-height: .98; letter-spacing: -.035em;
}
.on-blue .hero-title em { position: relative; white-space: nowrap; color: #9cd2f4; }
.hero-title em::after, .ab-mission h2 em::after {
  /* hand drawn orange underline */
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.07em; height: .24em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 17C60 7 140 4 297 10' fill='none' stroke='%23FB8C00' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left center;
}
.hero-title em::after { animation: draw-x 1s .9s var(--ease) both; }
.hero-text { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: rgba(255, 255, 255, .86); max-width: 31em; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-proof { margin-top: 22px; }

/* Word by word rise for the title (plays on load, and again each time a slide arrives) */
.rise { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .02em .1em; margin-bottom: -.1em; }
.rise > span { display: inline-block; animation: rise .9s var(--ease) both; animation-delay: calc(80ms + var(--i, 0) * 70ms); }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes draw-x { from { transform: scaleX(0); } }
.hs-in { animation: hs-in .8s var(--ease) both; animation-delay: calc(240ms + var(--d, 0) * 110ms); }
@keyframes hs-in { from { opacity: 0; transform: translateY(18px); } }

/* One shine across the main button once the text has settled */
.hero-slide .btn--orange { position: relative; overflow: hidden; }
.hero-slide .btn--orange::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: glint 1.1s 1.5s var(--ease) both;
}
@keyframes glint { from { transform: translateX(-120%); } to { transform: translateX(120%); } }

/* A slide that leaves drops its text quickly; removing the animations here
   makes them play again when the slide comes back. */
.hero-slider.is-initialized .hero-slide:not(.is-active) .hero-copy { opacity: 0; transition: opacity .3s; pointer-events: none; }
.hero-slider.is-initialized .hero-slide:not(.is-active) .hs-in,
.hero-slider.is-initialized .hero-slide:not(.is-active) .rise > span,
.hero-slider.is-initialized .hero-slide:not(.is-active) .hero-title em::after,
.hero-slider.is-initialized .hero-slide:not(.is-active) .btn--orange::after { animation: none; }

/* Glass chips under the buttons */
.glass-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 8px 18px 8px 8px; border-radius: var(--pill);
  background: rgba(10, 44, 66, .42);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 20px 44px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .16);
  color: #fff; font-weight: 700; font-size: .92rem; line-height: 1.2; text-decoration: none;
}
.glass-chip strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.glass-chip small { display: block; font-size: .78rem; font-weight: 600; color: rgba(255, 255, 255, .78); }
.glass-chip-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; }
.glass-chip-ic .icon { width: 20px; height: 20px; }
.glass-chip--note { font-weight: 600; font-size: .95rem; }
.glass-chip--note .glass-chip-ic { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--orange-soft); }
a.glass-chip { transition: transform .25s var(--ease), background-color .25s; }
a.glass-chip:hover { color: #fff; background: rgba(10, 44, 66, .6); transform: translateY(-2px); }
.glass-faces { display: flex; flex: none; padding-left: 2px; }
.glass-face { display: block; width: 40px; height: 40px; margin-left: -13px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; background: var(--sky-2); }
.glass-face:first-child { margin-left: 0; }
.glass-face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@media (max-width: 520px) {
  .glass-chip { font-size: .84rem; padding-right: 14px; }
  .glass-chip-ic, .glass-face { width: 34px; height: 34px; }
  .glass-chip strong { font-size: 1.08rem; }
}

/* The arrows. Shown once Splide runs. */
.hero-controls { display: none; }
.hero-slider.is-initialized .hero-controls { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.hero-arrows { display: flex; gap: 8px; flex: none; }
.hero-btn {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(10, 44, 66, .55); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.hero-btn:hover { background: #fff; border-color: #fff; color: var(--blue); }
.hero-btn:active { transform: scale(.94); }
.hero-btn .icon { width: 22px; height: 22px; }

/* Wide screens: the photo fills the right of the stage, runs under the branch
   bar and fades into the navy behind the text */
@media (min-width: 1000px) {
  .hero-stage { min-height: clamp(700px, 100svh, 1000px); }
  .hero-stage::after {
    /* deepen the foot of the photo under the branch bar */
    content: ""; position: absolute; inset: auto 0 0; z-index: 1; height: 42%; pointer-events: none;
    background: linear-gradient(to top, rgba(14, 58, 86, .8), transparent);
  }
  .hero-bgs {
    inset: 0 0 0 auto; width: min(66%, 1150px); height: auto; /* capped: the photos are not much wider */
    -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, .55) 18%, #000 40%);
    mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, .55) 18%, #000 40%);
  }
  .hero-bg img { --zoom: 1; object-position: var(--pos); transform-origin: var(--pos); }
  .hero-main { flex: 1; justify-content: center; padding-block: calc(var(--header-h) + clamp(28px, 3.4vw, 52px)) 4px; }
  .hero-head { position: static; margin-bottom: 26px; }
  .hero-slide > .wrap { padding-top: 0; }
  .hero-copy { width: min(55%, 680px); }
  .hero-slider.is-initialized .hero-controls { margin-top: 44px; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .hero-main { padding-top: calc(var(--header-h) + 22px); }
  .hero-head { margin-bottom: 18px; }
  .hero-actions { margin-top: 20px; }
  .hero-proof { margin-top: 16px; }
  .hero-slider.is-initialized .hero-controls { margin-top: 26px; }
  .hero-dock { padding-top: 18px; }
}
/* With a mouse, only the text and the controls catch the pointer, so resting
   it on the photo does not pause the slides */
@media (min-width: 1000px) and (hover: hover) {
  .hero-slider.is-initialized { pointer-events: none; }
  .hero-slider.is-initialized .hero-slide.is-active .hero-copy,
  .hero-slider.is-initialized .hero-controls { pointer-events: auto; }
}

/* ---------- Branch bar, a glass panel docked at the foot of the stage ---------- */
.hero-dock { position: relative; z-index: 3; padding-block: 26px clamp(10px, 1.4vw, 22px); }
.branchbar {
  position: relative;
  padding: 18px; border-radius: 16px;
  background: rgba(8, 38, 58, .5); color: #fff;
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 28px 60px -32px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
  display: grid; gap: 18px; overflow: hidden;
  isolation: isolate;
}
.branchbar::before {
  /* tone on tone lens ripples */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-radial-gradient(circle at 100% 0%, transparent 0 26px, rgba(255, 255, 255, .06) 26px 28px);
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent 70%);
  mask-image: linear-gradient(to left, #000 10%, transparent 70%);
}
.bb-label {
  display: flex; align-items: center; gap: 8px; margin: 2px 0 10px;
  font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.bb-label .icon { width: 18px; height: 18px; color: var(--orange); }
.bb-tabs { display: flex; gap: 4px; padding: 5px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); width: max-content; max-width: 100%; }
.bb-tab {
  position: relative; padding: 10px 18px; border-radius: var(--pill);
  color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s;
}
.bb-tab:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.bb-tab[aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.bb-tab[aria-selected="true"]::after {
  content: ""; position: absolute; top: 7px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}
.bb-panel { display: grid; gap: 14px; animation: fade-in .4s var(--ease); }
.bb-panel[hidden] { display: none; }
.bb-addr p { margin: 0; color: rgba(255, 255, 255, .9); }
.bb-name { font-weight: 700; color: #fff !important; }
.bb-hours { display: flex; align-items: center; gap: 8px; margin-top: 6px !important; font-size: .92rem; }
.bb-hours .icon { width: 18px; height: 18px; color: var(--orange); flex: none; }
.bb-hours strong { color: #fff; }
.bb-week { margin-top: 2px !important; padding-left: 26px; font-size: .88rem; color: rgba(255, 255, 255, .78) !important; }
.bb-phone {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.3rem);
  color: #fff; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; line-height: 1.1;
}
.bb-phone:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }
.bb-call { display: grid; gap: 12px; justify-items: start; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } }
@media (min-width: 720px) {
  .branchbar { padding: 22px 26px; }
  /* address on the left, number with its buttons on the right */
  .bb-panel { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px 32px; }
}
@media (min-width: 1100px) {
  .branchbar { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 36px; padding: 22px 28px; }
}

/* ==========================================================================
   What is troubling your eyes
   ========================================================================== */
.concerns { position: relative; background: #fff; padding: var(--section-y) 0; }
.cx { display: grid; gap: 36px; }
@media (min-width: 980px) { .cx { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; } }
.cx-intro h2 { margin-bottom: 18px; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; border: 0; min-width: 0; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 12px; border-radius: var(--pill);
  background: var(--mist); border: 1.5px solid transparent;
  font-family: var(--font-hindi); font-weight: 600; font-size: 1.08rem; line-height: 1.35; color: var(--ink);
  transition: background-color .2s, color .2s, box-shadow .25s var(--ease), transform .2s var(--ease);
  pointer-events: none;
}
.chip span::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--blue-soft); background: #fff;
  transition: border-color .2s, background .2s;
}
.chip:hover span { background: var(--sky); transform: translateY(-1px); }
.chip input:checked + span { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.chip input:checked + span::before { border-color: var(--orange); background: radial-gradient(circle, var(--orange) 0 4px, #fff 4.5px); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }

.cx-panels { position: relative; }
@media (min-width: 980px) { .cx-panels { position: sticky; top: calc(var(--header-h) + 24px); } }
.cx-panel {
  display: none; position: relative; overflow: hidden;
  padding: clamp(26px, 3vw, 42px); border-radius: var(--r-l);
  background: var(--sky);
  animation: fade-in .45s var(--ease);
}
@supports not selector(:has(*)) { .cx-panel { display: block; margin-bottom: 16px; } }
.cx-panel--urgent { background: var(--peach); box-shadow: inset 0 0 0 2px var(--orange); }
.cx-panel-rings {
  position: absolute; right: -70px; top: -70px; width: 230px; fill: none; stroke: #fff; stroke-width: 1.5; opacity: .9;
}
.cx-panel--urgent .cx-panel-rings { stroke: rgba(251, 140, 0, .25); }
.cx-kicker { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 700; color: var(--ink-2); }
.cx-urgent {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px;
  border-radius: var(--pill); background: var(--orange); color: var(--ink); font-size: .9rem;
}
.cx-urgent .icon { width: 18px; height: 18px; }
.cx-tname { position: relative; margin-bottom: 16px; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.cx-start { display: block; margin-bottom: 4px; font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.cx-tname a { color: var(--blue); text-decoration: none; }
.cx-tname a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; }
.cx-tname small { font-size: .5em; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.cx-text { position: relative; font-size: 1.08rem; }
/* The Hindi name of a condition, in brackets inside a sentence */
.cx-text [lang="hi"], .tx-desc [lang="hi"] { font-weight: 600; }
.cx-next {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; margin: 20px 0 24px; border-radius: var(--r); background: #fff;
}
.cx-next p { margin: 0; }
.cx-next-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 2.5px solid var(--orange); color: var(--orange); }
.cx-next-ic .icon { width: 18px; height: 18px; }
.cx-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Marquee of treatment names (used once)
   ========================================================================== */
.marquee { overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); background: var(--cream); }
.marquee-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee-set { display: flex; align-items: center; }
.marquee-word {
  padding-inline: .4em; white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; line-height: 1.05;
  font-size: clamp(3.4rem, 1.8rem + 7vw, 8.5rem); letter-spacing: -.02em;
  color: var(--sky-3);   /* solid: the variable font's overlapping outlines show through a stroke */
}
.marquee-word:nth-child(4n+1) { color: var(--blue-soft); }
.marquee-sep { width: .9rem; height: .9rem; flex: none; border-radius: 50%; border: 3px solid var(--orange); }
@media (min-width: 900px) { .marquee-sep { width: 1.4rem; height: 1.4rem; border-width: 4px; } }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ==========================================================================
   Treatments index: large type list
   ========================================================================== */
.tx { background: var(--cream); padding: 0 0 var(--section-y); }
.tx-top { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 900px) { .tx-top { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 48px; } .tx-top .lead { margin: 0; } }
.tx-list { list-style: none; border-top: 1.5px solid var(--cream-line); }
.tx-row {
  position: relative;
  display: grid; grid-template-columns: 42px minmax(0, 1fr) 44px; align-items: center; column-gap: 12px;
  padding: 18px 0; border-bottom: 1.5px solid var(--cream-line);
}
.tx-num { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink-2); }
.tx-name { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1; }
.tx-link { color: var(--ink); text-decoration: none; transition: color .25s; }
.tx-exp { display: block; margin-top: 6px; font-family: var(--font-body); font-size: .92rem; font-weight: 700; letter-spacing: 0; color: var(--ink-2); }
.tx-hi { display: block; margin-top: 6px; font-family: var(--font-hindi); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--blue); }
.tx-toggle { display: none; }
.tx-body { grid-column: 1 / -1; padding: 10px 0 4px 54px; }
.tx-desc { margin: 0 0 14px; color: var(--ink-2); max-width: 34em; }
/* Treatment images are square crops shown through a round lens */
.tx-fig { position: relative; width: min(64vw, 280px); margin: 26px 0 26px 12px; }
.tx-fig picture {
  display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%;
  background: var(--sky-2);
  box-shadow: 0 0 0 6px #fff, 0 28px 44px -26px rgba(32, 101, 141, .6);
}
.tx-fig img { width: 100%; height: 100%; object-fit: cover; }
.tx-fig::after {
  /* orange arc over the top of the lens */
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 2px solid var(--orange); clip-path: inset(0 0 55% 0); pointer-events: none;
}
.tx-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.tx-go { display: none; }

/* Mobile: accordion (only when JS is on; without JS everything stays open) */
@media (max-width: 899px) {
  .js .tx-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1.5px solid var(--cream-line); border-radius: 50%; background: #fff; color: var(--blue);
  }
  .js .tx-toggle::after { content: ""; position: absolute; inset: 0; }
  .js .tx-toggle .icon { transition: transform .3s var(--ease); }
  .js .tx-row.is-open .tx-toggle .icon { transform: rotate(180deg); }
  .js .tx-row:not(.is-open) .tx-body { display: none; }
  .js .tx-row.is-open .tx-body { animation: fade-in .35s var(--ease); }
  .js .tx-row.is-open .tx-link { color: var(--blue); }
  .tx-body { position: relative; z-index: 2; padding-left: 0; }
}

.tx-stage { display: none; }

/* Desktop: rows slide on hover; a sticky lens beside the list shows that treatment */
@media (min-width: 900px) {
  .tx-layout { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 420px); gap: clamp(32px, 4vw, 64px); align-items: start; }
  .tx-row {
    grid-template-columns: 48px minmax(0, 1.3fr) minmax(0, 1fr) 52px;
    column-gap: 22px; padding: 22px 0;
  }
  .tx-name { font-size: clamp(1.9rem, .9rem + 1.95vw, 2.9rem); }
  .tx-body { display: contents; }
  .tx-desc { grid-column: 3; margin: 0; font-size: .98rem; line-height: 1.5; }
  .tx-fig, .tx-more { display: none; }
  .tx-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .tx-num, .tx-name, .tx-desc { transition: transform .45s var(--ease), color .25s; }
  .tx-go {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    border: 1.5px solid var(--cream-line); color: var(--blue); background: #fff;
    transition: background-color .25s, border-color .25s, color .25s;
  }
  .tx-go .icon { transition: transform .35s var(--ease); }
  .tx-row:hover .tx-num, .tx-row:focus-within .tx-num,
  .tx-row:hover .tx-name, .tx-row:focus-within .tx-name,
  .tx-row:hover .tx-desc, .tx-row:focus-within .tx-desc { transform: translateX(14px); }
  .tx-row:hover .tx-link, .tx-row:focus-within .tx-link { color: var(--blue); }
  .tx-row:hover .tx-num, .tx-row:focus-within .tx-num { color: var(--orange); }
  .tx-row:hover .tx-go, .tx-row:focus-within .tx-go { background: var(--orange); border-color: var(--orange); color: var(--ink); }
  .tx-row:hover .tx-go .icon, .tx-row:focus-within .tx-go .icon { transform: rotate(-45deg); }

  .tx-stage {
    display: block; position: sticky; top: calc(var(--header-h) + 48px);
    margin-top: 28px; aspect-ratio: 1;
  }
  .tx-stage-disc { position: absolute; right: -4%; top: -3%; width: 56%; aspect-ratio: 1; border-radius: 50%; background: var(--sky-2); }
  .tx-stage-ring { position: absolute; left: 6%; top: 2%; width: 94%; overflow: visible; fill: none; stroke: var(--orange); stroke-width: .6; }
  .tx-stage-items { position: absolute; inset: 6% 4% 6% 8%; }
  .tx-stage-item {
    position: absolute; inset: 0; margin: 0;
    opacity: 0; transform: scale(.92) rotate(-4deg);
    transition: opacity .35s var(--ease), transform .6s var(--ease);
  }
  .tx-stage-item picture {
    display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%;
    background: var(--sky-2);
    box-shadow: 0 0 0 8px #fff, 0 46px 70px -42px rgba(32, 101, 141, .7);
  }
  .tx-stage-item img { width: 100%; height: 100%; object-fit: cover; }
  .tx-stage-chip {
    position: absolute; left: -6%; bottom: 6%; max-width: 100%;
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: var(--pill);
    background: #fff; box-shadow: var(--shadow-card); font-weight: 700; line-height: 1.2; color: var(--ink);
  }
  .tx-stage-chip span {
    display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
    border: 2.5px solid var(--orange); font-family: var(--font-display); font-size: .85rem; color: var(--ink);
  }
  .tx-stage[data-active="1"] .tx-stage-item:nth-child(1),
  .tx-stage[data-active="2"] .tx-stage-item:nth-child(2),
  .tx-stage[data-active="3"] .tx-stage-item:nth-child(3),
  .tx-stage[data-active="4"] .tx-stage-item:nth-child(4),
  .tx-stage[data-active="5"] .tx-stage-item:nth-child(5),
  .tx-stage[data-active="6"] .tx-stage-item:nth-child(6),
  .tx-stage[data-active="7"] .tx-stage-item:nth-child(7),
  .tx-stage[data-active="8"] .tx-stage-item:nth-child(8),
  .tx-stage[data-active="9"] .tx-stage-item:nth-child(9),
  .tx-stage[data-active="10"] .tx-stage-item:nth-child(10),
  .tx-stage[data-active="11"] .tx-stage-item:nth-child(11),
  .tx-stage[data-active="12"] .tx-stage-item:nth-child(12) { opacity: 1; transform: none; }
}

/* ==========================================================================
   The promise (full blue)
   ========================================================================== */
.promise {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: #fff;
  padding: calc(var(--section-y) + 40px) 0 var(--section-y);
}
.promise::before {
  /* curved, lens like top edge: the cream above bows down into the blue */
  content: ""; position: absolute; left: -10%; right: -10%; top: -1px; height: clamp(40px, 6vw, 90px);
  background: var(--cream); border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
/* Ripples from the top right, beside the eyebrow; on wide screens from the
   foot of the right column, under the figures */
.promise-rings { --gap: 30px; width: clamp(300px, 40vw, 580px); right: 70px; top: calc(var(--section-y) + 58px); translate: 50% -50%; }
@media (min-width: 980px) { .promise-rings { right: 22vw; top: auto; bottom: 10vw; translate: 50% 50%; } }
/* घर के पास ("close to home") in a band of its own at the foot of the section,
   in line with the text. Its line box is cut to the letters (they rise .89em
   above the baseline, the े matra included), so none of it is clipped.
   Solid white faded as a whole: a see-through colour would paint twice where
   the letters' pieces overlap (the joins, the matra) and show light seams. */
.promise--hi { --hi: clamp(4.25rem, 12vw, 11rem); padding-bottom: calc(var(--hi) * 1.1 + clamp(28px, 4vw, 56px)); }
.promise-hindi {
  position: absolute; z-index: -1; left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); bottom: 0;
  font-family: var(--font-hindi); font-weight: 800; font-size: var(--hi); line-height: 1.1;
  color: #fff; opacity: .07; pointer-events: none; user-select: none; white-space: nowrap;
}
.promise-grid { display: grid; gap: 56px; }
@media (min-width: 980px) { .promise-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; } }
.promise h2 { margin: 22px 0 22px; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); }
.promise-text { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: rgba(255, 255, 255, .9); max-width: 34em; }
.empanel { margin-top: 30px; }
.empanel-label { margin-bottom: 10px; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.empanel-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.empanel-list li {
  padding: 7px 14px; border-radius: var(--pill); border: 1.5px solid rgba(255, 255, 255, .35);
  font-weight: 700; font-size: .95rem;
}
.empanel-list li:first-child { background: #fff; color: var(--blue); border-color: #fff; }

/* Each number sits in the middle of its own ring, with the label underneath */
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat { display: grid; justify-items: center; align-content: start; gap: 12px; justify-self: start; text-align: center; }
.stat--1 { grid-column: 1; }
.stat--2 { grid-column: 2; margin-top: 64px; }
.stat--3 { grid-column: 1 / -1; margin-left: 24%; margin-top: -40px; }
@media (max-width: 599px) { .stat--3 { margin-left: 18%; margin-top: 10px; } }
.stat-fig { --fig: clamp(136px, 14vw, 184px); position: relative; display: grid; place-items: center; width: var(--fig); aspect-ratio: 1; }
.stat-ring {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
  fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round;
  transform: rotate(-90deg);
}
.stat-ring circle { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js .stat:not(.is-in) .stat-ring circle { stroke-dashoffset: 100; }
.js .stat .stat-ring circle { transition: stroke-dashoffset 1.6s var(--ease) .2s; }
.stat--2 .stat-ring { stroke: rgba(255, 255, 255, .45); }
.stat-num {
  position: relative; font-family: var(--font-display); font-weight: 800;
  font-size: calc(var(--fig) * var(--k, .5)); line-height: 1; color: #fff; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat-label { font-weight: 700; font-size: 1.05rem; color: rgba(255, 255, 255, .9); max-width: 11em; line-height: 1.3; }

/* ==========================================================================
   Doctors rail
   ========================================================================== */
.docs { background: var(--cream); padding: var(--section-y) 0 calc(var(--section-y) - 20px); overflow: hidden; }
.docs-head { display: grid; gap: 22px; }
.docs-head h2 { margin-bottom: 16px; }
.docs-head .lead { margin: 0; }
@media (min-width: 900px) { .docs-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; } }
.docs-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.docs-hint { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .95rem; font-weight: 700; color: var(--ink-2); }
.docs-hint .icon { color: var(--orange); }
.rail-btns { display: flex; gap: 8px; }
.rail-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid var(--blue); background: transparent; color: var(--blue);
  transition: background-color .2s, color .2s, transform .2s var(--ease), opacity .2s;
}
.rail-btn:hover:not(:disabled) { background: var(--blue); color: #fff; }
.rail-btn:active:not(:disabled) { transform: scale(.94); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail {
  --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
  margin-top: 28px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  scrollbar-width: none; cursor: grab;
  padding-bottom: 28px;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.rail.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.rail.is-dragging a { pointer-events: none; }
.rail-list { display: flex; gap: clamp(16px, 2vw, 28px); list-style: none; padding: 30px var(--edge) 10px; width: max-content; }
.doc { --w: clamp(238px, 68vw, 296px); position: relative; width: var(--w); scroll-snap-align: start; }
/* the whole 3:4 portrait, uncropped, as on the booking page */
.doc-photo {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r-l); background: var(--sky-2);
  box-shadow: 0 30px 50px -36px rgba(31, 42, 55, .55);
}
.doc-photo picture, .doc-photo img { width: 100%; height: 100%; object-fit: cover; }
.doc-photo img { object-position: 50% 18%; transition: transform .7s var(--ease); }
.doc:hover .doc-photo img { transform: scale(1.05); }
.doc-ring {
  /* an orange frame around the top of a director's photo */
  position: absolute; left: -10px; right: -10px; top: -10px; z-index: 2; height: calc(var(--w) * 4 / 3 + 20px); pointer-events: none;
  border: 1.5px solid var(--orange); border-radius: calc(var(--r-l) + 10px);
  clip-path: inset(0 0 54% 0);
}
/* on the photo's left edge, where the orange frame ends (the photo is 4/3 as tall as the card is wide) */
.doc-badge {
  position: absolute; top: calc(var(--w) * .53); left: -10px; z-index: 3;
  padding: 6px 14px; border-radius: var(--pill);
  box-shadow: var(--shadow-orange);
  background: var(--orange); color: var(--ink); font-weight: 700; font-size: .85rem;
}
.doc-chip {
  position: relative; z-index: 2; margin: -54px 14px 0; padding: 14px 16px;
  border-radius: 12px; background: #fff; box-shadow: var(--shadow-card);
}
.doc-name { font-size: 1.32rem; line-height: 1.15; letter-spacing: -.01em; }
.doc-name a { color: var(--ink); text-decoration: none; }
.doc-name a::after { content: ""; position: absolute; inset: -400px -14px -80px; z-index: 3; }
.doc-name a:focus-visible { outline: none; }
.doc:has(.doc-name a:focus-visible) .doc-photo { outline: 3px solid var(--orange); outline-offset: 4px; }
.doc-spec { margin: 4px 0 0; font-size: .92rem; color: var(--ink-2); line-height: 1.35; }
.doc-meta { display: flex; align-items: center; gap: 6px; margin: 14px 16px 4px; font-size: .95rem; font-weight: 700; color: var(--ink-2); }
.doc-meta .icon { width: 18px; height: 18px; color: var(--orange); }
.doc-more { display: flex; align-items: center; gap: 6px; margin: 0 16px; font-weight: 700; color: var(--blue); }
.doc-more .icon { transition: transform .25s var(--ease); }
.doc:hover .doc-more .icon { transform: translateX(4px); }
.doc:hover .doc-name a { color: var(--blue); }

/* ==========================================================================
   Three cities (blue)
   ========================================================================== */
.cities {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: #fff; padding: var(--section-y) 0;
  border-radius: var(--curve) var(--curve) 0 0;
}
/* centred in the space above the heading */
.cities-rings { --gap: 32px; --ring: rgba(255, 255, 255, .055); left: 15vw; top: calc(var(--section-y) / 2); width: max(70vw, 340px); translate: -50% -50%; }
.cities-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .cities-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.cities-intro h2 { margin-bottom: 18px; }
.map { margin: 26px 0 0; max-width: 430px; }
.map-svg { width: 100%; overflow: visible; }
.map-river-band { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 18; stroke-linecap: round; }
.map-river { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1 7; }
.map-river-label { fill: rgba(255, 255, 255, .72); font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.map-hi { font-family: var(--font-hindi); font-weight: 800; letter-spacing: 0; }
.map-route { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1.4 2.6; }
.js .map:not(.is-in) .map-route { stroke-dashoffset: 100; opacity: 0; }
.js .map .map-route { transition: opacity 1.2s var(--ease) .3s; }
.map-north path { fill: var(--orange); }
.map-north text { fill: rgba(255, 255, 255, .7); font: 700 13px var(--font-body); text-anchor: middle; }
.map-core { fill: #fff; }
.map-ring { fill: none; stroke: var(--orange); stroke-width: 3; }
.map-pulse { fill: rgba(251, 140, 0, .25); opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-dot.is-mine .map-pulse { opacity: 1; animation: pulse 2.6s ease-out infinite; }
.map-dot.is-mine .map-ring { stroke-width: 4; }
.map-label { fill: #fff; font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.01em; }
.map-label-hi { fill: var(--blue-soft); font-family: var(--font-hindi); font-weight: 800; font-size: 20px; }
.map-dot.is-mine .map-label-hi { fill: var(--orange-soft); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }

.city-cards { list-style: none; display: grid; gap: 22px; }
.city-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start;
  margin-top: 36px; padding: 0 20px 22px; border-radius: 16px; background: #fff; color: var(--ink);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (min-width: 600px) { .city-card { grid-template-columns: 132px minmax(0, 1fr); gap: 24px; margin-top: 0; padding: 22px 26px 22px 22px; } }
@media (min-width: 980px) {
  .city-card:nth-child(1) { margin-right: 12%; }
  .city-card:nth-child(2) { margin-left: 12%; }
  .city-card:nth-child(3) { margin-right: 6%; margin-left: 4%; }
}
.city-card.is-mine { box-shadow: 0 0 0 4px var(--orange), 0 34px 60px -30px rgba(0, 0, 0, .5); }
/* On phones the photo sits on the card's top edge; from 600px it stays inside
   the card, as the cards are only 22px apart there */
.city-photo { position: relative; width: 104px; margin-top: -36px; }
@media (min-width: 600px) { .city-photo { width: auto; margin-top: 0; } }
.city-photo picture, .city-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.city-photo picture { box-shadow: 0 0 0 5px #fff, 0 18px 30px -14px rgba(0, 0, 0, .45); border-radius: 50%; }
.city-photo::after {
  content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid var(--sky-2);
  clip-path: inset(0 0 50% 0);
}
.city-card.is-mine .city-photo::after { border-color: var(--orange); }
.city-mine {
  display: none; align-items: center; gap: 6px; width: max-content;
  margin-bottom: 8px; padding: 4px 12px 4px 8px; border-radius: var(--pill);
  background: var(--orange); color: var(--ink); font-weight: 700; font-size: .85rem;
}
.city-mine .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.city-card.is-mine .city-mine { display: inline-flex; }
.city-name { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
.city-branch { margin: 4px 0 8px; font-weight: 700; color: var(--blue); }
.city-addr { color: var(--ink-2); font-size: 1rem; margin-bottom: 10px; }
.city-hours { list-style: none; display: grid; gap: 2px; margin: 0 0 14px; font-size: .92rem; color: var(--ink-2); }
.city-hours li { display: flex; align-items: center; gap: 6px; }
.city-hours span { font-weight: 700; color: var(--ink); }
.city-hours .icon { width: 16px; height: 16px; color: var(--orange); flex: none; }
.city-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.city-phone {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: var(--pill);
  background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.city-phone:hover { background: var(--blue-press); color: #fff; }
.city-phone .icon { width: 18px; height: 18px; }
.city-link, .city-pick { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.city-link .icon { width: 18px; height: 18px; }
.city-pick { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--orange); }
.city-card.is-mine .city-pick { display: none; }

/* ==========================================================================
   Reviews wall
   ========================================================================== */
/* The enquiry section below tucks under this one, so its rounded corners show
   white rather than the page background. */
.reviews { background: #fff; padding: var(--section-y) 0 calc(var(--section-y) + var(--curve)); }
.reviews-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .reviews-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; align-items: start; } }
@media (min-width: 980px) { .rating { position: sticky; top: calc(var(--header-h) + 24px); } }
.rating h2 { margin-bottom: 18px; }
.rating-score { display: flex; align-items: center; gap: 16px; margin: 22px 0 18px; }
.rating-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(4.4rem, 3.4rem + 3vw, 6rem); line-height: .85; color: var(--blue); letter-spacing: -.03em; }
.rating-side { display: grid; gap: 6px; }
.rating-side .stars .icon { width: 26px; height: 26px; }
.rating-count { font-weight: 700; color: var(--ink-2); line-height: 1.2; }
.review-stars { display: flex; gap: 2px; color: var(--orange); }

/* Five stars filled to the exact rating (--r out of 5) */
.stars { position: relative; display: inline-flex; color: var(--orange); vertical-align: middle; }
.stars-base, .stars-fill { display: flex; gap: 2px; }
.stars-base { color: var(--orange-soft); }
.stars-fill { position: absolute; inset: 0 auto 0 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; }
.stars-fill .icon { flex: none; }

.g-branches { list-style: none; display: grid; margin: 26px 0 0; border-top: 1px solid var(--line); }
.g-branch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.g-score {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 2.5px solid var(--orange); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink);
}
.g-body { display: grid; gap: 2px; }
.g-city { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; }
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.g-meta .stars .icon { width: 15px; height: 15px; }
.g-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.g-link .icon { width: 18px; height: 18px; }
@media (max-width: 420px) { .g-link { grid-column: 2 / -1; } }
.needs-content {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; padding: 14px 16px;
  border: 2px dashed var(--orange); border-radius: var(--r); background: var(--peach);
  font-weight: 700; font-size: .95rem; color: #6b3a00;
}
.needs-content .icon { color: var(--orange); margin-top: 2px; }
/* Cards with a dashed edge; the first review runs across the top */
.wall { list-style: none; display: grid; gap: 20px; align-items: start; }
@media (min-width: 640px) { .wall { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.review {
  position: relative; display: grid; gap: 12px; padding: 22px 22px 20px;
  border: 2px dashed #c9d3dd; border-radius: 14px; background: #f8f9fb;
}
.review--big {
  grid-column: 1 / -1; padding: 26px 28px 24px; background: #edf5fa;
}
.ph-tag {
  justify-self: start; padding: 4px 12px; border-radius: var(--pill);
  border: 1.5px dashed var(--orange); background: var(--peach); color: #6b3a00; font-size: .82rem; font-weight: 700;
}
.review-q { position: absolute; right: 18px; top: 16px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--orange); color: var(--orange); }
.review-q .icon { width: 20px; height: 20px; }
.review-stars .icon { width: 20px; height: 20px; }
.review-text { margin: 0; font-size: 1rem; line-height: 1.6; }
.review-text p { margin: 0; }
.review-text p + p { margin-top: .7em; }
.review--big .review-text { font-size: 1.08rem; }
@media (min-width: 640px) { .review--big .review-text { font-size: 1.2rem; } }

/* Long reviews fold to a few lines; main.js adds .is-long and the button */
.js .review-text { --lines: 5; max-height: calc(var(--lines) * 1.6em); overflow: hidden; transition: max-height .45s var(--ease); }
.js .review--big .review-text { --lines: 4; }
.review.is-long:not(.is-open) .review-text {
  -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent);
  mask-image: linear-gradient(to bottom, #000 50%, transparent);
}
.review.is-open .review-text { max-height: none; }
.review-more {
  display: none; justify-self: start; align-items: center; gap: 4px; margin: -6px 0 0; padding: 6px 0;
  border: 0; background: none; color: var(--blue); font-weight: 700; font-size: .95rem;
  text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .3em;
}
.review-more:hover { color: var(--blue-press); }
.review-more .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.review.is-long .review-more { display: inline-flex; }
.review-more-open, .review.is-open .review-more-closed { display: none; }
.review.is-open .review-more-open { display: inline; }
.review.is-open .review-more .icon { transform: rotate(180deg); }

.review-by { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; }
.review-av {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%;
  background: var(--sky-2); color: var(--blue); font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
}
.review:nth-child(3n+2) .review-av { background: var(--peach-2); color: #8a4b00; }
.review:nth-child(3n) .review-av { background: var(--blue); color: #fff; }
.review-who { display: grid; line-height: 1.25; }
.review-who span { font-size: .88rem; font-weight: 600; color: var(--ink-2); }

.review--placeholder { color: var(--ink-2); }
.review--placeholder .review-stars { color: #c9d3dd; }
.ph-line { display: block; height: 11px; width: var(--w, 90%); border-radius: 6px; background: #dfe6ed; }
.ph-by { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.ph-avatar { width: 34px; height: 34px; border-radius: 50%; background: #dfe6ed; flex: none; }
.ph-line--short { width: 40%; }
@media (max-width: 639px) { .wall--placeholder .review:nth-child(n+4) { display: none; } }

/* ==========================================================================
   Enquiry (peach, used once)
   ========================================================================== */
.enquiry {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(-1 * var(--curve));
  background: var(--peach); padding: var(--section-y) 0 calc(var(--section-y) + 40px);
  border-radius: var(--curve) var(--curve) 0 0;
}
.enq-ring { position: absolute; z-index: -1; fill: none; pointer-events: none; }
.enq-ring--a { width: clamp(260px, 34vw, 520px); right: -8vw; top: -12vw; stroke: var(--orange); stroke-width: .8; }
.enq-ring--b { width: clamp(180px, 22vw, 340px); left: -6vw; bottom: 4vw; stroke: var(--blue-soft); stroke-width: 1; }
@media (max-width: 979px) {
  .enq-ring--a { width: 200px; right: -110px; top: -110px; }
  .enq-ring--b { display: none; }
}
.enq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .enq-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; } }
.enq-intro h2 { margin-bottom: 18px; }
.enq-or { margin: 26px 0 12px; font-weight: 700; }
.phone-list { list-style: none; display: grid; gap: 10px; }
.phone-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 16px;
  padding: 16px 20px; border-radius: 12px; background: #fff;
}
.pl-city { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.pl-num {
  grid-column: 1; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  color: var(--ink); text-decoration: none; white-space: nowrap; line-height: 1.15;
}
.pl-num:hover { color: var(--blue); }
.pl-wa {
  grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--pill); background: var(--mist); color: var(--blue);
  font-weight: 700; font-size: .9rem; text-decoration: none;
}
.pl-wa:hover { background: var(--sky); }
@media (max-width: 420px) { .pl-wa span:not(.sr-only) { display: none; } .pl-wa { padding: 10px; } }
/* What happens after sending, instead of the phones (the Contact page has them at the top) */
.enq-steps { list-style: none; counter-reset: step; display: grid; gap: 10px; }
.enq-steps li {
  counter-increment: step; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; border-radius: 12px; background: #fff; line-height: 1.45;
}
.enq-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%;
  border: 2.5px solid var(--orange); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1;
}

.form-card {
  position: relative; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-l);
  background: #fff; box-shadow: 0 40px 80px -46px rgba(224, 120, 0, .55), 0 1px 2px rgba(31, 42, 55, .05);
}
.form-title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: 20px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 7px; font-weight: 700; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px;
  border: 1.5px solid #cfd8e2; border-radius: 8px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 101, 141, .16); }
.phone-input { position: relative; }
.phone-input span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--ink-2); }
.phone-input input { padding-left: 54px; }
.select { position: relative; }
.select select { appearance: none; padding-right: 44px; }
.select .icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--blue); }
.field-hint { margin: 6px 0 0; font-size: .9rem; color: var(--ink-2); }
.field-err { margin: 6px 0 0; font-size: .95rem; font-weight: 700; color: var(--error); }
.has-error input, .has-error select { border-color: var(--error); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-privacy { margin: 0; font-size: .92rem; color: var(--ink-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 14px; padding: 16px 18px; margin-bottom: 20px; border-radius: var(--r); }
.notice:focus { outline: 3px solid var(--orange); outline-offset: 2px; }
.notice p { margin: 0 0 4px; }
.notice ul { margin: 4px 0 0 18px; }
.notice-ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; }
.notice--ok { background: var(--sky); }
.notice--ok .notice-ic { background: var(--blue); color: #fff; }
.notice--err { background: #fff1ef; color: #6d1a12; }
.notice--err .notice-ic { background: var(--error); color: #fff; }
.notice--err a { color: #6d1a12; }

/* ---------- Select boxes (Select2, theme "sd") ----------
   main.js hands every select to Select2 as it comes near the screen. The box
   looks exactly like the browser's own select above, so nothing moves when it
   arrives; the list opens as a card a little below (or above) the box. */
.select .icon { transition: transform .25s var(--ease); }
.select:has(.select2-container--open) .icon { transform: translateY(-50%) rotate(180deg); }
.select2-container--sd { display: block; }
.select2-container--sd .select2-selection--single {
  display: flex; align-items: center; height: auto; min-height: 54px; padding: 12px 44px 12px 16px;
  border: 1.5px solid #cfd8e2; border-radius: 8px; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.select2-container--sd .select2-selection--single .select2-selection__rendered { flex: 1; min-width: 0; padding: 0; }
.select2-container--sd .select2-selection__placeholder { color: var(--ink-2); }
.select2-container--sd .select2-selection__arrow { display: none; }
.select2-container--sd .select2-selection:focus,
.select2-container--sd.select2-container--open .select2-selection { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 101, 141, .16); }
.has-error .select2-container--sd .select2-selection { border-color: var(--error); }
.select2-container--sd.select2-container--disabled .select2-selection { background: var(--mist); cursor: not-allowed; }

.select2-container--sd.select2-container--open .select2-dropdown {
  overflow: hidden; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 18px 40px -12px rgba(31, 42, 55, .28), 0 2px 6px rgba(31, 42, 55, .06);
}
.select2-container--sd .select2-dropdown--below { margin-top: 6px; }
.select2-container--sd .select2-dropdown--above { margin-top: -6px; }
.select2-container--sd .select2-results > .select2-results__options { max-height: min(340px, 45vh); padding: 6px; overflow-y: auto; overscroll-behavior: contain; }
.select2-container--sd .select2-results__option {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 6px; line-height: 1.35;
}
.select2-container--sd .select2-results__option--highlighted { background: var(--sky); color: var(--ink); }
.select2-container--sd .select2-results__option--selected { font-weight: 700; color: var(--blue); }
/* A tick beside the current choice */
.select2-container--sd .select2-results__option--selected::after {
  content: ""; flex: none; width: 6px; height: 12px; margin: -3px 4px 0 auto;
  border: solid currentColor; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.select2-container--sd .select2-results__option--disabled { color: #9aa5b1; }
/* Groups, like the teams in the job list */
.select2-container--sd .select2-results__option--group { display: block; padding: 0; }
.select2-container--sd .select2-results__group {
  display: block; padding: 12px 12px 4px; cursor: default;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}

/* ---------- Date fields (flatpickr) ----------
   main.js gives every <input type="date"> a calendar. The visitor types
   nothing: the box shows the day in words, with a calendar icon. */
.field input.fp-alt {
  padding-right: 48px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2320658d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4M8 14h2.5M13.5 14H16M8 17h2.5'/%3E%3C/svg%3E") no-repeat right 15px center / 22px;
}
.field input.fp-alt.active { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 101, 141, .16); }
.flatpickr-calendar {
  padding: 8px 0 10px; border-radius: 12px; font-family: var(--font-body); color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--line), 0 18px 40px -12px rgba(31, 42, 55, .28), 0 2px 6px rgba(31, 42, 55, .06);
}
.flatpickr-calendar::before, .flatpickr-calendar::after { display: none; }
.flatpickr-calendar.arrowTop { margin-top: 6px; }
.flatpickr-calendar.arrowBottom { margin-top: -6px; }
.flatpickr-months .flatpickr-month { height: 40px; color: var(--ink); }
.flatpickr-current-month { padding-top: 9px; font: 800 1.15rem/1 var(--font-display); }
.flatpickr-current-month span.cur-month { font-weight: 800; }
.flatpickr-current-month input.cur-year { font-weight: 800; }
.flatpickr-current-month span.cur-month:hover { background: none; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
  top: 10px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border-radius: 50%;
  color: var(--blue); fill: none; transition: background-color .2s;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month { left: 8px; }
.flatpickr-months .flatpickr-next-month.flatpickr-next-month { right: 8px; }
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover { background: var(--sky); color: var(--blue-press); }
.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg,
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { width: 20px; height: 20px; fill: none; }
.flatpickr-weekdays { height: 32px; }
span.flatpickr-weekday { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.flatpickr-day { color: var(--ink); }
.flatpickr-day:hover, .flatpickr-day:focus,
.flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover,
.flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus { background: var(--sky); border-color: var(--sky); }
.flatpickr-day.today { border-color: var(--orange); }
.flatpickr-day.today:hover, .flatpickr-day.today:focus { background: var(--peach); border-color: var(--orange); color: var(--ink); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus,
.flatpickr-day.selected.prevMonthDay, .flatpickr-day.selected.nextMonthDay { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 700; }
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: rgba(31, 42, 55, .38); }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover { color: rgba(31, 42, 55, .2); }

/* ==========================================================================
   Footer (deepest blue)
   ========================================================================== */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate;
  /* the bottom padding keeps the last line clear of the WhatsApp button */
  margin-top: -40px; padding: 76px 0 calc(28px + 64px + env(safe-area-inset-bottom));
  border-radius: 20px 20px 0 0;
  background: var(--blue-deep); color: rgba(255, 255, 255, .86);
}
/* the eye in the top right corner, clear of the link columns */
.footer-rings { --gap: 30px; --ring: rgba(255, 255, 255, .05); right: max(64px, 8vw); top: max(70px, 15vw); width: max(50vw, 340px); translate: 50% -50%; }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, .35); }
.site-footer a:hover { color: #fff; text-decoration-color: var(--orange); }
.footer-top { display: grid; gap: 48px; }
@media (min-width: 980px) { .footer-top { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 64px; } }
.footer-logo { display: inline-block; margin-bottom: 10px; }
.footer-logo img { height: 96px; width: auto; }
.footer-hindi { margin: 0 0 16px !important; font-family: var(--font-hindi); font-weight: 800; font-size: 1.45rem; line-height: 1.3; color: #fff; }
.footer-brand p { max-width: 26em; }
.footer-brand .btn { margin-top: 8px; color: var(--ink); text-decoration: none; }
.footer-cols { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .footer-cols { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-h { margin-bottom: 14px; font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.footer-cols ul { list-style: none; display: grid; gap: 8px; }
.footer-branches { gap: 18px !important; }
.footer-branches li { display: grid; gap: 2px; }
.footer-branches strong { font-family: var(--font-display); font-size: 1.3rem; color: #fff; }
.footer-hours { font-size: .88rem; color: rgba(255, 255, 255, .72); }
.social { display: flex !important; gap: 10px !important; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); }
.social a:hover { background: rgba(255, 255, 255, .12); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .95rem;
}
.footer-bottom p { margin: 0; overflow-wrap: anywhere; }

/* ==========================================================================
   Floating WhatsApp button (every page, bottom right)
   Under the header (z-index 50), so the open phone menu covers it.
   ========================================================================== */
.wa-float {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
  transition: transform .2s var(--ease), bottom .3s var(--ease);
}
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }
@media (min-width: 760px) { .wa-float { right: 22px; bottom: 22px; width: 56px; height: 56px; } }

/* ==========================================================================
   "Nearest to you" notice (partials/branch-data.php, main.js)
   Once, on a first visit, after the site finds the visitor's nearest branch.
   On phones across the foot, above the WhatsApp button; on wide screens bottom left.
   ========================================================================== */
.near {
  position: fixed; left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 12px;
  padding: 12px 10px 14px 14px; border-radius: var(--r-l);
  background: var(--white); box-shadow: 0 1px 2px rgba(31, 42, 55, .08), 0 20px 44px -18px rgba(31, 42, 55, .45);
  animation: near-in .5s var(--ease) both; transition: bottom .3s var(--ease);
}
.near[hidden] { display: none; }
@keyframes near-in { from { opacity: 0; transform: translateY(18px); } }
.near-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sky); color: var(--blue); }
.near-msg { margin: 0; line-height: 1.35; }
.near-msg strong { color: var(--blue); }
.near-close {
  display: grid; place-items: center; align-self: start; width: 36px; height: 36px; padding: 0;
  border: 0; border-radius: 50%; background: none; color: var(--ink-2);
}
.near-close:hover { background: var(--mist); color: var(--ink); }
.near-alt {
  grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0; font-size: .95rem; color: var(--ink-2);
}
.near-alt button {
  min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--pill);
  background: var(--white); color: var(--blue); font-weight: 600; line-height: 1;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.near-alt button:hover { border-color: var(--blue); background: var(--sky); }
@media (min-width: 760px) { .near { left: 22px; right: auto; bottom: 22px; width: 460px; } }

/* ==========================================================================
   Treatment pages (/services/...)
   A pale blue page head with the treatment's round photo, then a white sheet:
   "On this page" on the left (sticky on wide screens), the sections on the right.
   ========================================================================== */
.if-js { display: none; }
.js .if-js { display: inline; }
.tp-hero [lang="hi"], .tp-body [lang="hi"] { font-weight: 600; }

/* ---------- Page head ---------- */
.tp-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(18px, 3vw, 40px) 0 clamp(56px, 7vw, 104px); }
.tp-hero-rings {
  /* lens ripples, the eye in the right margin beside the title (clear of the longest one) */
  --ring: rgba(32, 101, 141, .07); --eye: rgba(32, 101, 141, .12);
  right: 70px; top: 30vw; width: min(80vw, 1000px); translate: 50% -50%;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent);
  mask-image: radial-gradient(closest-side, #000 45%, transparent);
}
@media (max-width: 859px) {
  /* a profile's photo sits beside the name: the ripples spread from behind it */
  .pf-hero .tp-hero-rings { right: auto; left: calc(var(--gutter) + 54px); top: 116px; translate: -50% -50%; }
  /* the about and career titles run the full width: the eye goes up beside the short breadcrumb */
  .ab-hero .tp-hero-rings, .cr-hero .tp-hero-rings { top: 36px; }
}
@media (min-width: 860px) {
  /* the eye under the right column's photo, card or map, in the space the
     bottom padding leaves. --col: that column's width in each page's grid. */
  .tp-hero-rings {
    --gap: 32px; --col: clamp(280px, 31vw, 410px);
    top: auto; right: calc(max(var(--gutter), (100% - var(--wrap)) / 2) + var(--col) / 2);
    bottom: calc(clamp(56px, 7vw, 104px) / 2); translate: 50% 50%;
  }
  .pf-hero .tp-hero-rings { --col: clamp(260px, 27vw, 350px); }
  .dl-hero .tp-hero-rings { --col: clamp(280px, 30vw, 360px); }
  .loc-hero .tp-hero-rings { --col: clamp(280px, 30vw, 390px); }
  .ab-hero .tp-hero-rings { --col: clamp(320px, 36vw, 470px); }
  .ct-hero .tp-hero-rings { --col: clamp(330px, 33vw, 420px); }
  .cr-hero .tp-hero-rings { --col: clamp(300px, 33vw, 420px); }
}
.tp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 860px) { .tp-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(280px, 31vw, 410px); gap: clamp(40px, 5vw, 88px); } }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; list-style: none; font-size: .92rem; font-weight: 700; color: var(--ink-2); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 7px; height: 7px; margin: 0 11px; border-radius: 50%; border: 2px solid var(--orange); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; text-decoration-color: var(--orange); }
.crumbs [aria-current] { color: var(--blue); }

.tp-title { margin: 22px 0 0; }
.tp-name { display: block; font-size: clamp(2.9rem, 1.7rem + 5vw, 5.6rem); line-height: .95; letter-spacing: -.035em; }
.tp-exp { display: block; margin-top: 12px; font-family: var(--font-body); font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--ink-2); }
.tp-hi { display: block; margin-top: 12px; font-family: var(--font-hindi); font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.2rem); font-weight: 600 !important; line-height: 1.3; letter-spacing: 0; color: var(--blue); }
.tp-lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: var(--ink-2); }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tp-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tp-facts li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: var(--pill);
  background: rgba(255, 255, 255, .72); border: 1.5px solid var(--cream-line);
  font-weight: 700; font-size: .92rem; line-height: 1.25;
}
.tp-facts li::before { content: ""; flex: none; width: 15px; height: 15px; border-radius: 50%; border: 3px solid var(--orange); }

/* A box in the page head: urgent (retinal detachment) or info (ROP) */
.tp-alert { display: flex; gap: 14px; align-items: flex-start; max-width: 37em; margin-top: 24px; padding: 14px 18px; border-radius: var(--r); line-height: 1.5; }
.tp-alert p { margin: 0; }
.tp-alert strong { color: var(--ink); }
.tp-alert-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; }
.tp-alert-ic .icon { width: 20px; height: 20px; }
.tp-alert--urgent { background: var(--peach); box-shadow: inset 0 0 0 2px var(--orange); }
.tp-alert--urgent .tp-alert-ic { background: var(--orange); color: var(--ink); }
.tp-alert--info { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sky-2); }
.tp-alert--info .tp-alert-ic { background: var(--sky); color: var(--blue); }

/* The round photo, as in the home page treatment list */
.tp-lens { position: relative; width: min(66vw, 320px); aspect-ratio: 1; margin: 0 auto; }
@media (min-width: 860px) { .tp-lens { width: 100%; margin: 0; } }
.tp-lens-disc { position: absolute; right: -7%; top: -6%; width: 58%; aspect-ratio: 1; border-radius: 50%; background: var(--sky-2); }
.tp-lens-ring { position: absolute; left: -2%; top: -4%; width: 104%; overflow: visible; fill: none; stroke: var(--orange); stroke-width: .6; }
.tp-lens-img { position: absolute; inset: 3%; }
.tp-lens-img picture {
  display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%;
  background: var(--sky-2); box-shadow: 0 0 0 8px #fff, 0 46px 70px -42px rgba(32, 101, 141, .7);
}
.tp-lens-img img { width: 100%; height: 100%; object-fit: cover; }
.tp-lens-chip {
  position: absolute; left: -8%; bottom: 3%; max-width: 112%;
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: var(--pill);
  background: #fff; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; line-height: 1.2;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tp-lens-chip:hover { color: var(--ink); transform: translateY(-2px); }
.tp-lens-chip strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.tp-lens-chip small { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.tp-lens-chip-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--orange); color: var(--ink); }
.tp-lens-chip-ic .icon { width: 20px; height: 20px; }
@media (max-width: 859px) { .tp-lens-chip { left: -14%; } }

/* ---------- The white sheet ---------- */
.tp-body {
  position: relative; background: #fff; border-radius: var(--curve) var(--curve) 0 0;
  padding: clamp(28px, 5vw, 80px) 0 calc(var(--section-y) + var(--curve));
}
/* minmax(0, ...) so the sideways chip list cannot widen the column */
.tp-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
@media (min-width: 1080px) {
  .tp-layout { grid-template-columns: 236px minmax(0, 1fr); gap: clamp(48px, 5vw, 84px); align-items: start; }
  .tp-side { position: sticky; top: calc(var(--header-h) + 12px); display: grid; gap: 22px; }
}

/* On this page: chips that scroll sideways on phones, a list beside the text on wide screens */
.toc-label { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.toc-list {
  list-style: none; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px;
}
.toc-list::-webkit-scrollbar { display: none; }
.toc-list a {
  display: block; white-space: nowrap; padding: 9px 15px; border-radius: var(--pill);
  background: var(--mist); color: var(--ink); font-weight: 700; text-decoration: none;
}
.toc-list a:hover { background: var(--sky); color: var(--blue); }
@media (min-width: 1080px) {
  .toc-list { display: grid; gap: 2px; margin: 0; padding: 0; overflow: visible; border-left: 2px solid var(--line); }
  .toc-list a {
    margin-left: -2px; padding: 8px 12px 8px 20px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0;
    background: none; color: var(--ink-2); white-space: normal; line-height: 1.3;
    transition: color .2s, background-color .2s, border-color .2s;
  }
  .toc-list a:hover { background: var(--sky); }
  .toc-list a.is-active { border-left-color: var(--orange); background: linear-gradient(to right, var(--sky), transparent); color: var(--blue); }
}

/* A small card under the list with the branch number (wide screens with room) */
.help-card { display: none; }
@media (min-width: 1080px) and (min-height: 780px) { .help-card { display: block; padding: 20px; border-radius: 16px; background: var(--sky); } }
.help-title { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; line-height: 1.15; letter-spacing: -.01em; }
.help-text { margin: 0 0 14px; font-size: .94rem; line-height: 1.45; color: var(--ink-2); }
.help-phone {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 12px;
  background: #fff; color: var(--ink); text-decoration: none; line-height: 1.2;
  transition: box-shadow .25s var(--ease);
}
.help-phone:hover { color: var(--blue); box-shadow: var(--shadow-card); }
.help-phone-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; }
.help-phone-ic .icon { width: 18px; height: 18px; }
.help-city { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.help-phone strong { white-space: nowrap; }
.help-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; font-size: .95rem; }
.help-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.help-links .icon { width: 18px; height: 18px; }

/* ---------- Sections ---------- */
.tp-sec + .tp-sec { margin-top: clamp(64px, 7vw, 112px); }
.tp-sec h2 { max-width: 17em; margin-bottom: 20px; font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); }
.tp-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.tp-kicker span {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2.5px solid var(--orange);
  font-family: var(--font-display); font-size: .82rem; letter-spacing: 0; color: var(--ink);
}
.on-blue .tp-kicker { color: rgba(255, 255, 255, .8); }
.on-blue .tp-kicker span { color: #fff; }
.tp-sec-lead { max-width: 40em; margin: -4px 0 26px; font-size: 1.08rem; color: var(--ink-2); }
.tp-prose p { max-width: 40em; }
.tp-prose p:last-child { margin-bottom: 0; }

.tp-box { margin-top: 30px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: var(--sky); }
.tp-box-title { margin-bottom: 16px; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.01em; }
.ring-list { list-style: none; display: grid; gap: 12px 32px; }
/* two columns only for longer lists */
@media (min-width: 640px) { .ring-list:has(> li:nth-child(5)) { grid-template-columns: 1fr 1fr; } }
.ring-list li { position: relative; padding-left: 28px; line-height: 1.45; }
.ring-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 17px; height: 17px; border-radius: 50%;
  border: 3px solid var(--orange); background: #fff;
}
.tp-box-note { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 0; padding-top: 18px; border-top: 1.5px solid var(--sky-2); font-weight: 700; line-height: 1.45; }
.tp-box-note .icon { margin-top: 1px; color: var(--blue); }

/* Signs: each one marked with a small lens */
.sign-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .sign-grid { grid-template-columns: 1fr 1fr; } }
.sign {
  position: relative; padding: 20px 22px 20px 60px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff;
  transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.sign::before {
  content: ""; position: absolute; left: 20px; top: 21px; width: 24px; height: 24px; border-radius: 50%;
  border: 3px solid var(--orange); background: radial-gradient(circle, var(--blue) 0 4px, transparent 4.5px);
}
.sign:hover { border-color: var(--sky-2); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.sign-title { margin-bottom: 6px; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
.sign p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

.tp-urgent {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 22px; padding: clamp(20px, 3vw, 30px);
  border-radius: var(--r-l); background: var(--peach); box-shadow: inset 0 0 0 2px var(--orange);
}
.tp-urgent-ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--orange); color: var(--ink); }
.tp-urgent-tag {
  display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: var(--pill); background: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a4b00;
}
.tp-urgent-title { margin-bottom: 12px; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); line-height: 1.15; }
.tp-urgent-body p { max-width: 38em; }
@media (max-width: 520px) { .tp-urgent { flex-direction: column; } }
.dash-list { list-style: none; display: grid; gap: 9px; margin: 0 0 18px; }
.dash-list li { position: relative; padding-left: 22px; line-height: 1.45; }
.dash-list li::before { content: ""; position: absolute; left: 2px; top: .66em; width: 11px; height: 2.5px; border-radius: 2px; background: var(--orange); }

/* ---------- How it can look: the clear photo, with the changed copy over its right part ---------- */
.sim { margin: 0; }
.sim-frame {
  --split: 50%;
  position: relative; overflow: hidden; aspect-ratio: 1460 / 912; border-radius: var(--r-l);
  background: var(--navy); box-shadow: 0 40px 70px -46px rgba(14, 58, 86, .85);
  -webkit-user-select: none; user-select: none;
}
.sim-view, .sim-view picture, .sim-view img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sim-view img { object-fit: cover; }
.sim-view--fx { clip-path: inset(0 0 0 var(--split)); }
.sim-view--fx::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.sim-layer { display: none; }
.sim-handle { position: absolute; top: 0; bottom: 0; left: var(--split); z-index: 3; width: 0; pointer-events: none; }
.sim-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: #fff; box-shadow: 0 0 14px rgba(0, 0, 0, .4); }
.sim-knob {
  position: absolute; top: 50%; left: 0; display: none; place-items: center;
  width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff; color: var(--blue); box-shadow: 0 0 0 4px var(--orange), 0 12px 26px -8px rgba(0, 0, 0, .55);
}
.js .sim-knob { display: grid; }
.sim-knob .icon { width: 26px; height: 26px; }
.sim-frame:has(.sim-range:focus-visible) .sim-knob { outline: 3px solid #fff; outline-offset: 5px; }
.sim-range { display: none; }
.js .sim-range {
  display: block; position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.sim-tag {
  position: absolute; top: 14px; z-index: 2; padding: 6px 12px; border-radius: var(--pill);
  background: rgba(10, 44, 66, .66); color: #fff; font-weight: 700; font-size: .85rem; line-height: 1.2;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  pointer-events: none; transition: opacity .2s;
}
.sim-tag--clear { left: 14px; }
.sim-tag--fx { right: 14px; background: var(--orange); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.sim-frame.hide-clear .sim-tag--clear, .sim-frame.hide-fx .sim-tag--fx { opacity: 0; }
.sim-note { margin-top: 12px; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 520px) { .sim-tag { top: 10px; font-size: .78rem; padding: 5px 10px; } .sim-tag--clear { left: 10px; } .sim-tag--fx { right: 10px; } }

/* The changes. Rough pictures of each problem, not exact. */
.sim--cataract .sim-base img { filter: blur(2.6px) sepia(.55) saturate(1.25) contrast(.7) brightness(1.08); }
.sim--cataract .sim-layer, .sim--cornea .sim-layer { display: block; mix-blend-mode: screen; opacity: .55; }
.sim--cataract .sim-layer img { filter: blur(16px) brightness(1.45) saturate(1.2); }
.sim--cataract .sim-view--fx::after { background: rgba(255, 236, 190, .16); }
.sim--cornea .sim-base img { filter: blur(3.4px) contrast(.72) brightness(1.06) saturate(.85); }
.sim--cornea .sim-layer img { filter: blur(22px) brightness(1.4); }
.sim--cornea .sim-view--fx::after { background: radial-gradient(70% 80% at 55% 40%, rgba(255, 255, 255, .4), rgba(255, 255, 255, .2)); }
.sim--glaucoma .sim-base img { filter: blur(7px) brightness(.6) saturate(.6); }
.sim--glaucoma .sim-layer {
  display: block;
  -webkit-mask-image: radial-gradient(26% 34% at 64% 32%, #000 40%, transparent 100%);
  mask-image: radial-gradient(26% 34% at 64% 32%, #000 40%, transparent 100%);
}
.sim--glaucoma .sim-view--fx::after { background: radial-gradient(52% 66% at 64% 32%, transparent 30%, rgba(8, 16, 24, .42) 70%, rgba(8, 16, 24, .74)); }
.sim--diabetic-retinopathy .sim-base img { filter: blur(1.4px) saturate(.72) contrast(.92); }
.sim--diabetic-retinopathy .sim-view--fx::after {
  background:
    radial-gradient(8% 12% at 64% 30%, rgba(16, 10, 10, .9), rgba(16, 10, 10, .55) 55%, transparent),
    radial-gradient(6% 9% at 78% 62%, rgba(16, 10, 10, .82), transparent),
    radial-gradient(11% 15% at 90% 20%, rgba(16, 10, 10, .72), transparent),
    radial-gradient(5% 8% at 58% 72%, rgba(16, 10, 10, .78), transparent),
    radial-gradient(3.5% 5.5% at 72% 13%, rgba(16, 10, 10, .75), transparent),
    radial-gradient(7% 10% at 93% 82%, rgba(16, 10, 10, .65), transparent),
    radial-gradient(2.5% 4% at 85% 44%, rgba(120, 20, 10, .55), transparent);
}
.sim--retinal-detachment .sim-base img { filter: blur(1.5px) saturate(.9); }
.sim--retinal-detachment .sim-view--fx::after {
  background:
    radial-gradient(1% 1.6% at 60% 64%, rgba(10, 10, 10, .75), transparent),
    radial-gradient(1.4% 2.2% at 67% 76%, rgba(10, 10, 10, .6), transparent),
    radial-gradient(.8% 1.3% at 73% 58%, rgba(10, 10, 10, .7), transparent),
    radial-gradient(130% 80% at 104% -12%, rgba(8, 12, 20, .97) 48%, rgba(8, 12, 20, .78) 57%, transparent 70%);
}
.sim--icl .sim-base img { filter: blur(9px) brightness(1.04); }
.sim--amblyopia .sim-base img { filter: blur(5px) contrast(.8) saturate(.85); }
.sim--squint .sim-layer { display: block; opacity: .5; }
.sim--squint .sim-layer img { transform: translate(5%, 2.5%); }

/* ---------- Tests ---------- */
.test-list { list-style: none; display: grid; gap: 0 40px; border-top: 1.5px solid var(--line); }
.test { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1.5px solid var(--line); }
@media (min-width: 760px) {
  .test-list { grid-template-columns: 1fr 1fr; border-top: 0; }
  .test { border-top: 1.5px solid var(--line); border-bottom: 0; }
}
.test-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--sky); font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--blue);
}
.test-name { margin: 9px 0 6px; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
.test p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- Treatment options ---------- */
.option-list { list-style: none; border-top: 1.5px solid var(--line); }
.option { display: grid; gap: 8px 36px; padding: 24px 0; border-bottom: 1.5px solid var(--line); }
@media (min-width: 760px) { .option { grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); align-items: start; } }
.option-when {
  display: inline-block; margin: 0 0 8px; padding: 3px 11px; border-radius: var(--pill);
  background: var(--sky); color: var(--blue); font-size: .8rem; font-weight: 700; line-height: 1.4;
}
.option-name { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.1; letter-spacing: -.015em; }
.option-text { margin: 0; color: var(--ink-2); }
@media (min-width: 760px) { .option-text { padding-top: 30px; } }

/* Cataract lens choices: each with a little lens drawn in CSS */
.tp-extra > p { max-width: 40em; margin-bottom: 18px; color: var(--ink-2); }
.extra-grid { list-style: none; display: grid; gap: 12px; }
@media (min-width: 700px) { .extra-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.extra-grid li { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 14px; background: #fff; }
.extra-grid strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.15; }
.extra-grid span:not(.extra-lens) { font-size: .97rem; line-height: 1.5; color: var(--ink-2); }
.extra-lens { width: 40px; height: 40px; margin-bottom: 4px; border-radius: 50%; border: 2.5px solid var(--blue); background: var(--sky); }
.extra-grid li:nth-child(2) .extra-lens { background: linear-gradient(135deg, transparent 45%, var(--orange) 45% 55%, transparent 55%), var(--sky); }
.extra-grid li:nth-child(3) .extra-lens { background: repeating-radial-gradient(circle, var(--sky) 0 3.5px, var(--blue-soft) 3.5px 5px); }

.pay { display: flex; gap: 16px; align-items: flex-start; margin-top: 26px; padding: 20px 22px; border-radius: var(--r-l); border: 1.5px dashed var(--blue-soft); }
.pay-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--blue); color: #fff; }
.pay-title { margin-bottom: 4px; font-size: 1.2rem; line-height: 1.2; }
.pay p { margin: 0; color: var(--ink-2); }

/* ---------- On the day: steps on a blue panel ---------- */
.tp-sec--blue {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4vw, 56px); border-radius: 24px; background: var(--blue); color: #fff;
}
@media (max-width: 599px) { .tp-sec--blue { margin-inline: calc(8px - var(--gutter)); padding: 30px 22px; } }
.tp-blue-rings { --gap: 28px; --ring: rgba(255, 255, 255, .07); right: -170px; top: -170px; width: 480px; }
.steps { list-style: none; display: grid; margin-top: 8px; }
.step { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 54px; bottom: 6px; border-left: 2px dashed rgba(255, 255, 255, .35); }
.step-n {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--orange);
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #fff;
}
.step-title { margin: 10px 0 6px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; color: #fff; }
.step p { max-width: 40em; margin: 0; color: rgba(255, 255, 255, .88); }

/* ---------- Afterwards ---------- */
.after-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .after-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: start; } }
.after-h { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 1.25rem; line-height: 1.2; }
.check-list { list-style: none; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.check-list .icon { flex: none; width: 26px; height: 26px; margin-top: 0; padding: 4px; border-radius: 50%; background: var(--sky); color: var(--blue); stroke-width: 2.6; }
.after-call { padding: clamp(20px, 3vw, 28px); border-radius: var(--r-l); background: var(--peach); }
.after-call .after-h .icon { color: var(--orange); }

/* ---------- Doctors ---------- */
.dr-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 700px) { .dr-grid { grid-template-columns: 1fr 1fr; } }
.dr {
  position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.dr:hover { border-color: var(--sky-2); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.dr-photo picture { display: block; width: 84px; height: 84px; overflow: hidden; border-radius: 50%; background: var(--sky-2); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--sky-2); }
.dr--director .dr-photo picture { box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange); }
.dr-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.dr-badge { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: var(--pill); background: var(--orange); color: var(--ink); font-size: .78rem; font-weight: 700; }
.dr-name { font-size: 1.25rem; line-height: 1.15; letter-spacing: -.01em; }
.dr-name a { color: var(--ink); text-decoration: none; }
.dr-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.dr-name a:focus-visible { outline: none; }
.dr:has(.dr-name a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.dr:hover .dr-name a { color: var(--blue); }
.dr-spec { margin: 4px 0 10px; font-size: .95rem; line-height: 1.35; color: var(--ink-2); }
.dr-where { list-style: none; display: grid; gap: 4px; font-size: .9rem; line-height: 1.35; color: var(--ink-2); }
.dr-where li { display: flex; gap: 6px; align-items: flex-start; }
.dr-where .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--orange); }
.dr-where strong { color: var(--ink); }
.dr-go {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--blue);
  transition: background-color .25s, border-color .25s, color .25s;
}
.dr:hover .dr-go { background: var(--orange); border-color: var(--orange); color: var(--ink); }
@media (max-width: 420px) {
  .dr { grid-template-columns: 64px minmax(0, 1fr); }
  .dr-photo picture { width: 64px; height: 64px; }
  .dr-go { display: none; }
}

/* No named doctor yet: the three branches instead */
.branch-mini { list-style: none; display: grid; gap: 12px; margin-bottom: 24px; }
@media (min-width: 700px) { .branch-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.branch-mini li { display: grid; gap: 6px; align-content: start; padding: 18px 20px; border-radius: 14px; background: var(--sky); }
.bm-city { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; }
.bm-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.05rem; text-decoration: none; white-space: nowrap; }
.bm-phone .icon { width: 18px; height: 18px; }
.bm-hours { display: flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--ink-2); }
.bm-hours .icon { width: 16px; height: 16px; color: var(--orange); }

/* ---------- Questions ---------- */
.faq { border-top: 1.5px solid var(--line); }
.faq-item { border-bottom: 1.5px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0;
  list-style: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.12rem, 1rem + .5vw, 1.35rem); line-height: 1.25; letter-spacing: -.01em;
  transition: color .2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--blue); }
.faq-ic {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--cream-line);
  transition: background-color .25s, border-color .25s;
}
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px;
  border-radius: 2px; background: var(--blue); transition: transform .3s var(--ease);
}
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic { background: var(--orange); border-color: var(--orange); }
.faq-item[open] .faq-ic::before, .faq-item[open] .faq-ic::after { background: var(--ink); }
.faq-item[open] .faq-ic::after { transform: rotate(0deg); }
.faq-a { padding: 0 58px 22px 0; }
.faq-a p { max-width: 44em; margin: 0; color: var(--ink-2); }
.faq-item[open] .faq-a { animation: fade-in .35s var(--ease); }
@media (max-width: 520px) { .faq-a { padding-right: 0; } }

/* ---------- The end of the page: a note and related treatments ---------- */
.tp-end { display: grid; gap: 40px; margin-top: clamp(56px, 6vw, 88px); }
.tp-note {
  display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 16px 18px; border-radius: var(--r);
  background: var(--mist); font-size: .95rem; line-height: 1.5; color: var(--ink-2);
}
.tp-note .icon { margin-top: 1px; color: var(--blue); }
.related-title { margin-bottom: 16px; font-size: 1.5rem; }
.related-list { list-style: none; display: grid; gap: 10px; }
@media (min-width: 640px) { .related-list { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
.related-list a {
  display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: var(--pill);
  border: 1.5px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease), color .2s;
}
.related-list a:hover { border-color: var(--sky-2); box-shadow: var(--shadow-card); transform: translateY(-2px); color: var(--blue); }
.related-img picture { display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: var(--sky-2); }
.related-img img { width: 100%; height: 100%; object-fit: cover; }
.related-name { flex: 1; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.15; }
.related-name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .82rem; color: var(--ink-2); }
.related-list .icon { color: var(--blue); }

/* ==========================================================================
   Doctor pages (/doctors/ and /doctors/{name}/)
   The list is white cards on the pale blue page, each with a square photo.
   A profile has the page head of a treatment page with the portrait in a
   rounded square (as in the home page rail), then the white sheet with "When
   and where" beside the text (first, on phones).
   ========================================================================== */

/* ---------- The week: seven small lenses, filled on OPD days, today ringed ---------- */
.wk { display: flex; gap: 5px; padding-bottom: 16px; }
.wk-d {
  position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--sky-2); background: #fff;
  font: 700 .74rem/1 var(--font-body); color: var(--ink-2);
}
.wk-d.is-on { border-color: var(--blue); background: var(--blue); color: #fff; }
.wk-d.is-today { box-shadow: 0 0 0 2px var(--sky), 0 0 0 4px var(--orange); }
.wk-d.is-today::after {
  content: attr(data-today); position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0;
  font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}

/* ---------- The list: page head ---------- */
.dl-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: end; }
@media (min-width: 860px) { .dl-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 360px); gap: clamp(40px, 5vw, 88px); } }
.dl-hero .tp-name em { color: var(--blue); }

/* Branch filter: only with JavaScript (main.js), otherwise every doctor shows */
.dl-filter { display: none; min-width: 0; margin: 30px 0 0; padding: 0; border: 0; }
.js .dl-filter { display: block; }
.dl-filter legend { margin: 0 0 10px; padding: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.dl-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.dl-opt { position: relative; display: inline-flex; }
.dl-opt input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.dl-opt span {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: var(--pill);
  background: #fff; border: 1.5px solid var(--cream-line); font-weight: 700; line-height: 1.2; color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s var(--ease);
}
.dl-opt span .icon { width: 17px; height: 17px; margin-left: -4px; color: var(--orange); }
.dl-opt:hover span { border-color: var(--blue-soft); }
.dl-opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.dl-opt input:checked + span .icon { color: var(--orange-soft); }
.dl-opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 3px; }

/* "Not sure which doctor to see?" beside the heading (wide screens; phones have the call bar) */
.dl-help { display: none; }
@media (min-width: 860px) {
  .dl-help { display: block; padding: 24px; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-card); }
  .dl-help .help-phone { background: var(--sky); }
}

/* ---------- The list: cards ---------- */
.dl-body { padding: 0 0 calc(var(--section-y) + var(--curve)); }
.dl-grid { list-style: none; display: grid; gap: 14px; }
@media (min-width: 700px) { .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1080px) { .dl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1240px) { .dl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dl-card {
  position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 16px 18px 18px 16px; border-radius: var(--r-l); background: #fff;
  box-shadow: 0 1px 2px rgba(31, 42, 55, .05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.dl-card[hidden] { display: none; }
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.dl-card:has(.dl-name a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (min-width: 700px) {
  .dl-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; gap: 0; padding: 12px 12px 22px; }
}
.dl-photo { position: relative; }
.dl-photo picture {
  display: block; aspect-ratio: 3 / 4; overflow: hidden;
  border-radius: var(--r); background: var(--sky-2);
}
.dl-card--director .dl-photo picture { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange); }
.dl-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .7s var(--ease); }
.dl-card:hover .dl-photo img { transform: scale(1.04); }
.dl-badge {
  position: absolute; left: 50%; bottom: -10px; translate: -50% 0;
  padding: 3px 12px; border-radius: var(--pill); background: var(--orange); color: var(--ink);
  font-size: .8rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-orange);
}
@media (max-width: 699px) { .dl-badge { bottom: -8px; padding: 1px 9px; font-size: .72rem; } }
.dl-info { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 700px) { .dl-info { padding: 24px 10px 0; } }
.dl-role { margin: 0 0 4px; font-size: .88rem; font-weight: 700; line-height: 1.3; color: var(--blue); }
.dl-name { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.5rem); line-height: 1.1; letter-spacing: -.015em; }
.dl-name a { color: var(--ink); text-decoration: none; }
.dl-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-l); }
.dl-name a:focus-visible { outline: none; }
.dl-card:hover .dl-name a { color: var(--blue); }
.dl-spec { margin: 6px 0 0; font-size: .97rem; line-height: 1.4; color: var(--ink); }
.dl-quals { margin: 6px 0 0; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.dl-where { list-style: none; display: grid; gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1.5px solid var(--line); font-size: .92rem; line-height: 1.35; color: var(--ink-2); }
.dl-where li { display: flex; gap: 6px; align-items: flex-start; margin-inline: -6px; padding: 3px 6px; border-radius: 6px; transition: background-color .25s; }
.dl-where .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--orange); }
.dl-where strong { color: var(--ink); }
.dl-where li.is-match { background: var(--sky); }
.dl-treats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.dl-treats li { padding: 3px 10px; border-radius: var(--pill); background: var(--mist); font-size: .8rem; font-weight: 700; line-height: 1.4; color: var(--ink-2); }
.dl-more { display: none; }
@media (min-width: 700px) {
  .dl-more { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 18px; font-weight: 700; color: var(--blue); }
  .dl-more .icon { transition: transform .25s var(--ease); }
  .dl-card:hover .dl-more .icon { transform: translateX(4px); }
}
.dl-empty { margin: 0; padding: 18px 20px; border-radius: var(--r); background: #fff; font-weight: 700; }

/* ---------- A profile: page head ---------- */
/* Phones: a small portrait beside the name, as in a doctor's card.
   Wide screens: the text on the left, a large portrait on the right. */
.pf-grid {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 18px;
  grid-template-areas: "crumbs crumbs" "photo role" "photo name" "spec spec" "quals quals" "actions actions";
}
.pf-copy { display: contents; }
.pf-copy .crumbs { grid-area: crumbs; margin-bottom: 22px; }
.pf-role { grid-area: role; align-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-weight: 700; line-height: 1.25; color: var(--blue); }
.pf-badge { padding: 3px 12px; border-radius: var(--pill); background: var(--orange); color: var(--ink); font-size: .85rem; box-shadow: var(--shadow-orange); }
.pf-name { grid-area: name; align-self: start; font-size: clamp(1.95rem, 1.2rem + 3.4vw, 2.7rem); line-height: 1; letter-spacing: -.03em; }
.pf-spec { grid-area: spec; margin: 22px 0 0; max-width: 30em; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 700; line-height: 1.3; color: var(--ink-2); }
.pf-quals { grid-area: quals; margin-top: 16px; }
.pf-actions { grid-area: actions; }
.pf-photo { grid-area: photo; position: relative; margin: 0; }
.pf-photo-img picture {
  display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r);
  background: var(--sky-2); box-shadow: 0 0 0 4px #fff, 0 22px 40px -26px rgba(32, 101, 141, .7);
}
.pf-photo-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.pf-photo-disc, .pf-photo-ring, .pf-chip { display: none; }

@media (min-width: 860px) {
  .pf-grid { grid-template-columns: minmax(0, 1fr) clamp(260px, 27vw, 350px); grid-template-areas: "copy photo"; column-gap: clamp(40px, 6vw, 104px); align-items: center; }
  .pf-copy { display: block; grid-area: copy; }
  .pf-copy .crumbs { margin-bottom: 0; }
  .pf-role { margin: 26px 0 14px; }
  .pf-name { font-size: clamp(3rem, 1.3rem + 3.6vw, 4.9rem); line-height: .95; letter-spacing: -.035em; }
  .pf-spec { margin-top: 18px; }
  .pf-quals { margin-top: 22px; }
  .pf-photo { margin-top: 18px; }
  .pf-photo-img picture { border-radius: var(--r-l); box-shadow: 0 0 0 8px #fff, 0 46px 70px -42px rgba(32, 101, 141, .7); }
  .pf-photo-disc { display: block; position: absolute; z-index: -1; right: -12%; top: -6%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--sky-2); }
  /* an orange frame around the top of the photo, outside its white border */
  .pf-photo-ring {
    display: block; position: absolute; inset: -22px; pointer-events: none;
    border: 2px solid var(--orange); border-radius: calc(var(--r-l) + 22px);
    clip-path: inset(0 0 58% 0);
  }
  .pf-chip {
    position: absolute; left: -12%; bottom: 7%; max-width: 116%;
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: var(--pill);
    background: #fff; box-shadow: var(--shadow-card); color: var(--ink); text-decoration: none; line-height: 1.2;
    transition: transform .25s var(--ease);
  }
  .pf-chip:hover { color: var(--ink); transform: translateY(-2px); }
  .pf-chip small { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
  .pf-chip strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; }
  .pf-chip-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--orange); color: var(--ink); }
  .pf-chip-ic .icon { width: 20px; height: 20px; }
}

/* ---------- A profile: the white sheet ---------- */
.pf-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 1080px) {
  .pf-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(48px, 5vw, 88px); align-items: start; }
  .pf-side { grid-column: 2; grid-row: 1; }
  .pf-main { grid-column: 1; grid-row: 1; }
}
/* Stays beside the text while it scrolls, when the screen is tall enough to show all of it */
@media (min-width: 1080px) and (min-height: 820px) { .pf-side { position: sticky; top: calc(var(--header-h) + 12px); } }
.pf-main .tp-sec + .tp-sec { margin-top: clamp(56px, 6vw, 88px); }
.pf-main .tp-sec h2 { font-size: clamp(1.9rem, 1.35rem + 2vw, 2.7rem); }
.pf-h3 { margin: 34px 0 14px; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.01em; }

/* When and where */
.where { padding: clamp(20px, 3vw, 26px); border-radius: var(--r-l); background: var(--sky); }
.where-title { margin-bottom: 2px; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.015em; }
.where-list { list-style: none; }
.where-item { padding: 18px 0; border-bottom: 1.5px solid var(--sky-2); }
.where-item:last-child { padding-bottom: 4px; border-bottom: 0; }
/* Tablets: the card runs the full width, so branches sit side by side */
@media (min-width: 640px) and (max-width: 1079px) {
  .where-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); column-gap: 40px; }
  .where-item { padding-bottom: 4px; border-bottom: 0; }
}
.where-city { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.01em; }
.where-branch { margin: 2px 0 14px; font-size: .92rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.where-days p { margin: 10px 0 0; font-size: .97rem; line-height: 1.4; }
.where-label { font-weight: 700; }
.where-none { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--r-s); background: #fff; font-size: .95rem; line-height: 1.4; }
.where-phone { margin-top: 14px; }
.where-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 0; }
.where-links a { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: .95rem; text-decoration: none; }
.where-links a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.where-links .icon { width: 18px; height: 18px; }
.where-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding-top: 16px; border-top: 1.5px solid var(--sky-2); font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.where-note .icon { width: 19px; height: 19px; margin-top: 1px; color: var(--orange); }

/* Figures from the doctor's record, each in a ring */
.pf-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 40px; margin-top: 30px; }
.pf-stat { display: flex; align-items: center; gap: 14px; }
.pf-stat-fig {
  display: grid; place-items: center; flex: none; width: 104px; aspect-ratio: 1; border-radius: 50%;
  border: 3px solid var(--orange); font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  letter-spacing: -.02em; color: var(--blue); font-variant-numeric: tabular-nums;
}
.pf-stat-label { max-width: 11em; font-weight: 700; line-height: 1.3; }

/* Training: a line of lenses down the side */
.pf-timeline { list-style: none; }
.pf-timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 24px 38px; line-height: 1.45; }
.pf-timeline li:last-child { padding-bottom: 0; }
.pf-timeline li::before {
  content: ""; position: absolute; left: 0; top: .15em; z-index: 1; width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid var(--orange); background: #fff;
}
.pf-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 1.6em; bottom: 4px; border-left: 2px dashed var(--cream-line); }
.pf-timeline strong { font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; line-height: 1.2; letter-spacing: -.01em; }
.pf-timeline span { color: var(--ink-2); }

.pf-awards { list-style: none; display: grid; gap: 10px; }
.pf-awards li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px 14px 14px; border-radius: 14px; border: 1.5px solid var(--line); line-height: 1.45; }
.pf-awards .icon { width: 26px; height: 26px; color: var(--orange); }

.pf-work { margin-top: 0; }
.pf-all { margin: 22px 0 0; }

/* ==========================================================================
   Locations page (/locations/)
   The page head with the map from the home page, then one white card per
   branch on the pale blue page: the building, the way in and the opening
   hours on the left, the doctors and their OPD days on the right.
   Then "Before you visit" on a white sheet.
   ========================================================================== */
.loc-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
@media (min-width: 860px) { .loc-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 390px); gap: clamp(40px, 5vw, 88px); } }
.loc-hero .tp-lead { text-wrap: pretty; }

/* The map, recoloured for the pale blue page. Its dots jump to each card. */
.loc-map { display: none; }
@media (min-width: 860px) { .loc-map { display: block; margin: 0; max-width: none; } }
.map--light .map-river-band { stroke: rgba(32, 101, 141, .09); }
.map--light .map-river { stroke: var(--blue-soft); }
.map--light .map-river-label { fill: var(--ink-2); }
.map--light .map-route { stroke: var(--blue); }
.map--light .map-north text { fill: var(--ink-2); }
.map--light .map-core { fill: var(--blue); }
.map--light .map-label { fill: var(--ink); }
.map--light .map-label-hi, .map--light .map-dot.is-mine .map-label-hi { fill: var(--blue); }
.map a { cursor: pointer; }
.map a .map-ring, .map a .map-label { transition: stroke-width .25s var(--ease), fill .2s; }
.map a:hover .map-ring { stroke-width: 5; }
.map a:hover .map-label { fill: var(--blue); }

/* Jump to a branch, with today's hours */
.loc-jump { margin-top: 30px; }
.loc-jump ul { list-style: none; display: grid; gap: 10px; }
@media (min-width: 600px) { .loc-jump ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.loc-jump a {
  position: relative; display: grid; gap: 4px; height: 100%; padding: 14px 46px 14px 18px; border-radius: 14px;
  background: #fff; color: var(--ink); text-decoration: none; line-height: 1.25;
  box-shadow: 0 1px 2px rgba(31, 42, 55, .05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.loc-jump a:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.lj-city { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.01em; }
.lj-hours { display: flex; gap: 6px; align-items: flex-start; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.lj-hours .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--orange); }
.lj-hours span span { white-space: nowrap; }
.lj-arrow { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; color: var(--blue); transition: transform .25s var(--ease); }
.loc-jump a:hover .lj-arrow { transform: translateY(3px); }

/* ---------- One card per branch ---------- */
.loc-body { padding: 0 0 clamp(56px, 7vw, 104px); }
.loc-list { display: grid; gap: clamp(24px, 3.5vw, 44px); }
.loc {
  padding: clamp(20px, 3.4vw, 44px); border-radius: 24px; background: #fff;
  box-shadow: 0 1px 2px rgba(31, 42, 55, .05), 0 40px 70px -52px rgba(32, 101, 141, .5);
  transition: box-shadow .35s var(--ease);
}
.loc.is-mine { box-shadow: 0 0 0 4px var(--orange), 0 40px 70px -48px rgba(32, 101, 141, .55); }

.loc-head { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: center; }
@media (min-width: 760px) { .loc-head { grid-template-columns: 176px minmax(0, 1fr); gap: 36px; } }
/* The building in a lens, with an orange arc over it on the visitor's branch */
.loc-photo { position: relative; }
.loc-photo picture {
  display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--sky-2);
  box-shadow: 0 0 0 5px #fff, 0 24px 38px -22px rgba(32, 101, 141, .7);
}
/* object-position: the top of the tall Patna photo, where the sign is */
.loc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.loc-photo::after {
  content: ""; position: absolute; inset: -11px; border-radius: 50%; border: 2px solid var(--sky-2);
  clip-path: inset(0 0 50% 0);
}
.loc.is-mine .loc-photo::after { border-color: var(--orange); }

.loc-mine {
  display: none; align-items: center; gap: 6px; width: max-content;
  margin: 0 0 10px; padding: 4px 12px 4px 8px; border-radius: var(--pill);
  background: var(--orange); color: var(--ink); font-weight: 700; font-size: .85rem; line-height: 1.3;
}
.loc-mine .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.loc.is-mine .loc-mine { display: inline-flex; }
.loc-city { font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.7rem); line-height: 1; letter-spacing: -.03em; }
.loc-hi { font-family: var(--font-hindi); font-weight: 800; font-size: .62em; letter-spacing: 0; color: var(--blue); white-space: nowrap; }
.loc-name { margin: 8px 0 0; font-weight: 700; line-height: 1.3; color: var(--ink-2); }
.loc-rating {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 14px; padding: 5px 14px 5px 5px;
  border-radius: var(--pill); background: var(--sky); color: var(--ink); text-decoration: none;
  font-size: .92rem; font-weight: 600; line-height: 1.3;
  transition: background-color .2s;
}
.loc-rating:hover { background: var(--sky-2); color: var(--ink); }
.loc-rating strong {
  display: grid; place-items: center; height: 30px; padding: 0 10px; border-radius: var(--pill); background: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
}
.loc-rating .stars .icon { width: 15px; height: 15px; }
.loc-rating-txt .icon { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; color: var(--blue); }
/* Phones: no pill, so the line can wrap under the score */
@media (max-width: 479px) {
  .loc-rating { padding: 0; background: none; }
  .loc-rating:hover { background: none; text-decoration: underline; text-decoration-color: var(--orange); }
  .loc-rating strong { background: var(--sky); }
  .loc-rating .stars { display: none; }
}

.loc-grid {
  display: grid; gap: 34px; margin-top: clamp(22px, 3vw, 36px); padding-top: clamp(22px, 3vw, 36px);
  border-top: 1.5px solid var(--line);
}
@media (min-width: 980px) { .loc-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 80px); } }
.loc-h {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.loc-h .icon { width: 18px; height: 18px; color: var(--orange); }
.loc-h:not(:first-child) { margin-top: 28px; }
.loc-addr { font-style: normal; font-size: 1.1rem; line-height: 1.5; }
.loc-share { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .95rem; font-weight: 700; text-decoration: none; }
.loc-share:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.loc-share .icon { width: 18px; height: 18px; }
.loc-hours { list-style: none; display: grid; gap: 6px; }
.loc-hours li { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; padding: 10px 14px; border-radius: 10px; background: var(--mist); line-height: 1.35; }
.loc-hours li.is-today { background: var(--sky); box-shadow: inset 3px 0 0 var(--orange); }
.lh-days { font-weight: 700; }
.lh-time { color: var(--ink-2); }
.lh-tag {
  margin-left: auto; padding: 1px 10px; border-radius: var(--pill); background: var(--orange); color: var(--ink);
  font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.loc-none { margin: 0; padding: 8px 12px; border-radius: var(--r-s); background: var(--mist); font-size: .92rem; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
.loc-phone {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.2rem);
  line-height: 1.1; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.loc-phone:hover { color: var(--blue); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.loc-actions .btn { flex: 1 1 auto; }
@media (min-width: 600px) { .loc-actions .btn { flex: 0 1 auto; } }
.loc-pick { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--ink-2); text-decoration-color: var(--orange); }
.loc.is-mine .loc-pick { display: none; }

/* The doctors: one row each, the whole row links to the profile */
.ld-list { list-style: none; }
.ld {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "photo who" "photo days";
  gap: 8px 14px; align-items: center; padding: 14px 0; border-bottom: 1.5px solid var(--line);
}
.ld:first-child { padding-top: 2px; }
@media (min-width: 560px) { .ld { grid-template-columns: 52px minmax(0, 1fr) auto; grid-template-areas: "photo who days"; gap: 16px; } }
.ld-photo { grid-area: photo; align-self: start; }
@media (min-width: 560px) { .ld-photo { align-self: center; } }
.ld-photo picture {
  display: block; width: 52px; height: 52px; overflow: hidden; border-radius: 50%; background: var(--sky-2);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sky-2);
}
.ld--director .ld-photo picture { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--orange); }
.ld-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.ld-who { grid-area: who; display: grid; gap: 2px; min-width: 0; }
.ld-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.ld-name::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.ld-name:focus-visible { outline: none; }
.ld:has(.ld-name:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 12px; }
.ld:hover .ld-name { color: var(--blue); text-decoration: underline; text-decoration-color: var(--orange); }
.ld-role { font-size: .9rem; line-height: 1.3; color: var(--ink-2); }
.ld-days { grid-area: days; display: grid; gap: 6px; justify-items: start; }
.ld .wk { gap: 4px; padding-bottom: 0; }
.ld .wk-d { width: 26px; height: 26px; font-size: .7rem; }
.ld .wk-d.is-today { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--orange); }
.ld .wk-d.is-today::after { content: none; }
.ld-days-text { margin: 0; font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.ld-today {
  display: inline-block; margin-left: 4px; padding: 0 8px; border-radius: var(--pill); background: var(--orange); color: var(--ink);
  font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; vertical-align: 1px;
}
.loc-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.loc-note .icon { width: 19px; height: 19px; margin-top: 1px; color: var(--orange); }

/* ---------- Before you visit ---------- */
.loc-more {
  position: relative; background: #fff; border-radius: var(--curve) var(--curve) 0 0;
  padding: var(--section-y) 0 calc(var(--section-y) + var(--curve));
}
.loc-more h2 { margin-bottom: clamp(26px, 3.5vw, 44px); font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); }
.visit-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; } }
.visit-box { margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); }
.visit-box--line { border: 1.5px solid var(--line); }
.visit-box p { max-width: 36em; }
.visit-label { margin: 22px 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.visit-panel { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.visit-panel li { padding: 6px 14px; border-radius: var(--pill); background: #fff; font-weight: 700; font-size: .92rem; line-height: 1.3; }
.visit-panel li:first-child { background: var(--blue); color: #fff; }

/* ==========================================================================
   About page (/about/)
   The page head with the name in a pair of spectacles, the story on a white
   sheet, the aim on blue, the directors on the pale blue page, then a second
   white sheet: the areas of care, the equipment and the three branches.
   ========================================================================== */
.ab-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
@media (min-width: 860px) { .ab-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(320px, 36vw, 470px); gap: clamp(40px, 5vw, 88px); } }

/* सर्व + दृष्टि: one word in each lens, joined by an orange bridge. Each word
   starts out of focus and sharpens, as if glasses had just been put on. */
.ab-name { width: min(100%, 420px); margin: 0 auto; }
@media (min-width: 860px) { .ab-name { width: 100%; } }
.ab-name-label { margin: 0 0 14px; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ab-lenses {
  --gap: clamp(26px, 3.4vw, 42px);
  position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap);
  margin: 0; padding: 10px;
}
.ab-lenses::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 33%; width: calc(var(--gap) + 40px); height: 24px; translate: -50% 0;
  border: 4px solid var(--orange); border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.ab-lens {
  position: relative; display: grid; align-content: center; justify-items: center;
  aspect-ratio: 1; border-radius: 50%; background: #fff; text-align: center;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .55), 0 0 0 8.5px var(--sky-2), 0 40px 60px -38px rgba(32, 101, 141, .6);
}
.ab-lens::after {
  /* a glint on the glass */
  content: ""; position: absolute; inset: 8%; border-radius: 50%; pointer-events: none;
  border: 2.5px solid transparent; border-top-color: var(--sky-2); rotate: -45deg;
}
.ab-lens dt { display: grid; justify-items: center; }
.ab-hi {
  /* the tall line leaves room for the ृ under दृ */
  font-family: var(--font-hindi); font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.7rem); line-height: 1.45; letter-spacing: 0; color: var(--blue);
  animation: focus-in 1.6s var(--ease) both; animation-delay: calc(.4s + var(--d, 0) * .35s);
}
.ab-say { font-size: .76rem; font-weight: 700; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.ab-lens dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.02rem, .9rem + .45vw, 1.28rem); line-height: 1.15; }
@keyframes focus-in { from { filter: blur(9px); opacity: .3; } }

/* ---------- The two white sheets ---------- */
.ab-sheet { position: relative; background: #fff; border-radius: var(--curve) var(--curve) 0 0; }
.ab-sheet--story { padding: clamp(48px, 6vw, 104px) 0 var(--section-y); }
/* The enquiry section tucks under the foot of the second sheet */
.ab-sheet--care { padding: var(--section-y) 0 calc(var(--section-y) + var(--curve)); }
.ab-sec + .ab-sec { margin-top: clamp(80px, 9vw, 140px); }
.ab-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0 0 16px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.ab-kicker::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--orange); }
.ab-story h2, .ab-docs h2, .ab-sec h2 { max-width: 15em; margin-bottom: 20px; font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.4rem); }
.ab-head { display: grid; gap: 24px; margin-bottom: clamp(30px, 4vw, 52px); }
.ab-head h2 { margin-bottom: 16px; }
.ab-head .lead { margin: 0; }
@media (min-width: 900px) { .ab-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; } }

/* ---------- Our story ---------- */
.ab-story { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .ab-story { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(56px, 7vw, 120px); } }
.ab-story .tp-prose p { font-size: clamp(1.06rem, 1rem + .25vw, 1.18rem); }
.ab-photo { width: min(72vw, 340px); margin: 0 auto; }
@media (min-width: 900px) { .ab-photo { width: min(100%, 440px); margin: 0 0 0 auto; } }

/* ---------- Our aim (blue, the white sheet bows down into it) ---------- */
.ab-mission::before { background: #fff; }
.ab-mission h2 { max-width: 13em; }
.ab-mission h2 em { position: relative; white-space: nowrap; color: #9cd2f4; }
.js .ab-mission h2 em::after { transition: transform 1s .5s var(--ease); }
.js .ab-mission h2:not(.is-in) em::after { transform: scaleX(0); }
.ab-points { list-style: none; display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 860px) { .ab-points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.5vw, 56px); } }
.ab-point { padding-top: 22px; border-top: 1.5px solid rgba(255, 255, 255, .26); }
.ab-point-title { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: -.015em; color: #fff; }
.ab-point-title::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 3.5px solid var(--orange); }
.ab-point p { max-width: 30em; margin: 0; color: rgba(255, 255, 255, .88); }
.ab-mission .empanel { margin-top: clamp(40px, 4.5vw, 64px); }

/* ---------- The directors: whole 3:4 portraits, as on the doctors list ---------- */
.ab-docs { padding: var(--section-y) 0; }
.ab-dirs { list-style: none; display: grid; gap: 16px; }
.ab-dir {
  position: relative; display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 16px; border-radius: var(--r-l); background: #fff; box-shadow: 0 1px 2px rgba(31, 42, 55, .05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ab-dir:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.ab-dir:has(.ab-dir-name a:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
@media (min-width: 600px) { .ab-dir { grid-template-columns: 168px minmax(0, 1fr); gap: 26px; padding: 20px; } }
@media (min-width: 980px) {
  .ab-dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); }
  .ab-dir { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: stretch; gap: 0; padding: 14px 14px 24px; }
}
.ab-dir-photo { position: relative; }
.ab-dir-photo picture { display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r); background: var(--sky-2); }
.ab-dir-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform .7s var(--ease); }
.ab-dir:hover .ab-dir-photo img { transform: scale(1.04); }
.ab-dir-badge {
  position: absolute; left: 50%; bottom: -10px; translate: -50% 0;
  padding: 3px 12px; border-radius: var(--pill); background: var(--orange); color: var(--ink);
  font-size: .8rem; font-weight: 700; white-space: nowrap; box-shadow: var(--shadow-orange);
}
@media (max-width: 599px) { .ab-dir-badge { bottom: -8px; padding: 1px 9px; font-size: .72rem; } }
.ab-dir-info { display: flex; flex-direction: column; min-width: 0; }
@media (min-width: 980px) { .ab-dir-info { padding: 30px 10px 0; } }
.ab-dir-role { margin: 0 0 4px; font-size: .9rem; font-weight: 700; line-height: 1.3; color: var(--blue); }
.ab-dir-name { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.8rem); line-height: 1.1; letter-spacing: -.015em; }
.ab-dir-name a { color: var(--ink); text-decoration: none; }
.ab-dir-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r-l); }
.ab-dir-name a:focus-visible { outline: none; }
.ab-dir:hover .ab-dir-name a { color: var(--blue); }
.ab-dir-spec { margin: 6px 0 0; font-weight: 600; line-height: 1.35; }
.ab-dir-train {
  list-style: none; display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1.5px solid var(--line);
  font-size: .92rem; line-height: 1.4; color: var(--ink-2);
}
.ab-dir-train li { position: relative; padding-left: 20px; }
.ab-dir-train li::before { content: ""; position: absolute; left: 0; top: .32em; width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid var(--orange); }
.ab-dir-more { display: none; }
@media (min-width: 980px) {
  .ab-dir-more { display: flex; align-items: center; gap: 6px; margin: auto 0 0; padding-top: 20px; font-weight: 700; color: var(--blue); }
  .ab-dir-more .icon { transition: transform .25s var(--ease); }
  .ab-dir:hover .ab-dir-more .icon { transform: translateX(4px); }
}

/* Where the doctors trained: faces over each institute */
.ab-train { margin-top: clamp(24px, 3vw, 36px); padding: clamp(22px, 3vw, 32px); border-radius: var(--r-l); background: #fff; }
.ab-train-title { margin-bottom: 20px; font-size: 1.35rem; line-height: 1.15; letter-spacing: -.01em; }
.ab-train-list { list-style: none; display: grid; }
.ab-inst { display: grid; gap: 8px; align-content: start; padding: 18px 0; border-top: 1.5px solid var(--line); }
.ab-inst:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 860px) {
  .ab-train-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px); }
  .ab-inst, .ab-inst:first-child { padding: 0; border-top: 0; }
}
.ab-inst .glass-faces { margin-bottom: 4px; }
.ab-inst-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
.ab-inst-name span { display: block; font-family: var(--font-body); font-size: .88rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.ab-inst-who { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-2); }
.ab-inst-who a { font-weight: 700; text-decoration-color: var(--orange); white-space: nowrap; }

/* ---------- What we treat ---------- */
.ab-areas { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .ab-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .ab-areas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.ab-area { display: flex; flex-direction: column; padding: 22px 22px 20px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
.ab-area::before {
  content: ""; flex: none; width: 26px; height: 26px; margin-bottom: 16px; border-radius: 50%;
  border: 3px solid var(--orange); background: radial-gradient(circle, var(--blue) 0 4.5px, transparent 5px);
}
.ab-area-name { margin-bottom: 8px; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
.ab-area p { margin: 0 0 18px; font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.ab-area-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ab-area-links a {
  display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 12px; border-radius: var(--pill);
  background: var(--sky); font-size: .88rem; font-weight: 700; line-height: 1.3; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.ab-area-links a:hover { background: var(--blue); color: #fff; }
.ab-area-links .icon { width: 15px; height: 15px; }

/* ---------- Equipment (the list style of the tests on treatment pages) ---------- */
.ab-kit .test-name { margin-bottom: 8px; }
.ab-kit .option-when { margin: 0 0 8px; font-size: .8rem; line-height: 1.4; color: var(--blue); }
.ab-note { margin-top: 28px; }

/* ---------- The branches ---------- */
.ab-google {
  display: flex; align-items: center; gap: 12px; max-width: 24em; margin: 0; padding: 10px 18px 10px 10px;
  border-radius: var(--r-l); background: var(--sky); line-height: 1.3;
}
.ab-google strong {
  display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 2.5px var(--orange); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
}
.ab-google-txt { display: grid; gap: 4px; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.ab-google .stars .icon { width: 17px; height: 17px; }
.ab-branches { list-style: none; display: grid; gap: 14px; }
@media (min-width: 860px) { .ab-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ab-branch {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 20px; border-radius: var(--r-l); background: var(--sky);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.ab-branch:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.ab-branch:has(.ab-branch-link:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.ab-branch-photo picture {
  display: block; width: 76px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--sky-2);
  box-shadow: 0 0 0 4px #fff;
}
.ab-branch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ab-branch-city { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.8rem); line-height: 1.05; letter-spacing: -.02em; }
.ab-branch-name { margin: 4px 0 0; font-weight: 700; line-height: 1.3; color: var(--blue); }
.ab-branch-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 0 0; font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.ab-branch-rating strong { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.ab-branch-rating .stars .icon { width: 15px; height: 15px; }
.ab-branch-rating > span:last-child { width: 100%; } /* the count on its own line, so the cards line up */
/* inline, so on a narrow card the arrow wraps with the last word */
.ab-branch-link { display: inline-block; margin-top: 12px; font-weight: 700; line-height: 1.35; text-decoration: none; }
.ab-branch-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l); }
.ab-branch-link:focus-visible { outline: none; }
.ab-branch-link .icon { display: inline-block; width: 18px; height: 18px; margin-left: 4px; vertical-align: -4px; transition: transform .25s var(--ease); }
@media (max-width: 479px) {
  .ab-branch { grid-template-columns: 60px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .ab-branch-photo picture { width: 60px; }
}
.ab-branch:hover .ab-branch-link .icon { transform: translateX(4px); }

/* ==========================================================================
   Contact page (/contact-us/)
   The page head with a white card beside the heading: every branch's number,
   marked open or closed at this moment. The other ways to reach us sit under
   the heading (under the card on phones). Then a white sheet built like the
   About page's: who to ask about what, and the three addresses.
   ========================================================================== */
.ct-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "call" "ways"; gap: 32px; }
.ct-head { grid-area: head; }
.ct-call { grid-area: call; }
.ct-ways { grid-area: ways; }
@media (min-width: 860px) {
  .ct-hero-grid {
    grid-template-columns: minmax(0, 1fr) clamp(330px, 33vw, 420px); grid-template-areas: "head call" "ways call";
    grid-template-rows: auto 1fr; gap: 40px clamp(40px, 5vw, 88px); align-items: start;
  }
}
.ct-label {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.ct-label .icon { width: 18px; height: 18px; color: var(--orange); }

/* ---------- Call a branch ---------- */
.ct-call {
  padding: clamp(20px, 2.4vw, 28px); border-radius: 24px; background: #fff;
  box-shadow: 0 1px 2px rgba(31, 42, 55, .05), 0 40px 70px -52px rgba(32, 101, 141, .5);
}
.ct-lines { list-style: none; }
.ct-line {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px;
  padding: 18px 0; border-top: 1.5px solid var(--line);
}
.ct-line:first-child { padding-top: 4px; border-top: 0; }
.ct-line > :not(.ct-city):not(.ct-mine) { grid-column: 1 / -1; }
/* The visitor's branch on a pale blue band, with its label */
.ct-line.is-mine { margin-inline: -14px; padding: 16px 14px; border-radius: 16px; border-top-color: transparent; background: var(--sky); }
.ct-line.is-mine + .ct-line { border-top-color: transparent; }
.ct-city { font-size: clamp(1.45rem, 1.25rem + .7vw, 1.75rem); line-height: 1.1; letter-spacing: -.02em; }
.ct-hi { font-family: var(--font-hindi); font-weight: 800; font-size: .7em; letter-spacing: 0; color: var(--blue); white-space: nowrap; }
.ct-mine {
  display: none; margin: 0; padding: 2px 10px; border-radius: var(--pill);
  background: var(--orange); color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.ct-line.is-mine .ct-mine { display: block; }

/* Open now (green, as on Google Maps), closing soon (orange) or closed (an empty ring) */
.ct-status { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-size: .95rem; font-weight: 600; line-height: 1.35; color: var(--ink-2); }
.ct-status strong { color: var(--ink); }
.ct-dot { position: relative; width: 11px; height: 11px; flex: none; margin-top: .33em; border-radius: 50%; border: 2px solid var(--ink-2); }
.ct-status--open strong { color: var(--ok); }
.ct-status--open .ct-dot { border-color: var(--ok); background: var(--ok); }
.ct-status--open .ct-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--ok); opacity: 0;
  animation: ct-ping 2.6s var(--ease) infinite;
}
.ct-status--soon .ct-dot { border-color: var(--orange); background: var(--orange); }
@keyframes ct-ping { from { transform: scale(.5); opacity: .7; } 70%, to { transform: scale(1.4); opacity: 0; } }

.ct-phone {
  justify-self: start; margin-top: 2px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.35rem + .9vw, 2rem);
  line-height: 1.1; letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.ct-phone:hover { color: var(--blue); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.ct-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ct-actions .btn { flex: 1 1 0; }

/* ---------- Other ways ---------- */
/* Two across only when each is wide enough for the email address on one line */
.ct-ways-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.ct-way {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 12px 16px 12px 12px; border-radius: 14px;
  background: #fff; color: var(--ink); text-decoration: none; line-height: 1.25;
  box-shadow: 0 1px 2px rgba(31, 42, 55, .05);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ct-way:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.ct-way > span:last-child { min-width: 0; }
.ct-way-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--sky); color: var(--blue); }
.ct-way-ic .icon { width: 20px; height: 20px; }
.ct-way strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; transition: color .2s; }
.ct-way:hover strong { color: var(--blue); }
.ct-way small { display: block; margin-top: 2px; font-size: .86rem; font-weight: 600; color: var(--ink-2); overflow-wrap: anywhere; }

/* ---------- The white sheet (the enquiry section tucks under its foot) ---------- */
.ct-sheet { padding: var(--section-y) 0 calc(var(--section-y) + var(--curve)); }

/* Who to ask about what */
.ct-help { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .ct-help { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .ct-help { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.ct-q { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 22px 22px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; }
.ct-q-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 50%; border: 2.5px solid var(--orange); color: var(--blue); }
.ct-q-ic .icon { width: 22px; height: 22px; }
.ct-q-title { margin-bottom: 8px; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.01em; }
.ct-q p { margin: 0 0 18px; font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.ct-q .ab-area-links { margin-top: auto; }

/* The addresses */
.ct-visit { list-style: none; display: grid; gap: 14px; }
@media (min-width: 860px) { .ct-visit { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.ct-branch { display: flex; flex-direction: column; padding: 22px; border-radius: var(--r-l); background: var(--sky); }
.ct-branch-top { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 18px; }
.ct-branch-photo picture { display: block; width: 64px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--sky-2); box-shadow: 0 0 0 4px #fff; }
.ct-branch-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ct-branch-city { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.8rem); line-height: 1.05; letter-spacing: -.02em; }
.ct-branch-name { margin: 4px 0 0; font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--blue); }
.ct-addr { margin-bottom: 14px; font-style: normal; line-height: 1.5; }
.ct-branch .loc-hours { font-size: .95rem; }
.ct-branch .loc-hours li { background: rgba(255, 255, 255, .6); }
.ct-branch .loc-hours li.is-today { background: #fff; }
.ct-branch-foot { display: grid; justify-items: start; gap: 12px; margin-top: auto; padding-top: 20px; }
.ct-branch-foot .loc-share { margin-top: 0; }
.ct-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.ct-more:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.ct-more .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.ct-more:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Career page (/career/)
   The page head with the three branches in lenses beside the heading. Then a
   white sheet built like the About page's: why work here, and the jobs, team
   by team. The application form is in the peach section at the foot.
   ========================================================================== */
.cr-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 860px) { .cr-hero-grid { grid-template-columns: minmax(0, 1fr) clamp(300px, 33vw, 420px); gap: clamp(40px, 5vw, 88px); } }

/* ---------- Where you could work: Patna large, Gaya and Hajipur beside and below ---------- */
/* phones: room at the sides for the orange ring */
.cr-where { width: min(100% - 36px, 360px); margin: 0 auto; }
@media (min-width: 860px) { .cr-where { width: 100%; } }
.cr-where-label { margin: 0 0 18px; text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.cr-sites { position: relative; isolation: isolate; list-style: none; aspect-ratio: 1 / .98; }
.cr-sites::before {
  /* a pale disc behind the two small lenses */
  content: ""; position: absolute; z-index: -1; right: 4%; bottom: 6%; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--sky-2);
}
.cr-site { position: absolute; animation: cr-in 1s var(--ease) both; animation-delay: calc(.15s + var(--n, 0) * .18s); }
.cr-site-photo picture {
  display: block; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--sky-2);
  box-shadow: 0 0 0 6px #fff, 0 36px 60px -36px rgba(32, 101, 141, .75);
}
.cr-site-photo img { width: 100%; height: 100%; object-fit: cover; }
.cr-site--0 { --n: 0; left: 0; top: 0; width: 58%; }
.cr-site--0 img { object-position: 50% 6%; } /* the top of the tall Patna photo, where the sign is */
.cr-site--0::before {
  /* an orange ring around the largest lens */
  content: ""; position: absolute; inset: -7%; border-radius: 50%; border: 1.5px solid var(--orange); pointer-events: none;
}
.cr-site--1 { --n: 1; right: 0; top: 17%; width: 41%; }
.cr-site--2 { --n: 2; left: 39%; bottom: 0; width: 37%; }
.cr-site-tag {
  position: absolute; z-index: 1; left: 50%; bottom: -4px; translate: -50% 0;
  display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 13px; border-radius: var(--pill);
  background: #fff; box-shadow: var(--shadow-card); white-space: nowrap;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.25; letter-spacing: -.01em;
}
.cr-site--0 .cr-site-tag { left: 30%; }
.cr-site-hi { font-family: var(--font-hindi); font-weight: 800; font-size: .92em; letter-spacing: 0; color: var(--blue); }
.cr-where-note { margin: 24px 0 0; text-align: center; font-size: .95rem; font-weight: 600; line-height: 1.4; color: var(--ink-2); }
@keyframes cr-in { from { opacity: 0; transform: scale(.86); } }

/* ---------- The white sheet (the application tucks under its foot) ---------- */
.cr-sheet { padding: var(--section-y) 0 calc(var(--section-y) + var(--curve)); }

/* Why work here: the cards of the Contact page's questions */
.cr-why { list-style: none; display: grid; gap: 14px; }
@media (min-width: 640px) { .cr-why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .cr-why { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* ---------- The jobs: each team's name on the left, staying in view on wide screens ---------- */
.cr-teams { border-top: 1.5px solid var(--line); }
.cr-team { display: grid; gap: 18px 48px; padding: 28px 0; border-bottom: 1.5px solid var(--line); }
@media (min-width: 900px) {
  .cr-team { grid-template-columns: minmax(0, .75fr) minmax(0, 2fr); align-items: start; padding: 40px 0; }
  .cr-team-head { position: sticky; top: calc(var(--header-h) + 8px); }
}
.cr-team-name { font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem); line-height: 1.1; letter-spacing: -.02em; }
.cr-team-text { max-width: 22em; margin: 8px 0 0; line-height: 1.45; color: var(--ink-2); }
.cr-team-count {
  display: inline-block; margin: 12px 0 0; padding: 3px 11px; border-radius: var(--pill);
  background: var(--sky); color: var(--blue); font-size: .8rem; font-weight: 700; line-height: 1.4;
}
.cr-roles { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .cr-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* The whole card is the Apply link */
.cr-role {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 20px 20px 18px; border-radius: 16px; background: var(--sky);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.cr-role:hover { background: #fff; box-shadow: var(--shadow-card), inset 0 0 0 1.5px var(--sky-2); transform: translateY(-2px); }
.cr-role:has(.cr-apply:focus-visible) { outline: 3px solid var(--orange); outline-offset: 3px; }
.cr-role-name { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; line-height: 1.15; letter-spacing: -.01em; }
.cr-role-text { margin: 6px 0 16px; font-size: .97rem; line-height: 1.5; color: var(--ink-2); }
.cr-apply {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding: 6px 12px 6px 15px; border-radius: var(--pill);
  background: #fff; font-size: .92rem; font-weight: 700; line-height: 1.3; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.cr-apply::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.cr-apply:focus-visible { outline: none; }
.cr-apply .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.cr-role:hover .cr-apply { background: var(--orange); color: var(--ink); }
.cr-role:hover .cr-apply .icon { transform: translateX(3px); }

/* ---------- The application (peach) ---------- */
.cr-mail { display: flex; gap: 10px; align-items: flex-start; max-width: 32em; margin: 24px 0 0; line-height: 1.5; color: var(--ink-2); }
.cr-mail .icon { flex: none; margin-top: 2px; color: var(--orange); }
.cr-mail a { font-weight: 700; }
/* A job picked from the list flashes orange once in the form */
.select select.is-picked, .select .select2-selection.is-picked { animation: cr-picked 1.4s var(--ease); }
@keyframes cr-picked { from { border-color: var(--orange); box-shadow: 0 0 0 6px rgba(251, 140, 0, .45); } }

/* The CV: the browser's own file picker, set in a drop area */
.file-box {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border: 1.5px dashed var(--blue-soft); border-radius: 10px; background: var(--sky);
  transition: border-color .2s, box-shadow .2s;
}
.file-box:hover { border-color: var(--blue); }
.file-box:has(input:focus-visible) { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 101, 141, .16); }
.file-box-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; color: var(--blue); }
.field .file-box input {
  flex: 1; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
  font-size: .95rem; color: var(--ink-2); cursor: pointer;
}
.field .file-box input:focus { box-shadow: none; }
.file-box input::file-selector-button {
  margin-right: 12px; padding: 9px 16px; border: 2px solid var(--blue); border-radius: var(--pill);
  background: #fff; color: var(--blue); font: 700 .95rem/1.1 var(--font-body); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.file-box:hover input::file-selector-button { background: var(--blue); color: #fff; }
.has-error .file-box { border-color: var(--error); background: #fff1ef; }
.cv-kept {
  display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 14px; border-radius: 8px;
  background: #e8f4ec; color: var(--ok); font-size: .95rem; font-weight: 600; line-height: 1.4;
}
.cv-kept .icon { flex: none; width: 20px; height: 20px; stroke-width: 2.4; }
.field-err:empty { margin: 0; }

/* ==========================================================================
   Simple pages (404)
   ========================================================================== */
.simple-page { padding: clamp(48px, 8vw, 120px) 0 calc(var(--section-y) + 40px); }
.simple-page h1 { margin: 20px 0 16px; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.8rem); }
.simple-page .btn { margin-top: 12px; }
.link-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.link-list a { display: block; padding: 10px 16px; border-radius: var(--pill); background: #fff; border: 1.5px solid var(--line); font-weight: 700; text-decoration: none; }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.spin { animation: spin 120s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
@supports (animation-timeline: view()) {
  .drift { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  .drift-slow { animation: drift-slow linear both; animation-timeline: view(); animation-range: cover; }
  @keyframes drift { from { translate: 0 -18px; } to { translate: 0 22px; } }
  @keyframes drift-slow { from { translate: -10px -10px; rotate: -8deg; } to { translate: 10px 12px; rotate: 8deg; } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .map-dot.is-mine .map-pulse { animation: none; opacity: .6; transform: scale(1.1); }
  .ab-hi { animation: none; }
}

@media print {
  .site-header, .wa-float, .near, .marquee, .hero-bgs, .hero-controls, .branchbar::before,
  .tp-side, .sim-range, .sim-handle, .tp-hero-rings, .enquiry,
  .dl-filter, .pf-photo-ring, .pf-photo-disc, .pf-chip, .pf-actions,
  .loc-jump, .loc-map, .loc-share, .loc-pick, .loc-photo::after,
  .ct-actions, .ct-ways, .ct-branch-foot, .cr-apply { display: none !important; }
  .loc, .ct-call { box-shadow: none; break-inside: avoid; }
  .hero-stage { background: none; color: var(--ink); }
  body { padding: 0; background: #fff; }
}
