/* Сайт для стоматологий (22.11, v4). Светлая бело-синяя тема по мотивам сайта ai.ads Максима.
   Ритм: синий первый экран, белый кабинет, синяя окупаемость, белый механизм, светлый «кто я», белый тест, светлые вопросы, синяя заявка.
   Фирменная деталь: синяя обводка цифр, как выделение в рекламном кабинете. Движение только со смыслом: полосы воронки и обводка цен. */
@font-face { font-family: 'Onest'; src: url('/fonts/onest-cyrillic.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; src: url('/fonts/onest-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20B8, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #F3F6FC; --white: #FFFFFF; --line: #E1E7F3; --line-2: #EDF1F8;
  --ink: #0B1A3A; --text: #13234A; --muted: #4E5D7E; --dim: #5B6886;
  --blue: #1F5BFF; --blue-2: #3D78FF; --blue-3: #6E9BFF; --blue-deep: #0C2470; --blue-night: #081A52;
  --blue-soft: #E9F0FF; --blue-soft-2: #D5E2FF; --sky: #A9C8FF;
  --wa: #25D366; --wa-ink: #12884A;
  --r: 22px; --shadow: 0 18px 40px -26px rgba(12, 36, 112, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font: 400 17px/1.5 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: var(--bg);
  text-align: center; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); }
a, button { -webkit-tap-highlight-color: transparent; }
b, strong { font-weight: 700; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.nw { white-space: nowrap; }

h1, h2 { font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
h1 { font-size: clamp(34px, 9.6vw, 66px); line-height: 1.04; }
h2 { font-size: clamp(29px, 7.6vw, 46px); line-height: 1.1; }
h1 em, h2 em { font-style: normal; color: var(--blue); }
h3 { font-size: 20px; line-height: 1.25; font-weight: 800; color: var(--ink); }
h1, h2, h3, .sub, .under { text-wrap: balance; }
p { text-wrap: pretty; }
.sub { margin: 12px auto 0; max-width: 620px; color: var(--muted); font-size: 17px; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: 0; border-radius: 16px;
  font: 800 18px/1.1 'Onest', sans-serif; color: #fff; text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--blue-2) 0%, var(--blue) 55%, #1847D6 100%);
  box-shadow: 0 14px 30px -14px rgba(31, 91, 255, .75), inset 0 -2px 0 rgba(0, 0, 0, .14);
  transition: transform .15s ease, box-shadow .15s ease; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); box-shadow: 0 18px 34px -14px rgba(31, 91, 255, .85), inset 0 -2px 0 rgba(0, 0, 0, .14); } }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .opt:focus-visible, summary:focus-visible, .brand:focus-visible { outline: 3px solid var(--blue-3); outline-offset: 3px; }
/* Блеск: три прохода, когда кнопка показалась на экране (класс .go ставит app.js) */
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .45) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-20deg); }
.btn.go::after { animation: shine 3.2s ease-in-out .3s 3; }
@keyframes shine { 0%, 55% { left: -75%; } 100% { left: 135%; } }
.btn.big { min-height: 62px; font-size: 19px; padding: 0 30px; }
@media (max-width: 370px) { .btn.big { padding: 0 14px; } }
.btn.wide { width: 100%; }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 15px; border-radius: 12px; box-shadow: none; }
.btn.light { color: var(--blue); background: #fff; box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .55), inset 0 -2px 0 rgba(12, 36, 112, .08); }
.btn.light::after { background: linear-gradient(100deg, rgba(31, 91, 255, 0) 0%, rgba(31, 91, 255, .16) 50%, rgba(31, 91, 255, 0) 100%); }
.btn.other { background: var(--wa); color: #fff; box-shadow: 0 12px 26px -14px rgba(37, 211, 102, .8); }
.btn.other::after, .btn.wa-line::after, .btn.sm::after { display: none; }
.btn.wa-line { min-height: 52px; font-size: 17px; color: var(--wa-ink); background: #fff; border: 2px solid var(--wa); box-shadow: none; }
.btn.wa-line svg { width: 22px; height: 22px; flex: none; color: var(--wa); }
.btn[disabled] { opacity: .7; cursor: default; }
@media (prefers-reduced-motion: reduce) { .btn.go::after { animation: none; } }

/* Шапка: синяя над первым экраном, белая при прокрутке */
.nav { position: sticky; top: 0; z-index: 30; background: var(--blue-night); transition: background .2s ease, box-shadow .2s ease; }
.nav.on { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(12, 36, 112, .4); }
.nav-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; text-align: left; }
.brand .ava { width: 34px; height: 34px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.brand b { display: block; font-size: 16px; line-height: 1.1; }
.brand small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.nav .btn.sm { color: var(--blue); background: #fff; }
.nav.on .brand { color: var(--ink); }
.nav.on .brand small { color: var(--dim); }
.nav.on .brand .ava { box-shadow: 0 0 0 2px var(--blue); }
.nav.on .btn.sm { color: #fff; background: var(--blue); }

/* 1. Первый экран */
.hero { position: relative; padding: 30px 0 40px; overflow: hidden; color: #fff;
  background: radial-gradient(75% 60% at 50% 0%, rgba(110, 155, 255, .42) 0%, rgba(110, 155, 255, 0) 70%),
    linear-gradient(180deg, var(--blue-night) 0%, var(--blue-deep) 100%); }
.glow { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 100%); }
.hero .wrap { position: relative; }
.hero-in { max-width: 432px; }
/* первый экран на весь экран телефона (как у прокладок threads и косметологов), не выше 660 px */
.hero { display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100vh - 56px), 660px); min-height: min(calc(100svh - 56px), 660px); }
.hero > .wrap { width: 100%; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 700;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.hero h1 { margin: 16px auto 0; color: #fff; font-size: clamp(32px, 8.9vw, 54px); line-height: 1.06; }
.hero h1 em { color: var(--sky); }
/* пара цифр: одна плашка, две равные половины, ×9 на разделителе */
.hero-proof { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 26px auto 0; border-radius: 20px;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .2); }
.hero-proof p { padding: 15px 8px 14px; }
.hero-proof p + i + p { border-left: 1px solid rgba(255, 255, 255, .2); }
.hero-proof b { display: block; font-size: clamp(24px, 7vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; white-space: nowrap; }
.hero-proof p:last-of-type b { color: var(--sky); }
.hero-proof span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.25; color: rgba(255, 255, 255, .74); }
.hero-proof i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; font: 800 13px/1 'Onest', sans-serif; font-style: normal; color: var(--blue-night); background: var(--sky);
  box-shadow: 0 0 0 4px rgba(169, 200, 255, .22); }
.hero .lead { margin: 14px auto 0; max-width: 400px; font-size: 17px; line-height: 1.45; color: rgba(255, 255, 255, .86); text-wrap: balance; }
.eyebrow { line-height: 1.3; border-radius: 16px; text-wrap: balance; }
/* подпись под парой цифр на всю ширину плашки; ×9 по центру верхней части */
.hero-proof small { grid-column: 1 / -1; display: block; padding: 8px 10px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12.5px; line-height: 1.3; color: rgba(255, 255, 255, .74); }
.hero-proof i { top: calc(50% - 16.5px); }
/* узкие экраны до 359 px: кружок ×9 не наезжает на подписи цифр */
@media (max-width: 359px) { .hero-proof p:first-of-type { padding-right: 22px; } .hero-proof p:last-of-type { padding-left: 22px; } }
#top { scroll-margin-top: 56px; }
.btn span { text-wrap: balance; }
.hero .btn { margin-top: 22px; }
.under { margin: 12px auto 0; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .74); }

/* Секции: ритм синий / белый / синий / белый / светлый / белый / светлый / синий */
.sec { padding: 56px 0; }
.proof, .how, .res { background: var(--white); }
/* 3. Результат: выручка крупно, под ней пациенты и цена пациента */
.unit { position: relative; display: grid; grid-template-columns: 1fr 1fr; max-width: 520px; margin: 24px auto 0; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); }
.unit p { padding: 18px 10px 16px; }
.unit p:first-of-type { padding-right: 24px; }
.unit p:last-of-type { padding-left: 24px; border-left: 1px solid var(--line); }
.unit b { display: block; font-size: clamp(30px, 9vw, 42px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--ink); white-space: nowrap; }
.unit p:last-of-type b { color: var(--blue); }
.unit span { display: block; margin-top: 5px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.unit i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  font: 800 14px/1 'Onest', sans-serif; font-style: normal; color: #fff; background: var(--blue); box-shadow: 0 0 0 5px #fff; }
.big-num { display: block; font-size: clamp(86px, 26vw, 150px); font-weight: 800; letter-spacing: -.05em; line-height: .9; color: var(--blue); margin-bottom: 6px; }
.big-num.money { font-size: clamp(54px, 17vw, 104px); letter-spacing: -.04em; line-height: 1; white-space: nowrap; margin-bottom: 10px; }

/* 2. Кабинет: цены по услугам крупно, ниже те же строки снимком кабинета */
.cab { margin: 14px auto 0; width: 100%; max-width: 520px; padding: 10px 10px 6px; border-radius: 18px; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow); }
.cab-label { margin: 0 0 6px 6px; text-align: left; font-size: 12px; font-weight: 700; color: var(--dim); }
.cab-head, .cab-row { display: grid; grid-template-columns: 80px minmax(0, 2fr) minmax(0, 3fr); align-items: center; column-gap: 4px; }
.cab-head { padding-bottom: 6px; border-bottom: 1px solid #E6E8EB; }
.cab-row { padding: 5px 0; }
.cab-row + .cab-row { border-top: 1px solid #F0F1F3; }
.cab img { width: 100%; height: auto; }
.svc { text-align: left; padding-left: 6px; font-weight: 800; font-size: 14px; color: var(--ink); }
.hl { border-radius: 8px; outline: 2.5px solid var(--blue); outline-offset: -1px; }

/* 3. Окупаемость: синяя полоса посередине страницы */
.roi { color: #fff; background: radial-gradient(80% 60% at 100% 0%, rgba(110, 155, 255, .45) 0%, rgba(110, 155, 255, 0) 60%), linear-gradient(180deg, var(--blue-deep), #1440C8); }
.roi h2 { color: #fff; }
.roi h2 em { color: var(--sky); }
.roi .sub { color: rgba(255, 255, 255, .76); }
.calc { max-width: 520px; margin: 22px auto 0; padding: 2px 18px 0; border-radius: var(--r); background: #fff; color: var(--text); text-align: left; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); font-variant-numeric: tabular-nums; }
.calc .row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 14px 0; }
.calc .row + .funnel, .funnel + .row, .calc .row + .row { border-top: 1px solid var(--line-2); }
.calc span { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); }
.calc b { flex: none; font-size: 24px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; color: var(--ink); }
.funnel { list-style: none; }
.funnel li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 14px; row-gap: 8px; padding: 13px 0 14px; }
.funnel li + li { border-top: 1px solid var(--line-2); }
.funnel .bar { grid-column: 1 / -1; display: block; height: 10px; border-radius: 6px; background: var(--blue-soft); position: relative; overflow: hidden; }
.funnel .bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 100%); min-width: 10px; border-radius: 6px;
  background: linear-gradient(90deg, var(--blue-2), var(--blue)); transition: width .6s var(--ease) calc(var(--i) * 90ms); }
.js .funnel:not(.in) .bar::before { width: 0; min-width: 0; }
.calc .tot { margin: 0 -18px; padding: 16px 18px 18px; background: var(--blue-soft); border-top: 0 !important; }
.calc .tot span { color: var(--blue); }
.calc .tot b { font-size: 34px; color: var(--blue); }
.roi .cab { margin-top: 12px; }
.roi .btn { margin-top: 22px; }

/* 4. За что вы платите: три части системы карточками с номером, текст во всю ширину карточки */
.parts { list-style: none; counter-reset: st; display: grid; gap: 12px; max-width: 720px; margin: 26px auto 0; text-align: left; }
.parts > li { counter-increment: st; position: relative; padding: 18px 16px; border-radius: 18px; background: var(--bg); }
.parts > li::before { content: counter(st); position: absolute; left: 16px; top: 17px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px;
  font: 800 15px/1 'Onest', sans-serif; color: #fff; background: linear-gradient(135deg, var(--blue-2), var(--blue)); }
.parts h3 { display: flex; align-items: center; min-height: 32px; padding-left: 42px; font-size: 19px; line-height: 1.25; }
.parts p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--text); }
.dots { list-style: none; margin-top: 6px; }
.dots li { position: relative; padding: 5px 0 5px 16px; font-size: 16px; line-height: 1.45; color: var(--text); }
.dots li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.dots b { color: var(--ink); }
.parts .out { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px solid var(--blue-soft-2); font-weight: 700; color: var(--blue-deep); }
.pay { background: var(--white); }
.pay .btn { margin-top: 24px; }

/* Экран денег: строки демо-CRM, деньги зелёным, реклама без оплат красным */
.scr { max-width: 620px; margin: 22px auto 0; text-align: left; }
.scr-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 8px 4px; font-size: 13px; font-weight: 700; color: var(--dim); }
.scr-cap span { padding: 2px 9px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 12px; white-space: nowrap; }
.scr-box { border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; font-variant-numeric: tabular-nums; }
.scr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; background: var(--blue-night); color: #fff; }
.scr-top b { font-size: 14px; font-weight: 700; }
.scr-top span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.scr-row { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; row-gap: 2px; padding: 11px 14px; }
.scr-row + .scr-row { border-top: 1px solid var(--line-2); }
.scr-row .n { font-size: 16px; font-weight: 800; color: var(--ink); }
.scr-row .c { font-size: 18px; font-weight: 800; color: var(--wa-ink); white-space: nowrap; }
.scr-row .m { grid-column: 1 / -1; font-size: 13px; line-height: 1.35; color: var(--muted); }
.scr-row.zero { background: #FFF6F4; }
.scr-row.zero .c { color: #C2341F; }
.scr-note { margin: 10px 4px 0; font-size: 14px; color: var(--muted); }

/* 2. Кто ведёт эту рекламу: сразу под первым экраном, один экран телефона */
.who { padding: 20px 0 20px; background: var(--bg); }
.who-in { max-width: 600px; }
.tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--blue); background: var(--blue-soft); }
.who-ph { display: block; width: 116px; height: 116px; margin: 16px auto 0; border-radius: 50%; object-fit: cover;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--blue), 0 16px 30px -14px rgba(12, 36, 112, .5); }
.who h2 { margin-top: 14px; font-size: clamp(28px, 7.4vw, 36px); }
.role { margin-top: 4px; color: var(--blue); font-weight: 700; }
.who-ph { margin-top: 0; width: 100px; height: 100px; }
.who-bio { margin: 10px auto 0; max-width: 440px; font-size: 17px; line-height: 1.45; color: var(--text); text-wrap: balance; }
.who-facts { margin-top: 14px; max-width: 440px; padding: 4px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.who-facts li { padding-top: 9px; padding-bottom: 9px; color: var(--ink); font-weight: 600; }
.who-facts li::before { top: 11px; }
.who-facts li::after { top: 15px; }
.who-facts b { font-weight: 800; color: var(--blue); }
.who-next { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; text-decoration: none; }
.who-next span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 15px; }

/* 7. Подойдёт, если: перед заявкой */
.fit-sec { background: var(--white); }
.fit { max-width: 560px; margin: 0 auto; }
.fit h2 { font-size: clamp(28px, 7.4vw, 36px); }
.fit .ticks { margin-top: 14px; }

/* 6. Тест */
.ticks { list-style: none; text-align: left; margin: 20px auto 0; max-width: 440px; }
.ticks li { position: relative; padding: 10px 0 10px 36px; font-size: 17px; color: var(--text); }
.ticks li + li { border-top: 1px solid var(--line-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 16px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.ticks.small li { font-size: 16px; padding-top: 7px; padding-bottom: 7px; }
.ticks.small li::before { top: 9px; }
.ticks.small li::after { top: 13px; }

/* 7. Вопросы */
.qs { max-width: 720px; margin: 24px auto 0; text-align: left; }
.qs details { border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.qs details + details { margin-top: 10px; }
.qs details[open] { box-shadow: var(--shadow); }
.qs summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 700; font-size: 17px; position: relative; color: var(--ink); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font-size: 20px; font-weight: 700; line-height: 28px; text-align: center; }
.qs details[open] summary::after { content: "−"; background: var(--blue); color: #fff; }
.qs details p { padding: 0 18px 16px; color: var(--muted); font-size: 16px; }

/* 8. Заявка: синяя полоса, белая карточка, полоска заполнения сверху */
.start { scroll-margin-top: 62px; padding-bottom: 72px;
  background: radial-gradient(80% 60% at 100% 0%, rgba(110, 155, 255, .5) 0%, rgba(110, 155, 255, 0) 60%), linear-gradient(180deg, var(--blue-deep), #1440C8); }
.form-card { position: relative; overflow: hidden; max-width: 560px; margin: 0 auto; padding: 32px 18px 22px; border-radius: 26px; background: #fff; color: var(--text); text-align: left;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.prog { position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--blue-soft); }
.prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-2), var(--blue)); transition: width .35s var(--ease); }
.form-card h2 { text-align: center; font-size: clamp(27px, 7.2vw, 38px); }
.form-card .ticks { margin-top: 14px; }
form { margin-top: 18px; }
.q { border: 0; margin-top: 14px; }
.q legend { font-weight: 800; font-size: 16px; padding: 0; margin-bottom: 8px; color: var(--ink); }
.q legend small { font-weight: 500; color: var(--dim); font-size: 13px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font: 600 15px/1.1 'Onest', sans-serif; cursor: pointer; transition: background .12s ease, border-color .12s ease, transform .1s ease; }
.opt:active { transform: scale(.97); }
.opt[aria-pressed="true"] { background: var(--blue-soft); border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue-deep); }
.opt[aria-pressed="true"]::before { content: "✓ "; color: var(--blue); font-weight: 800; }
label { display: block; margin-top: 16px; font-weight: 800; font-size: 16px; color: var(--ink); }
input { width: 100%; min-height: 54px; margin-top: 6px; padding: 0 16px; border-radius: 14px; border: 1.5px solid #D3DBEA; background: #FAFBFE;
  font: 500 18px/1.2 'Onest', sans-serif; color: var(--ink); }
input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 91, 255, .18); }
input[aria-invalid="true"] { border-color: #E0533F; }
.hint { margin-top: 6px; font-size: 14px; color: var(--muted); }
.error { min-height: 0; color: #C2341F; font-size: 14px; margin-top: 4px; }
.error:empty { display: none; }
#submit { margin-top: 20px; }
.consent { margin-top: 10px; font-size: 12.5px; color: var(--dim); text-align: center; }
.failure { margin-top: 14px; padding: 14px; border-radius: 14px; background: #FFF3F0; text-align: center; }
.failure .btn { margin-top: 10px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alt { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
#direct-wa { margin-top: 8px; }

/* Подвал */
.foot { padding: 28px 0 90px; background: var(--white); border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot b { color: var(--muted); }
.foot p + p { margin-top: 6px; }
.foot .fine { font-size: 12px; max-width: 560px; margin: 10px auto 0; }

/* Круглая стрелка к заявке: появляется, когда кнопка первого экрана ушла вверх; прячется у формы */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 12px 26px -8px rgba(31, 91, 255, .7), 0 0 0 4px rgba(255, 255, 255, .9);
  transition: transform .2s ease, opacity .2s ease; }
.fab svg { width: 24px; height: 24px; }
.fab.pre, .fab.off { opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .funnel .bar::before, .prog i, .fab { transition: none !important; }
}

/* Планшет и компьютер */
@media (min-width: 760px) {
  .hero { padding: 64px 0 76px; }
  .hero-in { max-width: 880px; }
  .hero .lead { max-width: 470px; font-size: 18px; }
  .hero h1 { margin-top: 20px; }
  .hero-proof { max-width: 460px; margin-top: 32px; }
  .hero-proof p { padding: 18px 10px 16px; }
  .hero-proof span { font-size: 14px; }
  .hero-proof i { width: 40px; height: 40px; font-size: 15px; }
  .hero .btn.wide { max-width: 460px; margin-top: 28px; }
  .sec { padding: 84px 0; }
  .cab, .calc, .unit { max-width: 620px; }
  .cab-head, .cab-row { grid-template-columns: minmax(0, 1fr) 120px 176px; }
  .svc { font-size: 16px; }
  .parts > li { padding: 22px 24px; }
  .parts > li::before { left: 24px; top: 21px; }
  .scr-row { padding: 12px 18px; }
  .scr-top { padding: 13px 18px; }
  .who-ph { width: 150px; height: 150px; }
  .form-card { padding: 42px 36px 28px; }
}
/* узкий экран 320 px: таблица кампаний не шире экрана */
