/* =====================================================================
   PandaExpress — дизайн-токены
   Все цвета, размеры и отступы сайта задаются здесь.
   ===================================================================== */
:root {
  /* Поверхности: от самой глубокой к самой приподнятой */
  --c-bg: #121212;          /* основной фон */
  --c-bg-2: #181818;        /* дополнительный фон, чередование секций */
  --c-surface: #1f1f1f;     /* интерактивные поверхности, поля */
  --c-raised: #252525;      /* приподнятые карточки, hover */
  --c-alt: #272727;         /* альтернативные поверхности */
  --c-black: #000;

  /* Текст */
  --c-text: #ffffff;
  --c-text-2: #b3b3b3;      /* вторичный */
  --c-text-3: #cbcbcb;      /* светлый дополнительный */
  --c-text-dim: #8a8a8a;    /* подписи, служебное (контраст ≥ 4.5 на #121212) */

  /* Акцент и состояния */
  --c-green: #1ed760;
  --c-green-hover: #3be477;
  --c-green-border: #1db954;
  --c-green-ink: #04140a;   /* текст на зелёном */
  --c-green-soft: rgba(30, 215, 96, .12);
  --c-error: #f3727f;
  --c-warn: #ffa42b;
  --c-info: #539df5;

  /* Границы */
  --c-line: #2a2a2a;
  --c-border: #4d4d4d;
  --c-border-strong: #7c7c7c;

  /* Затемнение поверх фотографий */
  --shade-bottom: linear-gradient(180deg, rgba(18,18,18,0) 0%, rgba(18,18,18,.55) 55%, #121212 100%);
  --shade-left: linear-gradient(90deg, rgba(18,18,18,.92) 0%, rgba(18,18,18,.6) 45%, rgba(18,18,18,0) 80%);
  --shade-full: linear-gradient(180deg, rgba(18,18,18,.35) 0%, rgba(18,18,18,.65) 100%);

  /* Типографика */
  --font: 'Onest', 'Circular', 'Helvetica Neue', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;

  --fs-display: clamp(2.75rem, 1.2rem + 6.4vw, 7rem);    /* главная, hero */
  --fs-hero: clamp(2.25rem, 1.3rem + 3.8vw, 4.5rem);     /* hero разделов */
  --fs-h1: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);          /* H1 внутренних страниц */
  --fs-h1-article: clamp(1.875rem, 1.45rem + 1.7vw, 2.75rem);
  --fs-h2: clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem);
  --fs-h3: clamp(1.1875rem, 1.1rem + .35vw, 1.4375rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-prose: 1.0625rem;
  --fs-sm: .875rem;
  --fs-xs: .75rem;

  --lh-tight: 1.04;
  --lh-head: 1.12;
  --lh-body: 1.6;
  --track-tight: -.035em;
  --track-head: -.02em;
  --track-caps: .1em;

  /* Отступы: шаг 8 px */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 40px; --s-8: 48px; --s-9: 64px; --s-10: 80px;
  --s-11: 96px; --s-12: 128px;
  --section-y: clamp(64px, 5vw + 40px, 128px);
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1360px;
  --wrap-text: 760px;

  /* Скругления */
  --r-xs: 4px;     /* мелкие элементы */
  --r-sm: 6px;     /* обложки внутри карточек */
  --r-md: 8px;     /* карточки и контейнеры */
  --r-lg: 16px;    /* крупные панели */
  --r-xl: 20px;
  --r-pill: 9999px;

  /* Тени — только для приподнятых слоёв */
  --shadow-pop: 0 16px 24px rgba(0,0,0,.3), 0 6px 8px rgba(0,0,0,.2);
  --shadow-modal: 0 24px 64px rgba(0,0,0,.6);

  /* Движение */
  --ease: cubic-bezier(.3, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: .15s;
  --t: .25s;

  --header-h: 72px;
  --tint: #1f3d2b;   /* цвет «шапки» страницы, задаётся на странице */
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
}

/* =====================================================================
   База: сброс, типографика, контейнеры, утилиты
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul[class], ol[class] { list-style: none; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--c-green); color: var(--c-green-ink); }

:focus-visible {
  outline: 2px solid var(--c-text);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* ---------- Заголовки ---------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-weight: 800;
  line-height: var(--lh-head);
  letter-spacing: var(--track-head);
  text-wrap: balance;
}
h1, .h1 { font-size: var(--fs-h1); letter-spacing: var(--track-tight); }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.01em; }
h4, .h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; }

.display { font-size: var(--fs-display); line-height: .98; letter-spacing: -.045em; font-weight: 800; }
.hero-title { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--track-tight); font-weight: 800; }

p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-text-3); max-width: 62ch; }
.muted { color: var(--c-text-2); }
.dim { color: var(--c-text-dim); }
.small { font-size: var(--fs-sm); }
.accent { color: var(--c-green); }
/* Ключевые слова в тексте — зелёным. На зелёных плашках акцент наследует цвет плашки */
main :is(p, li, dd, td, blockquote, figcaption) strong { color: var(--c-green); }
:is(.btn, .panel--green, .tier.is-best, .contact-card--main, .tag--solid) :is(.accent, strong) { color: inherit; }
strong, b { font-weight: 700; }

/* Надзаголовок секции */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--c-text-2);
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; border-radius: 2px;
  background: var(--c-green);
}
.eyebrow--plain::before { display: none; }

/* ---------- Контейнеры и секции ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(var(--wrap-text) + 2 * var(--gutter)); }
.wrap--wide { max-width: 1680px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 4vw + 24px, 80px); }
.section--alt { background: var(--c-bg-2); }
.section--flush-top { padding-top: 0; }
.section:not(.section--alt) + .section:not(.section--alt) { padding-top: 0; }
.section--alt + .section--alt { padding-top: 0; }
[hidden] { display: none !important; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-5); margin-bottom: var(--s-7); flex-wrap: wrap;
}
.section-head > div { max-width: 760px; }
.section-head h2 { margin-top: var(--s-3); }
.section-head p { margin-top: var(--s-3); color: var(--c-text-2); font-size: var(--fs-lead); line-height: 1.55; }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }

/* Сетки */
.grid { display: grid; gap: var(--s-4); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.grid-auto-lg { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

/* Утилиты */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); } .mt-9 { margin-top: var(--s-9); } .mt-10 { margin-top: var(--s-10); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); }
.hide-mobile { }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .only-mobile { display: none !important; } }

/* Пропуск навигации */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 2000;
  background: var(--c-green); color: var(--c-green-ink);
  padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* Плавное появление (отключается при prefers-reduced-motion) */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ---------- Появление при прокрутке (атрибуты ставит pe.js; без JS ничего не скрыто) ---------- */
.rv-ready [data-rv] {
  opacity: 0;
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1.15s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--rv-d, 0s);
}
.rv-ready [data-rv="up"] { transform: translateY(60px); }
.rv-ready [data-rv="zoom"] { transform: scale(.9) translateY(30px); }
.rv-ready [data-rv].is-in { opacity: 1; transform: none; }
/* фоновые фото больших блоков мягко «оседают» */
.rv-ready [data-rv-scene] .scene__media .ph__img { transform: scale(1.16); transition: transform 2.2s cubic-bezier(.22, 1, .36, 1); }
.rv-ready [data-rv-scene].is-in .scene__media .ph__img { transform: none; }
/* «Уменьшить движение» в системе: без сдвигов и зума — только мягкое проявление */
@media (prefers-reduced-motion: reduce) {
  .rv-ready [data-rv] { transform: none !important; transition: opacity .8s ease !important; transition-delay: var(--rv-d, 0s) !important; }
  .rv-ready [data-rv-scene] .scene__media .ph__img { transform: none !important; transition: none !important; }
}

/* =====================================================================
   Компоненты
   ===================================================================== */

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--c-surface); --btn-fg: var(--c-text); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--r-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  text-align: center; white-space: nowrap;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: scale(1.04); }
.btn:active { transform: scale(.98); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { --btn-bg: var(--c-green); --btn-fg: var(--c-green-ink); }
.btn--primary:hover { --btn-bg: var(--c-green-hover); }
.btn--light { --btn-bg: #fff; --btn-fg: #000; }
.btn--light:hover { --btn-bg: #f0f0f0; }
.btn--outline { --btn-bg: transparent; --btn-bd: var(--c-border-strong); }
.btn--outline:hover { --btn-bd: #fff; }
.btn--ghost { --btn-bg: transparent; padding-inline: 16px; color: var(--c-text-2); }
.btn--ghost:hover { color: #fff; transform: none; }
.btn--lg { min-height: 56px; padding: 16px 36px; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .9375rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-surface); color: var(--c-text);
  transition: background-color var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { background: var(--c-alt); transform: scale(1.06); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

/* Ссылка «Подробнее →» */
.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: var(--fs-sm); color: var(--c-text-2);
  transition: color var(--t-fast);
}
.link-more:hover { color: #fff; }
.link-more svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.link-more:hover svg { transform: translateX(3px); }

.text-link { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-border-strong); text-underline-offset: 3px; transition: text-decoration-color var(--t-fast), color var(--t-fast); }
.text-link:hover { color: var(--c-green); text-decoration-color: var(--c-green); }

/* ---------- Чипы и метки ---------- */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 6px 16px; border-radius: var(--r-pill);
  background: var(--c-surface); color: var(--c-text);
  font-size: var(--fs-sm); font-weight: 500;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.chip:hover { background: var(--c-alt); }
.chip.is-active, .chip[aria-current="page"], .chip[aria-pressed="true"] { background: #fff; color: #000; }
.chip__count { color: var(--c-text-dim); font-size: var(--fs-xs); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: var(--r-xs);
  background: var(--c-alt); color: var(--c-text-3);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.tag--green { background: var(--c-green-soft); color: var(--c-green); }
.tag--warn { background: rgba(255,164,43,.14); color: var(--c-warn); }
.tag--info { background: rgba(83,157,245,.14); color: var(--c-info); }
.tag--solid { background: var(--c-green); color: var(--c-green-ink); }

/* Бейдж площадки (буквенный знак) */
.pmark {
  --pm: #2b2b2b;
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--pm); color: #fff;
  font-weight: 800; font-size: 1rem; letter-spacing: -.02em;
}
.pmark--lg { width: 72px; height: 72px; border-radius: var(--r-lg); font-size: 1.375rem; }
.pmark--sm { width: 36px; height: 36px; border-radius: var(--r-sm); font-size: .8125rem; }
.pm-poizon { --pm: #2a2a2a; }
.pm-taobao { --pm: #ff5000; }
.pm-1688 { --pm: #ff7a00; }
.pm-pinduoduo { --pm: #e02e24; }
.pm-goofish { --pm: #ffc400; color: #1a1300; }
.pm-tmall { --pm: #d4001a; }
.pm-jd { --pm: #c9151e; }
.pm-weidian { --pm: #e8382f; }
.pm-alibaba { --pm: #ff6a00; }
.pm-vipshop { --pm: #d5266e; }
.pm-95fen { --pm: #3a3a3a; }
.pm-aliexpress { --pm: #e43225; }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex: none; }
.logo__mark {
  width: 34px; height: 36px; flex: none; background: #fff;
  -webkit-mask: url(/favicon.svg) center / contain no-repeat;
  mask: url(/favicon.svg) center / contain no-repeat;
}
.logo__name { font-weight: 800; font-size: 1.1875rem; letter-spacing: -.03em; line-height: 1; }
.logo__name span { color: var(--c-green); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(18,18,18,.96);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t), border-color var(--t);
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
/* Прозрачная шапка поверх полноэкранной сцены */
.has-overlay-header .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.has-overlay-header .site-header.is-scrolled { background: rgba(18,18,18,.96); }

.site-header__in {
  display: flex; align-items: center; gap: var(--s-4);
  height: var(--header-h);
}
.nav { display: flex; align-items: center; gap: 2px; margin-left: var(--s-5); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .9375rem; color: var(--c-text-2);
  transition: color var(--t-fast), background-color var(--t-fast);
}
.nav__link:hover, .nav__item.is-open > .nav__link, .nav__link[aria-current="page"], .nav__item.is-current > .nav__link { color: #fff; }
.nav__link svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

/* Мега-меню */
.nav__panel {
  position: absolute; top: calc(100% + 8px); left: -8px;
  min-width: 280px; padding: var(--s-2);
  background: #282828; border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility 0s linear var(--t-fast);
}
.nav__item.is-open > .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__panel--mega { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(220px, 1fr)); gap: var(--s-2) var(--s-4); padding: var(--s-4); min-width: 560px; }
.nav__group-title { padding: 8px 12px 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-dim); }
.nav__sub {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-xs);
  font-size: .9375rem; font-weight: 500; color: var(--c-text-3);
}
.nav__sub:hover, .nav__sub[aria-current="page"] { background: rgba(255,255,255,.08); color: #fff; }
.nav__sub small { display: block; color: var(--c-text-dim); font-size: var(--fs-xs); font-weight: 400; }
.nav__sub .pmark { width: 28px; height: 28px; font-size: .6875rem; border-radius: var(--r-xs); }
.nav__all { margin-top: 4px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 4px; grid-column: 1 / -1; }

.header-actions { display: flex; align-items: center; gap: var(--s-2); margin-left: auto; }
.header-actions .btn { min-height: 44px; }
.header-login { color: var(--c-text-2); font-weight: 700; font-size: .9375rem; padding: 10px 14px; transition: color var(--t-fast), transform var(--t-fast); }
.header-login:hover { color: #fff; transform: scale(1.04); }

.burger { display: none; margin-left: auto; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-open { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }

/* Мобильное меню */
.mnav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
  background: var(--c-bg);
  overflow-y: auto; overscroll-behavior: contain;
  padding: var(--s-4) var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t), transform var(--t) var(--ease-out), visibility 0s linear var(--t);
}
.mnav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mnav__group { border-bottom: 1px solid var(--c-line); }
.mnav__toggle, .mnav__link {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 12px 0;
  font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; text-align: left;
}
.mnav__toggle svg, .mnav__link svg { width: 20px; height: 20px; flex: none; color: var(--c-text-2); transition: transform var(--t); }
.mnav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mnav__list { display: none; padding: 0 0 var(--s-4); }
.mnav__toggle[aria-expanded="true"] + .mnav__list { display: grid; gap: 2px; }
.mnav__list a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: var(--r-md); color: var(--c-text-3); font-weight: 500; }
.mnav__list a:hover, .mnav__list a[aria-current="page"] { background: var(--c-surface); color: #fff; }
.mnav__cta { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.menu-open { overflow: hidden; }

/* Верхнее меню остаётся до планшета; на средних экранах пункты компактнее.
   «Три полоски» (мобильное меню) — только уже 860 px */
@media (max-width: 1179px) {
  .nav { margin-left: var(--s-3); }
  .nav__link { padding: 0 10px; font-size: .875rem; }
  .header-login { padding: 10px 8px; font-size: .875rem; }
  .header-actions .btn { padding-inline: 18px; }
}
@media (max-width: 1023px) {
  .site-header__in { gap: var(--s-2); }
  .nav { margin-left: var(--s-2); gap: 0; }
  .nav__link { padding: 0 8px; gap: 4px; }
  .nav__panel--mega { min-width: 0; }
}
@media (max-width: 859px) {
  .nav, .header-actions { display: none; }
  .burger { display: inline-grid; }
}

/* ---------- Хлебные крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: var(--fs-sm); color: var(--c-text-2); }
.crumbs a { color: var(--c-text-2); transition: color var(--t-fast); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--c-border); }
.crumbs [aria-current="page"] { color: var(--c-text-3); }

/* ---------- Карточки ---------- */
.card {
  position: relative; display: flex; flex-direction: column;
  padding: var(--s-5); border-radius: var(--r-md);
  background: var(--c-bg-2);
  transition: background-color var(--t) var(--ease);
}
.card--surface { background: var(--c-surface); }
.card--link:hover, a.card:hover { background: var(--c-raised); }
.card h3 { font-size: 1.1875rem; }
.card p { color: var(--c-text-2); margin-top: var(--s-2); font-size: .9375rem; line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: var(--s-4); display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.card__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-alt); color: var(--c-green); margin-bottom: var(--s-4); }
.card__icon svg { width: 22px; height: 22px; }
.card .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card .play {
  position: absolute; right: 20px; bottom: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-green); color: var(--c-green-ink);
  box-shadow: 0 8px 8px rgba(0,0,0,.3);
  opacity: 0; transform: translateY(8px);
  transition: opacity var(--t), transform var(--t) var(--ease-out);
}
.card .play svg { width: 20px; height: 20px; }
.card:hover .play, .card:focus-within .play { opacity: 1; transform: none; }

/* Медиа-карточка (обложка + подпись) */
.tile { position: relative; display: block; padding: var(--s-3); border-radius: var(--r-md); background: var(--c-bg-2); transition: background-color var(--t); }
.tile:hover { background: var(--c-raised); }
.tile .ph, .tile__img { border-radius: var(--r-sm); }
.tile__title, .tile__sub { display: block; }
.tile__title { margin-top: var(--s-3); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.tile__sub { margin-top: 4px; font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.45; }

/* Карточка категории с подписью поверх изображения */
.cat-card { position: relative; display: block; overflow: hidden; border-radius: var(--r-md); background: var(--c-surface); isolation: isolate; }
.cat-card .ph { border-radius: 0; transition: transform .6s var(--ease-out); }
.cat-card:hover .ph { transform: scale(1.04); }
.cat-card__body { position: absolute; inset: auto 0 0 0; padding: var(--s-5); background: linear-gradient(180deg, transparent, rgba(0,0,0,.78)); z-index: 2; }
.cat-card__title, .cat-card__meta { display: block; }
.cat-card__title { font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.cat-card__meta { margin-top: 4px; font-size: var(--fs-sm); color: var(--c-text-3); }

/* Строка-ссылка (списки подкатегорий) */
.linkrow {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
  min-height: 56px; padding: 12px 16px; border-radius: var(--r-md);
  background: var(--c-bg-2); font-weight: 700;
  transition: background-color var(--t-fast);
}
.linkrow:hover { background: var(--c-raised); }
.linkrow svg { width: 18px; height: 18px; color: var(--c-text-2); flex: none; transition: transform var(--t-fast), color var(--t-fast); }
.linkrow:hover svg { transform: translateX(3px); color: #fff; }
.linkrow small { display: block; font-weight: 400; color: var(--c-text-2); font-size: var(--fs-sm); }

/* ---------- Полки (горизонтальные ряды) ---------- */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--rail-w, minmax(220px, 1fr));
  gap: var(--s-4); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--s-2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: var(--s-2); }
@media (max-width: 767px) { .rail { grid-auto-columns: var(--rail-w-m, 78%); } .rail-nav { display: none; } }

/* ---------- Заглушки изображений ----------
   .ph — контейнер будущей фотографии. Высота задаётся соотношением сторон
   (--ratio) или заполнением родителя (.ph--fill). После замены заглушки на
   <img class="ph__img"> композиция не меняется. */
.ph {
  position: relative; overflow: hidden; width: 100%;
  aspect-ratio: var(--ratio, 16 / 9);
  background-color: #1a1a1a;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.035) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.035) 50%, rgba(255,255,255,.035) 75%, transparent 75%, transparent);
  background-size: 28px 28px;
}
.ph--fill { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.ph.has-image { background: #111; }
.ph__box {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px;
  color: #6f6f6f; text-align: center; padding: var(--s-4);
}
.ph__box svg { width: clamp(28px, 4vw, 44px); height: auto; opacity: .7; }
.ph__label, .ph__size {
  display: none; max-width: 36ch;
  font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: .02em; color: #8f8f8f;
}
.ph__size { position: absolute; right: 10px; bottom: 8px; padding: 2px 6px; border-radius: var(--r-xs); background: rgba(0,0,0,.45); }
.ph__tag { display: none; position: absolute; left: 10px; top: 10px; padding: 2px 6px; border-radius: var(--r-xs); background: var(--c-warn); color: #1a1000; font: 700 10px/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.ph--text-over .ph__box { place-content: start end; justify-items: end; padding: var(--s-5); }
/* Служебные подписи видны только в прототипе */
.is-prototype .ph__label, .is-prototype .ph__size, .is-prototype .ph__tag { display: block; }
.ph--round { border-radius: 50%; }
.ph--tiny .ph__label, .ph--tiny .ph__size, .ph--tiny .ph__tag { display: none !important; }

/* ---------- Полноэкранные сцены ---------- */
.scene { position: relative; isolation: isolate; display: flex; overflow: hidden; background: #0c0c0c; }
.scene__media { position: absolute; inset: 0; z-index: -2; }
.scene__shade { position: absolute; inset: 0; z-index: -1; background: var(--scene-shade, var(--shade-bottom)); pointer-events: none; }
.scene--full { min-height: 100svh; }
.scene--tall { min-height: clamp(560px, 86svh, 940px); }
.scene--band { min-height: clamp(420px, 62svh, 720px); }
.scene--strip { min-height: clamp(320px, 44svh, 520px); }
.scene__content { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-block: calc(var(--header-h) + var(--s-8)) clamp(40px, 6vw, 96px); }
.scene__content--center { justify-content: center; text-align: center; align-items: center; }
.scene--shade-left { --scene-shade: var(--shade-left); }
.scene--shade-full { --scene-shade: var(--shade-full); }
.scene--shade-both { --scene-shade: linear-gradient(180deg, rgba(18,18,18,.15) 0%, rgba(18,18,18,.25) 50%, #121212 100%), linear-gradient(90deg, rgba(18,18,18,.8) 0%, rgba(18,18,18,0) 70%); }
.scene .lead { color: #e2e2e2; }

/* ---------- Шапка внутренней страницы (тонированная) ---------- */
.phead { position: relative; isolation: isolate; padding: var(--s-7) 0 var(--s-8); }
.phead::before { content: ""; position: absolute; inset: 0 0 -120px; z-index: -1; background: linear-gradient(180deg, var(--tint) 0%, color-mix(in srgb, var(--tint) 35%, var(--c-bg)) 45%, var(--c-bg) 100%); }
.phead h1 { margin-top: var(--s-5); max-width: 20ch; }
.phead .lead { margin-top: var(--s-4); }
.phead__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.phead--split .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s-8); align-items: end; }
@media (max-width: 899px) { .phead--split .wrap { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }

/* ---------- Аккордеон (на основе <details>) ---------- */
.acc { border-top: 1px solid var(--c-line); }
.acc__item { border-bottom: 1px solid var(--c-line); }
.acc__q {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.4;
  transition: color var(--t-fast);
}
.acc__q::-webkit-details-marker { display: none; }
.acc__q:hover { color: var(--c-green); }
.acc__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); transition: transform var(--t), background-color var(--t); }
.acc__icon svg { width: 16px; height: 16px; }
.acc__item[open] .acc__icon { transform: rotate(45deg); background: var(--c-green); color: var(--c-green-ink); }
.acc__a { padding: 0 56px 24px 0; color: var(--c-text-2); line-height: 1.65; }
.acc__a p + p { margin-top: var(--s-3); }
.acc__a a { color: var(--c-text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 639px) { .acc__a { padding-right: 0; } .acc__q { font-size: 1rem; padding: 18px 0; } }

/* ---------- Формы ---------- */
.form { display: grid; gap: var(--s-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 639px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field__label { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text-3); }
.field__hint { font-size: var(--fs-xs); color: var(--c-text-dim); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  border-radius: var(--r-md); border: 1px solid transparent;
  background: var(--c-surface); color: #fff; font-size: 1rem;
  box-shadow: inset 0 0 0 1px var(--c-border);
  transition: box-shadow var(--t-fast), background-color var(--t-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--c-text-dim); }
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1px var(--c-border-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; box-shadow: inset 0 0 0 2px #fff; }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--c-error); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23b3b3b3' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.select option { background: var(--c-surface); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--c-text-2); line-height: 1.5; cursor: pointer; }
.check input { appearance: none; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: var(--r-xs); box-shadow: inset 0 0 0 1px var(--c-border-strong); background: var(--c-surface); display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast); }
.check input:checked { background: var(--c-green); box-shadow: none; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--c-green-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.check input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.check a { color: var(--c-text); text-decoration: underline; text-underline-offset: 2px; }

/* Уведомления */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-md);
  background: var(--c-surface); font-size: .9375rem; line-height: 1.5;
  border-left: 3px solid var(--c-info);
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert--success { border-left-color: var(--c-green); } .alert--success svg { color: var(--c-green); }
.alert--error { border-left-color: var(--c-error); } .alert--error svg { color: var(--c-error); }
.alert--warn { border-left-color: var(--c-warn); } .alert--warn svg { color: var(--c-warn); }
.alert--info svg { color: var(--c-info); }
.form-status:empty { display: none; }
.form-status { font-size: .9375rem; }
.form-status.is-success { color: var(--c-green); }
.form-status.is-error { color: var(--c-error); }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: var(--c-bg-2); }
.table { font-size: .9375rem; }
.table th, .table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line); }
.table th { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--c-text-2); }
.table--kv td:first-child { width: 38%; }
.table .num { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
@media (max-width: 639px) {
  .table--stack thead { display: none; }
  .table--stack tr { display: grid; padding: 12px 16px; border-bottom: 1px solid var(--c-line); }
  .table--stack td { padding: 2px 0; border: 0; width: auto !important; }
  .table--stack td[data-label]::before { content: attr(data-label) ": "; color: var(--c-text-dim); }
  .table--stack .num { text-align: left; }
}

/* ---------- Текст статей и документов ---------- */
.prose { font-size: var(--fs-prose); line-height: 1.75; color: var(--c-text-3); max-width: var(--wrap-text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: #fff; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); margin-top: 2.2em; letter-spacing: -.02em; }
.prose h3 { color: #fff; font-size: 1.25rem; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: #fff; text-decoration: underline; text-decoration-color: var(--c-green); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--c-green); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--c-green); }
.prose strong { color: var(--c-green); }
.prose figure { margin-block: 2em; }
.prose figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--c-text-dim); }
.prose blockquote { padding: 4px 0 4px 20px; border-left: 3px solid var(--c-green); color: #fff; font-size: 1.125rem; }
.prose .table-wrap { margin-block: 1.6em; }
.prose--doc { font-size: 1rem; line-height: 1.7; }
.prose--doc h2 { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Оглавление */
.toc { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: var(--s-2); }
.toc__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-dim); margin-bottom: var(--s-3); }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--c-line); font-size: var(--fs-sm); line-height: 1.4; color: var(--c-text-2); transition: color var(--t-fast), border-color var(--t-fast); }
.toc a:hover { color: #fff; }
.toc a.is-active { color: #fff; border-left-color: var(--c-green); }

/* Раскладка «оглавление + текст» */
.doc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
@media (max-width: 1023px) { .doc-layout { grid-template-columns: minmax(0, 1fr); } .doc-layout .toc-col { display: none; } }

/* ---------- Шаги и маршрут ---------- */
.route { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: var(--s-4); counter-reset: step; }
.route::before { content: ""; position: absolute; left: 24px; right: calc((100% - (var(--n) - 1) * var(--s-4)) / var(--n) - 24px); top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--c-green) 0 8px, transparent 8px 16px); opacity: .55; }
.route__step { position: relative; }
.route__dot { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-bg); box-shadow: inset 0 0 0 2px var(--c-green); color: #fff; font-weight: 800; font-size: 1.0625rem; }
.route__step:first-child .route__dot, .route__step.is-hl .route__dot { background: var(--c-green); color: var(--c-green-ink); box-shadow: none; }
.route__step h3 { margin-top: var(--s-5); font-size: 1.125rem; }
.route__step p { margin-top: var(--s-2); color: var(--c-text-2); font-size: .9375rem; line-height: 1.55; }
.route__step a { color: inherit; }
.section--alt .route__dot { background: var(--c-bg-2); }
@media (max-width: 899px) {
  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route::before { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--c-green) 0 8px, transparent 8px 16px); }
  .route__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: var(--s-4); padding-bottom: var(--s-6); }
  .route__step:last-child { padding-bottom: 0; }
  .route__step h3 { margin-top: 10px; }
  .route__step > :not(.route__dot) { grid-column: 2; }
}

/* Маршрут-линия (фирменный элемент): Китай → склад → город */
.lane { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--c-text-2); flex-wrap: wrap; }
.lane__node { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.lane__node::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 3px var(--c-green-soft); }
.lane__line { flex: 1 1 24px; min-width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--c-border-strong) 0 6px, transparent 6px 12px); }

/* ---------- Цифры ---------- */
.stat__value { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat__value span { color: var(--c-green); }
.stat__label { margin-top: var(--s-2); color: var(--c-text-2); font-size: .9375rem; line-height: 1.45; }

/* ---------- Панели ---------- */
.panel { border-radius: var(--r-xl); background: var(--c-bg-2); padding: clamp(24px, 3vw, 48px); }
.panel--surface { background: var(--c-surface); }
.panel--green { background: var(--c-green); color: var(--c-green-ink); }
.panel--green .muted, .panel--green p { color: rgba(4,20,10,.78); }
.panel--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--c-line); }

/* CTA-полоса */
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-6); }
.cta-band h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); }
.cta-band p { margin-top: var(--s-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 767px) { .cta-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Служебные пометки прототипа ---------- */
.dev-note {
  display: none;
  border: 1px dashed rgba(255,164,43,.6); border-radius: var(--r-md);
  background: rgba(255,164,43,.06); color: #ffcf8a;
  padding: 14px 16px; font-size: var(--fs-sm); line-height: 1.55;
}
.dev-note b { color: var(--c-warn); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.is-prototype .dev-note { display: block; }

/* Слот отсутствующего контента (виден всегда: показывает, что текст ещё не написан) */
.content-slot { border-radius: var(--r-md); padding: var(--s-5); background: var(--c-bg-2); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-text-2); }
.content-slot__line { height: 10px; border-radius: 5px; background: var(--c-surface); }
.content-slot__line + .content-slot__line { margin-top: 10px; }
.content-slot__line:nth-child(3n) { width: 72%; }
.content-slot__line:nth-child(3n+2) { width: 90%; }

/* ---------- Диалог ---------- */
.dialog { margin: auto; width: min(960px, calc(100vw - 32px)); border: 0; border-radius: var(--r-lg); background: #181818; color: #fff; box-shadow: var(--shadow-modal); padding: 0; overflow: hidden; }
.dialog::backdrop { background: rgba(0,0,0,.8); }
.dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 12px 12px 12px 20px; }
.dialog__body { position: relative; aspect-ratio: 16 / 9; background: #000; }
.dialog__body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Подвал ---------- */
.site-footer { background: #000; padding: var(--s-10) 0 var(--s-6); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(5, minmax(0, 1fr)); gap: var(--s-6); }
.footer-brand p { margin-top: var(--s-4); color: var(--c-text-2); font-size: var(--fs-sm); max-width: 32ch; }
.footer-col h2 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: var(--s-3); }
.footer-col a { display: block; padding: 6px 0; color: var(--c-text-2); font-size: .9375rem; transition: color var(--t-fast); }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); color: #fff; font-size: .75rem; font-weight: 800; transition: background-color var(--t-fast), transform var(--t-fast); }
.social a:hover { background: var(--c-alt); transform: scale(1.06); }
.social svg { width: 18px; height: 18px; }
.footer-links { margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--c-line); display: grid; gap: var(--s-3); font-size: var(--fs-sm); color: var(--c-text-dim); }
.footer-links nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { color: var(--c-text-2); }
.footer-links a:hover { color: #fff; }
.footer-legal { margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--c-text-dim); line-height: 1.6; }
@media (max-width: 1023px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* Мобильная нижняя панель действий */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    display: flex; gap: var(--s-2); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(18,18,18,.97); border-top: 1px solid var(--c-line);
    transform: translateY(110%); transition: transform var(--t) var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { flex: 1; min-height: 48px; padding-inline: 12px; }
  body.has-mobile-cta .site-footer { padding-bottom: calc(var(--s-6) + 76px); }
}

/* Поверхности внутри альтернативных секций — на ступень светлее фона */
.section--alt :is(.card, .tile, .linkrow, .brand-card, .guide-card, .city-card, .brand-tile) { background: var(--c-surface); }
.section--alt :is(.card--link, a.card, .tile, .linkrow, .brand-card, .guide-card, .city-card, .brand-tile):hover { background: var(--c-alt); }
.section--alt .card--surface { background: var(--c-raised); }
.section--alt .panel { background: var(--c-surface); }
.panel--surface .chip, .section--alt .panel .chip { background: #2c2c2c; }
.panel--surface .chip:hover, .section--alt .panel .chip:hover { background: #363636; }
.section--alt .chip { background: var(--c-surface); }
.section--alt .chip:hover { background: var(--c-alt); }
/* Служебные подписи заглушек не должны прятаться под шапкой */
.scene .ph__tag { top: calc(var(--header-h) + 12px); }
.scene .ph--text-over .ph__box { padding-top: calc(var(--header-h) + 24px); }
.is-prototype .dev-note + * { margin-top: var(--s-6); }
.btn { max-width: 100%; }
@media (max-width: 479px) { .btn { white-space: normal; } }

/* Настоящие логотипы площадок (src/assets/img/logos). Буквы в разметке остаются
   для экранных читалок и на случай, если картинка не загрузилась */
.pm-poizon, .pm-taobao, .pm-1688, .pm-pinduoduo, .pm-goofish, .pm-tmall, .pm-jd, .pm-weidian,
.pm-alibaba, .pm-vipshop, .pm-95fen, .pm-aliexpress {
  background-position: center; background-size: cover; background-repeat: no-repeat;
  color: transparent; font-size: 0; overflow: hidden;
}
.pm-poizon { background-image: url(/assets/img/logos/poizon.png); }
.pm-taobao { background-image: url(/assets/img/logos/taobao.svg); }
.pm-1688 { background-image: url(/assets/img/logos/1688.png); background-size: 112%; }
.pm-pinduoduo { background-image: url(/assets/img/logos/pinduoduo.png); }
.pm-goofish { background-image: url(/assets/img/logos/goofish.png); background-size: 112%; }
.pm-tmall { background-image: url(/assets/img/logos/tmall.png); }
.pm-jd { background-image: url(/assets/img/logos/jd.png); }
.pm-weidian { background-image: url(/assets/img/logos/weidian.png); }
.pm-vipshop { background-image: url(/assets/img/logos/vipshop.png); }
.pm-95fen { background-image: url(/assets/img/logos/95fen.png); }
.pm-alibaba { background-image: url(/assets/img/logos/alibaba.svg); }
.pm-aliexpress { background-image: url(/assets/img/logos/aliexpress.svg); }

/* Меню «Магазины»: длинный список площадок — в два столбика, чтобы меню не уходило за край экрана */
.nav__panel--mega > div:has(> a:nth-of-type(9)) { display: grid; grid-template-columns: repeat(2, minmax(200px, 1fr)); column-gap: var(--s-4); align-content: start; }
.nav__panel--mega > div:has(> a:nth-of-type(9)) > .nav__group-title { grid-column: 1 / -1; }
.nav__panel--mega:has(> div > a:nth-of-type(9)) { grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); min-width: 760px; }

/* ---------- Приветствие при первом заходе (класс ставит скрипт в <head>, один раз) ----------
   Тёмный экран → мягко проявляется панда с зелёным свечением → всё растворяется (~1,6 с). */
html.pe-intro body::after,
html.pe-intro body::before { content: ""; position: fixed; pointer-events: none; }
html.pe-intro body::after {
  inset: 0; z-index: 9998; background: radial-gradient(600px 420px at 50% 50%, rgba(30, 215, 96, .16), rgba(30, 215, 96, 0) 70%), #101010;
  animation: pe-intro-bg 1.7s cubic-bezier(.4, 0, .2, 1) forwards;
}
html.pe-intro body::before {
  z-index: 9999; left: 50%; top: 50%; width: 84px; height: 89px; margin: -45px 0 0 -42px; background: #fff;
  -webkit-mask: url(/favicon.svg) center / contain no-repeat; mask: url(/favicon.svg) center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(30, 215, 96, .55));
  animation: pe-intro-mark 1.7s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes pe-intro-bg { 0%, 55% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes pe-intro-mark {
  0% { opacity: 0; transform: scale(.82); }
  35% { opacity: 1; transform: scale(1); }
  58% { opacity: 1; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.12); visibility: hidden; }
}
/* Первый экран мягко поднимается, пока растворяется заставка */
html.pe-intro main > section:first-of-type .wrap > * { animation: pe-intro-rise .9s cubic-bezier(.22, 1, .36, 1) 1s both; }
html.pe-intro .site-header { animation: pe-intro-fade .8s ease 1.05s both; }
@keyframes pe-intro-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pe-intro-fade { from { opacity: 0; } to { opacity: 1; } }
/* «Уменьшить движение»: панда и фон только проявляются и растворяются, без увеличения и подъёма */
@media (prefers-reduced-motion: reduce) {
  html.pe-intro body::before { animation-name: pe-intro-mark-fade; }
  html.pe-intro main > section:first-of-type .wrap > *, html.pe-intro .site-header { animation-name: pe-intro-fade; }
}
@keyframes pe-intro-mark-fade { 0% { opacity: 0; } 35%, 58% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* ---------- Кнопка «Наверх» (создаёт pe.js) ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 24px; z-index: 950; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: var(--c-green); background: rgba(28, 28, 28, .92);
  border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .45s, background-color .2s, color .2s;
  cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--c-green); color: #0b0b0b; transform: translateY(-3px); }
.to-top:focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; }
@media (max-width: 767px) {
  .to-top { right: 14px; bottom: 18px; width: 46px; height: 46px; }
  body.has-mobile-cta .to-top { bottom: calc(86px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .3s ease, visibility 0s linear .3s; transform: none; } .to-top:hover { transform: none; } }

/* =====================================================================
   Композиции страниц
   ===================================================================== */

/* ---------- Главная: первый экран ---------- */
.home-hero .scene__content { padding-bottom: clamp(48px, 7vh, 96px); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .8fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.home-hero__copy .hero-title { max-width: 17ch; }
.home-hero__checks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; color: #e4e4e4; font-size: .9375rem; font-weight: 500; }
.home-hero__checks li { display: inline-flex; align-items: center; gap: 8px; }
.home-hero__checks svg { width: 18px; height: 18px; color: var(--c-green); }
.home-hero__side { display: grid; gap: var(--s-3); }
@media (max-width: 1023px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero__side { max-width: 520px; }
}
/* На телефоне: фото на весь первый экран, главный текст — поверх фото.
   Карточки (тариф, товар) идут ниже, на тёмном фоне, куда плавно уходит фото. */
@media (max-width: 767px) {
  .home-hero.scene--full { min-height: 0; display: block; }
  .home-hero .scene__media { position: absolute; inset: 0 0 auto; height: 100svh; min-height: 560px; }
  .home-hero .scene__shade { inset: 0 0 auto; height: 100svh; min-height: 560px; background: linear-gradient(180deg, rgba(18,18,18,.45) 0%, rgba(18,18,18,.15) 22%, rgba(18,18,18,.55) 50%, rgba(18,18,18,.88) 78%, #121212 100%); }
  .home-hero .scene__content { margin-top: 0; padding-top: calc(var(--header-h) + 40px); }
  .home-hero .hero-title { font-size: clamp(2rem, 8.4vw, 2.6rem); text-shadow: 0 2px 24px rgba(0,0,0,.35); }
}

.ticket {
  display: grid; gap: 8px; padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg); background: rgba(24,24,24,.86);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: background-color var(--t), transform var(--t);
}
.ticket:hover { background: rgba(37,37,37,.92); transform: translateY(-2px); }
.ticket__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.ticket__price { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.ticket__text { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--fs-sm); color: var(--c-text-3); }
.ticket__text svg { width: 16px; height: 16px; flex: none; }
.ticket .lane { font-size: .8125rem; color: #e0e0e0; }

.showcase { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-3); border-radius: var(--r-lg); background: rgba(24,24,24,.86); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.showcase__img { position: relative; border-radius: var(--r-md); overflow: hidden; background: #fff; aspect-ratio: 1; }
.showcase__img img { width: 100%; height: 100%; object-fit: cover; }
.showcase__off { position: absolute; left: 6px; top: 6px; }
.showcase__name { font-weight: 700; line-height: 1.3; }
.showcase__prices { display: flex; gap: var(--s-5); margin-top: var(--s-3); }
.showcase__prices > div { display: grid; }
.showcase__prices s { color: var(--c-text-2); font-size: 1rem; }
.showcase__prices b { font-size: 1.25rem; font-weight: 800; color: #fff; }
.showcase__save { margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--c-text-3); }
.showcase__save b { color: var(--c-green); }
@media (max-width: 400px) { .showcase { grid-template-columns: 96px minmax(0, 1fr); } }

/* Цифры */
.stats-band { border-block: 1px solid var(--c-line); }
.stats { gap: var(--s-6); }
.stats .stat { padding-left: var(--s-5); border-left: 2px solid var(--c-line); }
.stats .stat:first-child { border-left-color: var(--c-green); }
@media (max-width: 1023px) { .stats .stat:nth-child(3) { border-left-color: var(--c-line); } }

/* Заголовок «две колонки» */
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6) var(--s-10); align-items: end; }
.split-head h2 { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--track-tight); }
@media (max-width: 899px) { .split-head { grid-template-columns: minmax(0, 1fr); } }

/* Площадки + квиз */
.platforms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.platforms-all__marks, .quiz__marks { display: flex; flex-wrap: wrap; gap: 6px; }
.platform-card h3 { font-size: 1.125rem; }
.platform-card .card__foot .link-more svg { width: 20px; height: 20px; }
@media (max-width: 1023px) { .platforms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .platforms-grid { grid-template-columns: minmax(0, 1fr); } }
.quiz { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; }
.quiz__box { min-height: 220px; padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-bg); }
@media (max-width: 899px) { .quiz { grid-template-columns: minmax(0, 1fr); gap: var(--s-5); } }
.quiz__step { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-dim); }
.quiz__bar { height: 4px; border-radius: 4px; background: var(--c-alt); margin: 10px 0 var(--s-4); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; background: var(--c-green); border-radius: inherit; transition: width var(--t) var(--ease); }
.quiz__q { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.quiz__opts { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.quiz__opt { min-height: 44px; text-align: left; }
.quiz__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.quiz__result:focus { outline: none; }

/* Галерея цен */
.price-card .tile__img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; }
.price-card__row { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-3); }
.price-card__row > div { display: grid; }
.price-card__row .right { text-align: right; }
.price-card__row s { color: var(--c-text-2); }
.price-card__row b { font-size: 1.125rem; font-weight: 800; color: var(--c-green); }

/* Текст поверх сцены */
.scene-copy { max-width: 620px; }
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 1.0625rem; line-height: 1.5; }
.checklist svg { width: 22px; height: 22px; color: var(--c-green); margin-top: 1px; }

/* Преимущества — асимметрия */
.adv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.adv__head { position: sticky; top: calc(var(--header-h) + 32px); }
.adv__visual .ph { border-radius: var(--r-lg); max-width: 420px; }
.adv__list { display: grid; }
.adv__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-5); padding: var(--s-6) 0; border-bottom: 1px solid var(--c-line); }
.adv__item:first-child { padding-top: 0; }
.adv__item .card__icon { margin: 0; }
.adv__item h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 800; letter-spacing: -.02em; }
.adv__item p { margin-top: var(--s-2); color: var(--c-text-2); font-size: 1.0625rem; line-height: 1.6; }
@media (max-width: 899px) { .adv { grid-template-columns: minmax(0, 1fr); } .adv__head { position: static; } .adv__visual { display: none; } }

/* Услуги склада */
.service__price { font-weight: 800; font-size: 1.0625rem; }
.service__price.is-free { color: var(--c-green); }

/* Тизер калькулятора */
.calc-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: linear-gradient(120deg, #0f5a2e 0%, #13341f 55%, #181818 100%); }
.calc-teaser h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); letter-spacing: -.03em; }
.calc-teaser p { margin-top: var(--s-3); color: #d6e9dc; font-size: var(--fs-lead); }
@media (max-width: 899px) { .calc-teaser { grid-template-columns: minmax(0, 1fr); } }

/* Мини-сводка тарифов */
.tmini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.tmini__item { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: background-color var(--t-fast); }
.panel--surface .tmini__item, .panel .tmini__item { background: var(--c-bg); }
.tmini__item:hover { background: rgba(255,255,255,.06); }
.tmini__item.is-featured { box-shadow: inset 0 0 0 1px var(--c-green-border); }
.tmini__name { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-2); }
.tmini__item.is-featured .tmini__name { color: var(--c-green); }
.tmini__time { font-size: .9375rem; color: var(--c-text-3); }
.tmini__time b { font-size: 1.375rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.tmini__price { font-size: var(--fs-sm); font-weight: 700; color: #fff; }

/* Байеры */
.buyer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.buyer .link-more { display: inline-flex; }
@media (max-width: 899px) { .buyer { grid-template-columns: minmax(0, 1fr); } }

/* Лояльность */
.tiers { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); }
.tier { position: relative; display: grid; gap: 4px; padding: var(--s-5) var(--s-4); border-radius: var(--r-md); background: var(--c-bg-2); }
.tier:nth-child(2) { background: #1c1a17; } .tier:nth-child(3) { background: #1b1c1e; } .tier:nth-child(4) { background: #211d12; }
.tier.is-best { background: var(--c-green); color: var(--c-green-ink); }
.tier__best { position: absolute; top: -10px; left: var(--s-4); background: #fff; color: #000; }
.tier__lv { font-weight: 800; font-size: 1.125rem; letter-spacing: -.01em; }
.tier__kg { font-size: var(--fs-sm); color: var(--c-text-2); }
.tier.is-best .tier__kg { color: rgba(4,20,10,.75); }
.tier__cb { margin-top: var(--s-3); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tier__cb small { font-size: .875rem; font-weight: 500; letter-spacing: 0; }
@media (max-width: 899px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tier.is-best { grid-column: 1 / -1; } }
.mini-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.mini-steps li { display: flex; gap: 12px; align-items: center; color: var(--c-text-3); font-size: .9375rem; }
.mini-steps b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); color: var(--c-green); font-weight: 800; }
@media (max-width: 767px) { .mini-steps { grid-template-columns: minmax(0, 1fr); } }

/* Отзывы */
.review { display: flex; flex-direction: column; border-radius: var(--r-md); background: var(--c-surface); overflow: hidden; }
.section--alt .review { background: var(--c-surface); }
/* Скриншот отзыва целиком, в своих пропорциях и не крупнее оригинала (исходники небольшие) */
.review__media { background: #0c0c0c; display: flex; justify-content: center; }
.review__photo { display: block; width: auto; max-width: 100%; height: auto; max-height: 420px; }
.review__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.review__stars { display: flex; gap: 2px; color: var(--c-green); }
.review__stars svg { width: 16px; height: 16px; }
.review__text { color: var(--c-text-3); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.review.is-open .review__text { -webkit-line-clamp: unset; }
.review__more { align-self: flex-start; color: #fff; font-weight: 700; font-size: var(--fs-sm); text-decoration: underline; text-underline-offset: 3px; }
.review__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--c-alt); font-weight: 800; }
.reviews-masonry { columns: 3 300px; column-gap: var(--s-4); }
.reviews-masonry .review { break-inside: avoid; margin-bottom: var(--s-4); }
.reviews-masonry .review__text { -webkit-line-clamp: unset; }

/* Видео */
.video { padding: var(--s-3); text-align: left; color: #fff; }
.video .ph { border-radius: var(--r-sm); }
.video__title { display: block; margin-top: var(--s-3); font-weight: 700; }
.video .play { bottom: 64px; right: 24px; }
@media (max-width: 1023px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Страхи */
.fear h3 { font-size: 1.125rem; }
.fear p strong { color: #fff; }

/* Основатель */
.founder { display: grid; grid-template-columns: minmax(200px, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.founder__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); background: #0c0c0c; }
.founder__mark { display: block; color: var(--c-green); }
.founder__mark svg { width: 40px; height: 40px; }
.founder__quote { margin-top: var(--s-4); font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; color: #fff; }
@media (max-width: 767px) { .founder { grid-template-columns: minmax(0, 1fr); } .founder__img { max-width: 240px; } }

/* Бенто разделов */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: var(--s-4); }
.bento__a { grid-column: span 2; grid-row: span 2; }
.bento__a .ph { height: 100%; aspect-ratio: auto; min-height: 100%; }
.bento .cat-card { min-height: 0; }
@media (max-width: 899px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__a { grid-row: auto; } .bento__a .ph { aspect-ratio: 16 / 10; } }
@media (max-width: 479px) { .bento { grid-template-columns: minmax(0, 1fr); } .bento__a { grid-column: auto; } }

/* SEO-текст главной */
.seo-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8) clamp(32px, 5vw, 96px); }
.seo-text h2 { font-size: clamp(1.375rem, 1.15rem + 1vw, 2rem); }
.seo-text .prose { margin-top: var(--s-4); font-size: 1rem; }
@media (max-width: 899px) { .seo-text { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Калькулятор ---------- */
.calc-page__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6) var(--s-10); align-items: end; }
.calc-page__head h1 { margin-top: var(--s-3); }
@media (max-width: 899px) { .calc-page__head { grid-template-columns: minmax(0, 1fr); } }
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 1fr); border-radius: var(--r-xl); overflow: hidden; background: var(--c-bg-2); }
.calc__controls { padding: clamp(24px, 3vw, 48px); display: grid; gap: var(--s-7); align-content: start; }
.calc__group { border: 0; min-width: 0; }
.calc__label { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-2); margin-bottom: var(--s-3); }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.calc-route { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.calc-route .cr { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border-radius: var(--r-md); background: var(--c-surface); color: #fff; font-weight: 800; font-size: 1.0625rem; box-shadow: inset 0 0 0 1px transparent; transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.calc-route .cr span { font-weight: 400; font-size: .8125rem; color: var(--c-text-2); line-height: 1.4; }
.calc-route .cr:hover { background: var(--c-alt); }
.calc-route .cr.on { box-shadow: inset 0 0 0 2px var(--c-green); background: rgba(30,215,96,.06); }
.calc-w { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); font-weight: 800; letter-spacing: -.04em; color: #fff; }
.calc-cats { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.calc-cat { min-height: 36px; padding: 6px 16px; border-radius: var(--r-pill); background: var(--c-surface); color: #fff; font-size: var(--fs-sm); font-weight: 500; transition: background-color var(--t-fast); }
.calc-cat:hover { background: var(--c-alt); }
.calc-cat.on { background: #fff; color: #000; }
#calcRange { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; }
#calcRange::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--c-green) var(--fill, 6%), #3a3a3a var(--fill, 6%)); }
#calcRange::-moz-range-track { height: 6px; border-radius: 3px; background: #3a3a3a; }
#calcRange::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--c-green); }
#calcRange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); transition: transform var(--t-fast); }
#calcRange::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; }
#calcRange:active::-webkit-slider-thumb { transform: scale(1.15); }
#calcRange:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.calc-scale { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--c-text-dim); margin-top: 4px; }
.calc-typ { margin-top: var(--s-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tip { position: relative; display: inline-grid; place-items: center; color: var(--c-text-2); cursor: help; }
.tip svg { width: 16px; height: 16px; }
.tipbox { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(300px, 80vw); padding: 12px 14px; border-radius: var(--r-md); background: #2e2e2e; color: var(--c-text-3); font-size: var(--fs-sm); line-height: 1.5; box-shadow: var(--shadow-pop); opacity: 0; visibility: hidden; transition: opacity var(--t-fast); z-index: 5; }
.tipbox b { color: #fff; }
.tip:hover .tipbox, .tip:focus .tipbox, .tip:focus-within .tipbox { opacity: 1; visibility: visible; }
@media (max-width: 639px) { .tipbox { left: auto; right: -60px; transform: none; } }
.calc-city { position: relative; }
.calc-city svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--c-text-2); pointer-events: none; }
.calc-city .input { padding-left: 44px; font-weight: 700; }
.calc__result { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(24px, 3vw, 48px); background: linear-gradient(180deg, #13341f 0%, #172a1d 40%, #1a1a1a 100%); }
.calc__result .rl { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: #a6d9b6; }
.calc-tiers { gap: var(--s-2); }
.calc-tiers .ct { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: var(--r-md); background: rgba(0,0,0,.28); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow var(--t-fast), background-color var(--t-fast); }
.calc-tiers .ct:hover { background: rgba(0,0,0,.4); }
.calc-tiers .ct.on { box-shadow: inset 0 0 0 2px var(--c-green); }
.calc-tiers .ct i { font-style: normal; font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-2); }
.calc-tiers .ct b { font-size: 1.125rem; font-weight: 800; }
.calc-tiers .ct em { font-style: normal; font-size: var(--fs-xs); color: var(--c-text-2); }
.calc__result .rv { font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: var(--s-3); font-variant-numeric: tabular-nums; }
.calc__result .rv span { font-size: .5em; letter-spacing: 0; color: var(--c-text-2); }
.calc-eta { font-size: var(--fs-sm); color: var(--c-text-3); }
.calc-break { display: grid; gap: 6px; padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.1); }
.calc-break .brk { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-sm); color: var(--c-text-2); }
.calc-break .brk b { color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__result .rd { font-size: var(--fs-xs); color: var(--c-text-dim); }
.calc__result .btn { margin-top: auto; }
@media (max-width: 899px) { .calc { grid-template-columns: minmax(0, 1fr); } .calc__result .btn { margin-top: var(--s-3); } }
@media (max-width: 479px) { .calc-route { grid-template-columns: minmax(0, 1fr); } }

/* Вес */
.weight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.weight__example { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: var(--s-5); border-radius: var(--r-md); background: var(--c-surface); color: var(--c-text-3); line-height: 1.6; }
.weight__example svg { width: 24px; height: 24px; color: var(--c-green); }
.weight__example strong { color: #fff; }
.weight__cards { display: grid; gap: var(--s-4); }
.weight__k { display: inline-block; align-self: flex-start; padding: 6px 12px; border-radius: var(--r-xs); background: var(--c-bg); font-family: var(--font-mono); font-size: var(--fs-sm); color: var(--c-green); margin-bottom: var(--s-4); }
@media (max-width: 899px) { .weight { grid-template-columns: minmax(0, 1fr); } }
.included { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.included li { display: flex; gap: 14px; align-items: center; padding: var(--s-5); border-radius: var(--r-md); background: var(--c-bg-2); font-weight: 700; }
.included svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--c-green); color: var(--c-green-ink); }
@media (max-width: 899px) { .included { grid-template-columns: minmax(0, 1fr); } }
.qa-list { display: grid; }
.qa-item { padding: var(--s-5) 0; border-bottom: 1px solid var(--c-line); }
.qa-item:first-child { border-top: 1px solid var(--c-line); }
.qa-item h3 { font-size: 1.125rem; }
.qa-item p { margin-top: var(--s-2); color: var(--c-text-2); }

/* ---------- Тарифы ---------- */
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); align-items: stretch; }
.route-card { position: relative; display: flex; flex-direction: column; padding: var(--s-6) var(--s-5); border-radius: var(--r-lg); background: var(--c-bg-2); }
.route-card.is-featured { background: linear-gradient(180deg, #17432a 0%, #182b1f 50%, #181818 100%); box-shadow: inset 0 0 0 1px var(--c-green-border); }
.route-card__badge { position: absolute; top: var(--s-5); right: var(--s-5); }
.route-card .card__icon { margin-bottom: var(--s-5); }
.route-card__name { font-size: 1.375rem; }
.route-card__sub { margin-top: 6px; font-size: var(--fs-sm); color: var(--c-text-2); }
.route-card__time { margin-top: var(--s-6); font-size: 1rem; color: var(--c-text-2); }
.route-card__time b { font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); font-weight: 800; letter-spacing: -.05em; color: #fff; line-height: 1; }
.route-card__price { margin-top: var(--s-2); font-size: 1.125rem; font-weight: 800; color: var(--c-green); }
.route-card__text { margin-top: var(--s-4); color: var(--c-text-2); font-size: .9375rem; line-height: 1.6; }
.route-card__foot { margin-top: auto; padding-top: var(--s-6); }
@media (max-width: 1179px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .routes { grid-template-columns: minmax(0, 1fr); } }
.partners__intro { max-width: 46ch; color: #fff; font-weight: 700; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.75rem); letter-spacing: -.02em; line-height: 1.3; }
.partner__name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Белая доставка ---------- */
.wd-adv { display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: var(--r-pill); background: rgba(0,0,0,.4); color: #fff; font-weight: 500; font-size: .9375rem; }
.wd-adv svg { width: 18px; height: 18px; color: var(--c-green); flex: none; }
.wd-stats { display: grid; grid-template-columns: repeat(4, minmax(0, max-content)); gap: var(--s-4) var(--s-8); }
.wd-stats dd { display: grid; }
.wd-stats b { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.wd-stats span { color: var(--c-text-3); font-size: var(--fs-sm); }
@media (max-width: 767px) { .wd-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(18,18,18,.96); border-bottom: 1px solid var(--c-line); padding: 10px 0; }
.subnav .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.subnav .chips::-webkit-scrollbar { display: none; }
.subnav .chip { white-space: nowrap; }
.vs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); }
.vs__col { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--c-bg-2); }
.vs__col.is-good { background: linear-gradient(160deg, #17432a, #181818 70%); box-shadow: inset 0 0 0 1px var(--c-green-border); }
.vs__list { list-style: none; display: grid; gap: 12px; margin-top: var(--s-5); }
.vs__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.0625rem; }
.vs__list svg { width: 22px; height: 22px; flex: none; color: var(--c-green); }
.vs__list li.is-bad { color: var(--c-text-2); }
.vs__list li.is-bad svg { color: var(--c-error); }
@media (max-width: 767px) { .vs { grid-template-columns: minmax(0, 1fr); } }
.wd-service { min-height: 220px; }
.wd-service__arrow { position: absolute; top: var(--s-5); right: var(--s-5); color: var(--c-text-2); transition: transform var(--t), color var(--t); }
.wd-service__arrow svg { width: 22px; height: 22px; }
.wd-service:hover .wd-service__arrow { transform: translate(3px, -3px); color: var(--c-green); }
.docs-grid { gap: var(--s-2); }
.doc-card { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: var(--s-5); border-radius: var(--r-md); background: rgba(18,18,18,.82); }
.doc-card svg { width: 24px; height: 24px; color: var(--c-green); }
.doc-card h3 { font-size: 1.0625rem; }
.doc-card p { margin-top: 4px; color: var(--c-text-2); font-size: .9375rem; }
.contact-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.direct { display: grid; gap: var(--s-2); }
@media (max-width: 899px) { .contact-split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq-layout__side { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-search, .brand-search { position: relative; max-width: 480px; }
.faq-search svg, .brand-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--c-text-2); pointer-events: none; }
.faq-search .input, .brand-search .input { padding-left: 46px; border-radius: var(--r-pill); }
.faq-group + .faq-group { margin-top: var(--s-8); }
.faq-group__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-2); margin-bottom: var(--s-2); }
@media (max-width: 899px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-layout__side { position: static; } .faq-help { display: none; } }

/* ---------- О компании ---------- */
.editorial { display: grid; gap: var(--s-10); }
.editorial__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 96px); padding-top: var(--s-6); border-top: 1px solid var(--c-line); }
.editorial__row h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.editorial__row .prose { font-size: 1.125rem; }
.editorial__wide .ph { border-radius: var(--r-lg); }
@media (max-width: 899px) { .editorial__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Контакты ---------- */
.contact-cards { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: var(--s-4); }
.contact-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; padding: var(--s-6); border-radius: var(--r-lg); background: var(--c-bg-2); transition: background-color var(--t); }
.contact-card:hover { background: var(--c-raised); }
.contact-card--main { grid-row: span 2; background: var(--c-green); color: var(--c-green-ink); }
.contact-card--main:hover { background: var(--c-green-hover); }
.contact-card__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; opacity: .75; }
.contact-card__value { font-size: clamp(1.125rem, .95rem + .7vw, 1.625rem); overflow-wrap: anywhere; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; word-break: break-word; margin-top: var(--s-6); }
.contact-card--main .contact-card__value { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.contact-card__icon { position: absolute; top: var(--s-6); right: var(--s-6); }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card--main .contact-card__icon svg { width: 40px; height: 40px; }
@media (max-width: 899px) { .contact-cards { grid-template-columns: 1fr 1fr; } .contact-card--main { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 479px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Документы ---------- */
.doc-links { margin-top: 3em !important; padding-top: 1.5em; border-top: 1px solid var(--c-line); font-size: var(--fs-sm); }

/* ---------- Площадки ---------- */
.hub-visual .ph { border-radius: var(--r-lg); }
.not-prose { margin-block: 2em; }
.platform-strip { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.platform-strip .chip { text-decoration: none; color: #fff; }
.platform-head__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: clamp(32px, 5vw, 96px); align-items: end; }
.platform-head__name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.platform-head__sub { margin-top: var(--s-3); font-size: 1.125rem; font-weight: 700; color: #fff; }
.platform-head__visual .ph { border-radius: var(--r-lg); }
.platform-head h1 { max-width: 22ch; }
@media (max-width: 899px) { .platform-head__grid { grid-template-columns: minmax(0, 1fr); } .platform-head__visual { max-width: 420px; } }
.platform-prose figure .ph { border-radius: var(--r-lg); }
.calc-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: var(--s-8); align-items: center; }
@media (max-width: 899px) { .calc-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Статьи ---------- */
.articles-empty { display: flex; gap: var(--s-5); align-items: center; }
.articles-empty__icon { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--c-surface); color: var(--c-text-2); }
.articles-empty__icon svg { width: 28px; height: 28px; }
.articles-grid:empty { display: none; }
.article__title { font-size: var(--fs-h1-article); max-width: none; }
.article__meta { display: flex; flex-wrap: wrap; gap: var(--s-5); color: var(--c-text-2); font-size: var(--fs-sm); }
.article__meta span { display: inline-flex; gap: 8px; align-items: center; }
.article__meta svg { width: 16px; height: 16px; }
.article__cover { margin-top: var(--s-2); }
.article__cover .ph { border-radius: var(--r-lg); }
.article__layout { display: grid; grid-template-columns: 220px minmax(0, var(--wrap-text)) 1fr; gap: clamp(24px, 4vw, 64px); margin-top: var(--s-8); }
.article__lede { font-size: 1.25rem; color: #fff; line-height: 1.6; }
.prose figure .ph { border-radius: var(--r-md); }
@media (max-width: 1023px) { .article__layout { grid-template-columns: minmax(0, 1fr); } .article__layout .toc-col { display: none; } }

/* ---------- 404 ---------- */
.nf { min-height: 72svh; display: grid; place-items: center; text-align: center; padding-block: var(--s-10); }
.nf__code { font-size: clamp(7rem, 4rem + 18vw, 18rem); font-weight: 800; line-height: .85; letter-spacing: -.07em; background: linear-gradient(180deg, #fff 30%, #2a2a2a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin-top: var(--s-4); }
.nf .lead { margin-inline: auto; }

/* ---------- Обучение (обёртка React-гайда) ---------- */
.guide-top { padding: var(--s-5) 0 var(--s-2); background: linear-gradient(180deg, #13341f 0%, var(--c-bg) 100%); }
.page-guide #root { background: linear-gradient(180deg, transparent, transparent); }

/* ---------- Маркет ---------- */
.dept-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.dept-grid__item.is-large { grid-column: span 2; }
@media (max-width: 1023px) { .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .dept-grid { grid-template-columns: minmax(0, 1fr); } .dept-grid__item.is-large { grid-column: auto; } }
.brand-tile { display: grid; justify-items: center; gap: var(--s-3); padding: var(--s-4); border-radius: var(--r-md); background: var(--c-bg-2); text-align: center; font-weight: 700; transition: background-color var(--t); }
.section--alt .brand-tile { background: var(--c-surface); }
.brand-tile:hover { background: var(--c-raised); }
.brand-tile .ph { width: 100%; max-width: 132px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: var(--s-3); }
.brand-card { display: grid; justify-items: center; gap: 6px; padding: var(--s-5) var(--s-4); border-radius: var(--r-md); background: var(--c-bg-2); text-align: center; transition: background-color var(--t); }
.brand-card:hover { background: var(--c-raised); }
.brand-card .ph { width: 100%; max-width: 120px; margin-bottom: var(--s-2); }
.brand-card__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; }
.brand-card__meta { font-size: var(--fs-sm); color: var(--c-text-2); }
.brand-card[hidden] { display: none; }
.brand-hero .display { font-size: clamp(3rem, 1.5rem + 8vw, 8rem); }
/* Баннер бренда уже затемнён слева; на широком экране оставляем только переход в фон страницы внизу */
@media (min-width: 860px) { .brand-hero { --scene-shade: linear-gradient(180deg, rgba(18,18,18,0) 72%, #121212 100%); } }
@media (max-width: 859px) { .brand-hero .ph__img { object-position: 72% 45%; opacity: .45; } }
.model-group + .model-group { margin-top: var(--s-9); }
.model-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); margin-bottom: var(--s-4); }
.model-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.model-head__media .ph { border-radius: var(--r-lg); background-color: #1a1a1a; }
.model-head__media .ph.has-image { background: #fff; }
.model-head__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-2); }
.model-head__thumbs .ph { border-radius: var(--r-md); }
.model-head__info h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.model-price { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-8); padding: var(--s-5); border-radius: var(--r-md); background: var(--c-bg-2); }
.model-price > div { display: grid; }
.model-price s { color: var(--c-text-2); font-size: 1.125rem; }
.model-price b { font-size: 1.75rem; font-weight: 800; color: var(--c-green); letter-spacing: -.03em; }
.model-price p { flex-basis: 100%; }
@media (max-width: 899px) { .model-head__grid { grid-template-columns: minmax(0, 1fr); } }

/* Советы */
.check-card { padding: var(--s-6); }
.check-card__n { font-size: 2.5rem; font-weight: 800; letter-spacing: -.05em; color: var(--c-green); line-height: 1; margin-bottom: var(--s-5); }
.check-card h3 { font-size: 1.25rem; }
.check-card p { font-size: 1rem; }

/* ---------- База знаний ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--s-4); }
.guide-card { position: relative; display: flex; gap: var(--s-5); align-items: center; padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-bg-2); transition: background-color var(--t); }
.guide-card:hover { background: var(--c-raised); }
.guide-card__body { display: grid; gap: 2px; }
.guide-card__cn { font-size: var(--fs-sm); color: var(--c-text-dim); }
.guide-card__title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.guide-card__sub { font-size: var(--fs-sm); color: var(--c-text-2); }
.guide-card .play { position: absolute; right: 20px; top: 50%; bottom: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-green); color: var(--c-green-ink); opacity: 0; transform: translate(6px, -50%); transition: opacity var(--t), transform var(--t) var(--ease-out); }
.guide-card .play svg { width: 18px; height: 18px; }
.guide-card:hover .play, .guide-card:focus-visible .play { opacity: 1; transform: translate(0, -50%); }

/* ---------- География ---------- */
.geo-tools { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.geo-tools .brand-search { flex: 1 1 320px; }
.geo-tools p { flex: 1 1 320px; max-width: 520px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: var(--s-3); }
.city-card { position: relative; display: grid; gap: 4px; padding: var(--s-5); border-radius: var(--r-md); background: var(--c-bg-2); transition: background-color var(--t); }
.city-card:hover { background: var(--c-raised); }
.city-card[hidden] { display: none; }
.city-card__zone { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-dim); }
.city-card__name { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; }
.city-card__price { margin-top: var(--s-3); font-size: 1.125rem; font-weight: 800; color: var(--c-green); }
.city-card__price small { font-size: var(--fs-sm); color: var(--c-text-2); font-weight: 500; }
.city-card__eta { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); color: var(--c-text-2); }
.city-card__eta svg { width: 14px; height: 14px; }
.city-card__arrow { position: absolute; top: var(--s-5); right: var(--s-5); color: var(--c-text-2); transition: transform var(--t), color var(--t); }
.city-card__arrow svg { width: 20px; height: 20px; }
.city-card:hover .city-card__arrow { transform: translateX(3px); color: #fff; }
.city-facts { display: grid; gap: var(--s-2); }
.city-fact { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: rgba(0,0,0,.3); }
.city-fact b { font-size: 1.375rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.table tfoot td { color: var(--c-text-2); font-size: var(--fs-sm); border-top: 1px solid var(--c-line); border-bottom: 0; }

/* ---------- Склад ---------- */
.wh-facts { list-style: none; gap: var(--s-5); }
.wh-facts li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; font-weight: 700; line-height: 1.45; }
.wh-facts svg { width: 24px; height: 24px; color: var(--c-green); }
.wh-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto auto; gap: var(--s-3); }
.wh-gallery .ph { border-radius: var(--r-md); }
.wh-gallery__a { grid-row: span 2; height: 100%; aspect-ratio: auto !important; }
.wh-gallery__d { grid-column: span 2; }
@media (max-width: 767px) { .wh-gallery { grid-template-columns: 1fr 1fr; } .wh-gallery__a { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3 !important; } .wh-gallery__d { grid-column: 1 / -1; } }

/* ---------- Кейсы ---------- */
.cases { display: grid; gap: var(--s-4); }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: var(--s-6); padding: var(--s-4); border-radius: var(--r-lg); background: var(--c-bg-2); }
.case__media .ph { border-radius: var(--r-md); }
.case__body { padding: var(--s-3) var(--s-3) var(--s-3) 0; }
.case__facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-5); }
.case__facts dt { font-size: var(--fs-xs); color: var(--c-text-dim); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.case__facts dd { font-weight: 800; margin-top: 2px; }
@media (max-width: 899px) { .case { grid-template-columns: minmax(0, 1fr); } .case__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .case__body { padding: 0 var(--s-2) var(--s-2); } }

/* ---------- Оплата и гарантии ---------- */
.pay-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); }
.pay-card .h4 { color: #fff; }
@media (max-width: 899px) { .pay-split { grid-template-columns: minmax(0, 1fr); } }
.quote-list { display: grid; gap: var(--s-3); }
.quote-list blockquote { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--c-bg); box-shadow: inset 3px 0 0 var(--c-green); }
.section:not(.section--alt) .quote-list blockquote { background: var(--c-bg-2); }
.quote-list p { margin-top: var(--s-2); color: var(--c-text-3); line-height: 1.6; }

.extra-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.extra-card .card__icon { margin: 0; }
.extra-card p { margin-top: 4px; }
.route-card__sub { min-height: 2.9em; }
@media (max-width: 639px) { .route-card__sub { min-height: 0; } }

.calc__title { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.platform-card .tag { display: inline-flex; }
.articles-empty__text { font-size: 1.125rem; color: var(--c-text-3); }

/* Витрина дизайн-системы */
.sg-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s-3); }
.sg-swatch { display: grid; gap: 2px; padding: var(--s-3); border-radius: var(--r-md); background: var(--c-bg-2); font-size: var(--fs-sm); }
.sg-swatch span { height: 56px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); margin-bottom: var(--s-2); }
.sg-swatch code { font-family: var(--font-mono); color: var(--c-text-2); }
.sg-swatch small { color: var(--c-text-dim); }

/* =====================================================================
   Главная v2 (замечания Пьера): услуги, преимущества, площадки, цены,
   анонсы B2B и лояльности, отзывы-ссылки, направления, сворачиваемый SEO-текст
   ===================================================================== */

/* Первый экран: тарифы вместо карточки товара */
.hero-tariffs { padding: var(--s-5); border-radius: var(--r-lg); background: rgba(18,18,18,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.hero-tariffs__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); margin-bottom: var(--s-4); }

/* Услуги: три крупные карточки-ссылки */
.svc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.svc3__card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); border-radius: var(--r-lg); background: var(--c-bg-2); transition: background-color var(--t), transform var(--t); min-height: 100%; }
.svc3__card:hover { background: var(--c-raised); transform: translateY(-2px); }
.svc3__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--c-green); color: var(--c-green-ink); }
.svc3__icon svg { width: 24px; height: 24px; }
.svc3__title { font-size: var(--fs-h3); margin-top: var(--s-2); }
.svc3__text { color: var(--c-text-2); flex: 1; }
.svc3__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-green); }
.svc3__link svg { width: 16px; height: 16px; }
@media (max-width: 899px) { .svc3 { grid-template-columns: minmax(0, 1fr); } }

/* Преимущества: крупные цифры */
.usp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-4); }
.usp__card { grid-column: span 2; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-6); border-radius: var(--r-lg); background: var(--c-surface); transition: background-color var(--t); }
.usp__card:hover { background: var(--c-raised); }
.usp__card:nth-child(n+4) { grid-column: span 3; }
.usp__card--main { background: linear-gradient(160deg, #17432a 0%, #182b1f 60%, var(--c-surface) 100%); box-shadow: inset 0 0 0 1px var(--c-green-border); }
.usp__k { font-size: var(--fs-xs); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-2); }
.usp__v { font-size: clamp(2.5rem, 1.8rem + 2.4vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--c-green); white-space: nowrap; }
.usp__v small { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: #fff; }
.usp__d { color: var(--c-text-3); flex: 1; }
.usp__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: var(--s-2); }
.usp__link svg { width: 16px; height: 16px; }
@media (max-width: 1023px) { .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); } .usp__card, .usp__card:nth-child(n+4) { grid-column: auto; } .usp__card--main { grid-column: 1 / -1; } }
@media (max-width: 559px) { .usp { grid-template-columns: minmax(0, 1fr); } }

/* Все маркетплейсы — компактные плитки */
.mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: var(--s-2); }
.mp-tile { display: flex; align-items: center; gap: var(--s-3); padding: 12px 16px; border-radius: var(--r-md); background: var(--c-bg-2); transition: background-color var(--t-fast); }
.mp-tile:hover { background: var(--c-raised); }
.mp-tile .pmark { width: 44px; height: 44px; font-size: .875rem; flex: none; }
.mp-tile__body { flex: 1; min-width: 0; display: grid; }
.mp-tile__name { font-weight: 700; }
.mp-tile__meta { font-size: var(--fs-sm); color: var(--c-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-tile > svg { width: 18px; height: 18px; color: var(--c-text-2); flex: none; }

/* Цены: сетка карточек-ссылок вместо ленты */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.price-card2 { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-lg); background: var(--c-surface); transition: background-color var(--t), transform var(--t); }
.price-card2:hover { background: var(--c-raised); transform: translateY(-2px); }
.price-card2__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); background: #fff; }
.price-card2__name { font-weight: 700; line-height: 1.3; margin-top: var(--s-2); }
.price-card2__row { display: flex; justify-content: space-between; gap: var(--s-3); align-items: end; }
.price-card2__row > span { display: grid; }
.price-card2__row .right { text-align: right; }
.price-card2__row s { color: var(--c-text-2); white-space: nowrap; }
.price-card2__row b { font-size: 1.25rem; color: var(--c-green); white-space: nowrap; }
.price-card2__go { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-sm); font-weight: 700; color: var(--c-text-2); margin-top: auto; padding-top: var(--s-2); }
.price-card2:hover .price-card2__go { color: #fff; }
.price-card2__go svg { width: 14px; height: 14px; }
@media (max-width: 1023px) { .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); } .price-card2__row { flex-direction: column; align-items: start; gap: 4px; } .price-card2__row .right { text-align: left; } }

/* Анонс для бизнеса */
.b2b-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: var(--s-6) var(--s-8); align-items: center; padding: clamp(24px, 3vw, 48px); border-radius: var(--r-xl); background: linear-gradient(135deg, #2b2a17 0%, #1f1f1f 70%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.b2b-teaser__actions { display: grid; gap: var(--s-2); }
@media (max-width: 1100px) { .b2b-teaser { grid-template-columns: minmax(0, 1fr); } .b2b-teaser__actions { display: flex; flex-wrap: wrap; } }

/* Анонс программы лояльности — одна строка */
.loyal-strip { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--s-5) var(--s-6); align-items: center; padding: clamp(20px, 2.5vw, 36px); border-radius: var(--r-xl); background: var(--c-green); color: var(--c-green-ink); transition: background-color var(--t); }
.loyal-strip:hover { background: var(--c-green-hover); }
.loyal-strip .eyebrow { color: var(--c-green-ink); }
.loyal-strip .eyebrow::before { background: var(--c-green-ink); }
.loyal-strip__copy { display: grid; gap: 6px; }
.loyal-strip__title { font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.loyal-strip__text { color: rgba(4,20,10,.78); }
.loyal-strip__facts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.loyal-strip .chip { background: rgba(4,20,10,.12); color: var(--c-green-ink); font-weight: 700; }
@media (max-width: 1100px) { .loyal-strip { grid-template-columns: minmax(0, 1fr); } .loyal-strip .btn { justify-self: start; } }

/* Отзывы: ссылки на площадки отзывов + короткие цитаты */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.trust__card { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-surface); transition: background-color var(--t); }
a.trust__card:hover { background: var(--c-raised); }
.trust__card--empty { opacity: .8; box-shadow: inset 0 0 0 1px dashed var(--c-border); }
.trust__name { font-size: var(--fs-h3); font-weight: 700; }
.trust__meta { color: var(--c-text-2); }
.trust__go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--c-green); }
.trust__go svg { width: 14px; height: 14px; }
.quote-card { padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-bg); box-shadow: inset 3px 0 0 var(--c-green); display: grid; gap: var(--s-3); align-content: space-between; }
.quote-card blockquote { color: var(--c-text-3); }
@media (max-width: 767px) { .trust { grid-template-columns: minmax(0, 1fr); } }

/* Популярные направления */
.dirs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-6); }
.dirs__col { display: grid; align-content: start; gap: 2px; }
.dirs__col h3 { font-size: var(--fs-sm); font-weight: 700; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--c-text-2); margin-bottom: var(--s-3); }
.dirs__col a { padding: 6px 0; color: var(--c-text-3); transition: color var(--t-fast); }
.dirs__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) { .dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) { .dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5) var(--s-4); } }

/* SEO-текст: показываем начало, остальное — по кнопке. Весь текст в разметке */
.seo-fold.is-folded .seo-fold__body { max-height: 420px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.seo-fold__btn { margin-top: var(--s-5); }
.seo-fold:not(.is-folded) .seo-fold__btn { margin-top: var(--s-6); }

/* Финальный блок главной: на телефоне фото с сайтом в смартфоне уходит в фон под текст */
@media (max-width: 859px) { .final .ph__img { opacity: .3; } }

/* Обучение на страницах площадок: на телефоне фото с инструкцией уходит в фон под текст */
@media (max-width: 859px) { .guide-scene .ph__img { opacity: .3; } }

/* Первые экраны Маркета и видов продукции (логотипы брендов): на телефоне уходят в фон под текст */
@media (max-width: 859px) { .logo-scene .ph__img { opacity: .3; } }

/* =====================================================================
   Адаптивность: поправки поверх компонентов
   Точки: 360 (узкий телефон) · 480 · 640 (большой телефон) · 768 (планшет)
          · 1024 (планшет альбомно / ноутбук) · 1280 · 1800 · 2200 (большие мониторы)
   ===================================================================== */

/* ---------- Большие мониторы: шире контейнер, крупнее базовый шрифт ---------- */
@media (min-width: 1800px) {
  :root { --wrap: 1520px; }
}
@media (min-width: 2200px) {
  html { font-size: 112.5%; }
  :root { --wrap: 1760px; --wrap-text: 840px; }
  .wrap--wide { max-width: 2000px; }
}

/* ---------- Цифры и цены не разрываются ---------- */
.ticket__price, .showcase__prices s, .showcase__prices b, .showcase__save b,
.tier__cb, .route-card__price, .price, .tag { white-space: nowrap; }

/* Цифры в полосе «в цифрах» подстраиваются под ширину своей колонки */
.stats .stat { container-type: inline-size; min-width: 0; }
@media (max-width: 639px) {
  .stats.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); }
  .stats .stat { padding-left: var(--s-3); }
}
@supports (font-size: 1cqi) {
  .stat__value { font-size: clamp(1.75rem, 20cqi, 4rem); }
}

/* ---------- Главная: первый экран ---------- */
/* На ноутбуке 1024–1279 колонке с карточками мало места — карточки уходят под текст */
@media (max-width: 1279px) {
  .home-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .home-hero__copy .hero-title { max-width: 20ch; }
}
/* Планшет и ноутбук: две карточки рядом на всю ширину */
@media (min-width: 640px) and (max-width: 1279px) {
  .home-hero__side { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .home-hero__side > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Сетки на планшете: без «одинокой» карточки в последнем ряду ---------- */
@media (min-width: 640px) and (max-width: 1023px) {
  .grid-3 > :last-child:nth-child(odd),
  .grid-4 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 479px) {
  /* панели и карточки: меньше внутренних отступов — больше места тексту */
  .panel { padding: 24px 16px; border-radius: var(--r-lg); }
  .panel .panel { padding: 20px 16px; }
  .card { padding: 20px 16px; }
  /* кнопки во всю ширину, чтобы в них было легко попасть пальцем */
  .scene .btn, .cta-band__actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 374px) {
  :root { --gutter: 14px; }
  .showcase { grid-template-columns: 80px minmax(0, 1fr); gap: var(--s-3); }
  .showcase__prices { gap: var(--s-4); }
  .tiers { gap: 6px; }
  .tier { padding: var(--s-4) var(--s-3); }
}

/* ---------- Телефон, повёрнутый горизонтально ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .scene--full, .scene--tall { min-height: 0; }
  .scene__content { padding-block: calc(var(--header-h) + 24px) 32px; }
  .home-hero .scene__media, .home-hero .scene__shade { height: 100%; min-height: 0; }
}

/* ---------- Сенсорные экраны: зоны нажатия не меньше 44 px ---------- */
@media (pointer: coarse) {
  .crumbs a, .footer-links a { padding-block: 8px; display: inline-block; }
  .icon-btn { min-width: 44px; min-height: 44px; }
}

/* Подписи заглушек в прототипе: длинные имена файлов переносятся */
.ph__label { overflow-wrap: anywhere; max-width: 100%; }

/* Подвал: 5 колонок ссылок; на ноутбуке — 3 в ряд */
@media (min-width: 1024px) and (max-width: 1279px) { .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Главная, первый экран: текст начинается сразу под шапкой, без пустого поля сверху.
   Высота экрана больше не растягивается на весь монитор — фото заполняет блок по высоте текста */
@media (min-width: 768px) {
  .home-hero.scene--full { min-height: 0; }
  .home-hero .scene__content { padding-top: calc(var(--header-h) + clamp(40px, 4vw, 64px)); padding-bottom: clamp(48px, 5vw, 80px); }
}

/* ---------- Меньше пустого места (замечание по превью) ----------
   1) Первые экраны с фоном больше не растягиваются на всю высоту окна:
      текст начинается сразу под шапкой, фон заполняет блок по высоте текста.
   2) Отступы между блоками плотнее: было до 128 px с каждой стороны, стало до 88 px. */
:root { --section-y: clamp(48px, 3vw + 32px, 88px); }
.section--tight { padding-block: clamp(40px, 3vw + 20px, 64px); }
.scene--full, .scene--tall { min-height: 0; }
main > .scene:first-child .scene__content {
  padding-top: calc(var(--header-h) + clamp(40px, 4vw, 64px));
  padding-bottom: clamp(48px, 5vw, 80px);
}
/* Блоки с фото в середине страницы: без отступа под шапку, которой там нет */
main > .scene:not(:first-child) .scene__content { padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(48px, 5vw, 80px); }
.scene--band { min-height: clamp(360px, 48svh, 600px); }
.scene--strip { min-height: clamp(280px, 36svh, 440px); }

/* ==========================================================================
   Чистое оформление (замечания владельца, 11.11.2026)
   — один фирменный цвет фона: без чередования чёрный/серый, без цветных градиентов в шапках страниц;
   — без шаблонных украшений: надзаголовков, чёрточек, точек, декоративных иконок;
   — оставшиеся иконки (услуги, маршруты) — в одном аккуратном стиле.
   Файл подключается последним и перекрывает базовые стили.
   ========================================================================== */

/* ---------- Один цвет фона ---------- */
.section--alt { background: transparent; }
.section + .section,
.section--alt + .section,
.section + .section--alt { padding-top: 0; }
.phead::before { display: none; }
.scene { background: var(--c-bg); }
.site-footer, .kb-footer { background: var(--c-bg); border-top: 1px solid var(--c-line); }
.stats-band { border-block: 0; }

/* карточки выглядят одинаково в любой секции */
.section--alt :is(.card, .tile, .linkrow, .brand-card, .guide-card, .city-card, .brand-tile) { background: var(--c-bg-2); }
.section--alt :is(.card--link, a.card, .tile, .linkrow, .brand-card, .guide-card, .city-card, .brand-tile):hover { background: var(--c-surface); }
.section--alt .card--surface, .section--alt .review { background: var(--c-surface); }
.section--alt .panel { background: var(--c-bg-2); }
.section--alt .route__dot { background: var(--c-bg); }

/* ---------- Без надзаголовков и чёрточек ---------- */
.eyebrow { display: none !important; }
.usp__k { display: none; }

/* Цифры на главной: вместо вертикальных зелёных черт — спокойные плитки */
.stats { gap: var(--s-3); }
.stats .stat {
  padding: var(--s-5) var(--s-5) var(--s-5);
  border-left: 0 !important;
  border-radius: var(--r-lg);
  background: var(--c-bg-2);
  box-shadow: inset 0 0 0 1px var(--c-line);
}
.stats .stat__value { color: #fff; }
.stats .stat__value span { color: var(--c-green); }
.stats .stat__label { margin-top: 6px; color: var(--c-text-3); }
@media (max-width: 767px) { .stats .stat { padding: var(--s-4); } }

/* Путь посылки: подписи через стрелку, без точек и пунктира */
.lane { gap: 6px 10px; }
.lane__node::before { display: none; }
.lane__line { flex: 0 0 auto; min-width: 0; width: auto; height: auto; background: none; }
.lane__line::before { content: "→"; color: var(--c-text-3); }

/* Шаги «Как это работает»: карточки с номером, без кружков и пунктирной линии */
.route { gap: var(--s-3); }
.route::before { display: none; }
.route__step { padding: var(--s-5); border-radius: var(--r-lg); background: var(--c-bg-2); }
.route__dot {
  width: auto; height: auto; display: block; border-radius: 0;
  background: none !important; box-shadow: none !important;
  color: var(--c-green) !important; font-size: .875rem; font-weight: 700; letter-spacing: .02em;
}
.route__dot::before { content: "Шаг "; }
.route__step h3 { margin-top: var(--s-2); }
@media (max-width: 899px) {
  .route { gap: var(--s-3); }
  .route::before { display: none; }
  .route__step { display: block; padding: var(--s-4) var(--s-5); }
  .route__step h3 { margin-top: var(--s-2); }
}

/* Отзывы и цитаты без зелёной полосы слева */
.quote-card, .quote-list blockquote { box-shadow: inset 0 0 0 1px var(--c-line); }
.prose blockquote { border-left: 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--c-bg-2); }

/* Списки, где раньше стояли галочки: аккуратные строки с разделителями */
.checklist { gap: 0; }
.checklist li { display: block; padding: 12px 0; border-top: 1px solid var(--c-line); }
.checklist li:first-child { border-top: 0; padding-top: 0; }
.vs__list li { grid-template-columns: minmax(0, 1fr); }
.vs__list li.is-bad { grid-template-columns: 24px minmax(0, 1fr); }
.vs__label { font-size: var(--fs-sm); font-weight: 700; color: var(--c-text-3); }
.vs__col.is-good .vs__label { color: var(--c-green); }

/* Преимущества: без колонки под иконку */
.adv__item { grid-template-columns: minmax(0, 1fr); }

/* ---------- Иконки услуг и маршрутов: один стиль ---------- */
.svc-icon {
  width: 48px; height: 48px; flex: none;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(30, 215, 96, .1);
  color: var(--c-green);
}
.svc-icon svg { width: 24px; height: 24px; stroke-width: 1.75; }
.route-card .svc-icon { margin-bottom: var(--s-5); }
.wd-service .svc-icon { margin-bottom: var(--s-4); }

/* ---------- Карточки на главной ---------- */
.svc3 { gap: var(--s-3); }
.svc3__card {
  gap: var(--s-3); padding: var(--s-6);
  background: var(--c-bg-2);
  box-shadow: inset 0 0 0 1px var(--c-line);
  transition: box-shadow var(--t), background-color var(--t), transform var(--t);
}
.svc3__card:hover { background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-green-border); transform: translateY(-2px); }
.svc3__title { margin-top: var(--s-3); }
.svc3__link { margin-top: auto; padding-top: var(--s-2); }

.usp { gap: var(--s-3); }
.usp__card { background: var(--c-bg-2); box-shadow: inset 0 0 0 1px var(--c-line); transition: box-shadow var(--t), background-color var(--t); }
.usp__card:hover { background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-green-border); }
.usp__card--main { background: var(--c-bg-2); box-shadow: inset 0 0 0 1px var(--c-green-border); }
.usp__v { color: #fff; }
.usp__card--main .usp__v { color: var(--c-green); }
.usp__v small { color: var(--c-text-3); font-weight: 600; }
.usp__d { color: var(--c-text-2); }
.usp__link { color: var(--c-green); margin-top: var(--s-3); }

/* Тарифы: подпись «для физических лиц» */
.tmini__aud { display: block; margin-top: 2px; font-size: .6875rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-text-3); }
.route-card__aud { margin-top: 4px; font-size: var(--fs-sm); font-weight: 700; color: var(--c-green); }
.route-card__more { display: inline-block; margin-top: var(--s-3); font-size: var(--fs-sm); }
.platform-card__note { color: var(--c-green); font-weight: 600; }

/* ---------- Блок «Рассчитайте цену доставки» со схемой маршрутов ---------- */
.calc-map {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--c-bg-2); box-shadow: inset 0 0 0 1px var(--c-line);
}
.calc-map__legend { list-style: none; margin-top: var(--s-6); display: grid; }
.calc-map__legend li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--c-line); }
.calc-map__legend li:last-child { border-bottom: 1px solid var(--c-line); }
.calc-map__swatch { width: 28px; height: 6px; }
.calc-map__name { font-size: .9375rem; color: var(--c-text-2); line-height: 1.35; }
.calc-map__name b { color: #fff; }
.calc-map__name span { display: block; font-size: var(--fs-sm); color: var(--c-text-3); }
.calc-map__val { display: grid; text-align: right; white-space: nowrap; }
.calc-map__val b { color: #fff; }
.calc-map__val span { font-size: var(--fs-sm); color: var(--c-text-3); }
.calc-map__fig { margin: 0; }
.calc-map__fig svg { display: block; width: 100%; height: auto; }
.calc-map__fig figcaption { margin-top: var(--s-3); }
.calc-map__city { font: 600 30px/1 var(--font, Onest, sans-serif); fill: rgba(255,255,255,.85); paint-order: stroke; stroke: #181818; stroke-width: 8px; stroke-linejoin: round; }
.calc-map__city.is-hub { font-weight: 800; fill: #fff; }
@media (max-width: 959px) { .calc-map { grid-template-columns: minmax(0, 1fr); } .calc-map__fig { order: -1; } }
@media (max-width: 479px) { .calc-map__city { font-size: 38px; } }

/* Белая доставка для юрлиц: заголовок длиннее — чуть меньше кегль; строка-преимущество без плашки */
#wd-h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4.75rem); line-height: 1.02; }
.wd-adv { display: block; padding: 0; border-radius: 0; background: none; color: #fff; font-weight: 600; font-size: 1rem; }

/* Блоки, где стояли иконки: без пустой колонки под значок */
.extra-card, .weight__example, .wh-facts li { grid-template-columns: minmax(0, 1fr); }
.wh-facts li { padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: rgba(24, 24, 24, .72); }
/* Заметки и предупреждения: рамка вместо цветной черты слева */
.alert { border-left: 0; box-shadow: inset 0 0 0 1px var(--c-line); }
.alert--warn { box-shadow: inset 0 0 0 1px rgba(255, 164, 43, .35); }
.alert--success { box-shadow: inset 0 0 0 1px var(--c-green-border); }
.alert--error { box-shadow: inset 0 0 0 1px rgba(241, 94, 108, .4); }
