/* upkeshup: небо, солнце-монета, эскалатор. Описание системы в DESIGN.md */
:root {
  --sky: #C9E3F6;
  --sky-2: #DCEDF9;
  --page: #EEF6FB;
  --card: #FFFFFF;
  --ink: #0E2140;
  --text: #2A3A55;
  --muted: #53627D;
  --navy: #17315F;
  --navy-d: #10244A;
  --line: #C4D7E8;
  --sun: #FFC42E;
  --sun-l: #FFE19A;
  --sun-d: #B97A00;
  --coral: #D43A1E;
  --coral-d: #AE2A12;
  --head: "Sofia Sans Extra Condensed", "Fira Sans Extra Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Sofia Sans", "Fira Sans", "Segoe UI", Arial, sans-serif;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 18px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; color: var(--ink); line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(46px, 5.4vw, 76px); letter-spacing: -.005em; }
[id] { scroll-margin-top: 72px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 3px; }

.wrap { width: 100%; max-width: 1304px; margin-inline: auto; padding-inline: 32px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 2px solid var(--coral); border-radius: var(--r); background: var(--coral); color: #fff; font: 600 18px/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { background: var(--coral-d); border-color: var(--coral-d); transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #FFD568; border-color: #FFD568; color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 16px; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--sky); }
.top--over { margin-bottom: -72px; }
.top--clear { background: transparent; }
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: baseline; margin-right: auto; font: 800 34px/1 var(--head); color: var(--ink); text-decoration: none; letter-spacing: .005em; }
.logo span:nth-child(1) { transform: translateY(4px); }
.logo span:nth-child(3) { transform: translateY(-5px); color: var(--coral); }
.nav { display: flex; gap: 26px; }
.nav a { font-weight: 500; font-size: 17px; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--coral); }
.burger { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: var(--r); background: none; cursor: pointer; padding: 0; }
.burger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mnav { padding: 4px 32px 20px; background: var(--sky); border-top: 1px solid rgba(14, 33, 64, .15); }
.mnav a { display: block; padding: 12px 0; font-weight: 500; font-size: 19px; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(14, 33, 64, .12); }
.mnav a:last-child { border: 0; color: var(--coral-d); font-weight: 600; }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; min-height: clamp(700px, 50vw, 900px); background: var(--sky); }
.hero__in { position: relative; z-index: 1; padding-top: calc(72px + clamp(40px, 4.2vw, 72px)); }
.hero h1 { max-width: 6.4em; font-size: clamp(84px, 8.1vw, 128px); line-height: .9; letter-spacing: -.01em; text-wrap: wrap; }
.climb { display: inline-block; color: var(--coral); white-space: nowrap; }
.climb i { display: inline-block; font-style: normal; }
.climb i:nth-child(2) { transform: translateY(-.045em); }
.climb i:nth-child(3) { transform: translateY(-.09em); }
.climb i:nth-child(4) { transform: translateY(-.135em); }
.climb i:nth-child(5) { transform: translateY(-.18em); }
.hero__lead { max-width: 27em; margin-top: 24px; font-size: 19px; color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }

.halo--3 { fill: #D2E8F8; }
.halo--2 { fill: #DDEEFA; }
.halo--1 { fill: #F0F3E6; }
.sun { fill: var(--sun); }
.sun-ring { fill: none; stroke: #FFD97A; stroke-width: 5; }
.sun-rub { fill: none; stroke: #fff; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; }
.st-face { fill: #2E5596; }
.st-rib { stroke: #264A86; stroke-width: 2; fill: none; }
.st-riser { fill: #4C77BC; }
.st-edge { fill: var(--sun); }
.body { fill: var(--navy); }
.truss { fill: none; stroke: #1E3C72; stroke-width: 6; stroke-linejoin: round; }
.floor-edge { fill: none; stroke: #3D66A8; stroke-width: 5; }
.glass { fill: #fff; opacity: .26; }
.rail { fill: none; stroke: var(--ink); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.stops text { font: 700 34px/1 var(--head); fill: #A9CBEC; letter-spacing: .02em; }
.stops text:last-child { fill: var(--sun); }
.pk-front { fill: #E4573A; }
.pk-side { fill: #A83419; }
.pk-top { fill: #F58B73; }
.pk-line { fill: none; stroke: #B93D22; stroke-width: 1.5; }
.pk-band { fill: #FFF3DC; }
.co-edge { fill: #C98A08; }
.co-face { fill: var(--sun); }
.co-ring { fill: none; stroke: #E6A516; stroke-width: 2; }
.co-rub { fill: none; stroke: #8F5D00; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }

/* Ступень сдвигается на один шаг за 1,5 с. Пассажир проходит 35 шагов за 52,5 с: 15 по полу, 10 вверх, 10 по верхней площадке */
.stairs-move { animation: stairs 1.5s linear infinite; }
@keyframes stairs { to { transform: translate(52px, -36px); } }
.rider { animation: ride 52.5s linear infinite; }
.r1 { animation-delay: -3s; }
.r2 { animation-delay: -10.5s; }
.r3 { animation-delay: -18s; }
.r4 { animation-delay: -25.5s; }
.r5 { animation-delay: -33s; }
.r6 { animation-delay: -40.5s; }
.r7 { animation-delay: -48s; }
@keyframes ride {
  0% { transform: translate(-120px, 600px); }
  42.857% { transform: translate(660px, 600px); }
  71.429% { transform: translate(1180px, 240px); }
  100% { transform: translate(1700px, 240px); }
}
.lv { animation-duration: 52.5s; animation-timing-function: linear; animation-iteration-count: infinite; animation-delay: inherit; }
.lv-c { animation-name: lv-c; }
.lv-1 { animation-name: lv-1; }
.lv-2 { animation-name: lv-2; }
.lv-3 { animation-name: lv-3; }
.lv-4 { animation-name: lv-4; }
@keyframes lv-c { 0%, 46% { opacity: 1; } 46.6%, 100% { opacity: 0; } }
@keyframes lv-1 { 0%, 46% { opacity: 0; transform: translateY(-14px); } 47%, 100% { opacity: 1; transform: none; } }
@keyframes lv-2 { 0%, 52% { opacity: 0; transform: translateY(-14px); } 53%, 100% { opacity: 1; transform: none; } }
@keyframes lv-3 { 0%, 58.5% { opacity: 0; transform: translateY(-14px); } 59.5%, 100% { opacity: 1; transform: none; } }
@keyframes lv-4 { 0%, 65% { opacity: 0; transform: translateY(-14px); } 66%, 100% { opacity: 1; transform: none; } }

/* ---------- факты ---------- */
.facts { background: var(--navy); color: #C9DDF2; padding: 18px 0 44px; }
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.facts__list b { display: block; font: 800 34px/1 var(--head); color: #fff; margin-bottom: 8px; }
.facts__list span { display: block; max-width: 25em; }
.facts__where { margin-top: 34px; padding-top: 20px; border-top: 1px solid #34558D; }
.facts__where span { color: var(--sun); font-weight: 600; }

/* ---------- разделы ---------- */
.sec { padding: clamp(72px, 8vw, 116px) 0; }
.sec--sky { background: var(--sky-2); }
.sec--navy { background: var(--navy); color: #CFE0F2; }
.sec--navy h2 { color: #fff; }
.head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: 46px; }
.head p { max-width: 34em; font-size: 19px; }
.tag { display: inline-block; padding: 2px 9px; border-radius: 4px; background: var(--sun); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.45; }

/* ---------- расчёт ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); background: var(--card); border-radius: 14px; overflow: hidden; }
.calc__left { padding: 40px; display: grid; gap: 32px; align-content: start; }
.calc legend { font: 800 30px/1 var(--head); color: var(--ink); margin-bottom: 16px; }
.calc__now { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.calc__now legend { grid-column: 1 / -1; }
.calc__f { display: flex; flex-direction: column; justify-content: flex-end; }
.calc__f label { font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.calc__f input { width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--page); color: var(--ink); font: 600 20px/1 var(--body); font-variant-numeric: tabular-nums; }
.calc__f input:focus { outline: 0; border-color: var(--ink); background: #fff; }
.calc__f input[aria-invalid="true"] { border-color: var(--coral); }
.lever + .lever { margin-top: 20px; }
.lever label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; color: var(--ink); }
.lever output { font: 800 30px/1 var(--head); color: var(--coral); font-variant-numeric: tabular-nums; }
.lever p { font-size: 16px; color: var(--muted); line-height: 1.4; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; margin: 2px 0; background: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--sky); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 4px; background: var(--sky); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--coral); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border: 4px solid var(--coral); border-radius: 50%; background: #fff; }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 4px solid var(--coral); border-radius: 50%; background: #fff; }
.calc__right { display: flex; flex-direction: column; padding: 40px; background: var(--navy); color: #C9DDF2; }
.calc__big span { display: block; font-size: 19px; }
.calc__big b { display: block; font: 800 clamp(64px, 7vw, 100px)/.95 var(--head); color: var(--sun); white-space: nowrap; font-variant-numeric: tabular-nums; }
.stairs { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; min-height: 300px; margin: auto 0 22px; padding-top: 28px; }
.stairs li { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.stairs__sum { padding: 0 8px 8px 0; font: 700 25px/1 var(--head); color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stairs__bar { display: block; position: relative; height: 120px; background: #33599A; border-top: 5px solid var(--sun); transition: height .25s ease-out; }
.stairs__bar i { position: absolute; inset: 0 0 auto; height: 0; background: #E4573A; transition: height .25s ease-out; }
.stairs__name { height: calc(2.5em + 8px); padding: 8px 8px 0 0; font-size: 16px; line-height: 1.25; }
.calc__note { font-size: 16px; line-height: 1.45; margin-bottom: 20px; }

/* ---------- услуги ---------- */
.lift { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lift__col { display: flex; flex-direction: column; border-top: 8px solid var(--sun); }
.lift__col ul { flex: 1; background: var(--card); }
.lift__col::after { content: ""; background: var(--navy); }
.lift__col--2::after { height: 56px; }
.lift__col--3::after { height: 112px; }
.lift__col--1 { margin-top: 112px; }
.lift__col--2 { margin-top: 56px; }
.lift__col > h3 { padding: 22px 28px 20px; background: var(--navy); color: #fff; font-size: 38px; }
.lift__col li { padding: 22px 28px 24px; }
.lift__col li + li { border-top: 1px solid var(--line); }
.lift__col h4 { font: 700 21px/1.25 var(--body); color: var(--ink); margin-bottom: 6px; }
.lift__col p { font-size: 17px; line-height: 1.45; }
.lift__col li > span { display: block; margin-top: 10px; font-weight: 600; font-size: 16px; color: var(--coral-d); }
.lift__mark { margin-top: 28px; max-width: 46em; }
.lift__mark b { color: var(--ink); }

/* ---------- первый месяц ---------- */
.month { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 72px; }
.month__side { position: sticky; top: 112px; align-self: start; }
.month__side p { margin-top: 22px; max-width: 26em; font-size: 19px; }
.days li { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-top: 2px solid var(--line); }
.days li:last-child { border-bottom: 2px solid var(--line); }
.days__d { font: 800 42px/.95 var(--head); color: var(--coral); }
.days h3 { font: 700 22px/1.25 var(--body); margin-bottom: 4px; }
.days p { max-width: 34em; }

/* ---------- письмо ---------- */
.mailbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 64px; align-items: center; }
.mailbox__text > p { margin-top: 22px; font-size: 19px; max-width: 27em; }
.ticks { margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; border: 9px solid transparent; border-top: 0; border-bottom: 14px solid var(--sun); }
.letter { background: var(--card); color: var(--text); border-radius: 10px; padding: 26px 34px 32px; }
.letter figcaption { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.letter__head { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.letter__head span { display: inline-block; width: 3.6em; color: var(--muted); }
.letter__head p { display: flex; }
.letter__head span { flex: none; }
.letter__head b { color: var(--ink); font-weight: 600; }
.letter__body { padding-top: 18px; display: grid; gap: 16px; }
.letter__scroll { overflow-x: auto; }
.letter table { width: 100%; border-collapse: collapse; font-size: 17px; font-variant-numeric: tabular-nums; }
.letter th, .letter td { padding: 9px 0 9px 14px; text-align: right; white-space: nowrap; }
.letter th:first-child { text-align: left; padding-left: 0; font-weight: 500; }
.letter thead th { font-weight: 500; color: var(--muted); font-size: 16px; }
.letter tbody tr { border-top: 1px solid var(--line); }
.letter tfoot tr { border-top: 2px solid var(--ink); color: var(--ink); }
.letter tfoot th, .letter tfoot td { font-weight: 700; }
.letter__row { position: relative; padding-left: 30px; }
.letter__row b { color: var(--ink); }
.letter__row::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; margin-left: 2px; border-radius: 50%; background: var(--line); }
.letter__row--up::before, .letter__row--down::before { width: 0; height: 0; margin: 0; border-radius: 0; background: none; border: 9px solid transparent; }
.letter__row--up::before { border-top: 0; border-bottom: 14px solid #E0A000; }
.letter__row--down::before { border-bottom: 0; border-top: 14px solid var(--coral); }

/* ---------- кейсы ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { display: flex; flex-direction: column; background: var(--card); border-radius: 10px; padding: 26px 28px 30px; }
.case__top { font-size: 16px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.case h3 { margin: 18px 0 22px; font: 600 21px/1.25 var(--body); }
.case h3 b { display: block; font: 800 72px/.95 var(--head); color: var(--coral); }
.case__chart { display: block; width: 100%; height: auto; margin-top: auto; overflow: visible; }
.cb rect { fill: #7FA9D6; }
.cb .cb-last { fill: var(--sun); }
.cv text { font: 700 18px/1 var(--body); fill: var(--ink); text-anchor: middle; }
.cm text { font: 400 14px/1 var(--body); fill: var(--muted); text-anchor: middle; }
.case__did { margin-top: 18px; font-size: 17px; }

/* ---------- тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plans__col { display: flex; flex-direction: column; }
.plans__col--1 { padding-top: 144px; }
.plans__col--2 { padding-top: 72px; }
.plans__base { display: block; background: var(--navy); border-top: 8px solid var(--sun); }
.plans__col--1 .plans__base { height: 56px; }
.plans__col--2 .plans__base { height: 128px; }
.plans__col--3 .plans__base { height: 200px; }
.plan { flex: 1; display: flex; flex-direction: column; margin: 0 10px; padding: 30px 30px 32px; background: var(--card); border-radius: 10px 10px 0 0; }
.plan h3 { font-size: 46px; }
.plan__for { margin-top: 8px; min-height: 3em; }
.plan__price { margin-top: 14px; font: 800 66px/1 var(--head); color: var(--ink); white-space: nowrap; }
.plan__price span, .plan__price small { font: 400 18px/1 var(--body); color: var(--muted); }
.plan ul { margin: 18px 0 22px; display: grid; gap: 9px; }
.plan li { position: relative; padding-left: 24px; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 0; top: .42em; border: 7px solid transparent; border-top: 0; border-bottom: 11px solid #E0A000; }
.plan__budget { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.plan .btn { margin-top: 18px; }
.deal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 48px; margin-top: 72px; }
.deal h3 { font-size: 44px; }
.deal ul { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; }
.deal b { color: var(--ink); }
.deal a { white-space: nowrap; color: var(--coral-d); text-underline-offset: 3px; }

/* ---------- вопросы ---------- */
.ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 64px; }
.ask__side p { margin-top: 20px; max-width: 20em; }
.ask__side a, .faq a { color: var(--coral-d); text-underline-offset: 3px; }
.faq details { border-top: 2px solid #B4CFE5; }
.faq details:last-child { border-bottom: 2px solid #B4CFE5; }
.faq summary { position: relative; padding: 20px 48px 20px 0; font-weight: 600; font-size: 21px; line-height: 1.3; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 29px; border: 9px solid transparent; border-bottom: 0; border-top: 13px solid var(--coral); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { max-width: 44em; padding-bottom: 22px; }
.faq .faq__foot { font-size: 15px; color: var(--muted); margin-top: -10px; }

/* ---------- заявка ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(72px, 8vw, 116px) 0; background: var(--navy); color: #CFE0F2; }
.cta h2 { color: #fff; font-size: clamp(54px, 6.4vw, 92px); }
.cta__sun { position: absolute; left: max(-90px, calc(50% - 780px)); bottom: -235px; width: 640px; height: 640px; }
.halo-n { fill: #1D3B70; }
.halo-n2 { fill: #264880; }
.cta__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.cta__side > p { margin-top: 24px; max-width: 26em; font-size: 19px; }
.cta__mail a { color: #fff; font-weight: 600; font-size: 21px; text-underline-offset: 4px; }
.form { background: var(--card); color: var(--text); border-radius: 14px; padding: 38px 40px 40px; }
.form__picked { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--r); background: var(--sun-l); color: var(--ink); font-weight: 500; }
.form__two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label, .chips legend { display: block; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; font-size: 16px; color: var(--muted); }
.field input[type="text"], .field textarea { width: 100%; padding: 13px 14px; border: 2px solid var(--line); border-radius: var(--r); background: var(--page); color: var(--ink); font: 400 18px/1.4 var(--body); }
.field textarea { resize: vertical; min-height: 100px; }
.field input[type="text"]:focus, .field textarea:focus { outline: 0; border-color: var(--ink); background: #fff; }
.is-bad input[type="text"] { border-color: var(--coral); }
.field__err { color: var(--coral-d); font-size: 16px; line-height: 1.35; }
.field__err:not(:empty) { margin-top: 6px; }
.chips { margin-bottom: 22px; }
.chips > label { display: inline-block; margin: 0 6px 8px 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips label > span { display: block; padding: 8px 15px; border: 2px solid var(--line); border-radius: 99px; background: var(--page); color: var(--ink); font-size: 17px; line-height: 1.3; transition: background-color .15s, border-color .15s; }
.chips label:hover > span { border-color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.field .check { display: flex; gap: 12px; margin: 0; font-weight: 400; color: var(--text); font-size: 16px; line-height: 1.4; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--coral); }
.form__send { width: 100%; }
.form__status:not(:empty) { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--sky-2); color: var(--ink); }

/* ---------- подвал ---------- */
.foot { background: var(--navy-d); color: #A9C0DC; padding: 60px 0 28px; font-size: 17px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.5fr; gap: 40px; }
.logo--light { color: #fff; }
.logo--light span:nth-child(3) { color: var(--sun); }
.foot__brand p { margin-top: 12px; }
.foot__h { color: #fff; font-weight: 600; margin-bottom: 10px; }
.foot__col a { text-decoration: none; }
nav.foot__col a { display: block; padding: 4px 0; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot__legal p + p { margin-top: 8px; }
.foot__copy { margin-top: 44px; font-size: 16px; }

/* ---------- документы ---------- */
.doc { padding: 56px 0 96px; }
.doc__in { max-width: 884px; }
.doc__back { color: var(--coral-d); font-weight: 600; text-underline-offset: 3px; }
.doc h1 { margin: 20px 0 12px; font-size: clamp(44px, 6vw, 68px); }
.doc__meta { color: var(--muted); }
.doc h2 { margin: 40px 0 14px; font-size: 34px; }
.doc p + p, .doc ul + p { margin-top: 12px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc p a, .doc td a { color: var(--coral-d); text-underline-offset: 3px; }
.req { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; }
.req th, .req td { padding: 14px 20px; text-align: left; vertical-align: top; }
.req tr + tr { border-top: 1px solid var(--line); }
.req th { width: 34%; font-weight: 500; color: var(--muted); }
.req td { color: var(--ink); }
.doc .doc__after { margin-top: 24px; }
.foot-doc { background: var(--navy-d); color: #A9C0DC; padding: 28px 0; font-size: 17px; }
.foot-doc nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.foot-doc a { text-underline-offset: 3px; }
.foot-doc span { margin-left: auto; }
.lost { min-height: 70vh; display: grid; place-content: center; justify-items: start; gap: 18px; padding: 40px 32px; }
.lost h1 { font-size: clamp(56px, 8vw, 104px); }
.lost .btn { margin-top: 8px; }

/* ---------- экраны поменьше ---------- */
@media (max-width: 1240px) {
  .hero { min-height: 0; }
  .hero h1 { font-size: clamp(64px, 12.4vw, 128px); }
  .hero__in { padding-top: 112px; }
  .hero__art { position: static; height: clamp(300px, 46vw, 500px); margin-top: 8px; }
}
@media (max-width: 1140px) {
  .nav { display: none; }
  .burger { display: block; }
  .calc, .mailbox, .month, .ask, .cta__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .calc { gap: 0; }
  .month__side { position: static; }
  .deal { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lift, .cases { grid-template-columns: minmax(0, 1fr); }
  .lift__col--1, .lift__col--2 { margin-top: 0; }
  .lift__col::after { display: none; }
  .lift__col ul { display: grid; grid-template-columns: 1fr 1fr; }
  .lift__col li + li { border-top: 0; }
  .lift__col li { border-top: 1px solid var(--line); margin-top: -1px; }
  .case { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .case__top { grid-column: 1 / -1; }
  .case__chart { grid-row: 2 / span 2; grid-column: 2; margin: 18px 0 0; max-width: 400px; }
  .plans { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .plans__col--1, .plans__col--2 { padding-top: 0; }
  .plans__col .plans__base { height: 18px; }
  .plan { margin: 0; }
  .plan__for { min-height: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .cta__sun { left: auto; right: -80px; bottom: auto; top: -156px; width: 270px; height: 270px; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { padding-inline: 18px; }
  .mnav { padding-inline: 18px; }
  .top__in { height: 64px; gap: 12px; }
  .top--over { margin-bottom: -64px; }
  .hero__in { padding-top: 88px; }
  [id] { scroll-margin-top: 64px; }
  .logo { font-size: 31px; }
  .hero h1 { font-size: calc((100vw - 36px) / 5.5); max-width: none; }
  .hero__lead, .head p, .month__side p, .mailbox__text > p, .cta__side > p { font-size: 18px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__art { height: max(290px, 60vw); margin-top: 34px; }
  .facts { padding-top: 14px; }
  .facts__list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .head { grid-template-columns: minmax(0, 1fr); margin-bottom: 30px; }
  .calc__left, .calc__right { padding: 26px 20px; }
  .calc__now { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .calc__big b { font-size: clamp(56px, 18vw, 80px); }
  .stairs { min-height: 250px; margin-left: -4px; }
  .stairs__sum { font-size: clamp(17px, 5.2vw, 22px); padding-right: 2px; }
  .stairs__name { font-size: 15px; padding-right: 4px; }
  .lift__col ul { grid-template-columns: minmax(0, 1fr); }
  .lift__col > h3 { padding-inline: 20px; font-size: 34px; }
  .lift__col li { padding-inline: 20px; }
  .days li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .days__d { font-size: 36px; }
  .letter { padding: 22px 18px 24px; }
  .letter table { font-size: 15.5px; }
  .letter th, .letter td { padding-left: 8px; }
  .letter th:nth-child(2), .letter td:nth-child(2) { display: none; }
  .letter thead th { font-size: 14.5px; }
  .case { display: flex; padding: 22px 20px 26px; }
  .plan { padding: 26px 20px 28px; }
  .deal ul { grid-template-columns: minmax(0, 1fr); }
  .form { padding: 26px 18px 28px; }
  .form__two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .req th, .req td { display: block; width: auto; padding: 12px 16px 0; }
  .req td { padding: 2px 16px 12px; }
  .foot-doc span { margin-left: 0; }
}
@media (max-width: 420px) {
  .top__cta { padding-inline: 13px; font-size: 15px; }
  .plan__price { font-size: 54px; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .stairs-move, .rider, .lv { animation-play-state: paused; }
}
