/* ============================================================
   ТОЧКА ДИЗАЙНА — Hero (по дизайн-референсу)
   Белая тема · зелёный акцент · чёрные кнопки · Inter
   Vanilla CSS · mobile-first · breakpoint 768px
   ============================================================ */

:root {
  --bg:        #FFFFFF;
  --bg-soft:   #F7F8F7;
  --ink:       #0E1A14;   /* заголовки */
  --ink-2:     #45524B;   /* основной текст */
  --muted:     #8C958F;   /* подписи */
  --line:      #ECEAE4;   /* границы на белом */
  --line-2:    #F1EFEA;

  --green:     #15A05A;   /* акцент */
  --green-dk:  #0E8A4B;
  --green-soft:#E9F6EE;   /* тинт */

  --black:     #0B0F0D;   /* кнопки */
  --black-2:   #1A211D;

  --shadow-sm: 0 2px 8px rgba(16, 32, 24, 0.05);
  --shadow-md: 0 10px 30px rgba(16, 32, 24, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 32, 24, 0.12);

  --font: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Raleway", "Inter", -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --r: 16px;
  --r-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

/* заголовки — Raleway */
.hero__title, .sec-title, .pain__t, .fit__title, .econ__h, .calc__h,
.cta__title, .cta__success h3, .step__t, .ccard__big b, .rpin b {
  font-family: var(--font-head);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green-soft); color: var(--green-dk); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* ===== reveal ===== */
.reveal { animation: rise 700ms cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d,0ms); }
@keyframes rise { from { opacity:0; transform: translateY(18px);} to {opacity:1; transform:none;} }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.01ms !important; animation-delay:0ms !important; animation-iteration-count:1 !important; transition:none !important; }
}

/* ============ Шапка ============ */
.topbar { padding-block: 13px; position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
/* якоря не должны прятаться под фиксированной шапкой */
section[id], [id="cta-form"] { scroll-margin-top: 84px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__pin { display: inline-flex; width: 34px; height: 34px; flex-shrink: 0; }
.brand__pin svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 5px rgba(14,138,75,.3)); }
.brand__name { font-size: 16px; font-weight: 800; letter-spacing: 0.03em; line-height: 1.05; color: var(--ink); text-transform: uppercase; }
.brand__tag { padding-left: 12px; margin-left: 1px; border-left: 1px solid var(--line); font-size: 11.5px; line-height: 1.35; color: var(--muted); font-weight: 500; }
.brand__accent { color: var(--green); }

/* ── Навигация в шапке ── */
.topnav { display: flex; align-items: center; gap: 26px; }
.topnav__link { font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .16s; white-space: nowrap; }
.topnav__link:hover { color: var(--green); }
.topnav__cta { margin-left: 4px; }

/* ── Бургер (мобайл) ── */
.burger { display: none; width: 44px; height: 44px; flex-shrink: 0;
  border: none; background: none; padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(14,26,20,.4); opacity: 0; transition: opacity .22s; }
.nav-scrim.show { opacity: 1; }

@media (max-width: 900px) {
  .burger { display: flex; }
  .topnav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 18px 40px -18px rgba(14,26,20,.35);
    padding: 6px 0 12px;
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
  }
  .topnav.open { transform: none; opacity: 1; pointer-events: auto; }
  .topnav__link { padding: 14px 22px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .topnav .topnav__cta { display: flex; align-self: stretch; width: auto; margin: 14px 22px 6px; justify-content: center; }
}

/* ============ Кнопки ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: 999px;
  font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease, background .18s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--sm svg { width: 16px; height: 16px; }

.btn--dark { background: var(--green); color: #fff; box-shadow: 0 6px 16px rgba(15,110,86,.32); }
.btn--dark:hover { background: var(--green-dk); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,110,86,.36); }
.btn--dark:active { transform: translateY(0); }
.btn__spark { width: 18px; height: 18px; color: #fff; }

.btn--text { color: var(--ink); padding-inline: 14px; }
.btn--text:hover { color: var(--green); }

/* ============ Hero (Вариант A) ============ */
.hero { position: relative; overflow: hidden; padding: 52px 0 48px; background: radial-gradient(900px 460px at 80% 12%, rgba(21,160,90,.10), transparent 60%); }
/* Эпицентр «Точка Трафика» + частицы (первый экран) */
.hstage { position: relative; width: 100%; max-width: 560px; margin-left: auto; aspect-ratio: 800 / 680; }
.hpc { position: absolute; inset: -8%; width: 116%; height: 116%; z-index: 0; pointer-events: none; }
.hmap { position: absolute; inset: 0; z-index: 1; }
.hmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hc { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; width: 150px; padding: 8px 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); transition: transform .16s ease, box-shadow .2s ease; }
.hc:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hci { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; }
.hci svg { width: 18px; height: 18px; }
.hci--av { background: #fff; border: 1px solid var(--line); }
.hci--ozon { background: #005BFF; overflow: hidden; }
.hci img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.hct { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.hct b { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.hct em { font-style: normal; font-size: 10px; color: var(--muted); margin-top: 1px; }
.hsrc { left: -8%; } .hdst { right: 0; }
.hero__left { padding-left: 0; }
.hs1{top:6%}.hs2{top:20%}.hs3{top:33%}.hs4{top:47%}.hs5{top:60%}.hs6{top:74%}
.hd1{top:18%}.hd2{top:40%}.hd3{top:62%}
.hpin { position: absolute; left: 50%; top: 47%; transform: translate(-50%,-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; }
.hpin::before { content:""; position: absolute; left: 50%; top: 38%; transform: translate(-50%,-50%); width: 118px; height: 118px; border-radius: 50%; background: radial-gradient(circle at 50% 36%, #fff, #E6EDE9 78%); box-shadow: 0 16px 32px rgba(16,40,28,.16), inset 0 -7px 16px rgba(0,0,0,.06); z-index: -1; }
.hpin svg { width: 60px; height: 82px; filter: drop-shadow(0 10px 12px rgba(14,138,75,.3)); }
.hpin b { margin-top: -6px; padding: 6px 13px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); font-family: var(--font-head); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-align: center; line-height: 1.1; color: var(--ink); }
.htopc { position: absolute; top: -5%; left: 31%; width: 220px; z-index: 3; padding: 10px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 11px; line-height: 1.35; color: var(--ink-2); }
.hstatc { position: absolute; bottom: -3%; left: 27%; width: 240px; z-index: 4; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 9px; row-gap: 3px; padding: 11px 15px; border-radius: 13px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.hstatc b { font-family: var(--font-head); font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.hstatc span { grid-column: 1 / -1; font-size: 10.5px; line-height: 1.3; color: var(--muted); }
.hero-img-m { display: none; }

/* DOM-карта (не используется — оставлена на будущее) */
.rmap2 { position: relative; width: 100%; max-width: 740px; margin-left: auto; aspect-ratio: 800 / 680;
  border-radius: 22px;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(20,45,32,.035) 46px 47px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(20,45,32,.035) 46px 47px),
    radial-gradient(120% 95% at 58% 42%, #ffffff, #EEF4F0); }
.rmap2__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.r2 { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; width: 152px; padding: 8px 11px; border-radius: 13px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  transition: transform .16s ease, box-shadow .2s ease; }
.r2:hover { transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-lg); }
.r2i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; }
.r2i svg { width: 19px; height: 19px; }
.r2i--avito { background: #fff; border: 1px solid var(--line); }
.r2t { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.r2t b { font-size: 13px; font-weight: 600; color: var(--ink); }
.r2t em { font-style: normal; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.r2--src { left: 0; } .r2--dst { right: 0; }
.s1{top:6%}.s2{top:20%}.s3{top:33%}.s4{top:47%}.s5{top:60%}.s6{top:74%}
.d1{top:18%}.d2{top:40%}.d3{top:62%}
.r2pin { position: absolute; left: 50%; top: 47%; transform: translate(-50%,-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; }
/* 3D-диск под пином */
.r2pin::before { content:""; position: absolute; left: 50%; top: 38%; transform: translate(-50%,-50%); width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #ffffff, #E6EDE9 78%);
  box-shadow: 0 16px 32px rgba(16,40,28,.16), inset 0 -7px 16px rgba(0,0,0,.06), inset 0 4px 8px rgba(255,255,255,.9); z-index: -1; }
.r2pin::after { content:""; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); width: 104px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(14,138,75,.22), transparent 70%); }
.r2pin svg { width: 62px; height: 84px; filter: drop-shadow(0 10px 12px rgba(14,138,75,.3)); }
.r2pin__lbl { position: relative; margin-top: -6px; padding: 7px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); font-family: var(--font-head); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-align: center; line-height: 1.1; color: var(--ink); }
.r2top { position: absolute; top: -5%; left: 31%; width: 232px; z-index: 3; padding: 11px 14px; border-radius: 13px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 11.5px; line-height: 1.35; color: var(--ink-2); }
.r2stat { position: absolute; bottom: -3%; left: 26%; width: 256px; z-index: 4; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px; row-gap: 3px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.r2stat__ic { width: 22px; height: 22px; }
.r2stat b { font-family: var(--font-head); font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.r2stat__tr { width: 52px; height: 20px; }
.r2stat span { grid-column: 1 / -1; font-size: 11px; line-height: 1.3; color: var(--muted); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 30px; align-items: center; }

/* плашки доверия в hero */
.htrust { display: flex; gap: 30px; flex-wrap: wrap; margin: 30px 0 0; padding: 0; }
.htrust__i dt { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; color: var(--green-dk); font-variant-numeric: tabular-nums; }
.htrust__i dd { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* Eyebrow */
.eyebrow { display: inline-block; margin: 0 0 10px; padding: 6px 13px; border-radius: 999px; background: var(--green-soft); color: var(--green-dk); font-size: 12.5px; font-weight: 600; letter-spacing: -0.005em; }

/* Бейджи маркетплейсов */
.markets { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.market {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 7px; border-radius: 13px;
  background: var(--bg); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.market__logo { width: 27px; height: 27px; display: inline-flex; }
.market__logo svg { width: 100%; height: 100%; }

/* Заголовок */
.hero__title {
  margin: 0 0 16px; max-width: none;
  font-size: clamp(19px, 1.9vw, 24px); font-weight: 800;
  line-height: 1.22; letter-spacing: -0.02em; color: var(--ink);
}
.hero__title .ln { display: block; }
.hero__title .ln { display: block; }
.hero__title .accent { color: var(--green); }

.hero__sub { margin: 0 0 16px; max-width: 32em; font-size: clamp(14.5px, 1.2vw, 16.5px); line-height: 1.5; color: var(--ink-2); }
.hero__sub strong { color: var(--ink); font-weight: 600; }

/* 3 фичи */
.features { display: flex; gap: 0; margin: 0 0 18px; padding: 0; list-style: none; }
.feature { display: flex; align-items: center; gap: 11px; padding-right: 22px; }
.feature + .feature { padding-left: 22px; border-left: 1px solid var(--line); }
.feature__ic { position: relative; display: inline-flex; width: 40px; height: 40px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 13px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--ca) 0%, var(--cb) 100%);
  box-shadow: 0 6px 13px var(--cs), 0 1px 2px var(--cs), inset 0 1.5px 1.5px rgba(255,255,255,.6), inset 0 -3px 4px rgba(0,0,0,.20); }
.feature__ic::before { content:""; position:absolute; left:0; top:0; right:0; height:55%; border-radius:13px 13px 50% 50%/13px 13px 22px 22px; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); pointer-events:none; }
.feature__ic svg { position: relative; width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }

/* разные цвета 3D-иконок */
.features .feature:nth-child(1) .feature__ic { --ca:#5BB0FF; --cb:#1366E6; --cs:rgba(19,102,230,.34); }
.features .feature:nth-child(2) .feature__ic { --ca:#B79CFF; --cb:#6D33E0; --cs:rgba(109,51,224,.32); }
.features .feature:nth-child(3) .feature__ic { --ca:#FFC25E; --cb:#E2860F; --cs:rgba(226,134,15,.34); }
.feature__txt { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.feature__txt b { color: var(--ink); font-weight: 600; }

/* CTA */
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }

.hero__trust { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; color: var(--muted); }
.hero__trust svg { width: 16px; height: 16px; color: var(--green); }

/* ============ Маршрутная карта ============ */
.hero__right { position: relative; }
.rmap { position: relative; width: 100%; max-width: 540px; margin-inline: auto; aspect-ratio: 1 / .92; }
.rmap__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rpin { position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; z-index: 3; }
.rpin::after { content:""; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 96px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(14,138,75,.3), transparent 70%); }
.rpin svg { width: 78px; height: 96px; }
.rpin b { margin-top: -8px; padding: 8px 14px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-md); font-size: 11px; font-weight: 800; letter-spacing: .05em; color: var(--ink); text-align: center; line-height: 1.1; }
.rnode { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); font-size: 13px; font-weight: 600; color: var(--ink); z-index: 2; }
.rnode i { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; }
.rnode i svg { width: 16px; height: 16px; }
.rs1 { top: 6%; left: -2%; } .rs2 { top: 40%; left: -5%; } .rs3 { top: 74%; left: -2%; }
.rd1 { top: 14%; right: -2%; } .rd2 { top: 46%; right: -5%; } .rd3 { top: 78%; right: -2%; }
.rmetric { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 14px; padding: 12px 18px; z-index: 4; text-align: center; }
.rmetric b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.rmetric span { display: block; font-size: 11.5px; color: var(--muted); }

/* ============ Цифры ============ */
.stats {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin: 14px 0 0; padding: 0;
}
.stat {
  margin: 0; padding: 16px 18px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.stat__ic { position: relative; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 15px; color: #fff; margin-bottom: 12px; overflow: hidden;
  background: linear-gradient(150deg, var(--ca) 0%, var(--cb) 100%);
  box-shadow: 0 8px 16px var(--cs), 0 1px 2px var(--cs), inset 0 2px 2px rgba(255,255,255,.6), inset 0 -3px 5px rgba(0,0,0,.20); }
.stat__ic::before { content:""; position:absolute; left:0; top:0; right:0; height:55%; border-radius:15px 15px 50% 50%/15px 15px 24px 24px; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); pointer-events:none; }
.stat__ic svg { position: relative; width: 23px; height: 23px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }

/* разные цвета 3D-иконок */
.stats .stat:nth-child(1) .stat__ic { --ca:#4ADE99; --cb:#0E8A4B; --cs:rgba(13,122,65,.34); }
.stats .stat:nth-child(2) .stat__ic { --ca:#4BE3D3; --cb:#0E9C8E; --cs:rgba(14,156,142,.32); }
.stats .stat:nth-child(3) .stat__ic { --ca:#FF8FB3; --cb:#E0356F; --cs:rgba(224,53,111,.32); }
.stats .stat:nth-child(4) .stat__ic { --ca:#8AA6FF; --cb:#3D52E0; --cs:rgba(61,82,224,.32); }
.stat__val { margin: 0; font-size: clamp(22px, 2.3vw, 31px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.stat__lbl { margin: 6px 0 0; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }

/* ============ Заголовки секций ============ */
.sec-tag { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.sec-title { margin: 0 0 36px; font-size: clamp(24px, 2.8vw, 36px); font-weight: 700; line-height: 1.18; letter-spacing: -0.025em; color: var(--ink); }
/* Whisper: пословное появление заголовков */
.ww { display: inline-block; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .55s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.ww.in { opacity: 1; transform: none; }
/* TextInertia: слова текста реагируют на курсор */
.iw { display: inline-block; will-change: transform; transition: transform .5s cubic-bezier(.25,.7,.35,1); }

/* ============ Блок 02 — Почему это важно ============ */
.why { padding: 76px 0; scroll-margin-top: 80px; background: var(--bg-soft); }

.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.pain {
  padding: 26px 24px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.pain__ic {
  position: relative; display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center;
  border-radius: 15px; color: #fff; margin-bottom: 16px; overflow: hidden;
  background: linear-gradient(150deg, var(--ca) 0%, var(--cb) 100%);
  box-shadow: 0 8px 16px var(--cs), 0 1px 2px var(--cs), inset 0 2px 2px rgba(255,255,255,.55), inset 0 -3px 5px rgba(0,0,0,.20);
}
.pain__ic::before { content:""; position:absolute; left:0; top:0; right:0; height:55%; border-radius:15px 15px 50% 50%/15px 15px 24px 24px; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0)); }
.pain__ic svg { position: relative; width: 23px; height: 23px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.22)); }
.pain:nth-child(1) .pain__ic { --ca:#FF8A6B; --cb:#E0452B; --cs:rgba(224,69,43,.30); }
.pain:nth-child(2) .pain__ic { --ca:#FFC25E; --cb:#E2860F; --cs:rgba(226,134,15,.30); }
.pain:nth-child(3) .pain__ic { --ca:#B79CFF; --cb:#6D33E0; --cs:rgba(109,51,224,.30); }
.pain__t { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.pain__d { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

.fit {
  border-radius: 20px; padding: 28px 30px;
  background: linear-gradient(135deg, #EAF7F0, #E1F5EE);
  border: 1px solid rgba(29,158,117,.22);
}
.fit__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fit__badge {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; flex-shrink: 0;
  border-radius: 10px; color: #fff;
  background: linear-gradient(150deg, #4ADE99, #0E8A4B);
  box-shadow: 0 5px 11px rgba(13,122,65,.30), inset 0 1.5px 1px rgba(255,255,255,.5);
}
.fit__badge svg { width: 18px; height: 18px; }
.fit__title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.fit__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.fit__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink); font-weight: 500; }
.fit__list svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: var(--green-dk); }

/* ============ Блок 03 — Кейс и экономика ============ */
.econ { padding: 72px 0; scroll-margin-top: 80px; }

.case {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 36px 38px; margin-bottom: 40px;
  background: linear-gradient(135deg, #143728 0%, #0B1F16 100%);
  color: #fff; box-shadow: var(--shadow-lg);
}
.case__glow { position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(74,222,153,.22), transparent 60%); pointer-events: none; }
.case__chip { position: relative; display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #6FE6AE; background: rgba(74,222,153,.14); border: 1px solid rgba(74,222,153,.28); }
.case__quote { position: relative; margin: 0 0 28px; max-width: 22em; font-size: clamp(19px, 2.1vw, 26px); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; color: rgba(255,255,255,.78); }
.case__quote b { color: #fff; font-weight: 700; }

.case__bottom { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.flow { display: flex; align-items: center; gap: 14px; }
.flow__item { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 13px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); min-width: 120px; }
.flow__item--win { background: rgba(74,222,153,.14); border-color: rgba(74,222,153,.4); }
.flow__cap { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.flow__cap--down { color: #FF9B82; }
.flow__cap--up { color: #5DE39E; }
.flow__txt { font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.3; }
.flow__arrow { width: 22px; height: 22px; color: rgba(255,255,255,.5); flex-shrink: 0; }
.case__note { margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.62); }
.case__note b { color: #fff; font-weight: 600; }

.econ__h { margin: 0 0 18px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.econ__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* сравнительный калькулятор */
.ccalc { padding: 26px 28px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ccalc__eyebrow { margin: 0 0 7px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dk); }
.ccalc__h { margin: 0 0 5px; font-family: var(--font-head); font-size: clamp(18px,1.9vw,23px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.ccalc__sub { margin: 0 0 20px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ccalc__sltop { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; color: var(--ink-2); margin-bottom: 9px; }
.ccalc__units { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--green-dk); font-variant-numeric: tabular-nums; }
.ccalc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; cursor: pointer; background: linear-gradient(90deg,var(--green) 0%,var(--green) 50%,#E4EAE6 50%,#E4EAE6 100%); outline: none; }
.ccalc__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--green); box-shadow: 0 4px 10px rgba(15,110,86,.35); cursor: pointer; }
.ccalc__range::-moz-range-thumb { width: 26px; height: 26px; border: 4px solid var(--green); border-radius: 50%; background: #fff; cursor: pointer; }
.ccalc__range:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.ccalc__ticks { display: flex; justify-content: space-between; margin: 8px 2px 18px; font-size: 11.5px; color: var(--muted); }
.ccalc__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ccol { position: relative; overflow: hidden; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); }
.ccol--mk { background: var(--bg-soft); }
.ccol--us { background: var(--green-soft); border-color: rgba(21,160,90,.34); }
.ccol__glow { position: absolute; top: -50px; right: -50px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(74,222,153,.22), transparent 65%); }
.ccol__tag { position: relative; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.ccol--us .ccol__tag { color: var(--green-dk); }
.ccol__big { position: relative; margin: 9px 0 6px; font-family: var(--font-head); font-size: clamp(24px,2.6vw,32px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ccol--us .ccol__big { color: var(--green-dk); }
.ccol__note { position: relative; margin: 0; font-size: 12px; line-height: 1.4; color: var(--muted); }
.ccol__note b { color: var(--green-dk); font-weight: 700; }
.ccalc__save { position: relative; overflow: hidden; margin-top: 16px; padding: 16px 20px 16px 24px; border-radius: 14px; background: linear-gradient(135deg,#EAF7F0,#E1F5EE); border: 1px solid rgba(29,158,117,.3); }
.ccalc__save::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg,#2DD17E,#0E8A4B); }
.ccalc__save-lbl { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dk); }
.ccalc__save b { display: block; margin: 4px 0 4px; font-family: var(--font-head); font-size: clamp(26px,3vw,34px); font-weight: 800; letter-spacing: -.02em; color: var(--green-dk); font-variant-numeric: tabular-nums; }
.ccalc__save-note { display: block; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.ccalc__hint { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.ccalc__hint b { color: var(--ink); font-weight: 600; }
.ccalc__hyp-note { margin: 14px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.ecard { padding: 26px 26px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ecard--accent { background: linear-gradient(135deg, #EAF7F0, #E1F5EE); border-color: rgba(29,158,117,.3); }
.ecard__lbl { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ecard--accent .ecard__lbl { color: var(--green-dk); }
.ecard__val { margin: 0 0 12px; font-size: clamp(26px, 2.7vw, 34px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ecard--accent .ecard__val { color: var(--green-dk); }
.ecard__val span { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ecard--accent .ecard__val span { color: var(--green); }
.ecard__d { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ecard__d b { color: var(--ink); font-weight: 600; }

/* ============ Блок 04 — Как это работает ============ */
.how { padding: 76px 0; scroll-margin-top: 80px; background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; margin-bottom: 32px; }
.step { padding: 26px 24px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.step--result { background: linear-gradient(150deg, #14A85F, #0C7A43); border: none; color: #fff; box-shadow: 0 12px 28px rgba(13,122,65,.30); }
.step__num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; margin-bottom: 14px; font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(150deg, #4ADE99, #0E8A4B); box-shadow: 0 5px 11px rgba(13,122,65,.3), inset 0 1.5px 1px rgba(255,255,255,.5); }
.step__badge { display: inline-block; margin-bottom: 12px; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.step__t { margin: 0 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.step--result .step__t { color: #fff; }
.step__d { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.step--result .step__d { color: rgba(255,255,255,.85); }
.steps__arrow { width: 24px; height: 24px; color: var(--green); align-self: center; }

.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.plat { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; font-weight: 600; color: var(--ink); }
.plat__l { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font-size: 12px; }
.plat__l svg { width: 16px; height: 16px; }
.plat__l--ig { background: linear-gradient(135deg, #F9CE34, #EE2A7B 50%, #6228D7); }
.plat__l--max { background: linear-gradient(135deg, #6A5BFF, #9B5DE5); }

.notes2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note2 { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.note2__ic { display: inline-flex; width: 40px; height: 40px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 12px; color: #fff; background: linear-gradient(150deg, #4ADE99, #0E8A4B); box-shadow: 0 5px 11px rgba(13,122,65,.28), inset 0 1.5px 1px rgba(255,255,255,.5); }
.note2__ic svg { width: 21px; height: 21px; }
.note2 p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.note2 p b { color: var(--ink); font-weight: 600; }

/* ============ Блок 05 — Результаты ============ */
.results { padding: 72px 0; scroll-margin-top: 80px; }
.res-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 20px; }
.res { padding: 26px 24px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.res__tag { display: inline-block; margin-bottom: 14px; padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.res__tag--dzen { background: #ECECEC; color: #1A1A1A; }
.res__tag--ig { background: linear-gradient(135deg, #F9CE34, #EE2A7B 60%, #6228D7); color: #fff; }
.res__tag--tg { background: #E3F1FE; color: #1372C2; }
.res__tag--up { background: var(--green-soft); color: var(--green-dk); }
.res__val { margin: 0 0 8px; font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.res__d { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.res-note { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.res-note svg { width: 18px; height: 18px; color: var(--green); }

/* ============ Блок Кейсы ============ */
.cases { padding: 76px 0; scroll-margin-top: 80px; background: var(--bg-soft); }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ccard { display: flex; flex-direction: column; padding: 26px 26px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .22s ease; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ccard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ccard__niche { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--green-dk); background: var(--green-soft); padding: 5px 11px; border-radius: 999px; }
.ccard__link { font-size: 13.5px; font-weight: 600; color: var(--ink); transition: color .16s; }
.ccard__link:hover { color: var(--green); }
.ccard__link--plain { color: var(--muted); pointer-events: none; }
.ccard__big { display: flex; flex-direction: column; margin-bottom: 16px; }
.ccard__big b { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.ccard__big span { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.ccard__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); margin-bottom: 14px; }
.cm b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.cm span { font-size: 11.5px; color: var(--muted); }
.ccard__note { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); flex-grow: 1; }
.proofs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.proof { width: 42px; height: 56px; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--bg-soft); transition: transform .14s, border-color .16s; }
.proof:hover { transform: scale(1.06); border-color: var(--green); }
.proof img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof__lbl { font-size: 12px; color: var(--muted); margin-left: 4px; }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 32px; background: rgba(8,12,10,.86); backdrop-filter: blur(4px); }
.lb__img { max-width: min(92vw, 520px); max-height: 92vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.lb__close:hover { background: rgba(255,255,255,.22); }
.lb__stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb__count { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: 0.02em; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center; border: none; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .16s, transform .16s; z-index: 2; }
.lb__nav svg { width: 26px; height: 26px; }
.lb__nav:hover { background: rgba(255,255,255,.24); }
.lb__nav:active { transform: translateY(-50%) scale(.94); }
.lb__nav[disabled] { opacity: .3; cursor: default; pointer-events: none; }
.lb__prev { left: clamp(12px, 4vw, 48px); }
.lb__next { right: clamp(12px, 4vw, 48px); }

/* ============ Блок 06 — CTA-форма ============ */
.cta { padding: 40px 0 80px; scroll-margin-top: 80px; }
.cta__panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px;
  border-radius: 26px; padding: 44px 46px; background: linear-gradient(135deg, #133526 0%, #0A1C14 100%); color: #fff; box-shadow: var(--shadow-lg); }
.cta__glow { position: absolute; top: -140px; left: 30%; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(74,222,153,.22), transparent 62%); pointer-events: none; }
.cta__left, .cta__right { position: relative; z-index: 1; }
/* правая колонка не перехватывает мышь — события проходят к 3D-роботу под ней */
.cta__right { pointer-events: none; }
.cta__right a, .cta__right button { pointer-events: auto; }
.cta__title { margin: 0 0 14px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.cta__sub { margin: 0 0 24px; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 30em; }

.cta__form { display: flex; flex-direction: column; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--green); cursor: pointer; }
.consent span { font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.72); }
.consent a { color: #fff; text-decoration: underline; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.field input { padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #fff; font-family: var(--font); font-size: 15px; transition: border-color .16s, background .16s; }
.field input::placeholder { color: rgba(255,255,255,.4); }
.field input:focus { outline: none; border-color: var(--green); background: rgba(255,255,255,.1); }
.cta__submit { width: 100%; margin-top: 4px; }
.cta__form-note { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,.55); text-align: center; }

.cta__success { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0; }
.cta__success-ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; color: #fff; background: linear-gradient(150deg, #4ADE99, #0E8A4B); box-shadow: 0 8px 18px rgba(13,122,65,.4); }
.cta__success-ic svg { width: 26px; height: 26px; }
.cta__success h3 { margin: 6px 0 0; font-size: 22px; font-weight: 700; }
.cta__success p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.75); max-width: 26em; }

.cta__next-h { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #6FE6AE; }
.next { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.next__item { display: flex; gap: 14px; align-items: flex-start; }
.next__n { display: inline-flex; width: 30px; height: 30px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 9px; font-size: 14px; font-weight: 700; color: #04140C; background: linear-gradient(150deg, #6FE6AE, #1FB872); }
.next__item div { display: flex; flex-direction: column; gap: 3px; }
.next__item b { font-size: 15px; font-weight: 600; }
.next__item span { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.62); }
.cta__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cta__chips li { padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.82); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); }

/* ── 3D-робот в форме (прозрачный spline-viewer, реагирует на мышь) ── */
.cta__robot { position: absolute; right: -16px; bottom: -30px; z-index: 0;
  width: clamp(266px, 30.4%, 437px); height: clamp(323px, 38%, 570px);
  pointer-events: auto; background: transparent; }
.cta__robot spline-viewer { width: 100%; height: 100%; display: block; background: transparent !important; }
.cta__robot canvas { background: transparent !important; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 32px; align-items: start; }
.footer__brand .brand__name { font-size: 20px; font-weight: 800; color: var(--ink); }
.footer__brand .brand__accent { color: var(--green); }
.footer__line { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 36em; }
.footer__tg { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 16px; border-radius: 999px; background: var(--green-soft); color: var(--green-dk); font-size: 14px; font-weight: 600; transition: background .16s; }
.footer__tg:hover { background: #D2EFE3; }
.footer__tg svg { width: 17px; height: 17px; }
.footer__nav { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.footer__nav a { color: var(--ink-2); transition: color .16s; }
.footer__nav a:hover { color: var(--green); }
.footer__copy { margin: 0; font-size: 13px; color: var(--muted); white-space: nowrap; }

/* ============ UI-полировка: hover-состояния карточек ============ */
.pain, .ecard, .res, .note2, .step, .market, .plat, .rm-src, .rm-dst {
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s ease;
}
.pain:hover, .ecard:hover, .res:hover, .note2:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D8E4DC;
}
.step:not(.step--result):hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.market:hover, .plat:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--green-500); }
.res__val { transition: none; }

/* выравнивание заголовков карточек болей в ряд */
.pain__t { min-height: 2.4em; }

/* ============ Юридическая страница ============ */
.legal { padding: 40px 0 64px; }
.legal__inner { max-width: 820px; }
.legal__back { display: inline-block; margin-bottom: 18px; font-size: 14px; color: var(--green-dk); font-weight: 600; }
.legal__h1 { font-family: var(--font-head); font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 6px; }
.legal__upd { margin: 0 0 28px; font-size: 13.5px; color: var(--muted); }
.legal h2 { font-family: var(--font-head); font-size: 19px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.legal p { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-bottom: 6px; }
.legal a { color: var(--green-dk); text-decoration: underline; }
.legal__todo { color: var(--terracotta); font-size: 13.5px; }
.legal__foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 500; color: var(--ink); }

/* ============ Cookie-баннер ============ */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 760px; margin-inline: auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center;
  padding: 16px 20px; border-radius: 16px; background: #0E1A14; color: #E7F2EC; box-shadow: var(--shadow-lg); }
.cookie p { margin: 0; font-size: 13.5px; line-height: 1.5; flex: 1 1 320px; }
.cookie a { color: #6FE6AE; text-decoration: underline; }
.cookie button { flex-shrink: 0; padding: 11px 24px; border: none; border-radius: 999px; background: var(--green); color: #fff; font-family: var(--font); font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie button:hover { background: var(--green-dk); }
@media (max-width: 560px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; gap: 10px; padding: 9px 12px; border-radius: 12px;
    flex-wrap: nowrap; align-items: center; text-align: left; }
  .cookie p { font-size: 11px; line-height: 1.35; flex: 1 1 auto; }
  .cookie button { width: auto; padding: 8px 14px; font-size: 12px; }
}

/* ============ Заглушки ============ */
.stub { height: 0; scroll-margin-top: 90px; }
.dev-note { margin: 28px 0; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); opacity: .55; }

/* ============ Адаптив ============ */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__right { order: -1; }
  .rmap { max-width: 480px; }
}

@media (max-width: 768px) {
  .container { padding-inline: 20px; }

  .topbar__inner { align-items: center; gap: 16px; }
  .brand__tag { display: none; }

  .hero { padding: 16px 0 32px; }
  .hero__title .ln { display: inline; }

  /* на мобиле прячем DOM-эпицентр (нечитаем в узкой колонке), показываем картинку-фолбэк */
  .hero__right { display: block; order: -1; margin-bottom: 8px; }
  .hstage { display: none; }
  .hero-img-m { display: block; max-width: 460px; margin-inline: auto; }
  .hero-img-m img { width: 100%; height: auto; display: block; }
  .hero__title .ln { display: inline; }

  /* блок доверия: 100+ и 7 в ряд, 31 584 — отдельной строкой снизу */
  .htrust { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; margin-top: 26px; }
  .htrust__i:last-child { grid-column: 1 / -1; }

  .markets { gap: 8px; margin-bottom: 24px; }
  .market { font-size: 13px; padding: 7px 13px 7px 7px; }
  .market__logo { width: 26px; height: 26px; }

  .features { flex-direction: column; gap: 14px; }
  .feature { padding: 0; }
  .feature + .feature { padding: 14px 0 0; border-left: none; border-top: 1px solid var(--line); }
  .feature { border-top: none; }
  .feature + .feature { padding-left: 0; }

  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn--dark { width: 100%; }
  .btn--text { justify-content: center; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { padding: 18px; }

  .why { padding: 48px 0; }
  .sec-title { margin-bottom: 26px; }
  .sec-title br { display: none; }
  .pains { grid-template-columns: 1fr; gap: 12px; }
  .pain { padding: 22px 20px; }
  .pain__t { min-height: 0; }
  .fit { padding: 24px 22px; }
  .fit__list { grid-template-columns: 1fr; gap: 12px; }

  .econ { padding: 48px 0; }
  .sec-title br, .econ__h br { display: none; }
  .case { padding: 26px 22px; border-radius: 18px; }
  .case__bottom { grid-template-columns: 1fr; gap: 18px; }
  .flow { justify-content: space-between; }
  .flow__item { flex: 1; min-width: 0; }
  .econ__grid { grid-template-columns: 1fr; gap: 12px; }
  .ecard { padding: 22px 20px; }
  .ccalc { padding: 22px 18px; }
  .ccalc__cols { grid-template-columns: 1fr; }
  .ccol { padding: 20px; }
  .ccalc__save { flex-direction: column; align-items: flex-start; }

  /* Блок 04 */
  .how { padding: 48px 0; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps__arrow { transform: rotate(90deg); width: 20px; height: 20px; justify-self: center; }
  .notes2 { grid-template-columns: 1fr; gap: 12px; }
  .note2 { padding: 18px 20px; }

  /* Блок 05 */
  .results { padding: 48px 0; }
  .res-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .res { padding: 20px 18px; }

  .cases { padding: 48px 0; }
  .cgrid { grid-template-columns: 1fr; gap: 14px; }
  .ccard { padding: 22px 20px; }
  .lb { padding: 18px; }
  .lb__nav { width: 44px; height: 44px; background: rgba(255,255,255,.16); }
  .lb__nav svg { width: 22px; height: 22px; }
  .lb__prev { left: 10px; } .lb__next { right: 10px; }
  .lb__img { max-width: 86vw; }

  /* Блок 06 */
  .cta { padding: 24px 0 56px; }
  .cta__panel { grid-template-columns: 1fr; gap: 30px; padding: 30px 24px; border-radius: 20px; }
  .cta__robot { display: none; }
  .field-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
}
