/* Wit's Endo: one stylesheet for every page.
   Cool white base, deep ink, one signature color (cobalt). Bricolage Grotesque for display, Instrument Sans for text.
   Spacing scale: --s1 4px … --s10 128px. Contrast: every text color here meets WCAG AA on its background. */
:root {
  --white: #ffffff;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-tint: #eef2ff;
  --ink: #0b1220;
  --ink-2: #2a3345;
  --muted: #5b6577;
  --line: #e3e7ef;
  --line-strong: #cdd3df;
  --brand: #2347f0;
  --brand-hover: #1a36c4;
  --brand-ink: #1a2fa0;
  --night: #0b1220;
  --night-2: #141d31;
  --night-text: #c3cbdc;
  --night-muted: #9aa6c4;
  --focus: #2347f0;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 18, 32, 0.06), 0 12px 32px -12px rgba(11, 18, 32, 0.16);

  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
  --header-h: 68px;
}
@media (min-width: 720px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--text); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: #fff; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; color: var(--ink); letter-spacing: -0.025em; }
h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; }
h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; font-weight: 650; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: var(--s2) var(--s4); border-radius: var(--radius-sm); }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 52px; padding: 0 var(--s5); border-radius: 999px; font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-white { background: #fff; color: var(--brand-ink); }
.btn-white:hover { background: var(--bg-tint); color: var(--brand-ink); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-white:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-sm { height: 44px; padding: 0 var(--s4); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform .15s; }
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translateX(2px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled, .site-header:has(details[open]) { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: var(--s5); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; }
.brand-word { font: 750 22px/1 var(--display); letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: var(--s2) var(--s3); border-radius: var(--radius-sm); }
.nav a:hover { background: var(--bg-soft); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: var(--s3); }
.header-phone { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: var(--s2) var(--s1); white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phone:hover { color: var(--brand); }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s2); height: 44px; padding: 0 var(--s4); border: 1.5px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: 15px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .bars { width: 16px; height: 10px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu[open] summary .bars { border-top-color: transparent; border-bottom-color: transparent; }
.menu[open] summary .bars::before, .menu[open] summary .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 2px solid currentColor; transform: rotate(45deg); }
.menu[open] summary .bars::after { transform: rotate(-45deg); }
.menu-panel { position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; overflow-y: auto; background: var(--white); border-top: 1px solid var(--line); padding: var(--s2) var(--gutter) var(--s6); }
body:has(.menu[open]) { overflow: hidden; }
.menu-panel a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 18px; }
.menu-panel .actions { margin-top: var(--s5); }
.menu-panel .btn { flex: 1 1 140px; }
@media (max-width: 1080px) { .nav a.nav-extra { display: none; } }
@media (max-width: 920px) { .nav, .header-cta { display: none; } .menu { display: block; } }

/* ---------- Sections ---------- */
.section { padding: var(--s9) 0; }
.section.tight-top { padding-top: 0; }
.section.soft { background: var(--bg-soft); }
@media (max-width: 720px) { .section { padding: var(--s8) 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font: 600 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: var(--s4); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 620px; }
.head { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s6) var(--s8); align-items: end; margin-bottom: var(--s7); }
.head .lead { justify-self: end; }
.head.single { grid-template-columns: 1fr; max-width: 780px; }
.head.single .lead { justify-self: start; margin-top: calc(var(--s5) * -1 + var(--s2)); }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: var(--s4); } .head .lead { justify-self: start; } }

/* ---------- Hero ---------- */
.hero { padding: var(--s8) 0 var(--s9); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: var(--s8); align-items: center; }
.hero h1 .accent { color: var(--brand); display: block; }
.hero .lead { margin-top: var(--s5); }
.hero .actions { margin-top: var(--s6); }
.hero-note { margin-top: var(--s5); font-size: 15px; color: var(--muted); }
.hero-note a { font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: var(--s2); height: 32px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--bg-tint); color: var(--brand-ink); font-weight: 600; font-size: 14px; margin-bottom: var(--s5); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(35,71,240,.18); }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; width: 100%; max-width: 520px; justify-self: end; }
.hero-art .panel-art { position: absolute; inset: 0; border-radius: 32px; background: var(--brand); overflow: hidden; }
.hero-art .panel-art svg { width: 100%; height: 100%; }
.stat-card { position: absolute; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s4) var(--s5); min-width: 200px; }
.stat-card b { display: block; font: 700 30px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.stat-card span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.stat-card.a { left: -28px; bottom: 7%; }
.stat-card.b { right: -20px; top: 6%; }
@media (max-width: 1100px) { .stat-card.a { left: 16px; } .stat-card.b { right: 16px; } }
@media (max-width: 920px) {
  .hero { padding: var(--s6) 0 var(--s8); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-art { justify-self: stretch; max-width: none; aspect-ratio: 16 / 11; }
}
@media (max-width: 560px) {
  .hero-art { aspect-ratio: 1 / .9; }
  .stat-card { padding: var(--s3) var(--s4); min-width: 0; }
  .stat-card b { font-size: 22px; }
  .stat-card span { font-size: 13px; }
  .stat-card.a { left: 12px; bottom: 12px; }
  .stat-card.b { right: 12px; top: 12px; }
}

/* Numbers band */
.numbers { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.numbers ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.numbers li { padding: var(--s6) var(--s5); border-left: 1px solid var(--line); }
.numbers li:first-child { border-left: 0; padding-left: 0; }
.numbers b { display: block; font: 700 clamp(28px, 3vw, 40px)/1 var(--display); letter-spacing: -0.03em; color: var(--ink); }
.numbers span { display: block; margin-top: var(--s2); color: var(--muted); font-size: 15px; }
@media (max-width: 860px) {
  .numbers ul { grid-template-columns: 1fr 1fr; }
  .numbers li { padding: var(--s5) var(--s4); }
  .numbers li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .numbers li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; }
.split .stack > * + * { margin-top: var(--s4); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: var(--s6); } }
.points { display: grid; gap: 0; margin-top: var(--s6); border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 44px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.points b { display: block; color: var(--ink); font-weight: 600; }
.points p { color: var(--muted); font-size: 16px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-tint); color: var(--brand); flex: none; }
.icon svg { width: 22px; height: 22px; }

/* Services: numbered editorial grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.service { padding: var(--s6) var(--s5) var(--s7) 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s3); }
.service:not(:nth-child(3n+1)) { padding-left: var(--s5); border-left: 1px solid var(--line); }
.service .n { font: 600 14px/1 var(--text); color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.service h3 { font-size: 24px; margin-top: var(--s4); }
.service p { color: var(--muted); font-size: 16px; }
.service.urgent { background: var(--brand); color: #fff; padding-left: var(--s5); border-left-color: var(--brand); border-radius: 0 0 var(--radius) var(--radius); }
.service.urgent .n { color: #dfe5ff; }
.service.urgent h3 { color: #fff; }
.service.urgent p { color: #e6eaff; }
.service.urgent a { color: #fff; font-weight: 600; margin-top: auto; padding-top: var(--s3); }
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(even) { padding-left: var(--s5); border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: var(--s5) 0 var(--s6); border-left: 0; }
  .service.urgent { padding: var(--s5); border-radius: var(--radius); margin-top: var(--s4); }
  .service h3 { margin-top: var(--s2); }
}

/* Why us (dark) */
.on-dark { background: var(--night); color: var(--night-text); }
.on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .eyebrow { color: #9fb1ff; }
.on-dark .lead { color: var(--night-text); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
.why li { border-top: 2px solid var(--brand); padding-top: var(--s5); }
.why h3 { font-size: 20px; margin-bottom: var(--s2); }
.why p { color: var(--night-text); font-size: 16px; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; gap: var(--s5); } }

/* Doctors */
.doctors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.doctor { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); background: #fff; }
.doctor-top { display: flex; align-items: center; gap: var(--s4); }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font: 700 24px/1 var(--display); letter-spacing: -0.02em; color: #fff; flex: none; position: relative; overflow: hidden; background: var(--brand); }
.avatar.alt { background: var(--ink); }
.avatar span { position: relative; }
.doctor h3 { font-size: 23px; }
.doctor .role { color: var(--muted); font-size: 15px; margin-top: 2px; }
.doctor p.bio { color: var(--ink-2); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: auto; }
.tags li { font-size: 13px; font-weight: 600; color: var(--brand-ink); background: var(--bg-tint); padding: 6px 12px; border-radius: 999px; }
@media (max-width: 860px) { .doctors { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .doctor { padding: var(--s5); } .avatar { width: 60px; height: 60px; font-size: 20px; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s5); align-items: stretch; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); min-height: 400px; border: 1px solid var(--line); }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .btn { position: absolute; left: var(--s4); bottom: var(--s4); box-shadow: var(--shadow); }
.info { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); display: grid; gap: var(--s5); align-content: start; }
.info h3 { font: 600 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s2); }
.info p { color: var(--ink); }
.info p.small { color: var(--muted); font-size: 15px; margin-top: var(--s2); }
.hours { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.hours td { padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr:last-child td { border-bottom: 0; }
.hours .closed td:last-child { color: var(--muted); font-weight: 400; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { min-height: 300px; } }
@media (max-width: 520px) { .info { padding: var(--s5); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: var(--s8); align-items: start; }
.faq-grid .aside p:not(.eyebrow) { color: var(--muted); margin-top: var(--s4); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s5) 48px var(--s5) 0; position: relative; font: 600 19px/1.35 var(--text); color: var(--ink); border-radius: 4px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--brand); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--brand); }
.faq .answer { padding: 0 48px var(--s5) 0; color: var(--ink-2); }
.faq .answer p + p { margin-top: var(--s3); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; gap: var(--s5); } .faq summary { font-size: 18px; } }

/* CTA band */
.cta-band { background: var(--brand); color: #fff; padding: var(--s8) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -160px; width: 480px; height: 480px; border-radius: 50%; border: 64px solid rgba(255,255,255,.08); pointer-events: none; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s6); flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); }
.cta-band p { color: #e6eaff; margin-top: var(--s3); max-width: 560px; font-size: 18px; }
.cta-band p a { color: #fff; }
@media (max-width: 620px) { .cta-band .actions, .cta-band .btn { width: 100%; } }

/* ---------- Inner pages ---------- */
.page-hero { padding: var(--s8) 0 var(--s8); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(40px, 5.6vw, 68px); max-width: 900px; }
.page-hero .lead { margin-top: var(--s5); }
.page-hero .actions { margin-top: var(--s6); }
.page-hero .fine { margin-top: var(--s4); font-size: 15px; color: var(--muted); max-width: 620px; }
@media (max-width: 720px) { .page-hero { padding: var(--s6) 0; } }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: var(--s5); }
.steps li::before { content: "0" counter(step); display: block; font: 600 14px/1 var(--text); color: var(--brand); letter-spacing: .04em; margin-bottom: var(--s4); }
.steps h3 { margin-bottom: var(--s2); }
.steps p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.link-box { margin-top: var(--s7); border-radius: var(--radius-lg); background: var(--bg-tint); padding: var(--s5) var(--s6); display: flex; align-items: center; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; }
.link-box .url { font: 700 24px/1.2 var(--display); color: var(--brand-ink); letter-spacing: -0.02em; word-break: break-all; text-decoration: none; }
.link-box .url:hover { text-decoration: underline; }
.link-box p { color: var(--ink-2); font-size: 16px; margin-top: var(--s1); }
@media (max-width: 520px) { .link-box { padding: var(--s5); } .link-box .btn { width: 100%; } }
.checklist { display: grid; gap: var(--s3); }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: var(--s3); color: var(--ink-2); font-size: 16px; }
.checklist li::before { content: ""; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }
.checklist b { color: var(--ink); font-weight: 600; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); background: #fff; }
.card h3 { margin-bottom: var(--s4); }
.card p { color: var(--muted); font-size: 16px; }
.card .icon { margin-bottom: var(--s4); }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .card { padding: var(--s5); } }
.facts { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 132px 1fr; gap: var(--s4); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.facts b { font: 700 28px/1 var(--display); letter-spacing: -0.03em; color: var(--brand); }
.facts p { color: var(--ink-2); font-size: 16px; }
.facts p strong { color: var(--ink); display: block; font-weight: 600; }
@media (max-width: 520px) { .facts li { grid-template-columns: 1fr; gap: var(--s2); } }
.note { border-radius: var(--radius); background: var(--bg-soft); padding: var(--s5); color: var(--ink-2); font-size: 16px; border: 1px solid var(--line); }
.note b { color: var(--ink); }
.note.alert { background: #fff4f2; border-color: #f6d4cd; }
.note.alert b { color: #9b1c0c; }

/* Timeline (For patients) */
.timeline { position: relative; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 220px 28px 1fr; gap: var(--s5); padding: var(--s5) 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline .when { font-weight: 600; color: var(--brand); font-size: 15px; padding-top: 3px; }
.timeline .mark { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--brand); background: #fff; margin: 6px 0 0 6px; }
.timeline li:last-child .mark { background: var(--brand); }
.timeline h3 { font-size: 20px; }
.timeline p { color: var(--muted); font-size: 16px; margin-top: var(--s1); max-width: 620px; }
@media (max-width: 720px) {
  .timeline li { grid-template-columns: 20px 1fr; gap: var(--s1) var(--s3); }
  .timeline .when { grid-column: 2; grid-row: 1; padding-top: 0; }
  .timeline .mark { grid-column: 1; grid-row: 1 / span 2; margin: 4px 0 0; }
  .timeline .body { grid-column: 2; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-text); padding: var(--s8) 0 var(--s5); font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s6); }
.site-footer h2 { font: 600 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); margin: 0 0 var(--s4); }
.site-footer ul { display: grid; gap: var(--s2); }
.site-footer .brand { color: #fff; margin-bottom: var(--s4); }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; color: var(--night-muted); font-size: 14px; }
.footer-bottom ul { display: flex; gap: var(--s5); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s5); } }

.mt-4 { margin-top: var(--s4); }
.mt-6 { margin-top: var(--s6); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .site-header, .menu, .skip, .hero-art, .map, .cta-band, .actions, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-hero, .hero { padding: 16pt 0; }
  .on-dark, .site-footer { background: #fff; color: #000; }
  .on-dark h2, .on-dark h3, .site-footer a, .site-footer h2 { color: #000; }
  .why p, .on-dark .lead { color: #000; }
  .faq details > .answer { display: block; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .service, .doctor, .card, .steps li { break-inside: avoid; }
}

/* Inner-page hero with a side panel */
.site-header:has(.menu[open]) { backdrop-filter: none; background: #fff; }
.hero-split { display: grid; grid-template-columns: 1.45fr .75fr; gap: var(--s8); align-items: end; }
.hero-split .link-box { margin-top: 0; flex-direction: column; align-items: flex-start; padding: var(--s6); }
.glance { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); background: var(--bg-soft); }
.glance-title { font: 600 13px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s4); }
.glance dl { margin: 0; display: grid; gap: 0; }
.glance dl > div { display: grid; gap: 2px; padding: var(--s3) 0; border-top: 1px solid var(--line); }
.glance dt { font-size: 14px; color: var(--muted); }
.glance dd { margin: 0; font-weight: 600; color: var(--ink); }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; gap: var(--s6); align-items: start; } .hero-split .link-box { padding: var(--s5); } }
