/* ============ Токены ============ */
:root {
  --bg: #0f1115;
  --bg-2: #12161b;
  --surface: #171b22;
  --surface-2: #1d222a;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --ink: #f2f4f7;
  --muted: #a9b2bd;
  --muted-2: #8d97a3;
  --accent: #ffb02e;
  --accent-hot: #ffc65c;
  --accent-ink: #191203;
  --ok: #4ade80;
  --err: #ff6b6b;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --wrap: 1180px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
}

@font-face { font-family: 'Oswald'; src: url('fonts/oswald-600-cyrillic.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; src: url('fonts/oswald-600-latin.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; src: url('fonts/oswald-700-cyrillic.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; src: url('fonts/oswald-700-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-400-cyrillic.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-600-cyrillic.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-600-latin.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; 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+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ============ База ============ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: 'Oswald', 'Arial Narrow', Impact, sans-serif; font-weight: 600; line-height: 1.04; letter-spacing: -.005em; }
h1 { font-size: clamp(38px, 5.2vw, 72px); }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 21px; line-height: 1.2; }
p { margin: 0; }
em { font-style: normal; color: var(--accent); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 20px; z-index: 100; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============ Кнопки ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink);
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: 600 15px/1 'Inter', sans-serif; letter-spacing: .02em;
  cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
  box-shadow: 0 10px 26px -14px rgba(255, 176, 46, .9);
}
.btn:hover { background: var(--accent-hot); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .28); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; min-height: 54px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ============ Шапка ============ */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(15, 17, 21, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top__in { display: flex; align-items: center; gap: 28px; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(150deg, var(--accent), #e08b00);
  color: var(--accent-ink); font: 700 15px/1 'Oswald', sans-serif; letter-spacing: .02em;
}
.brand__txt { display: flex; flex-direction: column; font: 600 17px/1.15 'Oswald', sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.brand__txt small { font: 400 11px/1.5 'Inter', sans-serif; letter-spacing: .04em; text-transform: none; color: var(--muted-2); }

.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { font-size: 15px; color: var(--muted); transition: color .15s ease; }
.top__nav a:hover { color: var(--ink); }

.top__cta { display: flex; align-items: center; gap: 18px; }
.phone { display: flex; flex-direction: column; line-height: 1.1; }
.phone__label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); }
.phone span:last-child { font: 600 17px/1.3 'Inter', sans-serif; white-space: nowrap; }
.phone:hover span:last-child { color: var(--accent); }

/* ============ Герой ============ */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(255, 176, 46, .13), transparent 70%),
    radial-gradient(700px 420px at 8% 110%, rgba(80, 130, 255, .07), transparent 70%);
}
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 4vw, 64px); align-items: start; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--accent); }

.hero h1 { text-wrap: balance; }
.lead { margin-top: 22px; max-width: 46ch; font-size: clamp(16px, 1.25vw, 18px); color: #c7cdd6; }

.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 30px; color: #dfe4ea; font-size: 16px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 176, 46, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 176, 46, .45);
}
.checks li::after {
  content: ''; position: absolute; left: 5px; top: 9px;
  width: 8px; height: 4px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ============ Карточка формы ============ */
.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow);
}
.card__title { font-size: 26px; }
.card__sub { margin-top: 8px; color: var(--muted); font-size: 14.5px; }

.form { display: grid; gap: 14px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: grid; gap: 7px; }
.field > span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.field > span i { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted-2); opacity: .65; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  background: #0d1015; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 400 16px/1.4 'Inter', sans-serif;
  transition: border-color .15s ease, background .15s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #5c6570; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #0b0e13;
  box-shadow: 0 0 0 3px rgba(255, 176, 46, .12);
}
.field input.invalid { border-color: var(--err); box-shadow: 0 0 0 3px rgba(255, 107, 107, .1); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__note { font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.form__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form__msg { font-size: 14px; min-height: 0; display: none; }
.form__msg.show { display: block; }
.form__msg.ok { color: var(--ok); }
.form__msg.err { color: var(--err); }
.form.done .field, .form.done .btn, .form.done .form__note { display: none; }

/* ============ Цифры ============ */
.stats { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 0 28px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat b { display: block; font: 600 clamp(28px, 2.6vw, 38px)/1 'Oswald', sans-serif; color: var(--ink); }
.stat b i { font-style: normal; font-size: .5em; color: var(--accent); margin-left: 4px; }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }

/* ============ Секции ============ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); }
.section__head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 52px); }
.section__head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ============ Что выкупаем ============ */
.buy {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px;
}
.buy__item { padding: 26px 0; border-top: 1px solid var(--line); }
.buy__item:nth-child(1), .buy__item:nth-child(2) { border-top-color: var(--line-strong); }
.buy__num { display: block; font: 600 13px/1 'Oswald', sans-serif; letter-spacing: .16em; color: var(--accent); margin-bottom: 10px; }
.buy h3 { margin-bottom: 8px; }
.buy p { color: var(--muted); font-size: 15.5px; }

/* ============ Шаги ============ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; padding-top: 30px; border-top: 1px solid var(--line); }
.step::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 34px; height: 2px; background: var(--accent);
}
.step__n {
  display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 50%; border: 1px solid rgba(255, 176, 46, .4);
  color: var(--accent); font: 600 15px/1 'Oswald', sans-serif;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ============ Почему мы ============ */
.why { background: var(--bg-2); border-block: 1px solid var(--line); }
.why__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.why__lead { margin-top: 16px; color: #c7cdd6; }
.why__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.why__list li { position: relative; padding-left: 22px; color: var(--muted); font-size: 16px; }
.why__list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--accent); }
.why__list b { color: var(--ink); font-weight: 600; }

.why__aside { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.why__quote { font: 600 22px/1.35 'Oswald', sans-serif; color: #e8ecf1; }
.why__author { margin-top: 18px; font-size: 13.5px; color: var(--muted-2); }
.why__hint { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 12.5px; color: #b08a3a; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font: 600 18px/1.35 'Inter', sans-serif; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
  font-size: 18px; font-weight: 400; color: var(--accent);
  transition: transform .2s ease, background .2s ease;
}
.faq__item[open] summary::after { content: '−'; background: rgba(255, 176, 46, .12); }
.faq__item p { padding: 0 0 24px; max-width: 78ch; color: var(--muted); font-size: 15.5px; }

/* ============ Финальный CTA ============ */
.cta {
  position: relative;
  padding: clamp(52px, 7vw, 92px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(760px 420px at 20% 0%, rgba(255, 176, 46, .12), transparent 65%),
    var(--bg);
}
.cta__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.cta__copy h2 { margin-bottom: 18px; }
.cta__copy p { color: #c7cdd6; max-width: 46ch; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.cta__hours { font-size: 13.5px; color: var(--muted-2); }

/* ============ Подвал ============ */
.foot { border-top: 1px solid var(--line); background: #0b0d11; padding: 46px 0 80px; }
.foot__in { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 32px; align-items: start; }
.brand--foot .brand__txt { font-size: 15px; }
.foot__phone { display: inline-block; font: 600 20px/1.3 'Inter', sans-serif; }
.foot__phone:hover { color: var(--accent); }
.foot__small { margin-top: 10px; font-size: 13px; color: var(--muted-2); line-height: 1.6; }
.foot__col--legal a { font-size: 13.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.foot__col--legal a:hover { color: var(--ink); }

/* ============ Мобильная панель ============ */
.mobilebar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 16, 21, .92);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobilebar .btn { flex: 1; min-height: 48px; font-size: 14px; }

/* ============ Появление при скролле ============ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Адаптив ============ */
@media (max-width: 1024px) {
  .top__nav { display: none; }
  .hero__in, .why__in, .cta__in { grid-template-columns: 1fr; }
  .hero__card { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top__in { min-height: 62px; gap: 10px; }
  .phone { display: none; }
  .top__cta .btn { display: none; }
  .brand__mark { width: 34px; height: 34px; border-radius: 9px; font-size: 13px; }
  .brand__txt { font-size: 15px; }
  .hero__actions .btn { width: 100%; }
  .buy { grid-template-columns: 1fr; gap: 0; }
  .buy__item:nth-child(2) { border-top-color: var(--line); }
  .steps { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .stats__in { grid-template-columns: 1fr; }
  .stat { border-left: none; padding-left: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: none; }
  .foot__in { grid-template-columns: 1fr; }
  .foot { padding-bottom: 96px; }
  .mobilebar { display: flex; }
  .why__aside { padding: 22px; }
  .why__quote { font-size: 19px; }
  .faq__item summary { font-size: 16px; padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq__item summary::after, .field input { transition: none; }
}
