/* ============================================================
   Маркетплейсеры.РФ — лендинг
   Экран 1 (Hero). Без засечек · full-width · параллакс.
   ============================================================ */

:root {
  --bg:        #0E1116;
  --bg-soft:   #141922;
  --surface:   #171D27;
  --surface-2: #1E2530;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  --text:      #F4F6F8;
  --muted:     #A9B2BF;
  --muted-2:   #717B89;

  --accent:    #19C37D;
  --accent-2:  #14A86B;
  --accent-ink:#04130D;
  --accent-soft-bg: rgba(25, 195, 125, 0.12);

  /* Только sans-serif */
  --display: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sans:    'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1680px;
  --gutter: clamp(20px, 4vw, 64px);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

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

/* Full-width контейнер с текучими полями */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.accent { color: var(--accent); }
.accent-soft { color: var(--accent); font-weight: 600; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1;
  text-decoration: none; border-radius: 12px; padding: 17px 26px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(25, 195, 125, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(25, 195, 125, 0.65); }
.btn--ghost { background: rgba(255,255,255,0.04); border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--sm { padding: 11px 18px; font-size: 15px; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(14, 17, 22, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
/* Дропдаун «Написать» (Telegram / MAX) */
.write { position: relative; }
.write__btn { cursor: pointer; }
.write__icons { display: inline-flex; gap: 4px; margin-left: 5px; opacity: .85; }
.write__icons .ico { width: 16px; height: 16px; }
.write__pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 184px; padding: 6px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 24px 50px -15px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 60;
}
.write[data-open="true"] .write__pop { opacity: 1; visibility: visible; transform: translateY(0); }
.write[data-open="true"] .write__btn { background: rgba(255,255,255,0.08); }
.write__item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
}
.write__item:hover { background: rgba(255,255,255,0.07); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand__mark { display: inline-flex; width: 34px; height: 34px; flex: none; }
.brand__mark svg { width: 100%; height: 100%; display: block; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .2px; }
.brand__dot { color: var(--accent); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 96px 0 110px; isolation: isolate; overflow: hidden; }

/* Параллакс-фон */
.hero__bg { position: absolute; inset: -10% 0 0 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.orb--green { width: 720px; height: 720px; right: -120px; top: -160px;
  background: radial-gradient(circle at center, rgba(25,195,125,0.55), transparent 70%); }
.orb--blue  { width: 640px; height: 640px; left: -160px; top: 120px;
  background: radial-gradient(circle at center, rgba(45,110,230,0.40), transparent 70%); }
.grid-glow {
  position: absolute; inset: 0; will-change: transform;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 80% at 70% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 70% 10%, #000 30%, transparent 75%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.hero__copy { max-width: 720px; }

/* Kicker — не кнопка: точка + капс, без рамки/фона */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--display);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-bg); flex: none; }

.h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.lead {
  font-size: clamp(19px, 2vw, 23px); font-weight: 600; line-height: 1.4;
  margin: 0 0 14px; color: var(--text);
}

/* Иконка в кнопках */
.ico { width: 19px; height: 19px; flex: none; }

.subhead {
  font-size: 18.5px; line-height: 1.6; color: var(--muted);
  margin: 0 0 28px; max-width: 50ch;
}

/* Мы / Вы */
.roles { display: flex; flex-direction: column; gap: 16px; margin: 6px 0 36px; }
.role { display: flex; align-items: center; gap: 13px; }
.role__tag { flex: none; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; border-radius: 7px; padding: 5px 10px; }
.role__tag--we  { color: var(--accent-ink); background: var(--accent); }
.role__tag--you { color: var(--text); background: rgba(255,255,255,0.06); }
.role__list { font-size: 16px; color: var(--muted); }

/* CTA */
.cta { margin: 0 0 32px; }
.intake {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px;
  font-size: 14px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: 8px 15px;
}
.intake__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft-bg); flex: none; animation: pulse 2.2s infinite; }
.intake b { color: var(--text); font-weight: 700; }
.cta__sub { margin: 12px 2px 0; font-size: 14.5px; color: var(--muted-2); }

/* Trust */
.trust { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); }
.trust__logos { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.mp-logo { display: block; width: auto; opacity: .9; }
.mp-logo--wb { height: 16px; }
.mp-logo--ozon { height: 18px; }
.mp-logo--ym { height: 26px; }
.trust__metric { margin: 0; font-size: 14.5px; color: var(--muted-2); }
.trust__metric strong { color: var(--text); font-weight: 700; }

/* ---------- Мокап кабинета ---------- */
.hero__visual { position: relative; perspective: 1100px; }
.cab {
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 22px;
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d; will-change: transform;
}
.cab__top { display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.cab__id { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.cab__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-bg); }
.cab__live { font-size: 12px; color: var(--accent); font-weight: 600; letter-spacing: .03em; }

.cab__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.metric { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px; display: flex; flex-direction: column; gap: 5px; }
.metric__label { font-size: 12.5px; color: var(--muted-2); }
.metric__value { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.metric__delta { font-size: 12px; font-weight: 600; }
.metric__delta.up { color: var(--accent); }
.metric__delta.neutral { color: var(--muted-2); }

.cab__feed { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.cab__feed-title { margin: 0 0 10px; font-size: 12.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.feed__row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); }
.feed__pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none;
  box-shadow: 0 0 0 0 rgba(25,195,125,0.6); animation: pulse 2.2s infinite; }
.feed__txt { flex: 1; color: var(--text); font-weight: 500; }
.feed__time { color: var(--muted-2); font-size: 12px; flex: none; }
.cab__note { margin: 14px 2px 0; font-size: 11.5px; color: var(--muted-2); text-align: center; }

/* Реальный скрин кабинета в рамке «окна» */
.shot {
  margin: 0; border-radius: 16px; overflow: hidden;
  background: #0c0f14; border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  transform-style: preserve-3d; will-change: transform;
}
.shot__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px;
  background: #11151c; border-bottom: 1px solid var(--line); }
.shot__dots { display: inline-flex; gap: 6px; }
.shot__dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: #2a313c; }
.shot__dots i:nth-child(1) { background: #ff5f57; }
.shot__dots i:nth-child(2) { background: #febc2e; }
.shot__dots i:nth-child(3) { background: #28c840; }
.shot__title { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }
.shot__img { display: block; width: 100%; height: auto; }
.shot__cap { margin: 14px 2px 0; font-size: 12px; color: var(--muted-2); text-align: center; }

/* Showcase: скрин + плавающие подписи */
.showcase {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.ico--sm { width: 15px; height: 15px; }

.tagbadge {
  position: absolute; top: -13px; left: 20px; z-index: 4;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 800; font-size: 12.5px;
  padding: 7px 13px; border-radius: 100px;
  box-shadow: 0 12px 30px -10px rgba(25,195,125,.6);
  transform: translateZ(55px);
}

.float {
  position: absolute; z-index: 4;
  background: rgba(18,23,31,.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 11px 15px;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.7);
  transform: translateZ(75px);
}
.float__label { display: block; font-size: 11.5px; color: var(--muted-2); margin-bottom: 2px; }
.float__num { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--accent); letter-spacing: -0.01em; }
.float--tr { top: 30px; right: -18px; }
.float--bl { bottom: -22px; left: -18px; }

.reinforce { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.reinforce li {
  position: relative; font-size: 13.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 13px 9px 31px;
}
.reinforce li::before {
  content: "✓"; position: absolute; left: 12px; top: 9px;
  color: var(--accent); font-weight: 800;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(25,195,125,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(25,195,125,0); }
  100% { box-shadow: 0 0 0 0 rgba(25,195,125,0); }
}

/* Юр-страницы (оферта/политика) */
.docnav { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(14,17,22,.72); backdrop-filter: blur(10px); }
.docnav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.docback { color: var(--muted); text-decoration: none; font-size: 15px; }
.docback:hover { color: var(--accent); }
.doc { max-width: 820px; margin: 0 auto; padding: clamp(40px,6vw,80px) 0 clamp(60px,8vw,100px); }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(28px,4vw,42px); letter-spacing: -0.02em; margin: 0 0 8px; }
.doc__date { color: var(--muted-2); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-family: var(--display); font-weight: 700; font-size: clamp(18px,2.2vw,23px); margin: 34px 0 12px; color: var(--text); }
.doc p, .doc li { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 12px; }
.doc ul { padding-left: 22px; margin: 0 0 12px; }
.doc a { color: var(--accent); }
.doc__note { margin-top: 40px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; color: var(--muted-2); }

/* Кнопка «наверх» */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s, color .2s, border-color .2s;
}
.totop svg { width: 22px; height: 22px; }
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- Sticky CTA (мобайл) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(14,17,22,0), rgba(14,17,22,0.92) 32%);
}

/* ---------- Секции ---------- */
.section { padding: clamp(84px, 9vw, 132px) 0; position: relative; }
.partner { border-top: 1px solid var(--line); }
.h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px;
}
.section__lead { font-size: clamp(18px, 1.9vw, 22px); color: var(--muted); max-width: 62ch; margin: 0 0 44px; line-height: 1.5; }

.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0 0 44px; max-width: 920px; }
.contrast__col { border: none; background: none; padding: 2px 0 2px 18px; border-left: 2px solid var(--line-2); }
.contrast__col--yes { border-left-color: rgba(25,195,125,.5); }
.contrast__h { display: block; font-family: var(--display); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.contrast__col--no .contrast__h { color: var(--muted-2); }
.contrast__col--yes .contrast__h { color: var(--accent); }
.contrast__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contrast__col li { position: relative; padding-left: 30px; font-size: 16px; color: var(--text); }
.contrast__col--no li { color: var(--muted); }
.contrast__col--no li::before { content: "✕"; position: absolute; left: 6px; color: var(--muted-2); font-weight: 700; }
.contrast__col--yes li::before { content: "✓"; position: absolute; left: 5px; color: var(--accent); font-weight: 800; }

.econ {
  max-width: 600px; border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft)); padding: 26px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.econ__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.econ__head h3 { font-family: var(--display); font-weight: 800; font-size: 19px; margin: 0; }
.econ__tag { font-size: 11.5px; font-weight: 700; color: var(--muted-2); border: 1px solid var(--line-2); border-radius: 100px; padding: 5px 11px; text-transform: uppercase; letter-spacing: .06em; }
.econ__rows { display: flex; flex-direction: column; }
.econ__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--muted); }
.econ__row b { font-family: var(--display); font-weight: 800; font-size: 18px; }
.econ__row .neg { color: var(--muted); }
.econ__row .pos { color: var(--text); }
.econ__row--total { border-bottom: none; padding-top: 18px; }
.econ__row--total span { color: var(--text); font-weight: 600; font-size: 17px; }
.econ__row--total b { font-size: 26px; color: var(--accent); }
.econ__note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted-2); line-height: 1.5; }

/* Экран 2: 2 колонки + поток */
.partner__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.partner__text .contrast { grid-template-columns: 1fr; max-width: none; margin-bottom: 0; gap: 26px; }

.flow { border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, var(--surface), var(--bg-soft)); padding: 26px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.flow__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.flow__head h3 { font-family: var(--display); font-weight: 800; font-size: 18px; margin: 0; }
.flow__steps { list-style: none; margin: 0; padding: 0; }
.flow__step { position: relative; display: flex; align-items: flex-start; gap: 14px; padding-bottom: 22px; }
.flow__step:last-child { padding-bottom: 0; }
.flow__step::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line-2); }
.flow__step:last-child::before { display: none; }
.flow__num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--muted); position: relative; z-index: 1; }
.flow__body { flex: 1; display: flex; flex-direction: column; gap: 3px; padding-top: 5px; }
.flow__body b { font-size: 15.5px; color: var(--text); font-weight: 700; }
.flow__body span { font-size: 13px; color: var(--muted-2); line-height: 1.4; }
.flow__amt { flex: none; font-family: var(--display); font-weight: 800; font-size: 16px; padding-top: 6px; white-space: nowrap; }
.flow__amt.pos { color: var(--text); }
.flow__amt.neg { color: var(--muted); }
.flow__amt.accent { color: var(--accent); font-size: 20px; }
.flow__step--accent .flow__num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.flow__step--accent .flow__body b { color: var(--accent); }
.flow__guard { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; background: var(--accent-soft-bg); border: 1px solid rgba(25,195,125,.3); border-radius: 12px; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.35; }
.flow__guard svg { width: 19px; height: 19px; flex: none; color: var(--accent); }
.flow__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-2); }
.flow__cta { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.write--center { position: relative; }
.write__pop--center { left: 0; right: auto; transform: translateY(-6px); }
.write--center[data-open="true"] .write__pop--center { transform: translateY(0); }
/* Попап вверх (для нижних кнопок) */
.write--up .write__pop--center { top: auto; bottom: calc(100% + 8px); transform: translateY(6px); }
.write--up[data-open="true"] .write__pop--center { transform: translateY(0); }
.flow__cta-sub { margin: 14px 0 0; font-size: 14px; color: var(--muted-2); text-align: left; max-width: 46ch; line-height: 1.5; }

/* Полноширинная CTA-строка экрана 2 */
.partner__cta { margin-top: clamp(40px, 5vw, 60px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.partner__cta .write--center { flex: none; }
.partner__cta-text { flex: 1; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* Экран 3: шаги «как это работает» */
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.step { position: relative; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 16px;
  color: var(--accent); background: var(--accent-soft-bg); border: 1px solid rgba(25,195,125,.35);
  position: relative; z-index: 1; margin-bottom: 18px;
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 50px; right: -28px; height: 2px; background: var(--line-2); z-index: 0; }
.step__title { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 7px; color: var(--text); }
.step__desc { font-size: 14.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.step__proof { display: inline-block; margin-top: 13px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft-bg); border: 1px solid rgba(25,195,125,.25); border-radius: 100px; padding: 5px 11px; }

.how__cta { margin-top: clamp(44px, 5vw, 64px); display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.how__cta-text { margin: 0; color: var(--muted-2); font-size: 14.5px; }

/* Экран 4: карусель кейсов */
.carousel { margin-top: 14px; }
.carousel__track {
  display: flex; gap: 20px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; padding: 4px 0 6px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.case {
  scroll-snap-align: start; flex: 0 0 32%; min-width: 300px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  cursor: pointer; display: flex; flex-direction: column;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.case:hover, .case:focus-visible {
  border-color: rgba(25,195,125,.45); transform: translateY(-3px);
  box-shadow: 0 16px 40px -22px rgba(0,0,0,.75); outline: none;
}
.case__shot {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--bg-soft); border-bottom: 1px solid var(--line);
}
.case__shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: left top;
  display: block; transition: transform .35s ease;
}
.case:hover .case__shot img { transform: scale(1.04); }
.case__shot::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,17,22,0) 55%, rgba(14,17,22,.55) 100%);
}
.case__badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 700; color: #fff; letter-spacing: .01em;
  background: rgba(14,17,22,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: 5px 11px;
}
.case__body { display: flex; flex-direction: column; flex: 1; }
.case__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 0; }
.case__niche { font-size: 13.5px; color: var(--muted); }
.case__dur { flex: none; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft-bg); border: 1px solid rgba(25,195,125,.25); border-radius: 100px; padding: 4px 10px; }
.case__nums { display: flex; gap: 22px; padding: 12px 16px 16px; }
.case__nums b { font-family: var(--display); font-weight: 800; font-size: 20px; display: block; color: var(--text); letter-spacing: -0.01em; }
.case__nums span { font-size: 12px; color: var(--muted-2); }
.case__open {
  margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 6px; transition: gap .2s;
}
.case:hover .case__open { gap: 10px; }

/* Кейс: попап */
.casebox { position: fixed; inset: 0; z-index: 90; display: none; }
.casebox.is-open { display: block; }
.casebox__backdrop { position: absolute; inset: 0; background: rgba(6,8,11,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: cbFade .2s ease; }
.casebox__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 20px;
  overflow: hidden; box-shadow: 0 40px 120px -30px rgba(0,0,0,.85); animation: cbRise .24s ease;
}
.casebox__scroll { max-height: calc(100dvh - 48px); overflow-y: auto; padding: 30px clamp(20px, 4vw, 38px) 30px; }
.casebox__close {
  position: absolute; right: 14px; top: 14px; z-index: 4; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(14,17,22,.6); border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.casebox__close:hover { background: rgba(255,255,255,.1); }
.casebox__close svg { width: 20px; height: 20px; }
.casebox__tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft-bg); border: 1px solid rgba(25,195,125,.25); border-radius: 100px; padding: 5px 12px; margin-bottom: 14px; }
.casebox__title { font-family: var(--display); font-weight: 800; font-size: clamp(20px, 3.4vw, 26px); line-height: 1.18; letter-spacing: -0.01em; margin: 0 40px 16px 0; }
.casebox__nums { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.casebox__nums .cb-num { flex: 1 1 auto; min-width: 130px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.casebox__nums .cb-num b { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--text); }
.casebox__nums .cb-num span { font-size: 12px; color: var(--muted-2); }
.casebox__text p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.casebox__fig { margin: 18px 0 0; }
.casebox__fig img { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.casebox__fig figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted-2); text-align: center; }
.casebox__foot { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; }
.casebox__note { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
@keyframes cbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cbRise { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@media (prefers-reduced-motion: reduce) { .casebox__backdrop, .casebox__panel { animation: none; } }

.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.carousel__btn {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.carousel__btn:hover { background: rgba(255,255,255,0.08); }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); border: none; cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.carousel__dot.is-active { background: var(--accent); width: 22px; border-radius: 4px; }

/* Экран 5: FAQ */
.faq__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: 96px; }
.faq__aside .h2 { margin-bottom: 16px; }
.faq__aside-text { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0 0 22px; max-width: 34ch; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: none; border: none; cursor: pointer; padding: 24px 0; text-align: left; color: var(--text); font-family: var(--display); font-weight: 700; font-size: clamp(17px, 2vw, 20px); transition: color .2s; }
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item.is-open .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__a-inner { overflow: hidden; }
.faq__a p { margin: 0 0 24px; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 70ch; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Экран 6: Кто мы */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 10px 0 clamp(44px, 5vw, 68px); }
.stat { padding-left: 22px; border-left: 2px solid rgba(25,195,125,.5); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 26ch; line-height: 1.4; }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why__item h3 { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 0 0 8px; color: var(--text); position: relative; padding-left: 26px; }
.why__item h3::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.why__item p { margin: 0; padding-left: 26px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* Финальный CTA */
.final__card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 28px;
  background: linear-gradient(180deg, var(--surface), var(--bg-soft));
  padding: clamp(44px, 6vw, 84px) clamp(24px, 5vw, 64px); text-align: center;
}
.final__card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(700px 320px at 50% -10%, rgba(25,195,125,0.18), transparent 65%); }
.final__card > * { position: relative; z-index: 1; }
.final__h { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 auto 16px; max-width: 18ch; }
.final__sub { color: var(--muted); font-size: clamp(16px, 1.9vw, 19px); max-width: 52ch; margin: 0 auto 30px; line-height: 1.5; }
.final__card .write { display: inline-block; }
.final__trust { margin: 22px 0 0; font-size: 13.5px; color: var(--muted); }
.final__check { color: var(--accent); font-weight: 800; margin-right: 4px; }

/* Футер */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 76px) 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer__brand .brand { margin-bottom: 14px; }
.footer__tag { color: var(--muted-2); font-size: 14px; max-width: 34ch; margin: 0; line-height: 1.5; }
.footer__col h4 { font-family: var(--display); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); margin: 0 0 14px; }
.footer__col a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__consent { margin: clamp(24px, 3vw, 36px) 0 0; font-size: 11.5px; color: var(--muted-2); line-height: 1.5; opacity: .8; max-width: 74ch; }
.footer__consent a { color: var(--muted-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line-2); }
.footer__consent a:hover { color: var(--accent); text-decoration-color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

/* ---------- Анимации / интерактив ---------- */
/* Появление секций по скроллу */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
/* Появление блоков (только при JS) */
.js .hero__copy > *, .js .hero__visual { opacity: 0; transform: translateY(18px); }
.js.loaded .hero__copy > *, .js.loaded .hero__visual {
  opacity: 1; transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.js.loaded .hero__copy > *:nth-child(1) { transition-delay: .05s; }
.js.loaded .hero__copy > *:nth-child(2) { transition-delay: .12s; }
.js.loaded .hero__copy > *:nth-child(3) { transition-delay: .19s; }
.js.loaded .hero__copy > *:nth-child(4) { transition-delay: .26s; }
.js.loaded .hero__copy > *:nth-child(5) { transition-delay: .33s; }
.js.loaded .hero__copy > *:nth-child(6) { transition-delay: .40s; }
.js.loaded .hero__visual { transition-delay: .28s; }

/* Дрейф орбов */
.orb--green { animation: drift1 22s ease-in-out infinite; }
.orb--blue  { animation: drift2 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px,24px); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(28px,-22px); } }

/* Свечение CTA */
.cta .btn--primary { animation: ctaglow 2.8s ease-in-out infinite; }
@keyframes ctaglow {
  0%,100% { box-shadow: 0 10px 30px -10px rgba(25,195,125,.5); }
  50%     { box-shadow: 0 12px 40px -8px rgba(25,195,125,.85); }
}

/* Индикатор скролла */
.scrolldown { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; z-index: 5; }
.scrolldown__mouse {
  width: 26px; height: 42px; border: 2px solid var(--line-2); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 7px;
}
.scrolldown__dot { width: 4px; height: 8px; border-radius: 4px; background: var(--accent); animation: scrollwheel 1.7s ease-in-out infinite; }
@keyframes scrollwheel {
  0%   { opacity: 0; transform: translateY(-3px); }
  30%  { opacity: 1; }
  70%  { opacity: 1; transform: translateY(9px); }
  100% { opacity: 0; transform: translateY(9px); }
}

/* Живой toast «+1 заказ» */
.livetoast {
  position: absolute; bottom: 72px; right: 14px; z-index: 6;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(18,23,31,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 9px 14px;
  font-size: 13.5px; font-weight: 600; color: var(--text);
  box-shadow: 0 18px 40px -14px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(-8px) scale(.96); pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.livetoast.show { opacity: 1; transform: translateY(0) scale(1); }
.livetoast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-bg); flex: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .hero { padding: 48px 0 120px; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .subhead { max-width: none; }
  .hero__visual { order: 2; perspective: none; }
  .cab, .shot, .showcase { transform: none !important; }
  .tagbadge { position: static; transform: none; margin: 0 0 12px; }
  .float { position: static; transform: none; display: inline-flex; align-items: baseline; gap: 8px; margin: 12px 10px 0 0; box-shadow: none; }
  .float__label { margin: 0; }
  .hero__copy { order: 1; max-width: none; }
  .cta .btn--primary { width: 100%; }
  .cta .write--center { width: 100%; }
  .scrolldown, .livetoast { display: none; }
  .partner__grid { grid-template-columns: 1fr; gap: 32px; }
  .partner__cta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .partner__cta .write--center { width: 100%; }
  .partner__cta .write__btn { width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step:not(:last-child)::after { display: none; }
  .case { flex: 0 0 84%; }
  .faq__grid { grid-template-columns: 1fr; gap: 28px; }
  .faq__aside { position: static; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .why { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .nav__inner { height: 60px; }
  .brand__name { font-size: 15px; }
  .why { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .btn__pre { display: none; }
  .nav__cta { gap: 8px; }
  .contrast { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .orb, .grid-glow, .cab, .shot, .showcase { transform: none !important; }
  .js .hero__copy > *, .js .hero__visual { opacity: 1 !important; transform: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
