/* Рядом — v2 «премиум». Manrope + Playfair Display (курсив-акцент). Тёплый белый + один свежий мятный акцент.
   Полноэкранное фото, крупная типографика, 3D-зуб из кода (fx.js), закреплённая история «Как дойти». Меньше коробок, больше воздуха. */
:root {
  --bg: #f7f4ed;
  --bg-2: #efe9dd;
  --paper: #fff;
  --ink: #0e2523;
  --ink-2: #2b4340;
  --muted: #566865;
  --hair: rgba(14, 37, 35, .14);
  --acc: #35d99a;
  --acc-hi: #62e8b4;
  --acc-d: #0a7a55;
  --acc-soft: #dff6ea;
  --dark: #0a1f1d;
  --ok: #17a56b;
  --f-sans: "Manrope", "Manrope Fb", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Playfair Display", "Playfair Fb", Georgia, "Times New Roman", serif;
  --gut: 20px;
  --hm: 18px;
  --edge: 12px;
  --head-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --expo: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 30px 70px -40px rgba(14, 37, 35, .45);
}
html.lv {
  --bg: #fff; --bg-2: #fff; --paper: #fff; --ink: #000; --ink-2: #000; --muted: #000; --hair: #000;
  --acc: #fff; --acc-hi: #fff; --acc-d: #000; --acc-soft: #fff; --dark: #000; --ok: #0a6b3d;
  font-size: 125%;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 1.0625rem; line-height: 1.6; font-weight: 400;
  overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 104px;
}
img, svg { max-width: 100%; }
img { display: block; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; font-weight: 700; letter-spacing: -.03em; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: -.02em; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 10px; box-shadow: 0 0 0 5px var(--acc); }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
[id] { scroll-margin-top: var(--head-h); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 8px; }

/* ---------- кнопки ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.15; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--expo), box-shadow .35s, background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--expo); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 1.05rem; }
.btn--acc { background: var(--acc); color: var(--ink); }
.btn--acc:hover { background: var(--acc-hi); box-shadow: 0 16px 36px -12px rgba(53, 217, 154, .75); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #1b4a44; box-shadow: 0 14px 30px -14px rgba(14, 37, 35, .7); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--hair); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); }
.btn--glass { background: rgba(255, 255, 255, .55); color: var(--ink); border-color: rgba(255, 255, 255, .8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.btn--glass:hover { background: #fff; box-shadow: 0 14px 30px -16px rgba(14, 37, 35, .5); }
.btn--block { width: 100%; }
.btn[data-magnetic] { transition: transform .35s var(--ease), box-shadow .35s, background-color .25s; }
html.lv .btn { border: 2px solid #000; }
html.lv .btn--ink { color: #fff; }

/* ---------- шапка: стеклянная «пилюля» ---------- */
.site-head { position: sticky; top: -12px; height: 0; z-index: 50; }
.head-row {
  position: absolute; top: 22px; left: var(--hm); right: var(--hm); margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 14px;
  padding: 7px 8px 7px 16px; border-radius: 28px;
  background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: 0 14px 44px -22px rgba(14, 37, 35, .45); transition: background-color .35s, box-shadow .35s;
}
.site-head.is-stuck .head-row { background: rgba(255, 255, 255, .88); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 46px; flex: none; white-space: nowrap; }
.brand__mark { width: 38px; height: 38px; flex: none; overflow: visible; transition: transform .6s var(--expo); }
.brand:hover .brand__mark { transform: rotate(-10deg) scale(1.06); }
.bm-bg { fill: var(--ink); }
.bm-house { fill: var(--acc); }
.bm-dot { fill: var(--ink); }
html.lv .bm-house { fill: #fff; }
html.lv .bm-bg { stroke: #000; stroke-width: 2; }
.brand__text { display: grid; line-height: 1.05; }
.brand__text b { font-weight: 800; font-size: 1.45rem; letter-spacing: -.045em; }
.brand__text small { display: none; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav { order: 3; width: 100%; display: flex; gap: 2px; overflow-x: auto; padding: 0 0 4px; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: 999px; transition: background-color .25s, color .25s; }
.nav a:hover { background: rgba(14, 37, 35, .07); }
.nav a.is-on { background: var(--acc-soft); }
.head-actions { display: flex; align-items: center; gap: 8px; }
.head-phone { display: none; align-items: center; min-height: 44px; padding: 0 10px; font-weight: 700; font-size: 1rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.head-phone:hover { text-decoration: underline; }
.lv-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--hair); background: rgba(255, 255, 255, .7); font-weight: 600; font-size: .9rem; transition: background-color .2s, border-color .2s; }
.lv-toggle:hover { background: #fff; border-color: var(--ink); }
.lv-toggle svg { width: 22px; height: 22px; flex: none; }
.lv-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lv-toggle[aria-pressed="true"] { background: var(--ink); color: #fff; }
.head-cta { min-height: 44px; padding: 0 20px; font-size: .95rem; }
html.lv .lv-toggle { border: 2px solid #000; }

/* ---------- заголовки блоков ---------- */
.block { padding: 84px 0; position: relative; }
.block__head { max-width: 50rem; margin-bottom: 44px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--acc-d); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px rgba(53, 217, 154, .25); }
.block h2 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.block h2 em { color: var(--acc-d); font-weight: 500; }
.block__lede { margin-top: 22px; font-size: 1.2rem; line-height: 1.55; max-width: 38rem; color: var(--ink-2); }
html.lv .block__lede, html.lv .block h2 em { color: #000; }

/* маска строк заголовков (app.js разбивает на слова) */
.ln { display: inline-block; overflow: hidden; vertical-align: top; padding: .05em .08em .16em; margin: -.05em -.08em -.16em; }
.ln__in { display: inline-block; will-change: transform; }
.ml-ready [data-reveal] .ln__in { transition: transform 1.15s var(--expo); }
.ml-ready [data-reveal]:not(.is-in) .ln__in { transform: translateY(115%); }
.ml-ready .block__head[data-reveal]:not(.is-in) { opacity: 1; transform: none; }
.ml-ready .block__head[data-reveal] > :not(h2) { transition: opacity .9s .25s var(--ease), transform 1s .25s var(--expo); }
.ml-ready .block__head[data-reveal]:not(.is-in) > :not(h2) { opacity: 0; transform: translateY(22px); }
.ml-ready [data-reveal="media"] img { transition: clip-path 1.5s var(--expo), transform 1.9s var(--expo); }
.ml-ready [data-reveal="media"]:not(.is-in) img { clip-path: inset(0 0 100% 0); transform: scale(1.18); }
.ml-ready [data-reveal="media"].is-in img { clip-path: inset(0 0 0 0); }
.ml-ready .clinic__photos[data-reveal="media"]:not(.is-in) { transform: none; }
html.lv .ln__in { transform: none !important; transition: none !important; }

/* ---------- 1. первый экран ---------- */
.hero { padding: var(--edge) var(--edge) 0; }
.hero__stage {
  position: relative; isolation: isolate; border-radius: 34px; overflow: hidden; background: var(--bg-2);
  display: flex; align-items: flex-end; min-height: 700px; min-height: max(660px, calc(100svh - 34px - 2 * var(--edge)));
}
.hero__photo { position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: 70%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 12%, #000 34%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .55) 12%, #000 34%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; transform-origin: 70% 30%; will-change: transform; }
.hero__shade { position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(239, 233, 221, .96) 0, rgba(239, 233, 221, .72) 26%, rgba(239, 233, 221, 0) 58%), linear-gradient(180deg, rgba(247, 244, 237, .35) 0, rgba(247, 244, 237, 0) 22%); }
.hero__copy { position: relative; z-index: 3; width: min(100%, 62rem); padding: 120px clamp(22px, 4.2vw, 64px) clamp(30px, 5.5vh, 60px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 12px; border-radius: 999px; line-height: 1.25; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 600; font-size: .92rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); flex: none; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 165, 107, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(23, 165, 107, 0); } }
.hero h1 { margin-top: 24px; font-size: clamp(2.7rem, 8.6vw, 8.6rem); line-height: .94; letter-spacing: -.05em; font-weight: 800; }
.hero h1 .ln { display: block; width: fit-content; }
.hero h1 em { position: relative; z-index: 0; font-weight: 500; letter-spacing: -.03em; padding-right: .04em; }
.hero h1 em::before { content: ""; position: absolute; z-index: -1; left: -.02em; right: .0em; bottom: .2em; height: .26em; background: var(--acc); border-radius: .05em; transform-origin: left; animation: mark 1.1s .9s var(--expo) both; }
@keyframes mark { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.h1__tail { display: block; margin-top: .42em; font-size: clamp(1.1rem, 1.9vw, 1.7rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--ink-2); }
.lede { margin-top: 20px; max-width: 33rem; font-size: 1.12rem; line-height: 1.55; color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__orb { position: absolute; z-index: 2; right: clamp(26px, 6.5vw, 110px); bottom: clamp(34px, 8vh, 90px); width: clamp(200px, 23vw, 350px); height: clamp(200px, 23vw, 350px); }
.hero__disc { position: absolute; inset: 0; border-radius: 50%; background: var(--acc); box-shadow: 0 40px 90px -40px rgba(10, 122, 85, .7); }
.tooth3d { position: absolute; inset: -22%; }
.tooth3d canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .7s ease; }
.tooth-poster { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; transition: opacity .7s ease .1s; }
.tooth3d.is-3d canvas { opacity: 1; }
.tooth3d.is-3d .tooth-poster { opacity: 0; }
.tooth3d.is-fallback canvas { display: none; }

.hero__next { position: absolute; z-index: 4; top: 112px; right: clamp(20px, 3vw, 44px); width: min(372px, 30vw); display: grid; gap: 10px; }
.glass { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 24px; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .85); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 22px 54px -26px rgba(14, 37, 35, .55); transition: transform .5s var(--expo), background-color .3s, box-shadow .3s; }
.glass:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .92); box-shadow: 0 30px 60px -26px rgba(14, 37, 35, .55); }
.glass:active { transform: scale(.98); }
.glass small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.glass b { display: block; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.glass--main { padding: 18px 20px; }
.glass__ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); }
.glass__ic svg { width: 24px; height: 24px; }
.glass__t { flex: 1; display: grid; gap: 1px; min-width: 0; font-size: 1rem; }
.glass__t b { font-size: 1.3rem; }
.glass__t > span { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .98rem; }
.glass__go { flex: none; width: 26px; height: 26px; transition: transform .5s var(--expo); }
.glass:hover .glass__go { transform: translate(3px, -3px); }
.hero__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.glass--pill { display: grid; gap: 2px; align-content: center; padding: 13px 16px; border-radius: 20px; }
.glass--pill b { font-size: .98rem; }

/* строка под первым экраном */
.intro { display: grid; gap: 30px; padding-top: 44px; padding-bottom: 8px; }
.intro__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.intro__sum b { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; white-space: nowrap; }
.intro__sum span { font-weight: 600; font-size: 1.15rem; }
.intro__small { margin-top: 10px; max-width: 34rem; color: var(--ink-2); }
.warn { display: flex; align-items: flex-start; gap: 12px; padding: 13px 18px; border-radius: 18px; background: rgba(255, 255, 255, .75); border: 1px solid var(--hair); font-weight: 600; line-height: 1.4; font-size: .98rem; }
.warn svg { width: 24px; height: 24px; flex: none; margin-top: 0; color: var(--acc-d); }
.warn--inline { margin-top: 18px; max-width: 34rem; }
html.lv .warn svg { color: #000; }
.facts { display: grid; gap: 16px; align-content: center; }
.facts li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.4; font-weight: 600; }
.facts__ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--acc-soft); }
.facts__ic svg { width: 22px; height: 22px; }
.facts small { font-size: .95rem; font-weight: 500; color: var(--muted); }
html.lv .facts small { color: #000; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.open-badge::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none; }
.open-badge.is-closed::before { background: #b23a1b; }

/* ---------- 2. как дойти: закреплённая история ---------- */
.walk { position: relative; margin: 70px 0 0; padding: 0 var(--edge); color: #fff; }
.walk h2 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: .98; letter-spacing: -.04em; font-weight: 700; }
.walk__pin { min-height: 100svh; display: flex; align-items: center; padding: 112px 0 56px; background: var(--dark); border-radius: 40px; overflow: clip; }
.walk__inner { display: grid; gap: 44px; }
.walk__top { display: grid; gap: 22px; align-items: end; }
.walk .block__head { margin: 0; }
.walk .kicker { color: var(--acc); }
.walk h2 em { color: var(--acc); }
.walk .block__lede { color: rgba(255, 255, 255, .78); }
.walk__big { display: flex; align-items: baseline; gap: 14px; }
.walk__big b { font-weight: 800; font-size: clamp(6.5rem, 18vw, 12.5rem); line-height: .78; letter-spacing: -.08em; color: var(--acc); font-variant-numeric: tabular-nums; }
.walk__big span { font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: rgba(255, 255, 255, .85); }
.walk__track { position: relative; --p: 1; }
.walk__line { display: none; }
.route { display: grid; position: relative; }
.stop { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: center; position: relative; z-index: 2; }
.stop__ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); border: 1.5px solid var(--acc); transition: background-color .5s, transform .7s var(--expo), border-color .5s; }
.stop__ic svg { width: 32px; height: 32px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.walk--scrub .stop:not(.is-on) .stop__ic { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); transform: scale(.9); }
.walk--scrub .stop:not(.is-on) .stop__ic svg { stroke: #fff; }
.stop.is-on .stop__ic { transform: scale(1.08); }
.stop b { display: block; font-weight: 700; font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; }
.stop small { display: block; margin-top: 4px; font-size: .98rem; color: rgba(255, 255, 255, .66); line-height: 1.3; }
.leg { position: relative; display: flex; align-items: center; height: 76px; margin-left: 35px; padding-left: 40px; border-left: 2px dotted rgba(255, 255, 255, .4); }
.leg b { padding: 6px 16px; border-radius: 999px; background: var(--acc); color: var(--ink); border: 1px solid var(--acc); font-weight: 700; font-size: .98rem; transition: background-color .4s, color .4s, opacity .4s; }
.walk--scrub .leg:not(.is-on) b { background: #1d3532; color: rgba(255, 255, 255, .62); border-color: #3a524e; opacity: 1; }
html.lv .walk .stop small, html.lv .walk .block__lede, html.lv .walk__big span { color: #000; }
html.lv .stop__ic svg { stroke: #000; }

.numbers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.numbers__grid li { padding: 26px 0 24px; border-top: 1px solid var(--hair); }
.big { display: flex; align-items: baseline; gap: 8px; font-weight: 600; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: .95; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.big i { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: .32em; letter-spacing: -.01em; color: var(--acc-d); }
.cap { display: block; margin-top: 12px; max-width: 16rem; font-size: 1rem; line-height: 1.4; color: var(--ink-2); font-weight: 500; }
html.lv .cap, html.lv .big i { color: #000; }
.facts-sec { padding: 70px 0 0; }
.family { padding-top: 56px; }

/* ---------- 3. семья ---------- */
.family { background: var(--bg); }
.family__grid { display: grid; gap: 0; }
.fcard { display: grid; gap: 14px; align-content: start; padding: 34px 0 32px; border-top: 1px solid var(--hair); transition: transform .6s var(--expo); }
.fcard svg { width: 60px; height: 60px; padding: 14px; border-radius: 50%; background: var(--acc-soft); stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background-color .35s, transform .7s var(--expo); }
.fcard:hover svg { background: var(--acc); transform: rotate(-8deg) scale(1.08); }
.fcard h3 { font-size: 1.9rem; line-height: 1.05; letter-spacing: -.035em; }
.fcard p { color: var(--ink-2); max-width: 24rem; }
.fcard .fcard__price { margin-top: 8px; display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--acc-soft); font-weight: 600; font-size: .98rem; color: var(--ink); }
.fcard__price b { font-weight: 800; white-space: nowrap; }
html.lv .fcard p { color: #000; }
html.lv .fcard svg { background: #fff; border: 2px solid #000; }
.family .warn, .prices .warn { margin-top: 36px; max-width: 46rem; }

/* ---------- 4. окна (запись) ---------- */
.windows { background: linear-gradient(180deg, var(--acc-soft) 0, #e9f8f0 100%); border-radius: 40px; margin: 0 var(--edge); }
.windows .block__lede { color: var(--ink-2); }
.win { display: grid; gap: 22px; align-items: start; }
.win__main { background: #fff; border-radius: 32px; padding: 26px 18px 28px; box-shadow: var(--shadow); min-width: 0; }
.win__label { margin: 26px 0 12px; font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.win__label:first-child { margin-top: 0; }
.win__hint { text-transform: none; letter-spacing: 0; font-weight: 600; }
.seg { display: grid; gap: 6px; padding: 6px; border-radius: 28px; background: #f3f1ea; }
.seg__btn { text-align: left; display: grid; gap: 1px; padding: 13px 18px; background: transparent; border: 0; border-radius: 22px; line-height: 1.15; transition: background-color .3s, color .3s, box-shadow .35s, transform .45s var(--expo); }
.seg__btn b { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.seg__btn small { font-size: .92rem; color: var(--muted); transition: color .3s; }
.seg__btn:hover { background: rgba(255, 255, 255, .7); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(14, 37, 35, .7); }
.seg__btn[aria-pressed="true"] b { color: var(--acc); }
.seg__btn[aria-pressed="true"] small { color: rgba(255, 255, 255, .78); }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; margin: 0 -4px; scrollbar-width: thin; }
.day { flex: 0 0 82px; display: grid; justify-items: center; gap: 0; padding: 12px 4px 11px; background: #f6f4ee; border: 1.5px solid transparent; border-radius: 22px; line-height: 1.1; transition: background-color .25s, transform .45s var(--expo), border-color .25s; }
.day__wd { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.day__d { font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; }
.day__c { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.day:hover:not(:disabled) { background: var(--acc-soft); transform: translateY(-3px); }
.day[aria-pressed="true"] { background: var(--ink); color: #fff; }
.day[aria-pressed="true"] .day__wd, .day[aria-pressed="true"] .day__c { color: rgba(255, 255, 255, .85); }
.day[aria-pressed="true"] .day__d { color: var(--acc); }
.day:disabled { opacity: .45; cursor: not-allowed; background: transparent; border-color: var(--hair); border-style: dashed; }
.slots { display: flex; flex-wrap: wrap; gap: 9px; }
.slot { position: relative; min-width: 84px; min-height: 48px; padding: 0 16px; background: #f6f4ee; border: 1.5px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; transition: background-color .25s, transform .45s var(--expo), box-shadow .3s; }
.slot:hover { background: var(--acc-soft); transform: translateY(-2px); }
.slot[aria-pressed="true"] { background: var(--acc); color: var(--ink); box-shadow: 0 12px 26px -12px rgba(53, 217, 154, .9); }
.slot.is-nearest::after { content: ""; position: absolute; top: -3px; right: -3px; width: 13px; height: 13px; border-radius: 50%; background: var(--ok); border: 2.5px solid #fff; }
.slots__empty { color: var(--ink-2); }
.win__fallback { margin-top: 24px; padding: 14px 18px; border-radius: 18px; background: #f6f4ee; font-size: .98rem; line-height: 1.45; color: var(--ink-2); }
.win__sum { background: var(--dark); color: #fff; border-radius: 32px; padding: 30px 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.win__sumlabel { font-weight: 700; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.win__sumbig { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.06; letter-spacing: -.04em; color: var(--acc); }
.win__sumline { font-weight: 600; font-size: 1.1rem; color: rgba(255, 255, 255, .92); }
.win__alt { font-weight: 600; text-align: center; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.win__fine { font-size: .92rem; line-height: 1.45; color: rgba(255, 255, 255, .66); }
html.lv .windows { background: #fff; border: 3px solid #000; }
html.lv .win__main, html.lv .win__sum { box-shadow: none; border: 3px solid #000; }
html.lv .win__sum, html.lv .win__sumbig, html.lv .win__sumline, html.lv .win__alt, html.lv .win__fine, html.lv .win__sumlabel { background: #fff; color: #000; }
html.lv .seg, html.lv .day, html.lv .slot, html.lv .win__fallback { background: #fff; border: 2px solid #000; }
html.lv .seg__btn small, html.lv .day__wd, html.lv .day__c, html.lv .win__label { color: #000; }
html.lv .seg__btn[aria-pressed="true"] b, html.lv .day[aria-pressed="true"] .day__d { color: #fff; }

/* ---------- 5. первый визит ---------- */
.visit { background: var(--bg); }
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding: 30px 0 34px; border-top: 1px solid var(--hair); }
.step__n { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(4.4rem, 8vw, 6.6rem); line-height: .85; letter-spacing: -.04em; color: var(--acc-d); margin-bottom: 8px; }
.step h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -.03em; }
.step p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; }
.step__t { justify-self: start; margin-top: 6px; padding: 5px 14px; border-radius: 999px; background: var(--acc-soft); font-weight: 700; font-size: .85rem; }
html.lv .step p { color: #000; }
html.lv .step__n { color: #000; }
.note { margin-top: 48px; display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: 28px; background: #fff; max-width: 52rem; box-shadow: var(--shadow); }
.note svg { width: 34px; height: 34px; flex: none; margin-top: 2px; color: var(--acc-d); }
html.lv .note { box-shadow: none; border: 3px solid #000; }
html.lv .note svg { color: #000; }

/* ---------- 6. цены ---------- */
.prices { background: #fff; border-radius: 40px; margin: 0 var(--edge); }
.prices__grid { display: grid; gap: 40px; align-items: start; }
.plist { border-top: 1px solid var(--ink); }
.prow { border-bottom: 1px solid var(--hair); transition: background-color .3s; }
.prow summary { display: flex; align-items: center; gap: 14px; padding: 24px 6px; min-height: 76px; cursor: pointer; list-style: none; transition: padding .45s var(--expo), background-color .3s; }
.prow summary::-webkit-details-marker { display: none; }
.prow summary:hover { padding-inline: 20px; background: linear-gradient(90deg, var(--acc-soft), transparent); }
.prow__name { flex: 1 1 auto; min-width: 0; font-weight: 700; font-size: 1.3rem; letter-spacing: -.025em; line-height: 1.15; }
.prow__price { flex: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prow summary::after, .acc summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--hair);
  background: linear-gradient(var(--ink), var(--ink)) center / 13px 1.8px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.8px 13px no-repeat; transition: transform .5s var(--expo), background-color .3s, border-color .3s; }
.prow[open] summary::after, .acc details[open] summary::after { transform: rotate(180deg); border-color: var(--ink);
  background: linear-gradient(#fff, #fff) center / 13px 1.8px no-repeat, var(--ink); }
.prow[open] { background: linear-gradient(180deg, var(--acc-soft), rgba(223, 246, 234, 0) 90%); }
.prow__body { display: grid; gap: 22px; padding: 6px 20px 28px; animation: drop .5s var(--expo); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.prow__body h3 { margin-bottom: 12px; font-size: .82rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--acc-d); }
.prow__body div + div h3 { color: var(--muted); }
.prow__body ul { display: grid; gap: 9px; }
.prow__body li { position: relative; padding-left: 28px; line-height: 1.4; }
.prow__body li::before { content: ""; position: absolute; left: 4px; top: .26em; width: .46em; height: .82em; border: solid var(--acc-d); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.prow__body div + div li::before { left: 3px; top: .72em; width: .8em; height: 0; border-width: 2px 0 0; border-color: var(--muted); transform: none; opacity: .7; }
.plist__more { padding: 22px 6px 0; font-weight: 600; color: var(--ink-2); }
.pside { background: var(--dark); color: #fff; border-radius: 34px; padding: 36px 30px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.pside h3 { font-size: 2rem; line-height: 1.05; letter-spacing: -.04em; }
.pside ol { display: grid; gap: 16px; counter-reset: p; }
.pside li { position: relative; padding-left: 50px; counter-increment: p; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.pside li b { color: #fff; }
.pside li::before { content: counter(p); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--acc); color: var(--ink); font-weight: 800; }
.pside__pay { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); line-height: 1.5; color: rgba(255, 255, 255, .86); }
.pside__date { display: inline-block; justify-self: start; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: .92rem; }
.legal { margin-top: 44px; display: grid; gap: 10px; max-width: 54rem; font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--acc); }
html.lv .legal { color: #000; }
html.lv .prices { border: 3px solid #000; }
html.lv .prow[open] { background: #eee; }
html.lv .pside, html.lv .pside li, html.lv .pside__pay, html.lv .pside__date { background: #fff; color: #000; box-shadow: none; }
html.lv .pside { border: 3px solid #000; }
html.lv .pside li::before { background: #000; color: #fff; }

/* ---------- 7. врачи ---------- */
.doctors { background: var(--bg); }
.doc__grid { display: grid; gap: 26px; }
.doc { display: grid; grid-template-rows: auto 1fr; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: var(--shadow); transition: transform .7s var(--expo), box-shadow .5s; }
.doc:hover { transform: translateY(-8px); box-shadow: 0 44px 80px -40px rgba(14, 37, 35, .55); }
.doc__ph { position: relative; overflow: hidden; background: var(--acc-soft); }
.doc__ph img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 16%; transition: transform 1.4s var(--expo); }
.doc:hover .doc__ph img { transform: scale(1.05); }
.doc__tag { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 700; font-size: .85rem; }
.doc__body { padding: 26px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.doc__body h3 { font-size: 1.55rem; line-height: 1.08; letter-spacing: -.035em; }
.doc__role { font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.doc dl { display: grid; gap: 0; margin-top: 8px; }
.doc dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid var(--hair); line-height: 1.4; font-size: .98rem; }
.doc dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.doc dd { margin: 0; }
.doc__acc { margin-bottom: auto; font-size: .92rem; color: var(--muted); line-height: 1.4; padding-top: 4px; }
.doc__next { display: flex; align-items: center; gap: 12px; text-align: left; width: 100%; min-height: 58px; padding: 8px 18px; background: var(--acc-soft); border: 0; border-radius: 22px; font-weight: 700; line-height: 1.2; transition: background-color .3s, transform .45s var(--expo); }
.doc__next svg { width: 24px; height: 24px; flex: none; }
.doc__next:hover { background: var(--acc); transform: translateY(-2px); }
.doc__next small { display: block; font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
html.lv .doc dt, html.lv .doc__acc, html.lv .doc__role { color: #000; }
html.lv .doc, html.lv .doc:hover { box-shadow: none; transform: none; border: 3px solid #000; }
html.lv .doc__next { background: #fff; border: 2px solid #000; }

/* ---------- 8. клиника ---------- */
.clinic { background: var(--bg-2); border-radius: 40px; margin: 0 var(--edge); }
.clinic__grid { display: grid; gap: 52px; align-items: center; }
.clinic__photos { position: relative; padding-bottom: 60px; }
.clinic__big { width: 100%; border-radius: 34px; box-shadow: var(--shadow); }
.clinic__small { position: absolute; right: -4px; bottom: 0; width: 50%; border: 8px solid var(--bg-2); border-radius: 28px; box-shadow: var(--shadow); }
.rules { display: grid; gap: 0; }
.rules li { display: grid; grid-template-columns: 124px 1fr; gap: 16px; align-items: center; padding: 22px 0; border-top: 1px solid var(--hair); }
.rules li:last-child { border-bottom: 1px solid var(--hair); }
.rules__n { display: grid; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 3.8rem; line-height: .9; letter-spacing: -.04em; color: var(--acc-d); }
.rules__n i { font-family: var(--f-sans); font-style: normal; font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--ink-2); margin-top: 6px; }
.rules h3 { font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.15; }
.rules p { margin-top: 6px; color: var(--ink-2); line-height: 1.5; }
.clinic__amen { margin-top: 24px; font-weight: 600; line-height: 1.45; }
html.lv .rules p, html.lv .rules__n i, html.lv .rules__n { color: #000; }
html.lv .clinic { border: 3px solid #000; }
html.lv .clinic__small { border-color: #fff; }

/* ---------- 9. пациентам ---------- */
.patients { background: var(--bg); }
.pat__grid { display: grid; gap: 48px; align-items: start; }
.pat__left { display: grid; gap: 32px; min-width: 0; }
.acc { border-top: 1px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--hair); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 72px; padding: 18px 4px; cursor: pointer; font-weight: 700; font-size: 1.22rem; letter-spacing: -.025em; line-height: 1.2; list-style: none; transition: padding .45s var(--expo), background-color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { padding-inline: 16px; background: linear-gradient(90deg, var(--acc-soft), transparent); }
.acc details p { padding: 0 4px 26px; max-width: 44em; color: var(--ink-2); animation: drop .5s var(--expo); }
html.lv .acc details p { color: #000; }
.linkbtn { background: none; border: 0; padding: 10px 0; min-height: 44px; text-decoration: underline; font-weight: 700; }
.paybox { padding: 28px; border-radius: 28px; background: var(--acc-soft); }
.paybox h3 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 16px; }
.paybox ul { display: grid; gap: 0; }
.paybox li { display: grid; gap: 1px; padding: 14px 0; border-top: 1px solid rgba(14, 37, 35, .14); }
.paybox li:first-child { border-top: 0; padding-top: 0; }
.paybox li span { color: var(--ink-2); }
html.lv .paybox li span { color: #000; }
html.lv .paybox { border: 3px solid #000; }
.legalbox { background: #fff; border-radius: 32px; padding: 32px 28px; box-shadow: var(--shadow); }
.legalbox h3 { font-size: 1.55rem; letter-spacing: -.035em; margin-bottom: 18px; }
.legalbox dl { display: grid; gap: 0; }
.legalbox dl > div { display: grid; gap: 3px; border-top: 1px solid var(--hair); padding: 14px 0; }
.legalbox dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
html.lv .legalbox dt { color: #000; }
.legalbox dd { margin: 0; line-height: 1.45; }
.lic { display: flex; gap: 18px; align-items: center; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--hair); }
.qr { width: 112px; height: 112px; flex: none; border: 1px solid var(--hair); border-radius: 14px; }
.lic p { line-height: 1.4; }
.lic small { color: var(--muted); }
html.lv .lic small { color: #000; }
html.lv .legalbox { box-shadow: none; border: 3px solid #000; }

/* ---------- 10. вопросы ---------- */
.faq { background: #fff; border-radius: 40px; margin: 0 var(--edge); }
.faq__grid { display: grid; gap: 40px; align-items: start; }
.faq__side h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.faq__ask { display: grid; gap: 16px; justify-items: start; margin-top: 26px; }
.faq__ask p { font-weight: 600; max-width: 24rem; }
html.lv .faq { border: 3px solid #000; }

/* ---------- 11. контакты ---------- */
.contacts { background: var(--bg); }
.contacts__grid { display: grid; gap: 40px; align-items: start; }
.map { border-radius: 32px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shadow); }
.map svg { display: block; width: 100%; height: auto; }
.map figcaption { padding: 12px 18px; font-size: .92rem; color: var(--muted); background: #fff; font-weight: 600; }
html.lv .map figcaption { color: #000; }
html.lv .map { box-shadow: none; border: 3px solid #000; }
.map text { font-family: var(--f-sans); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.map .mp-stoptext, .map .mp-needle { stroke: none; }
.mp-bg { fill: var(--bg-2); }
.mp-park { fill: var(--acc-soft); }
html.lv .mp-park { fill: #fff; }
.mp-block rect { fill: #fff; stroke: var(--hair); stroke-width: 1.5; }
.mp-road path { fill: none; stroke: #fff; stroke-width: 22; stroke-linecap: round; }
html.lv .mp-road path { stroke: #ddd; }
.mp-street { fill: var(--ink); font-weight: 700; font-size: 14px; }
.mp-route { fill: none; stroke: var(--acc-d); stroke-width: 4.5; stroke-dasharray: 1 11; stroke-linecap: round; animation: dashmove 3.2s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -48; } }
.mp-stop { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.mp-stoptext { fill: var(--ink); font-weight: 800; font-size: 15px; }
.mp-label { fill: var(--ink); font-weight: 700; font-size: 15px; }
.mp-label--b { text-anchor: end; }
.mp-pin { fill: var(--acc); stroke: var(--ink); stroke-width: 2.5; }
.mp-pinhole { fill: var(--ink); }
.mp-comp { fill: #fff; stroke: var(--hair); stroke-width: 2; }
.mp-needle { fill: var(--ink); }
.info { display: grid; gap: 0; margin-top: 26px; }
.info li { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--hair); }
.info li > b { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 6px; }
html.lv .info li > b { color: #000; }
.tel { font-weight: 800; font-size: 1.6rem; letter-spacing: -.035em; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.tel:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--acc); }
.msgs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.msgs .btn { flex: 1 1 110px; }
.msgs .btn--ink { flex-basis: 100%; }
.way { display: grid; gap: 12px; margin-top: 22px; padding: 22px 24px; border-radius: 26px; background: var(--acc-soft); }
.way li { display: grid; grid-template-columns: 108px 1fr; gap: 10px; line-height: 1.4; }
.way b { font-weight: 800; }
html.lv .way { border: 3px solid #000; }
.form { background: #fff; border-radius: 34px; padding: 34px 28px; display: grid; gap: 16px; box-shadow: var(--shadow); }
html.lv .form { box-shadow: none; border: 3px solid #000; }
.form h3 { font-size: 2.1rem; letter-spacing: -.045em; line-height: 1.05; }
.form__lede { margin-top: -6px; font-weight: 600; color: var(--ink-2); }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .95rem; }
.opt { font-weight: 500; color: var(--muted); font-size: .9rem; margin-left: 4px; }
html.lv .opt { color: #000; }
.field input, .field select { width: 100%; min-height: 56px; padding: 12px 18px; border-radius: 18px; border: 1.5px solid transparent; background: #f3f1ea; transition: border-color .25s, background-color .25s, box-shadow .3s; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 24px) 52%, calc(100% - 18px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input:hover, .field select:hover { background-color: #ece9df; }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--ink); background-color: #fff; box-shadow: 0 0 0 4px rgba(53, 217, 154, .5); }
.field input:user-invalid { border-color: #b23a1b; background: #fff5f2; }
.form__warn { padding: 13px 16px; border-radius: 16px; background: var(--acc-soft); font-size: .95rem; line-height: 1.45; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 48px; padding: 8px 0; cursor: pointer; line-height: 1.4; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.form__priv { font-size: .95rem; }
.form__fine { font-size: .92rem; color: var(--muted); }
html.lv .form__fine { color: #000; }
html.lv .field input, html.lv .field select { background: #fff; border: 2px solid #000; }

/* ---------- предупреждение, подвал ---------- */
.warnband { background: var(--acc); color: var(--ink); padding: 46px 0; margin-top: 84px; }
.warnband .wrap { display: flex; align-items: center; justify-content: center; gap: 20px; }
.warnband svg { width: 54px; height: 54px; flex: none; }
.warnband p { font-weight: 800; font-size: clamp(1.4rem, 4.2vw, 2.4rem); line-height: 1.12; letter-spacing: -.04em; max-width: 52rem; }
html.lv .warnband { border-block: 4px solid #000; }

.foot { position: relative; background: var(--dark); color: rgba(255, 255, 255, .82); padding: 56px 0 0; overflow: hidden; }
.foot a { color: #fff; }
.foot a:hover { color: var(--acc); }
.foot__grid { display: grid; gap: 30px; position: relative; z-index: 1; }
.foot__small { font-size: .95rem; line-height: 1.55; margin-top: 12px; color: rgba(255, 255, 255, .72); }
.foot .brand__text small { color: rgba(255, 255, 255, .62); display: block; }
.foot .bm-bg { fill: var(--acc); }
.foot .bm-house { fill: var(--dark); }
.foot .bm-dot { fill: var(--acc); }
.foot__links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 1rem; font-weight: 600; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }
/* подвал — последний блок страницы: его можно не рисовать, пока он далеко за экраном (якоря выше не затрагиваются) */
.foot { content-visibility: auto; contain-intrinsic-size: auto 560px; }
.foot__mark::before { content: attr(data-t); }
.foot__mark { margin: 34px 0 -.12em; font-weight: 800; font-size: clamp(6.5rem, 29vw, 24rem); line-height: .8; letter-spacing: -.07em; color: rgba(255, 255, 255, .06); text-align: center; user-select: none; white-space: nowrap; }
.foot__demo { position: relative; z-index: 1; margin-top: 20px; padding-top: 20px; padding-bottom: 8px; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 600; }
.foot .nx-meta-note { position: relative; z-index: 1; color: #fff; opacity: .75; padding-bottom: 26px; }
html.lv .foot, html.lv .foot a, html.lv .foot__small, html.lv .foot .brand__text small { background: #fff; color: #000; }
html.lv .foot { border-top: 3px solid #000; }
html.lv .foot .bm-bg { fill: #000; }
html.lv .foot .bm-house { fill: #fff; }
html.lv .foot__mark { display: none; }

/* ---------- мобильная панель ---------- */
.mbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; padding: 9px 10px 10px; border-radius: 26px;
  background: rgba(255, 255, 255, .84); border: 1px solid rgba(255, 255, 255, .9); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 20px 50px -20px rgba(14, 37, 35, .55); }
.mbar__st { grid-column: 1 / -1; display: flex; justify-content: center; margin: 0; font-size: .9rem; line-height: 1.1; white-space: nowrap; }
.mbar__st b { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; }
.mbar .btn { min-height: 48px; padding: 0 12px; }
html.lv .mbar { background: #fff; border: 3px solid #000; }

/* ---------- ≥ 600 ---------- */
@media (min-width: 600px) {
  :root { --gut: 28px; }
  .seg { grid-template-columns: repeat(3, 1fr); border-radius: 999px; }
  .seg__btn { border-radius: 999px; padding: 13px 22px; }
  .prow__body { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .doc { grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: none; }
  .doc__ph img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .doc__ph { min-height: 320px; }
  .numbers__grid { grid-template-columns: repeat(4, 1fr); }
  .info li { grid-template-columns: 100px 1fr; }
}
@media (min-width: 700px) {
  .days { display: grid; grid-template-columns: repeat(7, 1fr); overflow: visible; padding: 4px 0 6px; margin: 0; }
  .day { flex: none; }
  .win__main { padding: 34px 34px 36px; }
}
@media (min-width: 820px) {
  .family__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; }
  .intro { grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; padding-top: 52px; }
}
@media (min-width: 900px) {
  .walk__top { grid-template-columns: 1.35fr 1fr; }
  .walk__big { justify-content: flex-end; }
  .route { grid-template-columns: auto 1fr auto 1fr auto; align-items: start; }
  .stop { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 18px; width: 230px; }
  .leg { height: 72px; margin: 0; padding: 0 12px; justify-content: center; border-left: 0; }
  .walk__line { display: block; position: absolute; z-index: 1; left: 115px; right: 115px; top: 35px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .38) 0 8px, transparent 8px 16px); }
  .walk__fill { position: absolute; left: 0; top: -1px; height: 4px; width: 100%; background: var(--acc); border-radius: 2px; transform-origin: left; transform: scaleX(var(--p, 1)); }
  .walk__walker { position: absolute; z-index: 3; top: -8px; left: calc(var(--p, 1) * 100%); width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(53, 217, 154, .4); }
  .leg b { position: relative; z-index: 2; }
}
@media (min-width: 960px) {
  :root { --gut: 40px; }
  :root { --hm: 24px; }
  .head-row { flex-wrap: nowrap; padding: 7px 8px 7px 18px; }
  .nav { order: 0; width: auto; overflow: visible; padding: 0; }
  .nav a { padding: 0 11px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 0 34px; }
  .block { padding: 120px 0; }
  .prices__grid { grid-template-columns: 1.65fr 1fr; gap: 64px; }
  .pside { position: sticky; top: calc(var(--head-h) + 16px); }
  .win { grid-template-columns: 1.7fr 1fr; gap: 26px; }
  .win__sum { position: sticky; top: calc(var(--head-h) + 16px); padding: 36px 32px; }
  .doc__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .doc { grid-template-columns: none; grid-template-rows: auto 1fr; }
  .doc__ph { min-height: 0; }
  .doc__ph img { position: static; height: auto; aspect-ratio: 4 / 4.4; }
  .clinic__grid { grid-template-columns: 1.05fr .95fr; gap: 84px; }
  .pat__grid { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .faq__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .faq__side { position: sticky; top: calc(var(--head-h) + 16px); }
  .contacts__grid { grid-template-columns: 1.1fr .9fr; gap: 60px; }
  .form { position: sticky; top: calc(var(--head-h) + 16px); }
  .foot__grid { grid-template-columns: 1.1fr 1.1fr 1.3fr; gap: 48px; }
  .windows, .prices, .clinic, .faq { margin-inline: var(--edge); }
}
@media (min-width: 1200px) {
  :root { --hm: 28px; }
  .nav a { padding: 0 14px; }
  .brand__text small { display: block; }
}
@media (min-width: 1340px) { .head-phone { display: inline-flex; } }
@media (min-width: 1560px) {
  .lv-toggle span { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  .lv-toggle { padding: 0 16px 0 12px; }
}
@media (min-width: 820px) { body { padding-bottom: 0; } .mbar { display: none; } }

/* ---------- первый экран: узкие экраны и версия для слабовидящих — фото сверху, текст ниже ---------- */
@media (max-width: 959px) {
  .hero__stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; border-radius: 28px; }
  .hero__stage { padding-top: 98px; }
  .hero__photo { position: relative; top: auto; right: auto; bottom: auto; width: auto; margin: 0 12px; aspect-ratio: 1 / .96; max-height: 54svh; border-radius: 24px; -webkit-mask-image: none; mask-image: none; }
  .hero__photo img { object-position: 50% 6%; }
  .hero__shade { display: none; }
  .hero__orb { position: relative; right: auto; bottom: auto; align-self: flex-end; width: 168px; height: 168px; margin: -118px 26px 0 0; }
  .hero__copy { padding: 6px 20px 12px; }
  .site-head.is-stuck .nav { display: none; }
  .hero h1 { margin-top: 18px; font-size: clamp(2.5rem, 11.4vw, 5rem); }
  .hero__next { position: relative; top: auto; right: auto; width: auto; padding: 4px 16px 20px; z-index: 4; }
  .hero__cta .btn { flex: 1 1 200px; }
  .head-row { border-radius: 24px; }
}
html.lv .hero__stage { display: flex; flex-direction: column; align-items: stretch; min-height: 0; background: #fff; border-radius: 0; padding-top: 110px; }
html.lv .hero__photo { position: relative; top: auto; right: auto; bottom: auto; width: 100%; max-height: 60vh; aspect-ratio: 16 / 9; -webkit-mask-image: none; mask-image: none; }
html.lv .hero__shade, html.lv .hero__orb { display: none; }
html.lv .hero__copy { padding: 28px var(--gut) 12px; max-width: 62rem; }
html.lv .hero h1 { font-size: clamp(2.2rem, 6.4vw, 4.4rem); }
html.lv .hero h1 em::before { background: transparent; border-bottom: 8px solid #000; inset: auto 0 .02em; height: 0; }
html.lv .hero__next { position: static; top: auto; width: auto; max-width: 62rem; padding: 8px var(--gut) 28px; }
html.lv .glass, html.lv .eyebrow, html.lv .warn, html.lv .site-head .head-row, html.lv .site-head.is-stuck .head-row { background: #fff; border: 2px solid #000; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
html.lv .glass small { color: #000; }
html.lv .facts__ic { background: #fff; border: 2px solid #000; }

@media (max-width: 520px) {
  .prow summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name icon" "price icon"; column-gap: 12px; row-gap: 3px; align-items: center; }
  .prow__name { grid-area: name; }
  .prow__price { grid-area: price; font-size: 1.15rem; }
  .prow summary::after { grid-area: icon; }
  .hero__mini { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .doc dl > div { grid-template-columns: 1fr; gap: 2px; }
  .info li, .way li { grid-template-columns: 1fr; gap: 2px; }
  .rules li { grid-template-columns: 100px 1fr; }
  .rules__n { font-size: 3.2rem; }
  .prow summary { padding-inline: 4px; }
  .hero h1 { font-size: 2.4rem; }
}
@media (max-width: 380px) {
  html.lv .contacts h2 span { white-space: normal !important; }
}

/* ---------- слабовидящие и без анимации ---------- */
html.lv *, html.lv *::before, html.lv *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.lv [data-reveal], html.lv .ml-word__in { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
html.lv .block__head > * { opacity: 1 !important; transform: none !important; }
html.lv body { font-size: 1.125rem; line-height: 1.7; }
html.lv a { text-decoration: underline; }
html.lv .btn, html.lv .nav a, html.lv .brand, html.lv .head-phone, html.lv .tel, html.lv .glass, html.lv .foot__links a { text-decoration: none; }
html.lv .head-row { flex-wrap: wrap; }
html.lv .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 6px; }
html.lv .nav a.is-on { background: #000; color: #fff; }
html.lv .day:disabled { opacity: .8; }
html.lv .seg__btn[aria-pressed="true"] small, html.lv .day[aria-pressed="true"] .day__wd, html.lv .day[aria-pressed="true"] .day__c { color: #fff; }
html.lv .seg__btn[aria-pressed="true"], html.lv .day[aria-pressed="true"], html.lv .slot[aria-pressed="true"] { background: #000; color: #fff; }
html.lv .walk { padding: 0; color: #000; margin-top: 40px; }
html.lv .walk__pin { border-radius: 0; background: #fff; border-block: 3px solid #000; }
html.lv .walk h2 em, html.lv .walk .kicker, html.lv .walk__big b { color: #000; }
html.lv .walk .stop b { color: #000; }
html.lv .walk .stop__ic, html.lv .walk--scrub .stop:not(.is-on) .stop__ic { background: #fff; border: 3px solid #000; transform: none; }
html.lv .leg b, html.lv .walk--scrub .leg:not(.is-on) b { background: #fff; border: 2px solid #000; color: #000; opacity: 1; }
html.lv .leg { border-left-color: #000; }
html.lv .walk__line { display: none; }
html.lv .walk__pin { min-height: 0; padding: 70px 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .mp-route { stroke-dasharray: 2 10; }
}

/* ---------- служебные страницы (privacy, consent) ---------- */
.legal-page { padding: 120px 0 72px; background: var(--bg); }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.02; letter-spacing: -.045em; margin: 10px 0 14px; font-weight: 800; }
.legal-page h2 { font-size: 1.5rem; letter-spacing: -.03em; margin: 38px 0 10px; }
.legal-page p, .legal-page li { max-width: 46em; }
.legal-page ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin-top: 8px; }
.legal-page .upd { color: var(--muted); font-weight: 600; }
html.lv .legal-page .upd { color: #000; }
.legal-page .back { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.legal-page .demo-note { margin-top: 32px; padding: 16px 20px; border-radius: 20px; background: var(--acc-soft); }
.head-row--simple .nav { display: none; }

/* ---------- вступление первого экрана: только CSS, без ожидания скриптов; на телефонах и при «меньше движения» — ничего не скрывается ---------- */
@keyframes in-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes in-line { from { transform: translateY(115%); } to { transform: none; } }
@keyframes in-drop { from { opacity: 0; transform: translateY(-28px); } to { opacity: 1; transform: none; } }
@keyframes in-photo { from { clip-path: inset(5% 4% 5% 4% round 46px); } to { clip-path: inset(0 0 0 0 round 0); } }
@keyframes in-zoom { from { transform: scale(1.2); } to { transform: scale(1); } }
@keyframes in-orb { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@media (hover: hover) and (pointer: fine) and (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html:not(.lv) .hero__photo { animation: in-photo 1.5s var(--expo) backwards; }
  html:not(.lv) .hero__photo img { animation: in-zoom 2.6s var(--expo) backwards; }
  html:not(.lv) .head-row { animation: in-drop 1s var(--expo) .25s backwards; }
  html:not(.lv) .hero h1 .ln__in { animation: in-line 1.2s var(--expo) backwards; }
  html:not(.lv) .hero h1 .ln:nth-of-type(1) .ln__in { animation-delay: .5s; }
  html:not(.lv) .hero h1 .ln:nth-of-type(2) .ln__in { animation-delay: .62s; }
  html:not(.lv) .hero__copy [data-in] { animation: in-rise .95s var(--expo) .85s backwards; }
  html:not(.lv) .hero__copy .lede[data-in] { animation-delay: .95s; }
  html:not(.lv) .hero__copy .hero__cta[data-in] { animation-delay: 1.05s; }
  html:not(.lv) .hero__next { animation: in-rise 1s var(--expo) 1.15s backwards; }
  html:not(.lv) .hero__orb { animation: in-orb 1.3s var(--expo) .9s backwards; }
}

.walk :focus-visible, .foot :focus-visible, .win__sum :focus-visible, .pside :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px var(--acc); }

/* ---------- мелочи ---------- */
::selection { background: var(--acc); color: var(--ink); }
.progress { position: fixed; z-index: 70; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--acc); transform-origin: left; transform: scaleX(0); }
html.lv .progress { display: none; }

@media (min-width: 900px) and (max-height: 760px) {
  .walk__pin { padding: 96px 0 36px; }
  .walk__inner { gap: 30px; }
  .walk h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
  .walk .block__lede { margin-top: 14px; font-size: 1.05rem; }
  .walk__big b { font-size: clamp(5.5rem, 13vw, 9rem); }
  .stop__ic { width: 60px; height: 60px; }
  .stop { gap: 12px; }
  .leg { height: 60px; }
  .walk__line { top: 29px; }
  .stop b { font-size: 1.15rem; }
}

/* ---------- узкие телефоны: шапка в одну строку (бренд + «Аа» + «Записаться»), без трёх этажей ---------- */
@media (max-width: 479px) {
  :root { --hm: 12px; }
  .head-row { padding: 5px 5px 5px 12px; gap: 2px 8px; }
  .brand { gap: 8px; min-height: 44px; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__text b { font-size: 1.3rem; }
  .head-actions { gap: 6px; }
  .head-cta { padding: 0 14px; }
}
@media (max-width: 339px) {
  .head-row { padding-left: 10px; gap: 2px 6px; }
  .brand__text b { font-size: 1.2rem; }
  .brand { gap: 6px; }
  .head-cta { padding: 0 11px; font-size: .9rem; }
}
.foot--legal { margin-top: 0; padding-bottom: 8px; }
.foot--legal .foot__demo { margin-top: 28px; }
body.is-legal { padding-bottom: 0; }
@media (max-width: 599px) { .hero__photo { aspect-ratio: 1 / .8; } }
