/* ============================================================
   ОЛИВКА — Фулфилмент для маркетплейсов
   Дизайн-система и компоненты. Чистый CSS, без зависимостей.
   ============================================================ */

/* ---------- Шрифт (самохостинг, Manrope variable) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215;
}

/* ---------- Токены ---------- */
:root {
  /* Бренд: олива / графит / чёрный */
  --olive:        #5c7a29;
  --olive-deep:   #45611d;
  --olive-bright: #8fb339;
  --olive-soft:   #eef2e2;
  --olive-tint:   #f3f6ea;
  --graphite:     #1e232a;
  --graphite-2:   #272d35;
  --ink:          #15181c;
  --bg:           #f7f8f2;
  --surface:      #ffffff;
  --muted:        #5f6b62;
  --muted-2:      #8a9389;
  --line:         #e6e9df;
  --line-dark:    rgba(255,255,255,.12);
  --amber:        #e8a33d;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(21,24,28,.06), 0 2px 8px rgba(21,24,28,.05);
  --shadow:    0 4px 14px rgba(21,24,28,.08), 0 12px 36px rgba(21,24,28,.07);
  --shadow-lg: 0 18px 48px rgba(30,35,42,.16);

  --container: 1200px;
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PT Sans', Arial, sans-serif;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--olive-bright); outline-offset: 2px; border-radius: 4px; }

/* ---------- Сетка / секции ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--graphite); color: #eef0ec; }
.section--olive { background: var(--olive-tint); }
.section--surface { background: var(--surface); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--olive-bright); border-radius: 2px; }
.section--dark .eyebrow { color: var(--olive-bright); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2.title { font-size: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.section--dark .section-head p { color: #b9c0b6; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 12px; border: 1.5px solid transparent;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn--primary { background: var(--olive); color: #fff; box-shadow: 0 8px 22px rgba(92,122,41,.32); }
.btn--primary:hover { background: var(--olive-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(92,122,41,.4); }
.btn--accent { background: var(--olive-bright); color: #1f2a09; box-shadow: 0 8px 22px rgba(143,179,57,.36); }
.btn--accent:hover { background: #9dc043; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--olive); color: var(--olive); background: var(--olive-tint); }
.btn--light { background: #fff; color: var(--graphite); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 32px; font-size: 17px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,242,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.header.scrolled { background: rgba(255,255,255,.92); box-shadow: 0 6px 24px rgba(21,24,28,.07); border-color: var(--line); }
.header__bar { display: flex; align-items: center; gap: 28px; height: var(--header-h); transition: height .3s; }
.header.scrolled .header__bar { height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__logo { width: 42px; height: 42px; }
.brand__name { font-weight: 800; font-size: 21px; letter-spacing: -.02em; line-height: 1; }
.brand__name span { color: var(--olive); }
.brand__tag { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  padding: 9px 14px; border-radius: 9px; font-size: 15.5px; font-weight: 600; color: #353c41;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--olive-soft); color: var(--olive-deep); }
.nav a.active { color: var(--olive-deep); }

.header__actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header__phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header__phone b { font-size: 16.5px; font-weight: 800; letter-spacing: -.01em; }
.header__phone span { font-size: 12px; color: var(--muted); font-weight: 600; }
.header .btn { padding: 11px 20px; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 11px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; background: var(--surface); z-index: 99;
  padding: 24px; transform: translateX(100%); transition: transform .3s var(--ease);
  overflow-y: auto; display: flex; flex-direction: column; gap: 6px;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu a { padding: 15px 14px; border-radius: 12px; font-size: 18px; font-weight: 700; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin-top: 14px; }
.mobile-menu__phone { margin-top: auto; padding-top: 20px; font-size: 22px; font-weight: 800; }

/* ---------- Hero (split: текст + фото-коллаж) ---------- */
.hero { position: relative; overflow: hidden; background: var(--graphite); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 620px at 86% 6%, rgba(143,179,57,.20), transparent 60%),
    radial-gradient(900px 520px at 6% 96%, rgba(92,122,41,.26), transparent 55%),
    linear-gradient(158deg, #222831 0%, #161a20 100%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding: 70px 0 76px; }
.hero__content { max-width: 600px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 100px;
  background: rgba(143,179,57,.16); border: 1px solid rgba(143,179,57,.35); color: #cfe39a;
  font-size: 13.5px; font-weight: 700; margin-bottom: 24px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive-bright); box-shadow: 0 0 0 4px rgba(143,179,57,.25); }
.hero h1 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--olive-bright); }
.hero__sub { margin: 22px 0 6px; font-size: clamp(16.5px, 1.5vw, 19px); color: #c8cfc6; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hero__chip { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #d4dacd; }
.hero__chip svg { width: 19px; height: 19px; color: var(--olive-bright); flex-shrink: 0; }

/* коллаж */
.hero__media { position: relative; min-height: 470px; }
.hero__media-main { position: relative; width: 80%; margin-left: auto; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14); }
.hero__media-main img { width: 100%; height: 100%; object-fit: cover; }
.hero__media-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,18,20,.45)); }
.hero__media-sub { position: absolute; left: 0; bottom: 30px; width: 44%; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; }
.hero__media-sub img { width: 100%; height: 100%; object-fit: cover; }
.hero__float {
  position: absolute; top: 26px; left: 4px; z-index: 2; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.94); color: var(--ink); border-radius: 14px; padding: 13px 18px; box-shadow: var(--shadow-lg);
}
.hero__float .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--olive-soft); color: var(--olive-deep); display: grid; place-items: center; flex-shrink: 0; }
.hero__float .ic svg { width: 22px; height: 22px; }
.hero__float b { display: block; font-size: 15px; font-weight: 800; line-height: 1.1; }
.hero__float span { font-size: 12.5px; color: var(--muted); }

@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 56px; }
  .hero__content { max-width: 640px; }
  .hero__media { min-height: 0; max-width: 440px; }
  .hero__media-main { width: 78%; }
}
@media (max-width: 680px) {
  .hero__media-sub { bottom: 16px; width: 46%; }
  .hero__float { padding: 10px 14px; top: 16px; }
  .hero__float .ic { width: 34px; height: 34px; }
}
@media (max-width: 420px) {
  .hero__media-sub { display: none; }
  .hero__media-main { width: 100%; }
}

/* плашка статистики поверх стыка hero */
.stat-strip { background: var(--olive); color: #fff; }
.stat-strip__grid { display: grid; grid-template-columns: repeat(5,1fr); }
.stat-strip__item { padding: 22px 18px; text-align: center; border-right: 1px solid rgba(255,255,255,.16); }
.stat-strip__item:last-child { border-right: none; }
.stat-strip__num { font-size: clamp(24px,3vw,34px); font-weight: 800; letter-spacing: -.02em; }
.stat-strip__label { font-size: 13.5px; color: #e6f0d4; margin-top: 2px; }

/* ---------- Карточки сегментов «Для кого» ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.seg-card {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s;
  overflow: hidden;
}
.seg-card::before { content:""; position:absolute; left:0; top:0; right:0; height:4px; background: linear-gradient(90deg,var(--olive),var(--olive-bright)); transform: scaleX(0); transform-origin:left; transition: transform .25s var(--ease); }
.seg-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.seg-card:hover::before { transform: scaleX(1); }
.seg-card__ic { width: 52px; height: 52px; border-radius: 14px; background: var(--olive-soft); color: var(--olive-deep); display: grid; place-items: center; margin-bottom: 18px; }
.seg-card__ic svg { width: 27px; height: 27px; }
.seg-card h3 { font-size: 19px; margin-bottom: 8px; }
.seg-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.seg-card__link { display:inline-flex; align-items:center; gap:6px; margin-top:16px; font-weight:700; font-size:14.5px; color: var(--olive); }
.seg-card__link svg { width: 16px; height: 16px; transition: transform .2s; }
.seg-card:hover .seg-card__link svg { transform: translateX(4px); }

/* ---------- Преимущества ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feat {
  padding: 28px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s var(--ease), box-shadow .2s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat__ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--olive), var(--olive-deep)); color: #fff; box-shadow: 0 8px 20px rgba(92,122,41,.28); }
.feat__ic svg { width: 28px; height: 28px; }
.feat h3 { font-size: 19px; margin-bottom: 9px; }
.feat p { font-size: 15px; color: var(--muted); margin: 0; }
.section--dark .feat { background: var(--graphite-2); border-color: var(--line-dark); }
.section--dark .feat h3 { color: #fff; }
.section--dark .feat p { color: #aab2a6; }

/* ---------- Калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); }
.calc__form { padding: 38px 40px; }
.calc__result { background: var(--graphite); color: #fff; padding: 38px 36px; display: flex; flex-direction: column; }
.calc__field { margin-bottom: 22px; }
.calc__field > label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 10px; color: #2c333a; }
.seg-toggle { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--olive-tint); padding: 5px; border-radius: 12px; }
.seg-toggle input { position: absolute; opacity: 0; }
.seg-toggle label { text-align: center; padding: 10px 6px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--muted); transition: .15s; }
.seg-toggle input:checked + label { background: var(--surface); color: var(--olive-deep); box-shadow: var(--shadow-sm); }
.chip-group { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; }
.chip-check label { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 100px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; transition: .15s; }
.chip-check label::before { content:""; width:15px; height:15px; border-radius:5px; border:1.5px solid var(--muted-2); transition:.15s; }
.chip-check input:checked + label { border-color: var(--olive); background: var(--olive-soft); color: var(--olive-deep); }
.chip-check input:checked + label::before { background: var(--olive); border-color: var(--olive); box-shadow: inset 0 0 0 2px #fff; }
.calc select, .field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; font-size: 15.5px;
  font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.calc select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(92,122,41,.12); }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-row input[type=range] { flex: 1; accent-color: var(--olive); }
.range-val { min-width: 96px; text-align: right; font-weight: 800; font-size: 17px; color: var(--olive-deep); }
.calc__result h3 { font-size: 16px; font-weight: 700; color: #aeb6a8; }
.calc__price { font-size: clamp(34px,5vw,46px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 4px; }
.calc__price span { color: var(--olive-bright); }
.calc__hint { font-size: 13px; color: #9aa295; }
.calc__break { margin: 22px 0; border-top: 1px solid var(--line-dark); padding-top: 18px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.calc__break li { display: flex; justify-content: space-between; font-size: 14.5px; color: #c8cfc6; }
.calc__break li b { font-weight: 700; color: #fff; }
.calc__note { font-size: 12px; color: #828a7d; margin-top: 14px; line-height: 1.5; }

/* ---------- Процесс «Как мы работаем» (реальные фото) ---------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.process-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s; }
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.process-card__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.process-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.process-card:hover .process-card__img img { transform: scale(1.06); }
.process-card__num { position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 10px; background: var(--olive); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.process-card__body { padding: 16px 18px 20px; }
.process-card__body h3 { font-size: 16.5px; margin-bottom: 6px; }
.process-card__body p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Соц. доказательство: логотипы ---------- */
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image: linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); }
.logos__track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__item { font-size: 23px; font-weight: 800; color: #aeb4a6; letter-spacing: -.02em; opacity: .85; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review { padding: 28px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.review__stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.review__text { font-size: 15.5px; color: #333b32; flex: 1; }
.review__person { display: flex; align-items: center; gap: 13px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__ava { width: 46px; height: 46px; border-radius: 50%; background: var(--olive-soft); color: var(--olive-deep); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.review__person b { display: block; font-size: 15px; }
.review__person span { font-size: 13px; color: var(--muted); }

/* ---------- Схемы FBO/FBS/DBS ---------- */
.schemes { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.scheme { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.scheme.is-best { border-color: var(--olive); box-shadow: 0 10px 30px rgba(92,122,41,.14); }
.scheme__tag { position: absolute; top: -12px; left: 28px; background: var(--olive); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 100px; }
.scheme h3 { font-size: 26px; color: var(--olive-deep); }
.scheme__desc { font-size: 14.5px; color: var(--muted); margin: 8px 0 18px; }
.scheme ul { display: flex; flex-direction: column; gap: 11px; }
.scheme li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.scheme li svg { width: 19px; height: 19px; color: var(--olive); flex-shrink: 0; margin-top: 1px; }
.scheme__for { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.scheme__for b { color: var(--ink); }

/* ---------- CTA + форма ---------- */
.cta-band { background: var(--graphite); color: #fff; border-radius: var(--radius-lg); padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); }
.cta-band__left { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.cta-band__left h2 { font-size: clamp(26px,3.2vw,38px); }
.cta-band__left p { margin-top: 16px; color: #b9c0b6; font-size: 17px; }
.cta-band__contacts { margin-top: 28px; display: flex; flex-direction: column; gap: 13px; }
.cta-band__contacts a { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.cta-band__contacts svg { width: 20px; height: 20px; color: var(--olive-bright); }
.cta-band__form { background: var(--surface); color: var(--ink); padding: 40px 44px; }

/* ---------- Формы ---------- */
.field { margin-bottom: 16px; }
.field label.lbl { display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 7px; color: #2c333a; }
.field .req { color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #d9534f; box-shadow: 0 0 0 4px rgba(217,83,79,.1); }
.field .err { display: none; color: #c0392b; font-size: 12.5px; margin-top: 6px; }
.field.has-error .err { display: block; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin: 6px 0 18px; }
.consent input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--olive); flex-shrink: 0; }
.consent label { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.consent a { color: var(--olive-deep); text-decoration: underline; }
.consent.has-error label { color: #c0392b; }
.form-note { font-size: 12px; color: var(--muted-2); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c2c9bd; padding: 64px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #fff; }
.footer .brand__name span { color: var(--olive-bright); }
.footer__about { margin: 18px 0 20px; font-size: 14.5px; color: #969d90; max-width: 320px; }
.footer__soc { display: flex; gap: 10px; }
.footer__soc a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .15s; }
.footer__soc a:hover { background: var(--olive); }
.footer__soc svg { width: 20px; height: 20px; color: #fff; }
.footer__col h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; font-size: 14.5px; color: #9aa193; margin-bottom: 11px; transition: color .15s; }
.footer__col a:hover { color: var(--olive-bright); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: #777e72; }
.footer__bottom a { color: #9aa193; text-decoration: underline; }

/* ---------- Хлебные крошки ---------- */
.crumbs { background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; font-size: 13.5px; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.crumbs li a:hover { color: var(--olive); }
.crumbs li[aria-current] { color: var(--ink); font-weight: 600; }
.crumbs svg { width: 14px; height: 14px; color: var(--muted-2); }

/* ---------- Подзаголовок страницы ---------- */
.page-hero { background: var(--olive-tint); padding: 50px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(30px,4.4vw,48px); }
.page-hero p { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 680px; }

/* ---------- Услуги: модули ---------- */
.svc-module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 36px 30px; margin-bottom: 28px; }
.svc-module__head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.svc-module__ic { width: 56px; height: 56px; border-radius: 15px; background: var(--olive-soft); color: var(--olive-deep); display: grid; place-items: center; flex-shrink: 0; }
.svc-module__ic svg { width: 28px; height: 28px; }
.svc-module__head h2 { font-size: 25px; }
.svc-module__head p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.svc-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 22px; transition: .2s var(--ease); display: flex; flex-direction: column; }
.svc-card:hover { border-color: var(--olive); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.svc-card__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--olive-tint); color: var(--olive); display: grid; place-items: center; margin-bottom: 14px; }
.svc-card__ic svg { width: 23px; height: 23px; }
.svc-card h3 { font-size: 17px; margin-bottom: 7px; }
.svc-card p { font-size: 14px; color: var(--muted); margin: 0 0 16px; flex: 1; }
.svc-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-card__more { font-weight: 700; font-size: 14px; color: var(--olive); display: inline-flex; align-items: center; gap: 5px; }
.svc-card__more svg { width: 15px; height: 15px; }
.btn--xs { padding: 9px 16px; font-size: 14px; border-radius: 9px; }

/* фильтры */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip { padding: 9px 18px; border-radius: 100px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--muted); transition: .15s; }
.filter-chip.active, .filter-chip:hover { border-color: var(--olive); color: var(--olive-deep); background: var(--olive-soft); }

/* ---------- Таблицы (тарифы / сравнение) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
table.tbl th, table.tbl td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
table.tbl thead th { background: var(--olive-tint); font-weight: 800; color: var(--ink); font-size: 14px; }
table.tbl tbody tr:last-child td { border-bottom: none; }
table.tbl td:not(:first-child), table.tbl th:not(:first-child) { text-align: center; }
table.tbl .yes { color: var(--olive); font-weight: 800; }
table.tbl .no { color: var(--muted-2); }
table.tbl .price { font-weight: 800; color: var(--olive-deep); white-space: nowrap; }

/* прайс-категории */
.price-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-card__head { display: flex; align-items: center; gap: 14px; padding: 22px 26px; background: var(--olive-tint); border-bottom: 1px solid var(--line); }
.price-card__head .svc-card__ic { margin: 0; }
.price-card__head h3 { font-size: 20px; }
.price-card ul { padding: 14px 26px 22px; }
.price-card li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.price-card li:last-child { border-bottom: none; }
.price-card li span { color: #353c41; }
.price-card li b { color: var(--olive-deep); font-weight: 800; white-space: nowrap; }
.badge-free { display: inline-flex; align-items: center; gap: 8px; background: var(--olive-soft); color: var(--olive-deep); font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 100px; }

/* примеры расчёта */
.case-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; text-align: center; }
.case-card__ic { width: 54px; height: 54px; border-radius: 50%; background: var(--olive-tint); color: var(--olive-deep); display: grid; place-items: center; margin: 0 auto 14px; }
.case-card h3 { font-size: 17px; }
.case-card__price { font-size: 26px; font-weight: 800; color: var(--olive-deep); margin: 12px 0 2px; }
.case-card__price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.case-card p { font-size: 13px; color: var(--muted); margin: 0; }

/* факторы стоимости */
.factor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.factor { display: flex; gap: 16px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.factor__ic { width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(135deg,var(--olive),var(--olive-deep)); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.factor__ic svg { width: 24px; height: 24px; }
.factor h3 { font-size: 17px; margin-bottom: 6px; }
.factor p { font-size: 14px; color: var(--muted); margin: 0; }

/* ---------- Контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px; }
.contact-item { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--olive-soft); color: var(--olive-deep); display: grid; place-items: center; flex-shrink: 0; }
.contact-item__ic svg { width: 23px; height: 23px; }
.contact-item h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; font-weight: 700; }
.contact-item a, .contact-item p { font-size: 17px; font-weight: 700; margin: 0; color: var(--ink); }
.contact-item .sub { font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--olive-tint); min-height: 320px; display: grid; place-items: center; text-align: center; padding: 30px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.requisites { background: var(--graphite); color: #e7eadf; border-radius: var(--radius); padding: 30px 32px; }
.requisites h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.req-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-size: 14.5px; }
.req-row:last-of-type { border-bottom: none; }
.req-row span { color: #9aa193; } .req-row b { color: #fff; font-weight: 700; }
.copy-btn { background: rgba(255,255,255,.08); border: 1px solid var(--line-dark); color: #fff; border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 7px; align-items: center; transition: .15s; }
.copy-btn:hover { background: var(--olive); border-color: var(--olive); }
.copy-btn svg { width: 15px; height: 15px; }

/* ---------- Аккордеон (FAQ / чек-листы) ---------- */
.acc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.acc__head { width: 100%; text-align: left; background: none; border: none; padding: 20px 24px; font-size: 16.5px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--ink); }
.acc__head svg { width: 22px; height: 22px; color: var(--olive); flex-shrink: 0; transition: transform .25s; }
.acc.open .acc__head svg { transform: rotate(45deg); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.acc__body-inner { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Cookie / модалка ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 560px; margin: 0 auto;
  background: var(--graphite); color: #e7eadf; border-radius: 16px; padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 18px; transform: translateY(160%); transition: transform .4s var(--ease);
}
.cookie.show { transform: translateY(0); }
.cookie p { margin: 0; font-size: 13.5px; color: #c2c9bd; flex: 1; }
.cookie a { color: var(--olive-bright); text-decoration: underline; }
.cookie .btn { padding: 11px 20px; font-size: 14px; }

.modal { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 20px; }
.modal.show { display: grid; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,18,20,.6); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 44px 40px; max-width: 460px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.92) translateY(10px); } }
.modal__ic { width: 78px; height: 78px; border-radius: 50%; background: var(--olive-soft); color: var(--olive); display: grid; place-items: center; margin: 0 auto 22px; }
.modal__ic svg { width: 40px; height: 40px; }
.modal__box h3 { font-size: 26px; margin-bottom: 12px; }
.modal__box p { color: var(--muted); font-size: 16px; }
.modal__close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 10px; border: none; background: var(--bg); color: var(--ink); font-size: 20px; }
.modal__close:hover { background: var(--line); }

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .logos__track { animation: none; }
}

/* ---------- Утилиты ---------- */
.mt-cta { margin-top: 40px; }
.text-center { text-align: center; }
.lead-list { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.lead-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; }
.lead-list svg { width: 22px; height: 22px; color: var(--olive); flex-shrink: 0; margin-top: 1px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; margin: 36px 0 14px; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose p, .prose li { color: #3a4138; font-size: 15.5px; }
.prose ul { padding-left: 20px; list-style: disc; margin: 0 0 16px; }
.prose ul li { margin-bottom: 8px; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1080px) {
  .feat-grid, .reviews, .schemes, .factor-grid, .svc-grid { grid-template-columns: repeat(2,1fr); }
  .seg-grid { grid-template-columns: repeat(2,1fr); }
  .case-grid { grid-template-columns: repeat(2,1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 920px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__actions .btn:not(.burger) { display: none; }
  .calc { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__left { padding: 40px 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .container { padding: 0 18px; }
  .stat-strip__grid { grid-template-columns: repeat(2,1fr); }
  .stat-strip__item:nth-child(2) { border-right: none; }
  .stat-strip__item:nth-child(5) { grid-column: 1 / -1; border-right: none; border-top: 1px solid rgba(255,255,255,.16); }
  .seg-grid, .feat-grid, .reviews, .schemes, .factor-grid, .svc-grid, .case-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .calc__form, .calc__result, .cta-band__form { padding: 28px 22px; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 420px) {
  .footer__top { grid-template-columns: 1fr; }
  .seg-toggle { grid-auto-flow: row; grid-auto-columns: auto; }
}
