/* =========================================================
   «Компас Здоровья» — стили сайта
   Палитра взята из брошюры клиники: тёмная олива, листовой
   зелёный, шалфей, белый. Мотивы: компас и лист.
   ========================================================= */

@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2c3012;          /* основной текст, тёмная олива */
  --ink-soft: #5a5f43;     /* второстепенный текст */
  --olive: #4b5a19;        /* кнопки, ссылки */
  --olive-dark: #3a4613;
  --leaf: #7e9126;         /* акценты, иконки */
  --lime: #c6d34b;         /* яркий акцент на тёмном */
  --lime-hover: #d4e05c;
  --sage: #d9dcc4;         /* «таблетки» из брошюры */
  --sage-100: #eceee0;
  --sage-50: #f6f7f0;
  --night: #1c240f;        /* тёмные секции, подвал */
  --night-2: #263114;
  --white: #fff;
  --line: #dfe2cf;
  --danger: #b3261e;

  --radius-lg: 32px;
  --radius: 20px;
  --radius-sm: 12px;
  --pill: 999px;
  --leaf-shape: 999px 24px 999px 24px;  /* форма листа для фото */

  --shadow: 0 1px 2px rgba(44, 48, 18, .06), 0 8px 24px -12px rgba(44, 48, 18, .18);
  --shadow-lg: 0 24px 60px -24px rgba(28, 36, 15, .45);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);

  --fs-base: 1.0625rem;
  --lh: 1.6;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(32px, 5vw, 56px) 0 var(--section); }
.section__head { margin-bottom: clamp(24px, 4vw, 44px); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section__head--row .h2 { margin-bottom: .25em; }
.section__lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 62ch; }

.h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); }
.h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.5rem); letter-spacing: -.01em; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--xs { width: .9em; height: .9em; }
.icon--sm { width: 1.05em; height: 1.05em; }
.icon--flip { transform: scaleX(-1); }
.icon--star { width: 1em; height: 1em; color: #e3b23c; }
.icon--leaf { color: var(--leaf); }

/* ---------- Кнопки ---------- */
.btn {
  --bg: var(--olive); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.5em;
  border-radius: var(--pill); border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--olive-dark); }
.btn--lime { --bg: var(--lime); --fg: var(--night); }
.btn--lime:hover { --bg: var(--lime-hover); }
.btn--ghost { --bg: transparent; --fg: var(--olive); --bd: currentColor; }
.btn--ghost:hover { --bg: var(--sage-100); --fg: var(--ink); }
.btn--glass { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn--glass:hover { --bg: rgba(255, 255, 255, .16); --bd: #fff; }
.btn--lg { min-height: 56px; padding: .85em 1.9em; font-size: 1.0625rem; }
.btn--sm { min-height: 44px; padding: .5em 1.15em; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 22px; height: 22px; border: 3px solid var(--fg); border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.pill { display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: var(--pill); background: var(--sage); color: var(--ink); font-size: .9375rem; font-weight: 600; }
.pill--glass { background: rgba(198, 211, 75, .16); color: var(--lime); }
.chip {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .5em 1.1em;
  border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white);
  font-weight: 600; font-size: .9375rem; color: var(--ink); text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--leaf); color: var(--ink); }
.chip.is-active, .chip[aria-selected="true"], .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--link { font-weight: 500; }

/* Плашка цены как в брошюре: старая цена зачёркнута, новая крупно */
.price-pill { display: inline-flex; align-items: center; gap: 1.25em; margin: 0 0 1.25em; padding: .55em 1.5em .55em 1.25em; border-radius: var(--pill); background: var(--sage); color: var(--ink); }
.price-pill__old { font-size: 1.125rem; color: var(--ink-soft); text-decoration-thickness: 2px; }
.price-pill__new { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.price-pill--sm { padding: .35em 1.1em; gap: .8em; margin: 0; }
.price-pill--sm .price-pill__new { font-size: 1.2rem; }
.price-pill--sm .price-pill__old { font-size: .95rem; }

.checklist { list-style: none; display: grid; gap: .65em; margin: 0 0 1.5em; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; }
.checklist .icon { color: var(--leaf); margin-top: .18em; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(28, 36, 15, .5); }
.topbar { background: var(--night); color: #e7ebd2; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__addresses { list-style: none; display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__addresses li { display: flex; align-items: center; gap: .45em; }
.topbar__addresses .icon { color: var(--lime); width: 1em; height: 1em; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.topbar__a11y { display: inline-flex; align-items: center; gap: .45em; background: none; border: 0; color: inherit; padding: 8px 0; font-size: .875rem; }
.topbar__a11y:hover { color: var(--lime); }
.messengers { list-style: none; display: flex; gap: 8px; }
.messengers a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage-100); color: var(--olive); transition: background-color .2s, color .2s; }
.messengers a:hover { background: var(--olive); color: #fff; }
.messengers .icon { width: 20px; height: 20px; }
.messengers--small a { width: 32px; height: 32px; background: transparent; color: #e7ebd2; }
.messengers--small a:hover { background: rgba(255, 255, 255, .1); color: var(--lime); }
.messengers--footer a, .messengers--light a { background: rgba(255, 255, 255, .08); color: #fff; }
.messengers--footer a:hover, .messengers--light a:hover { background: var(--lime); color: var(--night); }

.navbar { position: relative; }
.navbar__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink-soft); flex: none; }
.logo img { width: auto; height: 56px; }
.logo__caption { font-size: .8125rem; line-height: 1.3; padding-left: 14px; border-left: 1px solid var(--line); }
.logo--small img { height: 44px; }
.logo--invert img { filter: invert(1) brightness(1.8); height: 72px; }
.mainnav { margin-left: auto; }
.mainnav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.mainnav__link { white-space: nowrap; display: inline-flex; align-items: center; gap: .3em; padding: 10px 12px; border-radius: var(--pill); font-weight: 600; font-size: .96875rem; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.mainnav__link:hover, .mainnav__link[aria-expanded="true"] { background: var(--sage-100); color: var(--ink); }
.mainnav__link.is-current { color: var(--olive); box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.mainnav__link .icon { transition: transform .2s; }
.mainnav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.navbar__actions { display: flex; align-items: center; gap: 14px; }
.navbar__phone { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; font-size: 1.0625rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.navbar__phone .icon { color: var(--leaf); }
.navbar__burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--sage-100); place-items: center; }
.navbar__burger .icon { width: 24px; height: 24px; }

/* Мегаменю */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - var(--header-h)); overflow: auto; animation: megaIn .22s var(--ease); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } }
.mega__inner { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding-top: 28px; padding-bottom: 36px; }
.mega__side { display: flex; flex-direction: column; gap: 14px; }
.mega__search { position: relative; display: block; }
.mega__search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.mega__search input { width: 100%; min-height: 48px; padding: 10px 14px 10px 44px; border: 1.5px solid var(--line); border-radius: var(--pill); background: var(--sage-50); }
.mega__search input:focus { border-color: var(--leaf); outline: none; background: #fff; }
.mega__cats { list-style: none; display: grid; gap: 2px; }
.mega__cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); text-decoration: none; }
.mega__cat:hover { background: var(--sage-50); color: var(--ink); }
.mega__cat.is-active { background: var(--sage-100); }
.mega__cat .icon { color: var(--ink-soft); }
.mega__all { font-weight: 600; padding: 4px 14px; }
.mega__panel-title { display: inline-flex; align-items: center; gap: .5em; font-size: 1.375rem; font-weight: 700; color: var(--ink); text-decoration: none; margin-bottom: 20px; letter-spacing: -.01em; }
.mega__grid { list-style: none; columns: 3 220px; column-gap: 32px; }
.mega__group { break-inside: avoid; margin-bottom: 18px; }
.mega__link { font-weight: 600; color: var(--ink); text-decoration: none; display: inline-block; padding: 2px 0; }
.mega__link:hover, .mega__sub a:hover { color: var(--olive); text-decoration: underline; }
.mega__sub { list-style: none; margin-top: 4px; display: grid; gap: 2px; }
.mega__sub a { color: var(--ink-soft); text-decoration: none; font-size: .9375rem; }
.mega__grid--results { columns: 2 260px; }
.mega__grid--results li { margin-bottom: 10px; break-inside: avoid; }
.mega__grid--results small { display: block; color: var(--ink-soft); font-size: .8125rem; }
mark { background: var(--lime); color: inherit; border-radius: 3px; padding: 0 2px; }

/* Мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 90; background: var(--white); display: flex; flex-direction: column; animation: drawerIn .25s var(--ease); }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__close { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--sage-100); display: grid; place-items: center; }
.drawer__body { flex: 1; overflow: auto; padding: 16px var(--gutter); }
.drawer__search { display: flex; margin-bottom: 12px; border: 1.5px solid var(--line); border-radius: var(--pill); overflow: hidden; }
.drawer__search input { flex: 1; border: 0; padding: 12px 16px; min-width: 0; background: transparent; }
.drawer__search button { border: 0; background: var(--olive); color: #fff; width: 52px; display: grid; place-items: center; }
.drawer__nav, .drawer__nav ul { list-style: none; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav a, .drawer__nav summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 600; color: var(--ink); text-decoration: none; list-style: none; cursor: pointer; min-height: 48px; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] > summary .icon { transform: rotate(180deg); }
.drawer__nav ul ul a, .drawer__nav ul summary { font-weight: 500; padding-left: 14px; }
.drawer__nav ul ul ul a { padding-left: 28px; color: var(--ink-soft); }
.drawer__all { color: var(--olive) !important; }
.drawer__foot { display: grid; gap: 10px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__a11y { display: inline-flex; justify-content: center; align-items: center; gap: .5em; background: none; border: 0; padding: 8px; color: var(--ink-soft); }

/* ---------- Главный баннер ---------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s .7s; }
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease); }
.hero__bg { position: absolute; inset: 0; background: url("../img/leaves.svg") center / cover no-repeat; opacity: .55; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(28, 36, 15, .92) 38%, rgba(28, 36, 15, .45) 70%, rgba(28, 36, 15, .2) 100%); }
.hero__slide--olive .hero__bg { opacity: .35; }
.hero__slide--olive { background: var(--olive-dark); }
.hero__slide--sage { background: var(--sage-100); color: var(--ink); }
.hero__slide--sage .hero__bg { opacity: .12; }
.hero__slide--sage .hero__bg::after { background: linear-gradient(90deg, var(--sage-100) 30%, rgba(236, 238, 224, .6)); }
.hero__slide--sage .hero__phone { color: var(--ink); }
.hero__slide--sage .pill--glass { background: var(--sage); color: var(--ink); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; min-height: clamp(520px, 72vh, 680px); padding-top: 56px; padding-bottom: 72px; }
.hero__title { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; margin: .45em 0 .35em; max-width: 15ch; }
.hero__text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); max-width: 50ch; opacity: .88; margin-bottom: 1.5em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__phone { display: inline-flex; align-items: center; gap: .5em; color: #fff; font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.hero__phone .icon { color: var(--lime); }
.hero__phone:hover { color: var(--lime); }
.hero__media { justify-self: center; width: 100%; max-width: 520px; }
.hero__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--leaf-shape); box-shadow: var(--shadow-lg); }
.hero__compass { color: #f4f6e8; width: 100%; }
.compass-art { width: 100%; }
.compass-art__needle { transform-origin: 200px 200px; animation: needleSettle 2.4s var(--ease) .3s both; }
@keyframes needleSettle { 0% { transform: rotate(-120deg); } 55% { transform: rotate(28deg); } 75% { transform: rotate(-10deg); } 100% { transform: rotate(18deg); } }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; align-items: center; gap: 16px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 44px; height: 44px; border: 0; background: none; padding: 0; display: grid; place-items: center; }
.hero__dot span { width: 36px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.hero__dot.is-active span::after { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: left; animation: dotFill var(--slide-time, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } }
.hero__pause { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; display: grid; place-items: center; }
.hero__pause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero.is-paused .hero__pause span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* Первая загрузка: один согласованный выход */
.hero__slide.is-active .hero__content > * { animation: rise .8s var(--ease) both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .24s; }
.hero__slide.is-active .hero__content > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Доверие */
.trust { background: var(--sage-50); border-bottom: 1px solid var(--line); }
.trust--plain { background: transparent; border: 0; }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-top: 24px; padding-bottom: 24px; }
.ratings { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.rating a, .rating { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; text-decoration: none; color: var(--ink); }
.rating__value { grid-row: span 2; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rating__stars { display: flex; gap: 1px; }
.rating__name { font-size: .875rem; color: var(--ink-soft); }
.ratings--compact { gap: 8px 20px; margin-top: 8px; }
.ratings--compact .rating__value { font-size: 1.375rem; }
.ratings--compact .rating__stars .icon { width: .85em; height: .85em; }
.trust__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.trust__facts li { display: flex; align-items: center; gap: .6em; font-weight: 600; font-size: .9375rem; max-width: 280px; line-height: 1.3; }
.trust__facts .icon { color: var(--leaf); width: 28px; height: 28px; }

/* ---------- Компас «Где болит?» ---------- */
.compass-section { background: var(--white); }
.compass-section__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px) minmax(0, 1fr); gap: 40px; align-items: center; }
.compass-tabs { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.compass { position: relative; aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: center; }
.compass__dial { position: absolute; inset: 14%; }
.compass__svg { width: 100%; height: 100%; }
.compass__ring-outer { fill: var(--sage-50); stroke: var(--line); stroke-width: 2; }
.compass__ring { fill: var(--white); stroke: var(--sage); stroke-width: 2; }
.compass__tick { stroke: var(--sage); stroke-width: 2; }
.compass__tick--major { stroke: var(--leaf); stroke-width: 3; }
.compass__needle { transform-origin: 200px 200px; transform: rotate(var(--angle, 0deg)); transition: transform 1.1s cubic-bezier(.3, 1.45, .45, 1); }
.compass__needle-n { fill: var(--olive); }
.compass__needle-s { fill: var(--sage); }
.compass__hub { fill: var(--lime); stroke: var(--ink); stroke-width: 3; }
.compass__zones { list-style: none; position: absolute; inset: 0; }
.compass__zones li { position: absolute; transform: translate(-50%, -50%); }
.compass__zone { white-space: nowrap; padding: 8px 14px; min-height: 40px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .875rem; box-shadow: var(--shadow); transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.compass__zone:hover { border-color: var(--leaf); }
.compass__zone.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.compass-results__panel { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.compass-results__title { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: .75em; }
.compass-results__list { list-style: none; display: grid; gap: 6px; margin-bottom: 20px; }
.compass-results__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--sage-50); color: var(--ink); text-decoration: none; font-weight: 600; transition: background-color .2s; }
.compass-results__list a:hover { background: var(--sage-100); }
.compass-results__list .icon { color: var(--leaf); }
.compass.is-kids { opacity: .35; pointer-events: none; }

/* ---------- Главное направление (грыжа) ---------- */
.spotlight { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: var(--section) 0; }
.spotlight__bg { position: absolute; inset: 0; background: url("../img/leaves.svg") right center / cover no-repeat; opacity: .35; }
.spotlight__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--night) 35%, rgba(28, 36, 15, .55)); }
.spotlight__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 56px; align-items: center; }
.spotlight__title { margin: .6em 0 .45em; max-width: 18ch; }
.spotlight__lead { font-size: 1.125rem; opacity: .88; max-width: 58ch; }
.spotlight__list { list-style: none; display: grid; gap: 12px; margin: 24px 0 32px; }
.spotlight__list li { display: flex; gap: .7em; }
.spotlight__list .icon { color: var(--lime); margin-top: .15em; }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.spotlight__card { background: var(--sage); color: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 6px; padding: 32px; box-shadow: var(--shadow-lg); }
.spotlight__card-label { font-weight: 600; color: var(--ink-soft); margin-bottom: .2em; }
.spotlight__card-price { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: .5em; }
.spotlight__card ul { list-style: none; display: grid; gap: 10px; }
.spotlight__card li { padding-left: 26px; position: relative; }
.spotlight__card li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 14px 2px 14px 2px; background: var(--olive); }

/* ---------- Направления ---------- */
.directions { background: var(--sage-50); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.direction-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.direction-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: border-color .2s, box-shadow .25s, transform .25s var(--ease); }
.direction-card:hover { border-color: var(--sage); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.direction-card__icon { width: 52px; height: 52px; border-radius: 16px 4px 16px 4px; background: var(--sage-100); color: var(--olive); display: grid; place-items: center; margin-bottom: 6px; }
.direction-card__icon .icon { width: 26px; height: 26px; }
.direction-card__title { font-weight: 700; font-size: 1.125rem; line-height: 1.25; }
.direction-card__text { color: var(--ink-soft); font-size: .9375rem; line-height: 1.45; }
.direction-card__count { margin-top: auto; padding-top: 8px; font-size: .875rem; color: var(--leaf); font-weight: 600; }

/* ---------- Маршрут лечения ---------- */
.route__steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: s; position: relative; }
.route__step { position: relative; padding-top: 72px; }
.route__step::before { content: ""; position: absolute; top: 27px; left: 56px; right: -24px; border-top: 2px dashed var(--sage); }
.route__step:last-child::before { display: none; }
.route__num { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--lime); font-weight: 800; font-size: 1.25rem; }
.route__title { font-size: 1.1875rem; margin-bottom: .35em; }
.route__step p { color: var(--ink-soft); margin: 0; }
.route--light { background: var(--sage-50); }

/* ---------- Врачи ---------- */
.scroller { position: relative; }
.doctor-list, .review-list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--sage) transparent; }
.doctor-list > li, .review-list > li { scroll-snap-align: start; }
.doctor-list { grid-auto-columns: minmax(250px, calc(25% - 15px)); }
.doctor-list--grid, .review-list--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); overflow: visible; }
.scroller__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.scroller__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.scroller__btn:hover { border-color: var(--ink); }
.doctor-card { display: flex; flex-direction: column; }
.doctor-card__photo { display: block; text-decoration: none; aspect-ratio: 4 / 5; border-radius: var(--leaf-shape); overflow: hidden; background: var(--sage-100); margin-bottom: 16px; }
.doctor-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.doctor-card:hover .doctor-card__photo img { transform: scale(1.04); }
.doctor-card__mono { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3.25rem; font-weight: 800; color: var(--olive); letter-spacing: -.03em; background: radial-gradient(circle at 30% 20%, var(--sage-50), var(--sage) 90%); }
.doctor-card__name { font-size: 1.125rem; margin-bottom: .25em; }
.doctor-card__name a { color: var(--ink); text-decoration: none; }
.doctor-card__name a:hover { color: var(--olive); text-decoration: underline; }
.doctor-card__pos { color: var(--ink-soft); font-size: .9375rem; line-height: 1.4; margin-bottom: .4em; }
.doctor-card__exp { font-size: .875rem; font-weight: 600; color: var(--leaf); margin-bottom: .8em; }
.doctor-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.doctor-card__body .btn { margin-top: auto; }

/* ---------- Отзывы ---------- */
.reviews-block { background: var(--sage-50); }
.review-list { grid-auto-columns: minmax(300px, calc(33.333% - 14px)); }
.review-card { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--white); height: 100%; }
.review-card__stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review-card__text { margin: 0 0 16px; flex: 1; }
.review-card__text p { margin: 0; }
.review-card__meta { display: flex; flex-direction: column; gap: 2px; margin: 0; font-size: .9375rem; }
.review-card__meta span { color: var(--ink-soft); font-size: .875rem; }

/* ---------- Акции ---------- */
.promo-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.promo-card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--sage-50); color: var(--ink); text-decoration: none; transition: box-shadow .25s; }
.promo-card__link:hover { box-shadow: var(--shadow); color: var(--ink); }
.promo-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.promo-card__art { display: block; aspect-ratio: 16 / 9; background: url("../img/leaves.svg") center / cover; }
.promo-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px 24px 26px; flex: 1; }
.promo-card__title { font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.promo-card__text { color: var(--ink-soft); font-size: .9375rem; }
.promo-card__date { font-size: .875rem; color: var(--ink-soft); margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--radius); background: var(--sage-50); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--white); display: grid; place-items: center; transition: transform .25s var(--ease), background-color .2s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--lime); }
.faq__a { padding: 0 24px 22px; color: var(--ink-soft); max-width: 70ch; }

/* ---------- Формы ---------- */
.lead-form { display: grid; gap: 14px; align-content: start; }
.lead-form__title { font-size: 1.375rem; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.lead-form__text { margin: 0; color: var(--ink-soft); }
.lead-form__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(126, 145, 38, .18); }
.field.has-error input, .consent.has-error input { border-color: var(--danger); }
.field__error { margin: 0; color: var(--danger); font-size: .875rem; font-weight: 500; }
.field__error:empty { display: none; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; font-size: .875rem; line-height: 1.45; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--olive); cursor: pointer; }
.consent label { cursor: pointer; }
.consent .field__error { grid-column: 2; }
.lead-form__note { margin: 0; text-align: center; font-size: .875rem; color: var(--ink-soft); }
.lead-form__success { padding: 28px; border-radius: var(--radius); background: var(--sage-100); color: var(--ink); text-align: center; font-weight: 600; font-size: 1.125rem; }
.lead-form__success::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat; }
.lead-form.is-sent > *:not(.lead-form__success) { display: none; }
.lead-form--dark { color: #fff; }
.lead-form--dark .field label { color: #fff; }
.lead-form--dark .field input, .lead-form--dark .field textarea { background: rgba(255, 255, 255, .96); color: var(--ink); border-color: transparent; }
.lead-form--dark .consent { color: rgba(255, 255, 255, .78); }
.lead-form--dark .consent a { color: var(--lime); }
.lead-form--dark .lead-form__note { color: rgba(255, 255, 255, .7); }
.lead-form--dark .field__error { color: #ffb4a8; }
.captcha-box:empty { display: none; }

/* Финальный CTA */
.cta-block__card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); gap: 48px; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: var(--night) url("../img/leaves.svg") right center / 60% auto no-repeat; color: #fff; position: relative; overflow: hidden; }
.cta-block__card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 40%, rgba(28, 36, 15, .82)); }
.cta-block__card > * { position: relative; }
.cta-block__text p { opacity: .85; font-size: 1.0625rem; max-width: 48ch; }
.cta-block__contacts { list-style: none; display: grid; gap: 10px; margin: 24px 0; }
.cta-block__contacts li { display: flex; gap: .6em; align-items: center; }
.cta-block__contacts .icon { color: var(--lime); }
.cta-block__contacts a { color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; }

/* Карта */
.map-block { padding: 0 0 var(--section); }
.map-block__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: stretch; }
.map-block__list { list-style: none; display: grid; gap: 16px; }
.map-addr { padding: 22px; border-radius: var(--radius); background: var(--sage-50); }
.map-addr__street { display: flex; gap: .5em; font-weight: 700; font-size: 1.125rem; margin-bottom: .3em; }
.map-addr__street .icon { color: var(--leaf); margin-top: .2em; }
.map-addr__hours, .map-addr__note { color: var(--ink-soft); margin-bottom: .5em; }
.map-block__map { min-height: 400px; border-radius: var(--radius-lg); overflow: hidden; background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cpath d='M0 40h80M40 0v80' stroke='%23d9dcc4' stroke-width='1'/%3E%3C/svg%3E"); display: grid; place-items: center; }
.map-block__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; }
.map-block__load { display: inline-flex; align-items: center; gap: .5em; padding: 14px 22px; border: 0; border-radius: var(--pill); background: var(--white); font-weight: 600; box-shadow: var(--shadow); }

/* ---------- Подвал ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .78); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .9375rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__slogan { max-width: 30ch; margin: 0; }
.footer__phone { font-size: 1.5rem; font-weight: 800; color: #fff !important; letter-spacing: -.01em; }
.footer__title { font-weight: 700; color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer__title a { color: #fff; }
.footer__title--spaced { margin-top: 28px; }
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__addr span { color: rgba(255, 255, 255, .6); font-size: .875rem; }
.footer__warning { margin: 28px 0; padding: 14px 20px; border: 1.5px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm); font-weight: 700; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); color: #fff; text-align: center; text-transform: none; }
.footer__legal { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 24px 40px; align-items: start; font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.footer__req p { margin-bottom: .4em; }
.footer__docs { list-style: none; display: grid; gap: 6px; }
.footer__docs .linklike { color: rgba(255, 255, 255, .85); text-decoration: none; font-size: inherit; }
.footer__docs .linklike:hover { color: var(--lime); }
.dev-link { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: .8125rem; }
.dev-link img { width: 150px; height: auto; }

/* Мобильная панель записи */
.mobile-cta { display: none; }

/* ---------- Модальное окно ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(28, 36, 15, .6); backdrop-filter: blur(3px); animation: fadeIn .25s; }
.modal__box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sage-100); display: grid; place-items: center; }
.modal__title { font-size: 1.625rem; padding-right: 44px; }
.modal__text { color: var(--ink-soft); }
body.is-locked { overflow: hidden; }

/* Cookie */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 80; max-width: 460px; padding: 20px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: .9375rem; animation: modalIn .35s var(--ease); }
.cookie__text { margin-bottom: 14px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Страница услуги ---------- */
.breadcrumbs { padding: 18px 0 8px; font-size: .875rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 5px 1px 5px 1px; background: var(--leaf); }
.breadcrumbs a { color: var(--ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--olive); text-decoration: underline; }

.svc-hero { position: relative; background: var(--sage-50); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.svc-hero--dark { background: var(--night); color: #fff; }
.svc-hero__bg { position: absolute; inset: 0; background: url("../img/leaves.svg") right center / cover no-repeat; opacity: .45; }
.svc-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--night) 40%, rgba(28, 36, 15, .55)); }
.svc-hero > .container { position: relative; }
.svc-hero--dark .breadcrumbs li, .svc-hero--dark .breadcrumbs a { color: rgba(255, 255, 255, .7); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .85fr); gap: 48px; align-items: start; padding-top: clamp(16px, 3vw, 40px); }
.svc-hero__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; margin-bottom: .4em; }
.svc-hero__lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--ink-soft); max-width: 58ch; }
.svc-hero--dark .svc-hero__lead { color: rgba(255, 255, 255, .85); }
.svc-hero--dark .checklist .icon { color: var(--lime); }
.checklist--hero { font-weight: 500; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 28px; }
.svc-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; }
.svc-hero__price { display: flex; flex-direction: column; margin: 0; }
.svc-hero__price span { font-size: .875rem; color: var(--ink-soft); }
.svc-hero--dark .svc-hero__price span, .svc-hero--dark .rating__name { color: rgba(255, 255, 255, .7); }
.svc-hero--dark .rating a, .svc-hero--dark .rating { color: #fff; }
.svc-hero__price b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; }
.svc-hero__img { width: 100%; aspect-ratio: 9 / 10; object-fit: cover; border-radius: var(--leaf-shape); margin-bottom: -40px; box-shadow: var(--shadow-lg); }
.offer-card { position: relative; background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.svc-hero__img + .offer-card { margin: 0 24px; }
.offer-card__label { display: inline-flex; gap: .4em; align-items: center; font-size: .875rem; font-weight: 600; color: var(--leaf); margin-bottom: .5em; }
.offer-card__title { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin-bottom: .5em; }
.offer-card__text { color: var(--ink-soft); font-size: .9375rem; }
.offer-card .price-pill { margin-bottom: 16px; }

.symptoms__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 40px; align-items: start; }
.symptom-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.symptom-list li { display: flex; gap: .7em; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--sage-50); font-weight: 500; line-height: 1.4; }
.symptom-list .icon { margin-top: .1em; }
.symptoms__cta { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; border-radius: var(--radius-lg) var(--radius-lg) 6px var(--radius-lg); background: var(--ink); color: #fff; }
.symptoms__cta-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .3em; }
.symptoms__cta p { opacity: .85; }
.symptoms__phone { display: block; margin-top: 14px; color: #fff; font-weight: 700; font-size: 1.125rem; text-decoration: none; }
.symptoms__phone:hover { color: var(--lime); }

.about-svc { background: var(--white); }
.about-svc__head { max-width: 860px; margin-bottom: 32px; }
.method-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; counter-reset: m; }
.method-card { padding: 26px; border-radius: var(--radius); border: 1.5px solid var(--line); }
.method-card__title { font-size: 1.125rem; margin-bottom: .4em; }
.method-card__title a { color: var(--ink); }
.method-card p { margin: 0; color: var(--ink-soft); font-size: .96875rem; }

.children { background: var(--sage-50); }
.child-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.child-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 24px; border-radius: var(--radius); background: var(--white); color: var(--ink); text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease); }
.child-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.child-card__title { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.child-card__text { color: var(--ink-soft); font-size: .9375rem; line-height: 1.45; }
.child-card__foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; color: var(--olive); }

.benefit-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 24px; }
.benefit__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px 4px 18px 4px; background: var(--sage-100); color: var(--olive); margin-bottom: 14px; }
.benefit__icon .icon { width: 28px; height: 28px; }
.benefit__title { font-size: 1.125rem; margin-bottom: .35em; }
.benefit p { color: var(--ink-soft); margin: 0; }

.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1.5px solid var(--line); }
.compare__table th, .compare__table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare__table tr:last-child th, .compare__table tr:last-child td { border-bottom: 0; }
.compare__table thead th { font-size: 1.0625rem; background: var(--sage-50); }
.compare__table tbody th { font-weight: 600; width: 30%; }
.compare__table .is-ours { background: rgba(198, 211, 75, .16); font-weight: 600; }
.compare__table thead .is-ours { background: var(--ink); color: var(--lime); }
.compare__note, .chart-block__note { margin-top: 12px; font-size: .875rem; color: var(--ink-soft); }

.chart-block { background: var(--sage-50); }
.chart-block__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.chart { margin: 0; padding: 24px; border-radius: var(--radius-lg); background: var(--white); }
.chart svg { width: 100%; overflow: visible; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__axis { fill: var(--ink-soft); font-size: 13px; font-family: var(--font); }
.chart__area { fill: rgba(126, 145, 38, .12); opacity: 0; transition: opacity 1s .6s; }
.chart__line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart__dot { opacity: 0; stroke: #fff; stroke-width: 2; }
.chart.is-visible .chart__line { animation: draw 1.6s var(--ease) var(--delay, 0s) forwards; }
.chart.is-visible .chart__area { opacity: 1; }
.chart.is-visible .chart__dot { animation: fadeIn .4s calc(.3s + var(--i) * .12s) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.chart__caption { font-size: .875rem; color: var(--ink-soft); margin-top: 8px; }
.chart-legend { list-style: none; display: grid; gap: 8px; margin: 16px 0; }
.chart-legend li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.chart-legend span { width: 28px; height: 4px; border-radius: 2px; }

.price-table { display: grid; }
.price-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row__name { font-weight: 500; }
.price-row__note { display: block; color: var(--ink-soft); font-size: .875rem; font-weight: 400; }
.price-row__value { text-align: right; white-space: nowrap; }
.price-row__value s { color: var(--ink-soft); margin-right: 8px; font-size: .9375rem; }
.price-row__value b { font-size: 1.125rem; font-weight: 700; }
.price-row__unit { display: block; font-size: .8125rem; color: var(--ink-soft); }
.price-row__btn { display: inline-flex; align-items: center; gap: .4em; min-height: 40px; padding: 6px 14px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white); font-size: .875rem; font-weight: 600; color: var(--olive); }
.price-row__btn:hover { border-color: var(--olive); }
.prices-block__note { margin-top: 16px; font-size: .875rem; color: var(--ink-soft); }
.price-group { margin-bottom: 14px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--line); padding: 0 24px; }
.price-group__title { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 700; font-size: 1.1875rem; cursor: pointer; list-style: none; }
.price-group__title::-webkit-details-marker { display: none; }
.price-group[open] .price-group__title .icon { transform: rotate(180deg); }
.price-group .price-row:last-child { border-bottom: 0; }

.seo-text .prose[data-collapsible].is-collapsed { max-height: 520px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.seo-text__more { margin-top: 12px; }
.seo-text__reviewed { display: flex; gap: .5em; align-items: center; flex-wrap: wrap; margin-top: 28px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sage-50); font-size: .9375rem; color: var(--ink-soft); }
.seo-text__reviewed .icon { color: var(--leaf); }
.related__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.related { padding-top: 0; }

/* Текст из редактора */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 1.6em 0 .55em; }
.prose h3 { font-size: 1.3rem; margin: 1.5em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--leaf); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .96875rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--sage-50); }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--leaf); background: var(--sage-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose img { border-radius: var(--radius); margin: 1.2em 0; }
.prose--lead { font-size: 1.125rem; }

/* Внутренние страницы */
.page-hero { background: var(--sage-50); padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero--compact { padding-bottom: 24px; }
.page-hero__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -.03em; margin: .3em 0 .3em; }
.page-hero__lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 62ch; }
.page-updated { color: var(--ink-soft); font-size: .875rem; margin-top: 2em; }
.catalog-search { position: relative; display: flex; align-items: center; max-width: 640px; margin-top: 20px; }
.catalog-search > .icon { position: absolute; left: 18px; color: var(--ink-soft); }
.catalog-search input { width: 100%; min-height: 56px; padding: 12px 18px 12px 50px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white); }
.catalog-search input:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(126, 145, 38, .18); }
.catalog-search--form { gap: 8px; }
.catalog-search--form input { flex: 1; }
.catalog { columns: 3 320px; column-gap: 24px; }
.catalog > .container { columns: inherit; column-gap: inherit; }
.catalog-group { break-inside: avoid; margin-bottom: 24px; padding: 26px; border-radius: var(--radius); background: var(--sage-50); }
.catalog-group__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.catalog-group__head .h3 { margin: 0; font-size: 1.1875rem; }
.catalog-group__head a { color: var(--ink); text-decoration: none; }
.catalog-group__head a:hover { color: var(--olive); text-decoration: underline; }
.catalog-group__icon { width: 44px; height: 44px; flex: none; border-radius: 14px 4px 14px 4px; background: var(--white); color: var(--olive); display: grid; place-items: center; }
.catalog-group__list, .catalog-group__list ul { list-style: none; display: grid; gap: 6px; }
.catalog-group__list > li > a { font-weight: 600; color: var(--ink); text-decoration: none; }
.catalog-group__list ul { margin: 4px 0 6px 14px; }
.catalog-group__list ul a { color: var(--ink-soft); text-decoration: none; font-size: .9375rem; }
.catalog-group__list a:hover { color: var(--olive); text-decoration: underline; }
.catalog__empty { column-span: all; }

.doctor-hero { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 48px; align-items: center; padding-top: 16px; }
.doctor-hero__photo { aspect-ratio: 4 / 5; border-radius: var(--leaf-shape); overflow: hidden; background: var(--sage-100); }
.doctor-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-hero__pos { font-size: 1.1875rem; color: var(--ink-soft); }
.doctor-hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.doctor-hero__facts li { padding: 6px 14px; border-radius: var(--pill); background: var(--sage); font-weight: 600; font-size: .9375rem; }
.doctor-hero__lead { font-size: 1.0625rem; max-width: 60ch; }

.doc-list { list-style: none; display: grid; gap: 8px; margin-bottom: 36px; }
.doc { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--sage-50); color: var(--ink); text-decoration: none; transition: background-color .2s; }
a.doc:hover { background: var(--sage-100); color: var(--ink); }
.doc__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--white); color: var(--olive); display: grid; place-items: center; }
.doc__title { flex: 1; font-weight: 500; }
.doc__ext { font-size: .75rem; font-weight: 700; color: var(--ink-soft); padding: 3px 8px; border-radius: 6px; background: var(--white); }

.contacts-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 12px; }
.contacts-top__phone { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.article-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.article-card a { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.article-card img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.article-card__title { font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.article-card__text { color: var(--ink-soft); font-size: .9375rem; }
.article-card__meta, .article-meta { color: var(--ink-soft); font-size: .875rem; }
.article-service { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--sage-50); }
.rounded-img { border-radius: var(--radius-lg); margin-bottom: 28px; width: 100%; }
.search-results { list-style: none; display: grid; gap: 10px; }
.search-results a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: var(--radius-sm); background: var(--sage-50); color: var(--ink); text-decoration: none; }
.search-results__kind { font-size: .8125rem; color: var(--leaf); font-weight: 600; }
.search-results span:last-child:not(.search-results__kind) { color: var(--ink-soft); font-size: .9375rem; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); background: #fff4e5; }
.promo-until { font-weight: 600; color: var(--olive); }
.error-page__code { font-size: clamp(5rem, 4rem + 6vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--sage); margin: 32px 0 0; }

/* ---------- Квиз ---------- */
.quiz-section { background: var(--sage-50); }
.quiz { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow); }
.quiz__aside p { color: var(--ink-soft); }
.quiz__gifts { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.quiz__gifts li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--sage-50); font-weight: 600; line-height: 1.35; }
.quiz__gifts .icon { color: var(--olive); width: 28px; height: 28px; }
.quiz__progress { height: 6px; border-radius: 3px; background: var(--sage-100); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; background: var(--leaf); border-radius: 3px; transition: width .4s var(--ease); }
.quiz__counter { font-size: .875rem; color: var(--ink-soft); margin: 10px 0 18px; }
.quiz__step { border: 0; padding: 0; margin: 0; animation: fadeIn .35s var(--ease); }
.quiz__q { font-size: 1.375rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; padding: 0; }
.quiz__options { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.quiz__opt { position: relative; display: flex; align-items: center; min-height: 56px; padding: 12px 16px 12px 50px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); cursor: pointer; font-weight: 500; transition: border-color .2s, background-color .2s; }
.quiz__opt::before { content: ""; position: absolute; left: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--sage); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.quiz__opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quiz__opt:hover { border-color: var(--leaf); }
.quiz__opt:has(input:checked) { border-color: var(--olive); background: var(--sage-50); }
.quiz__opt:has(input:checked)::before { border-color: var(--olive); box-shadow: inset 0 0 0 4px var(--white); background: var(--olive); }
.quiz__opt:has(input:focus-visible) { outline: 3px solid var(--leaf); outline-offset: 2px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.quiz__nav .btn:only-child { margin-left: auto; }
.quiz__final-text { color: var(--ink-soft); }
.quiz__body .lead-form__fields { margin-bottom: 14px; }
.quiz__body .consent { margin-bottom: 8px; }
.quiz__body.is-sent > *:not(.lead-form__success) { display: none; }

/* ---------- Версия для слабовидящих ---------- */
.a11y-panel { background: #fff; border-bottom: 2px solid #000; position: relative; z-index: 70; }
.a11y-panel__inner { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.a11y-group { display: flex; align-items: center; gap: 6px; }
.a11y-group__label { font-weight: 700; margin-right: 4px; }
.a11y-group button, .a11y-off { min-width: 44px; min-height: 44px; padding: 6px 12px; border: 2px solid #000; background: #fff; color: #000; font-weight: 700; border-radius: 8px; }
.a11y-group button.is-active { outline: 3px solid #000; outline-offset: 2px; }
.a11y-size-2 { font-size: 1.25rem; }
.a11y-size-3 { font-size: 1.5rem; }
.a11y-scheme--wb { background: #000 !important; color: #fff !important; }
.a11y-scheme--blue { background: #9dd1ff !important; color: #063462 !important; }
.a11y-scheme--brown { background: #f7f3d6 !important; color: #4d4b43 !important; }
.a11y-off { margin-left: auto; }

html[data-a11y="1"] { --radius-lg: 8px; --radius: 8px; --radius-sm: 6px; --leaf-shape: 8px; --shadow: none; --shadow-lg: none; }
html[data-a11y="1"][data-size="1"] { font-size: 112.5%; }
html[data-a11y="1"][data-size="2"] { font-size: 137.5%; }
html[data-a11y="1"][data-size="3"] { font-size: 162.5%; }
html[data-a11y="1"][data-spacing="2"] body { letter-spacing: .12em; word-spacing: .2em; line-height: 1.9; }
html[data-a11y="1"] body *, html[data-a11y="1"] body *::before, html[data-a11y="1"] body *::after { animation: none !important; transition: none !important; text-shadow: none !important; box-shadow: none !important; backdrop-filter: none !important; }
html[data-a11y="1"][data-img="off"] img:not(.logo img):not(.dev-link img), html[data-a11y="1"][data-img="off"] .hero__bg, html[data-a11y="1"][data-img="off"] .spotlight__bg, html[data-a11y="1"][data-img="off"] .svc-hero__bg { display: none !important; }
html[data-a11y="1"] .hero__bg, html[data-a11y="1"] .spotlight__bg, html[data-a11y="1"] .svc-hero__bg, html[data-a11y="1"] .hero__compass, html[data-a11y="1"] .compass__dial, html[data-a11y="1"] .promo-card__art { display: none; }
html[data-a11y="1"] .compass { aspect-ratio: auto; }
html[data-a11y="1"] .compass__zones { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
html[data-a11y="1"] .compass__zones li { position: static; transform: none; width: auto; height: auto; }
html[data-a11y="1"] .cta-block__card { background-image: none; }
html[data-a11y="1"] .cta-block__card::before { display: none; }

/* Схемы: все поверхности и текст переводятся в два цвета */
html[data-a11y="1"][data-scheme="bw"] { --a-bg: #fff; --a-fg: #000; }
html[data-a11y="1"][data-scheme="wb"] { --a-bg: #000; --a-fg: #fff; }
html[data-a11y="1"][data-scheme="blue"] { --a-bg: #9dd1ff; --a-fg: #063462; }
html[data-a11y="1"][data-scheme="brown"] { --a-bg: #f7f3d6; --a-fg: #4d4b43; }
html[data-a11y="1"] body, html[data-a11y="1"] body *:not(svg):not(svg *):not(img):not(.a11y-panel *) { background-color: var(--a-bg) !important; color: var(--a-fg) !important; border-color: var(--a-fg) !important; }
html[data-a11y="1"] body { background-image: none !important; }
html[data-a11y="1"] .btn, html[data-a11y="1"] .chip, html[data-a11y="1"] .compass__zone, html[data-a11y="1"] input, html[data-a11y="1"] textarea { border: 2px solid var(--a-fg) !important; }
html[data-a11y="1"] .chip.is-active, html[data-a11y="1"] .compass__zone.is-active, html[data-a11y="1"] .btn--primary, html[data-a11y="1"] .btn--lime { background-color: var(--a-fg) !important; color: var(--a-bg) !important; }
html[data-a11y="1"] .btn--primary *, html[data-a11y="1"] .btn--lime * { color: var(--a-bg) !important; background: transparent !important; }
html[data-a11y="1"] a { text-decoration: underline !important; }
html[data-a11y="1"] svg { color: var(--a-fg); }
html[data-a11y="1"][data-scheme="wb"] .logo img { filter: invert(1); }
html[data-a11y="1"] .site-footer .logo--invert img { filter: none; }
html[data-a11y="1"][data-scheme="wb"] .site-footer .logo--invert img { filter: invert(1); }
html[data-a11y="1"] .icon--star { color: var(--a-fg); }
html[data-a11y="1"] .hero__inner { min-height: 0; }

/* ---------- Анимация появления при прокрутке (одна, спокойная) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .chart__line { stroke-dashoffset: 0; }
  .chart__dot, .chart__area { opacity: 1; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .logo__caption { display: none; }
  .mainnav__link { padding: 10px 9px; font-size: .9375rem; }
  .navbar__phone span { display: none; }
  .navbar__phone { width: 48px; height: 48px; border-radius: 50%; background: var(--sage-100); justify-content: center; }
}
@media (max-width: 1080px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .mainnav, .mega { display: none !important; }
  .navbar__burger { display: grid; }
  .navbar__inner { min-height: 72px; gap: 12px; }
  .navbar__actions { margin-left: auto; }
  .logo img { height: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__legal { grid-template-columns: 1fr 1fr; }
  .compass-section__inner { grid-template-columns: 1fr 1fr; }
  .compass-section__intro { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero__inner, .spotlight__inner, .svc-hero__grid, .symptoms__grid, .cta-block__card, .map-block__inner, .chart-block__grid, .quiz, .doctor-hero { grid-template-columns: 1fr; }
  .hero__inner { min-height: 0; padding-top: 40px; padding-bottom: 88px; gap: 24px; }
  .hero__media { max-width: 300px; order: -1; justify-self: start; }
  .hero__compass { display: none; }
  .hero__media:has(.hero__compass) { display: none; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(28, 36, 15, .55), var(--night) 55%); }
  .compass-section__inner { grid-template-columns: 1fr; }
  .compass { max-width: 380px; }
  .svc-hero__img { margin-bottom: 0; }
  .symptoms__cta { position: static; }
  .route__step::before { display: none; }
  .doctor-list { grid-auto-columns: minmax(230px, 70%); }
  .review-list { grid-auto-columns: minmax(270px, 86%); }
  .footer__legal { grid-template-columns: 1fr; }
  .doctor-hero__photo { max-width: 320px; }
}
@media (max-width: 640px) {
  :root { --fs-base: 1rem; }
  .navbar__cta { display: none; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -8px 24px -12px rgba(28, 36, 15, .4); transition: transform .3s var(--ease); }
  .mobile-cta.is-hidden { transform: translateY(110%); }
  .mobile-cta__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border: 0; border-radius: var(--radius-sm); background: var(--sage-100); color: var(--ink); font-size: .75rem; font-weight: 600; text-decoration: none; }
  .mobile-cta__btn--main { background: var(--olive); color: #fff; font-size: .875rem; }
  .mobile-cta__btn .icon { width: 20px; height: 20px; }
  body { padding-bottom: 76px; }
  .cookie { left: 8px; right: 8px; bottom: 84px; max-width: none; }
  .footer__top { grid-template-columns: 1fr; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-row__btn { grid-column: 1 / -1; justify-self: start; }
  .compass__zone { font-size: .8125rem; padding: 6px 10px; min-height: 36px; }
  .compass__dial { inset: 18%; }
  .hero__controls { bottom: 12px; }
  .section__head--row { align-items: flex-start; }
  .trust__inner { flex-direction: column; align-items: flex-start; }
  .quiz__nav { flex-wrap: wrap; }
  .a11y-off { margin-left: 0; }
  .direction-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .direction-card { padding: 16px; }
  .direction-card__text { display: none; }
  .direction-card__title { font-size: 1rem; }
  .direction-card__icon { width: 44px; height: 44px; }
  .child-grid, .method-grid, .symptom-list { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .mobile-cta, .cookie, .modal, .hero__controls, .cta-block, .map-block { display: none !important; }
  body { color: #000; }
}
