/* ==========================================================================
   Лаборатория Роста — bottlenecklab.ru
   Стили в фирменной гамме презентации (кремовый / near-black / оливка / терракота)
   ========================================================================== */

:root {
  /* Бренд-палитра (общая для светлых и тёмных секций) */
  --cream:        #f4efe4;
  --cream-2:      #efe9dc;
  --ink:          #1e1b16;
  --ink-2:        #262119;

  --terra:        #b8542e;
  --terra-2:      #c46236;
  --terra-soft:   rgba(184, 84, 46, 0.12);

  --olive:        #57632a;
  --olive-2:      #6b7638;
  --olive-3:      #97a06a;
  --olive-badge:  #59642a;

  --radius:       14px;
  --radius-sm:    10px;
  --maxw:         1180px;
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
}

/* Светлая «дорожка» */
.lane-light {
  --bg:     var(--cream);
  --fg:     #211d17;
  --muted:  #8a8578;
  --line:   #dcd6c7;
  --card:   #efe9dc;
  --card-2: #ebe4d5;
  --dot:    #c6bfad;
}
/* Тёмная «дорожка» */
.lane-dark {
  --bg:     var(--ink);
  --fg:     #f3eee3;
  --muted:  #a29c8e;
  --line:   #38332b;
  --card:   #262119;
  --card-2: #2b261d;
  --dot:    #5b544799;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* --------------------------------------------------------------------------
   Секции / дорожки
   -------------------------------------------------------------------------- */
.lane { background: var(--bg); color: var(--fg); }
.section { padding: 104px 0; position: relative; }
.section--tight { padding: 76px 0; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 20px;
}
.eyebrow--terra { color: var(--terra); }

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

.section-title {
  font-size: clamp(30px, 4.4vw, 48px);
  margin-bottom: 16px;
  max-width: 22ch;
}
.section-lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--muted);
  max-width: 68ch;
  font-weight: 500;
}
.section-head { margin-bottom: 54px; }

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
  padding: 14px 26px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terra); color: #fbf3ea; }
.btn--primary:hover { background: var(--terra-2); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--terra); color: var(--terra); }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* --------------------------------------------------------------------------
   Навигация
   -------------------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 239, 228, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e0dacb;
}
.nav__inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 16px; letter-spacing: 0.02em; color: #211d17; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--terra); display: grid; place-items: center; color: #fbf3ea; flex-shrink: 0;
}
.brand__mark svg { width: 17px; height: 17px; }

.nav__links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav__links a { font-size: 15px; font-weight: 600; color: #5f5a4f; transition: color .2s ease; }
.nav__links a:hover { color: #211d17; }
.nav__links .is-cta { color: var(--terra); font-weight: 700; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; color: #211d17; }
.nav__burger svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 96px 0 78px; }
.hero__inner { max-width: 960px; }
.hero__inner h1 {
  font-size: clamp(38px, 6.6vw, 76px);
  line-height: 1.04;
  margin-bottom: 30px;
  letter-spacing: -0.03em;
}
.hero__inner h1 .accent { color: var(--terra); }
@media (max-width: 680px) { .hero__inner h1 .brk { display: none; } }
.hero__sub { font-size: clamp(17px, 2.2vw, 22px); color: var(--muted); max-width: 54ch; margin-bottom: 34px; font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__guarantee { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.hero__guarantee svg { width: 18px; height: 18px; color: var(--olive); }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 68px; padding-top: 44px; border-top: 1px solid var(--line);
}
.hstat__num { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.hstat__num .accent { color: var(--terra); }
.hstat__num .accent-olive { color: var(--olive); }
.hstat__label { font-size: 14.5px; color: var(--muted); margin-top: 6px; font-weight: 500; }
.hero__domain { margin-top: 40px; font-size: 15px; color: #9a9486; font-weight: 600; letter-spacing: 0.01em; }

/* --------------------------------------------------------------------------
   Карточка-«окно» (фирменный приём презентации)
   -------------------------------------------------------------------------- */
.win { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.win__head { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.win__dots { display: flex; gap: 5px; }
.win__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.win__label { font-size: 14px; color: var(--muted); font-weight: 600; }
.win__body { padding: 26px; }

/* Инвертированная (кремовая) «окно»-карточка на тёмной дорожке */
.win--cream { background: var(--cream); border-color: #d9d3c4; color: #211d17; }
.win--cream .win__head { border-color: #d9d3c4; }
.win--cream .win__label { color: #8a8578; }
.win--cream .win__dots i { background: #c6bfad; }

/* --------------------------------------------------------------------------
   Маркированные списки
   -------------------------------------------------------------------------- */
.blist { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.blist li { position: relative; padding-left: 22px; font-size: 16px; color: var(--fg); }
.blist li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.blist--muted li { color: var(--muted); }
.win--cream .blist li { color: #33302a; }

/* Список-«тире» (em-dash) */
.dlist { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.dlist li { position: relative; padding-left: 26px; font-size: 16px; color: var(--fg); }
.dlist li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--terra); font-weight: 700; }

/* --------------------------------------------------------------------------
   Сетки
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   Проблема — цветная воронка
   -------------------------------------------------------------------------- */
.funnel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.funnel__bars { display: flex; flex-direction: column; gap: 12px; }
.fbar {
  border-radius: 8px; padding: 18px 22px; color: #f4efe4; font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: space-between;
}
.fbar span { font-size: 14px; opacity: .85; font-variant-numeric: tabular-nums; }
.fbar--1 { width: 100%;  background: #4a5320; }
.fbar--2 { width: 82%;   background: #67703b; }
.fbar--3 { width: 64%;   background: #97a06a; color:#20220f; }
.fbar--4 { width: 46%;   background: var(--terra); }

.painlist { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.painlist li { display: flex; gap: 15px; align-items: center; font-size: 17px; color: var(--fg); font-weight: 500; }
.painlist .pic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--terra); color: var(--terra); display: grid; place-items: center; flex-shrink: 0; }
.painlist svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Стоимость для бизнеса — восходящий ряд с иконками
   -------------------------------------------------------------------------- */
.cost-para { font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; max-width: 24ch; margin-bottom: 68px; line-height: 1.18; }
.cost-para .hl { color: var(--olive-3); }

.cost-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cost-item { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; flex: 1; min-width: 130px; }
.cost-ico { width: 54px; height: 54px; border-radius: 10px; border: 1px solid var(--line); color: var(--fg); display: grid; place-items: center; }
.cost-ico svg { width: 24px; height: 24px; }
.cost-ico--final { background: var(--terra); border-color: var(--terra); color: #fbf3ea; }
.cost-label { font-size: 15px; color: var(--muted); }
.cost-val { font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; }
.cost-item--final .cost-val { color: var(--terra); }
.cost-arrow { color: #6f685a; display: grid; place-items: center; padding-bottom: 46px; flex: 0 0 auto; }
.cost-arrow svg { width: 40px; height: 20px; }

/* --------------------------------------------------------------------------
   Почему отчёты не дают ответа — 12% + факторы
   -------------------------------------------------------------------------- */
.reports { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: stretch; }
.reports__arrow { display: none; }
.big-pct { font-size: clamp(72px, 12vw, 128px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 24px 0; }
.big-pct-top { font-size: 18px; color: var(--muted); font-weight: 600; }
.big-pct-hr { height: 1px; background: var(--line); margin: 8px 0 18px; }
.big-pct-note { font-size: 15px; color: var(--muted); }
.factor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.factor {
  grid-column: span 1; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; font-size: 16px; font-weight: 600; background: var(--card-2);
}
.factor.is-wide { grid-column: span 2; }
.minibars { display: flex; align-items: flex-end; gap: 3px; height: 22px; flex-shrink: 0; }
.minibars i { width: 5px; border-radius: 1px; background: var(--olive-2); }
.minibars i:last-child { background: var(--terra); }

/* --------------------------------------------------------------------------
   Кому подходит — карточки-окна с иконками
   -------------------------------------------------------------------------- */
.aud-icon { width: 40px; height: 40px; color: var(--fg); margin-bottom: 22px; }
.aud-icon svg { width: 40px; height: 40px; stroke-width: 1.6; }
.win__body h3 { font-size: 22px; margin-bottom: 12px; }
.aud-sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.aud-hr { height: 1px; background: var(--line); margin-bottom: 20px; }

.req-strip { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.req-strip .lbl { color: var(--terra); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; }
.chip { padding: 11px 20px; border: 1px solid var(--line); border-radius: 100px; font-size: 15px; font-weight: 600; color: var(--fg); }

/* --------------------------------------------------------------------------
   Схема источников данных
   -------------------------------------------------------------------------- */
.schema { display: grid; grid-template-columns: 1fr auto auto auto 1fr; gap: 26px; align-items: center; }
.schema__col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.src {
  display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 9px;
  padding: 15px 18px; font-size: 16px; font-weight: 600; color: var(--fg);
}
.src svg { width: 20px; height: 20px; stroke-width: 1.7; flex-shrink: 0; color: var(--fg); }
.src--dashed { grid-column: span 2; justify-content: center; border-style: dashed; color: var(--muted); font-weight: 500; }
.schema__hub {
  width: 148px; height: 148px; border-radius: 50%; background: var(--olive); color: #f4efe4;
  display: grid; place-items: center; text-align: center; gap: 6px; padding: 10px;
}
.schema__hub svg { width: 30px; height: 30px; margin: 0 auto 6px; }
.schema__hub b { font-weight: 800; font-size: 18px; }
.schema__out { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.out {
  border: 1px solid var(--terra); border-radius: 10px; padding: 22px 20px; min-height: 96px;
  display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 700; color: var(--fg);
}
.out svg { width: 20px; height: 20px; color: var(--terra); stroke-width: 1.8; flex-shrink: 0; }
.schema__arrow { color: var(--fg); display: grid; place-items: center; }
.schema__arrow svg { width: 44px; height: 22px; }
.schema__arrow--terra { color: var(--terra); }

/* --------------------------------------------------------------------------
   Как находим утечки — нумерованные шаги + пунктирные стрелки
   -------------------------------------------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stepc {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--card);
}
.stepc--final { border-color: var(--terra); }
.stepc--label { border-style: dashed; display: flex; flex-direction: column; justify-content: center; gap: 16px; background: transparent; }
.step-badge { width: 38px; height: 38px; border-radius: 50%; background: var(--olive); color: #f4efe4; font-weight: 800; font-size: 16px; display: grid; place-items: center; margin-bottom: 20px; }
.stepc--final .step-badge { background: var(--terra); }
.stepc p { font-size: 15.5px; color: var(--fg); font-weight: 500; }
.stepc--label .wrench { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); display: grid; place-items: center; }
.stepc--label .wrench svg { width: 20px; height: 20px; }
.stepc--label p { color: var(--muted); }
/* пунктирный коннектор между шагами */
.stepc:not(.stepc--label)::after {
  content: ""; position: absolute; top: 42px; right: -20px; width: 20px; height: 0;
  border-top: 2px dashed var(--terra); opacity: .5;
}
.stepc:nth-child(4)::after, .stepc:nth-child(8)::after { display: none; }

/* --------------------------------------------------------------------------
   Где теряются деньги — сегмент → контекст → потери
   -------------------------------------------------------------------------- */
.leaks-head { display: grid; grid-template-columns: 1fr 40px 1fr 40px 200px; gap: 18px; margin-bottom: 14px; }
.leaks-head span { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.leaks-head .col-loss { color: var(--terra); }
.leak-row { display: grid; grid-template-columns: 1fr 40px 1fr 40px 200px; gap: 18px; align-items: stretch; margin-bottom: 14px; }
.leak-cell { border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; display: flex; align-items: center; font-size: 16.5px; font-weight: 600; background: var(--card); }
.leak-arrow { display: grid; place-items: center; color: var(--muted); }
.leak-arrow svg { width: 26px; height: 16px; }
.leak-arrow--terra { color: var(--terra); }
.leak-loss { border: 1px solid var(--terra); border-radius: 10px; display: grid; place-items: center; font-size: clamp(18px, 2.2vw, 24px); font-weight: 800; color: var(--terra); }

/* --------------------------------------------------------------------------
   Что получите — превью + чеклист
   -------------------------------------------------------------------------- */
.deliver { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
/* подводка к циклу — акцентный оранжевый, служит связкой между частями блока */
.cycle-lead { color: var(--terra); font-weight: 700; margin: 52px 0 30px; }
.preview-chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-bottom: 24px; }
.preview-chart i { width: 34px; border-radius: 3px; }
.skel { height: 12px; border-radius: 6px; background: var(--line); margin-bottom: 10px; }
.pill-ok { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; padding: 11px 18px; border: 1px solid var(--olive); border-radius: 100px; color: var(--olive); font-weight: 700; font-size: 14px; }
.pill-ok svg { width: 16px; height: 16px; }
.checklist { display: flex; flex-direction: column; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px; font-size: 15px; font-weight: 600; background: var(--card-2); }
.check-row svg { width: 18px; height: 18px; color: var(--olive); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Гарантия
   -------------------------------------------------------------------------- */
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; border: 1px solid var(--line); border-radius: 22px; padding: 56px; background: var(--card); }
.guarantee__big { font-size: clamp(80px, 13vw, 150px); font-weight: 800; color: var(--olive); letter-spacing: -0.04em; line-height: 1; }
.guarantee h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.guarantee p { color: var(--muted); font-size: 17px; max-width: 62ch; font-weight: 500; }
.guarantee__points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.guarantee__points span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 100px; background: var(--terra-soft); color: var(--terra); }

/* --------------------------------------------------------------------------
   Цикл после первого месяца
   -------------------------------------------------------------------------- */
.cycle { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cycle .win__body { text-align: center; }
.cycle-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--olive); color: #f4efe4; font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; }
.cycle .win:last-child .cycle-badge { background: var(--terra); }
.cycle h4 { font-size: 18px; margin-bottom: 10px; }
.cycle p { font-size: 14.5px; color: var(--muted); }
.cycle-loop { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 34px; color: var(--terra); font-weight: 700; font-size: 15px; }
.cycle-loop svg { width: 30px; height: 30px; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Агенты
   -------------------------------------------------------------------------- */
.agent-ico { width: 34px; height: 34px; color: var(--terra); margin-bottom: 22px; }
.agent-ico svg { width: 34px; height: 34px; }
.agentc h3 { font-size: 21px; margin-bottom: 14px; }
.agentc p { color: var(--muted); font-size: 15.5px; font-weight: 500; }

/* --------------------------------------------------------------------------
   План 3 месяца
   -------------------------------------------------------------------------- */
.plan-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--olive); color: #f4efe4; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.win:first-child .plan-badge { background: var(--terra); }
.plan-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.plan-head h4 { font-size: 20px; }
.plan-hr { height: 1px; background: var(--line); margin-bottom: 20px; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.plan-list li { font-size: 15.5px; color: var(--fg); font-weight: 500; }

/* --------------------------------------------------------------------------
   До / после
   -------------------------------------------------------------------------- */
.beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; }
.ba-tag { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; }
.ba-tag svg { width: 20px; height: 20px; }
.ba-tag--now { color: var(--muted); }
.ba-tag--after { color: var(--olive); }
.ba-mid { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ba-mid svg { width: 46px; height: 22px; color: var(--fg); }
.ba-pill { padding: 12px 22px; border: 1px solid var(--terra); border-radius: 8px; color: var(--terra); font-weight: 800; font-size: 17px; }

/* --------------------------------------------------------------------------
   Что потребуется от вас
   -------------------------------------------------------------------------- */
.req-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reqc { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--card); }
.reqc--final { border-color: var(--terra); }
.req-ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); color: var(--muted); display: grid; place-items: center; margin-bottom: 22px; }
.reqc--final .req-ico { border-color: var(--terra); color: var(--terra); }
.req-ico svg { width: 22px; height: 22px; stroke-width: 1.7; }
.reqc h4 { font-size: 19px; margin-bottom: 10px; }
.reqc p { color: var(--muted); font-size: 15px; font-weight: 500; }
.req-note { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15.5px; font-weight: 500; }

/* --------------------------------------------------------------------------
   Кейс
   -------------------------------------------------------------------------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.case__big { font-size: clamp(52px, 8vw, 88px); font-weight: 800; color: var(--terra); letter-spacing: -0.03em; line-height: 1; }
.case__cap { color: var(--muted); font-size: 16px; margin: 16px 0 40px; max-width: 40ch; font-weight: 500; }
.chart-title { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.barchart { display: flex; align-items: flex-end; gap: 14px; height: 264px; }
.barcol { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.barcol .bval { font-size: 14px; font-weight: 800; margin-bottom: 7px; }
.barcol .bar { width: 100%; background: var(--terra); border-radius: 4px 4px 0 0; min-height: 6px; flex: 0 0 auto; }
.barcol .bx { font-size: 13px; color: var(--muted); margin-top: 10px; }
.chart-note { color: var(--muted); font-size: 14.5px; margin-top: 22px; max-width: 44ch; }

.case-table { display: flex; flex-direction: column; }
.case-tr { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.case-tr .k { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.case-tr .k.hl { color: var(--terra); }
.case-tr .v { font-size: 15.5px; color: var(--fg); font-weight: 500; }
.case-tr .v b { font-weight: 800; }
.case-now { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 22px; border: 1px solid var(--terra); border-radius: 10px; margin-top: 18px; align-items: center; }
.case-now .k { color: var(--terra); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 13px; }
.case-now .v { font-size: 15.5px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Альтернативы (таблица)
   -------------------------------------------------------------------------- */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 22px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: 15px; font-weight: 700; color: var(--fg); vertical-align: middle; }
.compare thead th:first-child, .compare tbody td:first-child { text-align: left; }
.compare thead th:first-child { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.compare tbody td:first-child { font-weight: 600; color: var(--fg); font-size: 16px; }
.compare .is-us { color: var(--terra); border-left: 1px solid var(--terra); border-right: 1px solid var(--terra); }
.compare thead .is-us { border-top: 1px solid var(--terra); border-radius: 8px 8px 0 0; }
.compare tbody tr:last-child .is-us { border-bottom: 1px solid var(--terra); }
.compare .yes { color: var(--olive); font-weight: 800; }
.compare .is-us .yes { color: var(--terra); }
.compare .no { color: #b8b1a0; }

/* --------------------------------------------------------------------------
   Эксперты
   -------------------------------------------------------------------------- */
.experts { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.expert { display: flex; gap: 24px; align-items: flex-start; }
.expert__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; filter: grayscale(1); flex-shrink: 0; border: 1px solid var(--line); }
.expert h3 { font-size: 22px; margin-bottom: 8px; }
.expert p { font-size: 15.5px; color: var(--muted); font-weight: 500; }
.expert__links { display: flex; gap: 16px; margin-top: 14px; }
.expert__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--olive); font-weight: 700; }
.expert__links a:hover { color: var(--terra); }
.expert__links svg { width: 16px; height: 16px; }

.clients { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.clients .lbl { color: var(--olive); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; display: block; margin-bottom: 20px; }
.clients__row { display: flex; flex-wrap: wrap; gap: 14px; }
.clients__row span { padding: 12px 22px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 700; color: var(--fg); }

/* --------------------------------------------------------------------------
   Следующий шаг (CTA)
   -------------------------------------------------------------------------- */
.nextstep { max-width: 760px; }
.nextstep h2 { font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 26px; }
.nextstep p { font-size: clamp(18px, 2.4vw, 24px); color: var(--fg); font-weight: 500; margin-bottom: 30px; line-height: 1.35; }
.nextstep .blist { margin-bottom: 40px; }
.nextstep .blist li { font-size: 17px; color: var(--muted); padding-left: 24px; }
.nextstep .blist li::before { top: 11px; }

/* --------------------------------------------------------------------------
   Закрывающая секция / footer
   -------------------------------------------------------------------------- */
.closing { text-align: center; padding: 120px 0 90px; }
.closing .eyebrow { color: var(--terra); }
.closing__domain { font-size: clamp(40px, 7vw, 76px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 34px; }
.closing__links { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.closing__links a { font-size: 17px; color: var(--muted); font-weight: 600; }
.closing__links a:hover { color: var(--fg); }
.closing__links a.blog { color: var(--terra); font-weight: 700; }
.closing__links a.blog:hover { color: var(--terra-2); }

.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { font-size: 14.5px; color: var(--muted); font-weight: 600; }
.footer__links a:hover { color: var(--fg); }
.footer__copy { font-size: 13.5px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Объединённый блок: Hero + Проблема
   -------------------------------------------------------------------------- */
.problem-block { padding: 44px 0 100px; }

/* фраза, выделенная цветным блоком (выровнена по левому краю) */
.problem-head { display: flex; justify-content: flex-start; margin-bottom: 48px; }
.problem-badge {
  display: inline-block; text-align: left;
  font-size: clamp(24px, 3.6vw, 40px); font-weight: 800; letter-spacing: -0.02em;
  color: #fbf3ea; background: var(--terra);
  padding: 20px 40px; border-radius: 16px; max-width: 22ch; line-height: 1.15;
  box-shadow: 0 18px 40px -16px rgba(184, 84, 46, 0.55);
}

/* воронка под фразой + подсветка при наведении */
.funnel--under { max-width: none; margin: 0; }
.funnel--under .fbar { transition: transform .2s ease, box-shadow .28s ease, filter .28s ease; cursor: default; }
.funnel--under .fbar:hover { transform: translateX(6px) scale(1.012); filter: brightness(1.08) saturate(1.06); box-shadow: 0 12px 36px -8px var(--glow, rgba(0,0,0,0.35)); }
.fbar--1 { --glow: rgba(74, 83, 32, 0.6); }
.fbar--2 { --glow: rgba(103, 112, 59, 0.6); }
.fbar--3 { --glow: rgba(151, 160, 106, 0.75); }
.fbar--4 { --glow: rgba(184, 84, 46, 0.6); }

/* --------------------------------------------------------------------------
   Схема данных — «Анализ» под иконкой (стек)
   -------------------------------------------------------------------------- */
.schema__hub-inner { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.schema__hub-inner svg { display: block; }
.schema__hub-inner b { display: block; font-weight: 800; font-size: 18px; }

/* --------------------------------------------------------------------------
   С какими данными мы работаем (скриншоты)
   -------------------------------------------------------------------------- */
.data-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.data-shot img { width: 100%; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 22px 50px -24px rgba(0,0,0,0.35); }
.data-shot__tag { display: inline-block; margin-top: 20px; padding: 9px 16px; border-radius: 8px; background: var(--olive); color: #f4efe4; font-weight: 700; font-size: 15px; }
.data-shot p { margin-top: 14px; color: var(--muted); font-size: 16px; font-weight: 500; max-width: 46ch; }

/* --------------------------------------------------------------------------
   Что именно мы изучаем (чат / письма / звонок)
   -------------------------------------------------------------------------- */
.study-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.study-card { border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; background: var(--card); min-height: 440px; }
.study-body { padding: 22px; flex: 1; }
.study-foot { padding: 16px 22px; border-top: 1px solid var(--line); color: var(--terra); font-size: 14.5px; font-weight: 600; }

/* чат */
.chat-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.chat-ava { width: 38px; height: 38px; border-radius: 50%; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; color: var(--muted); }
.chat-head b { font-size: 15.5px; display: block; }
.chat-head span { font-size: 13px; color: var(--muted); }
.bubbles { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 15px; line-height: 1.4; }
.bubble.in { align-self: flex-start; border: 1px solid var(--line); color: var(--fg); }
.bubble.out { align-self: flex-end; }
.bubble.out.olive { background: var(--olive); color: #f4efe4; }
.bubble.out.terra { border: 1px solid var(--terra); color: var(--fg); }
/* сводная плашка на всю ширину карточки, текст — оранжевый */
.bubble--full { align-self: stretch; max-width: 100%; width: 100%; box-sizing: border-box; text-align: center; color: var(--terra); font-weight: 600; }

/* письма */
.mails { display: flex; flex-direction: column; }
.mail { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mail:last-child { border-bottom: none; }
.mail__top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mail__top b { font-size: 15px; }
.mail__top span { font-size: 13px; color: var(--muted); }
.mail__sub { font-size: 14px; color: var(--muted); margin-top: 3px; }
.mail.is-alert { border-left: 3px solid var(--terra); padding-left: 14px; }
.mail.is-alert b { color: var(--terra); }
.mail.is-alert .mail__sub { color: var(--fg); }
.mails-head { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; }
.mails-head span:last-child { color: var(--muted); }

/* звонок */
.call-head { display: flex; justify-content: space-between; font-size: 15.5px; margin-bottom: 18px; }
.call-head b { font-weight: 700; }
.call-head span { color: var(--muted); }
.wave { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.wave__play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--fg); }
.wave__play svg { width: 14px; height: 14px; }
.wave__bars { display: flex; align-items: center; gap: 4px; height: 30px; }
.wave__bars i { width: 6px; border-radius: 2px; background: #8a8578; }
.wave__bars i.hot { background: var(--terra); }
.call-line { display: flex; gap: 12px; font-size: 14.5px; margin-bottom: 10px; }
.call-line time { color: var(--muted); font-variant-numeric: tabular-nums; }
.call-line.hot { color: var(--terra); }

/* --------------------------------------------------------------------------
   Как это выглядит в CRM (мокапы интерфейса)
   -------------------------------------------------------------------------- */
.crm-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: stretch; }
.crm-grid > * { min-width: 0; }
/* левая ячейка тянется на всю высоту, mock заполняет остаток,
   подпись «112 просроченных задач» уезжает вниз к уровню правой колонки */
.crm-grid > .crm-cell { display: flex; flex-direction: column; height: 100%; }
.crm-grid > .crm-cell > .mock { flex: 1 1 auto; }
.crm-col { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.mock { min-width: 0; }
.task .tname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock { background: var(--cream); border: 1px solid #d9d3c4; border-radius: 12px; overflow: hidden; color: #211d17; }
.mock__bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-bottom: 1px solid #e2dccd; font-size: 13.5px; color: #6b6659; }
.mock__bar .rd { width: 10px; height: 10px; border-radius: 50%; background: #d9d3c4; }
.mock__badge { margin-left: auto; background: #e5484d; color: #fff; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 100px; }
.task { display: flex; align-items: center; gap: 12px; padding: 12.5px 16px; border-bottom: 1px solid #ece6d8; font-size: 14.5px; }
.task:last-child { border-bottom: none; }
.task .warn { color: #d1651f; flex-shrink: 0; display: grid; }
.task .warn svg { width: 16px; height: 16px; }
.task .tname { color: #33302a; flex: 1; }
.task .tdate { color: #8a8578; font-size: 13px; white-space: nowrap; width: 54px; text-align: right; flex-shrink: 0; }
.task .over { width: 92px; text-align: center; box-sizing: border-box; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px; flex-shrink: 0; }
.task .over.soft { background: #ef8c3b; }
.mail-mock { padding: 16px; font-size: 13px; color: #33302a; line-height: 1.5; }
.mail-mock .from { font-weight: 700; margin-bottom: 6px; font-size: 13.5px; }
.mail-mock .hlg { background: rgba(184,84,46,0.14); border: 1px solid rgba(184,84,46,0.4); border-radius: 5px; padding: 2px 5px; display: inline-block; margin: 4px 0; }
.miss { display: flex; align-items: center; gap: 12px; margin: 10px 16px; padding: 11px 14px; background: #fff; border: 1px solid rgba(184,84,46,0.45); border-radius: 10px; font-size: 13.5px; }
.miss svg { width: 18px; height: 18px; color: #e5484d; flex-shrink: 0; }
.miss time { margin-left: auto; color: #8a8578; font-size: 12.5px; }
.crm-cap__tag { display: inline-block; margin-top: 4px; padding: 7px 13px; border-radius: 7px; background: var(--terra); color: #fbf3ea; font-weight: 700; font-size: 14px; }
.crm-cap p { margin-top: 12px; font-size: 16px; }
.crm-cap p b { font-weight: 800; }

/* --------------------------------------------------------------------------
   Как это выглядит на практике (поток окон)
   -------------------------------------------------------------------------- */
.practice { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.practice .win { display: flex; flex-direction: column; min-width: 0; }
.practice .win__body { flex: 1; padding: 22px; min-width: 0; }
.code { max-width: 100%; }
.win--accent { border-color: var(--terra); }
.pr-arrow { display: grid; place-items: center; color: var(--terra); }
.pr-arrow svg { width: 30px; height: 16px; }
.pr-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.pr-table th { text-align: left; color: var(--muted); font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
.pr-table td { padding: 11px 6px; border-bottom: 1px solid var(--line); }
.pr-table tr:last-child td { border-bottom: none; }
.pr-table tr.hot td { background: var(--terra-soft); color: var(--terra); font-weight: 600; }
.pr-foot { color: var(--muted); font-size: 14px; margin-top: 16px; }
.code { font-family: var(--mono); font-size: 13.5px; line-height: 1.7; color: var(--fg); white-space: pre; overflow-x: auto; }
.code .ln { color: var(--muted); user-select: none; display: inline-block; width: 1.4em; }
.code .hl { background: var(--terra-soft); color: var(--terra); border-radius: 3px; }
.code .k { color: var(--olive); }
.nb-cell { background: var(--card-2); border-left: 3px solid var(--olive); border-radius: 4px; padding: 12px 14px; font-family: var(--mono); font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.nb-out { font-family: var(--mono); font-size: 13.5px; line-height: 1.7; }
.nb-out .terra { color: var(--terra); }
.nb-out .olive { color: var(--olive); }
.nb-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 16px; }
.nb-bars i { flex: 1; border-radius: 3px 3px 0 0; background: var(--olive-3); }
.nb-bars i.hot { background: var(--terra); }
.nb-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   Анимации и hover-эффекты
   -------------------------------------------------------------------------- */

/* Цикл: непрерывно вращающаяся круговая стрелка */
.cycle-loop__spin { width: 30px; height: 30px; transform-origin: 50% 50%; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Цикл: карточки приподнимаются при наведении */
.cycle .win { transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease; }
.cycle .win:hover { transform: translateY(-8px); box-shadow: 0 20px 44px -18px rgba(0,0,0,0.28); }

/* Универсальное появление: «выпадание» сверху со сдвигом по очереди */
.reveal-drop > * { opacity: 0; transform: translateY(-26px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.9,.32,1.2); }
.reveal-drop.is-in > * { opacity: 1; transform: none; }
/* Универсальное появление: выезд слева направо по очереди */
.reveal-left > * { opacity: 0; transform: translateX(-40px); transition: opacity .55s ease, transform .55s cubic-bezier(.22,.9,.32,1.2); }
.reveal-left.is-in > * { opacity: 1; transform: none; }
/* Ступенчатые задержки (до 6 элементов) */
.reveal-drop.is-in > *:nth-child(1), .reveal-left.is-in > *:nth-child(1) { transition-delay: .05s; }
.reveal-drop.is-in > *:nth-child(2), .reveal-left.is-in > *:nth-child(2) { transition-delay: .17s; }
.reveal-drop.is-in > *:nth-child(3), .reveal-left.is-in > *:nth-child(3) { transition-delay: .29s; }
.reveal-drop.is-in > *:nth-child(4), .reveal-left.is-in > *:nth-child(4) { transition-delay: .41s; }
.reveal-drop.is-in > *:nth-child(5), .reveal-left.is-in > *:nth-child(5) { transition-delay: .53s; }
.reveal-drop.is-in > *:nth-child(6), .reveal-left.is-in > *:nth-child(6) { transition-delay: .65s; }

/* Крупная цифра «пульсирует» при первом появлении блока */
.num-pulse { transform-origin: left center; display: inline-block; }
.num-pulse.is-in { animation: num-pulse 1s ease-in-out 0.1s 1 both; }
@keyframes num-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

/* Мы подключаемся к каждому этапу: карточки приподнимаются при наведении */
.lift-cards .win { transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease; }
.lift-cards .win:hover { transform: translateY(-8px); box-shadow: 0 20px 44px -18px rgba(0,0,0,0.16); border-color: #cdc6b5; }

/* Как находим утечки: карточки шагов приподнимаются при наведении */
.steps-grid .stepc:not(.stepc--label) { transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease; }
.steps-grid .stepc:not(.stepc--label):hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(0,0,0,0.18); border-color: #cdc6b5; }

/* План на 3 месяца: карточки чуть приподнимаются при наведении */
.plan-cards .win { transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease; }
.plan-cards .win:hover { transform: translateY(-8px); box-shadow: 0 20px 44px -18px rgba(0,0,0,0.22); border-color: #cdc6b5; }

/* Что потребуется: лёгкое выделение карточки при наведении */
.reqc { transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease, background .25s ease; }
.reqc:hover { transform: translateY(-4px); border-color: var(--terra); background: var(--card-2); box-shadow: 0 16px 38px -18px rgba(184,84,46,0.35); }
.reqc:hover .req-ico { border-color: var(--terra); color: var(--terra); }

/* Кейс: плавно-градиентные столбцы + подсветка при наведении */
.barcol .bar { background: linear-gradient(180deg, #d0703f 0%, #b8542e 55%, #a5461f 100%); transition: filter .25s ease, box-shadow .25s ease, transform .2s ease; }
.barcol:hover .bar { filter: brightness(1.09) saturate(1.08); box-shadow: 0 0 26px -2px rgba(184,84,46,0.75); transform: scaleY(1.02); transform-origin: bottom; }

@media (prefers-reduced-motion: reduce) {
  .cycle-loop__spin { animation: none; }
  .reveal-drop > *, .reveal-left > * { opacity: 1; transform: none; transition: none; }
  .num-pulse.is-in { animation: none; }
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .study-grid { grid-template-columns: 1fr; }
  .practice { grid-template-columns: 1fr; }
  .practice .pr-arrow { transform: rotate(90deg); }
  .crm-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stepc::after { display: none !important; }
  .cycle { grid-template-columns: repeat(2, 1fr); }
  .req-grid, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .schema { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .schema__col, .schema__out { width: 100%; max-width: 440px; }
  .schema__arrow { transform: rotate(90deg); }
}
@media (max-width: 860px) {
  .funnel, .reports, .deliver, .case, .beforeafter, .data-screens { grid-template-columns: 1fr; gap: 34px; }
  .problem-badge { padding: 18px 24px; }
  .beforeafter .ba-mid { flex-direction: row; }
  .guarantee { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .guarantee__points { justify-content: center; }
  .experts { grid-template-columns: 1fr; }
  .leaks-head { display: none; }
  .leak-row { grid-template-columns: 1fr; gap: 10px; }
  .leak-arrow { transform: rotate(90deg); }
}
@media (max-width: 680px) {
  .section { padding: 68px 0; }
  .nav__links { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .nav__actions .btn--ghost { display: none; }
  .grid-3, .grid-4, .req-grid, .cycle, .steps-grid, .factor-grid { grid-template-columns: 1fr; }
  .factor.is-wide { grid-column: span 1; }
  .hero__stats { grid-template-columns: 1fr; gap: 20px; }
  .cost-row { flex-direction: column; align-items: stretch; }
  .cost-arrow { transform: rotate(90deg); padding: 4px 0; }
  .cost-item { flex-direction: row; justify-content: flex-start; text-align: left; }

  .nav__links.is-open {
    display: flex; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 16px 28px 24px; background: var(--cream); border-bottom: 1px solid #e0dacb;
  }
  .nav__links.is-open a { padding: 11px 0; width: 100%; font-size: 17px; }
}
