/* =============================================================================
   amospace — лендинг под внедрение amoCRM
   Стиль в духе amospace.kz: светлый #f2f1f3 + оранжевый акцент, Inter.
   Правки дизайна — здесь. Тексты — в assets/js/config.js
============================================================================= */

:root {
  /* Светлая палитра (со скрина главной): светло-серый фон, белые карточки,
     почти чёрный текст, оранжевый акцент, пастельные карточки-проблемы. */
  --bg:            #f2f1f3;   /* базовый светлый фон страницы */
  --bg-2:          #ffffff;   /* карточки / чередующиеся секции */
  --bg-3:          #f8f7f9;   /* приподнятые блоки / карточки на белом */
  --ink:           #1e1f23;   /* основной текст (тёмный из логотипа) */
  --ink-soft:      #55575e;   /* второстепенный текст */
  --ink-mut:       #85878f;   /* приглушённый текст */
  --line:          rgba(20, 20, 24, 0.10);
  --line-strong:   rgba(20, 20, 24, 0.16);

  /* Акцент = красно-оранжевый из логотипа //AMOSPACE */
  --accent:        #ed533b;
  --accent-2:      #d93f26;
  --accent-soft:   rgba(237, 83, 59, 0.10);
  --accent-glow:   rgba(237, 83, 59, 0.30);
  --wa:            #25d366;   /* WhatsApp */

  --radius:        20px;
  --radius-sm:     12px;
  --maxw:          1180px;
  --shadow:        0 16px 44px rgba(24, 18, 12, 0.10);
  --ease:          cubic-bezier(0.22, 1, 0.36, 1);
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
::selection { background: var(--accent); color: #fff; }

/* ── LAYOUT ────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.section { padding: 100px 0; position: relative; }
.section--dark { background: var(--bg-2); }

.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section__subtitle { margin-top: 16px; color: var(--ink-soft); font-size: clamp(15px, 2vw, 18px); }

/* Надзаголовок намеренно приглушён: акцентный цвет держим только на кнопках
   и цифрах, иначе глаз перестаёт находить CTA (принцип одного «горячего» пятна). */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mut);
  margin-bottom: 14px;
}

/* ── BUTTONS ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px var(--accent-glow); }
.btn--outline { border: 1px solid var(--line-strong); color: var(--ink); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { color: var(--ink-soft); padding: 10px 12px; }
.btn--ghost:hover { color: var(--ink); }
/* WhatsApp — второй по силе канал: узнаваемый зелёный, без градиента,
   чтобы не конкурировать с основной кнопкой по «весу» пятна */
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28); }
.btn--wa:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(37, 211, 102, 0.34); }
.btn--wa svg { width: 18px; height: 18px; fill: currentColor; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
/* шеврон в кнопках — как на референсе */
.btn--primary::after, .btn--outline::after {
  content: "›"; font-weight: 700; font-size: 1.2em; line-height: 1;
  margin-left: -2px; transform: translateY(-1px);
  transition: transform 0.2s var(--ease);
}
.btn--primary:hover::after, .btn--outline:hover::after { transform: translate(3px, -1px); }
.btn--block::after { display: none; }

/* ── HEADER ────────────────────────────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { flex: none; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; display: inline-flex; align-items: center; gap: 8px; }
.logo img { flex: none; height: 30px; width: auto; max-width: none; }
.logo--footer img { height: 26px; }
.logo .dot { color: var(--accent); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav__link { color: var(--ink-soft); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav__link:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone { font-weight: 600; font-size: 15px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 150px 0 90px; text-align: center; overflow: hidden; }
.hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.22; filter: blur(20px);
}
.hero__inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(237, 83, 59, 0.28);
  color: var(--accent); font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(32px, 5.2vw, 58px);
  font-weight: 900; line-height: 1.06; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title .accent {
  display: block;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle {
  margin: 24px auto 0; max-width: 680px;
  font-size: clamp(16px, 2.2vw, 20px); color: var(--ink-soft);
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--ink-mut); }

.hero__trust { margin-top: 30px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hero__trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-soft); font-size: 14px; font-weight: 500;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px;
}
.hero__trust .ico { width: 16px; height: 16px; fill: var(--accent); }

/* ── HERO: МОК ВОРОНКИ ──────────────────────────────────────────────────
   Холодный трафик не покупает описание — ему нужно увидеть продукт
   на первом экране. Показываем, как выглядит воронка со всеми каналами. */
.hero__mock { margin-top: 52px; text-align: left; }
.mock {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.mock__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: var(--bg-3); border-bottom: 1px solid var(--line);
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock__name { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.mock__live {
  margin-left: auto; font-size: 11px; font-weight: 700; color: #15803d;
  background: rgba(22, 163, 74, 0.10); padding: 4px 10px; border-radius: 999px;
}
.mock__live::before { content: '●'; margin-right: 5px; font-size: 9px; }

.mock__cols { display: flex; gap: 10px; padding: 14px; background: var(--bg); overflow-x: auto; }
.mock__col { flex: 1 0 0; min-width: 150px; }
.mock__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-mut); margin-bottom: 9px; padding: 0 2px;
}
.mock__head b { color: var(--ink-soft); }
.mock__card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 10px; margin-bottom: 8px; box-shadow: 0 2px 8px rgba(24, 18, 12, 0.05);
}
.mock__who { display: block; font-size: 12.5px; font-weight: 600; }
.mock__t { display: block; margin-top: 3px; font-size: 11px; color: var(--ink-mut); }
.mock__src {
  display: table; margin-bottom: 6px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  padding: 2px 7px; border-radius: 999px; color: #fff;
}
.mock__src--ig { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.mock__src--wa { background: var(--wa); }
.mock__src--call { background: #3b82f6; }
.mock__src--site { background: #6b7280; }
.mock__col--win .mock__card { border-color: rgba(22, 163, 74, 0.35); background: rgba(22, 163, 74, 0.05); }
.mock__sum { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 800; color: #15803d; }
.mock__cap { margin-top: 14px; font-size: 13px; color: var(--ink-mut); text-align: center; }

/* ── STATS ─────────────────────────────────────────────────────────────── */
.stats {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 20px; text-align: center;
}
.stat__value {
  font-size: clamp(30px, 4vw, 46px); font-weight: 900; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1;
}
.stat__suffix { color: var(--accent); }
.stat__label { margin-top: 10px; color: var(--ink-soft); font-size: 14px; }

/* ── MARQUEE ───────────────────────────────────────────────────────────── */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; background: var(--bg-2); }
.marquee__track { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { color: var(--ink-mut); font-weight: 600; font-size: 16px; }
.marquee__track span:nth-child(even) { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── GRIDS ─────────────────────────────────────────────────────────────── */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ── CARDS ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.section--dark .card { background: var(--bg-3); }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card__title { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.card__text { color: var(--ink-soft); font-size: 15px; }

.card--pain .card__x {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(239, 68, 68, 0.10); color: #ef4444;
  font-size: 15px; font-weight: 700; margin-bottom: 18px;
}
.card--pain:hover { border-color: rgba(239, 68, 68, 0.28); }

.card--solution .card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); margin-bottom: 18px;
}
.card--solution .card__icon svg { width: 24px; height: 24px; fill: var(--accent); }
.card--solution:hover { border-color: rgba(237, 83, 59, 0.35); }

/* ── RESULTS ───────────────────────────────────────────────────────────── */
.results { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.result {
  text-align: center; padding: 36px 20px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.result__value {
  font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.result__label { margin-top: 14px; color: var(--ink-soft); font-size: 14px; }

/* ── STEPS ─────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step__num {
  flex: none; font-size: 28px; font-weight: 900; letter-spacing: -0.03em;
  color: var(--accent); min-width: 48px;
}
.step__title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step__text { color: var(--ink-soft); font-size: 15px; }

/* ── CASES ─────────────────────────────────────────────────────────────── */
.case {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.case:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.case__body { padding: 26px; display: flex; flex-direction: column; height: 100%; }
.case__client { font-size: 13px; color: var(--ink-mut); margin-bottom: 8px; }
.case__result {
  font-size: 22px; font-weight: 900; color: var(--accent);
  margin-bottom: 18px; letter-spacing: -0.02em; line-height: 1.15;
}
/* «Было → Сделали → Стало»: сканируется за 3 секунды, а не читается абзацем */
.case__rows { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.case__row { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: start; }
.case__row dt {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-mut); padding-top: 2px;
}
.case__row dd { font-size: 14px; color: var(--ink-soft); }
.case__row--win dt { color: #15803d; }
.case__row--win dd { color: var(--ink); font-weight: 600; }

/* ── CERTIFICATES ──────────────────────────────────────────────────────── */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cert {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.cert:hover { transform: translateY(-4px); border-color: var(--accent); }
.cert__img {
  aspect-ratio: 4 / 3; border-radius: var(--radius-sm);
  background: #fff center/contain no-repeat; position: relative; overflow: hidden;
  border: 1px solid var(--line);
}
.cert__img::after {
  content: 'Сертификат'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #b7ab9f; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
}
.cert__img.has-img::after { display: none; }
.cert__title { margin-top: 14px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }

/* ── CLIENTS STRIP (с кем работали) ────────────────────────────────────── */
.clients-strip { padding: 46px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients-strip__title {
  text-align: center; color: var(--ink-mut);
  font-size: 14px; font-weight: 600; letter-spacing: 0.03em; margin-bottom: 28px;
}
.clients { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; max-width: 780px; margin: 0 auto; }
.client {
  display: flex; align-items: center; justify-content: center;
  width: 134px; height: 74px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px;
  box-shadow: 0 4px 14px rgba(24, 18, 12, 0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.client:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.client__logo { width: 100%; height: 100%; background: center/contain no-repeat; }
@media (max-width: 520px) {
  .client { width: 46%; max-width: 150px; height: 68px; }
}

/* ── TESTIMONIALS ──────────────────────────────────────────────────────── */
.quote {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.quote__mark { font-size: 56px; line-height: 0.5; color: var(--line-strong); font-weight: 900; margin-bottom: 18px; height: 24px; }
.quote__text { color: var(--ink); font-size: 15px; margin-bottom: 22px; }
.quote__author { display: flex; flex-direction: column; }
.quote__name { font-weight: 700; font-size: 15px; }
.quote__role { color: var(--ink-mut); font-size: 13px; }

/* ── PRICING ───────────────────────────────────────────────────────────── */
.price {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px; position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.price:hover { transform: translateY(-4px); }
.price.is-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(237,83,59,0.08), var(--bg-3));
  box-shadow: 0 20px 50px rgba(237,83,59,0.15);
}
.price__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price__name { font-size: 15px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.price__amount { font-size: 30px; font-weight: 900; letter-spacing: -0.02em; margin: 10px 0 6px; }
.price__desc { color: var(--ink-mut); font-size: 14px; margin-bottom: 22px; }
.price__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.price__features li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: 14px; }
.price__features li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}

/* ── CTA-ПОЛОСА В СЕРЕДИНЕ ──────────────────────────────────────────────
   Тёмный блок посреди светлой страницы = сильнейшее пятно контраста.
   Глаз цепляется за него на скролле, действие рядом. */
.cta-band { background: var(--ink); color: #fff; padding: 54px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; max-width: 560px; }
.cta-band__sub { margin-top: 10px; color: rgba(255, 255, 255, 0.66); font-size: 15px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .cta-band { padding: 40px 0; }
  .cta-band__inner { flex-direction: column; align-items: stretch; gap: 22px; text-align: center; }
  .cta-band__actions .btn { width: 100%; }
}

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color 0.3s; }
.faq__item.open { border-color: var(--line-strong); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; font-size: 17px; font-weight: 600; text-align: left;
}
.faq__toggle { flex: none; font-size: 24px; color: var(--accent); transition: transform 0.3s var(--ease); font-weight: 400; }
.faq__item.open .faq__toggle { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; }

/* ── FINAL / FORM ──────────────────────────────────────────────────────── */
.final { background: var(--bg-2); overflow: hidden; }
.final__glow {
  position: absolute; bottom: -40%; right: -10%;
  width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  opacity: 0.16; filter: blur(30px);
}
.final__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.final__text .section__title { text-align: left; }
.final__list { margin: 26px 0; display: flex; flex-direction: column; gap: 12px; }
.final__list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.final__list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 18px; }
.final__contacts { display: flex; gap: 24px; flex-wrap: wrap; }
.final__contact { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.final__contact:hover { color: var(--accent); }

.lead-card { background: var(--bg-3); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.lead-card__title { font-size: 22px; font-weight: 800; margin-bottom: 22px; letter-spacing: -0.02em; }
.lead-form .field { margin-bottom: 14px; }
.lead-form input {
  width: 100%; padding: 15px 18px;
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--ink); font-size: 15px; transition: border-color 0.2s;
}
.lead-form input::placeholder { color: var(--ink-mut); }
.lead-form input:focus { outline: none; border-color: var(--accent); }
.lead-form input.invalid { border-color: #ef4444; }
/* Снимаем страх «сейчас задолбают звонками» прямо под кнопкой */
.lead-form__reassure { margin-top: 14px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.lead-form__privacy { margin-top: 10px; font-size: 12px; color: var(--ink-mut); text-align: center; }
.lead-form__status { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; }
.lead-form__status.ok { color: #16a34a; }
.lead-form__status.err { color: #dc2626; }

/* ── FOOTER ────────────────────────────────────────────────────────────── */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.logo--footer { font-size: 20px; }
.footer__tag { margin-top: 14px; color: var(--ink-soft); font-size: 14px; max-width: 260px; }
.footer__city { margin-top: 8px; color: var(--ink-mut); font-size: 14px; }
.footer__label { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-mut); margin-bottom: 16px; }
.footer__link { display: block; color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; transition: color 0.2s; }
.footer__link:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-mut); font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* ── FAB ───────────────────────────────────────────────────────────────── */
.fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px var(--accent-glow);
  transition: transform 0.25s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 26px; height: 26px; fill: #fff; }
.fab--wa { background: var(--wa); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); }

/* ── ЛИПКАЯ ПАНЕЛЬ CTA НА МОБИЛЬНОМ ─────────────────────────────────────
   95% трафика из Instagram — телефон. Действие всегда в зоне большого
   пальца, на любой глубине скролла. Показывается только на мобильном. */
.mobar { display: none; }

/* ── REVEAL ANIM ───────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── SOFT SHADOWS (светлая тема — «плавающие» карточки) ─────────────────── */
.card, .stat, .result, .step, .price, .quote, .cert, .faq__item, .lead-card {
  box-shadow: 0 6px 22px rgba(24, 18, 12, 0.06);
}
.price.is-featured { box-shadow: 0 20px 50px rgba(237, 83, 59, 0.18); }

/* ── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .results { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .final__inner { grid-template-columns: 1fr; gap: 36px; }
  .final__text .section__title { text-align: center; }
  .final__list { max-width: 460px; margin-left: auto; margin-right: auto; }
  .final__contacts { justify-content: center; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }
  /* На мобильном действие живёт в липкой панели снизу — дублировать его
     в шапке незачем, освободившееся место отдаём логотипу. */
  .nav, .header__phone, .header__actions .btn--primary { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav.open .nav__link { padding: 14px 24px; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; padding-bottom: 64px; }
  .hero__cta { margin-top: 28px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }

  /* мок воронки: горизонтальный свайп вместо сжатых колонок */
  .mock__col { flex: 0 0 62%; min-width: 0; scroll-snap-align: start; }
  .mock__cols { scroll-snap-type: x mandatory; }

  /* липкая панель вместо FAB */
  .fab { display: none; }
  body { padding-bottom: 74px; }
  .mobar {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .mobar .btn { padding: 14px 16px; font-size: 15px; box-shadow: none; }
  .mobar__wa { flex: 0 0 auto; }
  .mobar__cta { flex: 1; }
}

/* Порог 560px, а не 460: сюда попадают все реальные телефоны
   (390–430 CSS-пикселей) плюс запас. */
@media (max-width: 560px) {
  /* Держим 2 колонки: 4 карточки в столбик — это лишние 600px скролла
     до социального доказательства, холодный трафик до него не доезжает. */
  .stats, .results { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 20px 12px; }
  .stat__value { font-size: 30px; }
  .stat__label, .result__label { font-size: 13px; }
  .result { padding: 24px 14px; }
  .result__value { font-size: 34px; }
  .hero__cta .btn { width: 100%; }

  /* Плотнее карточки: иконка уходит в левую колонку, а не занимает
     отдельную строку. Тот же контент — примерно на 900px меньше скролла. */
  .section { padding: 56px 0; }
  .grid { gap: 12px; }
  .card--pain, .card--solution {
    display: grid; grid-template-columns: 36px 1fr;
    column-gap: 14px; row-gap: 4px; padding: 18px 16px;
  }
  .card--pain .card__x, .card--solution .card__icon {
    grid-row: 1 / span 2; margin-bottom: 0;
    width: 36px; height: 36px; border-radius: 10px;
  }
  .card--solution .card__icon svg { width: 19px; height: 19px; }
  .card__title { font-size: 17px; margin-bottom: 4px; align-self: center; }
  .card__text { font-size: 14px; }
  .section__head { margin-bottom: 32px; }
  .step { padding: 20px 18px; gap: 14px; }
  .step__num { font-size: 24px; min-width: 38px; }
  .case__body { padding: 22px 20px; }
  .certs { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cert { padding: 10px; }
  .cert__title { margin-top: 8px; font-size: 11px; }
  .client { width: 30%; max-width: none; height: 58px; padding: 8px 10px; }
  .clients { gap: 8px; }
  .quote { padding: 22px 20px; }
  .quote__mark { font-size: 40px; margin-bottom: 12px; height: 16px; }
  .price { padding: 26px 22px; }
  .faq__q { padding: 18px 18px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}
