/* ==========================================================================
   Dr. Karnav Panchal — Design System
   Concept: "Precision in Every Movement"
   Brand tokens carried over from the existing site theme:
     title/navy #1C2359 · theme/coral #F96363 · body #5C5F71
     smoke #E4E4E5 · smoke2 #F2F3FC · mint #E9F5ED · fonts Outfit + Inter
   Mobile-first. Breakpoint overrides live in responsive.css.
   ========================================================================== */

/* ---------- Self-hosted brand fonts (SIL Open Font License), latin subset, variable weight ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/wp-content/themes/dkp-child/assets/fonts/inter-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url(/wp-content/themes/dkp-child/assets/fonts/outfit-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand colour */
  --navy: #1C2359;
  --navy-800: #232B6B;
  --navy-950: #10163F;
  --coral: #F96363;
  --coral-soft: #FFE9E8;
  --coral-ink: #B8323A;          /* AA-compliant coral for small text on light backgrounds */
  --mint: #E9F5ED;
  --mint-strong: #C5DACC;
  --lilac: #F2F3FC;
  --smoke: #E4E4E5;

  /* Neutrals */
  --ink: #1C2359;
  --text: #4F5367;               /* slightly deeper than brand body grey for long-form contrast */
  --muted: #6B6F82;
  --line: #E3E5EF;
  --line-strong: #CDD1E2;
  --surface: #FFFFFF;
  --canvas: #FBFBFD;

  /* Type */
  --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: clamp(1rem, .97rem + .15vw, 1.0625rem);
  --fs-lg: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1.07rem + .3vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 1.15rem + .5vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.45rem + 1.4vw, 2.75rem);
  --fs-h1: clamp(2.1rem, 1.6rem + 2.6vw, 3.9rem);
  --fs-display: clamp(2.4rem, 1.7rem + 3.4vw, 4.6rem);

  /* Space and shape */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
  --section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --container: 1240px;
  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  /* Depth */
  --shadow-sm: 0 1px 2px rgba(16, 22, 63, .06), 0 2px 8px rgba(16, 22, 63, .04);
  --shadow: 0 2px 6px rgba(16, 22, 63, .05), 0 12px 32px -8px rgba(16, 22, 63, .12);
  --shadow-lg: 0 30px 70px -24px rgba(16, 22, 63, .35);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .45s;

  --header-h: 72px;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--canvas);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral-ink); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li + li { margin-top: .4em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
  font-weight: 600;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
strong { color: var(--ink); font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: var(--fs-sm); }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--lilac); color: var(--ink); font-family: var(--font-head); font-weight: 600; }
::selection { background: var(--coral); color: #fff; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.1rem; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

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

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--lilac); }
.section--mint { background: var(--mint); }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: #C9CDE8; }
.section--navy h2, .section--navy h3 { color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--coral); border-radius: 2px; }
.section--navy .eyebrow, .page-hero .eyebrow, .hero--dark .eyebrow { color: #FFB4B0; }
.lead { font-size: var(--fs-lg); line-height: 1.65; color: var(--text); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: var(--fs-lg); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.5rem;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(28, 35, 89, .55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--book { --btn-bg: var(--coral); --btn-fg: var(--navy-950); --btn-bd: var(--coral); }
.btn--book:hover { --btn-bg: #FF7A7A; box-shadow: 0 12px 28px -10px rgba(249, 99, 99, .7); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--navy); --btn-bg: #fff; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .4); }
.btn--outline-light:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 600; text-decoration: none; color: var(--navy);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--navy-950); color: #C9CDE8; font-size: var(--fs-xs); display: none; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #FFB4B0; }
.topbar__group { display: flex; gap: 1.5rem; align-items: center; }
.topbar .icon { width: 14px; height: 14px; opacity: .8; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 22, 63, .45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 48px; width: auto; max-width: 210px; object-fit: contain; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.nav__list > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .85rem; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--lilac); color: var(--ink); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--navy); box-shadow: inset 0 -2px 0 var(--coral); border-radius: 0; }
.nav__link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.mega {
  position: absolute; left: 50%; top: calc(100% + 14px);
  width: min(920px, calc(100vw - 48px));
  transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.75rem;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.mega__title { font-family: var(--font-head); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; font-weight: 600; }
.mega ul { list-style: none; padding: 0; margin: 0; }
.mega li { margin: 0; }
.mega a {
  display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; margin-inline: -.6rem;
  border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.35;
}
.mega a:hover { background: var(--lilac); color: var(--ink); }
.mega a svg { width: 26px; height: 26px; color: var(--coral); flex: none; }
.mega__foot { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }

.header-cta { display: flex; align-items: center; gap: .5rem; }
.header-cta .btn--book { display: none; }
.header-call { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 150; visibility: hidden;
}
.drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 22, 63, .45); opacity: 0; transition: opacity .35s var(--ease); }
.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(420px, 100%);
  background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease-out);
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open { visibility: visible; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__head img { height: 42px; width: auto; }
.drawer__nav { padding: 1rem var(--gutter) 2rem; flex: 1; }
.drawer__nav ul { list-style: none; padding: 0; margin: 0; }
.drawer__nav li { margin: 0; border-bottom: 1px solid var(--line); }
.drawer__nav a, .drawer__nav summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; font-family: var(--font-head); font-size: 1.1rem; font-weight: 500;
  color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
}
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary .icon { transform: rotate(180deg); }
.drawer__nav summary .icon { transition: transform .25s var(--ease); }
.drawer__nav details ul { padding: 0 0 1rem .25rem; }
.drawer__nav details li { border: 0; }
.drawer__nav details a { padding: .55rem 0; font-size: 1rem; font-family: var(--font-body); color: var(--text); }
.drawer__group-title { font-family: var(--font-head); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: .75rem 0 .25rem; font-weight: 600; }
.drawer__foot { padding: 1.25rem var(--gutter) 1.75rem; border-top: 1px solid var(--line); display: grid; gap: .75rem; background: var(--lilac); }
body.no-scroll { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(249, 99, 99, .10), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(197, 218, 204, .45), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--canvas) 100%);
}
.hero__grid { display: grid; gap: 3rem; align-items: center; }
.hero__title { font-size: var(--fs-display); line-height: 1.02; margin-bottom: 1.25rem; }
.hero__title em { font-style: normal; color: var(--coral); position: relative; white-space: nowrap; }
.hero__text { font-size: var(--fs-lg); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { margin-bottom: 2rem; }
.hero__call {
  display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink);
  padding: .4rem 1rem .4rem .4rem; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff;
}
.hero__call span:first-child { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mint); color: var(--navy); }
.hero__call small { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.2; }
.hero__call strong { font-family: var(--font-head); font-size: 1.05rem; }
.hero__call:hover { border-color: var(--navy); color: var(--ink); }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; padding: 0; list-style: none; }
.hero__trust li {
  margin: 0; display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 500; color: var(--ink);
}
.hero__trust .icon { width: 15px; height: 15px; color: var(--coral); }

.hero__visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden; background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  box-shadow: var(--shadow-lg);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__orbit { position: absolute; inset: -6% -10% -4% -10%; z-index: -1; color: var(--coral); pointer-events: none; }
.hero__orbit path, .hero__orbit circle { vector-effect: non-scaling-stroke; }
.hero__badge {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem 1rem; box-shadow: var(--shadow); font-size: var(--fs-sm); line-height: 1.3; color: var(--ink);
}
.hero__badge strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.hero__badge small { color: var(--muted); font-size: var(--fs-xs); }
.hero__badge .badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-ink); flex: none; }
.hero__badge .badge-icon svg { width: 24px; height: 24px; }
.hero__badge--a { left: -4%; bottom: 16%; }
.hero__badge--b { right: -3%; top: 12%; }

/* ---------- Credentials strip ---------- */
.cred-strip { background: var(--navy); color: #C9CDE8; padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); }
.cred-strip__grid { display: grid; gap: 1.5rem; }
.cred { display: flex; gap: 1rem; align-items: flex-start; }
.cred__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #FFB4B0; flex: none; }
.cred__icon .icon { width: 22px; height: 22px; }
.cred strong { color: #fff; display: block; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.3; margin-bottom: .2rem; }
.cred span { font-size: var(--fs-sm); line-height: 1.5; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--lilac); color: var(--navy); margin-bottom: 1.25rem; transition: background .35s, color .35s;
}
.service-card__icon svg { width: 38px; height: 38px; }
.service-card:hover .service-card__icon { background: var(--coral); color: #fff; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { font-size: var(--fs-sm); margin-bottom: 1.25rem; flex: 1; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.service-card__tags li { margin: 0; font-size: .75rem; padding: .2rem .6rem; border-radius: var(--radius-pill); background: var(--canvas); border: 1px solid var(--line); color: var(--muted); }
.service-card__foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; position: relative; z-index: 1; }
.service-card__foot .link-arrow { pointer-events: none; }
.service-card__book { position: relative; z-index: 2; font-size: var(--fs-xs); font-weight: 600; color: var(--coral-ink); text-decoration: none; padding: .35rem .7rem; border-radius: var(--radius-pill); border: 1px solid var(--coral-soft); background: var(--coral-soft); }
.service-card__book:hover { background: var(--coral); color: var(--navy-950); }

.service-card--feature { background: var(--navy); border-color: var(--navy); color: #C9CDE8; }
.service-card--feature h3 { color: #fff; }
.service-card--feature .service-card__icon { background: rgba(255, 255, 255, .08); color: #FFB4B0; }
.service-card--feature .link-arrow { color: #fff; }
.service-card--feature .service-card__tags li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #C9CDE8; }

/* Tabs for treatment explorer */
.tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.tab {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  padding: .65rem 1.2rem; min-height: 44px; border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.tab:hover { border-color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabpanel[hidden] { display: none; }

/* ---------- Pain locator ---------- */
.locator { display: grid; gap: 2.5rem; align-items: center; }
.locator__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; list-style: none; padding: 0; margin: 0; }
.locator__list li { margin: 0; }
.locator__item {
  display: flex; align-items: center; gap: .8rem; height: 100%;
  padding: .9rem 1rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 500; line-height: 1.25;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.locator__item svg { width: 34px; height: 34px; color: var(--coral); flex: none; }
.locator__item:hover, .locator__item.is-hot { border-color: var(--coral); box-shadow: 0 10px 24px -16px rgba(249, 99, 99, .9); transform: translateY(-2px); color: var(--ink); }
.locator__figure { position: relative; max-width: 360px; margin-inline: auto; width: 100%; }
.locator__figure svg { width: 100%; height: auto; }
.body-outline { fill: #fff; stroke: var(--line-strong); stroke-width: 1.5; }
.hotspot { cursor: pointer; }
.hotspot circle { fill: var(--coral); transition: r .3s var(--ease); }
.hotspot .pulse { fill: none; stroke: var(--coral); stroke-width: 1.5; opacity: .6; transform-box: fill-box; transform-origin: center; }
.hotspot:hover circle:not(.pulse), .hotspot.is-hot circle:not(.pulse), .hotspot:focus-visible circle:not(.pulse) { r: 9; }
.hotspot:focus-visible { outline: none; }
.hotspot:focus-visible .pulse { opacity: 1; stroke-width: 3; }
@media (prefers-reduced-motion: no-preference) {
  .hotspot .pulse { animation: pulse 2.4s var(--ease) infinite; }
  .hotspot:nth-of-type(2n) .pulse { animation-delay: .8s; }
  .hotspot:nth-of-type(3n) .pulse { animation-delay: 1.6s; }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
.locator__note { font-size: var(--fs-xs); color: var(--muted); margin-top: 1.25rem; display: flex; gap: .5rem; }
.locator__note .icon { width: 16px; height: 16px; margin-top: .2rem; }

/* ---------- Doctor editorial ---------- */
.doctor { display: grid; gap: 3rem; align-items: center; }
.doctor__media { position: relative; }
.doctor__photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--lilac);
  box-shadow: var(--shadow);
}
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.doctor__caption {
  position: absolute; right: -1rem; bottom: 2rem; max-width: 260px;
  background: var(--navy); color: #C9CDE8; padding: 1.1rem 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm); line-height: 1.45;
}
.doctor__caption strong { color: #fff; display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: .2rem; }
.doctor__lines { position: absolute; left: -2rem; top: -2rem; width: 140px; color: var(--coral); opacity: .7; z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .75rem; }
.check-list li { margin: 0; display: flex; gap: .75rem; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .2rem; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2359' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.pillars { display: grid; gap: 1rem; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.pillar__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--coral-soft); color: var(--coral-ink); margin-bottom: 1rem; }
.pillar__icon .icon { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.pillar p { font-size: var(--fs-sm); margin: 0; }

/* ---------- Journey ---------- */
.journey { position: relative; display: grid; gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.journey__line { display: none; }
.step { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; counter-increment: step; }
.step__num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
  margin-bottom: 1.25rem; box-shadow: 0 0 0 6px var(--lilac);
}
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { font-size: var(--fs-sm); margin: 0; }

/* ---------- Article / resource cards ---------- */
.post-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb {
  aspect-ratio: 16 / 9; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--lilac), var(--mint));
  color: var(--navy);
}
.post-card__thumb svg.thumb-icon { width: 76px; height: 76px; position: relative; z-index: 1; }
.post-card__thumb .thumb-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--coral); opacity: .35; }
.post-card:nth-child(3n+2) .post-card__thumb { background: linear-gradient(135deg, var(--coral-soft), var(--lilac)); }
.post-card:nth-child(3n+3) .post-card__thumb { background: linear-gradient(135deg, var(--mint), #fff); }
.post-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: var(--fs-xs); color: var(--muted); margin-bottom: .6rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.post-card__meta .tag { color: var(--coral-ink); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.post-card h3 a { text-decoration: none; color: inherit; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { font-size: var(--fs-sm); flex: 1; }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; color: var(--ink); line-height: 1.4;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--navy); }
.faq__toggle { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--navy); transition: transform .35s var(--ease), background .25s; }
.faq__toggle .icon { width: 18px; height: 18px; }
.faq__item[open] .faq__toggle { transform: rotate(45deg); background: var(--coral); color: #fff; }
.faq__a { padding: 0 1.35rem 1.25rem; font-size: var(--fs-sm); }
.faq__a > :last-child { margin-bottom: 0; }

/* ---------- Locations ---------- */
.locations { display: grid; gap: 1.25rem; }
.location {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column;
}
.location__tag { display: inline-flex; align-self: flex-start; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); background: var(--coral-soft); padding: .25rem .7rem; border-radius: var(--radius-pill); margin-bottom: 1rem; }
.location h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.location address { font-style: normal; margin-bottom: 1.25rem; display: flex; gap: .65rem; }
.location address .icon { color: var(--coral); margin-top: .3rem; }
.location__meta { display: flex; gap: .65rem; font-size: var(--fs-sm); margin-bottom: 1.5rem; }
.location__meta .icon { color: var(--coral); margin-top: .25rem; }
.location .btn-row { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--navy); color: #C9CDE8; padding: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { font-size: var(--fs-lg); max-width: 40rem; margin-bottom: 2rem; }
.cta-band__lines { position: absolute; right: -8%; top: -30%; width: 70%; height: 160%; color: var(--coral); opacity: .35; z-index: -1; pointer-events: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy) 55%, var(--navy-800) 100%);
  color: #C9CDE8; padding-block: clamp(2.25rem, 1.75rem + 2vw, 3.5rem) clamp(3rem, 2.5rem + 3vw, 5rem);
}
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: #D9DCF1; max-width: 46rem; }
.page-hero__lines { position: absolute; right: -10%; top: -20%; width: 70%; height: 150%; color: var(--coral); opacity: .3; z-index: -1; pointer-events: none; }
.page-hero__icon { position: absolute; right: 6%; bottom: -12%; width: clamp(160px, 22vw, 320px); color: rgba(255, 255, 255, .06); z-index: -1; }
.page-hero__grid { display: grid; gap: 2rem; align-items: end; }
.page-hero .btn-row { margin-top: 1.75rem; }
.page-hero--light { background: linear-gradient(180deg, #fff, var(--lilac)); color: var(--text); }
.page-hero--light h1 { color: var(--ink); }
.page-hero--light .lead { color: var(--text); }
.page-hero--light .eyebrow { color: var(--coral-ink); }
.page-hero--light .page-hero__icon { color: rgba(28, 35, 89, .05); }

.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: var(--fs-xs); }
.breadcrumb li { margin: 0; display: inline-flex; align-items: center; gap: .35rem; }
.breadcrumb li + li::before { content: "/"; opacity: .5; }
.breadcrumb a { color: inherit; text-decoration: none; opacity: .85; }
.breadcrumb a:hover { opacity: 1; text-decoration: underline; color: inherit; }
.breadcrumb [aria-current] { opacity: .65; }

.glance { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); padding: 1.5rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.glance h2 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #FFB4B0; margin-bottom: 1rem; font-weight: 600; }
.glance dl { margin: 0; display: grid; gap: .9rem; }
.glance dt { font-family: var(--font-head); color: #fff; font-weight: 500; font-size: .95rem; }
.glance dd { margin: .15rem 0 0; font-size: var(--fs-sm); line-height: 1.5; color: #C9CDE8; }

/* ---------- Content layout ---------- */
.content-layout { display: grid; gap: 3rem; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2.05rem); margin-top: 2.6rem; padding-top: .25rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose ul li::marker { color: var(--coral); }
.prose a { color: var(--navy); font-weight: 500; text-decoration-color: rgba(249, 99, 99, .6); text-decoration-thickness: 2px; }
.prose a:hover { color: var(--coral-ink); }
.prose table { display: block; overflow-x: auto; }
.prose .note, .note {
  display: flex; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--coral-soft); border: 1px solid #FBD0CD; font-size: var(--fs-sm); color: var(--ink); margin: 1.75rem 0;
}
.note .icon { color: var(--coral-ink); margin-top: .2rem; }
.note > div > :last-child { margin-bottom: 0; }
.note--info { background: var(--lilac); border-color: var(--line); }
.note--info .icon { color: var(--navy); }

.sidebar { display: grid; gap: 1.25rem; align-content: start; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.side-card h2, .side-card .side-card__title { font-size: 1.1rem; margin-bottom: .9rem; font-family: var(--font-head); color: var(--ink); font-weight: 600; }
.side-card--book { background: var(--navy); border-color: var(--navy); color: #C9CDE8; }
.side-card--book .side-card__title { color: #fff; font-size: 1.3rem; }
.side-card--book p { font-size: var(--fs-sm); }
.side-card--book .btn + .btn { margin-top: .6rem; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a { display: flex; gap: .6rem; padding: .45rem 0; font-size: var(--fs-sm); color: var(--text); text-decoration: none; line-height: 1.4; border-left: 2px solid var(--line); padding-left: .85rem; transition: border-color .25s, color .25s; }
.toc a:hover, .toc a.is-current { color: var(--navy); border-left-color: var(--coral); }

.related-grid { display: grid; gap: 1rem; }
.related-link {
  display: flex; flex-direction: column; gap: .35rem; text-decoration: none; padding: 1.25rem 1.35rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: border-color .25s, transform .25s var(--ease);
}
.related-link strong { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-family: var(--font-head); font-size: 1.05rem; }
.related-link strong .icon { width: 18px; height: 18px; color: var(--coral); transition: transform .25s var(--ease); }
.related-link span { font-size: var(--fs-sm); line-height: 1.5; }
.related-link:hover { border-color: var(--navy); transform: translateY(-2px); color: var(--text); }
.related-link:hover .icon { transform: translateX(3px); }

.article-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: var(--fs-sm); color: #C9CDE8; margin-top: 1.25rem; }
.page-hero--light .article-meta { color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.article-meta .icon { width: 16px; height: 16px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label, .field legend { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .98rem; }
.field .req { color: var(--coral-ink); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--canvas); border: 1.5px solid var(--line-strong); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.textarea { min-height: 110px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: #A9AECB; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(28, 35, 89, .12); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C2359' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #C62828; background: #FFF7F7; }
.field__error { display: none; font-size: var(--fs-xs); color: #B71C1C; font-weight: 500; }
.field.has-error .field__error { display: flex; gap: .35rem; align-items: center; }
.prefix-input { display: flex; }
.prefix-input span { display: grid; place-items: center; padding-inline: .9rem; border: 1.5px solid var(--line-strong); border-right: 0; border-radius: 12px 0 0 12px; background: var(--lilac); font-weight: 600; color: var(--ink); }
.prefix-input .input { border-radius: 0 12px 12px 0; }
.slot-group { border: 0; padding: 0; margin: 0; }
.slot-group legend { margin-bottom: .45rem; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  min-height: 60px; padding: .5rem; border-radius: 12px; border: 1.5px solid var(--line-strong); background: var(--canvas);
  cursor: pointer; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; line-height: 1.25; transition: border-color .2s, background .2s;
}
.slot label small { font-size: .72rem; color: var(--muted); font-weight: 400; }
.slot input:checked + label { border-color: var(--navy); background: var(--navy); color: #fff; }
.slot input:checked + label small { color: #C9CDE8; }
.slot input:focus-visible + label { outline: 3px solid var(--coral); outline-offset: 2px; }
.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-sm); }
.consent input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--navy); flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1.25rem; padding: 1.25rem; border-radius: var(--radius); font-size: var(--fs-sm); }
.form-status.is-visible { display: block; }
.form-status--demo { background: #FFF8E6; border: 1px solid #F3D48A; color: #4A3B00; }
.form-status--success { background: var(--mint); border: 1px solid var(--mint-strong); color: #123A22; }
.form-status--error { background: #FFF1F1; border: 1px solid #F5B5B5; color: #7A1010; }
.form-status h3 { font-size: 1.15rem; margin-bottom: .4rem; color: inherit; }
.form-status > :last-child { margin-bottom: 0; }
.mode-banner { display: flex; gap: .75rem; padding: .9rem 1.1rem; border-radius: var(--radius); background: #FFF8E6; border: 1px solid #F3D48A; color: #4A3B00; font-size: var(--fs-sm); margin-bottom: 1.5rem; }
.mode-banner .icon { margin-top: .2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #A9AED0; padding-top: clamp(3.5rem, 3rem + 3vw, 5.5rem); font-size: var(--fs-sm); }
.site-footer a { color: #DADDF2; text-decoration: none; }
.site-footer a:hover { color: #FFB4B0; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 1.25rem; background: #fff; border-radius: 12px; padding: 6px 10px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer li { margin: 0; }
.footer-contact li { display: flex; gap: .6rem; }
.footer-contact .icon { width: 16px; height: 16px; margin-top: .3rem; color: var(--coral); }
.footer-contact address { font-style: normal; }
.social { display: flex; gap: .6rem; margin-top: 1.25rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); }
.social a:hover { background: var(--coral); border-color: var(--coral); color: var(--navy-950); }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: var(--fs-xs); }
.footer-bottom ul { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.disclaimer { font-size: var(--fs-xs); color: #8B90B5; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.25rem; line-height: 1.6; }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem;
  padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(16, 22, 63, .5);
  transform: translateY(110%); transition: transform .4s var(--ease-out);
}
.action-bar.is-visible { transform: none; }
.action-bar.is-suppressed { transform: translateY(110%); }
.action-bar .btn { min-height: 48px; padding-inline: .75rem; }
body.has-action-bar { padding-bottom: 76px; }

/* ---------- Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.badge-row li { margin: 0; padding: .45rem .9rem; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink); font-weight: 500; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; margin: 0; padding: 0 0 1.5rem 1.75rem; border-left: 2px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--coral); }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline .year { display: block; font-family: var(--font-head); font-weight: 600; color: var(--coral-ink); font-size: var(--fs-sm); }
.pub { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.pub h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.pub p { font-size: var(--fs-sm); margin: 0; }
.data-table { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.data-table table { margin: 0; }
.data-table-wrap { overflow-x: auto; }
.empty-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.empty-404 .code { font-family: var(--font-head); font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; color: var(--navy); letter-spacing: -.05em; }
.empty-404 .code span { color: var(--coral); }
.split { display: grid; gap: 2.5rem; }

/* ---------- Motion: reveal on scroll (progressive enhancement) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.draw-path { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
.js .is-visible .draw-path, .js .draw-path.is-drawn { animation: draw 2.4s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__frame img { animation: heroIn 1.4s var(--ease-out) both; }
  .float-slow { animation: floatY 7s ease-in-out infinite; }
  .float-slow--late { animation-delay: -3.5s; }
}
@keyframes heroIn { from { transform: scale(1.06); opacity: .6; } to { transform: none; opacity: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .draw-path { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .topbar, .action-bar, .drawer, .site-footer, .cta-band, .sidebar { display: none !important; }
  body { background: #fff; padding: 0; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}

/* ==========================================================================
   v2: editorial refresh (photography-led, fewer decorative effects)
   ========================================================================== */
.eyebrow::before { display: none; }
.eyebrow { letter-spacing: .12em; margin-bottom: .75rem; }
.btn--lg { min-height: 58px; padding: .95rem 1.9rem; font-size: 1.05rem; }
.h2-like { font-size: var(--fs-h2); }
.section-head--split { display: grid; gap: 1rem 3rem; align-items: end; max-width: none; }
.section-head--split p { margin: 0; }
.split--center { align-items: center; }

/* Hero */
.hero { background: linear-gradient(180deg, #fff 0%, var(--lilac) 100%); padding-block: clamp(2rem, 1.5rem + 3vw, 4.5rem); }
.hero__kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: var(--fs-sm); color: var(--coral-ink); background: var(--coral-soft); padding: .35rem .9rem; border-radius: var(--radius-pill); margin-bottom: 1.25rem; }
.hero__title { font-size: clamp(2.3rem, 1.6rem + 3vw, 4.1rem); line-height: 1.05; }
.hero__facts { list-style: none; padding: 1.5rem 0 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid var(--line); }
.hero__facts li { margin: 0; display: grid; gap: .15rem; }
.hero__facts strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.hero__facts span { font-size: var(--fs-xs); color: var(--muted); line-height: 1.4; }
.hero__visual { max-width: none; }
.hero__frame { aspect-ratio: 4 / 3.4; border-radius: var(--radius-lg); background: var(--lilac); box-shadow: var(--shadow-lg); }
.hero__frame picture, .hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero__locs { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; display: flex; gap: .85rem; align-items: center; background: rgba(255,255,255,.96); border-radius: var(--radius); padding: .85rem 1rem; box-shadow: var(--shadow); font-size: var(--fs-sm); line-height: 1.35; color: var(--text); }
.hero__locs strong { display: block; color: var(--ink); font-family: var(--font-head); }
.hero__locs-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--coral); color: #fff; flex: none; }

/* Quick actions */
.quickbar { background: #fff; border-block: 1px solid var(--line); }
.quickbar__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.quick { display: flex; gap: .85rem; align-items: center; padding: 1.15rem .75rem; text-decoration: none; color: var(--text); border-bottom: 1px solid var(--line); transition: background .25s; }
.quick:hover { background: var(--lilac); color: var(--text); }
.quick strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: 1rem; line-height: 1.25; }
.quick small { font-size: var(--fs-xs); color: var(--muted); }
.quick__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; }
.quick__icon svg { width: 22px; height: 22px; }

/* Services showcase */
.svc-grid { display: grid; gap: 1.5rem; }
.svc-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.svc-cat:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-cat__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--lilac); }
.svc-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc-cat:hover .svc-cat__media img { transform: scale(1.04); }
.svc-cat__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.svc-cat h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.svc-cat h3 a { color: inherit; text-decoration: none; }
.svc-cat h3 a:hover { color: var(--coral-ink); }
.svc-cat p { font-size: var(--fs-sm); margin-bottom: 1rem; }
.svc-cat__list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; border-top: 1px solid var(--line); }
.svc-cat__list li { margin: 0; border-bottom: 1px solid var(--line); }
.svc-cat__list a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .62rem 0; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.svc-cat__list a::after { content: "\2192"; color: var(--coral); transition: transform .25s var(--ease); }
.svc-cat__list a:hover { color: var(--coral-ink); }
.svc-cat__list a:hover::after { transform: translateX(3px); }
.svc-cat__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }

/* Anatomical body map */
.locator__figure { max-width: 400px; }
.anatomy { width: 100%; height: auto; overflow: visible; }
.mu { stroke: #8790C8; stroke-width: 1.3; stroke-linejoin: round; }
.mu--m { fill: url(#muscle); }
.mu--l { fill: url(#muscleLight); }
.mu-line { fill: none; stroke: #8790C8; stroke-width: 1; opacity: .7; }
.glow { opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.glow.is-active { opacity: 1; }
.glow__halo { fill: url(#glowGrad); }
.glow__ring { fill: #ff3030; opacity: .35; }
.glow__core { fill: #ff2020; filter: drop-shadow(0 0 6px rgba(255, 32, 32, .9)); }
@media (prefers-reduced-motion: no-preference) {
  .glow.is-active .glow__halo { animation: glowPulse 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes glowPulse { 0%, 100% { transform: scale(.85); opacity: .9; } 50% { transform: scale(1.15); opacity: .55; } }
.locator__list { grid-template-columns: 1fr 1fr; margin-top: 1.5rem; }
.locator__item.is-active, .locator__item:hover { border-color: var(--coral); background: #FFF8F8; }
.locator__arrow { margin-left: auto; width: 16px !important; height: 16px !important; color: var(--muted) !important; }

/* Doctor credentials card (shown until the real portrait is supplied) */
.doctor-card { aspect-ratio: auto; padding: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%); color: #C9CDE8; display: flex; flex-direction: column; justify-content: center; }
.doctor-card__mono { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: 1.9rem; color: var(--navy); background: #fff; margin-bottom: 1.5rem; box-shadow: 0 0 0 6px rgba(255,255,255,.12); }
.doctor-card__name { font-family: var(--font-head); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: #fff; font-weight: 600; margin-bottom: .35rem; }
.doctor-card__role { color: #FFB4B0; font-size: var(--fs-sm); margin-bottom: 1.5rem; }
.doctor-card__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.doctor-card__list li { margin: 0; display: flex; gap: .75rem; font-size: var(--fs-sm); line-height: 1.5; }
.doctor-card__list .icon { color: #FFB4B0; margin-top: .15rem; }

/* Journey on navy */
.section--navy .section-head p { color: #C9CDE8; }
.journey--dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.journey--dark .step h3 { color: #fff; }
.journey--dark .step p { color: #C9CDE8; }
.journey--dark .step__num { background: var(--coral); color: var(--navy-950); box-shadow: none; }

/* Testimonials */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.reviews-head p { margin: 0; }
.reviews-score { display: flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.25rem; }
.reviews-score strong { font-family: var(--font-head); font-size: 2rem; color: var(--navy); line-height: 1; }
.reviews-score span { font-size: var(--fs-sm); line-height: 1.3; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; }
.review { scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; }
.review__stars { color: #F5A623; letter-spacing: .15em; font-size: 1.05rem; margin-bottom: .75rem; }
.review blockquote { margin: 0 0 1.25rem; flex: 1; }
.review blockquote p { font-size: var(--fs-sm); color: var(--text); margin: 0; }
.review figcaption { display: flex; gap: .75rem; align-items: center; border-top: 1px solid var(--line); padding-top: 1rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--lilac); color: var(--navy); font-family: var(--font-head); font-weight: 600; flex: none; }
.review figcaption strong { display: block; font-family: var(--font-head); color: var(--ink); }
.review figcaption small { color: var(--muted); font-size: var(--fs-xs); }

/* Booking section */
.booking { background: linear-gradient(180deg, var(--lilac), #fff); }
.booking__grid { display: grid; gap: 2.5rem; align-items: start; }
.booking__call { display: inline-flex; align-items: center; gap: .85rem; margin: .5rem 0 1.5rem; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1.1rem .75rem .75rem; }
.booking__call > span:first-child { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff; }
.booking__call small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.booking__call strong { font-family: var(--font-head); font-size: 1.2rem; }
.booking__locs { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.booking__locs li { margin: 0; display: flex; gap: .65rem; font-size: var(--fs-sm); }
.booking__locs strong { display: block; color: var(--ink); }
.booking__locs .icon { color: var(--coral); margin-top: .2rem; }
.booking__photo { display: none; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.booking__photo img { width: 100%; height: 100%; object-fit: cover; }
.form-foot { display: flex; gap: .5rem; align-items: center; justify-content: center; font-size: var(--fs-xs); color: var(--muted); margin: .75rem 0 0; }
.form-foot .icon { color: #2E7D32; width: 16px; height: 16px; }
.consent label { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-sm); }

/* Why / pillars */
.why-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.6; box-shadow: var(--shadow); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.pillars--2 { margin-top: 1.5rem; }

/* Article cards with photos */
.post-card__thumb { aspect-ratio: 16 / 10; display: block; background: var(--lilac); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card:hover .post-card__thumb img { transform: scale(1.04); }

/* Inner page hero with photo */
.page-hero--photo { padding-block: clamp(1.75rem, 1.5rem + 1.5vw, 2.75rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero--photo h1 { max-width: 18ch; }
.page-hero__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); background: rgba(255,255,255,.06); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo .page-hero__grid { align-items: center; }
.glance--light { background: var(--lilac); border-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.glance--light h2 { color: var(--coral-ink); }
.glance--light dt { color: var(--ink); }
.glance--light dd { color: var(--text); }

/* Wide horizontal service cards (arthroscopy, trauma) */
.svc-grid--wide { margin-top: 1.5rem; }
.svc-cat--wide .svc-cat__media { aspect-ratio: 16 / 9; }
.section-head--split > .btn { justify-self: start; }

/* Mega menu v3: hover panel with service image preview */
.mega { width: min(1120px, calc(100vw - 48px)); padding: 1.5rem; top: calc(100% + 10px); }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.mega__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 1.75rem; align-items: stretch; }
.mega__grid { gap: 1.25rem; }
.mega__grid > div + div { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.mega__title { color: var(--navy); }
.mega a { position: relative; transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.mega ul a svg { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; background: #FFF1F1; border-radius: 10px; transition: background .2s var(--ease), color .2s var(--ease); }
.mega a:hover, .mega a:focus-visible { background: var(--lilac); transform: translateX(3px); }
.mega ul a:hover svg, .mega ul a:focus-visible svg { background: var(--coral); color: #fff; }
.mega__preview { display: block; position: relative; margin: 0 !important; padding: 0 !important; border-radius: var(--radius-lg) !important; overflow: hidden; min-height: 300px; background: var(--navy); transform: none !important; }
.mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--ease), transform .6s var(--ease-out); }
.mega__preview.is-swapping img { opacity: .35; }
.mega__preview:hover img { transform: scale(1.04); }
.mega__preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,35,89,0) 35%, rgba(28,35,89,.92) 100%); }
.mega__cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; color: #fff; display: grid; gap: .25rem; }
.mega__cap small { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.mega__cap strong { color: #fff; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.25; }
.mega__cap em { font-style: normal; font-size: .85rem; display: inline-flex; align-items: center; gap: .35rem; color: #FFB3B3; }
.mega__preview .mega__cap svg { width: 14px; height: 14px; padding: 0; background: none; color: inherit; }
@media (max-width: 1100px) { .mega__body { grid-template-columns: 1fr; } .mega__preview { display: none !important; } }

.mega__cap small { color: #fff; }
.mega__foot .btn svg { background: none; padding: 0; }

/* Testimonials v3 */
.reviews { background: var(--navy); color: rgba(255,255,255,.8); overflow: hidden; position: relative; }
.reviews::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -180px; top: -200px; background: radial-gradient(circle, rgba(249,99,99,.22), transparent 70%); pointer-events: none; }
.reviews__grid { display: grid; gap: 2.5rem; position: relative; }
.reviews__intro h2 { color: #fff; }
.reviews__intro .eyebrow { color: #FF9C9C; }
.reviews .reviews-score { display: flex; align-items: center; gap: .9rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0; color: #fff; }
.reviews .reviews-score .g-logo { width: 34px; height: 34px; background: #fff; border-radius: 50%; padding: 6px; flex: none; }
.reviews .reviews-score strong { font-family: var(--font-head); font-size: 1.6rem; color: #fff; margin-right: .2rem; }
.reviews .reviews-score small { display: block; color: rgba(255,255,255,.65); font-size: var(--fs-xs); }
.reviews__nav { display: flex; align-items: center; gap: .6rem; }
.reviews__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.reviews__btn:hover, .reviews__btn:focus-visible { background: var(--coral); border-color: var(--coral); }
.reviews__btn .icon { width: 18px; height: 18px; }
.reviews__btn[data-rev="-1"] .icon { transform: rotate(180deg); }
.reviews__progress { flex: 1; height: 3px; background: rgba(255,255,255,.15); border-radius: 3px; margin-left: .6rem; overflow: hidden; }
.reviews__progress span { display: block; height: 100%; width: 30%; background: var(--coral); border-radius: 3px; transition: transform .3s var(--ease); }
.reviews .reviews-track { grid-auto-columns: min(88%, 370px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: .25rem 0 .5rem; gap: 1.25rem; scroll-behavior: smooth; }
.reviews .reviews-track::-webkit-scrollbar { display: none; }
.reviews .review { border: 0; box-shadow: 0 20px 40px -24px rgba(0,0,0,.5); padding: 1.75rem; transition: transform .3s var(--ease-out); }
.reviews .review:hover { transform: translateY(-4px); }
.review__top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.review__chip { font-size: var(--fs-xs); font-weight: 600; color: var(--navy); background: var(--lilac); padding: .3rem .7rem; border-radius: var(--radius-pill); line-height: 1.3; }
.reviews .review__stars { margin: 0; font-size: .95rem; letter-spacing: .08em; white-space: nowrap; }
.review__quote { width: 30px; height: 22px; fill: var(--coral); opacity: .9; margin-bottom: .75rem; }
.reviews .review blockquote p { font-size: .98rem; line-height: 1.65; color: var(--ink); }
.review figcaption small { display: flex; align-items: center; gap: .35rem; }
.review figcaption .g-logo { width: 13px; height: 13px; }
.review__avatar--0 { background: linear-gradient(135deg, #F96363, #FF9C7A); color: #fff; }
.review__avatar--1 { background: linear-gradient(135deg, #1C2359, #4A55A2); color: #fff; }
.review__avatar--2 { background: linear-gradient(135deg, #2E8B6A, #6CC4A1); color: #fff; }
.review__avatar--3 { background: linear-gradient(135deg, #7A5AF8, #B39CFF); color: #fff; }
@media (min-width: 960px) { .reviews__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 3.5rem; align-items: center; } }

/* Doctor credentials card v3 */
.doctor-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.doctor-card::before { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(249,99,99,.12); pointer-events: none; }
.doctor-card::after { content: ""; position: absolute; left: -60px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(120,132,230,.25), transparent 70%); pointer-events: none; }
.doctor-card > * { position: relative; z-index: 1; }
.doctor-card__head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.doctor-card__head .doctor-card__mono { margin: 0; }
.doctor-card__tag { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: .4rem .8rem; border-radius: var(--radius-pill); }
.doctor-card__list { gap: .6rem; }
.doctor-card__list li { align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-sm); padding: .7rem .85rem; color: #E3E6F7; }
.doctor-card__list .icon { flex: none; width: 30px; height: 30px; padding: 6px; margin: 0; border-radius: 9px; background: rgba(249,99,99,.16); color: #FF9C9C; box-sizing: border-box; }
.doctor-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); }
.doctor-card__call { display: inline-flex; align-items: center; gap: .45rem; color: #fff; text-decoration: none; font-weight: 600; font-family: var(--font-head); }
.doctor-card__call .icon { width: 18px; height: 18px; color: #FF9C9C; }
.doctor-card__call:hover { color: #FFB4B0; }

/* Full, uncropped photos: every photo frame matches the 1264x848 (3:2) source images */
.hero__frame, .svc-cat__media, .svc-cat--wide .svc-cat__media, .booking__photo, .why-photo, .post-card__thumb, .page-hero__media { aspect-ratio: 1264 / 848 !important; height: auto; }
.hero__frame picture, .hero__frame img, .svc-cat__media img, .booking__photo img, .why-photo img, .post-card__thumb img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.svc-cat--wide .svc-cat__media { align-self: center; }
.mega__preview { min-height: 0; display: flex !important; flex-direction: column; }
.mega__preview img { position: static; height: auto; aspect-ratio: 1264 / 848; }
.mega__preview::after { display: none; }
.mega__cap { position: static; padding: 1rem 1.1rem 1.1rem; flex: 1; align-content: center; }
.mega__preview:hover img { transform: none; }

/* Floating contact buttons */
.fab { position: fixed; right: clamp(14px, 2vw, 28px); bottom: clamp(18px, 3vw, 32px); z-index: 60; display: none; flex-direction: column; align-items: flex-end; gap: .85rem; }
.fab__btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(28,35,89,.55), 0 0 0 4px rgba(255,255,255,.9); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease); }
.fab__btn .icon, .fab__wa { width: 26px; height: 26px; }
.fab__btn--book { background: linear-gradient(145deg, #2A3380, var(--navy)); }
.fab__btn--call { background: linear-gradient(145deg, #FF7B7B, var(--coral)); }
.fab__btn--wa { background: linear-gradient(145deg, #4BE07A, #1FAF55); }
.fab__btn--wa .fab__wa { width: 30px; height: 30px; }
.fab__btn:hover, .fab__btn:focus-visible { transform: translateY(-3px) scale(1.06); color: #fff; }
.fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; z-index: -1; animation: fabPulse 2.4s ease-out infinite; }
.fab__btn--call::before { animation-delay: .8s; }
.fab__btn--wa::before { animation-delay: 1.6s; }
.fab__label { position: absolute; right: calc(100% + 14px); top: 50%; transform: translate(8px, -50%); white-space: nowrap; background: #fff; color: var(--ink);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: .55rem .9rem; border-radius: var(--radius-pill); box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease-out); }
.fab__label::after { content: ""; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.fab__btn:hover .fab__label, .fab__btn:focus-visible .fab__label { opacity: 1; transform: translate(0, -50%); }
.fab__btn--book .fab__label { opacity: 1; transform: translate(0, -50%); animation: fabHint 7s ease-in-out 2s both; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.65); opacity: 0; } }
@keyframes fabHint { 0%, 85% { opacity: 1; transform: translate(0, -50%); } 100% { opacity: 0; transform: translate(8px, -50%); } }
.fab__btn--book:hover .fab__label { animation: none; }
@media (min-width: 768px) { .fab { display: flex; } }
@media (prefers-reduced-motion: reduce) { .fab__btn::before, .fab__btn--book .fab__label { animation: none; } .fab__btn--book .fab__label { opacity: 0; } }
/* Mega menu footer button: undo the menu-link styles */
.mega .mega__foot .btn { margin: 0; padding: .6rem 1.15rem; border-radius: var(--radius-pill); background: var(--coral); color: var(--ink); gap: .5rem; transform: none; }
.mega .mega__foot .btn:hover { background: #ff7b7b; transform: translateY(-1px); }
.mega .mega__foot .btn svg { width: 18px; height: 18px; color: currentColor; background: none; padding: 0; }
.doctor__caption { right: 1rem !important; left: 1rem; bottom: 1rem !important; max-width: none; background: rgba(28,35,89,.88); backdrop-filter: blur(6px); }

/* Main hospital (Empire Hospital, Sola): highlighted location card and booking-list badge */
.location--main { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral), var(--shadow-sm); }
.location--main .location__tag { background: var(--coral); color: #fff; }
.loc-main { display: inline-block; margin-left: .45rem; padding: .08rem .5rem; border-radius: var(--radius-pill); background: var(--coral); color: #fff; font-style: normal; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: .1em; }
