@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(/assets/fonts/onest-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: 'Onest'; font-style: normal; font-display: swap; font-weight: 300 900;
  src: url(/assets/fonts/onest-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ─── ТОКЕНЫ ─── */
:root {
  --ground: #F4F3EF;      /* фон страницы */
  --step: #E9E7E0;        /* ступень тона вместо линий */
  --paper: #FFFFFF;       /* формы */
  --ink: #1C1C1A;         /* текст, из логотипа */
  --ink-2: #45453F;       /* второстепенный текст */
  --line: rgba(28, 28, 26, .14);
  --blue: #4265AE;        /* фирменный синий логотипа */
  --blue-deep: #2F4C8A;
  --tag: #FFD43B;         /* жёлтый ценник — как кнопка «Показать» в Директе */
  --tag-press: #F2C200;
  --error: #C4321F;
  --ok: #1D7A4E;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --pad: clamp(16px, 3vw, 40px);
  --max: 1320px;
  --gap-section: clamp(88px, 11vw, 168px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink) var(--step); }
body { font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 18px; line-height: 1.55;
  color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 0; }
::selection { background: var(--tag); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.num { font-variant-numeric: tabular-nums; }
.nb { white-space: nowrap; }

h1, h2, h3 { font-weight: 750; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 80px); }
h2 { font-size: clamp(32px, 4.2vw, 60px); }
h3 { font-size: clamp(21px, 1.8vw, 26px); letter-spacing: -0.02em; line-height: 1.15; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; max-width: 40ch; margin-top: 24px; }
section { padding: var(--gap-section) 0; }

/* ─── КНОПКИ ─── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 0; font-weight: 650; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.97); }
.btn-tag { background: var(--tag); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn-tag:hover { background: var(--tag-press); }
  .btn-ink:hover { background: #000; }
  .btn-ghost:hover { background: rgba(127,127,127,.12); }
}
.arrow { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a:hover > .arrow, button:hover > .arrow { transform: translateX(4px); } }

/* ─── ШАПКА ─── */
.top { position: sticky; top: 0; z-index: 50; background: var(--ground); transition: background-color 200ms ease; }
.top.scrolled { background: rgba(244, 243, 239, .97); }
.top-in { display: flex; align-items: center; gap: 40px; height: 76px; }
.top-logo img { width: 120px; height: auto; }
.top-nav { display: flex; gap: 28px; margin-left: 8px; }
.top-nav a { text-decoration: none; font-size: 16px; font-weight: 500; }
@media (hover: hover) { .top-nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; } }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.top-phone { text-decoration: none; font-weight: 650; font-size: 17px; text-align: right; line-height: 1.2; }
.top-phone span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.top .btn { min-height: 48px; padding: 0 22px; font-size: 16px; }

/* ─── ЦЕННИК (единственный мотив страницы) ─── */
.tag { position: relative; display: inline-flex; flex-direction: column; justify-content: center; background: var(--tag); color: var(--ink);
  padding: 14px 22px 14px 40px; clip-path: polygon(18px 0, 100% 0, 100% 100%, 18px 100%, 0 50%); line-height: 1.1; }
.tag::before { content: ''; position: absolute; left: 16px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--ground); }
.tag b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.tag small { font-size: 14px; font-weight: 550; margin-top: 4px; }
.plan .tag b small { font-size: 16px; font-weight: 600; margin: 0; }
.tag.on-paper::before { background: var(--paper); }
.tag.on-blue::before { background: var(--blue); }

/* ─── 1. ГЕРОЙ ─── */
.hero { padding: clamp(24px, 3vw, 48px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.hero h1 { max-width: 13.5ch; }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 34ch; margin-top: 32px; }
.hero-audit { margin-top: 28px; font-size: 17px; color: var(--ink-2); }
.hero-audit a { color: var(--ink); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; text-decoration-color: var(--tag-press); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); background: var(--step); }
.facts > div { padding: 28px 28px 30px; }
.facts > div + div { box-shadow: inset 2px 0 0 var(--ground); }
.facts .fact-tag { display: flex; align-items: center; padding: 22px 20px 22px 24px; }
.facts .tag { padding: 16px 20px 16px 38px; }
.facts .tag b { font-size: clamp(20px, 1.7vw, 24px); }
.facts .tag small { font-size: 14px; line-height: 1.3; }
.facts .tag::before { background: var(--step); }
.facts b { display: block; font-size: clamp(22px, 2vw, 30px); font-weight: 750; letter-spacing: -0.035em; line-height: 1; }
.facts span { display: block; margin-top: 10px; font-size: 16px; color: var(--ink-2); line-height: 1.4; }

/* ─── ФОРМЫ ─── */
.form-card { position: relative; background: var(--paper); color: var(--ink); padding: clamp(24px, 2.6vw, 36px); }
.form-card h2, .form-card h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.03em; line-height: 1.1; }
.form-card .note { font-size: 16px; color: var(--ink-2); margin-top: 10px; }
.hero .form-card { margin-top: 8px; }
.form-card.has-tag { padding-top: clamp(48px, 4.4vw, 64px); }
.form-card > .tag { position: absolute; top: -26px; right: -14px; transform: rotate(-4deg); transform-origin: 0 50%; }
.field { margin-top: 20px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field select { width: 100%; height: 54px; padding: 0 16px; background: var(--ground); border: 2px solid transparent; border-radius: 0;
  font-size: 17px; transition: border-color 150ms ease, background-color 150ms ease; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5l6 6 6-6' stroke='%231C1C1A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; cursor: pointer; }
.field input::placeholder { color: #85847C; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); background: var(--paper); }
.field input.error { border-color: var(--error); background: #FDF0EE; animation: shake 360ms var(--ease-out); }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.contact-switch { display: flex; gap: 0; margin-bottom: 8px; background: var(--ground); padding: 4px; }
.contact-switch button { flex: 1; height: 40px; border: 0; background: transparent; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease; }
.contact-switch button.active { background: var(--ink); color: #fff; }
.form-card > .form-body > .btn { width: 100%; margin-top: 24px; }
.consent { font-size: 13px; line-height: 1.45; color: var(--ink-2); margin-top: 14px; }
.consent a { color: inherit; }
.form-success { display: none; text-align: left; padding: 8px 0; }
.form-success .ok { width: 56px; height: 56px; display: grid; place-items: center; background: var(--tag); font-size: 28px; font-weight: 800; margin-bottom: 20px; }

/* ─── 2. ЦИФРЫ ─── */
.stats { background: var(--ink); color: #fff; padding: clamp(56px, 7vw, 96px) 0; margin-top: var(--gap-section); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat b { display: block; white-space: nowrap; font-size: clamp(40px, 4.6vw, 70px); font-weight: 750; letter-spacing: -0.045em; line-height: .95; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 14px; font-size: 17px; color: #C9C8C0; max-width: 22ch; }

/* ─── 3. БОЛИ: таблица «что происходит → что делаем» ─── */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.split-head .lead { margin-top: 0; }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 900px; }
.eyebrow { display: block; font-size: 16px; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; letter-spacing: -0.005em; }
.how .eyebrow, .audit .eyebrow, .stats .eyebrow { color: #C9D3EA; }
.audit .eyebrow { color: #B9B7AE; }
.guarantee .eyebrow { color: var(--ink); }
.pains { display: grid; }
.pain-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.pain-row h3 { font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.025em; }
.pain-fix { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: baseline; }
.pain-fix span { font-size: 14px; font-weight: 650; color: var(--blue); }
.pain-fix p { font-size: 18px; }
.pains-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 48px; padding: 32px 36px; background: var(--tag); }
.pains-cta p b { font-weight: 800; }
.pains-cta p { font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.015em; max-width: 46ch; line-height: 1.35; }

/* ─── 4. ПОДХОД: цепочка на синем поле ─── */
.how { background: var(--blue); color: #fff; }
.how h2 { max-width: 16ch; }
.how .lead { color: #E3E9F6; }
.chain { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(48px, 6vw, 88px); counter-reset: none; }
.chain li { position: relative; padding: 0 24px 0 0; }
.chain-n { display: block; font-style: normal; font-size: 15px; font-weight: 700; color: var(--tag); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.chain b { display: block; font-size: clamp(22px, 2.2vw, 32px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.1; }
.chain b::after { content: '→'; font-weight: 400; margin-left: 10px; color: var(--tag); }
.chain li:last-child b::after { content: none; }
.chain span { display: block; margin-top: 12px; font-size: 16px; color: #E3E9F6; max-width: 18ch; }
.loop { display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 28px 32px; background: var(--blue-deep); max-width: 820px; }
.loop-ico { flex: none; font-size: 30px; line-height: 1; color: var(--tag); font-weight: 700; }
.loop p { font-size: 18px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.tool { padding: 10px 16px; background: var(--blue-deep); font-size: 15px; font-weight: 550; }
.tools-line { margin-top: 40px; font-size: 16px; color: #E3E9F6; max-width: 90ch; }
.tools-line b { color: #fff; font-weight: 600; }

/* ─── 5. ЭТАПЫ: календарь на 5 дней ─── */
.cal { display: grid; grid-template-columns: repeat(5, 1fr) 1.3fr; gap: 4px; margin-top: clamp(40px, 5vw, 72px); }
.cal-day { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 0 4px 12px; }
.cal-day.later { color: var(--blue); }
.phase { padding: 24px 24px 28px; background: var(--step); min-height: 190px; }
.t-when { display: block; font-size: 15px; font-weight: 650; margin-bottom: 10px; opacity: .75; }
.phase h3 { font-size: clamp(22px, 2vw, 28px); }
.phase p { margin-top: 12px; font-size: 16px; line-height: 1.45; }
.phase.p1 { grid-column: 1 / 3; }
.phase.p2 { grid-column: 3 / 5; }
.phase.p3 { grid-column: 5 / 6; background: var(--tag); }
.phase.p4 { grid-column: 6 / 7; background: var(--ink); color: #fff; }
.honest { margin-top: 32px; font-size: 17px; max-width: 70ch; color: var(--ink-2); }
.honest b { color: var(--ink); }

/* ─── 6. КЕЙСЫ ─── */
.case-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 64px); background: var(--paper); }
.shot { position: relative; }
.shot > span { position: absolute; right: 0; bottom: 0; padding: 6px 12px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 550; }
.case-row .shot > span { font-size: 12px; padding: 4px 8px; }
.case-link { display: inline-block; margin-top: 14px; }
.case-lead .shot { display: block; width: 100%; border: 0; padding: 0; background: var(--step); cursor: zoom-in; overflow: hidden; }
.case-lead .shot img { width: 100%; height: auto; transition: transform 600ms var(--ease-out); }
@media (hover: hover) { .case-lead .shot:hover img { transform: scale(1.015); } }
.case-lead-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; padding: clamp(24px, 3vw, 44px); }
.case-niche { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.case-lead h3 { font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.035em; margin-top: 10px; max-width: 20ch; }
.case-lead h3 a, .case-row h3 a { text-decoration: none; }
.metrics { display: flex; gap: clamp(20px, 3vw, 48px); }
.metrics div b { display: block; font-size: clamp(30px, 3.2vw, 48px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.metrics div span { display: block; font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.case-rows { margin-top: 4px; display: grid; gap: 4px; }
.case-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 240px; gap: 32px; align-items: center; padding: 28px clamp(24px, 3vw, 44px); background: var(--paper);
  transition: background-color 200ms ease; }
.case-row h3 { margin-top: 6px; font-size: clamp(20px, 1.7vw, 24px); }
.case-row .metrics div b { font-size: clamp(24px, 2.2vw, 32px); }
.case-row .shot { border: 0; padding: 0; background: var(--step); cursor: zoom-in; display: block; overflow: hidden; }
.case-row .shot img { width: 100%; height: 96px; object-fit: cover; object-position: left top; }
.case-link { font-weight: 600; font-size: 16px; text-decoration: none; }
.cases-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.cases-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 16px; color: var(--ink-2); }
.cases-foot nav .chip { color: var(--ink); font-weight: 600; text-underline-offset: 5px; }

/* ─── 7. ЖИВОЙ РАСЧЁТ ─── */
.calc { background: var(--step); }
.calc-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.calc-box { background: var(--paper); padding: clamp(24px, 3vw, 44px); }
.calc-label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 16px; font-weight: 600; }
.calc-label output { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.range { width: 100%; margin: 20px 0 8px; -webkit-appearance: none; appearance: none; height: 36px; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 6px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--fill, 30%) 100% no-repeat, var(--step); }
.range::-moz-range-track { height: 6px; background: var(--step); }
.range::-moz-range-progress { height: 6px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -13px; background: var(--tag); border: 3px solid var(--ink); border-radius: 50%;
  transition: transform 150ms var(--ease-out); }
.range::-moz-range-thumb { width: 26px; height: 26px; background: var(--tag); border: 3px solid var(--ink); border-radius: 50%; }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range-scale { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.bars { margin-top: 36px; display: grid; gap: 22px; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
.bar-name { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; }
.bar-name output { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.bar { height: 44px; background: var(--ground); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 50%); background: #B9B6AC; transition: width 380ms var(--ease-out); }
.bar.us i { background: var(--tag); }
.bar.us i::after { content: 'фикс'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 14px; font-weight: 700; }
.calc-save { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.calc-save span { font-size: 17px; font-weight: 600; }
.calc-save output { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.compare { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare th { text-align: left; font-size: 14px; font-weight: 650; color: var(--ink-2); padding: 0 12px 14px 0; vertical-align: bottom; }
.compare td { padding: 10px 12px 10px 0; border-top: 1px solid var(--line); font-size: 16px; font-weight: 600; white-space: nowrap; }
.compare td.them, .compare td.us { position: relative; width: 36%; }
.compare td i { display: block; height: 30px; width: var(--w); background: #B9B6AC; transform-origin: left; transition: transform 900ms var(--ease-out); }
.compare td.us i { background: var(--tag); }
.compare td span { display: block; margin-top: 6px; font-size: 17px; font-weight: 750; }
.compare td.us span { color: var(--ink); }
.js .calc-box:not(.in) .compare td i { transform: scaleX(0); }
.calc-note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* ─── 8. ТАРИФЫ ─── */
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4px; margin-top: clamp(40px, 5vw, 72px); align-items: stretch; }
.plan { padding: clamp(28px, 3.4vw, 52px); background: var(--paper); display: flex; flex-direction: column; }
.plan.main { background: var(--ink); color: #fff; }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.plan h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.04em; }
.plan-for { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.plan.main .plan-for { color: #C9C8C0; }
.plan-hit { font-size: 14px; font-weight: 650; padding: 8px 12px; background: #fff; color: var(--ink); white-space: nowrap; }
.plan .tag { margin-top: 32px; align-self: flex-start; }
.plan.main .tag::before { background: var(--ink); }
.plan-sub { margin-top: 14px; font-size: 16px; color: var(--ink-2); }
.plan.main .plan-sub { color: #C9C8C0; }
.plan ul { list-style: none; margin: 32px 0 36px; display: grid; gap: 14px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; font-size: 17px; line-height: 1.4; }
.plan li svg { width: 22px; height: 22px; margin-top: 1px; }
.plan li.no { color: #8C8A82; }
.plan .btn { align-self: flex-start; }
.plans-foot { margin-top: 24px; font-size: 16px; color: var(--ink-2); max-width: 75ch; }

/* ─── 9. ГАРАНТИЯ: жёлтое поле ─── */
.guarantee { background: var(--tag); }
.g-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.guarantee h2 { max-width: 14ch; }
.guarantee .lead { max-width: 36ch; }
.guarantee .btn { margin-top: 36px; }
.promises-title { font-size: clamp(22px, 2vw, 28px); font-weight: 750; letter-spacing: -0.025em; }
.promises { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 28px; }
.promises b { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.promises span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.4; }

/* ─── 10. КВИЗ ─── */
.quiz-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.quiz { background: var(--paper); padding: clamp(24px, 3vw, 44px); min-height: 420px; display: flex; flex-direction: column; }
.quiz-progress { height: 6px; background: var(--step); margin-bottom: 32px; }
.quiz-progress i { display: block; height: 100%; width: 20%; background: var(--ink); transition: width 400ms var(--ease-out); }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: stepIn 320ms var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } }
.quiz-q { font-size: clamp(24px, 2.2vw, 32px); font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 24px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.quiz-opt { text-align: left; padding: 18px 20px; min-height: 64px; background: var(--ground); border: 0; font-size: 17px; font-weight: 550; cursor: pointer;
  transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.quiz-opt:active { transform: scale(0.98); }
@media (hover: hover) { .quiz-opt:hover { background: var(--tag); } }
.quiz-result { padding: 20px 22px; background: var(--tag); font-size: 18px; line-height: 1.45; margin-bottom: 8px; }
.quiz-step .btn { width: 100%; margin-top: 24px; }
.quiz-nav { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.quiz-nav button { background: none; border: 0; font-weight: 600; cursor: pointer; color: var(--ink); }

/* ─── 11. КОМАНДА ─── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: clamp(40px, 5vw, 72px); }
.member { display: flex; flex-direction: column; }
.member img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; background: var(--step); }
.member-body { flex: 1; background: var(--paper); padding: 20px 22px 24px; }
.member-name { display: block; font-size: 24px; font-weight: 750; letter-spacing: -0.03em; }
.member-role { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; line-height: 1.35; }
.member-what { display: block; margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* ─── 12. АУДИТ: чёрное поле ─── */
.audit { background: var(--ink); color: #fff; }
.audit-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.audit h2 { max-width: 15ch; }
.audit .lead { color: #D8D7CF; }
.checks { list-style: none; margin-top: 36px; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; font-size: 19px; font-weight: 550; }
.checks svg { width: 26px; height: 26px; color: var(--tag); }

/* ─── 13. FAQ ─── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.faq-grid > div:first-child { position: sticky; top: 112px; }
.faq-grid .lead a { font-weight: 600; text-underline-offset: 5px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; background: none; border: 0; text-align: left;
  font-size: clamp(19px, 1.6vw, 22px); font-weight: 650; letter-spacing: -0.015em; cursor: pointer; }
.faq-q::after { content: ''; flex: none; width: 14px; height: 14px; background:
  linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform 220ms var(--ease-out); }
.faq-q.open::after { transform: rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); font-size: 18px; max-width: 62ch; }
.faq-a > span { overflow: hidden; }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a.open > span { padding-bottom: 24px; }

/* ─── 14. ФИНАЛ ─── */
.final { padding-bottom: var(--gap-section); }
.final-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .9fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.final h2 { font-size: clamp(36px, 5vw, 72px); max-width: 13ch; }
.contacts { list-style: none; margin-top: 40px; display: grid; gap: 10px; font-size: 18px; }
.contacts a { font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -0.03em; text-decoration: none; }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }

/* ─── ПОДВАЛ ─── */
.foot { background: var(--ink); color: #D8D7CF; padding: clamp(56px, 7vw, 96px) 0 40px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot b { display: block; color: #fff; font-weight: 650; margin-bottom: 12px; }
.foot a { color: #fff; text-decoration: none; }
@media (hover: hover) { .foot a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.foot-links a, .foot-links span { display: block; margin-bottom: 8px; }
.foot-logo { width: 112px; height: auto; margin-bottom: 14px; }
.foot-mark img { width: 100%; height: auto; }
.foot-mark { margin-top: clamp(56px, 8vw, 112px); font-size: clamp(64px, 23.4vw, 342px); font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: #fff; white-space: nowrap; overflow: hidden; }
.foot-mark span { color: var(--tag); }
.foot-legal { margin-top: 40px; font-size: 14px; color: #A9A79E; }
.foot-legal a { color: #D8D7CF; text-decoration: underline; text-underline-offset: 3px; }

/* ─── ПЛАШКИ ─── */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--ground);
  transform: translateY(110%); transition: transform 280ms var(--ease-out); display: none; }
.mobile-cta .btn { width: 100%; }
.mobile-cta.show { transform: none; }
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; padding: 18px 20px; background: var(--ink); color: #E9E8E1; font-size: 14px; line-height: 1.45;
  box-shadow: 0 16px 40px rgba(0,0,0,.25); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); }
.cookie.show { opacity: 1; transform: none; pointer-events: auto; }
.cookie a { color: #fff; }
.cookie .btn { min-height: 40px; padding: 0 22px; margin-top: 12px; font-size: 15px; }

.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(28,28,26,.55); display: flex; align-items: center; justify-content: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.modal-bg.open { opacity: 1; pointer-events: auto; }
.modal { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; transform: scale(.96) translateY(8px);
  transition: transform 260ms var(--ease-out); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal-bg.open .modal { transform: none; }
.modal-close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }

.shot-bg { position: fixed; inset: 0; z-index: 95; background: rgba(20,20,18,.92); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.shot-bg.open { display: flex; }
.shot-scroll { max-width: 1400px; width: 100%; max-height: 82vh; overflow: auto; background: #fff; cursor: default; }
.shot-scroll img { width: 100%; height: auto; }
.shot-bg p { color: #D8D7CF; font-size: 14px; margin-top: 14px; text-align: center; }

/* ─── ДВИЖЕНИЕ ─── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease-out) var(--d, 0ms), transform 700ms var(--ease-out) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
/* фирменный момент: ценник «подвешивается» к форме при загрузке */
.js .form-card > .tag { animation: hang 1100ms var(--ease-out) 350ms both; }
@keyframes hang { 0% { opacity: 0; transform: translateY(-28px) rotate(-14deg); } 55% { opacity: 1; transform: translateY(0) rotate(1deg); } 78% { transform: rotate(-5.5deg); } 100% { transform: rotate(-4deg); } }
.tag.bump { animation: bump 300ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .js .form-card > .tag { animation: none; }
  .tag.bump, .field input.error { animation: none; }
  .bar i, .quiz-progress i { transition: none; }
}

/* ─── АДАПТИВ ─── */
@media (max-width: 1180px) {
  .top-nav { display: none; }
  .chain { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .case-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .case-row .shot { display: none; }
}
@media (max-width: 960px) {
  body { font-size: 17px; }
  .hero-grid, .split-head, .calc-grid, .g-grid, .quiz-wrap, .audit-grid, .faq-grid, .final-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 16ch; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(3) { box-shadow: inset 0 2px 0 var(--ground); }
  .facts > div:nth-child(4) { box-shadow: inset 2px 0 0 var(--ground), inset 0 2px 0 var(--ground); }
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat b { font-size: clamp(36px, 10vw, 64px); }
  .cal { grid-template-columns: 1fr; gap: 4px; }
  .cal-day { display: none; }
  .phase { grid-column: auto !important; min-height: 0; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan-top { flex-wrap: wrap; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid > div:first-child { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .case-lead-body { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  :root { --gap-section: 80px; }
  .top-in { height: 64px; gap: 12px; }
  .top-logo img { width: 104px; }
  .top-phone span { display: none; }
  .top-phone { font-size: 15px; }
  .top .btn { display: none; }
  .form-card > .tag { right: 8px; top: -30px; }
  .hero .form-card { margin-top: 24px; }
  .facts > div { padding: 20px 18px 22px; }
  .facts span { font-size: 14px; }
  .pain-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .pain-fix { grid-template-columns: 1fr; gap: 4px; }
  .pain-fix p { font-size: 17px; }
  .pains-cta { flex-direction: column; align-items: stretch; padding: 24px 20px; }
  .chain { grid-template-columns: 1fr; row-gap: 24px; }
  .chain b::after { content: '↓'; }
  .loop { padding: 22px 20px; }
  .case-row { grid-template-columns: 1fr; gap: 16px; padding: 22px 20px; }
  .metrics { gap: 18px 22px; flex-wrap: wrap; }
  .compare th, .compare td { font-size: 14px; }
  .compare td span { font-size: 15px; }
  .compare td i { height: 22px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div { box-shadow: inset 0 2px 0 var(--ground) !important; }
  .facts > div:first-child { box-shadow: none !important; }
  .promises { grid-template-columns: 1fr; gap: 20px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .member-body { padding: 14px 14px 18px; }
  .member-name { font-size: 20px; }
  .member-role { font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  .cookie { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .btn { width: 100%; }
  .messengers .btn, .guarantee .btn, .plan .btn { width: 100%; }
}

/* ─── ИНФОГРАФИКА НА ПЕРВОМ ЭКРАНЕ: ФИКС ПРОТИВ % ─── */
.hero-grid { grid-template-areas: "text form" "chart form"; grid-template-rows: auto 1fr; row-gap: 0; }
.hero-text { grid-area: text; }
.hero-grid > .form-card { grid-area: form; }
.hero h1 { font-size: clamp(36px, 4.5vw, 66px); max-width: 15ch; }
.hero-sub { margin-top: 24px; }
.hero-audit { margin-top: 18px; }
.hero-chart { grid-area: chart; align-self: end; margin-top: 24px; background: var(--paper); padding: 16px 20px 12px; }
.hero-chart figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.hero-chart figcaption > b { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.hc-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--ink-2); }
.hc-legend span::before { content: ''; display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; }
.hc-l-them::before { background: #C9C6BC; }
.hc-l-us::before { background: var(--tag); box-shadow: inset 0 0 0 1.5px var(--ink); }
.hc-plot { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: 116px; margin: 8px 0 0; padding: 20px 132px 0 0;
  border-bottom: 2px solid var(--ink); }
.hc-col { position: relative; display: flex; flex-direction: column; justify-content: flex-end; }
.hc-bar { position: relative; height: var(--h); }
.hc-bar i { display: block; height: 100%; background: #C9C6BC; transform-origin: bottom; }
.hc-bar em { position: absolute; left: -6px; right: -6px; bottom: calc(100% + 4px); text-align: center; font-style: normal; font-size: 13px; font-weight: 750;
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.hc-x { position: absolute; left: 0; right: 0; top: calc(100% + 6px); text-align: center; font-size: 12px; color: var(--ink-2); white-space: nowrap; }
.hc-us { position: absolute; left: 0; right: 0; bottom: calc(var(--h) * 0.83); height: 4px; margin-bottom: -2px; background: var(--tag); box-shadow: 0 0 0 1.5px var(--ink); }
.hc-us-tag { position: absolute; right: 0; bottom: 8px; width: 122px; padding: 5px 8px; background: var(--tag); color: var(--ink); font-size: 12px; line-height: 1.25; font-weight: 600; }
.hc-us-tag b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.hc-axis { margin-top: 24px; font-size: 12px; color: var(--ink-2); }

/* анимация: столбики комиссии растут вслед за бюджетом, затем ровная линия фикса */
.js .hero-chart .hc-bar i { animation: hcGrow 900ms var(--ease-out) both; animation-delay: calc(450ms + var(--i, 0) * 140ms); }
.js .hero-chart .hc-bar em { animation: hcFade 400ms var(--ease-out) both; animation-delay: calc(900ms + var(--i, 0) * 140ms); }
.js .hero-chart .hc-us { animation: hcDraw 800ms var(--ease-in-out) 1400ms both; }
.js .hero-chart .hc-us-tag { animation: hcTag 500ms var(--ease-out) 2050ms both; }
@keyframes hcGrow { from { transform: scaleY(0); } }
@keyframes hcFade { from { opacity: 0; transform: translateY(6px); } }
@keyframes hcDraw { from { clip-path: inset(-200px 100% -200px 0); } to { clip-path: inset(-200px 0 -200px 0); } }
@keyframes hcTag { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-chart .hc-bar i, .js .hero-chart .hc-bar em, .js .hero-chart .hc-us, .js .hero-chart .hc-us-tag { animation: none; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-areas: "text" "form" "chart"; grid-template-rows: auto; row-gap: 32px; }
  .hero-chart { align-self: start; }
  .hero-chart { margin-top: 24px; }
}
@media (max-width: 640px) {
  .hero-chart { padding: 16px 14px 12px; }
  .hc-plot { gap: 6px; padding-right: 96px; height: 140px; }
  .hc-us-tag { width: 90px; font-size: 11px; }
  .hc-us-tag b { font-size: 14px; }
  .hc-bar em { font-size: 11px; left: -4px; right: -4px; }
  .hc-x { font-size: 11px; }
}

/* ─── ВНУТРЕННИЕ СТРАНИЦЫ: КЕЙСЫ И ОТРАСЛИ ─── */
.case-hero { padding: clamp(32px, 4vw, 64px) 0 clamp(48px, 6vw, 88px); }
.crumbs { font-size: 15px; color: var(--ink-2); margin-bottom: 28px; }
.crumbs a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.case-hero .case-niche { font-size: 16px; }
.case-hero h1 { font-size: clamp(34px, 4.6vw, 68px); max-width: 18ch; margin-top: 14px; }
.case-hero .lead { max-width: 52ch; }
.case-client { margin-top: 18px; font-size: 17px; color: var(--ink-2); }
.case-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin-top: 20px; }
.metric { background: var(--step); padding: 14px 16px; }
.metric b { display: block; font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.metric > span:not(.from) { display: block; hyphens: auto; overflow-wrap: break-word; margin-top: 6px; font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.metric .from { display: block; font-size: 13px; color: var(--ink-2); text-decoration: line-through; margin-bottom: 2px; }
.case-metrics-lg { margin-top: clamp(32px, 4vw, 56px); max-width: 980px; }
.case-metrics-lg .metric { background: var(--ink); color: #fff; padding: 22px 24px 24px; }
.case-metrics-lg .metric:first-child { background: var(--tag); color: var(--ink); }
.case-metrics-lg .metric b { font-size: clamp(32px, 3.6vw, 52px); }
.case-metrics-lg .metric > span:not(.from), .case-metrics-lg .metric .from { color: inherit; opacity: .75; }

.case-body { padding-top: 0; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.case-col h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 48px 0 16px; }
.case-col h2:first-child { margin-top: 0; }
.case-col p { font-size: 18px; max-width: 65ch; }
.case-col p + p { margin-top: 12px; }
.case-col p + .case-list { margin-top: 12px; }
.case-list { list-style: none; display: grid; gap: 10px; }
.case-list li { position: relative; padding-left: 28px; font-size: 18px; line-height: 1.5; }
.case-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 12px; height: 4px; background: var(--ink); }
.case-step { font-size: 20px; margin: 28px 0 12px; }
.case-result { position: sticky; top: 100px; background: var(--tag); padding: clamp(24px, 3vw, 40px); }
.case-result .case-list li { font-weight: 650; }
.case-result .case-list li::before { width: 14px; height: 8px; top: .45em; background: none; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.case-period { margin-top: 20px; font-size: 15px; }
.case-result .honest { margin-top: 16px; font-size: 15px; color: var(--ink); }
.case-figure { margin-top: 24px; }
.case-figure:first-child { margin-top: clamp(48px, 6vw, 88px); }
.case-shot { display: block; width: 100%; border: 0; padding: 0; background: var(--paper); cursor: zoom-in; text-align: left; overflow: hidden; }
.case-shot img { width: 100%; height: 120px; object-fit: cover; object-position: left top; transition: transform 500ms var(--ease-out); }
.case-figure .case-shot img { height: auto; max-height: 520px; object-fit: contain; object-position: center; }
@media (hover: hover) { .case-shot:hover img { transform: scale(1.015); } }
.case-shot span { display: block; padding: 10px 16px; font-size: 14px; font-weight: 600; background: var(--ink); color: #fff; }

.section-alt { background: var(--step); }
.section-alt .metric, .section-alt .pain, .section-alt .ind-step { background: var(--paper); }
.section-head { margin-bottom: clamp(36px, 4.5vw, 64px); max-width: 900px; }
.cases-grid { display: grid; gap: 4px; }
.cases-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case { background: var(--paper); padding: 26px 26px 24px; display: flex; flex-direction: column; transition: transform 200ms var(--ease-out); }
.case h3 { margin-top: 8px; font-size: clamp(20px, 1.6vw, 23px); }
.case h3 a { text-decoration: none; }
.case .case-metrics { margin-top: 20px; flex: 1; align-content: end; }
.case .metric b { font-size: 22px; }
.case .metric { padding: 12px 12px; }
.case-more { display: inline-block; margin-top: 20px; font-weight: 650; font-size: 16px; text-decoration: none; }
@media (hover: hover) { .case:hover { transform: translateY(-3px); } .case-more:hover { text-decoration: underline; text-underline-offset: 4px; } }
.cases-more { margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 32px; font-size: 16px; color: var(--ink-2); }
.chip { color: var(--ink); font-weight: 600; text-underline-offset: 5px; }
.chip.active { background: var(--tag); padding: 4px 10px; text-decoration: none; }

.ind-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; max-width: 980px; margin-top: clamp(32px, 4vw, 56px); }
.ind-stats .metric { background: var(--ink); color: #fff; padding: 22px 24px; }
.ind-stats .metric:first-child { background: var(--tag); color: var(--ink); }
.ind-stats .metric b { font-size: clamp(30px, 3.2vw, 46px); }
.ind-stats .metric > span:not(.from) { color: inherit; opacity: .8; }
.ind-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pains-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.pain { background: var(--paper); padding: 26px 28px; }
.pain h3 { font-size: clamp(20px, 1.7vw, 24px); }
.pain p { margin-top: 10px; font-size: 17px; }
.ind-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ind-step { background: var(--paper); padding: 24px 22px; }
.ind-step span { display: block; font-size: 15px; font-weight: 800; color: var(--blue); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.ind-step b { display: block; font-size: 19px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.ind-step p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.pricing-foot { font-size: 17px; max-width: 75ch; }
.pricing-foot a { font-weight: 600; text-underline-offset: 4px; }
.faq { max-width: 900px; }
.extra-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.extra { background: var(--paper); padding: clamp(24px, 3vw, 40px); text-decoration: none; color: var(--ink); transition: background-color 200ms ease; }
@media (hover: hover) { .extra:hover { background: var(--tag); } }
.extra h3 { font-size: clamp(22px, 2vw, 30px); }
.extra p { margin-top: 12px; font-size: 17px; }
.extra span { display: block; margin-top: 18px; font-size: 15px; font-weight: 650; color: var(--blue); }
.wrap.final { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .9fr); gap: clamp(32px, 6vw, 112px); align-items: start; padding-bottom: 0; }
.wrap.final h2 { font-size: clamp(32px, 4vw, 56px); max-width: 14ch; }

@media (max-width: 1080px) {
  .cases-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid, .wrap.final { grid-template-columns: 1fr; }
  .case-result { position: static; }
  .ind-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cases-grid-3, .pains-grid, .extra-grid, .ind-steps, .ind-stats { grid-template-columns: 1fr; }
  .case-metrics-lg { grid-template-columns: 1fr; }
  .case-metrics-lg .metric { padding: 16px 18px; }
  .case-list li, .case-col p { font-size: 17px; }
  .ind-cta .btn { width: 100%; }
}

/* ─── КНОПКА «НАВЕРХ» ─── */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 0;
  background: var(--ink); color: #fff; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), background-color 160ms ease; }
.to-top svg { width: 22px; height: 22px; transition: transform 200ms var(--ease-out); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .to-top:hover { background: #000; } .to-top:hover svg { transform: translateY(-2px); } }
.cookie.show ~ .to-top, body.cookie-open .to-top { bottom: 24px; }
@media (max-width: 640px) {
  .to-top { right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity 200ms ease; transform: none; } }

/* ─── ПЕРВЫЙ ЭКРАН ЦЕЛИКОМ В ОКНЕ (десктоп) ───
   Размеры привязаны к высоте окна: заголовок, форма, график и полоса фактов
   помещаются без прокрутки на экранах от ~700 px по высоте. */
@media (min-width: 961px) {
  .hero { padding-top: clamp(12px, 2.4vh, 32px); }
  .hero-grid { gap: 0 clamp(32px, 4.5vw, 80px); }
  .hero .eyebrow { margin-bottom: clamp(8px, 1.4vh, 16px); font-size: 15px; }
  .hero h1 { font-size: clamp(34px, min(4.4vw, 6.6vh), 66px); max-width: 16ch; }
  .hero-sub { max-width: 46ch; font-size: clamp(16px, min(1.4vw, 2.3vh), 20px); margin-top: clamp(10px, 2vh, 22px); }
  .hero-audit { margin-top: clamp(8px, 1.4vh, 16px); font-size: 16px; }
  .hero-chart { margin-top: clamp(12px, 2.2vh, 24px); padding: clamp(10px, 1.6vh, 16px) 18px clamp(8px, 1.2vh, 12px); }
  .hc-plot { height: clamp(78px, 12vh, 116px); padding-top: 18px; }
  .hc-axis { margin-top: 22px; }

  .hero .form-card { margin-top: 0; padding: clamp(18px, 2.6vh, 32px) clamp(20px, 2vw, 32px); }
  .hero .form-card h2 { font-size: clamp(21px, min(1.8vw, 3vh), 28px); }
  .hero .form-card .note { margin-top: 6px; font-size: 15px; }
  .hero .field { margin-top: clamp(10px, 1.6vh, 18px); }
  .hero .field label { margin-bottom: 6px; font-size: 14px; }
  .hero .field input, .hero .field select { height: clamp(42px, 5.6vh, 52px); }
  .hero .contact-switch { margin-bottom: 6px; padding: 3px; }
  .hero .contact-switch button { height: clamp(32px, 4.2vh, 38px); }
  .hero .form-card > .form-body > .btn { margin-top: clamp(14px, 2vh, 22px); min-height: clamp(48px, 6vh, 56px); }
  .hero .consent { margin-top: 10px; font-size: 12px; }

  .facts { margin-top: 0; }
  .hero-grid { margin-bottom: clamp(16px, 2.6vh, 32px); }
  .facts > div { padding: clamp(12px, 1.8vh, 20px) 22px clamp(12px, 1.8vh, 20px); }
  .facts .fact-tag { padding: clamp(10px, 1.4vh, 16px) 16px clamp(10px, 1.4vh, 16px) 20px; }
  .facts .tag { padding: 10px 16px 10px 34px; }
  .facts .tag b { font-size: clamp(18px, 1.5vw, 22px); }
  .facts .tag small { font-size: 13px; margin-top: 2px; }
  .facts b { font-size: clamp(19px, min(1.7vw, 2.9vh), 26px); }
  .facts span { margin-top: 6px; font-size: 14px; }
  .stats { margin-top: clamp(64px, 8vw, 120px); }
}
@media (min-width: 961px) {
  .hero-sub { max-width: 54ch; }
  .facts { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .facts .tag small { white-space: nowrap; }
}
@media (min-width: 961px) and (max-height: 820px) {
  .hc-axis { display: none; }
  .hc-plot { margin-bottom: 22px; }
}
@media (min-width: 961px) and (max-height: 700px) {
  .hero { padding-top: 10px; }
  .hero .eyebrow { margin-bottom: 4px; font-size: 14px; }
  .hero h1 { font-size: clamp(32px, min(4.4vw, 6.2vh), 66px); }
  .hero-sub { margin-top: 8px; font-size: 16px; line-height: 1.45; }
  .hero-audit { margin-top: 6px; font-size: 15px; }
  .hero-chart { margin-top: 10px; padding: 8px 16px 6px; }
  .hc-plot { height: 72px; padding-top: 16px; margin-top: 4px; margin-bottom: 20px; }
  .hero .form-card { padding: 14px 20px; }
  .hero .form-card h2 { font-size: 20px; }
  .hero .form-card .note { font-size: 14px; margin-top: 4px; }
  .hero .field { margin-top: 8px; }
  .hero .field label { font-size: 13px; margin-bottom: 4px; }
  .hero .field input, .hero .field select { height: 40px; font-size: 16px; }
  .hero .contact-switch button { height: 30px; font-size: 14px; }
  .hero .form-card > .form-body > .btn { margin-top: 12px; min-height: 44px; }
  .hero .consent { margin-top: 8px; font-size: 11.5px; line-height: 1.35; }
  .hero-grid { margin-bottom: 12px; }
  .facts > div { padding: 10px 18px; }
  .facts .fact-tag { padding: 8px 14px 8px 18px; }
  .facts .tag { padding: 8px 14px 8px 32px; }
  .facts span { margin-top: 4px; font-size: 13px; }
}

/* полоса фактов первого экрана появляется сразу при загрузке, а не по прокрутке */
.js .hero .facts > div { animation: factIn 600ms var(--ease-out) both; animation-delay: calc(250ms + var(--n, 0) * 70ms); }
.hero .facts > div:nth-child(2) { --n: 1; } .hero .facts > div:nth-child(3) { --n: 2; } .hero .facts > div:nth-child(4) { --n: 3; }
@keyframes factIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .js .hero .facts > div { animation: none; } }

/* ─── КАРТИНКИ К ПРОБЛЕМАМ ─── */
.pain-row { grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 18px 0; }
.pain-pic { width: 160px; height: 120px; background: var(--paper); padding: 10px; overflow: visible; }
.pain-row .pain-pic * { transition: transform 400ms var(--ease-out); transform-box: fill-box; transform-origin: center; }
@media (hover: hover) and (pointer: fine) { .pain-row:hover .pain-pic { background: var(--tag); } .pain-row:hover .pain-pic [fill="#FFD43B"] { fill: #FFFFFF; } }
.pain-pic { transition: background-color 200ms ease; }
@media (max-width: 720px) {
  .pain-row { grid-template-columns: 76px minmax(0, 1fr); gap: 6px 16px; align-items: start; padding: 18px 0; }
  .pain-pic { width: 76px; height: 57px; padding: 3px; grid-row: span 2; }
  .pain-row h3, .pain-fix { grid-column: 2; }
}

/* ─── «НАШ ПОДХОД»: светлый фон вместо синего, карточки шагов с картинками ─── */
.how { background: var(--step); color: var(--ink); }
.how .eyebrow { color: var(--ink-2); }
.how .lead { color: var(--ink); }
.chain { gap: 4px; }
.chain li { background: var(--paper); padding: 0 0 22px; display: flex; flex-direction: column; }
.chain-pic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--ground); padding: 8px; margin-bottom: 18px; }
.chain li > i, .chain li > b, .chain li > span { margin-left: 20px; margin-right: 20px; }
.chain-n { color: var(--ink-2); }
.chain b { font-size: clamp(20px, 1.7vw, 26px); }
.chain b::after { color: var(--ink); }
.chain span { color: var(--ink-2); max-width: none; }
.loop { background: var(--paper); }
.loop-ico { color: var(--ink); }
.tool { background: var(--paper); color: var(--ink); }
@media (max-width: 1180px) { .chain { row-gap: 4px; } }
@media (max-width: 640px) {
  .chain li { flex-direction: row; flex-wrap: wrap; align-items: flex-start; padding: 14px 16px; }
  .chain-pic { width: 96px; flex: none; margin: 0 16px 0 0; padding: 4px; }
  .chain li > i, .chain li > b, .chain li > span { margin-left: 0; margin-right: 0; }
  .chain li { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; }
  .chain-pic { grid-row: span 3; width: 96px; margin: 0; }
  .chain-n { margin-bottom: 4px; }
  .chain b::after { content: none; }
}

/* ─── КЕЙСЫ НА ГЛАВНОЙ: отдельные карточки с картинкой ниши ─── */
.case-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.case-card { background: var(--paper); display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(28,28,26,.06); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .case-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,28,26,.10); } }
.case-pic { display: block; background: var(--step); border-bottom: 4px solid var(--tag); }
.case-pic svg { display: block; width: 100%; height: auto; aspect-ratio: 320 / 170; }
.case-card-body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.4vw, 32px); }
.case-card h3 { margin-top: 8px; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.03em; }
.case-card h3 a { text-decoration: none; }
.case-card .metrics { margin-top: 22px; gap: clamp(16px, 2.4vw, 32px); }
.case-card .metrics div b { font-size: clamp(26px, 2.6vw, 36px); }
.case-card .shot { display: block; position: relative; width: 100%; margin-top: 24px; border: 0; padding: 0; background: var(--ground); cursor: zoom-in; overflow: hidden; }
.case-card .shot img { width: 100%; height: 84px; object-fit: cover; object-position: left top; }
.case-card .case-link { margin-top: 18px; }
@media (max-width: 760px) { .case-cards { grid-template-columns: 1fr; } }

/* ─── КАРТИНКИ ТАРИФОВ ─── */
.plan { --pp: clamp(28px, 3.4vw, 52px); }
.plan-pic { display: block; width: calc(100% + var(--pp) * 2); height: auto; aspect-ratio: 320 / 166; margin: calc(var(--pp) * -1) calc(var(--pp) * -1) 32px;
  background: var(--step); border-bottom: 4px solid var(--tag); padding: 8px 12px 0; aspect-ratio: auto; height: clamp(170px, 17vw, 250px); }
.plan.main .plan-pic { background: #2C2C29; }
.plan-hit { align-self: flex-start; }

/* ─── ИКОНКИ К ГАРАНТИЯМ ─── */
.promises li { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; }
.promises li > b, .promises li > span { grid-column: 2; }
.pr-ico { grid-row: 1 / span 2; width: 48px; height: 48px; padding: 10px; background: var(--paper); color: var(--ink); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .promises li:hover .pr-ico { transform: translateY(-2px) rotate(-4deg); } }
@media (max-width: 640px) { .promises li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; } .pr-ico { width: 44px; height: 44px; padding: 10px; } }

/* квиз стоит сразу под тарифами — отделяем фоном */
.quiz-sec { background: var(--step); }

/* ─── ЧАСТЫЕ ВОПРОСЫ: внизу перед подвалом, белым по чёрному ─── */
.faq-dark { background: var(--ink); color: #fff; }
.faq-dark .eyebrow { color: #B9B7AE; }
.faq-dark .faq-item { border-top-color: rgba(255,255,255,.18); }
.faq-dark .faq-item:last-child { border-bottom-color: rgba(255,255,255,.18); }
.faq-dark .faq-q { color: #fff; }
.faq-dark .faq-a { color: #D8D7CF; }
@media (hover: hover) and (pointer: fine) { .faq-dark .faq-q:hover { color: var(--tag); } }
.faq-dark :focus-visible { outline-color: var(--tag); }
.faq-dark + .foot, main:has(> .faq-dark:last-child) + .foot { border-top: 1px solid rgba(255,255,255,.14); }
.final { padding-top: var(--gap-section); }

/* ─── КАРТОЧКИ КЕЙСОВ НА ВНУТРЕННИХ СТРАНИЦАХ: отдельные, с картинкой ─── */
.cases-grid-3 { gap: clamp(16px, 2vw, 28px); }
.case-card-b { padding: 0; box-shadow: 0 1px 0 rgba(28,28,26,.06); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .case-card-b:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,28,26,.10); } }
.case-card-b .case-pic { display: block; background: var(--step); border-bottom: 4px solid var(--tag); }
.case-card-b .case-pic svg { display: block; width: 100%; height: auto; aspect-ratio: 320 / 170; }
.case-card-b .case-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.section-alt .case-card-b .case-pic { background: var(--ground); }

/* ─── КАРТИНКИ ТАРИФОВ: справа от названия и цены, а не шапкой ─── */
.plan-pic { width: 100%; height: auto; aspect-ratio: 320 / 166; margin: 0; padding: 0; background: none; border: 0; }
.plan.main .plan-pic { background: none; }
@media (min-width: 900px) {
  .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); column-gap: 20px; align-content: start; }
  .plan > .plan-pic { grid-column: 2; grid-row: 1 / span 3; align-self: center; height: auto; }
  .plan > .plan-top, .plan > .tag, .plan > .plan-sub { grid-column: 1; }
  .plan > ul, .plan > .btn { grid-column: 1 / -1; }
  .plan > .btn { justify-self: start; }
  .plan.main .plan-top { flex-direction: column; gap: 12px; }
  .plan.main .plan-hit { order: -1; }
}
@media (max-width: 899px) {
  .plan > .plan-pic { order: 4; max-width: 300px; margin: 20px 0 0; }
  .plan > ul { order: 5; } .plan > .btn { order: 6; }
}

/* кнопка «Наверх»: слева, жёлтая с обводкой — видна на светлом, жёлтом и чёрном фоне */
.to-top { left: 24px; right: auto; background: var(--tag); color: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 10px 28px rgba(0,0,0,.22); }
@media (hover: hover) and (pointer: fine) { .to-top:hover { background: var(--tag-press); } }
@media (max-width: 640px) { .to-top { left: 12px; right: auto; } }

/* ─── ПРАВКИ 20.10 ─── */
/* 1. форма первого экрана тянется до низа графика */
@media (min-width: 961px) {
  .hero-grid > .form-card { align-self: stretch; display: flex; flex-direction: column; }
  .hero-grid > .form-card > .form-body { flex: 1; display: flex; flex-direction: column; }
  .hero-grid > .form-card > .form-body > .btn { margin-top: auto; }
  .hero-grid > .form-card > .form-body > .field:last-of-type { margin-bottom: clamp(14px, 2vh, 22px); }
}
/* 2. факты под первым экраном — содержимое по центру по высоте */
.facts > div { display: flex; flex-direction: column; justify-content: center; }
.facts > div b { white-space: nowrap; }
/* 4. «Кейсы по отраслям» на одной линии с кнопкой */
.cases-foot .chips { margin-top: 0; }
/* 5. подзаголовок справа — по центру заголовка (с учётом подписи над ним) */
.split-head { align-items: center; }
.split-head > div:first-child + .lead { margin-top: 34px; }
/* 6. «Лайт» на одной линии с «Основной»: место под плашку «Чаще всего выбирают» */
@media (min-width: 900px) { .plan:not(.main) > .plan-top { padding-top: calc(var(--hit-h, 37px) + 12px); } }

/* 3. «Наш подход»: анимация карточек и иллюстраций */
.chain li { transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .chain li:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(28,28,26,.10); } .chain li:hover .chain-pic { background: var(--tag); } }
.chain-pic { transition: background-color 260ms ease; }
.chain-pic * { transform-box: fill-box; }
.js .chain li .chain-pic > * { opacity: 0; }
.js .chain li.in .chain-pic > * { animation: pieceIn 520ms var(--ease-out) both; animation-delay: calc(var(--d, 0ms) + 260ms + var(--k, 0) * 70ms); }
.chain-pic > :nth-child(2) { --k: 1; } .chain-pic > :nth-child(3) { --k: 2; } .chain-pic > :nth-child(4) { --k: 3; } .chain-pic > :nth-child(5) { --k: 4; }
.chain-pic > :nth-child(6) { --k: 5; } .chain-pic > :nth-child(7) { --k: 6; } .chain-pic > :nth-child(8) { --k: 7; } .chain-pic > :nth-child(9) { --k: 8; } .chain-pic > :nth-child(n+10) { --k: 9; }
@keyframes pieceIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* шаг 5: столбики растут снизу */
.js .chain li:nth-child(5).in .chain-pic > rect { transform-origin: 50% 100%; animation-name: barUp; animation-duration: 700ms; }
@keyframes barUp { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
/* элементы со своим положением (transform в SVG) — только проявление */
.js .chain li.in .chain-pic > [transform] { animation-name: fadeOnly; }
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
/* живые детали после появления */
.js .chain li.in .chain-pic > .cur { animation: pieceIn 520ms var(--ease-out) both, cursorNudge 2.6s ease-in-out infinite; animation-delay: calc(var(--d, 0ms) + 900ms), calc(var(--d, 0ms) + 1.6s); }
@keyframes cursorNudge { 0%, 70%, 100% { transform: none; } 80% { transform: translate(-3px, -3px) scale(.9); } 90% { transform: none; } }
.js .chain li.in .chain-pic > .pen { animation: pieceIn 520ms var(--ease-out) both, penWrite 3s ease-in-out infinite; animation-delay: calc(var(--d, 0ms) + 760ms), calc(var(--d, 0ms) + 1.6s); }
@keyframes penWrite { 0%, 100% { transform: none; } 50% { transform: translate(-10px, 5px); } }
.js .chain li.in .chain-pic > .chk { transform-origin: center; animation: checkPop 560ms cubic-bezier(.34,1.56,.64,1) both; animation-delay: calc(var(--d, 0ms) + 1000ms); }
@keyframes checkPop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .chain li .chain-pic > *, .js .chain li.in .chain-pic > * { opacity: 1; animation: none !important; }
  .chain li:hover { transform: none; }
}
