/* Лендинг «Имплант под ключ — 15 000 ₽», длинный (7 экранов). Только раскладка; компоненты и токены — в brand/. */
html{background:var(--surface-night)}
body.landing{background:var(--surface-light)}

/* ---------- экран 1 ---------- */
.hero .badge{font-size:12px;padding:5px 10px;color:#fff;border-width:1px}
/* бейдж-ротатор: текст затухает при смене, цифры таймера табличные, чтобы не дрожали */
.hero__badge{white-space:nowrap}
.hero__badge-text{display:inline-block;font-variant-numeric:tabular-nums;transition:opacity .25s ease}
.hero__badge-text.is-fading{opacity:0}
.hero__badge-text.is-typing::after{content:"|";margin-left:1px;font-weight:400;animation:badge-caret 1s steps(2) infinite}
@keyframes badge-caret{to{opacity:0}}
.hero{background:var(--surface-night);color:#fff;overflow:hidden;border-radius:0 0 28px 28px}
.hero__top{display:flex;align-items:center;justify-content:space-between;height:32px;padding-top:14px}
.hero__logo{height:22px;width:auto}
.hero__tel{display:inline-flex;align-items:center;gap:6px;color:#fff;font-size:15px;font-weight:500}
.hero__tel .icon{color:var(--brand-orange)}
.hero__tel:hover{text-decoration:none}
.hero__grid{position:relative;margin-top:19px;min-height:274px}
.hero__text{position:relative;z-index:2;width:60%;padding-bottom:14px}
/* Фигура врача стоит низом на карточке формы; нижние ~35 % растворяются в фон маской,
   чтобы не было жёсткого обреза. */
.hero__doctor{position:absolute;right:-52px;bottom:0;width:200px;height:auto;z-index:1;-webkit-mask-image:linear-gradient(to bottom,#000 62%,transparent 100%);mask-image:linear-gradient(to bottom,#000 62%,transparent 100%)}
.hero__h1{font-size:36px;line-height:1.1;margin-top:12px;font-weight:600;letter-spacing:0}
.hero__sub{margin-top:10px;font-size:14px;line-height:1.4;letter-spacing:-.01em;color:var(--ink-on-dark-strong)}
.hero__form{position:relative;z-index:2;margin-top:0;display:grid;gap:10px}
.hero__consent{margin-top:0;justify-content:center}
.hero__consent + .form-note{margin-top:-2px;text-align:center}
.form-error{text-align:center}
.hero--long .hero__form{margin-bottom:52px}

/* плашка доверия наезжает на нижнее скругление hero */
.trust{position:relative;z-index:2;margin-top:-30px}

@media (min-width:640px){
  .hero__top{padding-top:24px}
  .hero__logo{height:29px}
  .hero__grid{min-height:390px;margin-top:34px}
  .hero__text{width:62%;padding-bottom:20px}
  .hero__doctor{width:280px;right:-40px}
  .hero__h1{font-size:44px}
  .hero__sub{font-size:17px}
  .hero__form{margin-top:0}
  .hero--long .hero__form{margin-bottom:64px}
}
@media (max-width:374px){
  .hero__grid{min-height:246px}
  .hero__text{width:62%}
  .hero__doctor{width:180px;right:-57px}
  .hero__h1{font-size:31px}
}

/* ---------- экран 2 ---------- */
.included{padding-top:28px}
.included__title{font-size:26px;line-height:1.2}
.included__grid{display:grid;gap:12px;margin-top:16px}
.included__list{font-size:16px;padding:4px 0}
.included__free{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.4}
.included__free .icon{color:var(--brand-orange);flex:0 0 24px}
.included__free-body{min-width:0}
.included__free-body > p > b{font-weight:600}   /* <b> без правила даёт 800 — у шрифта нет 700 */
.included__free-price{margin-top:10px}
.included__note{margin-top:16px;font-size:14px;line-height:1.5;color:var(--ink)}   /* 14 px — решение пользователя (в ТЗ основной текст от 16 px) */
.included__tiles{margin-top:20px}
.included__cta{margin-top:20px}
@media (min-width:640px){
  .included__title{font-size:32px}
  .included__grid{grid-template-columns:1fr 1fr;align-items:start}
}

/* ---------- подвал ---------- */
.footer{background:var(--surface-night);border-radius:28px 28px 0 0;padding:36px 0 calc(96px + env(safe-area-inset-bottom))}
.footer__logo{height:22px;width:auto}
.footer__addresses{margin-top:20px}
.footer__phone{margin-top:24px}
.footer__hours{display:flex;gap:8px;align-items:center;margin-top:10px;font-size:14px;color:var(--ink-on-dark-strong)}
.footer__hours .icon{color:var(--brand-orange)}
.footer__legal{margin-top:20px;display:grid;gap:6px}

/* ---------- «Спасибо» ---------- */
body.thanks{background:var(--surface-light)}
.thanks__main{padding:24px 0 48px}
.thanks__logo{height:20px;width:auto}
.thanks__icon{width:56px;height:56px;color:var(--success);margin-top:32px}
.thanks__h1{font-size:30px;line-height:1.15;margin-top:12px}
.thanks__p{margin-top:12px;font-size:17px;line-height:1.45}
.thanks__buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.thanks__buttons .btn{padding-inline:10px;font-size:15px}
.thanks__visit{margin-top:20px;font-size:16px;line-height:1.5}
.thanks__addresses{margin-top:24px;font-size:13px;line-height:1.5;color:var(--ink-muted)}
.thanks__phone{margin-top:6px;font-size:15px}
@media (min-width:640px){.thanks__h1{font-size:40px}.thanks__buttons .btn{font-size:17px}}

/* ---------- десктоп: рамка телефона ---------- */
/* На экранах от 640 px инлайн-скрипт в <head> ставит класс shell: содержимое скрыто, по центру — iframe
   с этой же страницей шириной 390 px. Внутри iframe всё считается мобильной версией. */
html.shell{background:#0b0e15}
html.shell body{display:flex;align-items:center;justify-content:center;min-height:100vh;margin:0;padding:24px;background:#0b0e15}
html.shell body > :not(.shell-frame){display:none}
html.shell .shell-frame{display:block;width:390px;height:min(844px,calc(100vh - 48px));border:0;border-radius:30px;background:var(--surface-night);box-shadow:0 0 0 10px #1b202c,0 0 0 11px #2a3040,0 40px 90px rgba(0,0,0,.6)}
/* внутри рамки прокрутка есть, но полоса скрыта — как на телефоне */
html.framed{scrollbar-width:none}
html.framed::-webkit-scrollbar{display:none;width:0;height:0}

/* ============================================================
   Экраны 2–7 длинного лендинга
   ============================================================ */
.section__title{font-size:26px;line-height:1.2;font-weight:600}
.section__subtitle{font-size:20px;line-height:1.25;font-weight:600;margin-top:28px}
@media (min-width:640px){.section__title{font-size:32px}.section__subtitle{font-size:24px}}

/* ---------- экран 2: таблица ---------- */
.included__title--table{margin-top:36px}   /* «А сколько всего» — второй H2 экрана */
.included__table{margin-top:14px}
.included__small{margin-top:12px;font-size:12px;line-height:1.4;color:var(--ink-muted)}

/* ---------- экран 3: почему — тёмная панель со скруглёнными краями, фон как у первого экрана ---------- */
.why{padding-block:0}
.why__panel{padding:28px 0 32px;background:var(--surface-night);color:#fff;border-radius:23px}   /* на ~18 % меньше, чем 28 px у баннера */
.why__stats{margin-top:20px}
.why .stat b{color:var(--surface-night)}   /* цифры — цветом фона панели */
/* регалии — столбиком на всю ширину: четыре плашки видны без прокрутки вбок */
.why__regalia{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:10px}
.why__regalia .regalia{width:auto;flex-direction:row;align-items:center;gap:12px;padding:14px 16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);box-shadow:none;font-size:15px;line-height:1.4;color:var(--ink-on-dark-strong)}
.why__regalia .icon{flex:0 0 24px}
@media (min-width:640px){.why__panel{padding:36px 0 40px}}

/* ---------- экраны 3б и 3в: федеральные каналы, врачи ---------- */
.tv__videos{display:grid;gap:16px;margin-top:20px}
@media (min-width:640px){.tv__videos{grid-template-columns:1fr 1fr}}
/* врачи — лавандовая панель со скруглёнными краями (как тёмная панель экрана 3) */
.doctors{padding-block:0}
.doctors__panel{padding:28px 0 28px;background:var(--surface-magnolia);border-radius:23px}
.doctors__slider{margin-top:6px}
.doctors__list{align-items:stretch;padding-bottom:4px}   /* у карточек нет тени — полоса ближе к ним */
/* карточки врачей компактнее, чем на сайте (решение пользователя 2026-09-23): 240 px вместо 300, вторая карточка выглядывает */
.doctors .doctor-card{--pt:24px;--rounded:18px;width:240px}
.doctors .doctor-card__wrapper{padding:6px}
.doctors .doctor-card__figure{flex-basis:178px}
.doctors .doctor-card__caption{padding:10px 11px 11px}
.doctors .doctor-card__meta{margin-bottom:6px}
.doctors .doctor-card__name{margin-bottom:6px;font-size:14.5px}
.doctors .doctor-card__spec{margin-bottom:9px;font-size:12.5px}
.doctors .doctor-card__place{font-size:12.5px}
.doctors .doctor-card__m-icon{width:13px;height:13px}   /* на ~24 % меньше прежних 17 px */
@media (min-width:640px){.doctors__panel{padding:36px 0 36px}}

/* ---------- экран 4: как проходит ---------- */
.how__steps{margin-top:22px}
.how__accent{display:flex;gap:10px;align-items:flex-start;margin-top:22px;font-size:16px;line-height:1.4}
.how__accent .icon{color:var(--brand-orange);flex:0 0 24px}

/* «Что изменится» — эмоциональный блок: тёмный, с воздухом, слот под фото пациента */
.after{margin-top:28px;padding:28px 0 32px;background:var(--surface-night);color:#fff;border-radius:23px}
.after__photo{margin:0 0 22px;border-radius:20px;overflow:hidden;aspect-ratio:4/3;background:#1e2433}
.after__photo img{width:100%;height:100%;object-fit:cover;display:block}
.after__photo--empty{display:none}
.after__title{font-size:26px;line-height:1.2;font-weight:600}
.after__list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:18px}
.after__list li{display:flex;gap:14px;align-items:flex-start;font-size:18px;line-height:1.4;color:var(--ink-on-dark-strong)}
.after__list .icon{flex:0 0 28px;width:28px;height:28px;color:var(--brand-orange);margin-top:1px}
.after .btn{margin-top:26px;box-shadow:none}   /* оранжевое свечение на тёмном фоне выглядит грязно — без тени */
@media (min-width:640px){.after{padding:36px 0 40px}.after__title{font-size:32px}.after__list li{font-size:20px}}

/* ---------- экран 5: результаты ---------- */
.results{background:var(--surface-magnolia)}
.results__cases{display:grid;gap:16px;margin-top:20px}
/* кейсы: фото крупнее (кадр 4:5 — лица ближе), подпись мельче, лёгкая тень (решение пользователя 2026-09-23) */
.results__cases .case{box-shadow:0 6px 20px rgba(21,26,38,.1)}
.results__cases .case__pair img{aspect-ratio:4/5;object-position:center 40%}
.results__cases .case__text{padding:9px 12px 11px;font-size:13.5px;line-height:1.4}
.results__videos{display:grid;gap:12px;margin-top:14px}
.results__rating-title{margin-top:36px}
.results__rating-text{margin-top:12px;font-size:15px;line-height:1.5;color:var(--ink)}
.results__rating-text b{font-weight:600}
.results__ratings{margin-top:16px}
.results__ratings .rating-card__score{color:var(--surface-night)}   /* оценка чёрно-синим, как цифры в плашках экрана 3 (на сайте — лиловая) */
/* отзывы об имплантации под рейтингами: карточки — компонент кита .review-card */
.reviews__title{margin-top:36px}
.reviews__lead{margin-top:8px;font-size:15px;line-height:1.5;color:var(--ink)}
.reviews__slider{margin-top:8px}
.reviews__list{padding-top:10px;padding-bottom:24px}   /* место под тень карточек: лента обрезает всё, что выходит за неё */
.reviews__slider .slider__nav{margin-top:0}
@media (min-width:640px){.results__videos{grid-template-columns:repeat(3,1fr)}}

/* ---------- экран 6: как платить ---------- */
.pay__tiles{margin-top:20px}
.pay__tiles .icon-tile{font-size:14px}
.pay__tiles b{font-weight:600}
.pay__accent{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:16px;line-height:1.4}
.pay__accent .icon{color:var(--brand-orange);flex:0 0 24px}
.pay__note{margin-top:14px;font-size:15px;line-height:1.5;color:var(--ink-soft)}

/* ---------- экран 7: адреса, карта, форма, вопросы ---------- */
.where{background:#fff}
.where__list{list-style:none;padding:0;margin:20px 0 0;display:grid;gap:12px}
.where__list li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.35}
.where__list .icon{flex:0 0 22px;width:22px;height:22px;color:var(--brand-orange);margin-top:1px}
.where__list b{font-weight:600}
.where__list small{display:block;font-size:13px;color:var(--ink-muted);margin-top:2px}
.where__map{margin-top:20px}
.where__map-btn{margin-top:10px}
/* финальная форма: тёмная панель в край со скруглёнными краями (как первый экран), поля прямо на тёмном фоне */
.where__signup{margin:28px 2px 0;padding:28px 0 28px;background:var(--surface-night);color:#fff;border-radius:23px;scroll-margin-top:8px}
.where__form{margin-top:16px;display:grid;gap:10px;box-shadow:none}
.where__signup .where__question legend{color:var(--ink-on-dark)}
/* поля и чипсы — «стекло»: полупрозрачный светлый фон, тонкая светлая обводка, размытие и блик по верхней кромке */
.where__signup .input,.where__signup .chip{background-color:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.07);color:#fff}
.where__signup .input{caret-color:#fff}
.where__signup .input::placeholder{color:rgba(255,255,255,.5)}
.where__signup .input:focus{border-color:rgba(237,93,43,.9);background-color:rgba(255,255,255,.1);box-shadow:0 0 0 3px rgba(237,93,43,.2)}
.where__signup .field--error .input{border-color:var(--error)}
/* автозаполнение браузера иначе заливает поле жёлтым / голубым */
.where__signup .input:-webkit-autofill{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 1000px #262b37 inset;transition:background-color 9999s}
.where__signup .chip.is-checked,.where__signup .chip:has(input:checked){border-color:rgba(237,93,43,.9);background-color:rgba(237,93,43,.22);color:#fff}
.where__signup .checkbox:not(:checked){background-color:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.3)}
.where__signup .form-note{color:var(--ink-on-dark)}
.where__signup .form-note a{color:var(--ink-on-dark-strong)}
.where__signup .form-note.form-error{color:var(--error)}
.where__signup .btn{box-shadow:none}
.where__form .btn{margin-top:16px}   /* от последних чипсов до кнопки: 10 + 16 px */   /* оранжевое свечение на тёмном фоне выглядит грязно */
.where__form-title{font-size:26px;line-height:1.2;font-weight:600;color:#fff}
.where__question{border:0;padding:0;margin:4px 0 0;min-width:0}
.where__question legend{padding:0;margin-bottom:8px;font-size:14px;color:var(--ink-muted)}
.where__form .hero__consent{justify-content:center}
.where__form-note{text-align:center;margin-top:-2px}
.where__faq{margin-top:14px}

/* ---------- заголовок разной длины ---------- */
.hero__h1--long{font-size:28px}
@media (min-width:640px){.hero__h1--long{font-size:36px}}
@media (max-width:374px){.hero__h1--long{font-size:25px}}
