/* Эмаль v2 — «Белая тишина»: Inter Tight + Noto Serif Display, тушь и один кобальт. Много воздуха, крупный шрифт, один 3D-предмет. */
:root {
  --ink: #0b0e1c;
  --mute: #565c71;
  --line: #e4e7f0;
  --line2: #c8cedf;
  --cob: #1a39d6;
  --cob-d: #1229a8;
  --tint: #eef1fe;
  --tint2: #dde3fc;
  --paper: #f6f7fc;
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-serif: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --wrap: 1360px;
  --gut: clamp(18px, 4.4vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --chrome: 102px;
  --head-h: 68px;
}
/* ₽ нет в кириллическом наборе Google Fonts: ради одного знака телефон качал бы ещё ~260 КБ (latin-ext). На телефоне знак берётся из системного шрифта. */
@font-face { font-family: "Rub"; src: local("Roboto"), local("Helvetica Neue"), local("Segoe UI"), local("Arial"), local("Noto Sans"); unicode-range: U+20BD; }
@font-face { font-family: "Rub Serif"; src: local("Roboto"), local("Helvetica Neue"), local("Segoe UI"), local("Arial"), local("Noto Sans"); unicode-range: U+20BD; }
@media (max-width: 899px) { :root { --f-sans: "Rub", "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif; --f-serif: "Rub Serif", "Noto Serif Display", Georgia, "Times New Roman", serif; } }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
html.a11y { font-size: 125%; --mute: #1d2236; --line: #0b0e1c; --line2: #0b0e1c; --cob: #1229a8; --cob-d: #0c1c80; --tint: #fff; --tint2: #fff; --paper: #fff; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.125rem/1.62 var(--f-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--f-sans); font-weight: 400; letter-spacing: -.028em; line-height: 1.02; overflow-wrap: anywhere; hyphens: manual; }
h1 em, h2 em, h3 em, .stage__tag em { font-family: var(--f-serif); font-style: italic; font-weight: 300; letter-spacing: -.02em; color: var(--cob); }
b, strong { font-weight: 600; }
p { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--cob); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: #fff; padding: 12px 16px; border: 2px solid var(--ink); font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lab { margin: 0; font: 500 .8125rem/1.35 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

/* кнопки: заливка поднимается снизу, нажатие мягко сжимает */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 500 1.0625rem/1 var(--f-sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; text-align: center; transition: color .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); border-radius: 50% 50% 0 0 / 120% 120% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.btn:hover { color: #fff; }
.btn:hover::before { transform: none; border-radius: 0; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--cob); border-color: var(--cob); color: #fff; }
.btn--primary:hover { border-color: var(--ink); box-shadow: 0 22px 40px -22px rgba(26, 57, 214, .75); }
.btn--ghost { background: #fff; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 1rem; }
.btn--lg { min-height: 64px; padding: 0 40px; font-size: 1.15rem; }
.btn--wide { width: 100%; }
.linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--cob); font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; text-align: left; }
.linkbtn:hover { color: var(--ink); }
.linkbtn--foot { color: inherit; min-width: 44px; }
.blocklink { display: inline-flex; align-items: center; min-height: 44px; color: var(--cob); text-decoration: underline; text-underline-offset: 4px; }
.form__links, .foot__links { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0 0 8px; }
.foot__links { flex-direction: column; gap: 0; margin-top: 4px; }
.foot__links--row { flex-direction: row; gap: 0 22px; }

/* шапка */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); border-bottom: 1px solid transparent; transition: border-color .4s, background .4s; }
.site-head.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .88); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--cob); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.head-in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; gap: 10px; text-decoration: none; min-height: 44px; align-items: center; margin: 0; }
.brand__mark { width: 30px; height: 30px; flex: none; display: block; }
.brand__name { font: 400 1.9rem/1 var(--f-serif); letter-spacing: -.03em; }
.brand__sub { display: none; font: 500 .8rem var(--f-sans); text-transform: uppercase; letter-spacing: .12em; color: var(--mute); }
.nav ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: .98rem; font-weight: 500; text-decoration: none; position: relative; white-space: nowrap; letter-spacing: -.01em; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 9px; height: 1.5px; background: var(--cob); transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a:focus-visible::after, .nav a.is-cur::after { transform: scaleX(1); }
.nav a.is-cur { color: var(--cob); }
.head-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.a11y-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--line2); border-radius: 999px; background: #fff; cursor: pointer; font-size: .95rem; transition: border-color .3s, background .3s, color .3s; }
.a11y-btn__ico { font: 400 1.15rem/1 var(--f-serif); }
.a11y-btn__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a11y-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.a11y-btn:hover { border-color: var(--ink); }
.head-phone { display: none; min-height: 44px; padding: 0 4px; border: 0; background: none; cursor: pointer; font: 500 1.05rem/1 var(--f-sans); letter-spacing: -.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.head-phone:hover { color: var(--cob); }
.head-tools .btn { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: 999px; background: #fff; cursor: pointer; padding: 0; }
.menu-btn__bars, .menu-btn__bars::before { content: ""; display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; }
.menu-btn__bars::before { position: absolute; top: -6px; left: 0; box-shadow: 0 12px 0 var(--ink); }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; }
.nav.is-open { display: block; }
.nav ul { flex-direction: column; }
.nav a { width: 100%; border-bottom: 1px solid var(--line); min-height: 54px; font-size: 1.2rem; }
.nav a::after { display: none; }

/* блоки предупреждения (38-ФЗ) */
.warn { display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 16px 20px 16px 16px; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 20px; font: 500 1.0625rem/1.35 var(--f-sans); letter-spacing: -.005em; }
.warn__mark { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cob); color: #fff; font: 600 1rem/1 var(--f-sans); }
.warn--offer { margin-top: 18px; }
.warn--panel { margin: 22px 0 22px; }
.warn--prices { margin-top: 28px; }
.band { margin-top: clamp(80px, 11vw, 160px); background: var(--cob); color: #fff; padding: clamp(26px, 4vw, 52px) 0; }
.band__in { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 32px); }
.band__mark { flex: none; display: grid; place-items: center; width: clamp(40px, 5vw, 60px); height: clamp(40px, 5vw, 60px); border: 1.5px solid #fff; border-radius: 50%; font: 400 clamp(1.3rem, 2.4vw, 1.9rem)/1 var(--f-serif); }
.band p { margin: 0; font: 400 clamp(1.4rem, 3.2vw, 2.7rem)/1.12 var(--f-sans); letter-spacing: -.028em; }

/* ============ первый экран: слово «Эмаль» + 3D-зуб ============ */
.stage { position: relative; }
.stage__pin { position: relative; height: calc(100vh - var(--chrome)); height: calc(100svh - var(--chrome)); min-height: 520px; overflow: hidden; background: #fff; }
.stage__bg { position: absolute; inset: 0; background: radial-gradient(48% 62% at 50% 56%, #e1e7fb 0%, #eef1fd 42%, #fff 78%); }
.stage__h1 { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; pointer-events: none; }
.stage__word { display: block; font: 300 min(31vw, 62vh)/.86 var(--f-serif); letter-spacing: -.035em; white-space: nowrap; color: var(--ink); transform-origin: 50% 55%; padding-bottom: .04em; }
.stage__word .ch { display: inline-block; line-height: .86; clip-path: inset(-10% -14% 0 -14%); }
.stage__word .chi { display: inline-block; }
.stage__gl { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.stage__fb { position: absolute; left: 50%; top: 50%; height: 64%; width: auto; transform: translate(-50%, -50%); display: none; }
html:not(.js) .stage__fb, .stage--nogl .stage__fb, .stage--off .stage__fb { display: block; }
/* постер: статичный кадр той же сцены. Виден с первого кадра; 3D догружается позже и плавно его заменяет.
   Размер считается от окна сцены (cq-единицы) так же, как камера в stage.js: 1 условная единица = min(высота/4,9; ширина/3,9 на ПК, 3,3 на телефоне). */
.stage__gl { container-type: size; }
.stage__poster { position: absolute; left: 50%; top: 50%; display: block; max-width: none; --ppu: min(100cqh / 4.9, 100cqw / 3.9); width: calc(var(--ppu) * 2.624); height: calc(var(--ppu) * 3.703); transform: translate(-50%, -50%) translateY(calc(var(--ppu) * .3287)); opacity: 1; transition: opacity 1.1s ease .5s, visibility 0s 1.6s; }
.stage--gl .stage__poster { opacity: 0; visibility: hidden; }
.stage--nogl .stage__poster, .stage--off .stage__poster { opacity: 1; visibility: visible; transition: none; }
@media (max-width: 899px) { .stage__poster { --ppu: min(100cqh / 4.9, 100cqw / 3.3); width: calc(var(--ppu) * 2.189); height: calc(var(--ppu) * 4.222); transform: translate(-50%, -50%) translateY(calc(var(--ppu) * -.0493)); } }
.stage--nogl .stage__canvas, .stage--off .stage__canvas { display: none; }
.stage__top { position: absolute; left: 0; right: 0; top: clamp(14px, 2.4vw, 28px); margin-inline: auto; z-index: 4; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.stage__top .lab { color: var(--ink); }
.stage__foot { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 40px); margin-inline: auto; z-index: 4; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; }
.stage__tag { margin: 0; max-width: none; font: 400 clamp(1.7rem, 3.6vw, 3.5rem)/1.02 var(--f-sans); letter-spacing: -.03em; }
.stage__tag > * { display: block; }
.stage__cta { display: flex; align-items: center; gap: 26px; }
.stage__scroll { display: inline-flex; align-items: center; gap: 12px; font: 500 .8125rem var(--f-sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--mute); min-height: 44px; }
.stage__scroll i { display: block; width: 1px; height: 46px; background: linear-gradient(var(--ink), transparent); transform-origin: 50% 0; }
.pin3d { display: none; }
.stage.is-story .pin3d { display: block; position: absolute; z-index: 3; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); }
.stage.is-story .pin3d.is-vis { opacity: 1; }
.pin3d__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--cob); box-shadow: 0 0 0 5px rgba(26, 57, 214, .18), 0 0 0 1px #fff inset; }
.pin3d__line { position: absolute; right: 7px; top: 0; height: 1px; width: var(--len, 200px); background: var(--ink); transform-origin: 100% 50%; opacity: .7; }
.stage__ticks { display: none; list-style: none; margin: 0; padding: 0; }
.stage.is-story .stage__ticks { opacity: 0; transition: opacity .5s; display: flex; flex-direction: column; gap: 8px; position: absolute; z-index: 4; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%); }
.stage.is-story .stage__ticks.is-vis { opacity: 1; }
.stage__ticks li { width: 2px; height: 22px; background: var(--line2); transition: height .5s var(--ease), background .4s; }
.stage__ticks li.is-on { height: 48px; background: var(--cob); }
@media (prefers-reduced-motion: no-preference) {
  .pin3d__dot { animation: pinpulse 2.4s var(--ease) infinite; }
  @keyframes pinpulse { 0% { box-shadow: 0 0 0 0 rgba(26, 57, 214, .35); } 100% { box-shadow: 0 0 0 16px rgba(26, 57, 214, 0); } }
  .stage__scroll i { animation: cue 2.4s var(--ease) infinite; }
  @keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
}
/* сюжет: подписи к зубу */
.story { list-style: none; margin: 0 auto; padding: clamp(48px, 7vw, 100px) var(--gut) 0; max-width: calc(var(--wrap) + var(--gut) * 2); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 44px); }
.story__cap { border-top: 1px solid var(--ink); padding-top: 16px; }
.story__n { font: 500 .8125rem var(--f-sans); letter-spacing: .14em; color: var(--cob); }
.story__t { margin: 10px 0 10px; font: 300 clamp(2rem, 3vw, 2.8rem)/1 var(--f-serif); letter-spacing: -.03em; }
.story__cap p { margin: 0; color: var(--mute); font-size: 1.02rem; line-height: 1.5; }
.stage.is-story .story { position: absolute; z-index: 4; inset: 0; margin: 0; padding: 0; max-width: none; display: block; pointer-events: none; }
.stage.is-story .story__cap { position: absolute; left: max(var(--gut), calc((100% - var(--wrap)) / 2)); top: 50%; width: min(400px, 36vw); margin-top: -110px; border-top: 0; padding-top: 0; }
.stage.is-story .story__n { display: block; }
.stage.is-story .story__t { font-size: clamp(3rem, 6.6vw, 6.4rem); margin: 12px 0 14px; }
.stage.is-story .story__cap p { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink); max-width: 20em; }

/* вступление */
.intro { padding-top: clamp(88px, 13vw, 200px); }
.intro__lead { margin: 0; max-width: 21em; font: 300 clamp(1.9rem, 4.5vw, 4.2rem)/1.1 var(--f-serif); letter-spacing: -.03em; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px); margin-top: clamp(44px, 6vw, 96px); align-items: start; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts > div { display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .8125rem/1.5 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.facts dd { margin: 0; font-size: 1.1rem; }
.offer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pill { display: inline-flex; align-items: baseline; gap: 14px; margin: 0; padding: 12px 26px 12px 22px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.pill .lab { color: var(--cob); }
.pill__price { font: 300 clamp(1.8rem, 2.6vw, 2.4rem)/1 var(--f-serif); letter-spacing: -.03em; white-space: nowrap; }
.offer__note { margin: 0; flex: 1 1 220px; color: var(--mute); font-size: 1.02rem; line-height: 1.5; }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(36px, 5vw, 64px); }
.door { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; min-height: 112px; padding: 22px 26px; border: 1px solid var(--line2); border-radius: 28px; background: #fff; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; font: inherit; position: relative; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s var(--ease), box-shadow .5s var(--ease), transform .3s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); border-radius: 50% 50% 0 0 / 80% 80% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.door:hover { color: #fff; border-color: var(--ink); }
.door:hover::before { transform: none; border-radius: 0; }
.door:active { transform: scale(.985); }
.door__t { font: 400 clamp(1.6rem, 2.2vw, 2rem)/1.1 var(--f-sans); letter-spacing: -.028em; }
.door__s { grid-column: 1; font-size: .98rem; line-height: 1.4; color: var(--mute); transition: color .45s; }
.door:hover .door__s { color: rgba(255, 255, 255, .82); }
.door__ico { grid-column: 2; grid-row: 1 / span 2; width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.door:hover .door__ico { transform: translateX(6px); }
.door--primary { background: var(--cob); border-color: var(--cob); color: #fff; }
.door--primary .door__s { color: rgba(255, 255, 255, .88); }
.badge { display: inline-block; margin: 0; padding: 4px 14px; border: 1px solid var(--ink); border-radius: 999px; font: 500 .8125rem/1.5 var(--f-sans); letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .6); }
.badge.is-open { background: var(--cob); border-color: var(--cob); color: #fff; }
.badge--lg { font-size: .85rem; padding: 6px 18px; }

/* цифры */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(72px, 10vw, 150px); }
.stat { border-top: 1px solid var(--ink); padding-top: 22px; }
.stat__n { margin: 0; font: 300 clamp(3.6rem, 8vw, 7.4rem)/.92 var(--f-serif); letter-spacing: -.05em; }
.stat__n small { font: 500 .8125rem var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--cob); margin-left: 8px; }
.stat__t { margin: 14px 0 0; color: var(--mute); font-size: 1.02rem; max-width: 18em; line-height: 1.45; }

/* разделы */
.sec { padding-top: clamp(96px, 13vw, 210px); }
.sec__head { display: block; margin-bottom: clamp(40px, 5.5vw, 84px); }
.sec__no { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(18px, 2.6vw, 34px); }
.sec__no i { font-style: normal; color: var(--cob); }
.sec__no::after { content: ""; flex: 0 1 72px; height: 1px; background: var(--line2); }
.sec__no--back::after { display: none; }
.sec h2 { max-width: 15em; font-size: clamp(2.3rem, 5.2vw, 4.9rem); line-height: 1; letter-spacing: -.03em; font-weight: 400; }
.sec__lead { margin: clamp(20px, 2.6vw, 34px) 0 0; max-width: 34em; color: var(--mute); font-size: clamp(1.08rem, 1.45vw, 1.28rem); }
/* слова заголовков выезжают из-под маски */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em 0; margin: 0 -.08em -.14em 0; }
.wi { display: inline-block; will-change: transform; }

/* зубная формула — точный интерфейс */
.formula { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(18px, 3vw, 48px); background: var(--paper); border-radius: 36px; padding: clamp(22px, 3.2vw, 48px); margin-bottom: clamp(48px, 6vw, 96px); }
.fx-read { display: flex; flex-direction: column; border-right: 1px solid var(--line2); padding-right: clamp(14px, 2.4vw, 36px); min-width: 0; }
.fx-n { margin: 12px 0 0; font: 300 clamp(5rem, 9vw, 8rem)/.9 var(--f-serif); color: var(--cob); letter-spacing: -.05em; min-height: .9em; font-variant-numeric: lining-nums; transition: color .3s; }
.fx-n.is-idle { color: var(--line2); }
.fx-name { margin: 12px 0 0; font: 400 1.2rem/1.25 var(--f-sans); letter-spacing: -.02em; min-height: 2.5em; }
.fx-zone { margin: 8px 0 0; font-size: 1rem; line-height: 1.45; color: var(--mute); }
.fx-hint { margin: auto 0 0; padding-top: 16px; font-size: .95rem; line-height: 1.45; color: var(--mute); }
.fx-scroll { align-self: center; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; padding-bottom: 4px; }
.fx-grid { min-width: 560px; }
.fx-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)) 1px repeat(8, minmax(0, 1fr)); align-items: stretch; }
.fx-mid { background: var(--line2); }
.fx-axis { display: flex; justify-content: space-between; align-items: center; margin: 6px 0; font: 500 .8rem var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); padding: 5px 6px; }
.fx-t { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; min-width: 0; padding: 10px 0 8px; border: 0; border-radius: 14px; background: none; cursor: pointer; transition: background .3s, transform .4s var(--ease); }
.fx-t svg { width: 90%; max-width: 62px; height: auto; display: block; overflow: visible; }
.fx-low svg { transform: scaleY(-1); }
.fx-num { font: 500 .85rem/1 var(--f-sans); font-variant-numeric: tabular-nums; color: var(--mute); transition: color .25s; }
.fx-c { fill: #fff; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .3s, stroke .3s; stroke-linejoin: round; }
.fx-r { fill: var(--tint); stroke: var(--ink); stroke-width: .8; opacity: .75; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.fx-d { fill: none; stroke: var(--ink); stroke-width: .8; opacity: .35; vector-effect: non-scaling-stroke; }
.fx-t:hover { transform: translateY(-3px); }
.fx-low .fx-t:hover { transform: translateY(3px); }
.fx-t.is-zone { background: var(--tint); }
.fx-t.is-zone .fx-c { fill: var(--tint2); stroke: var(--cob); }
.fx-t.is-on .fx-c { fill: var(--cob); stroke: var(--cob); }
.fx-t.is-on .fx-d { stroke: #fff; opacity: .8; }
.fx-t.is-on .fx-num, .fx-t.is-zone .fx-num { color: var(--cob); }
.fx-t:focus-visible { outline: 3px solid var(--cob); outline-offset: -1px; background: var(--tint); }
html.a11y .fx-c, html.a11y .fx-r { stroke-width: 1.8; }

/* схема челюстей и цены по зонам */
.odo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.chips { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
.chip { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 8px; text-align: left; padding: 20px 0 20px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; transition: padding .5s var(--ease), background .3s; }
.chip::before { content: ""; position: absolute; left: 0; top: 0; bottom: -1px; width: 3px; background: var(--cob); transform: scaleY(0); transform-origin: 50% 0; transition: transform .5s var(--ease); }
.chip__code { grid-row: 1 / span 2; font: 500 .8125rem/1.9 var(--f-sans); letter-spacing: .14em; color: var(--cob); padding-left: 0; }
.chip__name { font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.1 var(--f-sans); letter-spacing: -.028em; transition: color .3s; }
.chip__sub { font-size: .98rem; line-height: 1.35; color: var(--mute); }
.chip:hover .chip__name, .chip.is-hover .chip__name { color: var(--cob); }
.chip[aria-pressed="true"] { padding-left: 22px; background: linear-gradient(90deg, var(--tint), transparent); }
.chip[aria-pressed="true"]::before { transform: scaleY(1); }
.chip[aria-pressed="true"] .chip__name { color: var(--cob); }
.odo__fig { margin-top: 28px; display: grid; gap: 14px; }
.arch { position: relative; margin: 0; padding: 38px 10px 12px; border-radius: 28px; background: var(--paper); }
.arch figcaption { position: absolute; left: 20px; top: 15px; color: var(--mute); }
.odo__hint { margin-top: 16px; color: var(--mute); font: 400 1rem/1.45 var(--f-sans); letter-spacing: 0; text-transform: none; }
.odo-svg { display: block; width: 100%; height: auto; overflow: visible; }
.gum { fill: none; stroke: #eceffa; stroke-width: 50; stroke-linecap: round; cursor: pointer; transition: stroke .35s; }
.gum.is-hover { stroke: var(--tint); }
.gum.is-on { stroke: var(--tint2); }
.tooth { cursor: pointer; }
.t-s { fill: #fff; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; transition: fill .3s, stroke .3s; }
.t-d { fill: none; stroke: var(--ink); stroke-width: .8; opacity: .4; vector-effect: non-scaling-stroke; }
.tooth.is-hover .t-s { fill: var(--tint); stroke: var(--cob); }
.tooth.is-on .t-s { fill: var(--cob); stroke: var(--cob); }
.tooth.is-on .t-d { stroke: #fff; opacity: .85; }
.num { font: 500 10px "Inter Tight", Arial, sans-serif; fill: #6a7088; font-variant-numeric: tabular-nums; transition: fill .2s; }
.cap { font: 500 9.5px "Inter Tight", Arial, sans-serif; fill: var(--ink); letter-spacing: .14em; text-transform: uppercase; }
.cap2 { fill: #6a7088; }
.mid { stroke: #b6bbd0; stroke-dasharray: 2 4; fill: none; vector-effect: non-scaling-stroke; }
html.a11y .t-s { stroke-width: 1.6; }
html.a11y .gum { stroke: #e4e4ee; }
html.a11y .num, html.a11y .cap2 { fill: #0b0e1c; }

.zpanel { background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: clamp(24px, 3.4vw, 52px); box-shadow: 0 50px 90px -60px rgba(11, 14, 28, .45); }
.zpanel[hidden] { display: none; }
.zpanel.is-on { animation: zin .7s var(--ease); }
@keyframes zin { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.zpanel__code { color: var(--cob); }
.zpanel h3 { margin: 12px 0 16px; font-size: clamp(2.2rem, 3.8vw, 3.6rem); letter-spacing: -.03em; line-height: 1; font-weight: 400; }
.zpanel__desc { margin: 0; font-size: 1.14rem; max-width: 34em; color: var(--mute); }
.zpanel__lab { margin: 32px 0 10px; }
.zpanel__list { margin: 0; padding: 0; list-style: none; }
.zpanel__list li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); }
.zpanel__list li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: 18px; height: 1.5px; background: var(--cob); }
.ledger { margin: 0; padding: 0; list-style: none; }
.ledger li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.ledger__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; flex-wrap: wrap; }
.ledger__name { font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.2 var(--f-sans); letter-spacing: -.025em; }
.ledger__price { font: 300 clamp(1.6rem, 2.2vw, 2.1rem)/1.1 var(--f-serif); letter-spacing: -.03em; color: var(--cob); white-space: nowrap; font-variant-numeric: lining-nums; }
.ledger p { margin: 8px 0 0; font-size: 1.02rem; max-width: 46em; }
.ledger__exc { color: var(--mute); }
.zpanel__fine { margin: 16px 0 0; color: var(--mute); font-size: 1rem; }

/* приём по минутам */
.visit { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.tl { list-style: none; margin: 0; padding: 0; }
.tlwrap { position: relative; --tlw: clamp(84px, 11vw, 160px); }
.tlwrap::before { content: ""; position: absolute; left: var(--tlw); top: 12px; bottom: 12px; width: 1px; background: var(--line2); }
.tl__fill { position: absolute; left: var(--tlw); top: 12px; width: 3px; margin-left: -1px; height: 0; background: var(--cob); border-radius: 2px; transition: height .7s var(--ease); }
.tl__item { display: grid; grid-template-columns: var(--tlw) minmax(0, 1fr); column-gap: clamp(24px, 3.4vw, 48px); padding: clamp(22px, 2.8vw, 38px) 0; position: relative; }
.tl__min { font: 300 clamp(3rem, 5.6vw, 5.2rem)/.9 var(--f-serif); letter-spacing: -.05em; color: var(--line2); text-align: right; padding-right: 24px; transition: color .5s; font-variant-numeric: lining-nums; }
.tl__item::before { content: ""; position: absolute; left: var(--tlw); top: clamp(34px, 3.6vw, 48px); width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line2); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.tl__item.is-on .tl__min { color: var(--cob); }
.tl__item.is-on::before { border-color: var(--cob); background: var(--cob); transform: scale(1.4); }
.tl__body { transition: transform .5s var(--ease); }
.tl__item.is-on .tl__body { transform: translateX(6px); }
.tl__body .lab { color: var(--cob); }
.tl__body h3 { margin: 6px 0 8px; font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; }
.tl__body p:not(.lab) { margin: 0; max-width: 38em; color: var(--mute); }
.note-box { margin-top: 38px; border-radius: 28px; background: var(--paper); padding: 22px 28px; max-width: 46em; }
.note-box .lab { color: var(--cob); margin-bottom: 8px; }
.note-box p:not(.lab) { margin: 0; }
.dial { position: sticky; top: calc(var(--head-h) + 28px); margin: 0; background: var(--paper); border-radius: 36px; padding: clamp(22px, 3vw, 40px); }
.dial svg { display: block; width: 100%; height: auto; overflow: visible; }
.d-track { fill: none; stroke: var(--line2); stroke-width: 3; }
.seg { fill: none; stroke: var(--tint2); stroke-width: 12; transition: stroke .5s, stroke-width .5s; cursor: default; }
.seg:nth-of-type(even) { stroke: #cdd5fa; }
.seg.is-on { stroke: var(--cob); stroke-width: 20; }
.d-tick { stroke: var(--ink); stroke-width: 1; opacity: .55; }
.d-hand { transform-origin: 150px 150px; transition: transform 1.1s var(--ease); }
.d-hand line { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.d-hand circle { fill: #fff; stroke: var(--ink); }
.d-big { font: 300 54px "Noto Serif Display", Georgia, serif; fill: var(--cob); text-anchor: middle; letter-spacing: -2px; font-variant-numeric: lining-nums; }
.d-min { font: 500 11px "Inter Tight", Arial, sans-serif; fill: var(--mute); text-anchor: middle; letter-spacing: 2px; text-transform: uppercase; }
.dial__cap { margin: 14px 0 0; text-align: center; font: 300 1.7rem/1.2 var(--f-serif); letter-spacing: -.02em; min-height: 2.4em; }
.dial__sub { margin: 4px 0 0; text-align: center; color: var(--mute); font-size: .98rem; }

/* врач */
.doc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 110px); align-items: start; }
.doc__card { background: var(--cob); color: #fff; border-radius: 36px; padding: clamp(24px, 3vw, 40px); min-height: 480px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; position: relative; overflow: hidden; }
.doc__card .lab { color: rgba(255, 255, 255, .8); }
.doc__init { margin: 0; font: 300 clamp(8rem, 17vw, 13rem)/.8 var(--f-serif); letter-spacing: -.07em; color: #fff; }
.doc__init span { color: rgba(255, 255, 255, .45); }
.doc__name { margin: 0; font: 400 1.8rem/1.1 var(--f-sans); letter-spacing: -.028em; }
.doc__demo { color: rgba(255, 255, 255, .8) !important; }
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin: 0 0 clamp(32px, 4vw, 52px); padding: 0; list-style: none; }
.facts3 li { border-top: 1px solid var(--ink); padding-top: 16px; }
.facts3 b { display: block; font: 300 clamp(1.5rem, 2.2vw, 2.1rem)/1.1 var(--f-serif); letter-spacing: -.03em; font-weight: 300; }
.facts3 span { display: block; margin-top: 8px; color: var(--mute); font-size: .98rem; line-height: 1.4; }
.edu { list-style: none; margin: 0 0 12px; padding: 0 0 0 6px; position: relative; }
.edu::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: 14px; width: 1px; background: var(--line2); }
.edu li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 22px; padding: 14px 0 14px 28px; position: relative; }
.edu li::before { content: ""; position: absolute; left: 0; top: 26px; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 1.5px solid var(--cob); }
.edu li.is-ok::before { background: var(--cob); }
.edu__y { font: 300 1.7rem/1.1 var(--f-serif); letter-spacing: -.03em; color: var(--cob); font-variant-numeric: lining-nums; }
.edu__t { margin: 0; font-size: 1.08rem; color: var(--mute); }
.edu__t b { display: block; font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; font-weight: 500; }
.kv { margin: 0; }
.kv > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 8px 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.kv > div:last-child { border-bottom: 1px solid var(--line); }
.kv dt { font: 500 .8125rem/1.6 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.kv dd { margin: 0; font-size: 1.08rem; }
.kv--tight > div { grid-template-columns: 150px minmax(0, 1fr); padding: 13px 0; }
.kv--tight dd { font-size: 1.02rem; }
.doc__act { margin: 36px 0 0; }

/* цены */
.prices { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.how { border-top: 1px solid var(--ink); padding-top: 16px; position: sticky; top: calc(var(--head-h) + 28px); }
.how .lab { color: var(--cob); margin-bottom: 10px; }
.how ol { margin: 0; padding: 0; list-style: none; counter-reset: h; }
.how li { counter-increment: h; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); position: relative; font-size: 1.04rem; }
.how li::before { content: counter(h); position: absolute; left: 0; top: 10px; font: 300 1.9rem/1.2 var(--f-serif); color: var(--cob); }
.how__pay { margin: 16px 0 0; color: var(--mute); font-size: 1rem; }
.ptable { display: block; }
.prow { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.25fr) minmax(0, 3fr) minmax(0, 3fr); gap: 4px 28px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; transition: background .4s; }
.prow:not(.prow--head) .prow__name { transition: color .3s, transform .5s var(--ease); }
.prow:not(.prow--head):hover .prow__name { color: var(--cob); transform: translateX(6px); }
.prow--head { font: 500 .8rem var(--f-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); border-bottom: 1px solid var(--ink); padding: 10px 0; }
.pgroup { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; margin-top: 52px; padding: 10px 0 14px; border-bottom: 1px solid var(--ink); font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.15 var(--f-sans); letter-spacing: -.03em; }
.pgroup__code { color: var(--cob); font-family: var(--f-serif); font-style: italic; font-weight: 300; }
.prow__name { font: 400 1.3rem/1.25 var(--f-sans); letter-spacing: -.025em; }
.prow__n { font: 500 .8125rem/1 var(--f-sans); letter-spacing: .08em; color: var(--mute); margin-right: 12px; font-style: normal; }
.prow__price { font: 300 1.6rem/1.2 var(--f-serif); letter-spacing: -.03em; color: var(--cob); font-variant-numeric: lining-nums; }
.prow__inc, .prow__exc { font-size: 1rem; line-height: 1.5; }
.prow__exc { color: var(--mute); }
.prow b { display: none; font-weight: 600; }

/* документы */
.info { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.docs { list-style: none; margin: 0; padding: 0; }
.docs li { display: grid; grid-template-columns: 60px minmax(0, 1fr); padding: 20px 0; border-top: 1px solid var(--line); }
.docs li:last-child { border-bottom: 1px solid var(--line); }
.docs .lab { color: var(--cob); padding-top: 4px; }
.docs b { font: 400 1.3rem/1.2 var(--f-sans); letter-spacing: -.025em; }
.docs p { margin: 6px 0 0; color: var(--mute); font-size: 1.02rem; }
.legal { background: var(--paper); border-radius: 36px; padding: clamp(24px, 3vw, 44px); }
.legal__lab { color: var(--cob); margin-bottom: 10px; }
.qrbox { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.qr { width: 112px; height: 112px; flex: none; border: 1px solid var(--ink); border-radius: 10px; background: #fff; }
.prep { margin-top: clamp(48px, 6vw, 96px); }
.prep h3 { margin: 10px 0 26px; font-size: clamp(1.9rem, 3.2vw, 3rem); letter-spacing: -.03em; line-height: 1.05; }
.prep__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); counter-reset: p; }
.prep__list li { counter-increment: p; border-top: 1px solid var(--ink); padding: 18px 0 0; font-size: 1.02rem; line-height: 1.5; color: var(--mute); }
.prep__list li::before { content: "0" counter(p); display: block; margin-bottom: 14px; font: 300 2.2rem/1 var(--f-serif); letter-spacing: -.03em; color: var(--cob); }
.prep__list b { display: block; margin-bottom: 6px; font-size: 1.15rem; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }

/* вопросы */
.faqwrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.ask { position: sticky; top: calc(var(--head-h) + 28px); background: var(--paper); border-radius: 36px; padding: clamp(24px, 2.8vw, 38px); }
.ask .lab { color: var(--cob); }
.ask__t { margin: 10px 0 22px; font: 400 clamp(1.5rem, 2vw, 1.9rem)/1.15 var(--f-sans); letter-spacing: -.028em; }
.ask__act { margin: 0 0 12px; }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 76px; padding: 18px 4px; cursor: pointer; font: 400 clamp(1.3rem, 2.1vw, 1.75rem)/1.2 var(--f-sans); letter-spacing: -.028em; transition: color .3s, padding .5s var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat; transition: transform .6s var(--ease), background-color .3s, border-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--tint); border-color: var(--cob); }
.faq summary:hover { color: var(--cob); padding-left: 12px; }
.faq__a { margin: 0; padding: 0 64px 26px 4px; max-width: 46em; color: var(--mute); }
.faq details[open] .faq__a { animation: zin .6s var(--ease); }

/* запись */
.book { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.form { background: var(--paper); border-radius: 36px; padding: clamp(24px, 3.2vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.form > * { grid-column: 1 / -1; }
.form > .field { grid-column: auto; }
.field { margin-bottom: 20px; min-width: 0; }
.field label { display: block; margin-bottom: 9px; font: 500 .95rem/1.2 var(--f-sans); letter-spacing: -.005em; }
.opt { font: 400 .9rem/1 var(--f-sans); color: var(--mute); margin-left: 6px; }
.field input, .field select { width: 100%; min-height: 60px; padding: 0 20px; border: 1px solid var(--line2); border-radius: 18px; background: #fff; font: 400 1.125rem/1.2 var(--f-sans); color: var(--ink); appearance: none; -webkit-appearance: none; transition: border-color .3s, box-shadow .3s; }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 26px) 27px, calc(100% - 20px) 27px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 48px; }
.field input:focus-visible, .field select:focus-visible { outline: 0; border-color: var(--cob); box-shadow: 0 0 0 5px var(--tint2); }
.form__hint { margin: 0 0 14px; color: var(--mute); font-size: 1rem; }
.form__hint a, .legalpage a { color: var(--cob); }
.check { display: flex; align-items: flex-start; gap: 14px; min-height: 44px; margin-bottom: 8px; font-size: 1.06rem; cursor: pointer; }
.check input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--cob); }
.check a { color: var(--cob); }
.form .btn { margin-top: 12px; margin-bottom: 16px; }
.book__side { padding-top: 6px; }
.book__phone { margin: 12px 0 22px; }
.bigphone { padding: 0; border: 0; background: none; cursor: pointer; font: 300 clamp(2.2rem, 4.2vw, 3.6rem)/1.05 var(--f-serif); letter-spacing: -.04em; min-height: 44px; text-align: left; font-variant-numeric: lining-nums; transition: color .3s; }
.bigphone:hover { color: var(--cob); }
.msgs { display: flex; flex-wrap: wrap; gap: 10px; }
.msgs .btn { flex: 1 1 110px; }
.book__pay { margin: 26px 0 0; color: var(--mute); font-size: 1.02rem; }

/* контакты */
.contacts { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.contacts__map { min-width: 0; }
.mapbox { border-radius: 36px; overflow: hidden; background: var(--paper); }
.map { display: block; width: 100%; height: auto; }
.map__lbl { font: 500 13px "Inter Tight", Arial, sans-serif; letter-spacing: .02em; }
.room { margin: 20px 0 0; border-radius: 36px; overflow: hidden; }
.room img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; background: var(--tint); transform-origin: 50% 60%; }
.room figcaption { padding: 0 4px; }
.room figcaption { margin-top: 12px; }
.mapbox__cap { padding: 14px 24px; color: var(--mute); }
.contacts__info { position: sticky; top: calc(var(--head-h) + 28px); }
.contacts__info > .lab { color: var(--mute); }
.contacts__addr { margin: 8px 0 18px; font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.12 var(--f-sans); letter-spacing: -.03em; }
.contacts__open { margin: 0 0 22px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.hours td { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--cob); font-weight: 600; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--cob); margin-right: 10px; }
.contacts__act { margin: 0; }

/* подвал */
.foot { position: relative; overflow: hidden; background: #fff; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 72px); padding-top: clamp(44px, 6vw, 80px); padding-bottom: 24px; }
.foot .lab { margin-bottom: 10px; }
.foot__t { margin: 10px 0 0; font-size: 1.02rem; color: var(--mute); }
.foot__t a { color: var(--cob); }
.foot__list { list-style: none; margin: 0; padding: 0; }
.foot__list li { font-size: 1.02rem; padding: 4px 0; }
.foot__list li:not(:has(button)) { min-height: 32px; }
.brand--foot { display: flex; margin: 0; }
.foot__word { margin: clamp(10px, 3vw, 40px) 0 -.17em; text-align: center; font: 300 min(34vw, 520px)/.86 var(--f-serif); letter-spacing: -.05em; color: var(--tint); user-select: none; white-space: nowrap; overflow: hidden; }
.foot__bottom { position: relative; padding-bottom: 8px; }
.foot__bottom p { margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--mute); font-size: 1rem; background: #fff; }
.foot__bottom a { color: var(--cob); }
.nx-meta-note { position: relative; margin: 0; padding: 0 var(--gut) 24px; font-size: .88rem; color: var(--mute); opacity: 1; background: #fff; }
.mbar { display: none; }

/* юридические страницы */
.legalpage { padding-top: clamp(36px, 6vw, 80px); padding-bottom: 24px; }
.legalpage__h { margin: 18px 0 30px; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -.03em; font-weight: 400; max-width: 14em; }
.legalpage__body { max-width: 46rem; }
.legalpage__body h2 { margin: 36px 0 10px; font-size: 1.7rem; letter-spacing: -.028em; }
.legalpage__body p { margin: 0 0 14px; }
.lede { font-size: 1.3rem; }
.legalpage .sec__no a { text-decoration: none; }

@media (min-width: 900px) and (min-height: 820px) { .odo__left { position: sticky; top: calc(var(--head-h) + 24px); } }

/* адаптив */
@media (min-width: 1080px) {
  .menu-btn { display: none; }
  .nav { display: block; position: static; padding: 0; border: 0; background: none; }
  .nav ul { flex-direction: row; }
  .nav a { width: auto; border-bottom: 0; min-height: 44px; font-size: .98rem; }
  .nav a::after { display: block; }
  .head-tools .btn { display: inline-flex; }
}
@media (min-width: 1200px) { .head-phone { display: inline-flex; align-items: center; } }
@media (min-width: 1380px) { .a11y-btn__txt { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
@media (max-width: 1079px) { .head-in { gap: 12px; } }
@media (max-width: 1100px) { .prep__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .story { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 899px) {
  .stage.is-story .pin3d { display: none; }
  .odo, .visit, .doc, .prices, .info, .book, .contacts, .faqwrap, .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .ask, .contacts__info { position: static; }
  .formula { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
  .fx-read { border-right: 0; border-bottom: 1px solid var(--line2); padding: 0 0 14px; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; }
  .fx-read .lab { flex: 1 1 100%; }
  .fx-n { margin: 0; font-size: 4rem; }
  .fx-name { margin: 0; min-height: 0; }
  .fx-zone { margin: 0; flex: 1 1 100%; }
  .fx-hint { display: none; }
  .how { position: static; }
  .dial { position: static; max-width: 460px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .odo__fig { grid-template-columns: 1fr 1fr; }
  .arch { padding: 30px 4px 4px; }
  .arch figcaption { left: 12px; top: 10px; }
  .odo-nums, .cap { display: none; }
  .gum { stroke-width: 56; }
  .foot__in { grid-template-columns: 1fr; }
  .prow { grid-template-columns: minmax(0, 1fr) auto; padding: 18px 0; }
  .prow--head { display: none; }
  .prow__inc, .prow__exc { grid-column: 1 / -1; }
  .prow b { display: inline; }
  .prow__price { text-align: right; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
  body { padding-bottom: 76px; }
  .kv > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .doc__card { min-height: 340px; }
  .prep__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 96px; }
  .stage__foot { flex-direction: column; align-items: flex-start; }
  .stage__foot { bottom: 96px; }
  .stage__scroll { display: none; }
  .stage.is-story .story__cap { left: var(--gut); right: var(--gut); top: auto; bottom: 26px; width: auto; margin-top: 0; }
  .stage.is-story .story__t { font-size: clamp(2.6rem, 11vw, 3.6rem); margin: 8px 0 8px; }
  .stage.is-story .story__cap p { font-size: 1.05rem; max-width: 24em; }
  .stage.is-story .stage__ticks { right: 10px; }
  .stage__word { font-size: min(31vw, 46vh); }
  .stage__cta { display: none; }
  .story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .form { grid-template-columns: 1fr; }
  .form > .field { grid-column: 1 / -1; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .facts3 { grid-template-columns: 1fr; }
  .edu li { grid-template-columns: minmax(0, 1fr); }
  .faq__a { padding-right: 8px; }
  .prep__list { grid-template-columns: minmax(0, 1fr); }
  .tl__item { column-gap: 18px; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .stage__word { font-size: 31vw; }
  .btn--lg { min-height: 58px; padding: 0 32px; }
}
@media (max-width: 420px) {
  .btn { padding: 0 20px; }
  .odo__fig { grid-template-columns: 1fr; }
  .stat__n { font-size: 3.4rem; }
}

/* телефон: касание от 44 px, мелкий текст от 16 px */
@media (max-width: 899px) {
  /* меню под большим пальцем: кнопка «Меню» в нижней панели, список открывается снизу над ней (у шапки на телефоне нет blur, иначе fixed считался бы от шапки) */
  .site-head, .site-head.is-scrolled { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .96); }
  .mbar { grid-template-columns: 1fr 1fr 56px; }
  .mbar .btn { padding: 0 10px; }
  .mbar .mbar__menu { padding: 0; min-width: 56px; }
  .mbar__menu .menu-btn__bars, .mbar__menu .menu-btn__bars::before { background: currentColor; }
  .mbar__menu .menu-btn__bars::before { box-shadow: 0 12px 0 currentColor; }
  .mbar__menu[aria-expanded="true"] { background: var(--ink); color: #fff; }
  .nav { position: fixed; left: 0; right: 0; top: auto; bottom: calc(76px + env(safe-area-inset-bottom)); max-height: min(68svh, 440px); overflow-y: auto; padding: 6px var(--gut) 10px; border: 0; border-top: 1px solid var(--line); border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -24px 48px -28px rgba(11, 14, 28, .5); }
  .nav a { min-height: 52px; font-size: 1.1rem; }
  .fx-grid { min-width: 706px; }
  .nx-ribbon a { position: relative; }
  .nx-ribbon a::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
  .door__s, .chip__sub, .dial__sub, .facts3 span, .field label, .opt, .nx-meta-note { font-size: 1rem; }
}

/* ниже первого экрана секции рендерятся по мере приближения (content-visibility); ориентировочные высоты замерены на 390 / 768 / 1440 px */
#chart, #visit, #doctor, #prices, #info, #faq, #book, #contacts, .foot { content-visibility: auto; }
@media (max-width: 639px) { #chart { contain-intrinsic-size: auto 4250px; } #visit { contain-intrinsic-size: auto 2550px; } #doctor { contain-intrinsic-size: auto 2050px; } #prices { contain-intrinsic-size: auto 4500px; } #info { contain-intrinsic-size: auto 3300px; } #faq { contain-intrinsic-size: auto 1150px; } #book { contain-intrinsic-size: auto 1550px; } #contacts { contain-intrinsic-size: auto 1400px; } .foot { contain-intrinsic-size: auto 1160px; } }
@media (min-width: 640px) and (max-width: 899px) { #chart { contain-intrinsic-size: auto 3130px; } #visit { contain-intrinsic-size: auto 2020px; } #doctor { contain-intrinsic-size: auto 1650px; } #prices { contain-intrinsic-size: auto 3320px; } #info { contain-intrinsic-size: auto 2560px; } #faq { contain-intrinsic-size: auto 1080px; } #book { contain-intrinsic-size: auto 1110px; } #contacts { contain-intrinsic-size: auto 1780px; } .foot { contain-intrinsic-size: auto 1180px; } }
@media (min-width: 900px) { #chart { contain-intrinsic-size: auto 2860px; } #visit { contain-intrinsic-size: auto 1850px; } #doctor { contain-intrinsic-size: auto 1470px; } #prices { contain-intrinsic-size: auto 2970px; } #info { contain-intrinsic-size: auto 1650px; } #faq { contain-intrinsic-size: auto 950px; } #book { contain-intrinsic-size: auto 1170px; } #contacts { contain-intrinsic-size: auto 1340px; } .foot { contain-intrinsic-size: auto 930px; } }

/* версия для слабовидящих: крупно, без анимации, без 3D */
html.a11y body { line-height: 1.7; }
html.a11y a:not(.btn):not(.brand):not(.door) { text-decoration: underline; }
html.a11y .btn, html.a11y .field input, html.a11y .field select, html.a11y .door, html.a11y .a11y-btn { border-width: 2px; border-color: var(--ink); }
html.a11y .btn--primary { background: #1229a8; border-color: #1229a8; }
html.a11y .band { background: #0c1c80; color: #fff; }
html.a11y .warn { color: #000; border-width: 2px; }
html.a11y .stage__bg { background: #fff; }
html.a11y .stage__pin { height: auto; min-height: 0; padding: 36px 0 48px; display: grid; gap: 24px; }
html.a11y .stage__h1, html.a11y .stage__gl, html.a11y .stage__top, html.a11y .stage__foot { position: relative; inset: auto; }
html.a11y .stage__gl { height: 300px; }
html.a11y .stage__top { order: -1; }
html.a11y .stage__word { font-size: min(30vw, 240px); text-align: center; }
html.a11y .stage__top, html.a11y .stage__foot { left: auto; right: auto; bottom: auto; top: auto; }
html.a11y .stage__word, html.a11y .stage__top, html.a11y .stage__foot { opacity: 1 !important; filter: none !important; transform: none !important; visibility: visible !important; }
html.a11y .wi, html.a11y .chi { transform: none !important; }
html.a11y *, html.a11y *::before, html.a11y *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
html.a11y .head-phone { display: none; }
html.a11y .foot__word { color: var(--line); }

/* спокойный режим: без движения, всё видно сразу */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .wi, .chi { transform: none !important; }
}
.stage--static .stage__pin { height: calc(100vh - var(--chrome)); height: calc(100svh - var(--chrome)); }
