/* =========================================================================
   delhiuro.com — main.css
   Dr. Nitin Shrivastava · Urologist & Uro-Oncologist
   ------------------------------------------------------------------------
   Design tokens, base, components, sections, responsive overrides.
   ========================================================================= */

/* ---------- Tokens ---------------------------------------------------- */
:root {
  /* Palette */
  --navy:        #0b2545;
  --navy-700:    #0e2e57;
  --navy-500:    #1c3f73;
  --navy-50:     #f3f6fb;
  --ink:         #1a1f2e;
  --ink-soft:    #4b5466;
  --ink-mute:    #6b7488;
  --line:        #e5e9f0;
  --line-strong: #cfd6e3;
  --bg:          #ffffff;
  --bg-alt:      #f8faff;
  --bg-deep:     #f1f5fb;

  --oxford:      #c9a14a;      /* AIIMS Delhi + Oxford accent */
  --oxford-700:  #a98430;
  --oxford-50:   #fbf6ea;

  --teal:        #1a8b8b;      /* clinical / medical accent */
  --teal-700:    #146e6e;
  --teal-50:     #e7f4f4;

  --whatsapp:    #25d366;
  --rose:        #c0413e;      /* urgent */
  --rose-50:     #fdecec;

  /* Type */
  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Sizing */
  --container:   1240px;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-lg:   22px;
  --shadow-1:    0 1px 2px rgba(11,37,69,.06), 0 2px 8px rgba(11,37,69,.05);
  --shadow-2:    0 8px 24px rgba(11,37,69,.10), 0 2px 4px rgba(11,37,69,.06);
  --shadow-3:    0 24px 60px rgba(11,37,69,.16);

  --t-fast:      .18s cubic-bezier(.4,0,.2,1);
  --t:           .28s cubic-bezier(.4,0,.2,1);
  --t-slow:      .5s cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--oxford); outline-offset: 2px; border-radius: 4px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
p  { margin: 0 0 1em; }
strong { font-weight: 600; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--teal-700); margin: 0 0 .8em; }
.lead { font-size: 1.15rem; color: var(--ink); }
.muted { color: var(--ink-mute); font-weight: 400; }

/* Branded inline elements */
.oxford { color: var(--oxford-700); font-weight: 600; letter-spacing: .01em; }
.stars { color: var(--oxford); letter-spacing: 1px; }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
section { padding: clamp(56px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }
.skip-link { position: absolute; left: 8px; top: -40px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 1000; }
.skip-link:focus { top: 8px; }

/* ---------- Trust bar ------------------------------------------------- */
.trust-bar { background: var(--navy); color: #f1f3f8; font-size: .82rem; }
.trust-bar__inner { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center; padding: 9px 22px; min-height: 38px; }
.trust-bar__item { display: inline-flex; align-items: center; gap: 6px; }
.trust-bar__sep { color: #5a6f93; }
.trust-bar__phone { color: #fff; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.trust-bar__phone:hover { color: var(--oxford); text-decoration: none; }
.trust-bar .stars, .trust-bar [aria-hidden] { color: var(--oxford); }
@media (max-width: 740px) {
  /* Hide locations item + both separators around it */
  .trust-bar__item--locs, .trust-bar__sep:nth-of-type(3) { display: none; }
  .trust-bar__sep:nth-of-type(2) { display: none; }
}
@media (max-width: 520px) {
  /* Hide trust bar entirely on mobile — phone number is already in the sticky header */
  .trust-bar { display: none; }
}

/* ---------- Header / nav --------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { flex: 0 0 auto; }
.brand__words { display: flex; flex-direction: column; line-height: 1.1; }
.brand__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.brand__dot { color: var(--oxford); }
.brand__sub { font-size: .85rem; font-weight: 600; color: var(--ink); margin-top: 2px; }
.brand__creds { font-size: .72rem; color: var(--ink-mute); letter-spacing: .02em; margin-top: 2px; }
.brand--compact .brand__sub { display: none; }
.brand--footer { flex-direction: column; align-items: flex-start; gap: 2px; }
.brand--footer .brand__title { font-size: 1.5rem; color: #fff; }
.brand--footer .brand__sub { color: #cdd7e8; }
.brand--footer .brand__creds { color: #9fb0cc; }

/* Primary nav */
.main-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-link { background: none; border: 0; color: var(--ink); padding: 10px 14px; font-weight: 500; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; }
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--navy-50); color: var(--navy); }
.caret { font-size: .7em; opacity: .7; transition: transform var(--t-fast); }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Dropdowns — CSS :hover drives open (DOM ancestry = no gap issues); JS adds aria only */
.has-dropdown { position: relative; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  margin-top: -4px; padding-top: 4px; /* bridge: hover area overlaps li, no gap */
  background: linear-gradient(180deg,#fff,#fafcff); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(11,37,69,.12),0 2px 6px rgba(11,37,69,.06);
  padding: 12px 8px 8px; list-style: none; margin: 0; z-index: 999; }
.has-dropdown:hover > .dropdown,
.has-dropdown.is-open    > .dropdown { display: block; animation: navDropIn  .18s cubic-bezier(.4,0,.2,1) both; }
.has-dropdown.is-closing > .dropdown { display: block; animation: navDropOut .15s cubic-bezier(.4,0,.2,1) both; }
.dropdown li > a { display: flex; align-items: center; padding: 10px 14px; color: var(--ink); border-radius: 8px;
  transition: padding-left var(--t-fast), background var(--t-fast); }
.dropdown li > a::before { content:"›"; color: var(--oxford); margin-right: 8px; opacity: 0;
  transform: translateX(-4px); transition: opacity var(--t-fast), transform var(--t-fast); }
.dropdown li > a:hover { background: var(--navy-50); padding-left: 18px; }
.dropdown li > a:hover::before { opacity: 1; transform: translateX(0); }

/* Location cards dropdown */
.dropdown--cards { display: none; min-width: 540px; padding: 12px; gap: 12px; grid-template-columns: 1fr 1fr; }
.has-dropdown:hover > .dropdown--cards,
.has-dropdown.is-open    > .dropdown--cards { display: grid; animation: navDropIn  .18s cubic-bezier(.4,0,.2,1) both; }
.has-dropdown.is-closing > .dropdown--cards { display: grid; animation: navDropOut .15s cubic-bezier(.4,0,.2,1) both; }

@keyframes navDropIn  { from { opacity:0; transform:translateY(-8px) } to { opacity:1; transform:translateY(0) } }
@keyframes navDropOut { from { opacity:1; transform:translateY(0) } to { opacity:0; transform:translateY(-8px) } }
.loc-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink); position: relative; }
.loc-card:hover { background: var(--navy-50); text-decoration: none; transform: translateY(-1px); }
.loc-card strong { color: var(--navy); font-size: 1rem; }
.loc-card__type { font-size: .8rem; color: var(--ink-mute); }
.loc-card__addr { font-size: .82rem; color: var(--ink-soft); }
.loc-card__cta { font-size: .82rem; color: var(--teal-700); margin-top: 6px; font-weight: 600; }
.loc-card--gold { border-color: var(--oxford); background: var(--oxford-50); }
.loc-card--gold strong { color: var(--oxford-700); }

/* Mega menu */
/* CSS :hover propagates up DOM tree — hovering .mega makes .has-mega:hover true,
   regardless of painted position. No JS mouseleave gap issues. */
.main-nav__list { align-items: center; }
.has-mega { position: static; display: flex; align-items: center; }
.site-header { overflow: visible !important; }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; margin-top: -16px; padding-top: 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-2); z-index: 999; }
.has-mega:hover .mega,
.mega.is-open { display: block; }
.mega__inner { max-width: var(--container); margin: 0 auto; padding: 28px 22px; display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.mega__sidebar ul { list-style: none; margin: 0 0 18px; padding: 0; }
.mega__tab { width: 100%; text-align: left; background: none; border: 0; padding: 12px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.mega__tab:hover, .mega__tab.is-active { background: var(--navy-50); color: var(--navy); }
.mega__tab.is-active::after { content: "→"; color: var(--oxford); }
.mega__credstrip { padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .82rem; color: var(--ink-mute); }
.mega__credstrip .oxford { color: var(--oxford-700); }

.mega__panels { position: relative; min-height: 280px; }
.mega__panel { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.mega__panel[hidden] { display: none; }
.mega__feature { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: linear-gradient(145deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; text-decoration: none; }
.mega__feature:hover { transform: translateY(-2px); text-decoration: none; box-shadow: var(--shadow-2); }
.mega__feature-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--oxford); }
.mega__feature strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.mega__feature-desc { font-size: .9rem; opacity: .85; }
.mega__feature-cta { margin-top: auto; font-weight: 600; color: var(--oxford); }

.mega__links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__links a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; color: var(--ink); }
.mega__links a:hover { background: var(--navy-50); text-decoration: none; }
.mega__links strong { color: var(--navy); font-size: .95rem; }
.mega__links span { font-size: .8rem; color: var(--ink-mute); }
.mega__footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }

/* Nav CTAs */
.nav-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.nav-cta--call { color: var(--navy); border: 1px solid var(--line-strong); }
.nav-cta--call:hover { border-color: var(--navy); text-decoration: none; }
.nav-cta--book { background: var(--navy); color: #fff; }
.nav-cta--book:hover { background: var(--navy-700); text-decoration: none; }

/* Mobile toggle */
.mobile-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; position: relative; }
.mobile-toggle__line { display: block; width: 22px; height: 2px; background: var(--navy); margin: 4px auto; border-radius: 2px; transition: transform var(--t-fast), opacity var(--t-fast); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(11,37,69,.45); opacity: 0; pointer-events: none; transition: opacity var(--t); }
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; box-shadow: var(--shadow-3); overflow-y: auto; transform: translateX(100%); transition: transform var(--t-slow); display: flex; flex-direction: column; }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mobile-menu__close { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
.mobile-menu__nav { padding: 14px 20px 100px; }
.mobile-menu__label { text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; color: var(--ink-mute); margin: 18px 0 6px; font-weight: 600; }
.mobile-menu__list { list-style: none; padding: 0; margin: 0; }
.mobile-menu__list a, .m-accordion a { display: block; padding: 12px 0; color: var(--ink); border-bottom: 1px solid var(--line); }
.m-accordion summary { padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 500; color: var(--navy); list-style: none; }
.m-accordion summary::-webkit-details-marker { display: none; }
.m-accordion[open] summary .caret { transform: rotate(180deg); }
.m-accordion ul { list-style: none; padding-left: 12px; margin: 0; }
.m-accordion ul a { font-size: .92rem; color: var(--ink-soft); }
.mobile-menu__cta { position: sticky; bottom: 0; padding: 14px 20px; background: #fff; border-top: 1px solid var(--line); display: flex; gap: 10px; }
.mobile-menu__cta .btn { flex: 1; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .mobile-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .brand__creds { display: none; }
}

/* ---------- Buttons -------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; border: 0; transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-2); text-decoration: none; }
.btn--gold { background: var(--oxford); color: var(--navy); }
.btn--gold:hover { background: var(--oxford-700); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); text-decoration: none; }
.btn--whatsapp, .btn--wa { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover, .btn--wa:hover { background: #1ebe5d; color: #fff; text-decoration: none; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }

/* ---------- Badges --------------------------------------------------- */
.badge { display: inline-block; padding: 2px 8px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; }
.badge--gold { background: var(--oxford); color: var(--navy); }
.badge--teal { background: var(--teal-50); color: var(--teal-700); }
.badge--rose { background: var(--rose-50); color: var(--rose); }

/* ---------- Hero ----------------------------------------------------- */
.hero { background: radial-gradient(1100px 600px at 80% -10%, rgba(201,161,74,.18), transparent 50%), linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(56px, 9vw, 110px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 14px; }
.hero h1 .accent { color: var(--oxford-700); }
.hero__pretitle { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; color: var(--ink-soft); }
.hero__dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.hero__lead { font-size: 1.15rem; color: var(--ink); max-width: 60ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__trust-item { background: var(--bg-alt); border-radius: var(--radius-sm); padding: 14px 16px 12px; border-top: 3px solid var(--teal); display: flex; flex-direction: column; gap: 3px; }
.hero__trust-item strong { font-family: var(--font-display); font-size: 1.9rem; color: var(--teal); line-height: 1; letter-spacing: -.01em; }
.hero__trust-item span { font-size: .78rem; color: var(--ink-soft); font-weight: 500; line-height: 1.3; }

.hero__visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(145deg, var(--navy), var(--navy-700)); aspect-ratio: 4/5; box-shadow: var(--shadow-3); display: flex; align-items: flex-end; padding: 28px; color: #fff; }
.hero__visual::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(201,161,74,.25), transparent 60%); pointer-events: none; }
.hero__visual-inner { position: relative; z-index: 1; }
.hero__visual-eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--oxford); }
.hero__visual h3 { color: #fff; font-size: 1.6rem; margin: 6px 0 4px; }
.hero__visual p { opacity: .85; font-size: .92rem; margin: 0; }
.hero__credentials { position: absolute; left: 22px; top: 22px; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 75%; }
.hero__credentials span { background: rgba(255,255,255,.1); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; font-size: .78rem; color: #fff; }
.hero__credentials .oxford { color: var(--oxford); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { aspect-ratio: 16/11; padding: 22px; }
}

/* ---------- Section helpers ----------------------------------------- */
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

/* ---------- Cards ---------------------------------------------------- */
.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards--3, .cards--4, .cards--2 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast); display: flex; flex-direction: column; gap: 8px; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-strong); }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.card__icon--gold { background: var(--oxford-50); color: var(--oxford-700); }
.card__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.card__desc { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card__link { margin-top: auto; color: var(--teal-700); font-weight: 600; font-size: .9rem; padding-top: 10px; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { text-decoration: none; }

/* Specialty card variant with credentials strip */
.spec-card { position: relative; padding-top: 30px; }
.spec-card .badge { position: absolute; top: 18px; right: 18px; }

/* ---------- Credential strip / counter ----------------------------- */
.creds-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 30px; background: linear-gradient(145deg, var(--navy), var(--navy-700)); border-radius: var(--radius-lg); color: #fff; box-shadow: var(--shadow-2); }
.creds-strip__item { text-align: center; }
.creds-strip__num { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; color: var(--oxford); display: block; line-height: 1; }
.creds-strip__lbl { font-size: .85rem; color: #d6def0; margin-top: 6px; display: block; }
@media (max-width: 720px) { .creds-strip { grid-template-columns: repeat(2, 1fr); padding: 24px; } }

/* ---------- Locations grid ----------------------------------------- */
.locs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 820px) { .locs-grid { grid-template-columns: 1fr; } }
.loc-block { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.loc-block--gold { border-color: var(--oxford); }
.loc-block__map { aspect-ratio: 16/9; background: var(--bg-deep); }
.loc-block__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-block__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.loc-block__body strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); }
.loc-block__type { font-size: .82rem; color: var(--teal-700); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.loc-block__addr { color: var(--ink-soft); }
.loc-block__ctas { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* ---------- Contact methods grid ----------------------------------- */
.contact-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.contact-method { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 10px; }
.contact-method--featured { border-color: var(--teal); border-width: 2px; position: relative; }
.contact-method--featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--teal); border-radius: var(--radius) var(--radius) 0 0; }
.contact-method__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--teal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method--featured .contact-method__icon { background: var(--teal); color: #fff; }
.contact-method__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy); margin: 0; }
.contact-method__value { font-weight: 600; color: var(--navy); font-size: 1rem; text-decoration: none; }
.contact-method__value:hover { color: var(--teal); }
.contact-method__badge { font-size: .75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .10em; margin: 0; }
.contact-method__note { font-size: .88rem; color: var(--ink-soft); margin: 0; flex: 1; line-height: 1.6; }
.contact-method .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 840px) { .contact-methods { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ------------------------------------------ */
.faq { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq__btn { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-size: 1.05rem; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__btn[aria-expanded="true"] { background: var(--navy-50); }
.faq__btn::after { content: "+"; font-size: 1.4rem; color: var(--oxford-700); transition: transform var(--t); }
.faq__btn[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__panel { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq__panel-inner { padding: 0 22px 20px; color: var(--ink-soft); }
.faq__panel-inner p:last-child { margin-bottom: 0; }

/* ---------- Stats / quote ------------------------------------------ */
.bigquote { max-width: 880px; margin: 0 auto; text-align: center; }
.bigquote p { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: var(--navy); line-height: 1.3; font-weight: 500; }
.bigquote cite { display: block; margin-top: 16px; font-size: .9rem; color: var(--ink-mute); font-style: normal; }

/* ---------- Reviews ------------------------------------------------ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .review-grid { grid-template-columns: 1fr; } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.review__stars { color: var(--oxford); }
.review__text { color: var(--ink-soft); font-style: italic; margin: 0; }
.review__who { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); font-size: .85rem; }
.review__who strong { color: var(--navy); font-style: normal; }
.review__who span { color: var(--ink-mute); }

/* ---------- Filter pills ------------------------------------------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: .9rem; cursor: pointer; }
.pill.is-active, .pill:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Media row ----------------------------------------------- */
.media-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .media-row { grid-template-columns: 1fr; } }
.media { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; gap: 8px; }
.media__pub { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--oxford-700); font-weight: 700; }
.media__headline { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); line-height: 1.25; }
.media__quote { font-style: italic; color: var(--ink-soft); border-left: 3px solid var(--oxford); padding-left: 12px; margin: 6px 0; }
.media__link { color: var(--teal-700); font-weight: 600; font-size: .9rem; margin-top: auto; }

/* ---------- Steps / process --------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); position: absolute; top: 14px; right: 18px; font-family: var(--font-display); font-size: 1.8rem; color: var(--oxford); opacity: .35; }
.step h4 { color: var(--navy); margin-top: 10px; }

/* ---------- Booking section --------------------------------------- */
.book-section { background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-alt) 100%); padding: clamp(56px, 9vw, 110px) 0; }
.book-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: flex-start; }
@media (max-width: 920px) { .book-grid { grid-template-columns: 1fr; } }
.book-intro h2 { margin-top: 4px; }
.book-trust { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 8px; color: var(--ink-soft); font-size: .95rem; }
.book-trust li { padding-left: 22px; position: relative; }
.book-trust li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-700); font-weight: 700; }
.book-locs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
@media (max-width: 620px) { .book-locs { grid-template-columns: 1fr; } }
.book-loc { padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 4px; font-size: .85rem; }
.book-loc--gold { border-color: var(--oxford); background: var(--oxford-50); }
.book-loc strong { color: var(--navy); font-size: .95rem; }
.book-loc span { color: var(--ink-soft); }

.appt-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { padding: 12px 14px; font: inherit; font-size: 16px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,37,69,.12); }
.field textarea { resize: vertical; min-height: 84px; }
.field--radio { border: 0; padding: 0; margin: 0; }
.field--radio legend { font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field--radio label { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; font-weight: 500; color: var(--ink); }
.hp-field { position: absolute; left: -10000px; opacity: 0; height: 0; width: 0; }
.form-foot { font-size: .8rem; color: var(--ink-mute); margin: 0; }
.form-status { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-status[data-state="ok"] { background: #e8f7ee; color: #0f6634; }
.form-status[data-state="err"] { background: var(--rose-50); color: var(--rose); }

/* ---------- Footer ------------------------------------------------- */
.site-footer { background: var(--navy); color: #cdd7e8; padding-top: 64px; padding-bottom: 24px; }
.site-footer a { color: #e1e8f4; }
.site-footer a:hover { color: var(--oxford); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .92rem; }
.footer-blurb { font-size: .9rem; color: #b0bbd2; margin-top: 16px; }
.social-row { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 8px; }
.social-row a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.06); color: #cdd7e8; }
.social-row a:hover { background: var(--oxford); color: var(--navy); text-decoration: none; }
.footer-loc { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.footer-loc:first-of-type { border-top: 0; padding-top: 0; }
.footer-loc strong { color: #fff; }
.footer-loc--gold strong { color: var(--oxford); }
.footer-contact { margin-top: 14px; font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 12px; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #97a4bf; }
.footer-utility { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; }
.footer-disclaimer { font-size: .78rem; color: #8a98b3; padding: 6px 22px 0; line-height: 1.6; }
.footer-disclaimer strong { color: #cdd7e8; }

/* ---------- WhatsApp float + mobile bar ---------------------------- */
.wa-float { position: fixed; right: 18px; bottom: 80px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: var(--whatsapp); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); animation: waPulse 3.4s ease-in-out infinite; }
.wa-float:hover { background: #1ebe5d; text-decoration: none; transform: scale(1.06); }
@keyframes waPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--shadow-2); } 50% { box-shadow: 0 0 0 12px rgba(37,211,102,0), var(--shadow-2); } }
@media (min-width: 900px) { .wa-float { bottom: 22px; right: 22px; width: 60px; height: 60px; } }

.mobile-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 24px rgba(11,37,69,.08); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 10px; }
.mobile-bar--two .mobile-bar__btn { font-size: .8rem; font-weight: 600; border-radius: var(--radius-sm); min-height: 52px; }
.mobile-bar--two .mobile-bar__btn:first-child { background: var(--navy-50); color: var(--navy); border: 1px solid var(--line); }
.mobile-bar--two .mobile-bar__btn--book { background: var(--oxford); color: #fff; border: 1px solid var(--oxford-700); }
.mobile-bar__btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .72rem; color: var(--navy); padding: 8px 4px; min-height: 56px; justify-content: center; }
.mobile-bar__btn--wa { color: var(--whatsapp); }
.mobile-bar__btn--book { color: var(--oxford-700); }
@media (max-width: 760px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
}

/* ---------- Breadcrumbs ------------------------------------------- */
.crumbs { display: flex; gap: 6px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-mute); padding: 16px 0 0; }
.crumbs a { color: var(--ink-mute); }
.crumbs a:hover { color: var(--navy); }
.crumbs span[aria-current] { color: var(--navy); font-weight: 600; }

/* ---------- Condition page elements ------------------------------- */
.condition-toc { position: sticky; top: 110px; align-self: start; }
.toc-list { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.toc-list a { color: var(--ink-soft); font-size: .9rem; }
.toc-list a:hover, .toc-list a.is-active { color: var(--navy); font-weight: 600; }

.symptoms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .symptoms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .symptoms { grid-template-columns: 1fr; } }
.sympt { padding: 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.sympt--red { border-color: var(--rose); background: var(--rose-50); }
.sympt__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--rose); margin-bottom: 6px; display: block; }
.sympt--orange .sympt__tag { color: var(--oxford-700); }
.sympt--gray .sympt__tag { color: var(--ink-mute); }

.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-1); }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
.compare-table thead th { background: var(--navy); color: #fff; font-weight: 600; }
.compare-table tbody tr:hover { background: var(--bg-alt); }

/* Stone size recommender tool */
.tool { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-1); }
.tool__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .tool__row { grid-template-columns: 1fr; } }
.tool__output { margin-top: 22px; padding: 22px; border-radius: var(--radius); background: var(--navy-50); border: 1px solid var(--line); }
.tool__output[data-state="hidden"] { display: none; }
.tool__output h4 { color: var(--navy); margin: 0 0 4px; font-family: var(--font-display); font-size: 1.4rem; }
.tool__output .badge { margin-bottom: 8px; }
.stone-slider { width: 100%; }
.stone-slider-val { font-family: var(--font-display); font-size: 2rem; color: var(--oxford-700); font-weight: 700; }

/* ---------- Scroll-fade animation --------------------------------- */
/* Only hide .reveal sections when JS is running (html.js class set by main.js).
   Without JS, all content is visible immediately — no stuck-hidden sections.  */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow), transform var(--t-slow); }
.reveal.is-visible { opacity: 1 !important; transform: translateY(0) !important; }
/* Fallback: if IntersectionObserver never fires, show after 1.5s */
html.js .reveal:not(.is-visible) { animation: revealFallback 0s 1.5s forwards; }
@keyframes revealFallback { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .wa-float { animation: none; }
  .hero__dot { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Tables / blockquote / lists --------------------------- */
.prose { max-width: 740px; }
.prose p, .prose ul, .prose ol { color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; border-left: 4px solid var(--oxford); background: var(--oxford-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--ink-soft); }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }

/* ---------- Page header banner ------------------------------------ */
.page-banner { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 60%, var(--navy-500) 100%); color: #fff; padding: clamp(54px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; background: radial-gradient(circle, rgba(201,161,74,.18), transparent 60%); pointer-events: none; }
.page-banner h1 { color: #fff; margin-top: 12px; max-width: 22ch; }
.page-banner .eyebrow { color: var(--oxford); }
.page-banner .lead { color: #d6def0; max-width: 60ch; }
.page-banner .crumbs { color: #aab5cd; padding-bottom: 8px; }
.page-banner .crumbs a { color: #aab5cd; }
.page-banner .crumbs span[aria-current] { color: #fff; }

/* Dark centred hero (procedure / condition pages) */
.hero--dark { background: linear-gradient(150deg, #0b2545 0%, #123a52 55%, #0e4050 100%); padding: clamp(60px, 8vw, 96px) 1rem clamp(52px, 7vw, 80px); color: #fff; text-align: center; position: relative; overflow: hidden; }
.hero--dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 900px 480px at 50% -15%, rgba(201,161,74,.13), transparent 65%); pointer-events: none; }
.hero--dark__inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero--dark__eyebrow { font-weight: 600; letter-spacing: .16em; font-size: .75rem; text-transform: uppercase; color: var(--oxford); margin: 0 0 18px; }
.hero--dark__kicker { display: block; font-family: var(--font-body); font-size: clamp(.82rem, 1.6vw, .96rem); font-weight: 600; color: rgba(255,255,255,.46); letter-spacing: .10em; text-transform: uppercase; margin-bottom: 14px; }
.hero--dark__title { font-family: var(--font-display); font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; line-height: 1.12; color: #fff; margin: 0 0 22px; }
.hero--dark__title .accent { color: var(--oxford); }
.hero--dark__lead { font-size: 1.06rem; line-height: 1.74; color: rgba(255,255,255,.78); max-width: 600px; margin: 0 auto 38px; }
.hero--dark__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn--ghost-white { background: rgba(255,255,255,.10); color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn--ghost-white:hover { background: rgba(255,255,255,.20); color: #fff; text-decoration: none; }

/* Metrics strip */
.metrics-strip { background: var(--teal-700); color: #fff; padding: 1.4rem 1rem; }
.metrics-strip__inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; text-align: center; }
.metrics-strip__stat { padding: .5rem 0; }
.metrics-strip__value { font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 700; line-height: 1.1; }
.metrics-strip__label { font-size: .78rem; opacity: .82; margin-top: 3px; }

/* CTA box (dark navy inline call-to-action blocks) */
.cta-box { background: var(--grad-navy, linear-gradient(135deg,#0b2545 0%,#1c3f73 100%)); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 52px) clamp(28px, 4vw, 48px); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; right: -8%; top: -30%; width: 55%; height: 160%; background: radial-gradient(circle, rgba(201,161,74,.14), transparent 60%); pointer-events: none; }
.cta-box__wrap { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-box__eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oxford); margin: 0 0 12px; }
.cta-box__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.25; }
.cta-box__lead { color: rgba(255,255,255,.78); font-size: 1rem; line-height: 1.68; margin: 0 0 28px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-box__creds { color: rgba(255,255,255,.60); font-size: .85rem; margin: 0 0 24px; }
.cta-box__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Small print ------------------------------------------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag-row .badge { font-size: .65rem; }

/* =========================================================================
   IMAGE-LED EDITORIAL COMPONENTS (revision 2)
   ========================================================================= */

/* Hero with portrait */
.hero--photo { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(56px, 9vw, 110px); }
.hero--photo .hero-grid { grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); }
.hero-portrait { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-deep); aspect-ratio: 4/5; box-shadow: var(--shadow-3); }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 72%, rgba(11,37,69,.60) 100%); pointer-events: none; }
.hero-portrait__caption { position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff; font-size: .85rem; line-height: 1.4; z-index: 1; }
.hero-portrait__caption strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 2px; }
.hero-portrait__chip { position: absolute; top: 18px; left: 18px; z-index: 1; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px; font-size: .76rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.hero-portrait__chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.hero-portrait__badges { position: absolute; right: 18px; top: 18px; z-index: 1; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.hero-portrait__badge { background: rgba(11,37,69,.78); backdrop-filter: blur(6px); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.hero-portrait__badge--gold { background: rgba(201,161,74,.95); color: var(--navy); }
@media (max-width: 920px) {
  .hero--photo .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { aspect-ratio: 4/5; max-width: 460px; margin: 0 auto; }
}

/* Image + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--flip { grid-template-columns: 1fr 1fr; }
.split--flip > .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-deep); aspect-ratio: 4/3; box-shadow: var(--shadow-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split__media--tall { aspect-ratio: 4/5; }
.split__media__caption { position: absolute; left: 16px; right: 16px; bottom: 14px; background: rgba(11,37,69,.72); backdrop-filter: blur(8px); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: .78rem; line-height: 1.4; }
.split__body .eyebrow { margin-bottom: .6em; }
.split__body p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .split, .split--flip { grid-template-columns: 1fr; }
  .split--flip > .split__media { order: 0; }
  .split__media { aspect-ratio: 16/10; max-width: 600px; margin: 0 auto; }
}

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; grid-auto-flow: dense; }
.photo-grid figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-deep); aspect-ratio: 1/1; }
.photo-grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); display: block; }
.photo-grid figure:hover img { transform: scale(1.04); }
.photo-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: .8rem; line-height: 1.4; background: linear-gradient(180deg, transparent 0%, rgba(11,37,69,.85) 100%); }
.photo-grid figure.tall { aspect-ratio: 3/4; grid-row: span 2; }
.photo-grid figure.wide { aspect-ratio: 16/9; grid-column: span 2; }
@media (max-width: 820px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid figure.wide, .photo-grid figure.tall { grid-column: auto; grid-row: auto; aspect-ratio: 1/1; }
}
@media (max-width: 440px) {
  .photo-grid { gap: 8px; }
}

/* Story block (image + quote) */
.story { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1); }
.story__media { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--bg-deep); }
.story__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story__quote { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.35; color: var(--navy); margin: 0 0 14px; font-weight: 500; }
.story__byline { font-size: .85rem; color: var(--ink-mute); }
.story__byline strong { color: var(--navy); }
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; padding: 18px; }
  .story__media { max-width: 360px; aspect-ratio: 4/3; margin: 0 auto; }
}

/* Patient concern cards */
.concern-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.concern-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 0; box-shadow: 0 2px 16px rgba(11,37,69,.07); border-top: 3px solid var(--teal); position: relative; }
.concern-card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-50); display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 20px; }
.concern-card__num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--teal); opacity: .18; line-height: 1; margin: 0 0 8px; letter-spacing: -1px; }
.concern-card__quote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.45; color: var(--navy); margin: 0 0 16px; font-style: italic; border: none; padding: 0; }
.concern-card__answer { font-size: .97rem; line-height: 1.7; color: var(--text-mid, #4a5568); margin: 0 0 20px; flex: 1; }
.concern-card__link { font-size: .875rem; font-weight: 600; color: var(--teal); text-decoration: none; letter-spacing: .01em; margin-top: auto; }
.concern-card__link:hover { text-decoration: underline; }
@media (max-width: 960px) { .concern-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .concern-grid { grid-template-columns: 1fr; } .concern-card { padding: 28px 24px 24px; } }

/* Image card (card with photo on top) */
.icard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-fast), box-shadow var(--t-fast); color: inherit; text-decoration: none; }
.icard:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); text-decoration: none; }
.icard__media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-deep); }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t); display: block; }
.icard:hover .icard__media img { transform: scale(1.05); }
.icard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.icard__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy); margin: 0; }
.icard__desc { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.icard__cta { color: var(--teal-700); font-weight: 600; font-size: .88rem; margin-top: 6px; }

/* Wide banner image with overlay */
.wide-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/7; box-shadow: var(--shadow-2); background: var(--bg-deep); }
.wide-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wide-image__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.78) 0%, rgba(11,37,69,.3) 60%, transparent 100%); display: flex; align-items: flex-end; padding: 28px; color: #fff; }
.wide-image__overlay-inner { max-width: 540px; }
.wide-image__overlay h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 0 0 6px; }
.wide-image__overlay p { color: rgba(255,255,255,.85); margin: 0; }
@media (max-width: 620px) {
  .wide-image { aspect-ratio: 4/3; }
  .wide-image__overlay { padding: 18px; }
}

/* Inline figure inside prose */
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; border-radius: var(--radius); display: block; }
.prose figure figcaption { font-size: .82rem; color: var(--ink-mute); margin-top: 8px; text-align: center; font-style: italic; }

/* Anti-stretch helpers */
.measure { max-width: 68ch; }
.measure-narrow { max-width: 52ch; }

/* Mobile fine-tuning */
@media (max-width: 760px) {
  section { padding: clamp(40px, 8vw, 70px) 0; }
  .hero, .page-banner { padding-top: 28px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .hero__lead { font-size: 1rem; }
  .creds-strip { padding: 20px; }
  .creds-strip__num { font-size: 1.7rem; }
  .container { padding: 0 18px; }
  .btn { padding: 12px 18px; font-size: .92rem; }
  .nav-row { min-height: 64px; }
  .nav-row .brand__title { font-size: 1.15rem; }
}

/* Prevent any horizontal overflow */
html, body { overflow-x: hidden; }

/* =========================================================================
   REVISION 3 — Dropdown fix, tighter spacing, richer colour, GSAP-ready
   ========================================================================= */

/* Mega open animation */
.has-mega:hover .mega,
.mega.is-open { animation: navDropIn .2s cubic-bezier(.4,0,.2,1) both; }

/* ---------- TIGHTER SECTION SPACING ---------- */
section { padding: clamp(40px, 6vw, 80px) 0 !important; }
.section-tight { padding: clamp(28px, 4vw, 50px) 0 !important; }
.hero, .hero--photo { padding-top: clamp(28px, 4vw, 56px) !important; padding-bottom: clamp(40px, 6vw, 76px) !important; }
.page-banner { padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px) !important; }
.book-section { padding: clamp(48px, 6vw, 80px) 0 !important; }

/* Section heading rhythm */
.section-head { margin-bottom: clamp(26px, 3vw, 36px); }
h1, h2, h3 { margin-bottom: .5em; }
.prose p { margin-bottom: .9em; }

/* ---------- RICHER COLOUR + DEPTH ---------- */
:root {
  --grad-navy:    linear-gradient(135deg, #0b2545 0%, #1c3f73 100%);
  --grad-oxford:  linear-gradient(135deg, #c9a14a 0%, #e8c878 100%);
  --grad-teal:    linear-gradient(135deg, #1a8b8b 0%, #2bb3b3 100%);
  --grad-soft:    linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  --grad-warm:    linear-gradient(180deg, #fffaf0 0%, #fbf6ea 100%);
  --tint-navy:    rgba(11,37,69,.04);
  --tint-oxford:  rgba(201,161,74,.08);
}

/* Section variants get gradient backgrounds */
.section-alt  { background: var(--grad-soft); position: relative; }
.section-deep { background: linear-gradient(180deg, #f1f5fb 0%, #e7eef9 100%); position: relative; }
.section-warm { background: var(--grad-warm); position: relative; }
.section-navy { background: var(--grad-navy); color: #fff; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

/* Decorative accent line — appears at the top of alt sections */
.section-alt::before, .section-deep::before, .section-warm::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 64px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--grad-oxford);
}

/* Richer buttons with gradients */
.btn--primary { background: var(--grad-navy); position: relative; overflow: hidden; }
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18), transparent 50%);
  opacity: 0; transition: opacity var(--t-fast);
}
.btn--primary:hover::after { opacity: 1; }
.btn--gold { background: var(--grad-oxford); color: var(--navy); }
.btn--gold:hover { color: var(--navy); background: linear-gradient(135deg, #b88a2b 0%, #c9a14a 100%); }

/* Card lift + edge glow on hover */
.card, .icard { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.card:hover, .icard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11,37,69,.12), 0 4px 12px rgba(201,161,74,.08);
  border-color: rgba(201,161,74,.4);
}

/* Eyebrow gets a small accent dot */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--oxford); border-radius: 2px;
}

/* Trust bar — gradient with subtle shimmer */
.trust-bar {
  background: linear-gradient(90deg, #0b2545 0%, #1c3f73 50%, #0b2545 100%);
  background-size: 200% 100%;
  animation: shimmer 12s linear infinite;
}
@keyframes shimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

/* Hero portrait gets a corner accent triangle */
.hero-portrait { position: relative; }
.hero-portrait::before {
  content: ""; position: absolute; top: -8px; right: -8px; width: 80px; height: 80px;
  background: var(--grad-oxford);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  z-index: 2; pointer-events: none;
  border-radius: 0 var(--radius-lg) 0 0;
}

/* Wide image — richer overlay */
.wide-image__overlay {
  background: linear-gradient(105deg, rgba(11,37,69,.88) 0%, rgba(11,37,69,.55) 50%, rgba(11,37,69,.15) 100%);
}
.wide-image::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-oxford); z-index: 2;
}

/* Story card — subtle gold left rail */
.story { position: relative; }
.story::before {
  content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 3px;
  background: var(--grad-oxford); border-radius: 2px;
}

/* Credentials strip — richer */
.creds-strip {
  background: var(--grad-navy);
  position: relative; overflow: hidden;
}
.creds-strip::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(201,161,74,.3), transparent 70%);
  pointer-events: none;
}
.creds-strip__item { position: relative; }
.creds-strip__item:not(:last-child)::after {
  content: ""; position: absolute; right: -11px; top: 25%; bottom: 25%; width: 1px;
  background: rgba(255,255,255,.1);
}

/* ---------- BLOG-FEEL FIX: 2-column prose with side callout ---------- */
.prose-2col { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; max-width: 1080px; margin: 0 auto; }
.prose-2col .prose { max-width: none; }
.prose-2col__aside {
  position: sticky; top: 110px;
  padding: 22px; border-radius: var(--radius);
  background: var(--grad-warm); border: 1px solid var(--oxford); 
  font-size: .92rem; line-height: 1.55;
}
.prose-2col__aside h4 { color: var(--navy); font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 8px; }
.prose-2col__aside p:last-child { margin-bottom: 0; }
@media (max-width: 880px) {
  .prose-2col { grid-template-columns: 1fr; gap: 24px; }
  .prose-2col__aside { position: static; }
}

/* Pull-quote inside prose */
.prose .pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.35;
  color: var(--navy);
  border-left: 4px solid var(--oxford);
  padding: 4px 0 4px 20px;
  margin: 1.5em 0;
}

/* Stat tiles (replace long prose with visual stats) */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.6em 0; }
.stat { padding: 18px; border-radius: var(--radius); background: var(--tint-oxford); border: 1px solid rgba(201,161,74,.25); }
.stat strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--oxford-700); line-height: 1; }
.stat span { font-size: .85rem; color: var(--ink-soft); display: block; margin-top: 4px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- GSAP-READY: stagger items get inherited initial state -- */
/* [data-anim] hide state is set by GSAP at runtime */
/* [data-anim-stagger] hide state is set by GSAP at runtime */
.gsap-ready [data-anim],
.gsap-ready [data-anim-stagger] > * { /* GSAP will set inline styles */ }

/* Magnetic CTAs - GSAP will handle the movement, CSS adds polish */
.btn { will-change: transform; }

/* Hover-zoom helper for split/wide images */
.split__media img, .wide-image img, .icard__media img, .photo-grid figure img { transition: transform 1s cubic-bezier(.22,1,.36,1); }
.split:hover .split__media img,
.wide-image:hover img { transform: scale(1.04); }

/* Floating pill bar on hero */
.hero-portrait__chip { animation: chipPulse 3.5s ease-in-out infinite; }
@keyframes chipPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(26,139,139,.45); } 50% { box-shadow: 0 0 0 8px rgba(26,139,139,0); } }

/* Scrollbar (Webkit) — subtle theming */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--navy-500); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .trust-bar { animation: none; }
  .hero-portrait__chip { animation: none; }
  .wa-float { animation: none; }
  [data-anim], [data-anim-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* =========================================================================
   REVISION 4 — FORMAL DESIGN-SYSTEM SPEC OVERRIDES
   Applies the uploaded DESIGN-SYSTEM-DELHIURO spec on top of existing CSS.
   Token-level only — cascades through every component.
   ========================================================================= */

:root {
  /* Palette (overrides) */
  --navy:        #1A3A52;
  --navy-700:    #0D2436;
  --navy-500:    #2C5282;
  --navy-50:     #f0f4f8;

  --oxford:      #D4A574;
  --oxford-700:  #B8956A;
  --oxford-50:   #F5EBDC;

  --ink:         #1A3A52;          /* primary heading text */
  --ink-soft:    #667085;          /* body text per spec */
  --ink-mute:    #888888;

  --line:        #E8E7E0;
  --line-strong: #C4B8A8;

  --bg:          #ffffff;
  --bg-alt:      #F8F7F3;          /* off-white */
  --bg-deep:    #F3F2ED;

  --success:     #10B981;
  --warning:     #F59E0B;
  --danger:      #EF4444;
  --info:        #3B82F6;

  /* Type — Georgia serif for headings per spec */
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Bitstream Charter", "Sitka Text", serif;

  /* 8px modular spacing scale */
  --space-xs:   8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Standardised radii */
  --radius-btn:    8px;
  --radius-card:  12px;
  --radius-hero:  16px;
  --radius-badge:  4px;

  /* Refined shadows (subtle, per spec) */
  --shadow-1:    0 1px 2px rgba(26,58,82,.04), 0 2px 8px rgba(26,58,82,.04);
  --shadow-2:    0 8px 24px rgba(26,58,82,.10);
  --shadow-3:    0 16px 48px rgba(26,58,82,.14);
}

/* Update gradients to match new palette */
:root {
  --grad-navy:    linear-gradient(135deg, #1A3A52 0%, #2C5282 100%);
  --grad-oxford:  linear-gradient(135deg, #D4A574 0%, #E8D5C4 100%);
  --grad-soft:    linear-gradient(180deg, #ffffff 0%, #F8F7F3 100%);
  --grad-warm:    linear-gradient(180deg, #FFFAF0 0%, #F5EBDC 100%);
}

/* Long-form prose gets slightly softer text for reading comfort */
.prose p, .prose ul, .prose ol { color: var(--ink-soft); }

/* Headings: Georgia serif, navy */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.2; }   /* 48px desktop */
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.2; } /* 36px */
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; }  /* 24px */
h4 { font-family: var(--font-body); font-size: 1.125rem; font-weight: 600; }

/* Brand serif keeps Georgia too */
.brand__title { font-family: var(--font-display); }

/* Eyebrow tweak (still distinctive) */
.eyebrow { color: var(--oxford-700); letter-spacing: .14em; }

/* Buttons — refined per spec */
.btn { border-radius: var(--radius-btn); padding: 14px 32px; font-size: 15px; transition: all 300ms ease; }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(26,58,82,.2); }
.btn--gold { background: var(--oxford); color: var(--navy); }
.btn--gold:hover { background: var(--oxford-700); color: #fff; transform: translateY(-2px); }

/* Cards — 12px radius, subtle border, lift on hover */
.card, .icard { border-radius: var(--radius-card); border: 1px solid var(--line); }
.card:hover, .icard:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,58,82,.10); border-color: var(--oxford); }

/* CREDENTIAL BADGE — gold pill, navy text, uppercase 11px (spec) */
.cred-badge {
  display: inline-block;
  background: var(--oxford);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: var(--radius-badge);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.4;
}
.cred-badge--outline {
  background: transparent;
  color: var(--oxford-700);
  border: 1px solid var(--oxford);
}

/* VERIFIED ON GOOGLE pill — green checkmark per spec */
.verified-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,.1);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.verified-pill::before { content: "✓"; font-weight: 700; }

/* LOCATION PILL — teal background, icon, rounded */
.loc-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: #E1F5EE;
  color: #0F6E56;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
}
.loc-pill::before { content: "📍"; font-size: 12px; }

/* Stat (already added) — refine numbers in navy per spec */
.stat strong { color: var(--navy); }

/* Form inputs — gold focus ring (spec) */
.field input, .field select, .field textarea {
  border-radius: var(--radius-btn);
  border-color: var(--line);
  min-height: 44px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--oxford);
  box-shadow: 0 0 0 3px rgba(212,165,116,.15);
}

/* Trust bar: refined typography */
.trust-bar { font-size: 13px; }

/* Section padding — 64px desktop / 48px mobile per spec */
section { padding: 64px 0 !important; }
.section-tight { padding: 48px 0 !important; }
@media (max-width: 760px) {
  section { padding: 48px 0 !important; }
  .section-tight { padding: 32px 0 !important; }
}

/* Hero — uses 16px radius for the visual */
.hero-portrait { border-radius: var(--radius-hero); }

/* Improve hero image corner accent to match new palette */
.hero-portrait::before {
  background: linear-gradient(135deg, var(--oxford), var(--oxford-700));
}

/* Make sure all bg-deep/section-alt use new palette tones */
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); }

/* Subtle border refinement on dropdowns and cards */
.dropdown, .loc-card, .icard, .card, .appt-form { border-color: var(--line); }

/* =========================================================================
   REVISION 5 — CTA visibility + Tabler icons
   ========================================================================= */
/* Force hero CTAs always visible (GSAP must never hide them) */
.hero__ctas, .hero__ctas > * { opacity: 1 !important; }

/* Tabler Icon font helper (loaded via CDN in head.php) */
.ti { font-size: inherit; line-height: 1; vertical-align: -.125em; }
.ti-star, .ti-star-filled { color: var(--oxford); }
.ti-check { color: var(--success); }
.ti-map-pin { color: var(--teal-700); }

/* Replace text stars in reviews with Tabler */
.review__stars .ti, .stars .ti { font-size: 1.1em; }

/* =========================================================================
   REVISION 6 — Radio/checkbox fix + page-hero upgrades
   ========================================================================= */

/* Reset radio/checkbox — they were inheriting input width/min-height rules */
.field input[type="radio"],
.field input[type="checkbox"] {
  width: auto !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  box-shadow: none !important;
  accent-color: var(--navy);
  vertical-align: middle;
  flex: 0 0 auto;
}
.field input[type="checkbox"] { border-radius: 4px; }

/* Radio group layout — labels sit cleanly next to their controls */
.field--radio {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
}
.field--radio legend {
  font-size: .88rem; font-weight: 600; color: var(--navy);
  margin-bottom: 6px; padding: 0;
}
.field--radio label {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  font-weight: 500;
  color: var(--ink);
  font-size: .95rem;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  width: max-content;
  max-width: 100%;
  transition: border-color .2s, background .2s;
}
.field--radio label:hover { border-color: var(--oxford); }
.field--radio label:has(input:checked) {
  border-color: var(--oxford);
  background: var(--oxford-50);
}
@media (min-width: 540px) {
  .field--radio { flex-direction: row; flex-wrap: wrap; }
}

/* =========================================================================
   REVISION 7 — Text animations (typewriter, word stagger, letter cascade)
   ========================================================================= */

/* Typewriter cursor */
.tw-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 2px;
  background: var(--oxford);
  animation: twBlink 1s steps(1) infinite;
  vertical-align: -0.05em;
}
@keyframes twBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.tw-cursor.tw-done { animation: twBlink 1.4s steps(1) 3, twFade .4s .5s forwards; }
@keyframes twFade { to { opacity: 0; } }

/* Split-char base — chars wrapped in span by JS */
.split-char .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  will-change: opacity, transform;
}
.split-word .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.4em);
  will-change: opacity, transform;
}

/* Highlight shimmer — runs once on view */
[data-anim-highlight] {
  background-image: linear-gradient(90deg, transparent 0%, rgba(212,165,116,.35) 20%, transparent 40%);
  background-size: 220% 100%;
  background-position: -120% 0;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  animation: shimmerText 2.4s ease-out 0.4s forwards;
}
@keyframes shimmerText { to { background-position: 220% 0; } }

/* Mask reveal — text wipes in from left */
.mask-reveal { 
  display: inline-block;
  overflow: hidden; 
}
.mask-reveal__inner {
  display: inline-block;
  transform: translateY(120%);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}
.mask-reveal.is-visible .mask-reveal__inner { transform: translateY(0); }

/* Pulse on stats (subtle glow on the big number) */
.stat strong, .creds-strip__num, [data-count] {
  transition: text-shadow .3s;
}
.creds-strip__item:hover .creds-strip__num { 
  text-shadow: 0 0 16px rgba(212,165,116,.5);
}

/* Grid items — subtle slide-in (only hidden when JS is active) */
html.js [data-anim-grid] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
[data-anim-grid].is-visible > * { opacity: 1 !important; transform: translateY(0) !important; }
[data-anim-grid].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-anim-grid].is-visible > *:nth-child(2) { transition-delay: .08s; }
[data-anim-grid].is-visible > *:nth-child(3) { transition-delay: .16s; }
[data-anim-grid].is-visible > *:nth-child(4) { transition-delay: .24s; }
[data-anim-grid].is-visible > *:nth-child(5) { transition-delay: .32s; }
[data-anim-grid].is-visible > *:nth-child(6) { transition-delay: .4s; }
/* Fallback: show after 1.5s if IO never fires */
html.js [data-anim-grid]:not(.is-visible) > * { animation: gridFallback 0s 1.5s forwards; }
@keyframes gridFallback { to { opacity: 1; transform: translateY(0); } }

/* Table row stagger */
.compare-table tbody tr {
  opacity: 0;
  transform: translateX(-12px);
  animation: rowSlide .5s ease-out forwards;
}
.compare-table tbody tr:nth-child(1) { animation-delay: .05s; }
.compare-table tbody tr:nth-child(2) { animation-delay: .15s; }
.compare-table tbody tr:nth-child(3) { animation-delay: .25s; }
.compare-table tbody tr:nth-child(4) { animation-delay: .35s; }
.compare-table tbody tr:nth-child(5) { animation-delay: .45s; }
@keyframes rowSlide { to { opacity: 1; transform: translateX(0); } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .tw-cursor { animation: none; opacity: 0; }
  .split-char .char, .split-word .word,
  [data-anim-grid] > *, .compare-table tbody tr,
  .mask-reveal__inner { opacity: 1 !important; transform: none !important; }
  [data-anim-highlight] { animation: none; }
}

/* =========================================================================
   REVISION 8 — Premium headline reveal (replaces mechanical typewriter)
   ========================================================================= */

/* Each word lives in a clip-mask, slides up from below.
   Animation is overlapping (not strict stagger) so the whole line feels
   fluid rather than ratcheted. */
[data-headline-reveal] { 
  display: inline-block;
  /* Prevent FOUC — JS will reveal words */
  visibility: visible;
}
[data-headline-reveal] .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.05em 0.02em;  /* prevent descender clipping */
  margin: -0.05em -0.02em; /* visually compensate */
}
[data-headline-reveal] .word-inner {
  display: inline-block;
  transform: translateY(105%);
  opacity: 0;
  will-change: transform, opacity;
  transition: transform .9s cubic-bezier(.16,1,.3,1),
              opacity .55s cubic-bezier(.16,1,.3,1);
}
[data-headline-reveal].is-in .word-inner {
  transform: translateY(0);
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-headline-reveal] .word-inner {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* =========================================================================
   REVISION 9 — ORCHESTRATED HERO ENTRANCE (overrides previous attempts)
   --------------------------------------------------------------------------
   Design philosophy:
     - One coordinated cascade, not random fades
     - Subtle motion (18px translate, not 105% jumps)
     - Heavy ease-out so motion lands gracefully
     - Each stage builds on the previous — readable, not gimmicky
     - All FOUC prevented; everything degrades to instant-visible
   ========================================================================= */

/* ---------- Headline word reveal (refined) -------------------------- */
[data-headline-reveal] .word-mask {
  display: inline-block;
  overflow: hidden;
  padding: 0.08em 0;
  margin: -0.08em 0;
  vertical-align: top;
}
[data-headline-reveal] .word-inner {
  display: inline-block;
  transform: translateY(40%);          /* SUBTLE — not full height */
  opacity: 0;
  filter: blur(2px);                   /* premium polish */
  will-change: transform, opacity, filter;
  transition:
    transform 1.1s cubic-bezier(.16, 1, .3, 1),
    opacity   .9s cubic-bezier(.16, 1, .3, 1),
    filter    .7s cubic-bezier(.22, 1, .36, 1);
}
[data-headline-reveal].is-in .word-inner {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

/* ---------- Coordinated hero stage entrances ------------------------- */
/* Each element starts hidden; .hero-stage-X classes set their own delay */
/* ── Hero entrance animation — only applied when JS is confirmed running ──
   Using html.js (added by main.js on load) means: without JS or if JS
   errors out, the portrait and text are always fully visible.
   This prevents the "stuck faded" bug on local / slow connections.       */

html.js .hero--photo .hero__pretitle,
html.js .hero--photo .hero__lead:not([data-word-stagger]),
html.js .hero--photo .hero__ctas,
html.js .hero--photo .hero__trust,
html.js .hero--photo .hero-portrait {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .9s cubic-bezier(.16, 1, .3, 1),
    transform 1s cubic-bezier(.16, 1, .3, 1);
}

/* When hero-ready is added to <html>, the cascade plays */
html.hero-ready .hero--photo .hero__pretitle {
  opacity: 1; transform: translateY(0); transition-delay: .05s;
}
html.hero-ready .hero--photo .hero__lead:not([data-word-stagger]) {
  opacity: 1; transform: translateY(0); transition-delay: .65s;
}
html.hero-ready .hero--photo .hero__ctas {
  opacity: 1; transform: translateY(0); transition-delay: .9s;
}
html.hero-ready .hero--photo .hero__trust {
  opacity: 1; transform: translateY(0); transition-delay: 1.15s;
}
html.hero-ready .hero--photo .hero-portrait {
  opacity: 1; transform: translateY(0); transition-delay: .3s;
}

/* Safety net: if hero-ready never fires within 2s, un-hide everything.
   CSS-only fallback using animation-delay as a timer.                    */
html.js:not(.hero-ready) .hero--photo .hero__pretitle,
html.js:not(.hero-ready) .hero--photo .hero__lead,
html.js:not(.hero-ready) .hero--photo .hero__ctas,
html.js:not(.hero-ready) .hero--photo .hero__trust,
html.js:not(.hero-ready) .hero--photo .hero-portrait {
  animation: heroFallback 0s 2s forwards;
}
@keyframes heroFallback {
  to { opacity: 1; transform: translateY(0); }
}

/* Bail-out: no-js class still on <html> (JS didn't remove it) */
html.no-js .hero--photo .hero__pretitle,
html.no-js .hero--photo .hero__lead,
html.no-js .hero--photo .hero__ctas,
html.no-js .hero--photo .hero__trust,
html.no-js .hero--photo .hero-portrait,
html.no-js [data-headline-reveal] .word-inner {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

/* Reduced motion — skip all animation */
@media (prefers-reduced-motion: reduce) {
  html.js .hero--photo .hero__pretitle,
  html.js .hero--photo .hero__lead,
  html.js .hero--photo .hero__ctas,
  html.js .hero--photo .hero__trust,
  html.js .hero--photo .hero-portrait,
  [data-headline-reveal] .word-inner {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* =========================================================================
   REVISION 7 — Hub-page components
   (spec-grid, spec-card, cred-strip, split-section, testimonial,
    check-list, warning-grid, psa-table, proc-grid, compare-table extras)
   ========================================================================= */

/* ---------- Spec grid (2 or 3 cols, via --cols CSS var) --------------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .spec-grid { --cols: 2 !important; } }
@media (max-width: 580px) { .spec-grid { --cols: 1 !important; } }

/* ---------- Spec card — detailed treatment/condition card ------------- */
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.spec-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: rgba(212,165,116,.45);
}
.spec-card h3 { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.spec-card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--teal-50);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.spec-card__sub {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--oxford-700);
  margin: -4px 0 2px;
}
.spec-card__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 5px;
  font-size: .9rem; color: var(--ink-soft);
}
.spec-card__list li { padding-left: 18px; position: relative; }
.spec-card__list li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--teal-700); font-size: .8rem; top: 1px;
}
.spec-card__link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--teal-700);
  border-top: 1px solid var(--line);
  text-decoration: none;
  display: inline-block;
}
.spec-card__link:hover { color: var(--navy); text-decoration: none; }

/* ---------- Cred strip (horizontal credential bar on white bg) -------- */
.cred-strip { padding: clamp(28px, 4vw, 44px) 0; }
.cred-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px 32px;
  box-shadow: var(--shadow-1);
}
@media (max-width: 860px) { .cred-strip__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cred-strip__grid { grid-template-columns: 1fr; } }
.cred-strip__item {
  display: flex; flex-direction: column; gap: 3px;
  padding-left: 16px;
  border-left: 3px solid var(--oxford);
}
.cred-strip__item:first-child { border-left: 0; padding-left: 0; }
.cred-strip__label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--teal-700);
}
.cred-strip__item strong { color: var(--navy); font-size: .95rem; }
.cred-strip__sub { font-size: .8rem; color: var(--ink-mute); }

/* ---------- Split section (image + copy, reversible) ------------------ */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split-section--rev .split-section__img { order: 2; }
.split-section__img {
  border-radius: var(--radius-hero);
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-2);
}
.split-section__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.split-section__img:hover img { transform: scale(1.04); }
.split-section__copy .eyebrow { margin-bottom: .5em; }
.split-section__copy p:last-child { margin-bottom: 0; }
@media (max-width: 820px) {
  .split-section, .split-section--rev { grid-template-columns: 1fr; }
  .split-section--rev .split-section__img { order: 0; }
  .split-section__img { aspect-ratio: 16/10; max-width: 600px; margin: 0 auto; }
}

/* ---------- Testimonial card ------------------------------------------ */
.testimonial-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
@media (max-width: 720px) { .testimonial-card { grid-template-columns: 1fr; } }
.testimonial-img {
  margin: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-deep);
}
.testimonial-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testimonial-quote {
  padding: 22px 26px 22px 8px;
  display: flex; flex-direction: column; gap: 10px;
}
@media (max-width: 720px) { .testimonial-quote { padding: 18px 20px; } }
.testimonial-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--navy);
  font-style: italic;
  margin: 0;
}
.testimonial-quote cite {
  font-style: normal;
  font-size: .85rem;
  color: var(--ink-mute);
}

/* ---------- Check list ------------------------------------------------ */
.check-list {
  list-style: none;
  padding: 0; margin: 0 0 1.2em;
  display: flex; flex-direction: column; gap: 7px;
  font-size: .97rem;
  color: var(--ink-soft);
}
.check-list li { padding-left: 24px; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--teal-700); font-weight: 700;
}

/* ---------- Warning grid (urgent vs. soon) ---------------------------- */
.warning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 1.5rem;
}
@media (max-width: 680px) { .warning-grid { grid-template-columns: 1fr; } }
.warning-item {
  padding: 20px 22px;
  border-radius: var(--radius-card);
  background: #fff;
  border: 1px solid var(--line);
}
.warning-item--urgent {
  background: var(--rose-50);
  border-color: var(--rose);
}
.warning-item h4 { color: var(--navy); margin: 0 0 .7em; font-size: 1rem; }
.warning-item ul {
  padding-left: 18px;
  margin: 0;
  display: flex; flex-direction: column; gap: 4px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.warning-item--urgent ul { color: var(--rose); }

/* ---------- PSA table ------------------------------------------------- */
.psa-table {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-top: 1.2rem;
}
.psa-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.psa-row:last-child { border-bottom: 0; }
.psa-row--amber { background: #fffbeb; }
.psa-row--red { background: var(--rose-50); }
.psa-label {
  padding: 11px 14px;
  font-size: .85rem; font-weight: 700;
  color: var(--navy);
  border-right: 1px solid var(--line);
  background: rgba(0,0,0,.02);
  display: flex; align-items: center;
}
.psa-val {
  padding: 11px 16px;
  font-size: .88rem; color: var(--ink-soft);
  display: flex; align-items: center;
}
@media (max-width: 520px) {
  .psa-row { grid-template-columns: 1fr; }
  .psa-label { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Procedure grid + cards ------------------------------------ */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proc-grid { grid-template-columns: 1fr; } }
.proc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.proc-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: rgba(212,165,116,.4);
}
.proc-card h4 { color: var(--navy); margin: 0; font-size: 1.05rem; }
.proc-card__sub {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal-700);
  margin-bottom: 2px;
}
.proc-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; flex: 1; }
.proc-card .badge { margin-top: auto; }

/* ---------- Compare table highlight col ------------------------------- */
.compare-table th.highlight { background: var(--teal-700); }
.compare-table td.highlight {
  background: rgba(26,139,139,.05);
  font-weight: 600;
  color: var(--navy);
  border-left: 2px solid var(--teal);
  border-right: 2px solid var(--teal);
}
.compare-table tbody tr:last-child td.highlight { border-bottom: 2px solid var(--teal); }

/* ---------- Badge extra variants ------------------------------------- */
.badge--navy { background: var(--navy); color: #fff; }

/* ---------- FAQ body (alias for faq__panel-inner) -------------------- */
.faq__body { padding: 0 22px 20px; color: var(--ink-soft); }
.faq__body p { margin: 0; font-size: .97rem; line-height: 1.7; }
.faq__body p + p { margin-top: .7em; }

/* ---------- Local SEO page helpers ------------------------------------ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 860px) { .area-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
.area-pill {
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  color: var(--ink-soft);
  text-align: center;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.area-pill:hover { border-color: var(--teal); color: var(--teal-700); text-decoration: none; }
.area-pill strong { display: block; color: var(--navy); font-size: .92rem; }

/* ---------- Unsplash image helper ------------------------------------ */
.unsplash-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.img-caption {
  font-size: .75rem; color: var(--ink-mute);
  text-align: right; margin-top: 4px;
}

/* ---------- Inline stat row (3-up) ----------------------------------- */
.inline-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 1.5rem 0;
}
@media (max-width: 560px) { .inline-stats { grid-template-columns: 1fr; } }
.inline-stat {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--tint-oxford);
  border: 1px solid rgba(212,165,116,.2);
  text-align: center;
}
.inline-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1;
}
.inline-stat span { font-size: .82rem; color: var(--ink-soft); display: block; margin-top: 3px; }

/* ═══════════════════════════════════════════════════════════════════════
   COMPONENT CLASSES — new page components (spec-grid, proc-grid, etc.)
   ═══════════════════════════════════════════════════════════════════════ */

/* ── spec-grid ────────────────────────────────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.spec-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-top: 4px solid var(--teal, #1a8b8b);
}
.spec-card h3 { margin-top: 0; font-size: 1rem; color: var(--navy, #1A3A52); }

/* ── proc-grid ────────────────────────────────────────────────────────── */
.proc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

/* ── check-list ──────────────────────────────────────────────────────── */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .35rem 0 .35rem 1.6rem; position: relative; font-size: .9rem; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--check-color, var(--teal, #1a8b8b));
  font-weight: 700;
}

/* ── cred-strip ──────────────────────────────────────────────────────── */
.cred-strip { background: var(--navy, #1A3A52); color: #fff; padding: 1.5rem 1rem; }
.cred-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.cred-strip__item { padding: .5rem; }
.cred-strip__item strong { display: block; font-size: 1.5rem; color: var(--oxford, #D4A574); }

/* ── psa-table ───────────────────────────────────────────────────────── */
.psa-table { width: 100%; border-collapse: collapse; }
.psa-table th, .psa-table td { padding: 10px 14px; border: 1px solid #e2e8f0; font-size: .9rem; }
.psa-table thead th { background: var(--navy, #1A3A52); color: #fff; }
.psa-row--amber { background: #fffbeb; }
.psa-row--red { background: #fff1f0; }

/* ── warning-grid ────────────────────────────────────────────────────── */
.warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* ── compare-table overflow fix ──────────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── section-alt ─────────────────────────────────────────────────────── */
.section-alt { background: var(--bg-alt, #f8f9fb); padding: 3rem 1rem; }
.reveal { padding: 3rem 1rem; }

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE BREAKPOINTS — 768px
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* spec-grid: force to 1 or 2 col */
  .spec-grid { grid-template-columns: 1fr 1fr !important; }
  .spec-grid[style*="--cols:4"] { grid-template-columns: 1fr 1fr !important; }

  /* proc-grid: stack to single column */
  .proc-grid { grid-template-columns: 1fr !important; }

  /* warning-grid */
  .warning-grid { grid-template-columns: 1fr 1fr; }

  /* cred-strip */
  .cred-strip__grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero sections with flex row become column */
  section [style*="display:flex"][style*="gap"] {
    flex-wrap: wrap;
  }

  /* Hero CTAs always wrap */
  .hero__ctas, [style*="justify-content:center"][style*="flex-wrap:wrap"] {
    flex-direction: column;
    align-items: center;
  }

  /* Inline 2-col grids inside section */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Compare table horizontal scroll */
  .compare-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.compare-table, div > .compare-table > table, [style*="overflow-x:auto"] table {
    min-width: 480px;
  }

  /* Metrics strip grid */
  [style*="grid-template-columns:repeat(auto-fit, minmax(150px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE BREAKPOINTS — 480px (small phones)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* All multi-col grids → single column */
  .spec-grid { grid-template-columns: 1fr !important; }
  .warning-grid { grid-template-columns: 1fr; }
  .cred-strip__grid { grid-template-columns: repeat(2, 1fr); }

  /* Hero h1 font clamp already handles this; ensure padding */
  section[style*="padding:3.5rem"] { padding: 2rem .75rem !important; }

  /* Inline 3+ col grids → single */
  [style*="grid-template-columns:repeat(auto-fit, minmax(200px"] {
    grid-template-columns: 1fr !important;
  }
  [style*="grid-template-columns:repeat(auto-fit, minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* Tables: always scroll on small phones */
  table { display: block; overflow-x: auto; }

  /* Navy CTA boxes */
  [style*="background:#1A3A52"][style*="border-radius:14px"] {
    padding: 1.5rem .75rem !important;
  }

  /* Stage/metrics strips */
  [style*="grid-template-columns:repeat(auto-fit, minmax(150px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ─── Ensure hero section text is readable at all widths ─────────────── */
@media (max-width: 600px) {
  section h1 { font-size: clamp(1.4rem, 5vw, 2rem) !important; }
  section h2 { font-size: clamp(1.2rem, 4vw, 1.7rem); }

  /* Video grid 2-col → 1-col */
  [style*="grid-template-columns:repeat(auto-fit, minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* FAQ button text wrapping */
  .faq__btn { font-size: .95rem; padding: 14px 16px; }
}
