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

:root {
  --stage: #0c0f13;
  --stage-2: #151a21;
  --ti: #d6d9dd;
  --ti-2: #c4c8ce;
  --ti-hi: #fafbfc;
  --ink: #111419;
  --ink-2: #474e58;
  --mist: #9aa3ae;
  --frost: #e9edf2;
  --gold: #d4b05a;
  --violet: #a24ac8;
  --cobalt: #3a7bf0;
  --anod: linear-gradient(90deg, var(--gold), var(--violet) 52%, var(--cobalt));
  --display: "Tektur", system-ui, sans-serif;
  --text: "Commissioner", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: var(--stage); scrollbar-color: #3a414b var(--stage); }
body { margin: 0; color: var(--frost); font: 400 17px/1.55 var(--text); background: var(--stage); }
::selection { background: var(--violet); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sheet :focus-visible { outline-color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }

/* фильм по прокрутке под первым экраном и сборкой; фон графит, как у кадров, чтобы cover не давал швов */
#stage { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; display: block; background: var(--stage); }
/* кадр фильма может заходить под левую колонку текста (первый экран, коронка): мягкая тень слева, под main и над canvas */
@media (min-width: 981px) { body::after { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgb(12 15 19 / .78), rgb(12 15 19 / .5) 32%, rgb(12 15 19 / 0) 52%); } .no-film body::after { display: none; } }
.poster { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: none; }
.no-film #stage { display: none; }
.no-film .poster { display: block; object-position: 70% 50%; }
.no-film .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(12 15 19 / .85), rgb(12 15 19 / .2) 70%); }
/* без фильма (кадры не загрузились) сборка превращается в обычный список шагов */
.no-film .method { height: auto; background: var(--stage); padding: 96px 0; }
.no-film .method__pin { position: static; height: auto; overflow: visible; }
.no-film .steps { position: static; transform: none; width: auto; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 64px; }
.step__img { display: none; }
.no-film .step { position: static; opacity: 1; transform: none; filter: none; }
.no-film .step__img { display: block; width: 100%; max-width: 420px; aspect-ratio: 1; border-radius: 2px; margin-bottom: 20px; background: var(--stage-2); }
.no-film .steps::before, .no-film .track, .no-film .callouts { display: none; }
main, .ft { position: relative; z-index: 1; }

/* кнопки */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 26px; border: 0; border-radius: 2px; background: var(--frost); color: var(--ink); font: 600 16px/1 var(--text); letter-spacing: .01em; text-decoration: none; cursor: pointer; position: relative; isolation: isolate; overflow: hidden; transition: color .4s var(--ease); white-space: nowrap; }
.btn::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: -1; background: var(--anod); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.btn:hover { background: #fff; }
.btn:hover::before { transform: scaleX(1); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--wide { width: 100%; justify-content: center; }

/* шапка */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: calc(14px + env(safe-area-inset-top)) max(var(--gutter), env(safe-area-inset-right)) 14px max(var(--gutter), env(safe-area-inset-left)); transition: background .4s, backdrop-filter .4s; }
.hd.is-solid { background: rgb(12 15 19 / .72); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.hd__line { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--anod); background-size: 300% 100%; background-position: var(--hue, 0%) 0; opacity: 0; transition: opacity .4s; }
.hd.is-solid .hd__line { opacity: .8; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--frost); }
.logo__mark { width: 34px; height: 34px; }
.logo b { display: block; font: 600 20px/1 var(--display); letter-spacing: .02em; }
.logo small { display: block; font-size: 12.5px; color: var(--mist); margin-top: 4px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; color: var(--frost); opacity: .8; transition: opacity .3s; }
.nav a:hover { opacity: 1; }
.hd__phone { font: 500 16px var(--display); text-decoration: none; letter-spacing: .02em; white-space: nowrap; }
.hd__call { display: none; }

/* первый экран */
.hero { position: relative; min-height: 100svh; padding: 0 var(--gutter); display: grid; grid-template-rows: 1fr auto; pointer-events: none; }
.hero > * { pointer-events: auto; }
.hero__text { align-self: center; max-width: min(620px, 46vw); padding-top: 96px; }
h1 { font-size: clamp(44px, 6vw, 92px); font-stretch: 84%; font-weight: 700; letter-spacing: -0.025em; line-height: .96; }
h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .ln > span { display: inline-block; }
.hero__lead { margin-top: 28px; font-size: 19px; color: #c6ccd4; max-width: 33em; }
.hero__act { display: flex; align-items: center; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero__phone { font: 500 19px var(--display); text-decoration: none; letter-spacing: .02em; }
.hero__phone svg, .hero__phone-l { display: none; }
.dials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; border-top: 1px solid transparent; border-image: var(--anod) 1; margin-bottom: 64px; }
.dial { padding: 18px 24px 0 0; }
.dial + .dial { padding-left: 24px; border-left: 1px solid rgb(233 237 242 / .16); }
.dial dt { font-size: 13px; color: var(--mist); letter-spacing: .02em; }
.br-m { display: none; }
.dial { display: flex; flex-direction: column; }
.dial dd { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 6px; font-family: var(--display); }
.dial .digits { font-size: clamp(30px, 3vw, 44px); font-weight: 600; font-stretch: 80%; }
.pre, .unit { font-size: 16px; color: var(--mist); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 64px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--mist); }
.hero__scroll span { width: 1px; height: 46px; background: linear-gradient(var(--frost), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* цифры-показания: каждая цифра — барабан */
.digits { display: inline-flex; font-variant-numeric: tabular-nums; line-height: 1.12; }
.digits { gap: 2px; }
.digits .d { display: inline-block; height: 1.12em; line-height: 1.12; overflow: hidden; position: relative; vertical-align: bottom; width: .66em; text-align: center; border-radius: 2px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(233 237 242 / .12); }
.sheet .digits .d { background: var(--ti-2); box-shadow: inset 0 1px 2px rgb(17 20 25 / .18); }
.digits .d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgb(0 0 0 / .18); }
.digits .d > i { display: block; font-style: normal; transition: transform 1.4s var(--ease); }
.bank .digits .d > i { transition-duration: .7s; }
.digits .d > i > b { display: block; height: 1.12em; font-weight: inherit; }
.digits .sp { display: inline-block; width: .28em; }

/* метод: сборка на прокрутке */
.method { position: relative; height: 420vh; }
.method__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.steps { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); width: min(440px, 34vw); }
.step { position: absolute; left: 0; top: 0; width: 100%; opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); }
.step.is-on { opacity: 1; transform: none; filter: none; }
.step h2 { font-size: clamp(34px, 3.6vw, 56px); font-stretch: 84%; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin-top: 18px; color: #c6ccd4; font-size: 18px; }
.track { position: absolute; left: var(--gutter); bottom: 48px; display: flex; gap: 28px; align-items: center; font-size: 13.5px; color: var(--mist); }
.track i { position: absolute; left: 0; bottom: -12px; height: 2px; width: 100%; background: rgb(233 237 242 / .12); }
.track i::after { content: ""; position: absolute; inset: 0; background: var(--anod); transform: scaleX(var(--p, 0)); transform-origin: left; }
.track span { transition: color .4s; }
.track span.on { color: var(--frost); }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.co { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; padding: 7px 11px 8px; border-radius: 4px; background: rgb(12 15 19 / .74); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); will-change: transform; }
.co::before { content: ""; position: absolute; left: calc(var(--reach, 70px) * -1 + 6px); bottom: 0; width: calc(var(--reach, 70px) - 6px); height: 1px; background: linear-gradient(90deg, var(--gold), var(--frost)); }
.co::after { content: ""; position: absolute; left: calc(var(--reach, 70px) * -1); bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.co b { font: 600 22px/1 var(--display); font-stretch: 80%; }
.co .dia { font: 500 .9em var(--text); font-style: normal; }
.co span { font-size: 12.5px; color: var(--mist); margin-top: 4px; }
/* подписи лежат на кадре фильма, местами на белой коронке и шаблоне, — поэтому тёмная подложка */
.co.on { opacity: 1; }
/* выноска справа от модели упирается в край экрана — зеркалим её налево */
.co--left { align-items: flex-end; text-align: right; }
.co--left::before { left: auto; right: calc(var(--reach, 70px) * -1 + 6px); background: linear-gradient(270deg, var(--gold), var(--frost)); }
.co--left::after { left: auto; right: calc(var(--reach, 70px) * -1); }

/* «Разберите имплант»: живая модель на графите */
.xp { position: relative; background: var(--stage); padding: 120px 0; }
/* последний кадр фильма растворяется в графите над секцией, а не срезается её краем */
.xp::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 240px; background: linear-gradient(rgb(12 15 19 / 0), var(--stage)); pointer-events: none; }
.xp__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.xp h2 { font-size: clamp(36px, 4.4vw, 68px); font-stretch: 82%; font-weight: 700; letter-spacing: -0.025em; }
.xp__text > p { margin-top: 20px; color: #c6ccd4; font-size: 18px; max-width: 26em; }
.xp__ctl { display: grid; gap: 22px; margin-top: 40px; max-width: 380px; }
.xp__ctl[hidden] { display: none !important; }
.xp__btn { justify-self: start; min-height: 48px; padding: 0 22px; border: 1px solid rgb(233 237 242 / .3); border-radius: 2px; background: transparent; color: var(--frost); font: 600 15px/1 var(--text); letter-spacing: .01em; cursor: pointer; transition: border-color .3s, background .3s; }
.xp__btn:hover { border-color: var(--frost); background: rgb(233 237 242 / .06); }
.xp__range { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; font-size: 13px; color: var(--mist); }
.xp__range input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: transparent; cursor: pointer; --v: 0; }
.xp__range input::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--gold), var(--violet) 52%, var(--cobalt)) 0 0 / calc(var(--v) * 100%) 100% no-repeat, rgb(233 237 242 / .16); }
.xp__range input::-moz-range-track { height: 2px; background: rgb(233 237 242 / .16); }
.xp__range input::-moz-range-progress { height: 2px; background: var(--anod); }
.xp__range input::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border: 0; border-radius: 50%; background: var(--frost); box-shadow: 0 0 0 5px rgb(12 15 19 / .9), 0 0 0 6px rgb(233 237 242 / .2); }
.xp__range input::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--frost); box-shadow: 0 0 0 5px rgb(12 15 19 / .9), 0 0 0 6px rgb(233 237 242 / .2); }
.xp__range input:focus-visible { outline: none; }
.xp__range input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--stage), 0 0 0 5px var(--gold); }
.xp__range input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--stage), 0 0 0 5px var(--gold); }
.xp__stage { position: relative; height: 78vh; height: 78svh; min-height: 520px; max-height: 880px; }
.xp__stage canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.xp__stage canvas:active { cursor: grabbing; }
/* снимок стоит, пока живая модель не собрана (или вместо неё без WebGL), и растворяется, когда она готова */
.xp__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; transition: opacity .6s var(--ease); }
.xp--live .xp__still { opacity: 0; }
.xp--still canvas, .xp--still .xp__labels, .xp--still .xp__hint { display: none; }
.xp__labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* под подписями модели картинка меняется каждый кадр — размытие фона пришлось бы пересчитывать постоянно; на графите сплошная подложка неотличима */
.xp .co { transition: none; visibility: hidden; -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(12 15 19 / .86); }
.xp__hint { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-size: 13px; color: var(--mist); white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.xp--live .xp__hint { opacity: 1; }
.xp--live .xp__hint.is-off { opacity: 0; }
.xp__hint-t { display: none; }
@media (pointer: coarse) { .xp__hint-m { display: none; } .xp__hint-t { display: inline; } }

/* светлые «листы» шлифованного титана */
.sheet { background: var(--ti); color: var(--ink); position: relative; }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: repeating-linear-gradient(90deg, rgb(255 255 255 / .16) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgb(0 0 0 / .03) 0 2px, transparent 2px 7px); }
.sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 300px at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .5), transparent 70%); mix-blend-mode: soft-light; }
.sheet .wrap { position: relative; z-index: 1; }
.sheet h2 { font-size: clamp(36px, 4.4vw, 68px); font-stretch: 82%; font-weight: 700; letter-spacing: -0.025em; }
.sheet__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 44px; }
.sheet__head p { color: var(--ink-2); max-width: 30em; }
.prices { padding: 120px 0 104px; clip-path: inset(0); }
.bank li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 26px 0; border-top: 1px solid rgb(17 20 25 / .14); position: relative; }
.bank li:last-child { border-bottom: 1px solid rgb(17 20 25 / .14); }
.bank { border-top: 1px solid transparent; border-image: var(--anod) 1; }
.bank li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--anod); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.bank li:hover::after { transform: scaleX(1); }
@media (hover: none) { .bank li::after { transform: scaleX(1); opacity: .6; } }
.bank__name { font: 600 clamp(20px, 2vw, 28px)/1.15 var(--display); font-stretch: 88%; }
.bank__name small { display: block; font: 400 15px/1.4 var(--text); color: var(--ink-2); margin-top: 6px; }
.bank__val { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); }
.bank__val .digits { font-size: clamp(38px, 5vw, 76px); font-weight: 600; font-stretch: 78%; letter-spacing: -0.02em; }
.sheet .pre, .sheet .unit { color: var(--ink-2); font-size: 18px; }
.more { margin-top: 32px; font-weight: 600; }

/* врачи на тёмной сцене */
.doctors { background: var(--stage); padding: 120px 0; position: relative; }
.doctors h2 { font-size: clamp(36px, 4.4vw, 68px); font-stretch: 82%; font-weight: 700; letter-spacing: -0.025em; margin-bottom: 48px; }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.doc { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.doc__img { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 5; background: var(--stage-2); }
.doc__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.doc:hover .doc__img img { transform: scale(1); }
.doc h3 { font-size: 26px; font-stretch: 86%; margin-top: 20px; }
.doc p { color: #b9c0c9; margin-top: 6px; font-size: 16px; }
.doc .doc__fact { color: var(--frost); }

/* страхи */
.fears { padding: 110px 0; }
.fq > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; padding: 26px 0; border-top: 1px solid rgb(17 20 25 / .14); }
.fq > div:last-child { border-bottom: 1px solid rgb(17 20 25 / .14); }
.fq dt { font: 600 clamp(22px, 2.2vw, 32px)/1.1 var(--display); font-stretch: 86%; }
.fq dd { font-size: 18px; color: var(--ink-2); max-width: 36em; }

/* отзывы */
.reviews { background: var(--ti-hi); padding: 100px 0; }
.rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; }
.rates > div { display: flex; align-items: baseline; gap: 14px; text-decoration: none; padding-top: 18px; border-top: 2px solid var(--ink); }
.rates b { font: 600 clamp(48px, 5vw, 72px)/1 var(--display); font-stretch: 78%; }
.rates span { color: var(--ink-2); font-size: 15px; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
blockquote { margin: 0; }
blockquote p { font: 500 clamp(20px, 1.8vw, 26px)/1.35 var(--text); }
blockquote footer { margin-top: 16px; color: var(--ink-2); font-size: 15px; }

/* запись */
.book { background: var(--stage); padding: 120px 0; position: relative; overflow: hidden; }
.book__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.book h2 { font-size: clamp(36px, 4.4vw, 68px); font-stretch: 82%; font-weight: 700; letter-spacing: -0.025em; }
.book__in > div > p { margin-top: 20px; color: #c6ccd4; font-size: 18px; max-width: 32em; }
.contacts { margin-top: 40px; display: grid; gap: 18px; }
.contacts p { color: #b9c0c9; font-size: 15.5px; }
.contacts b { display: block; color: var(--frost); font-weight: 600; font-size: 17px; }
.contacts a { font: 500 26px var(--display); text-decoration: none; color: var(--frost); }
.form { display: flex; flex-direction: column; background: rgb(21 26 33 / .72); border: 1px solid rgb(233 237 242 / .12); padding: 36px; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.form label { font-size: 14px; color: var(--mist); margin: 16px 0 8px; }
.form label:first-child { margin-top: 0; }
.form input:not([type=checkbox]) { min-height: 54px; padding: 0 16px; background: rgb(12 15 19 / .7); border: 1px solid rgb(233 237 242 / .2); border-radius: 2px; color: var(--frost); font: inherit; caret-color: var(--gold); }
.form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(212 176 90 / .18); }
.form small { margin-top: 8px; color: var(--mist); font-size: 13.5px; }
.form .check { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 18px 0 8px; color: #c6ccd4; cursor: pointer; }
.form .check input { flex: none; width: 24px; height: 24px; accent-color: var(--gold); margin: 0; }
.form .check a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form .btn { margin-top: 12px; }
.form__note { margin-top: 14px; color: var(--gold); }

.ft { background: #07090c; color: var(--mist); padding: 48px 0 40px; font-size: 13.5px; }
.ft .wrap { display: grid; gap: 12px; }
.ft__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.ft__links span { display: inline-flex; align-items: center; min-height: 44px; color: #c6ccd4; }
.ft__warn { color: var(--frost); font: 600 17px var(--text); }

@media (max-width: 980px) {
  .no-film .poster { top: auto; bottom: 0; height: 52vh; object-position: 64% 40%; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
  .no-film .hero::before { display: none; }
  .no-film .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .nav, .hd__phone, .logo small { display: none; }
  .hd { gap: 12px; }
  .hd .btn { margin-left: auto; }
  .hd__call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgb(233 237 242 / .25); border-radius: 50%; }
  .hd__call svg { width: 20px; height: 20px; }
  .hero__text { max-width: none; align-self: start; padding-top: 104px; }
  h1 { font-size: clamp(38px, 10vw, 64px); }
  .hero__lead { font-size: 16.5px; margin-top: 18px; }
  .hero__act { margin-top: 24px; gap: 16px; }
  .hero__scroll { display: none; }
  /* на первом экране вертикальный кадр держит объект в нижней половине; лёгкая тень только под текстом, куда заходят верхушки зубов */
  .hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 62%; z-index: -1; pointer-events: none; background: linear-gradient(rgb(12 15 19 / .55), rgb(12 15 19 / .35) 75%, rgb(12 15 19 / 0)); }
  .dials { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 calc(var(--gutter) * -1); padding: 40px var(--gutter) 28px; border-top: 0; background: linear-gradient(transparent, rgb(12 15 19 / .92) 38%); }
  .dial { padding: 14px 10px 0 0; }
  .dial + .dial { padding-left: 10px; }
  .dial dt { font-size: 11.5px; }
  .dial .digits { font-size: 21px; gap: 1px; }
  .dial dd { gap: 4px; }
  .pre, .unit { font-size: 13px; }
  .steps { top: auto; bottom: 92px; transform: none; width: auto; right: var(--gutter); }
  .steps::before { content: ""; position: absolute; left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1); bottom: -92px; height: 340px; background: linear-gradient(transparent, rgb(12 15 19 / .94) 40%); pointer-events: none; }
  .step { top: auto; bottom: 0; }
  .step h2 { font-size: 30px; }
  .step p { font-size: 15.5px; margin-top: 10px; }
  .track { bottom: 28px; gap: 16px; font-size: 12px; }
  .co b { font-size: 17px; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .fq > div { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .rates { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .quotes { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .book__in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .form { padding: 24px 18px; }
  .prices, .doctors, .fears, .reviews, .book { padding: 72px 0; }
  .xp { padding: 72px 0 56px; }
  .xp__in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .xp__text > p { font-size: 16.5px; margin-top: 14px; }
  .xp__stage { order: 2; height: 70vh; height: 70svh; min-height: 440px; margin: 0 calc(var(--gutter) * -1); }
  .xp__ctl { order: 3; margin-top: 0; max-width: none; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
  .xp__text { display: contents; }
  .xp__text > h2, .xp__text > p { order: 1; }
  .xp .co span { display: none; }
  .bank li { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
  .sheet__head { margin-bottom: 28px; }
}

@media (max-width: 760px) {
  /* iOS: шапка на телефоне всегда непрозрачная, без стекла */
  .hd, .hd.is-solid { background: var(--stage); -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* лента якорей под шапкой, появляется вместе с плотной шапкой */
  .nav { display: flex; position: absolute; left: 0; right: 0; top: 100%; margin: 0; gap: 0; padding: 0 max(calc(var(--gutter) - 12px), env(safe-area-inset-left)); overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; background: var(--stage); border-bottom: 1px solid rgb(233 237 242 / .1); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav::-webkit-scrollbar { display: none; }
  .hd.is-solid .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; opacity: .85; }
  main [id] { scroll-margin-top: 124px; }
  .hero__act { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__act .btn { justify-content: center; }
  .hero__phone { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border: 1px solid rgb(233 237 242 / .3); border-radius: 2px; font-size: 16px; background: rgb(12 15 19); }
  .hero__phone svg { display: block; width: 18px; height: 18px; }
  .hero__phone-l { display: inline; font: 600 16px var(--text); letter-spacing: .01em; }
  .dials { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) minmax(0, 1fr); }
  .dial dt { font-size: 12px; line-height: 1.3; }
  .br-m { display: inline; }
  .dial .digits { font-size: 20px; }
  .dial .pre, .dial .unit { font-size: 12px; }
  .dial dd { gap: 3px; }
  .method { height: 300vh; }
  .doc__img { aspect-ratio: 4 / 3; max-height: 300px; }
  .doc__img img { object-position: 50% 22%; }
  .fears { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .digits .d > i { transition: none; }
  .hero__scroll span { animation: none; }
  .step, .co, .digits .d > i, .btn::before { transition: none; }
}
