/* =========================================================
   Dr. Əlituran Hüseynzadə — Uşaq cərrahı
   Warm ivory and sand neutrals; deep teal and turquoise from the doctor's logo used sparingly; sage green and clay
   as quiet data accents. Type: Lexend (headings, modest sizes), Fira Sans (text), IBM Plex Mono (ages and labels).
   Sizes in rem so the accessibility menu's text-size tool scales the page. No inline styles (CSP): variation is in classes.
   ========================================================= */

:root {
  --ivory: #F7F4EE;
  --paper: #FFFFFF;
  --sand: #EFE8DD;
  --sand-2: #E6DDCF;
  --line: #DDD5C7;
  --line-2: #E9E3D8;
  --ink: #14262C;
  --text: #2B3B40;
  --muted: #55666A;
  --teal-950: #082C33;
  --teal-900: #0C3A43;
  --teal-800: #0F4A55;
  --teal-700: #13606E;
  --teal-600: #1A7482;
  --teal-500: #2A8F8C;
  --aqua-300: #86CFC8;
  --aqua-200: #B8E2DD;
  --aqua-100: #DDF0EC;
  --aqua-50: #EFF7F5;
  --sage-700: #3F5E49;
  --sage-500: #6C8D75;
  --sage-200: #D3E1D5;
  --sage-100: #E7EFE7;
  --clay-700: #7A3E22;
  --clay-500: #A9643F;
  --clay-200: #EBCDBA;
  --clay-100: #F6E8DE;
  --wa: #1D6B4E;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 38, 44, .06);
  --shadow: 0 1px 2px rgba(20, 38, 44, .05), 0 14px 34px -20px rgba(20, 38, 44, .30);
  --shadow-lg: 0 2px 6px rgba(20, 38, 44, .06), 0 30px 64px -30px rgba(20, 38, 44, .40);
  --font: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Lexend", "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 80px;
}

/* ---------------------------------------------------------------- reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
html:focus-within { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.66;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--display); line-height: 1.2; margin: 0; font-weight: 500; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
dialog:not([open]) { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.i--sm { width: 1em; height: 1em; vertical-align: -.15em; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.main { display: block; outline: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- shared atoms */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--teal-700); font-family: var(--mono); font-size: .82rem; font-weight: 500; letter-spacing: .02em; line-height: 1.3; }
.kicker__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--aqua-50); color: var(--teal-700); border: 1px solid var(--aqua-100); }
.kicker__icon .i { width: 18px; height: 18px; }
.kicker--practice { color: var(--sage-700); }
.kicker--practice .kicker__icon { background: var(--sage-100); border-color: var(--sage-200); color: var(--sage-700); }
.kicker--general { color: var(--clay-700); }
.kicker--general .kicker__icon { background: var(--clay-100); border-color: var(--clay-200); color: var(--clay-700); }
.kicker--light { color: var(--aqua-200); }
.kicker--light .kicker__icon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #E4F4F1; }

.h2 { font-size: clamp(1.5rem, 1.18rem + 1.1vw, 2.05rem); line-height: 1.18; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); white-space: nowrap; }
.btn .i { width: 20px; height: 20px; }
.btn--cta { background: var(--teal-700); color: #fff; box-shadow: 0 12px 26px -14px rgba(19, 96, 110, .8); }
.btn--cta:hover { background: var(--teal-800); color: #fff; }
.btn--cta:active { transform: translateY(1px); }
.btn--line { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--line:hover { border-color: var(--teal-600); color: var(--teal-700); }
.btn--text { background: transparent; color: var(--teal-700); padding-left: 10px; padding-right: 10px; }
.btn--text:hover { color: var(--teal-900); background: var(--aqua-50); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #15563E; color: #fff; }

.more { display: inline-block; color: var(--teal-700); font-weight: 600; text-decoration: none; }
.more .i { margin-left: 8px; width: 18px; height: 18px; vertical-align: -.2em; transition: transform .2s var(--ease); }
.more:hover { color: var(--teal-900); }
.more:hover .i { transform: translateX(4px); }
.more--light { color: var(--aqua-200); }
.more--light:hover { color: #fff; }
.links-row { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--teal-600); color: var(--teal-700); }
.icon-btn .i { width: 20px; height: 20px; }

.cicons { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.cicon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--paper); color: var(--teal-700); border: 1px solid var(--line); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.cicon:hover { background: var(--teal-700); border-color: var(--teal-700); color: #fff; transform: translateY(-2px); }
.cicon .i { width: 22px; height: 22px; }
.cicon--whatsapp { color: var(--wa); }
.cicons--lg .cicon { width: 54px; height: 54px; border-radius: 16px; }
.cicons--lg .cicon .i { width: 25px; height: 25px; }
.cicons--loc .cicon { width: 44px; height: 44px; border-radius: 12px; }
.sec-icons { margin: 4px 0 30px; }
.sec-icons--end { margin-top: 30px; }

.chips ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: .94rem; font-weight: 500; text-decoration: none; }
.chips a:hover { border-color: var(--teal-600); color: var(--teal-700); }
.chips__n { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* ---------------------------------------------------------------- header (solid surface drawn by ::before, so the docked CTA inside stays fixed to the viewport) */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(247, 244, 238, .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.site-header.is-scrolled::before { border-bottom-color: var(--line-2); background: rgba(247, 244, 238, .96); }
.header__row { position: relative; display: flex; align-items: center; gap: 18px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand__logo { width: auto; height: 58px; }
/* the white version of the logo is shown only on a dark page (accessibility menu, dark contrast) */
.brand__logo--white, .vcard__logo--white { display: none; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0; list-style: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { display: inline-flex; align-items: center; padding: 10px 6px 10px 11px; border-radius: 10px; color: var(--ink); font-size: .95rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav__item:not(.has-panel) .nav__link { padding-right: 11px; }
.nav__link:hover, .nav__link.is-current { color: var(--teal-700); }
.nav__link.is-current { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--aqua-300); }
.nav__toggle { display: inline-grid; place-items: center; width: 26px; height: 32px; margin-left: -3px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.nav__toggle .i { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav__item.is-open .nav__toggle .i { transform: rotate(180deg); }
.nav__panel { position: absolute; top: calc(100% + 10px); left: -8px; z-index: 70; min-width: 300px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s; }
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s; }
.panel-card { padding: 10px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-lg); }
.panel-list { list-style: none; }
.panel-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; color: var(--ink); font-size: .96rem; font-weight: 500; text-decoration: none; }
.panel-list__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--aqua-50); color: var(--teal-700); }
.panel-list__icon .i { width: 19px; height: 19px; }
.panel-list a:hover, .panel-list a[aria-current] { background: var(--aqua-50); color: var(--teal-900); }
.panel-list a:hover .panel-list__icon, .panel-list a[aria-current] .panel-list__icon { background: var(--paper); }
.panel-foot { margin: 6px 4px 2px; padding: 10px 8px 4px; border-top: 1px solid var(--line-2); }
.panel-foot .more { font-size: .95rem; }
.nav__panel--mega { left: 50%; translate: -50% 0; min-width: 0; width: min(980px, calc(100vw - 48px)); }
.mega { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 10px; padding: 8px; }
.mega__group { min-width: 0; }
.mega__title { display: flex; align-items: center; gap: 9px; padding: 8px 6px 6px; color: var(--ink); font-weight: 600; font-size: .93rem; line-height: 1.25; }
.mega__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--aqua-50); color: var(--teal-700); }
.mega__icon .i { width: 17px; height: 17px; }
.mega__list { list-style: none; margin: 0 0 8px; }
.mega__list a { display: block; padding: 5px 8px 5px 45px; border-radius: 8px; color: var(--text); font-size: .9rem; line-height: 1.35; text-decoration: none; }
.mega__list a:hover, .mega__list a[aria-current] { color: var(--teal-900); background: var(--aqua-50); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cta-home { display: inline-flex; }
.cta-home:empty { display: none; }
.burger { display: none; }
html.nav-collapse .nav { display: none; }
html.nav-collapse .burger { display: inline-grid; }
html.nav-collapse .header__actions { margin-left: auto; }

/* ---------------------------------------------------------------- dialogs */
html.dlg-open { overflow: hidden; }
.dlg { padding: 0; border: 0; color: var(--text); background: var(--paper); box-shadow: var(--shadow-lg); max-height: calc(100dvh - 32px); }
.dlg:focus, .dlg:focus-visible { outline: none; }
.dlg::backdrop { background: rgba(8, 30, 34, .46); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.dlg[open] { display: flex; flex-direction: column; }
.dlg__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.dlg__title { display: flex; align-items: center; gap: 12px; color: var(--ink); font-family: var(--display); font-size: 1.1rem; font-weight: 500; }
.badge { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--aqua-50); color: var(--teal-700); }
.badge .i { width: 20px; height: 20px; }
.dlg__body { padding: 20px; overflow: auto; min-height: 0; }
.dlg__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line-2); background: var(--ivory); }
.dlg__foot:has(.cta-slot:empty) .cta-slot { display: none; }
.dlg--drawer { width: min(420px, 100vw); height: 100dvh; max-height: none; margin: 0 0 0 auto; border-radius: 0; }
.dlg--drawer[open] { animation: drawerIn .26s var(--ease); }
@keyframes drawerIn { from { transform: translateX(24px); opacity: .4; } }
.dlg--drawer .brand__logo { height: 46px; }
.drawer { flex: 1; min-height: 0; overflow: auto; padding: 8px 12px; }
.drawer__group { border-bottom: 1px solid var(--line-2); }
.drawer__group summary, .drawer__link { display: flex; align-items: center; gap: 12px; padding: 14px 8px; color: var(--ink); font-weight: 600; font-size: 1.05rem; text-decoration: none; cursor: pointer; list-style: none; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--aqua-50); color: var(--teal-700); }
.drawer__icon .i { width: 20px; height: 20px; }
.drawer__chev { margin-left: auto; color: var(--muted); transition: transform .2s; }
.drawer__group[open] .drawer__chev { transform: rotate(180deg); }
.drawer__group .panel-list { padding: 0 0 10px; }
.dlg--search { width: min(720px, calc(100vw - 24px)); margin: 72px auto auto; border-radius: 22px; }
.search { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line-2); }
.search__icon { display: grid; color: var(--teal-700); }
.search__icon .i { width: 22px; height: 22px; }
.search__input { flex: 1; min-width: 0; height: 48px; padding: 0 4px; border: 0; background: transparent; font-size: 1.1rem; outline: none; }
.search__input::-webkit-search-cancel-button { display: none; }
.search__body { padding: 16px 20px 20px; overflow: auto; min-height: 0; }
.search__hint { margin: 0 0 10px; color: var(--muted); font-family: var(--mono); font-size: .8rem; }
.search__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 14px; }
.search__chips button { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .92rem; cursor: pointer; }
.search__chips button:hover { border-color: var(--teal-600); color: var(--teal-700); }
.search__count { margin: 6px 0 10px; color: var(--muted); font-family: var(--mono); font-size: .82rem; }
.results { list-style: none; display: grid; gap: 8px; }
.result__a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 14px; color: var(--text); text-decoration: none; background: var(--paper); }
.result__a:hover { border-color: var(--aqua-200); background: var(--aqua-50); }
.result__kind { color: var(--teal-700); font-family: var(--mono); font-size: .76rem; }
.result__title { color: var(--ink); font-weight: 600; }
.result__text { color: var(--muted); font-size: .94rem; }
.result__text mark { background: var(--clay-200); color: var(--ink); border-radius: 3px; padding: 0 2px; }
.search__empty p { margin-bottom: 12px; }
.dlg__foot--search { justify-content: flex-end; }
.search--page { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); margin-bottom: 18px; }
.dlg--booking, .dlg--consent { width: min(660px, calc(100vw - 24px)); margin: auto; border-radius: 24px; }
.booking__lead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 16px; border-radius: 16px; background: var(--aqua-50); }
.booking__lead p { flex: 1 1 260px; font-size: .96rem; }

/* ---------------------------------------------------------------- forms */
.bform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-weight: 600; font-size: .95rem; }
.req { color: var(--clay-700); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 4px rgba(19, 96, 110, .16); }
.field [aria-invalid="true"] { border-color: var(--clay-500); }
.field__hint { color: var(--muted); font-size: .88rem; line-height: 1.4; }
.check { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 0; font-size: .95rem; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal-700); }
.check input[aria-invalid="true"] { outline: 2px solid var(--clay-500); outline-offset: 2px; }
.bform__error { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--clay-100); color: var(--clay-700); font-size: .94rem; font-weight: 500; }
.bform__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.bform__link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .9rem; }
.bform__done { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--sage-100); color: var(--sage-700); font-size: .94rem; }

/* switch (cookie preferences) */
.pref { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.pref__name { display: block; color: var(--ink); font-weight: 600; }
.pref__desc { margin-top: 4px; color: var(--muted); font-size: .92rem; }
.switch { position: relative; flex: none; width: 52px; height: 30px; margin-top: 2px; }
.switch__input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: #B7C0BD; transition: background-color .2s; }
.switch__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.switch__input:checked + .switch__track { background: var(--teal-700); }
.switch__input:checked + .switch__track .switch__knob { transform: translateX(22px); }
.switch__input:focus-visible + .switch__track { outline: 3px solid var(--teal-600); outline-offset: 3px; }
.switch.is-locked .switch__track { opacity: .55; }
.consent-prefs > p:first-child { margin-bottom: 8px; color: var(--muted); font-size: .95rem; }
.consent-prefs__actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); }

/* ---------------------------------------------------------------- home: hero — a growth-chart stage with the doctor's photo plotted in its centre */
.hero { position: relative; padding: clamp(22px, 2.8vw, 40px) 0 0; overflow: hidden; overflow: clip; background:
  radial-gradient(70% 55% at 50% 100%, rgba(134, 207, 200, .20), transparent 70%),
  linear-gradient(180deg, var(--ivory) 0%, #F4F1EA 100%); }
.hero__inner { display: grid; justify-items: center; text-align: center; }
.hero__text { position: relative; z-index: 2; display: grid; justify-items: center; max-width: 780px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 6px 16px 6px 6px; border: 1px solid var(--aqua-100); border-radius: 999px; background: var(--paper); color: var(--teal-800); font-family: var(--mono); font-size: .84rem; font-weight: 500; }
.hero__kicker-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--aqua-50); color: var(--teal-700); }
.hero__kicker-icon .i { width: 17px; height: 17px; }
.hero__title { display: grid; gap: 6px; }
.hero__role { color: var(--teal-700); font-size: clamp(1.1rem, .95rem + .6vw, 1.4rem); font-weight: 400; letter-spacing: 0; }
.hero__name { font-size: clamp(2.05rem, 1.45rem + 2.4vw, 3rem); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; }
.hero__sub { max-width: 64ch; margin-top: 12px; color: var(--text); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); }
.cta-hero { margin-top: 20px; min-height: 52px; }
.cta-hero .btn--cta { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; }

.stage { --sh: clamp(380px, 33vw, 452px); --pw: calc((var(--sh) - 52px) * .7595); position: relative; z-index: 1; width: 100%; max-width: 1120px; height: var(--sh); margin-top: clamp(18px, 2.2vw, 28px); }
.stage::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 40px; height: 62%; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%); }
.stage__field { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 40px); overflow: hidden; }
.stage__field line, .stage__field path { fill: none; }
.stage__grid { stroke: rgba(19, 96, 110, .07); stroke-width: 1; }
.stage__grid--major { stroke: rgba(19, 96, 110, .13); }
.stage__curve { stroke-width: 1.6; stroke-linecap: round; }
.stage__curve--1 { stroke: var(--teal-600); opacity: .55; }
.stage__curve--2 { stroke: var(--aqua-300); stroke-width: 2.2; opacity: .9; }
.stage__curve--3 { stroke: var(--sage-500); opacity: .5; stroke-dasharray: .004 .011; }
.stage__scan { fill: url(#stage-scan); opacity: 0; }
.stage__photo { position: absolute; z-index: 2; left: 50%; bottom: 40px; width: var(--pw); margin: 0; transform: translateX(-50%); }
.stage__photo img { width: 100%; height: auto; aspect-ratio: 379 / 499; border-radius: 26px 26px 18px 18px; box-shadow: 0 2px 4px rgba(20, 38, 44, .06), 0 34px 60px -34px rgba(12, 58, 67, .55); background: var(--aqua-100); }
.stage__ages { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; list-style: none; border-top: 1.5px solid rgba(19, 96, 110, .38); }
.stage__ages li { position: absolute; top: 0; padding-top: 12px; transform: translateX(-50%); color: var(--muted); font-family: var(--mono); font-size: .76rem; line-height: 1.2; white-space: nowrap; }
.stage__ages li::before { content: ""; position: absolute; left: 50%; top: -1px; width: 1.5px; height: 8px; background: rgba(19, 96, 110, .5); }
.stage__ages li:nth-child(1) { left: 6%; }
.stage__ages li:nth-child(2) { left: 27%; }
.stage__ages li:nth-child(3) { left: 50%; }
.stage__ages li:nth-child(4) { left: 73%; }
.stage__ages li:nth-child(5) { left: 94%; }
.stage__chips { position: absolute; inset: 0 0 40px; list-style: none; pointer-events: none; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.chip--l { left: 0; right: calc(50% + var(--pw) / 2 + 12px); flex-direction: row-reverse; text-align: left; }
.chip--r { right: 0; left: calc(50% + var(--pw) / 2 + 12px); text-align: left; }
.chip:nth-child(1), .chip:nth-child(2) { top: 16%; }
.chip:nth-child(3), .chip:nth-child(4) { top: 50%; }
.chip__dot { position: relative; flex: 1 1 auto; min-width: 26px; height: 9px; }
.chip__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: linear-gradient(90deg, rgba(19, 96, 110, .55), rgba(19, 96, 110, .15)); }
.chip--l .chip__dot::before { background: linear-gradient(270deg, rgba(19, 96, 110, .55), rgba(19, 96, 110, .15)); }
.chip__dot::after { content: ""; position: absolute; top: 0; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--teal-700); background: var(--paper); box-shadow: 0 0 0 3px rgba(134, 207, 200, .35); }
.chip--r .chip__dot::after { left: 0; }
.chip--l .chip__dot::after { right: 0; }
.chip__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-2); color: var(--teal-700); box-shadow: var(--shadow-sm); }
.chip__icon .i { width: 20px; height: 20px; }
.chip__text { flex: 0 1 auto; max-width: 16.5rem; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .9rem; line-height: 1.38; box-shadow: var(--shadow-sm); }

/* ---------------------------------------------------------------- bands (home sections) */
.band { padding: clamp(56px, 7vw, 96px) 0; }
.band--paper { background: var(--paper); }
.band--sand { background: var(--sand); }
.band--ivory { background: var(--ivory); }
.band--deep { background: var(--teal-900); color: #D9ECE9; }
.band--deep .h2 { color: #fff; }
.band__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.band__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; max-width: none; }
.band__lead { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.band--deep .band__lead { color: #BFDCD7; }

.home-about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.home-about__text .prose { margin-top: 16px; }

.quote { position: relative; margin: 22px 0 0; padding: 18px 20px 18px 56px; border-radius: var(--radius); background: var(--aqua-50); border: 1px solid var(--aqua-100); }
.quote::before { content: ""; position: absolute; left: 18px; top: 20px; width: 24px; height: 24px; background: currentColor; color: var(--teal-500); -webkit-mask: url("../img/quote.svg") center / contain no-repeat; mask: url("../img/quote.svg") center / contain no-repeat; }
.quote p { color: var(--ink); font-family: var(--display); font-size: 1.04rem; line-height: 1.5; font-weight: 400; }
.quote footer { margin-top: 8px; color: var(--teal-700); font-family: var(--mono); font-size: .82rem; }
.quote--lg p { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }

.signals { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 14px; list-style: none; }
.signal__a { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; height: 100%; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.signal__a:hover { border-color: var(--aqua-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.signal__icon { grid-row: span 3; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--aqua-50); color: var(--teal-700); }
.signal__icon .i { width: 21px; height: 21px; }
.signal__title { color: var(--ink); font-weight: 600; font-size: 1.04rem; line-height: 1.35; }
.signal__text { color: var(--muted); font-size: .96rem; line-height: 1.5; }
.signal__go { margin-top: 6px; color: var(--teal-700); font-weight: 600; font-size: .92rem; }
.signal__go .i { margin-left: 6px; width: 16px; height: 16px; vertical-align: -.2em; transition: transform .2s var(--ease); }
.signal__a:hover .signal__go .i { transform: translateX(4px); }
.advice { display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 18px 20px; border-radius: var(--radius); background: var(--aqua-50); border: 1px dashed var(--teal-500); color: var(--ink); }
@media (min-width: 1100px) { .signal--advice { grid-column: span 2; } }
.advice__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--aqua-50); color: var(--teal-700); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; list-style: none; }
.card { position: relative; min-width: 0; }
.card__a { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 20px 20px 52px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.card__a:hover { border-color: var(--aqua-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.card__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 13px; background: var(--aqua-50); color: var(--teal-700); }
.card__icon .i { width: 22px; height: 22px; }
.card__title { color: var(--ink); font-family: var(--display); font-size: 1.1rem; font-weight: 500; line-height: 1.3; }
.card__text { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.card__go { position: absolute; left: 20px; bottom: 18px; color: var(--teal-700); }
.card__go .i { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.card__a:hover .card__go .i { transform: translateX(4px); }
.card__more { position: absolute; right: 18px; bottom: 16px; font-size: .9rem; }
.card__more a { font-weight: 600; }
.cards--compact .card__a { padding: 18px 18px 46px; }
.cards--compact .card__title { font-size: 1.04rem; }
.cards--compact .card__go { bottom: 14px; left: 18px; }

.tenets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.tenet { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-2); }
.tenet__no { color: var(--teal-600); font-family: var(--mono); font-size: 1.05rem; font-weight: 500; line-height: 1.6; }
.tenet p { color: var(--text); }
.tenet strong { color: var(--ink); }

/* clinical flow (3 steps / page flow) */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; counter-reset: none; }
.flow::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1.5px; background: linear-gradient(90deg, var(--teal-600), var(--aqua-300)); transform-origin: 0 50%; }
.flow__step { position: relative; display: grid; gap: 8px; align-content: start; }
.flow__node { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--teal-600); color: var(--teal-700); font-family: var(--mono); font-weight: 500; box-shadow: 0 0 0 6px var(--paper); }
.band--ivory .flow__node { box-shadow: 0 0 0 6px var(--ivory); }
.flow__title { margin-top: 6px; color: var(--ink); font-family: var(--display); font-weight: 500; font-size: 1.12rem; }
.flow__text { color: var(--text); font-size: .98rem; }
.flow--page { margin: 6px 0 4px; }
.flow--page .flow__node { box-shadow: 0 0 0 6px var(--ivory); }

/* regional days */
.home-regions__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose.prose--light p { color: #CFE5E1; }
.home-regions__text .prose { margin-top: 16px; }
.prose.prose--light strong { color: #fff; }
/* no dates on the site: they are announced on the doctor's social pages (icons), the exact day comes from the doctor */
.sched__title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--muted); font-family: var(--mono); font-size: .82rem; }
.band--deep .sched__title { color: var(--aqua-200); }
.sched { display: grid; gap: 14px; }
.sched__text { color: var(--text); font-size: .98rem; }
.sched__icons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sched__sep { width: 1px; height: 30px; background: var(--line); }
.sched--card { padding: clamp(18px, 3vw, 24px); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); }
.sched--light { padding: 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.sched--light .sched__text { color: #E4F4F1; }
.sched--light .sched__sep { background: rgba(255, 255, 255, .22); }
.sched--light .cicon { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.sched--light .cicon:hover { background: #fff; border-color: #fff; color: var(--teal-800); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; }
.towns a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #E4F4F1; font-size: .94rem; text-decoration: none; }
.towns a:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.home-faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.qlinks { display: grid; gap: 10px; list-style: none; }
.qlinks a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line-2); color: var(--ink); font-weight: 500; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.qlinks a:hover { border-color: var(--aqua-200); box-shadow: var(--shadow); color: var(--ink); }
.qlinks__icon { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 11px; background: var(--aqua-50); color: var(--teal-700); }
.qlinks__go { margin-left: auto; color: var(--teal-700); }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; list-style: none; }
.post__a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.post__a:hover { border-color: var(--aqua-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.post__cat { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--sage-100); color: var(--sage-700); font-family: var(--mono); font-size: .76rem; }
.post__title { color: var(--ink); font-family: var(--display); font-size: 1.12rem; font-weight: 500; line-height: 1.3; }
.post__text { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.post__go { margin-top: auto; padding-top: 4px; color: var(--teal-700); font-weight: 600; font-size: .94rem; }
.post__go .i { margin-left: 6px; width: 16px; height: 16px; vertical-align: -.2em; }

.home-place__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; }

/* ---------------------------------------------------------------- photos */
.pic { margin: 0; }
.pic__frame { overflow: hidden; border-radius: var(--radius-lg); background: var(--aqua-100); box-shadow: var(--shadow); }
.pic__img { width: 100%; height: auto; }
.pic__cap { margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.pic--inline { max-width: 560px; margin: 4px 0 24px; }
.pic--wide { max-width: 640px; margin: 8px 0 32px; }
.portrait { margin: 0; }
.portrait__frame { overflow: hidden; border-radius: 28px; background: var(--aqua-100); box-shadow: var(--shadow-lg); }
.portrait__img { width: 100%; height: auto; }

/* ---------------------------------------------------------------- page head */
.phead { padding: clamp(26px, 4vw, 48px) 0 clamp(26px, 3.6vw, 40px); background: linear-gradient(180deg, var(--ivory), #F3EFE7); border-bottom: 1px solid var(--line-2); }
.phead__grid { display: grid; gap: 28px; }
.phead--aside .phead__grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.phead--aside .phead__aside { order: -1; }
.phead__text { min-width: 0; max-width: 820px; }
.phead__title { font-size: clamp(1.8rem, 1.35rem + 1.6vw, 2.45rem); line-height: 1.14; }
.phead__sub { margin-top: 10px; color: var(--teal-700); font-family: var(--mono); font-size: .92rem; }
.phead__prose { margin-top: 16px; max-width: 74ch; }
.phead__prose p + p { margin-top: 10px; }
.phead__icons { margin-top: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin-bottom: 16px; list-style: none; font-size: .88rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: .5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal-700); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.answer { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); }
.answer__label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 6px; color: var(--teal-700); font-family: var(--mono); font-size: .82rem; }
.answer__body { color: var(--ink); font-size: 1.04rem; line-height: 1.62; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted); font-size: .92rem; }
.byline__img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.byline a { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- document layout */
.doc { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(56px, 7vw, 88px); }
.doc--wide { grid-template-columns: minmax(0, 1fr); max-width: calc(880px + 2 * var(--gutter)); }
.doc__side { position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
.doc__side:empty { display: none; }
.doc__main { min-width: 0; max-width: 780px; }
.doc__main--solo { max-width: 780px; margin: 0 auto; }
.doc--wide .doc__main { max-width: none; }
.toc { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.toc summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--aqua-50); color: var(--teal-700); }
.toc__icon .i { width: 17px; height: 17px; }
.toc__chev { margin-left: auto; color: var(--muted); transition: transform .2s; }
.toc[open] .toc__chev { transform: rotate(180deg); }
.toc ol { list-style: none; padding: 0 8px 10px; }
.toc a { position: relative; display: block; padding: 7px 10px 7px 22px; border-radius: 10px; color: var(--text); font-size: .92rem; line-height: 1.35; text-decoration: none; }
.toc a::before { content: ""; position: absolute; left: 9px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--line); transition: background-color .2s, transform .2s; }
.toc a:hover { background: var(--aqua-50); color: var(--teal-900); }
.toc a.is-active { color: var(--teal-800); font-weight: 600; }
.toc a.is-active::before { background: var(--teal-600); transform: scale(1.5); }
.doc__side .toc[open] summary { border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }

.sec { padding: 6px 0 30px; }
.sec + .sec { padding-top: 20px; border-top: 1px solid var(--line-2); }
.sec--body { padding: 0 0 24px; }
.sec__title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: clamp(1.25rem, 1.12rem + .5vw, 1.5rem); line-height: 1.28; }
.sec__badge { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: none; margin-top: -3px; border-radius: 12px; background: var(--aqua-50); color: var(--teal-700); border: 1px solid var(--aqua-100); }
.sec__badge .i { width: 20px; height: 20px; }
.sec--practice { margin: 8px 0 22px; padding: 22px 22px 18px; border: 1px solid var(--sage-200); border-radius: var(--radius); background: var(--sage-100); }
.sec + .sec--practice, .sec--practice + .sec { border-top: 0; }
.sec--practice + .sec { padding-top: 20px; }
.sec--practice .sec__badge { background: var(--paper); color: var(--sage-700); border-color: var(--sage-200); }
.sec--practice .kicker { margin-bottom: 10px; }
.sec--general .sec__badge { background: var(--clay-100); color: var(--clay-700); border-color: var(--clay-200); }

.prose { color: var(--text); }
.prose > * + * { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 0; list-style: none; }
.prose ul > li, .prose ol > li { position: relative; padding-left: 26px; }
.prose ul > li + li, .prose ol > li + li { margin-top: 8px; }
.prose ul > li::before { content: ""; position: absolute; left: 6px; top: .72em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--teal-600); }
.prose ol { counter-reset: item; }
.prose ol > li { counter-increment: item; padding-left: 34px; }
.prose ol > li::before { content: counter(item); position: absolute; left: 0; top: .12em; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--aqua-50); color: var(--teal-800); font-family: var(--mono); font-size: .78rem; font-weight: 500; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h3 { margin-top: 22px; font-size: 1.12rem; }
.prose .lbl { color: var(--ink); font-weight: 600; }
.prose .lbl + ul { margin-top: 8px; }
.prose a { font-weight: 500; }
.prose .go { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 12px 16px; border-radius: 14px; background: var(--aqua-50); font-size: .96rem; }
.go__label { color: var(--teal-800); font-family: var(--mono); font-size: .8rem; }
.go__label::after { content: ":"; }
.go__sep { color: var(--muted); }
.li-go { white-space: normal; }
.li-go a::after { content: " →"; }
.note-general { padding: 14px 16px; border-radius: 14px; background: var(--clay-100); border: 1px solid var(--clay-200); }
.note-general__tag { display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px; background: var(--paper); color: var(--clay-700); font-family: var(--mono); font-size: .76rem; vertical-align: .1em; }
.note-general--head { padding: 0; border: 0; background: none; }
.note-general--head + ul { margin-top: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.table-wrap thead th { background: var(--ivory); color: var(--muted); font-family: var(--mono); font-size: .8rem; font-weight: 500; }
.table-wrap tbody th { color: var(--ink); font-weight: 600; min-width: 9rem; }
.table-wrap tr:last-child > * { border-bottom: 0; }
.prose .quote { margin-top: 18px; }

.faq { display: grid; gap: 10px; }
.qa { border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.qa[open] { border-color: var(--aqua-200); box-shadow: var(--shadow-sm); }
.qa summary { display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { flex: 1; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.45; }
.qa__icon { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--aqua-50); color: var(--teal-700); transition: transform .25s var(--ease), background-color .2s; }
.qa__icon .i { width: 16px; height: 16px; }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.qa__a { padding: 0 18px 18px; }
.qa summary:hover .qa__q { color: var(--teal-800); }
.faq--page .qa__q { font-size: 1.06rem; }

/* the doctor's Instagram videos on /suallar/: «Video» mark on the question, the reel's own cover beside the answer */
.faq-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; color: var(--muted); font-size: .96rem; }
.faq-note__icon { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--clay-100); color: var(--clay-700); }
.faq-note__icon .i { width: 12px; height: 12px; margin-left: 1px; }
.qa__vid { display: inline-flex; align-items: center; gap: 5px; flex: none; margin-top: 3px; padding: 2px 10px 2px 8px; border-radius: 999px; background: var(--clay-100); color: var(--clay-700); font-family: var(--mono); font-size: .76rem; font-weight: 500; line-height: 20px; }
.qa__vid .i { width: 11px; height: 11px; }
.qa__body { display: grid; grid-template-columns: minmax(0, 1fr) 188px; gap: 28px; align-items: start; padding: 0 18px 20px; }
.qa__body .qa__a { padding: 0; }
.reel { display: grid; gap: 10px; color: var(--ink); text-decoration: none; }
/* the cover is shown whole and unaltered: nothing is drawn over it, the play mark and the platform sit under it */
.reel__media { display: block; overflow: hidden; border-radius: 16px; background: var(--teal-900); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.reel__img { display: block; width: 100%; height: auto; }
.reel:hover .reel__media { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.reel__body { display: grid; gap: 4px; }
.reel__label { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: .92rem; font-weight: 600; line-height: 1.35; }
.reel__play { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--teal-700); color: #fff; transition: background-color .2s; }
.reel__play .i { width: 12px; height: 12px; margin-left: 1px; }
.reel:hover .reel__play { background: var(--teal-800); }
.reel__go { display: inline-flex; align-items: center; gap: 6px; padding-left: 34px; color: var(--teal-700); font-size: .9rem; font-weight: 500; }
.reel__go .i { flex: none; }
.reel:hover .reel__go span { text-decoration: underline; text-underline-offset: 3px; }
.sec--faq { padding-top: 20px; }

.disclaimer { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--sand); color: var(--text); font-size: .94rem; line-height: 1.55; }
.disclaimer__icon { color: var(--teal-700); }
.disclaimer__icon .i { width: 22px; height: 22px; }
.author { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 28px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.author__img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.author__name { color: var(--ink); font-weight: 600; margin-bottom: 6px; }
.author__body p:not(.author__name) { color: var(--muted); font-size: .95rem; }
.author__body .more { margin-top: 10px; }
.rel { margin-top: 28px; padding: 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-2); }
.rel__title { margin: 0 4px 10px; color: var(--muted); font-family: var(--mono); font-size: .82rem; }
.rel ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 6px; list-style: none; }
.rel a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--ink); font-weight: 500; font-size: .96rem; line-height: 1.35; text-decoration: none; }
.rel a:hover { background: var(--aqua-50); color: var(--teal-900); }
.rel__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--aqua-50); color: var(--teal-700); }
.rel__icon .i { width: 18px; height: 18px; }
.rel__go { margin-left: auto; color: var(--teal-600); width: 18px; height: 18px; }
.share { margin-top: 24px; }

/* ---------------------------------------------------------------- age timelines (figures from the content's age tables) */
.ages { margin: 6px 0 26px; padding: 18px 20px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); }
.ages__cap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--ink); font-family: var(--display); font-size: 1rem; font-weight: 500; line-height: 1.3; }
.ages__icon { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--aqua-50); color: var(--teal-700); }
.ages__icon .i { width: 19px; height: 19px; }
.ages__body { display: grid; gap: 8px; }
.ages__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 14px; align-items: center; }
.ages--labels .ages__row { grid-template-columns: 6.6rem minmax(0, 1fr); }
.ages__label { color: var(--muted); font-size: .86rem; font-weight: 600; line-height: 1.25; }
.ages__track { display: grid; align-items: stretch; min-width: 0; }
.ages--n3 .ages__track, .ages--n3 .ages__ticks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ages--n4 .ages__track, .ages--n4 .ages__ticks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ages--n8 .ages__track, .ages--n8 .ages__ticks { grid-template-columns: repeat(8, minmax(0, 1fr)); }
.c-s1 { grid-column-start: 1; } .c-s2 { grid-column-start: 2; } .c-s3 { grid-column-start: 3; } .c-s4 { grid-column-start: 4; } .c-s5 { grid-column-start: 5; }
.c-s6 { grid-column-start: 6; } .c-s7 { grid-column-start: 7; } .c-s8 { grid-column-start: 8; } .c-s9 { grid-column-start: 9; }
.c-e2 { grid-column-end: 2; } .c-e3 { grid-column-end: 3; } .c-e4 { grid-column-end: 4; } .c-e5 { grid-column-end: 5; } .c-e6 { grid-column-end: 6; }
.c-e7 { grid-column-end: 7; } .c-e8 { grid-column-end: 8; } .c-e9 { grid-column-end: 9; } .c-e10 { grid-column-end: 10; }
.ages__band { grid-row: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 0 2px; padding: 6px 10px; border-radius: 11px; font-size: .88rem; font-weight: 600; line-height: 1.25; text-align: center; transform-origin: 0 50%; }
.ages__range { display: none; }
.ages__band--teal { background: var(--teal-700); color: #fff; }
.ages__band--sage { background: var(--sage-200); color: #2F4A37; }
.ages__band--sand { background: #F0E5D3; color: #5A4632; }
.ages__band--clay { background: var(--clay-100); color: var(--clay-700); border: 1px solid var(--clay-200); }
.ages__band--mist { background: repeating-linear-gradient(135deg, #EEF4F3 0 8px, #E4EEEC 8px 9px); color: #36525A; border: 1px dashed #A9C7C3; }
.ages__row--marks .ages__track { min-height: 30px; }
.ages__mark { grid-row: 1; position: relative; display: flex; justify-content: center; margin: 0 2px; border: 1.5px solid var(--clay-500); border-bottom: 0; border-radius: 8px 8px 0 0; height: 12px; align-self: end; }
.ages__mark span { position: absolute; bottom: 12px; padding: 1px 8px; border-radius: 999px; background: var(--clay-100); color: var(--clay-700); font-family: var(--mono); font-size: .74rem; white-space: nowrap; }
.ages__row--ticks { margin-top: 2px; }
.ages__ticks { display: grid; height: 30px; list-style: none; border-top: 1.5px solid #9AAAAD; }
.ages__ticks li { grid-row: 1; position: relative; }
.ages__ticks li::before { content: ""; position: absolute; left: -.75px; top: -1px; width: 1.5px; height: 7px; background: #9AAAAD; }
.ages__ticks li span { position: absolute; left: 0; top: 8px; transform: translateX(-50%); color: var(--muted); font-family: var(--mono); font-size: .74rem; white-space: nowrap; }
.ages__ticks li.c-s1:not(.is-end) span { transform: none; }
.ages__ticks li.is-end::before { left: auto; right: -.75px; }
.ages__ticks li.is-end span { left: auto; right: 0; transform: none; }
.ages__note { margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.5; }

/* ---------------------------------------------------------------- about, career */
.phead--profile .phead__sub { font-size: .98rem; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding-top: clamp(26px, 4vw, 40px); max-width: calc(880px + 2 * var(--gutter)); }
.facts { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.facts__row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line-2); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.facts dd { margin: 0; color: var(--ink); }
.profile__channels { grid-column: 1 / -1; }

.tline { position: relative; display: grid; gap: 12px; list-style: none; padding-left: 4px; }
.tline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 1.5px; background: linear-gradient(180deg, var(--teal-600), var(--aqua-200)); transform-origin: 50% 0; }
.tline__item { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 16px; padding: 4px 0; }
.tline__node { grid-row: span 3; position: relative; z-index: 1; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); border: 1.5px solid var(--teal-600); color: var(--teal-700); box-shadow: 0 0 0 5px var(--ivory); }
.tline__node .i { width: 19px; height: 19px; }
.tline__when { color: var(--teal-700); font-family: var(--mono); font-size: .86rem; font-weight: 500; }
.tline__what { color: var(--ink); font-weight: 600; line-height: 1.45; }
.tline__meta { color: var(--muted); font-size: .94rem; }
.tline + .prose { margin-top: 18px; }

/* ---------------------------------------------------------------- services hub */
.svc { padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(56px, 7vw, 88px); }
.svc__jump ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 30px; }
.svc__jump a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: .93rem; font-weight: 500; text-decoration: none; }
.svc__jump a:hover { border-color: var(--teal-600); color: var(--teal-700); }
.svc__jump-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--aqua-50); color: var(--teal-700); }
.svc__jump-icon .i { width: 16px; height: 16px; }
.svc__group { padding: 10px 0 34px; scroll-margin-top: calc(var(--header-h) + 20px); }

/* ---------------------------------------------------------------- places */
.loc { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); overflow: hidden; box-shadow: var(--shadow-sm); }
.loc__body { padding: 22px; display: grid; gap: 6px; align-content: start; }
.loc__city { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-700); font-family: var(--mono); font-size: .84rem; }
.loc__city .i { width: 17px; height: 17px; }
.loc__name { font-size: 1.3rem; }
.loc__addr { color: var(--ink); font-weight: 500; }
.loc__near { color: var(--muted); font-size: .94rem; }
.loc__note { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 8px; color: var(--sage-700); font-size: .92rem; font-weight: 500; }
.loc--region { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.loc__aside { padding: 22px; background: var(--ivory); border-left: 1px solid var(--line-2); }
.place { padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(56px, 7vw, 88px); }
.place .doc__main--solo { margin-top: 34px; }
.mapcard { margin: 0; border-top: 1px solid var(--line-2); }
.mapcard__frame { position: relative; aspect-ratio: 16 / 10; background: var(--aqua-50); }
.mapcard__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapcard__gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; }
.mapcard.is-loaded .mapcard__gate { display: none; }
.mapcard__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(19, 96, 110, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(19, 96, 110, .08) 1px, transparent 1px); background-size: 28px 28px; }
.mapcard__pin { position: relative; display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); color: var(--teal-700); box-shadow: var(--shadow); }
.mapcard__pin .i { width: 24px; height: 24px; }
.mapcard__text { position: relative; max-width: 34ch; color: var(--text); font-size: .94rem; }
.mapcard__gate .btn { position: relative; }
.mapcard__cap { padding: 12px 22px; color: var(--muted); font-size: .9rem; }

.regions { padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(56px, 7vw, 88px); }
.regions__dates { max-width: 780px; margin: 0 auto 30px; }
.rcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; list-style: none; margin-bottom: 34px; }
.rcard__a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--paper); color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.rcard__a:hover { border-color: var(--aqua-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.rcard__icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 12px; background: var(--aqua-50); color: var(--teal-700); }
.rcard__city { color: var(--ink); font-family: var(--display); font-size: 1.2rem; font-weight: 500; }
.rcard__venue { color: var(--ink); font-weight: 600; font-size: .96rem; }
.rcard__addr { color: var(--muted); font-size: .93rem; }
.rcard__go { margin-top: auto; padding-top: 8px; color: var(--teal-700); font-weight: 600; font-size: .94rem; }
.rcard__go .i { margin-left: 6px; width: 16px; height: 16px; vertical-align: -.2em; }

/* ---------------------------------------------------------------- contact, vizitkart, media, blog, legal, sitemap, 404 */
.contact { padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(56px, 7vw, 88px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact__places { display: grid; gap: 26px; min-width: 0; }
.contact__form { min-width: 0; padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.contact__lead { margin: -4px 0 18px; color: var(--muted); font-size: .96rem; }
.contact__note { margin-top: 12px; color: var(--muted); font-size: .93rem; }
.contact__faq { max-width: 880px; margin-top: 40px; }
.rlist { display: grid; gap: 8px; list-style: none; }
.rlist__a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper); color: var(--text); text-decoration: none; }
.rlist__a:hover { border-color: var(--aqua-200); color: var(--text); }
.rlist__city { color: var(--ink); font-weight: 600; }
.rlist__where { grid-column: 1; color: var(--muted); font-size: .92rem; }
.rlist__go { grid-column: 2; grid-row: 1 / span 2; color: var(--teal-600); }

.vcard-page { padding: clamp(24px, 4vw, 48px) 0 clamp(56px, 7vw, 88px); background: linear-gradient(180deg, var(--ivory), var(--sand)); }
.vcard-page__inner { max-width: calc(560px + 2 * var(--gutter)); }
.vcard { display: grid; gap: 20px; padding: clamp(22px, 4vw, 32px); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.vcard__top { padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.vcard__logo { width: min(260px, 100%); height: auto; }
.vcard__id { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; }
.vcard__photo { overflow: hidden; border-radius: 22px; background: var(--aqua-100); }
.vcard__img { width: 96px; height: 96px; object-fit: cover; object-position: 50% 18%; }
.vcard__name { font-size: clamp(1.45rem, 1.2rem + .9vw, 1.8rem); }
.vcard__role { margin-top: 6px; color: var(--teal-700); font-family: var(--mono); font-size: .88rem; }
.cicons--vcard { gap: 10px; }
.cicons--vcard .cicon { width: 56px; height: 56px; border-radius: 16px; }
.cicons--vcard .cicon .i { width: 26px; height: 26px; }
.vcard__addr { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: .96rem; }
.vcard__addr .i { margin-top: 4px; color: var(--teal-700); }
.vcard__actions { display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 18px; border-top: 1px solid var(--line-2); }

.accounts { display: grid; gap: 10px; list-style: none; }
.account { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 2px 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper); color: var(--text); text-decoration: none; }
.account:hover { border-color: var(--aqua-200); color: var(--text); }
.account__icon { grid-row: span 2; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--aqua-50); color: var(--teal-700); }
.account__name { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.account__bio { grid-column: 2; color: var(--muted); font-size: .92rem; }
.account__go { grid-column: 3; grid-row: 1 / span 2; color: var(--teal-600); }
.vtopics { display: grid; gap: 8px; list-style: none; }
.vtopic { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line-2); }
.vtopic__icon { grid-row: span 2; color: var(--teal-600); }
.vtopic__text { color: var(--ink); font-size: .96rem; }
.vtopic__link { grid-column: 2; font-weight: 600; font-size: .92rem; text-decoration: none; }
.vtopic__link .i { margin-left: 6px; width: 15px; height: 15px; vertical-align: -.2em; }

.blog { padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(56px, 7vw, 88px); }
.blog .chips { margin-bottom: 28px; }
.blog__cat { padding-bottom: 30px; scroll-margin-top: calc(var(--header-h) + 20px); }

.legal__date { margin-top: 24px; color: var(--muted); font-family: var(--mono); font-size: .86rem; }
.smap { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 30px 40px; padding-top: clamp(26px, 4vw, 40px); padding-bottom: clamp(56px, 7vw, 88px); }
.smap__group--wide { grid-column: 1 / -1; }
.smap__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px 30px; }
.smap__sub { margin-bottom: 6px; color: var(--muted); font-size: .88rem; font-weight: 600; }
.smap ul { display: grid; gap: 4px; list-style: none; }
.smap li a { color: var(--ink); text-decoration: none; font-size: .96rem; }
.smap li a:hover { color: var(--teal-700); text-decoration: underline; }
.smap .sec__title a { color: inherit; text-decoration: none; }
.smap__posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 6px 30px; }
.nf { padding: clamp(48px, 8vw, 110px) 0; }
.nf__box { max-width: calc(640px + 2 * var(--gutter)); text-align: center; }
.nf__code { color: var(--aqua-300); font-family: var(--display); font-size: clamp(4rem, 3rem + 5vw, 7rem); line-height: 1; font-weight: 500; }
.nf__title { margin-top: 10px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.nf__text { margin: 12px auto 24px; max-width: 46ch; color: var(--muted); }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; }

/* ---------------------------------------------------------------- footer */
.site-footer { padding: clamp(48px, 6vw, 72px) 0 calc(24px + env(safe-area-inset-bottom)); background: var(--sand); color: var(--text); border-top: 1px solid var(--sand-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.brand--footer .brand__logo { height: 60px; }
.footer__about { margin-top: 16px; max-width: 46ch; color: var(--text); font-size: .95rem; }
.footer__addr { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 16px; color: var(--muted); font-size: .93rem; }
.footer__addr .i { margin-top: 4px; color: var(--teal-700); }
.cicons--footer .cicon { width: 42px; height: 42px; border-radius: 12px; border-color: var(--sand-2); }
.footer__vcard { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--ink); font-weight: 600; text-decoration: none; }
.footer__vcard .i { color: var(--teal-700); }
.footer__vcard:hover { color: var(--teal-800); }
.footer__title { margin-bottom: 12px; color: var(--ink); font-family: var(--display); font-size: 1rem; font-weight: 500; }
.footer__title--2 { margin-top: 22px; }
.footer__col ul { display: grid; gap: 7px; list-style: none; }
.footer__col a { color: var(--text); font-size: .94rem; text-decoration: none; }
.footer__col a:hover, .footer__col a[aria-current] { color: var(--teal-800); text-decoration: underline; }
.footer__note { margin-top: 36px; }
.footer__note p { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .55); color: var(--text); font-size: .92rem; }
.footer__note .i { margin-top: 4px; color: var(--teal-700); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--sand-2); color: var(--muted); font-size: .9rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; }
.footer__legal a { color: var(--muted); text-decoration: none; }
.footer__legal a:hover { color: var(--teal-800); text-decoration: underline; }
.footer__otx a { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------------- cookie banner */
.consent { position: fixed; right: 16px; bottom: 16px; z-index: 120; width: min(560px, calc(100vw - 32px)); }
.consent__box { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; padding: 18px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--paper); box-shadow: var(--shadow-lg); }
.consent__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--aqua-50); color: var(--teal-700); }
.consent__title { margin-bottom: 6px; font-size: 1.04rem; }
.consent__text p { color: var(--text); font-size: .9rem; line-height: 1.5; }
.consent__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- motion (only with html.m-on; without it everything sits in its final state) */
.m-on [data-rv] { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease) var(--m-d, 0s), transform .7s var(--ease) var(--m-d, 0s); }
.m-on [data-rv].is-in { opacity: 1; transform: none; }
/* hero: curves draw in, one scanning pass, chips and their precision markers settle after the photo */
.m-on .stage__curve--1, .m-on .stage__curve--2 { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawLine 2.2s var(--ease) .35s forwards; }
.m-on .stage__curve--2 { animation-delay: .55s; }
.m-on .stage__curve--3 { animation: curveFade 1.6s var(--ease) 1.1s both; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes curveFade { from { opacity: 0; } to { opacity: .5; } }
.m-on .stage__scan { animation: scanPass 2.6s cubic-bezier(.45, .05, .35, 1) .5s 1 forwards; }
@keyframes scanPass { 0% { opacity: 0; transform: translateX(-60px); } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(1000px); } }
.m-on .stage__photo { animation: photoIn .9s var(--ease) .1s both; }
@keyframes photoIn { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }
.m-on .chip { animation: chipIn .7s var(--ease) both; }
.m-on .chip:nth-child(1) { animation-delay: .9s; } .m-on .chip:nth-child(2) { animation-delay: 1.05s; }
.m-on .chip:nth-child(3) { animation-delay: 1.2s; } .m-on .chip:nth-child(4) { animation-delay: 1.35s; }
@keyframes chipIn { from { opacity: 0; } to { opacity: 1; } }
.m-on .chip__dot::before { transform: scaleX(0); animation: leader .8s var(--ease) both; animation-delay: inherit; }
.chip--l .chip__dot::before { transform-origin: 100% 50%; }
.chip--r .chip__dot::before { transform-origin: 0 50%; }
@keyframes leader { to { transform: scaleX(1); } }
.m-on .stage__ages li { animation: chipIn .6s var(--ease) both; }
.m-on .stage__ages li:nth-child(1) { animation-delay: .4s; } .m-on .stage__ages li:nth-child(2) { animation-delay: .55s; }
.m-on .stage__ages li:nth-child(3) { animation-delay: .7s; } .m-on .stage__ages li:nth-child(4) { animation-delay: .85s; }
.m-on .stage__ages li:nth-child(5) { animation-delay: 1s; }
.m-on .hero__text > * { animation: textIn .8s var(--ease) both; }
.m-on .hero__text > :nth-child(2) { animation-delay: .08s; } .m-on .hero__text > :nth-child(3) { animation-delay: .16s; }
.m-on .hero__text > .cta-hero { animation-name: chipIn; animation-delay: .24s; }
@keyframes textIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* age bands grow along the age axis, one after another */
.m-on .ages .ages__band, .m-on .ages .ages__mark { transform: scaleX(.04); opacity: 0; transition: transform .8s var(--ease), opacity .4s; }
.m-on .ages.is-in .ages__band, .m-on .ages.is-in .ages__mark { transform: none; opacity: 1; }
.m-on .ages.is-in .ages__band:nth-child(2) { transition-delay: .18s; } .m-on .ages.is-in .ages__band:nth-child(3) { transition-delay: .36s; }
.m-on .ages.is-in .ages__band:nth-child(4) { transition-delay: .54s; }
/* flows and timelines draw their connecting line once in view */
.m-on [data-flow]::before { transform: scaleX(0); transition: transform 1.3s var(--ease) .15s; }
.m-on [data-flow].is-in::before { transform: scaleX(1); }
.m-on .tline::before { transform: scaleY(0); transition: transform 1.4s var(--ease); }
.m-on .tline.is-in::before { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .nav__link { font-size: .92rem; padding-left: 9px; }
  .mega { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .brand__logo { height: 50px; }
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__actions { margin-left: auto; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__side { position: static; }
  .doc__main { max-width: 780px; }
  .home-about__grid, .home-place__grid, .home-faq__grid, .home-regions__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .pic--about { max-width: 560px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .phead--aside .phead__grid { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); }
  .loc--region { grid-template-columns: minmax(0, 1fr); }
  .loc__aside { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 860px) {
  .stage { --sh: clamp(360px, 52vw, 430px); }
  .chip__text { max-width: 13rem; font-size: .86rem; }
  .chip__icon { width: 34px; height: 34px; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .brand__logo { height: 44px; }
  .header__row { gap: 10px; }
  /* the single CTA docks at the bottom of the screen and stays visible while scrolling */
  .cta-home [data-cta], .cta-hero [data-cta] { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 100; min-height: 52px; font-size: 1.02rem; box-shadow: 0 14px 30px -10px rgba(12, 58, 67, .55); }
  .cta-home:not(:empty) { display: contents; }
  .cta-hero { margin-top: 0; min-height: 0; }
  .hero { padding-top: 22px; }
  .hero__inner { text-align: left; justify-items: stretch; }
  .hero__text { justify-items: start; }
  .hero__kicker { font-size: .78rem; }
  .stage { --sh: auto; --pw: min(62vw, 250px); display: flex; flex-direction: column; height: auto; margin-top: 22px; }
  .stage__photo { order: 1; }
  .stage__ages { order: 2; }
  .stage__chips { order: 3; }
  .stage::before { bottom: auto; top: 0; height: 330px; }
  .stage__field { height: 320px; }
  .stage__photo { position: relative; left: auto; bottom: auto; margin: 0 auto; transform: none; }
  .m-on .stage__photo { animation-name: photoInStatic; }
  @keyframes photoInStatic { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .stage__ages { position: relative; height: 40px; margin-top: 0; }
  .stage__ages li { font-size: .7rem; }
  .stage__ages li:nth-child(2), .stage__ages li:nth-child(4) { display: none; }
  .stage__ages li:nth-child(1) { left: 0; transform: none; }
  .stage__ages li:nth-child(1)::before { left: 0; }
  .stage__ages li:nth-child(5) { left: auto; right: 0; transform: none; }
  .stage__ages li:nth-child(5)::before { left: auto; right: 0; }
  .stage__chips { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; pointer-events: auto; }
  .chip, .chip--l, .chip--r { position: static; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--paper); }
  .chip__dot { display: none; }
  .chip__text, .chip--l .chip__text { order: 0; max-width: none; padding: 0; border: 0; background: none; box-shadow: none; font-size: .86rem; }
  .chip__icon { width: 34px; height: 34px; box-shadow: none; }
  .hero { padding-bottom: 36px; }
  .band { padding: 52px 0; }
  .tenets { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .flow::before { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1.5px; height: auto; transform-origin: 50% 0; }
  .m-on [data-flow]::before { transform: scaleY(0); }
  .m-on [data-flow].is-in::before { transform: scaleY(1); }
  .flow__step { grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; }
  .flow__node { grid-row: span 2; }
  .flow__title { margin-top: 8px; }
  .bform__grid { grid-template-columns: minmax(0, 1fr); }
  .facts__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .profile { grid-template-columns: minmax(0, 1fr); }
  .phead--aside .phead__grid { grid-template-columns: minmax(0, 1fr); }
  .phead__aside { order: -1; max-width: 220px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .consent { left: 12px; right: 12px; bottom: calc(136px + env(safe-area-inset-bottom)); width: auto; }
  .consent__box { padding: 16px; }
  .dlg--search { margin-top: 12px; max-height: calc(100dvh - 24px); }
  .table-wrap th, .table-wrap td { padding: 10px 12px; }
  .table-wrap tbody th { min-width: 7rem; }
  .ages { padding: 16px 14px 12px; }
  /* phones: the age timeline turns into a list of ranges */
  .ages__body { gap: 6px; }
  .ages__row, .ages--labels .ages__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ages__track { display: flex; flex-direction: column; gap: 6px; }
  .ages__band { justify-content: space-between; gap: 12px; margin: 0; min-height: 40px; text-align: left; transform-origin: 50% 0; }
  .ages__range { display: inline; font-family: var(--mono); font-size: .76rem; font-weight: 500; opacity: .9; white-space: nowrap; }
  .ages__row--ticks, .ages__row--marks { display: none; }
  .ages__label { margin-top: 4px; }
  .author { grid-template-columns: minmax(0, 1fr); }
  .cicons--lg { gap: 8px; }
  .cicons--lg .cicon { width: 48px; height: 48px; border-radius: 14px; }
  .cicons--lg .cicon .i { width: 23px; height: 23px; }
  .vcard__id { grid-template-columns: 76px minmax(0, 1fr); }
  .vcard__img { width: 76px; height: 76px; }
  /* phones: social icons on one row, WhatsApp and phone on the next (the divider becomes the row break) */
  .sched__icons { row-gap: 6px; }
  .sched__sep { flex-basis: 100%; height: 0; }
  /* phones: the «Video» mark goes under the question; the video sits under the answer as a row — cover left, label right */
  .qa--video summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; }
  .qa--video .qa__q { grid-column: 1; grid-row: 1; }
  .qa--video .qa__vid { grid-column: 1; grid-row: 2; justify-self: start; margin-top: 0; }
  .qa--video .qa__icon { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .qa__body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .reel { grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--ivory); }
  .reel__media { border-radius: 12px; box-shadow: none; }
}
@media (max-width: 420px) {
  .stage__chips { grid-template-columns: minmax(0, 1fr); }
  .chip, .chip--l, .chip--r { flex-direction: row; align-items: center; }
}

@media print {
  .site-header, .site-footer, .uwa-launch, .consent, .doc__side, .rel, .share, [data-cta] { display: none !important; }
  body { background: #fff; padding: 0; }
  .m-on [data-rv] { opacity: 1 !important; transform: none !important; }
}
