/* ==========================================================================
   Getchildgoing: mobile-first stylesheet
   ========================================================================== */

:root {
  /* GCG palette (matches the GCG LMS): deep teal, sunshine, coral, mint */
  --brand: #0E4D4A;
  --brand-2: #1F7A6F;
  --coral: #FF8A65;
  --sun: #FFC94A;
  --mint: #9FE0CF;
  --mint-ink: #1F6B4E;
  --ink: #13201F;
  --ink-2: #3E4F4C;
  --muted: #5F716D;
  --bg: #FFFFFF;
  --tint: #F2F6F5;
  --card: #FFFFFF;
  --line: #DCE5E2;
  --footer: #0B2E2C;
  --brand-soft: #D3E9E4;
  --on-sun: #13201F;
  --surface: #F2F6F5;
  --lilac: #EDE9FF; --lilac-ink: #4B3BA8; --lilac-text: #2E2A4D;
  --wa: #1F8A5B; --wa-soft: #DDF3EA; --wa-ink: #1F5E43;
  --t-peach:#FFE9D6; --i-peach:#B4441E; --t-butter:#FFF1C9; --i-butter:#8A5A00;
  --t-mint:#E3F4EC; --i-mint:#1F6B4E; --t-lilac:#ECE8FF; --i-lilac:#4B3BA8;
  --t-sky:#DFF0FA; --i-sky:#1D5F86; --t-rose:#FFE3E8; --i-rose:#A3324B;
  --t-peri:#E4E8FF; --i-peri:#34419A; --t-sand:#F3ECE4; --i-sand:#6B4A2B;

  --grad: linear-gradient(135deg, #0E4D4A, #17675F);
  --grad-cool: linear-gradient(135deg, #0E4D4A, #1F7A6F 60%, #2C9483);

  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px -14px rgba(19, 32, 31, .2);
  --shadow-lg: 0 24px 60px -22px rgba(19, 32, 31, .3);

  --font-head: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 64px;
  --bottom-h: 66px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom));
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 9.5vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
svg.i-fill, svg .i-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip-link:focus { left: 8px; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem; line-height: 1.2;
  padding: .8rem 1.3rem; border-radius: 16px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  min-height: 46px;
}
.btn svg { width: 18px; height: 18px; flex: none; stroke-width: 2.6; transition: transform .2s; }
.btn:hover svg:not(.i-fill) { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(14,77,74, .7); }
.btn-primary:hover { box-shadow: 0 14px 28px -10px rgba(14,77,74, .85); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-soft { background: var(--tint); color: var(--ink); }
.btn-soft:hover { background: #E3EDEA; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; min-height: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile drawer. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(19,32,31,.35); }
.header-inner { display: flex; align-items: center; gap: .6rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-right: auto; flex: none; }
.brand img { flex: none; }
.brand-logo { height: 52px; width: auto; }
.brand-tag { display: none; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.3; border-left: 2px solid var(--line); padding-left: .6rem; }

.menu-toggle {
  width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: #fff;
  display: grid; place-content: center; gap: 5px; cursor: pointer; box-shadow: var(--shadow);
}
.menu-toggle span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.main-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--bg); padding: 1rem 16px calc(1.5rem + var(--bottom-h));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.main-nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.nav-list { display: grid; gap: .25rem; margin-bottom: 1.25rem; }
.nav-link, .menu-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: .9rem .75rem; font: 800 .95rem var(--font-body); color: var(--ink);
  text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; border-radius: 12px; background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-link:hover, .menu-btn:hover { background: var(--tint); }
.nav-link[aria-current="page"], .is-current > .menu-btn { color: var(--brand); }
.menu-btn svg { width: 20px; height: 20px; transition: transform .25s; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { display: none; padding: .25rem 0 .5rem .75rem; }
.menu-btn[aria-expanded="true"] + .submenu { display: grid; gap: 2px; border-left: 2px solid #9FE0CF; margin-left: .75rem; }
.submenu a {
  display: block; padding: .6rem .8rem; border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: .85rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2);
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--tint); color: var(--ink); }
.nav-actions { display: grid; gap: .6rem; }
.drawer-lms {
  display: flex; align-items: center; gap: .85rem; text-decoration: none; margin-bottom: 1rem;
  background: var(--grad-cool); color: #fff; border-radius: 18px; padding: .9rem 1rem; box-shadow: var(--shadow);
}
.drawer-lms .hero-lms-ico { background: rgba(255,255,255,.2); }
.drawer-lms b { display: block; font-size: 1.05rem; }
.drawer-lms small { display: block; opacity: .9; font-size: .82rem; }
.drawer-lms svg { width: 20px; height: 20px; margin-left: auto; flex: none; }
.header-cta { display: inline-flex; white-space: nowrap; padding: .5rem .85rem; }

/* ---------- Pills / eyebrows ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .85rem; font-size: .85rem; font-weight: 800; color: var(--ink); margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-ink); animation: pulse 2s infinite; }
.eyebrow {
  display: inline-block; font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); background: #FFF1C9; padding: .3rem .75rem; border-radius: 999px; margin-bottom: .9rem;
}
.eyebrow-light { color: #fff; background: rgba(255,255,255,.18); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: 2.25rem 0 3.5rem; overflow: hidden; isolation: isolate; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; }
.blob-1 { width: 340px; height: 340px; background: #FFE08A; top: -90px; right: -120px; }
.blob-2 { width: 300px; height: 300px; background: #C9EEE4; bottom: -80px; left: -140px; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.lead { font-size: 1.12rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.hero-actions .btn { flex: 1 1 auto; }
.hero-lms {
  display: flex; align-items: center; gap: .85rem; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: .8rem 1rem; box-shadow: var(--shadow);
  max-width: 440px; transition: transform .2s, box-shadow .2s;
}
.hero-lms:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-lms-ico { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--grad-cool); display: grid; place-content: center; font-size: 1.4rem; }
.hero-lms b { display: block; color: var(--ink); }
.hero-lms small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.hero-lms svg { width: 20px; height: 20px; margin-left: auto; flex: none; color: var(--brand); }

.hero-visual { justify-self: center; width: min(340px, 86vw); }
.orbit { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #fff 0 38%, transparent 39%), repeating-radial-gradient(circle, rgba(14,77,74,.10) 0 2px, transparent 2px 46px); }
.orbit-center { position: absolute; inset: 30%; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.orbit-center img { width: 62%; height: auto; }
.chip {
  position: absolute; background: #fff; border-radius: 999px; padding: .45rem .85rem; font-weight: 800; font-size: .88rem;
  color: var(--ink); box-shadow: var(--shadow-lg); white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.c1 { top: 4%; left: 30%; animation-delay: -1s; }
.c2 { top: 24%; right: -4%; animation-delay: -2s; }
.c3 { bottom: 22%; right: -2%; animation-delay: -3s; }
.c4 { bottom: 3%; left: 34%; animation-delay: -4s; }
.c5 { bottom: 26%; left: -4%; animation-delay: -5s; }
.c6 { top: 22%; left: -2%; animation-delay: -2.5s; }

/* Home hero: teal band like the GCG LMS */
.hero { background: var(--brand); color: #D3E9E4; border-radius: 0 0 40px 40px; }
.hero h1 { color: #fff; }
.hero .grad-text { background: none; color: var(--sun); -webkit-text-fill-color: var(--sun); }
.hero .lead { color: #D3E9E4; }
.hero .blob { filter: none; opacity: 1; z-index: 0; }
.hero .blob-1 { width: 130px; height: 130px; background: var(--sun); top: -70px; right: -60px; }
.hero .dot { background: var(--sun); }
@media (min-width: 1024px) { .hero .blob-1 { width: 260px; height: 260px; top: -110px; right: -110px; } }
.hero .blob-2 { width: 110px; height: 110px; border-radius: 32px; background: var(--coral); bottom: -30px; left: auto; right: 18%; transform: rotate(18deg); }
.hero-grid { position: relative; z-index: 1; }
.hero .pill { background: rgba(255,255,255,.14); border-color: transparent; color: #fff; box-shadow: none; }
.hero .btn-ghost { border-color: rgba(255,255,255,.55); background: transparent; color: #fff; }
.hero .btn-ghost:hover { border-color: #fff; }
.hero .btn-primary { background: var(--sun); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); }
.hero .orbit { background: radial-gradient(circle, rgba(255,255,255,.0) 0 38%, transparent 39%), repeating-radial-gradient(circle, rgba(159,224,207,.28) 0 2px, transparent 2px 46px); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(138,90,0,.6); }

/* ---------- Sections ---------- */
.section { padding: 3.75rem 0; }
.section-tight { padding-top: 1rem; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.25rem; }
.section-head p { font-size: 1.05rem; }

.mission-grid { display: grid; gap: 14px; }
.mission-card { background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-content: center; font-size: 1.7rem; margin-bottom: 1rem; }
.i-orange { background: #FFE9D6; } .i-teal { background: #E3F4EC; }
.checks { display: grid; gap: .65rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: #E3F4EC; color: var(--mint-ink); display: grid; place-content: center; font-size: .8rem; font-weight: 800; }

/* Topic search + groups */
.search { position: relative; max-width: 560px; margin: 0 auto 1rem; }
.search svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search input {
  width: 100%; font: 700 1rem var(--font-body); color: var(--ink);
  padding: 1rem 1.2rem 1rem 3rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; box-shadow: var(--shadow);
}
.search input:focus { outline: none; border-color: var(--brand); }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; justify-content: flex-start; padding: 4px 16px 6px; margin: 0 -16px 1.25rem; scrollbar-width: none; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab { flex: none; text-decoration: none; font-weight: 800; font-size: .92rem; color: var(--ink); background: #fff; border: 2px solid var(--line); padding: .5rem 1rem; border-radius: 999px; }
.cat-tab:hover { border-color: var(--ink); }
.no-results { text-align: center; font-weight: 700; }
.topic-group { margin-top: 2rem; }
.group-title { font-size: 1.4rem; display: flex; align-items: center; gap: .5rem; }

.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic {
  position: relative; display: flex; flex-direction: column; text-decoration: none; background: #fff;
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.t-media { aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.t-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.topic:hover .t-media img { transform: scale(1.05); }
.t-media-emoji { display: grid; place-content: center; font-size: 3rem; }
.t-body { position: relative; padding: .9rem .9rem 1rem; }
.t-emoji {
  position: absolute; top: -22px; left: .8rem; width: 40px; height: 40px; border-radius: 12px; background: #fff;
  display: grid; place-content: center; font-size: 1.25rem; box-shadow: var(--shadow);
}
.topic h3 { font-size: 1.05rem; margin: .7rem 0 .25rem; }
.topic p { font-size: .86rem; line-height: 1.45; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.topic-grid-compact .topic { flex-direction: row; align-items: center; }
.topic-grid-compact .t-body { padding: .9rem; display: flex; flex-direction: column; }
.topic-grid-compact .t-emoji { position: static; margin-bottom: .4rem; }
.topic-grid-compact h3 { margin: 0 0 .2rem; }
.topic.is-hidden, .topic-group.is-hidden { display: none; }

.a-orange .t-emoji { background: #FFE9D6; } .a-teal .t-emoji { background: #E3F4EC; } .a-pink .t-emoji { background: #FFE0EA; }
.a-purple .t-emoji { background: #E8E1FF; } .a-yellow .t-emoji { background: #FFF1C9; }

/* Doctor */
.doc-card { display: grid; gap: 1.75rem; align-items: center; }
.doc-photo { position: relative; max-width: 360px; margin: 0 auto; }
.doc-photo::before { content: ""; position: absolute; inset: -12px -12px 12px 12px; border-radius: 32px; background: var(--grad); transform: rotate(-4deg); z-index: -1; }
.doc-photo img { border-radius: 28px; aspect-ratio: 1; object-fit: cover; box-shadow: var(--shadow-lg); width: 100%; height: auto; }
.doc-card { isolation: isolate; }
.doc-role { font-weight: 800; color: var(--brand); margin-top: -.4rem; }
.awards { display: grid; gap: .6rem; margin: 1rem 0; }
.awards li { display: flex; gap: .65rem; align-items: center; background: #fff; border-radius: 14px; padding: .65rem .9rem; box-shadow: var(--shadow); font-weight: 700; font-size: .95rem; color: var(--ink); }
.awards li span { font-size: 1.3rem; }

/* LMS card */
.lms-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 2rem 1.5rem;
  background: var(--grad-cool); color: #fff; display: grid; gap: 1.5rem; box-shadow: var(--shadow-lg);
}
.lms-card h2 { color: #fff; }
.lms-card p { opacity: .95; }
.lms-url { margin: 0; font-weight: 700; opacity: .8; font-size: .9rem; }
.lms-art { display: grid; place-items: center; }
.badge-ring {
  width: 150px; height: 150px; border-radius: 50%; display: grid; place-content: center; font-size: 4.2rem;
  background: rgba(255,255,255,.15); box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 0 0 36px rgba(255,255,255,.05);
  animation: float 5s ease-in-out infinite;
}

/* Clinics */
.clinic-grid { display: grid; gap: 14px; }
.clinic { position: relative; background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.clinic h3 { margin-top: .6rem; }
.clinic-tag { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-ink); background: #E3F4EC; border-radius: 999px; padding: .25rem .7rem; }
.clinic-time, .clinic-addr { display: flex; gap: .55rem; font-weight: 700; }
.clinic-addr { font-weight: 600; font-size: .98rem; }
.clinic .btn { margin-top: auto; }
.clinic-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.clinic-actions .btn { margin-top: 0; }
.clinic-online { background: var(--footer); color: #CFE0DC; }
.clinic-online h3 { color: #fff; }
.clinic-online .clinic-tag { background: rgba(255,255,255,.12); color: var(--sun); }

/* ---------- Topic page ---------- */
.t-hero { position: relative; padding: 1.5rem 0 2.5rem; overflow: hidden; isolation: isolate; }
.t-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; top: -180px; right: -160px; filter: blur(70px); opacity: .45; z-index: -1; background: #FFE08A; }
.t-hero.a-teal::before { background: #A9EDE2; } .t-hero.a-pink::before { background: #FFE3E8; }
.t-hero.a-purple::before { background: #C9EEE4; } .t-hero.a-yellow::before { background: #FFE39A; }
.t-hero-grid { display: grid; gap: 1.75rem; align-items: center; }
.t-hero h1 { font-size: clamp(2rem, 8.5vw, 3.6rem); }
.crumbs { font-size: .88rem; font-weight: 700; color: var(--muted); margin-bottom: .9rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.t-hero-media { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 10; background: var(--tint); }
.t-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.t-hero-emoji { display: grid; place-items: center; background: #fff; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.t-hero-emoji span { font-size: 5rem; animation: float 6s ease-in-out infinite; }
.doc-hero { aspect-ratio: 1; max-width: 340px; justify-self: center; width: 100%; }

.article { max-width: 920px; padding-bottom: 3rem; }
.toc { margin: 0 0 1.5rem; }
.toc-label { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.toc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px 8px; margin: 0 -16px; scrollbar-width: none; }
.toc-chips::-webkit-scrollbar { display: none; }
.toc-chips a { flex: none; text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--ink); background: #fff; border: 1.5px solid var(--line); padding: .45rem .9rem; border-radius: 999px; }
.toc-chips a:hover { border-color: var(--brand); color: var(--brand); }

.t-section { margin: 2.25rem 0; }
.sec-title { font-size: clamp(1.5rem, 5.5vw, 2.1rem); display: flex; align-items: center; gap: .6rem; }
.sec-title::before { content: ""; width: 8px; height: 1.1em; border-radius: 4px; background: var(--grad); flex: none; }

.prose { color: var(--ink-2); overflow-wrap: anywhere; }
.prose > :last-child { margin-bottom: 0; }
.prose h4 { font-size: 1.15rem; margin: 1.25em 0 .4em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 0; display: grid; gap: .4rem; }
.prose ul li { position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 2rem; counter-increment: n; }
.prose ol li::before { content: counter(n); position: absolute; left: 0; top: .1em; width: 1.45rem; height: 1.45rem; border-radius: 8px; background: var(--tint); color: var(--coral); font-weight: 800; font-size: .8rem; display: grid; place-content: center; }
.prose a { color: var(--brand); font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose-lead { background: #fff; border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); margin-bottom: 1rem; font-size: 1.06rem; }

.cards { display: grid; gap: 14px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16 / 9; background: var(--tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; }
.card-body > h3 { font-size: 1.3rem; }
.card-actions { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.cards-stack .card-media { aspect-ratio: 21 / 9; }
.post time { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.figure { margin: 1rem 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.figure img { width: 100%; height: auto; }

.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3.2rem 1.1rem 1.25rem; position: relative;
  font-weight: 800; color: var(--ink); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--tint); display: grid; place-content: center;
  font-size: 1.2rem; color: var(--coral); transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: #FFF1C9; }
.faq details .prose { padding: 0 1.25rem 1.25rem; }

.videos { display: grid; gap: 14px; }
.video { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe, .yt, .yt img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { padding: 0; cursor: pointer; background: #000; }
.yt img { object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.yt-play::after { content: ""; position: absolute; left: 28px; top: 22px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.video figcaption { padding: .9rem 1.2rem; font-weight: 800; color: var(--ink); }

.pdf-grid { display: grid; gap: 12px; }
.pdf-card { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.pdf-card h3 { font-size: 1.1rem; }
.pdf-card .btn { margin-top: .75rem; }
.pdf-ico { width: 48px; height: 48px; flex: none; border-radius: 14px; background: #FFF1C9; display: grid; place-content: center; font-size: 1.5rem; }

.help-box, .form-band {
  display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem;
  background: #fff; border: 2px dashed #9FE0CF; border-radius: 26px; padding: 1.5rem;
}
.help-box h2, .form-band h2 { font-size: 1.6rem; }
.help-ico { width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--grad); display: grid; place-content: center; font-size: 1.7rem; }
.help-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.help-actions svg.i-fill { color: #25D366; }

.related { background: var(--tint); padding: 2.75rem 0 3rem; }
.related .topic-grid { grid-template-columns: 1fr; }

/* About page */
.timeline { display: grid; gap: .75rem; }
.timeline li { position: relative; padding-left: 1.5rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 1.3em; bottom: -1em; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-size: .82rem; font-weight: 800; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list li { background: var(--tint); color: var(--ink); font-weight: 700; font-size: .92rem; padding: .45rem .85rem; border-radius: 999px; }
.steps { display: grid; gap: 12px; }
.step { position: relative; display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); }
.step p:last-child { margin-bottom: 0; }
.step-num { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--grad); }
.step-contact { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.step-contact a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--brand); text-decoration: none; overflow-wrap: anywhere; }
.step-contact svg { width: 18px; height: 18px; }

.cta-band { text-align: center; background: var(--grad); color: #fff; border-radius: 28px; padding: 2.25rem 1.5rem; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band .btn svg { width: 20px; height: 20px; }
.cta-band .btn-outline-light { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #CFE0DC; padding: 2.5rem 0 1.25rem; }
.footer-cta { display: grid; gap: 1rem; background: rgba(255,255,255,.06); border-radius: 24px; padding: 1.5rem; margin-bottom: 2.5rem; }
.footer-cta h2 { color: #fff; font-size: 1.55rem; }
.footer-cta p { margin: 0; }
.footer-cta a:not(.btn) { color: var(--sun); font-weight: 700; overflow-wrap: anywhere; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer-cta-actions svg.i-fill { color: #25D366; width: 20px; height: 20px; }
.footer-grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { display: inline-block; background: #fff; border-radius: 22px; padding: 12px 16px; }
.footer-logo img { width: 96px; height: auto; }
.footer-actions { display: grid; gap: .6rem; align-content: start; grid-column: 1 / -1; }
.f-head { color: #fff; font-size: 1.05rem; font-family: var(--font-head); }
.site-footer ul { display: grid; gap: .45rem; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.muted { color: #9FB5B0; margin-top: .75rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-content: center; }
.socials a:hover { background: rgba(255,255,255,.16); }
.socials svg { width: 20px; height: 20px; }
.disclaimer { font-size: .85rem; color: #9FB5B0; border-top: 1px solid rgba(255,255,255,.1); margin: 2rem 0 0; padding-top: 1.25rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: .5rem; }

/* ---------- Bottom bar (mobile) ---------- */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  height: calc(var(--bottom-h) + env(safe-area-inset-bottom)); padding: 0 4px env(safe-area-inset-bottom);
  background: rgba(255,255,255,.95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.bottom-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: var(--bottom-h); font-size: .68rem; font-weight: 800; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.bottom-bar a span { font-size: 1.25rem; line-height: 1; }
.bottom-bar a[aria-current="page"] { color: var(--brand); }
.bottom-bar .bb-main span {
  width: 52px; height: 52px; border-radius: 18px; background: var(--grad-cool); display: grid; place-content: center;
  margin-top: -26px; box-shadow: 0 10px 22px -8px rgba(14,77,74,.6); font-size: 1.5rem;
}
.bottom-bar .bb-main { color: var(--brand-2); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(18,181,160,.2); } 50% { box-shadow: 0 0 0 8px rgba(18,181,160,.05); } }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .brand-tag { display: block; }
  .footer-actions { grid-column: auto; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .related .topic-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid, .clinic-grid-2 { grid-template-columns: 1fr 1fr; }
  .clinic-grid { grid-template-columns: repeat(3, 1fr); }
  .clinic-grid-2 { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .pdf-grid, .videos { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 0 0 auto; }
  .help-box, .form-band { flex-direction: row; align-items: flex-start; padding: 2rem; }
  .footer-cta { grid-template-columns: 1fr auto; align-items: center; padding: 2rem; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .toc-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .cat-tabs { justify-content: center; }
}

@media (min-width: 1280px) {
  :root { --header-h: 78px; }
  .brand-tag { display: none; }
  body { padding-bottom: 0; }
  .bottom-bar, .menu-toggle, .header-cta { display: none; }

  .main-nav {
    position: static; transform: none; visibility: visible; opacity: 1; pointer-events: auto; background: none; padding: 0; overflow: visible;
    display: flex; align-items: center; gap: 1rem;
  }
  .nav-list { display: flex; gap: 0; margin: 0; align-items: center; }
  .nav-list > li { position: relative; }
  .nav-link, .menu-btn { font-size: .78rem; letter-spacing: .07em; padding: .55rem .55rem; width: auto; gap: .2rem; white-space: nowrap; }
  .drawer-lms { display: none; }
  .menu-btn svg { width: 16px; height: 16px; }
  .submenu {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 280px;
    background: #fff; border-radius: 18px; padding: .6rem; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  }
  .menu-btn[aria-expanded="true"] + .submenu { display: grid; border-left: 0; margin-left: 0; }
  .submenu { min-width: 260px; left: 0; transform: none; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
  .nav-actions { display: flex; gap: .5rem; }
  .nav-actions .btn { white-space: nowrap; }
  .nav-actions .btn { padding: .6rem 1rem; min-height: 42px; font-size: .92rem; }
  .brand-logo { height: 58px; }

}

@media (min-width: 1024px) {
  .hero { padding: 4rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-visual { width: 420px; }
  .lead { font-size: 1.22rem; }
  .section { padding: 5.5rem 0; }
  .section-tight { padding-top: 1rem; }
  .topic-grid { grid-template-columns: repeat(5, 1fr); }
  .related .topic-grid { grid-template-columns: repeat(4, 1fr); }
  .topic-grid-compact .topic { flex-direction: column; align-items: stretch; }
  .doc-card { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
  .lms-card { grid-template-columns: 1.4fr 1fr; padding: 3.5rem; align-items: center; }
  .badge-ring { width: 210px; height: 210px; font-size: 5.6rem; }
  .t-hero { padding: 2.5rem 0 3.5rem; }
  .t-hero-grid { grid-template-columns: 1.2fr .8fr; gap: 3rem; }
  .cta-band { padding: 3.5rem; }
  .footer-grid { grid-template-columns: 1.3fr repeat(3, 1fr) 1.1fr; }
  .footer-brand { grid-column: auto; }
}

/* Header and page content share one width so edges line up */
@media (min-width: 1280px) {
  .container:not(.article), .wrap { max-width: 1360px; }
}

@media (hover: hover) and (min-width: 1280px) {
  .has-menu:hover > .submenu, .has-menu:focus-within > .submenu { display: grid; }
  .has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Book Online ---------- */
.book-layout { display: grid; gap: 1.5rem; padding-top: .5rem; padding-bottom: 3.5rem; align-items: start; }
.booking { display: grid; gap: 14px; }
.b-step { border: 0; margin: 0; background: #fff; border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); min-width: 0; }
.b-step legend { float: left; width: 100%; padding: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.b-step legend + * { clear: both; }
.b-num { width: 34px; height: 34px; border-radius: 11px; background: var(--grad); color: #fff; display: grid; place-content: center; font-size: 1.05rem; flex: none; }
.b-options { display: grid; gap: 10px; }
.b-option { position: relative; cursor: pointer; }
.b-option input { position: absolute; opacity: 0; inset: 0; }
.b-card { display: grid; gap: .3rem; justify-items: start; padding: 1rem 1.1rem; border: 2px solid var(--line); border-radius: 18px; transition: border-color .2s, background .2s, box-shadow .2s; }
.b-card b { color: var(--ink); font-size: 1.02rem; }
.b-card small { font-weight: 700; color: var(--ink-2); }
.b-option:hover .b-card { border-color: #9FE0CF; }
.b-option input:checked + .b-card { border-color: var(--brand); background: #EEF7F4; box-shadow: 0 0 0 4px rgba(14,77,74,.12); }
.b-option input:focus-visible + .b-card { outline: 3px solid var(--brand-2); outline-offset: 2px; }
.b-row { display: grid; gap: 0 14px; }
.b-field { display: grid; gap: .35rem; align-content: start; margin-bottom: .9rem; min-width: 0; }
.b-field:last-child { margin-bottom: 0; }
.b-field label { font-weight: 800; color: var(--ink); font-size: .95rem; }
.b-field .opt { font-weight: 600; color: var(--muted); }
.b-field input, .b-field select, .b-field textarea {
  width: 100%; font: 600 1rem var(--font-body); color: var(--ink); background: var(--bg);
  border: 2px solid var(--line); border-radius: 14px; padding: .8rem .95rem; min-height: 50px;
  -webkit-appearance: none; appearance: none;
}
.b-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2348456A' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px; padding-right: 2.6rem; }
.b-field input:focus, .b-field select:focus, .b-field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.b-field [aria-invalid="true"] { border-color: #E5484D; }
.b-hint { color: var(--muted); font-weight: 600; }
.b-error { color: #D93036; font-weight: 700; font-size: .9rem; margin: .4rem 0 0; }
.b-npf p { margin-bottom: 1rem; }
.b-check { display: flex; gap: .7rem; align-items: center; margin-top: 1rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.b-check input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.b-submit { display: grid; gap: .7rem; }
.b-submit .btn svg { width: 20px; height: 20px; }
.b-submit .btn-primary svg { color: #fff; }
.b-submit .btn-ghost svg.i-fill, .b-submit .btn-ghost svg { color: var(--ink); }
.b-note { font-size: .88rem; color: var(--muted); margin: 0; }
.b-note a { color: var(--brand); font-weight: 700; }
.b-done { background: #E3F4EC; color: #1F5E43; border-radius: 16px; padding: 1rem 1.2rem; font-weight: 600; }
.book-side { display: grid; gap: 14px; }
.side-card { background: #fff; border-radius: var(--radius); padding: 1.35rem; box-shadow: var(--shadow); }
.side-card h2 { font-size: 1.35rem; }
.side-card p { margin: .9rem 0 .5rem; }
.side-card .clinic-actions { margin: 0; }

@media (min-width: 640px) {
  .b-row { grid-template-columns: 1fr 1fr; }
  .b-options { grid-template-columns: repeat(3, 1fr); }
  .b-submit { grid-template-columns: auto auto; justify-content: start; }
  .b-submit .b-note { grid-column: 1 / -1; }
  .b-step { padding: 1.75rem; }
}
@media (min-width: 1024px) {
  .book-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .book-side { position: sticky; top: calc(var(--header-h) + 16px); }
}

/* Icons */
.hero-lms .hero-lms-ico svg, .drawer-lms .hero-lms-ico svg { width: 24px; height: 24px; margin: 0; color: #fff; }
.badge-ring svg { width: 48%; height: auto; color: #fff; stroke-width: 1.6; }
.bottom-bar a span svg { width: 23px; height: 23px; }
.bottom-bar .bb-main span svg { width: 26px; height: 26px; color: #fff; }

/* Image fallbacks: when a photo can't load, show the topic icon on a tint (or hide) */
.img-failed > img { display: none; }
[data-fallback].img-failed { display: grid; place-items: center; background: var(--tint); }
[data-fallback].img-failed::after { content: attr(data-fallback); font-size: 3rem; line-height: 1; }
.t-hero-media.img-failed::after { font-size: 5rem; }
.doc-photo.img-failed, .doc-hero.img-failed { aspect-ratio: 1; border-radius: 28px; background: var(--grad); }
.doc-photo.img-failed::after, .doc-hero.img-failed::after { font-family: var(--font-head); font-weight: 800; font-size: 5rem; color: var(--sun); }
.a-orange .img-failed, .a-orange.img-failed { background: #FFE9D6; } .a-teal .img-failed { background: #E3F4EC; }
.a-pink .img-failed { background: #FFE3E8; } .a-purple .img-failed { background: #ECE8FF; } .a-yellow .img-failed { background: #FFF1C9; }
.card-media.img-failed, .figure.img-failed { display: none; }
.yt.img-failed { background: var(--grad); }
.topic:has(.img-failed) .t-emoji { display: none; }

/* ==========================================================================
   GCG components (home page and shared cards)
   ========================================================================== */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: #0B3F3D; transform: translateY(-2px); }
.btn-soft { background: var(--surface); color: var(--ink); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; }
.h-block { padding-top: 48px; }
.h-block-tight { padding-top: 16px; }
.head { display: grid; gap: 6px; margin-bottom: 18px; }
.head h2 { font-size: clamp(28px, 6vw, 44px); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.head p { color: var(--muted); margin: 0; }

/* Hero card */
.h-hero-wrap { padding-top: 12px; }
.h-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--brand); color: #fff; border-radius: 32px; padding: 32px 20px 24px; display: grid; gap: 28px; }
.h-hero .blob { position: absolute; pointer-events: none; filter: none; opacity: 1; z-index: -1; }
.h-hero .b1 { width: 230px; height: 230px; border-radius: 50%; background: var(--sun); right: -95px; top: -80px; }
.h-hero .b2 { width: 92px; height: 92px; border-radius: 28px; background: var(--coral); right: -30px; top: auto; bottom: 46%; transform: rotate(18deg); }
.h-hero .b3 { width: 40px; height: 40px; border-radius: 50%; border: 6px solid var(--mint); right: 26px; top: auto; bottom: 58%; }
.h-hero .b1 { width: 150px; height: 150px; right: -70px; top: -70px; }
.h-hero-copy { position: relative; display: grid; gap: 18px; align-content: start; }
.h-tag { justify-self: start; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.15); font-size: 13px; font-weight: 600; }
.h-hero h1 { color: #fff; font-size: clamp(40px, 10.5vw, 74px); line-height: .98; font-weight: 800; letter-spacing: -.035em; max-width: 12ch; margin: 0; text-wrap: balance; }
.h-hero h1 span { color: var(--sun); }
.h-hero-copy > p { color: var(--brand-soft); font-size: 17px; max-width: 54ch; margin: 0; }
.cta-row { display: grid; gap: 10px; }
.cta-row .btn { min-height: 56px; font-size: 17px; border-radius: 18px; }
.doc-strip { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: rgba(0,0,0,.18); text-decoration: none; color: #fff; }
.doc-strip:hover { background: rgba(0,0,0,.26); }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; background: #fff; }
.doc-strip small { display: block; color: var(--brand-soft); font-size: 13px; }

/* Milestone meter */
.h-hero-side { position: relative; }
.meter { position: relative; overflow: hidden; background: var(--t-butter); border-radius: 28px; padding: 22px 20px 20px; display: grid; gap: 14px; color: var(--ink); }
.meter::after { content: ""; position: absolute; right: -26px; bottom: -34px; width: 124px; height: 124px; border-radius: 50%; background: var(--sun); opacity: .55; pointer-events: none; }
.meter > * { position: relative; z-index: 1; }
.meter-head { display: grid; gap: 4px; }
.meter h2 { font-size: 28px; margin: 0; letter-spacing: -.03em; }
.meter-head p { color: var(--muted); margin: 0; }
.badge { justify-self: start; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.ages { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -20px; padding: 2px 20px; }
.ages::-webkit-scrollbar { display: none; }
.age { flex: none; min-width: 66px; height: 44px; padding: 0 12px; border-radius: 14px; border: 1.5px solid rgba(138,90,0,.35); background: #fff; color: var(--ink); font: 700 14px var(--font-body); cursor: pointer; }
.age[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.m-panel { background: #fff; border-radius: 18px; padding: 14px 16px; }
.m-age { font-weight: 800; color: var(--i-butter); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; margin: 0 0 6px; }
.m-panel ul { display: grid; gap: 6px; margin: 0 0 10px; }
.m-panel li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.4; }
.m-panel li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.m-link { font-weight: 800; font-size: 14px; color: var(--brand); text-decoration: none; }
.m-link:hover { text-decoration: underline; }

/* Learning Hub strip */
.lms-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 24px; background: var(--t-lilac); color: var(--ink); text-decoration: none; border: 1.5px solid #DCD5FF; }
.lms-strip:hover { border-color: var(--lilac-ink); }
.lms-ico { width: 50px; height: 50px; flex: none; border-radius: 16px; background: var(--lilac-ink); color: #fff; display: grid; place-items: center; }
.lms-ico svg { width: 26px; height: 26px; }
.lms-text { flex: 1 1 220px; }
.lms-text strong { display: block; font-size: 17px; }
.lms-text small { display: block; color: var(--muted); font-size: 14px; }
.lms-btn { min-height: 46px; }

/* Guide library */
.lib-search { position: relative; }
.lib-search svg { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; color: var(--muted); }
.lib-search input { width: 100%; height: 54px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 16px 0 48px; font: 16px var(--font-body); }
.lib-search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 12px 16px 2px; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--tint); font: 600 14px var(--font-body); color: var(--ink); cursor: pointer; }
.chips button:hover { filter: brightness(.96); }
.lib-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 16px; background: var(--surface); margin: 16px 0 14px; }
.lib-tabs button { height: 44px; border-radius: 12px; border: 0; background: transparent; color: var(--muted); font: 700 14px var(--font-body); cursor: pointer; }
.lib-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; }
.lib-tabs.dim { opacity: .45; }
.lib-empty { padding: 24px; border-radius: 20px; background: var(--surface); color: var(--muted); text-align: center; margin-top: 10px; }
.lib-empty a { color: var(--brand); font-weight: 700; }
.gl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gl-card { display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; border-radius: 22px; background: var(--tint); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.gl-card:hover { transform: translateY(-2px); }
.gl-card[hidden] { display: none; }
.glyph { width: 42px; height: 42px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--tink); font: 800 22px var(--font-head); display: grid; place-items: center; }
.gl-card h3 { font-size: 18px; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.gl-card p { font-size: 13.5px; line-height: 1.42; color: var(--muted); flex-grow: 1; margin: 0; }
.gl-card .more { font-size: 13px; font-weight: 800; color: var(--tink); }

/* Services */
.services { display: grid; gap: 10px; }
.svc { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; border: 1.5px solid var(--line); }
.svc .dot { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--tint); color: var(--tink); display: grid; place-items: center; }
.svc .dot svg { width: 20px; height: 20px; }
.svc h3 { font-family: var(--font-body); font-size: 16px; letter-spacing: 0; font-weight: 700; margin: 0 0 4px; }
.svc p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Doctor card */
.split { display: grid; gap: 28px; }
.doc { background: var(--lilac); color: var(--lilac-text); border-radius: 28px; padding: 24px 20px; display: grid; gap: 18px; align-content: start; }
.doc-top { display: flex; gap: 16px; align-items: center; }
.photo { width: 96px; height: 96px; flex: none; border-radius: 30px 30px 30px 8px; object-fit: cover; background: var(--lilac-ink); }
.doc-name { display: grid; gap: 4px; }
.doc h2 { font-size: 28px; color: var(--ink); margin: 0; letter-spacing: -.03em; }
.doc .eyebrow { color: var(--lilac-ink); background: none; padding: 0; margin: 0; }
.doc > p { margin: 0; }
.doc-awards { display: grid; gap: 10px; background: #fff; border-radius: 18px; padding: 16px; color: var(--ink); font-size: 14.5px; }
.doc-awards li { padding-left: 18px; position: relative; }
.doc-awards li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.doc-training { display: grid; gap: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill2, .pills .pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; margin: 0; box-shadow: none; border: 0; }
.doc .btn { justify-self: start; }

/* First visit steps (rail) */
.visit { display: grid; gap: 28px; align-content: start; }
.rail-steps { display: grid; gap: 0; counter-reset: none; }
.rail-steps li { position: relative; display: flex; gap: 14px; padding-bottom: 22px; }
.rail-steps li::before { content: ""; position: absolute; left: 18px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.rail-steps li:last-child::before { display: none; }
.rail-steps li:last-child { padding-bottom: 0; }
.rail-steps .num { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; position: relative; z-index: 1; }
.rail-steps li:last-child .num { background: var(--sun); color: var(--on-sun); }
.rail-steps .step-body { display: grid; gap: 4px; justify-items: start; padding-top: 6px; }
.rail-steps .step-body strong, .rail-steps .step-body h3 { font-size: 16.5px; font-family: var(--font-body); font-weight: 700; color: var(--ink); margin: 0; letter-spacing: 0; }
.rail-steps .step-body p { font-size: 14.5px; color: var(--muted); margin: 0; }
.rail-steps .step-body .btn { margin-top: 8px; }
.rail-steps-lg .step-body { gap: 8px; }
.rail-steps-lg .step-body p { font-size: 1rem; }
.faq2 { display: grid; gap: 8px; }
.faq2 details { border-radius: 18px; background: var(--surface); padding: 0 18px; }
.faq2 summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; }
.faq2 summary::-webkit-details-marker { display: none; }
.faq2 summary svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.faq2 details[open] summary svg { transform: rotate(180deg); }
.faq2 details p { padding-bottom: 18px; color: var(--muted); font-size: 15px; margin: 0; }

/* Clinics */
.clinics { display: grid; gap: 12px; }
.clinic2 { border: 1.5px solid var(--line); border-radius: 24px; overflow: hidden; background: #fff; }
.clinic2 .clinic-head { background: var(--tint); padding: 16px 18px; display: grid; gap: 10px; }
.when { display: flex; flex-wrap: wrap; gap: 6px; }
.when span { padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; }
.when span.t { background: #fff; color: var(--ink); }
.clinic2 h3 { font-size: 20px; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.clinic2 .clinic-body { padding: 16px 18px; display: grid; gap: 12px; }
.clinic2 .clinic-body p { font-size: 14.5px; color: var(--muted); margin: 0; }
.phone { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.two .btn, .clinic2 .btn { min-height: 48px; font-size: 15px; padding: 0 10px; }
.online { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 24px; background: var(--wa-soft); color: var(--ink); text-decoration: none; }
.online:hover { filter: brightness(.98); }
.online .wa { width: 50px; height: 50px; flex: none; border-radius: 16px; background: var(--wa); color: #fff; display: grid; place-items: center; }
.online .wa svg { width: 24px; height: 24px; }
.online-text { flex-grow: 1; }
.online small { display: block; color: var(--wa-ink); font-size: 14px; }
.online > svg { width: 20px; height: 20px; flex: none; }

/* Quote */
.quote { padding-top: 56px; padding-bottom: 56px; }
.quote p { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 5vw, 44px); line-height: 1.18; letter-spacing: -.025em; max-width: 24ch; color: var(--ink); margin: 0; }
.quote mark { background: var(--sun); color: var(--on-sun); padding: 0 6px; border-radius: 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.related .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 700px) {
  .wrap { padding-left: 24px; padding-right: 24px; }
  .gl-grid, .related .gl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clinics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .online { grid-column: 1 / -1; }
  .cta-row { grid-auto-flow: column; justify-content: start; }
}
@media (max-width: 959px) { .h-hero .b2, .h-hero .b3 { display: none; } }
@media (min-width: 960px) {
  .h-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; padding: 64px 56px; border-radius: 40px; }
  .h-hero .b1 { width: 420px; height: 420px; right: -130px; top: -150px; }
  .h-hero .b2 { width: 150px; height: 150px; border-radius: 44px; right: 200px; top: auto; bottom: -46px; }
  .h-hero .b3 { width: 70px; height: 70px; border-width: 9px; right: 360px; top: 56px; }
  .gl-grid, .related .gl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .svc { flex-direction: column; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
}

/* Keep home sections aligned with the header width (must follow the .wrap base rule) */
@media (min-width: 1280px) {
  .wrap { max-width: 1360px; }
}

/* Learning Hub card inside the hero CTA row */
.hero-lms-card { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 16px 6px 6px; border-radius: 18px; background: var(--t-lilac); color: var(--ink); text-decoration: none; border: 1.5px solid #DCD5FF; transition: transform .2s, border-color .2s; }
.hero-lms-card:hover { transform: translateY(-2px); border-color: #fff; }
.hero-lms-card .lms-ico { width: 44px; height: 44px; border-radius: 14px; }
.hero-lms-card .lms-ico svg { width: 24px; height: 24px; }
.hero-lms-card .lms-text { flex: 0 1 auto; line-height: 1.2; }
.hero-lms-card strong { display: block; font-size: 16px; white-space: nowrap; }
.hero-lms-card small { display: block; color: var(--muted); font-size: 13px; }

/* Footer Learning Hub card: bright lilac on the dark footer, with arrow */
.site-footer .footer-lms { color: var(--ink); border-color: transparent; padding-right: 14px; box-shadow: 0 10px 26px -12px rgba(124,104,255,.7); }
.site-footer .footer-lms:hover { color: var(--ink); border-color: var(--sun); }
.site-footer .footer-lms .lms-text { flex: 1 1 auto; }
.site-footer .footer-lms > svg { width: 20px; height: 20px; flex: none; color: var(--lilac-ink); }
.site-footer .footer-lms small { color: #5A557A; }

/* Milestone Meter: show every age (wrap into rows instead of a hidden scroll) */
.meter .ages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; overflow: visible; margin-inline: 0; padding: 0; }
.meter .age { min-width: 0; width: 100%; height: 42px; padding: 0 2px; font-size: 12.5px; letter-spacing: -.01em; white-space: nowrap; }
@media (min-width: 400px) { .meter .ages { gap: 8px; } .meter .age { font-size: 13.5px; } }
@media (max-width: 359px) { .meter { padding-inline: 16px; } .meter .ages { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .meter .age { font-size: 12.5px; } }
