/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Oct 31 2026 | 07:11:00 */
/* =========================================================
   WILLBEDONE — единые стили сайта (SCOPED-версия от 03.05.2026)
   Для WordPress + Impreza. Подключать ОДИН раз через
   Woody snippets → CSS snippet «Willbedone Styles».

   ОТЛИЧИЕ от обычной версии:
   все типографические правила (h1-h4, p, a) и section { padding }
   привязаны к нашим классам (.hero, .benefits-section и т.д.).
   Глобальные теги body/h1-h4/p/a/section НЕ трогаем —
   чужие блоки темы Impreza на странице не пострадают.
   ========================================================= */

/* =========================================================
   ПЕРЕМЕННЫЕ — единый набор для всего сайта
   ========================================================= */
:root {
  --accent: #646cfe;
  --accent-dark: #5159E8;
  --accent-soft: #eef0ff;
  --success: #20941F;
  --text: #1A1A2E;
  --text-muted: #5b5b73;
  --text-faint: #8b8da0;
  --surface: #f3f4f7;
  --border: #e6e7ec;
  --border-strong: #d4d6de;
  --bg: #ffffff;
  --container: 1200px;
}

/* =========================================================
   БАЗОВЫЕ СБРОСЫ И ТИПОГРАФИКА
   Шрифты Unbounded и Rubik подключены через Impreza →
   Внешний вид → Темы → Шрифты. Здесь только font-family.

   ВАЖНО: глобальные теги (body, h1-h4, p, a, section) НЕ трогаем,
   чтобы не ломать чужие блоки темы Impreza. Все типографические
   стили навешены на наши классы (.hero, .benefits-section и т.д.)
   ========================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* overflow-x: hidden нужен глобально — наши блоки растягиваются
   на 100vw через -50vw margin, и без этого появляется горизонтальный
   скролл. Это единственное правило для body — оно безопасно для Impreza.

   22.09.2026: hidden делает body скролл-контейнером и тем самым ОТКЛЮЧАЕТ
   position:sticky у всех потомков — оглавление статей блога (.art-sidebar,
   sticky top:150px) не прилипало ни в одной статье. `overflow-x: clip`
   обрезает так же, но scroll container не создаёт, и sticky работает.
   Под @supports, чтобы браузеры без clip (Safari < 16) остались на hidden. */
body { overflow-x: hidden; }
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   ТИПОГРАФИКА ВНУТРИ НАШИХ БЛОКОВ
   Раньше это были глобальные правила для h1/h2/h3/h4 — теперь
   привязаны к нашим классам, чтобы не ломать чужие блоки Impreza.
   ========================================================= */

/* H1 — hero / blog-hero / cat-hero / contacts / calc-page */
.hero h1,
.blog-hero h1,
.cat-hero h1,
.cat-hero-title,
.contacts-section h1,
.calc-hero h1 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}

/* H2 — все секции с .section-head h2 + индивидуальные */
.section-head h2,
.control-intro-text h2,
.wms-info h2,
.why-head h2,
.examples-section .section-head h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
}

/* H3 — Unbounded (разделители, заголовки карточек примеров) */
.control-divider h3,
.example-card h3,
.example-volume h3 {
  font-family: 'Rubik', system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0;
}

/* H4 — внутри аккордеонов */
.accordion-col h4,
.footer-col h4 {
  font-family: 'Rubik', system-ui, sans-serif;
  color: var(--text);
  margin: 0;
}

/* Сброс margin для p внутри наших блоков (раньше глобально p { margin: 0 }) */
.hero p,
.benefits-section p,
.calc-section p,
.control-section p,
.process-section p,
#responsibility p,
.examples-section p,
.wms-section p,
.why-section p,
.blog-hero p,
.cat-hero p,
.contacts-section p,
.site-footer p,
.calc-hero p,
.free-card p,
.faq-body p,
.cta-section p {
  margin: 0;
}

/* Ссылки внутри наших блоков (раньше глобально a { color: ...; text-decoration: none }) */
.hero a,
.benefits-section a,
.calc-section a,
.control-section a,
.process-section a,
#responsibility a,
.examples-section a,
.wms-section a,
.why-section a,
.blog-hero a,
.cat-hero a,
.contacts-section a,
.site-footer a {
  color: var(--accent-dark);
  text-decoration: none;
}
.hero a:hover,
.benefits-section a:hover,
.calc-section a:hover,
.control-section a:hover,
.process-section a:hover,
#responsibility a:hover,
.examples-section a:hover,
.wms-section a:hover,
.why-section a:hover,
.blog-hero a:hover,
.cat-hero a:hover,
.contacts-section a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Глобальное `section { padding }` НЕ ставим — оно бы лезло в чужие
   блоки темы Impreza. У каждого нашего блока — свой padding ниже
   (.benefits-section, .examples-section, .why-section и т.д.). */

/* Универсальные шапки секций */
.eyebrow {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.section-head {
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

/* Универсальный lead-параграф (используется в hero, blog-hero, cat-hero) */
.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 52ch;
}

/* =========================================================
   КНОПКИ (универсальные)
   ========================================================= */
/* Обновление 19.07.2026: кнопки приведены к виду страницы «Доставка
   из Китая» — системный шрифт (решение владельца: НЕ Unbounded и не Rubik),
   единые 15px/20px на всех кнопках, паддинги 16×28, радиус 12, светлый
   блик сверху, цветная тень, подъём на hover.
   Цвет по умолчанию — синий; красный вариант — .btn-red (в конце файла). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1),
              background-color .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 14px color-mix(in srgb, var(--accent) 28%, transparent);
}
.btn-primary:active { transform: translateY(1px); }
.btn-success { background: var(--success); color: #fff; }
.btn-success:active { transform: translateY(1px); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}
/* hover применяется только на устройствах с курсором — на тачах не «зависает» */
@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 8px 22px color-mix(in srgb, var(--accent) 35%, transparent);
    text-decoration: none;
  }
  .btn-success:hover { background: #1a7c19; text-decoration: none; }
  .btn-secondary:hover { border-color: var(--text); text-decoration: none; }
}

/* =========================================================
   HERO — первый экран главной
   ========================================================= */
.hero {
  padding: 24px 0 0;
  background: var(--surface);
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
@media (min-width: 980px) {
  .hero { padding: 32px 0 0; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.hero h1 { margin-bottom: 22px; font-size: clamp(30px, 4vw, 48px); }
.hero .lead { margin-bottom: 32px; }

.hero-bonus {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  margin-bottom: 32px;
  padding: 14px 18px 16px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  max-width: 560px;
}
.hero-bonus-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.hero-bonus-icon svg { width: 22px; height: 22px; }
.hero-bonus-title {
  font-size: 15px;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0;
}
.hero-bonus-title strong { font-weight: 700; color: var(--accent); }
.hero-bonus-condition {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted);
  margin-top: 4px;
  padding-left: 18px;
}
.hero-bonus-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}
.hero-bonus-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
  position: relative;
  padding-left: 18px;
}
.hero-bonus-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23646cfe' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.hero-bonus-item-name { flex: 1 1 auto; min-width: 160px; color: var(--text); }
.hero-bonus-item-price { white-space: nowrap; }
.hero-bonus-item-price b { font-weight: 600; color: var(--accent); }
.hero-bonus-item-price s { font-weight: 400; color: var(--text-muted); margin-left: 4px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 560px;
}

/* CTA-кнопка: ровная синяя заливка. Старый переливающийся градиент
   (btn-grad-spin) вычищен 19.07.2026 — больше не используем. Актуальный
   акцентный вид — кнопка-змейка .btn-snake (блок в конце файла). */
.btn-cta-gradient {
  width: 100%;
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border: 0;
  white-space: normal;
  background: var(--accent);
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--accent) 65%, transparent);
  transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease;
}
@media (hover: hover) {
  .btn-cta-gradient:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent) 75%, transparent);
    text-decoration: none;
  }
}
.btn-cta-gradient:active { transform: translateY(1px); }
/* В hero-cta теперь две кнопки — снимаем width:100% у градиентной и делим пространство
   поровну. Шрифт и паддинги ужимаем, чтобы обе надписи влезали в одну строку.
   Глобальный .btn-cta-gradient остаётся как был (одна кнопка во всю ширину в других
   местах сайта). */
.hero-cta .btn-cta-gradient {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 18px;
  white-space: nowrap;
}
/* Гарантия для <a class="btn-cta-gradient">: глобальные стили <a> (особенно на проде
   с WP/Impreza) могут перекрыть color на синий и background-image — и кнопка теряет
   и белый текст, и анимированный градиент-блик. Явно фиксируем то и другое. */
a.btn-cta-gradient,
a.btn-cta-gradient:visited,
a.btn-cta-gradient:focus,
a.btn-cta-gradient:active {
  color: #fff;
  text-decoration: none;
  background: var(--accent);
}
@media (hover: hover) {
  a.btn-cta-gradient:hover { color: #fff; text-decoration: none; background: var(--accent-dark); }
}

/* ---- Hero-кнопки: змейка только на ГЛАВНОЙ кнопке «Получить расчёт» ----
   Первая кнопка (<button> с callmodal1) — ровная синяя заливка + бегущая зелёная
   искра по контуру (как на странице «Доставка из Китая»). Вторая, «Рассчитать
   самостоятельно» (<a>), остаётся ровно синей без змейки: одна движущаяся кнопка
   ведёт глаз, вторая спокойная — иерархия без перегруза движением.
   Техника змейки: два фоновых слоя — синий по padding-box (заливка) + conic по
   border-box (кольцо 2px), угол крутим через @property --snake-angle. Скоуп
   .hero-cta: прочие .btn-cta-gradient на сайте не затронуты. */
@property --snake-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.hero-cta button.btn-cta-gradient,
.hero-cta button.btn-cta-gradient:hover,
.hero-cta button.btn-cta-gradient:focus,
.hero-cta button.btn-cta-gradient:active {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--accent), var(--accent)) padding-box,
    conic-gradient(from var(--snake-angle),
      transparent 0 66%,
      color-mix(in srgb, var(--success) 35%, transparent) 73%,
      oklch(0.72 0.2 150) 82%,      /* тело искры — яркий зелёный */
      oklch(0.96 0.12 150) 86%,     /* раскалённое ядро — почти белый */
      oklch(0.72 0.2 150) 90%,
      transparent 96% 100%) border-box;
  animation: btn-snake-run 2.4s linear infinite;
}
@keyframes btn-snake-run { to { --snake-angle: 360deg; } }
/* «Рассчитать самостоятельно» (<a>) — ровный синий, без змейки и без бегущего
   градиента-заливки. Геометрия пиксель-в-пиксель как у кнопки со змейкой: 2px
   прозрачный бордюр + синий по padding-box (вдавлен на 2px, как у соседа), иначе
   заливка до края делает кнопку визуально крупнее. Разница только в том, что тут
   кольцо-бордюр пустое, а у соседа в нём бежит искра. Перекрываем глобальное
   a.btn-cta-gradient (fill + spin) и его :hover. */
.hero-cta a.btn-cta-gradient,
.hero-cta a.btn-cta-gradient:hover,
.hero-cta a.btn-cta-gradient:visited,
.hero-cta a.btn-cta-gradient:focus,
.hero-cta a.btn-cta-gradient:active {
  border: 2px solid transparent;
  background: linear-gradient(var(--accent), var(--accent)) padding-box;
  color: #fff;
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta button.btn-cta-gradient { animation: none; }
}

@media (max-width: 600px) {
  .hero-grid > div {
    text-align: center;
    width: 100%;
    min-width: 0;
  }
  .hero h1 { text-wrap: balance; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-logos { justify-content: center; }
  .hero-bonus {
    max-width: none;
    width: 100%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    width: 100%;
  }
  /* Под column-направлением flex-basis:0 даёт нулевую высоту — возвращаем auto. */
  .hero-cta .btn { width: 100%; max-width: 100%; }
  .hero-cta .btn-cta-gradient { flex: 0 0 auto; }
}

.hero-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-logos img {
  height: 32px;
  width: auto;
  opacity: 0.9;
  transition: opacity .15s ease;
}
.hero-logos img:hover { opacity: 1; }
@media (max-width: 600px) {
  .hero-logos { gap: 24px; margin-bottom: 24px; justify-content: center; }
  .hero-logos img { height: 26px; }
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 320px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 78%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: bottom center;
}
@media (max-width: 980px) {
  .hero-visual { display: none; }
}
.hero-visual-mobile { display: none; }
@media (max-width: 980px) {
  .hero-visual-mobile {
    display: flex;
    justify-content: center;
    margin: 8px 0 24px;
  }
  .hero-visual-mobile img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
  }
}

/* Hero stats — трио метрик в стиле .wms-stats: одна карточка, белые ячейки на серой подложке */
.hero-stats {
  margin: 24px 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  align-items: stretch;
}
.hero-stats-item {
  background: #fff;
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-stats-num {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}
.hero-stats-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.hero-stats-text strong {
  font-weight: 600;
  color: var(--text);
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats-item { padding: 20px 22px 22px; }
}

/* =========================================================
   BENEFITS — преимущества работы с willbedone
   ========================================================= */
.benefits-section {
  background: var(--surface);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* свой padding (раньше брался из глобального section { padding: 64px 0 }) */
  padding: 64px 0;
}
@media (max-width: 720px) {
  .benefits-section { padding: 42px 0; }
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 48px;
}
@media (max-width: 980px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }

.benefit {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}
.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.benefit-icon svg { width: 20px; height: 20px; }
.benefit h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 6px;
  color: var(--text);
}
.benefit p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================================
   CALCULATOR — калькулятор фулфилмента
   ========================================================= */
.calc-section {
  background: var(--surface);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* уменьшенный padding — для соседства с control-section/scenarios */
  padding-top: 40px;
  padding-bottom: 80px;
}
@media (max-width: 720px) {
  .calc-section { padding-top: 32px; padding-bottom: 56px; }
}
#calculator .section-head {
  margin: 0 auto 56px;
  text-align: center;
}
#calculator .section-head p { margin: 0 auto; }

.calc {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
}
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}
@media (max-width: 600px) {
  .calc {
    padding: 20px;
    gap: 20px;
    border-radius: 14px;
  }
  .calc-form { gap: 18px; }
  .field-pair { grid-template-columns: 1fr; gap: 14px; }
}

.calc-form { display: flex; flex-direction: column; gap: 22px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.field-hint { font-size: 13px; color: var(--text-muted); }

.input, .select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  background: #fff;
  color: var(--text);
  transition: border-color .15s ease;
}
.input:focus, .select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.field-group-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.check-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
@media (max-width: 480px) { .check-group { grid-template-columns: 1fr; } }

/* карточка-кнопка операции — причёсана: тоньше грань, компактнее, лёгкий активный фон */
.check {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  background: #f6f7f9;                 /* = поля .input/.select (единый стиль) */
  transition: border-color .15s ease, background .15s ease;
  font-size: 13.5px;                   /* = поля */
  font-weight: 500;
  line-height: 1.2;
}
.check:hover { border-color: var(--border-strong); background: #f1f2f5; }  /* = hover полей */
.check.is-active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
/* кастомный аккуратный чекбокс (по мотивам uiverse tricky-yak-97): скрываем нативный,
   рисуем квадрат radius 5 с белой галочкой-штрихом. !important — защита от Impreza,
   которая инпутам навязывает --inputs-height (иначе чекбокс растянется в высокий прямоугольник) */
.check input {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  box-sizing: border-box !important;   /* тема ставит content-box → рамка добавляла +3px к размеру */
  position: relative; flex: 0 0 auto;
  width: 20px !important; height: 20px !important; min-height: 20px !important;
  margin: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}
.check input:hover { border-color: var(--accent); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input::before {
  content: ""; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.5L6 12.5L14 1.5'/%3E%3C/svg%3E") center/11px no-repeat;
  opacity: 0; transform: scale(.6);
  transition: opacity .16s ease, transform .22s cubic-bezier(.2,.8,.3,1.3);
}
.check input:checked::before { opacity: 1; transform: scale(1); }

.calc-result {
  background: var(--surface);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
@media (max-width: 600px) {
  .calc-result {
    padding: 20px;
    min-height: 0;
  }
  .calc-amount { font-size: 32px; }
  .calc-cta { height: 52px; }
}
.calc-result-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.calc-amount {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.calc-amount-period {
  font-size: 16px;
  color: var(--text-muted);
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
}
.calc-per-unit {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.calc-per-unit strong {
  color: var(--text);
  font-weight: 500;
}
.calc-breakdown {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
}
.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed var(--border);
}
.calc-breakdown div:last-child { border-bottom: 0; }
.calc-breakdown .calc-breakdown-note {
  display: block;
  border-bottom: 0;
  padding: 10px 0 2px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.75;
}
.calc-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* кнопка CTA калькулятора — крупнее базовой, вес единый (19.07.2026) */
.calc-cta {
  margin-top: 16px;
  width: 100%;
  height: 56px;
  letter-spacing: 0;
}
.calc-result .calc-cta-note {
  display: block;
  margin: 14px 0 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  font-weight: inherit !important;
  color: var(--text-muted) !important;
  text-align: center;
}
.calc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.calc-result .calc-cta-note + .calc-cta-row {
  margin-top: 4px !important;
}
.calc-cta-row .calc-cta {
  margin-top: 0;
  flex: 1 1 180px;
  width: auto;
  height: 48px;
  padding: 10px 14px;
}
@media (max-width: 540px) {
  .calc-cta-row { flex-direction: column; gap: 8px; }
  .calc-cta-row .calc-cta {
    flex: 0 0 auto;
    height: 52px !important;
    min-height: 52px !important;
  }
}

/* =========================================================
   CONTROL — трёхэтапная система контроля
   ========================================================= */
.control-section {
  background: var(--surface);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* асимметричный padding — соседство с другими серыми секциями */
  padding-top: 80px;
  padding-bottom: 40px;
}
@media (max-width: 720px) {
  .control-section { padding-top: 56px; padding-bottom: 32px; }
}

.control-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
@media (max-width: 980px) {
  .control-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
}
.control-intro-text h2 {
  text-wrap: balance;
  margin-bottom: 18px;
}
.control-intro-text p {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
.control-intro-text p + p { margin-top: 14px; }
.control-intro-image {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 24px 48px -28px rgba(15,17,40,.18),
    0 8px 24px -12px rgba(15,17,40,.08);
  background: #fff;
}
.control-intro-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.control-divider {
  text-align: center;
  margin-bottom: 28px;
  padding-top: 8px;
}
.control-divider .eyebrow { margin-bottom: 8px; }
.control-divider h3 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease;
}
.accordion-item[open] { border-color: var(--accent); }

.accordion-summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  transition: background-color .15s ease;
  user-select: none;
}
.accordion-summary::-webkit-details-marker { display: none; }
.accordion-summary::marker { content: ''; }
.accordion-summary:hover { background: color-mix(in srgb, var(--accent) 4%, #fff); }
.accordion-item[open] .accordion-summary { color: var(--accent-dark); }

.accordion-marker {
  flex-shrink: 0;
  width: 18px; height: 18px;
  position: relative;
  color: var(--accent);
}
.accordion-marker::before,
.accordion-marker::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s ease;
}
.accordion-marker::before { top: 8px; left: 0; width: 18px; height: 2px; }
.accordion-marker::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.accordion-item[open] .accordion-marker::before { transform: rotate(45deg); }
.accordion-item[open] .accordion-marker::after  { transform: rotate(45deg); }

.accordion-body {
  padding: 0 28px 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
@media (max-width: 600px) {
  .accordion-summary { padding: 18px 20px; font-size: 16px; gap: 12px; }
  .accordion-body { padding: 20px 20px 22px; padding-top: 20px; }
}

.accordion-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
}
@media (max-width: 720px) {
  .accordion-grid { grid-template-columns: 1fr; gap: 28px; }
}
.accordion-col h4 { margin-bottom: 14px; }
.accordion-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.accordion-col li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}
.accordion-col li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.accordion-col p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =========================================================
   PROCESS — этапы работы
   ========================================================= */
.process-section {
  background: var(--surface);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
/* малый padding — соседство с другими серыми секциями */
#process { padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 720px) {
  #process { padding-top: 28px; padding-bottom: 28px; }
}
.process-section .section-head {
  margin: 0 auto 48px;
  text-align: center;
  max-width: 880px;
}
.process-section .section-head h2 { text-wrap: balance; }
.process-section .section-head p {
  font-size: 16px;
  line-height: 1.6;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

.process-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .15s ease;
  position: relative;
  overflow: hidden;
}
.process-card:hover { border-color: var(--text); }
.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%);
  pointer-events: none;
}

.process-title {
  font-family: 'Rubik', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.process-num {
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}
.process-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.process-card p strong {
  color: var(--text);
  font-weight: 500;
}
.process-card p + p { margin-top: 12px; }

/* =========================================================
   RESPONSIBILITY — матрица ответственности
   ========================================================= */
#responsibility {
  padding-top: 56px;
  padding-bottom: 32px;
}
@media (max-width: 720px) {
  #responsibility {
    padding-top: 40px;
    padding-bottom: 24px;
  }
}
#responsibility .section-head {
  margin: 0 auto 36px;
  text-align: center;
}
#responsibility .eyebrow { margin-bottom: 12px; }
#responsibility .section-head h2 { margin-bottom: 12px; }
#responsibility .section-head p { margin: 0 auto; }

.resp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .resp-grid { grid-template-columns: 1fr; } }

.resp-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease;
}
.resp-card:hover { border-color: var(--border-strong); }

.resp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  align-self: flex-start;
  line-height: 1;
}
.resp-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.resp-badge--green {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 10%, #fff);
}
.resp-badge--blue {
  color: var(--accent-dark);
  background: color-mix(in srgb, var(--accent) 10%, #fff);
}
.resp-badge--amber {
  color: #b45309;
  background: rgba(180, 83, 9, 0.10);
}
.resp-badge--grey {
  color: var(--text-muted);
  background: var(--surface);
}

.resp-card h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  margin: 0;
}
.resp-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.resp-link { margin-top: 24px; font-size: 15px; }

/* =========================================================
   SCENARIOS — примеры расчётов / цены
   ========================================================= */
.examples-section {
  background: var(--surface);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  /* свой padding (раньше брался из глобального section { padding: 64px 0 }) */
  padding: 64px 0;
}
@media (max-width: 720px) {
  .examples-section { border-radius: 16px; padding: 42px 0; }
}
.examples-section .section-head {
  max-width: 760px;
}
.examples-section .section-head h2 {
  text-wrap: balance;
  margin-bottom: 14px;
}
.examples-section .section-head p {
  font-size: 16px;
  line-height: 1.6;
}
.examples-section .section-head a,
.examples-section .section-head .link-btn {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.examples-section .section-head a:hover,
.examples-section .section-head .link-btn:hover { text-decoration: none; }
.examples-section .section-head .link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .examples-grid { grid-template-columns: 1fr; } }

.example-card {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}
.example-tag {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.example-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 6px;
}
.example-card > .example-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
  /* min-height = 3 строки — чтобы пунктирная линия рядов
     стояла на одной высоте у всех 3 карточек */
  min-height: calc(14px * 1.5 * 3);
}
@media (max-width: 900px) {
  .example-card > .example-meta { min-height: 0; }
}
.example-rows {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.example-rows div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px dashed var(--border);
}
.example-rows div:last-of-type { border-bottom: 0; }
.example-rows .example-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  border-bottom: 0;
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
}
.example-rows .example-total span:last-child { font-variant-numeric: tabular-nums; }
.example-rows .example-per-unit {
  display: block;
  border-bottom: 0;
  padding: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.example-rows .example-per-unit strong {
  color: var(--text);
  font-weight: 500;
}

/* Tooltip-иконка с пояснением (для «Отгрузка») */
.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-left: 4px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  font-style: italic;
  cursor: help;
  position: relative;
  vertical-align: -2px;
  line-height: 1;
  padding: 0;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.info-btn::before { content: "i"; }
@media (hover: hover) {
  .info-btn:hover {
    background: var(--text);
    color: #fff;
    border-color: var(--text);
  }
}
.info-btn:focus-visible {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  outline: none;
}

.info-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  padding: 10px 12px;
  background: var(--text);
  color: #fff;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  border-radius: 8px;
  box-shadow: 0 8px 24px -8px rgba(15,17,40,.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
  z-index: 10;
  white-space: normal;
}
.info-tip strong { color: #fff; font-weight: 600; }
.info-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text);
}
@media (hover: hover) {
  .info-btn:hover .info-tip { opacity: 1; visibility: visible; }
}
.info-btn:focus-visible .info-tip { opacity: 1; visibility: visible; }

/* Подсказка в калькуляторе — открывается ВЛЕВО (иконка стоит у правого края
   колонки, центрированная подсказка 240px вылезала за край карточки).
   Правый край подсказки прижат к иконке, тело уходит влево; стрелка — под иконкой. */
.calc .info-tip { left: auto; right: -2px; transform: none; }
.calc .info-tip::after { left: auto; right: 6px; transform: none; }

/* выделенная карточка — большой объём, экономия на цене за единицу */
.example-volume {
  margin-top: 16px;
  padding: 36px;
  background: color-mix(in srgb, var(--accent) 5%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--border));
  border-radius: 14px;
}
.example-volume-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 720px) {
  .example-volume { padding: 24px; }
  .example-volume-grid { grid-template-columns: 1fr; gap: 20px; }
}
.example-volume .example-tag { color: var(--accent-dark); }
.example-volume h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.example-volume .example-meta { margin-bottom: 16px; }
.example-savings {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.example-savings-value {
  font-family: 'Rubik', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.example-savings-label {
  font-size: 14px;
  color: var(--text-muted);
}
.example-savings-vs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  background: color-mix(in srgb, var(--success) 12%, #fff);
  color: var(--success);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  line-height: 1;
}
.example-savings-vs::before {
  content: "↓";
  font-weight: 700;
}
.example-volume .example-rows {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}

/* =========================================================
   WMS — личный кабинет и WMS
   ========================================================= */
.wms-section {
  background: var(--surface);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
/* Асимметричный padding — соседство с другими серыми секциями */
#wms { padding-top: 40px; padding-bottom: 40px; }
@media (max-width: 720px) {
  #wms { padding-top: 28px; padding-bottom: 28px; }
}
.wms-section .section-head {
  max-width: 880px;
}
.wms-section .section-head h2 { text-wrap: balance; }
.wms-section .section-head p {
  font-size: 16px;
  line-height: 1.6;
}

.wms-stage {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 32px;
}
@media (max-width: 980px) {
  .wms-stage { grid-template-columns: 1fr; gap: 32px; }
}

.wms-mock-shell {
  background: linear-gradient(180deg, #fbfbfd 0%, #eef0f4 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 10px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.9) inset,
    0 24px 48px -28px rgba(15,17,40,.18),
    0 8px 24px -12px rgba(15,17,40,.08);
  align-self: center;
}
.wms-mock-shell img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
}

.wms-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.wms-info-eyebrow {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.wms-info h2 {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.12;
}
.wms-info > p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}
.wms-points {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wms-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.5;
}
.wms-points li::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235159E8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}
.wms-points li b { font-weight: 500; }

.wms-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
}
.wms-stat {
  background: #fff;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wms-stat .v {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.wms-stat .l {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.45;
}
@media (max-width: 720px) { .wms-stats { grid-template-columns: 1fr; } }

.wms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 980px) { .wms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .wms-grid { grid-template-columns: 1fr; } }

.wms-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.wms-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 110px; height: 110px;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
  pointer-events: none;
}
@media (hover: hover) {
  .wms-card:hover { border-color: var(--text); }
}

.wms-card-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.wms-card-icon svg { width: 20px; height: 20px; }

.wms-card h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 6px;
  color: var(--text);
}
.wms-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =========================================================
   WHY-FULFILMENT — что дают услуги фулфилмента (6 пунктов)
   ========================================================= */
.why-section {
  padding: 64px 0;
  background: #fff;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
@media (max-width: 720px) {
  .why-section { padding: 42px 0; }
}

.why-head {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.why-head h2 { margin-bottom: 16px; text-wrap: balance; }
.why-head p {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .why-head { margin-bottom: 48px; }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 56px;
}
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 40px; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.why-num {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(42px, 4.5vw, 56px);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  position: relative;
  padding-bottom: 10px;
}
.why-num::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.why-item h3 {
  font-size: clamp(18px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
}
.why-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   REVIEWS — отзывы клиентов (скриншоты из Яндекс-Карт)
   Структура: шапка сверху (заголовок+рейтинг+CTA слева, подзаголовок справа),
   ниже masonry-сетка скриншотов на всю ширину контейнера.
   Клик по скриншоту открывает лайтбокс с навигацией ← → + Esc.
   ========================================================= */
.reviews-section {
  background: var(--surface);
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 64px 0;
}
@media (max-width: 720px) {
  .reviews-section { padding: 42px 0; }
}

/* Шапка: eyebrow + H2 + рейтинг и CTA в одной строке */
.reviews-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .reviews-header { gap: 16px; margin-bottom: 28px; }
}
.reviews-header .eyebrow { margin-bottom: 0; }
.reviews-header h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.reviews-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.reviews-rating { line-height: 0; flex-shrink: 0; }
.reviews-rating iframe {
  display: block;
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.reviews-cta { white-space: nowrap; }

/* Жёсткая раскладка по колонкам — никаких rebalance при разворачивании */
.reviews-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
@media (max-width: 1100px) { .reviews-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .reviews-masonry { grid-template-columns: 1fr; } }
.reviews-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  cursor: zoom-in;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.review-card[hidden] { display: none; }
@media (hover: hover) {
  .review-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 14px 36px -18px rgba(15,17,40,.22);
  }
}
.review-card img {
  display: block;
  width: 100%;
  height: auto;
}

.reviews-more {
  display: block;
  margin: 28px auto 0;
}
.reviews-more[hidden] { display: none; }
.reviews-more-count {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-weight: 400;
}

/* Лайтбокс */
.reviews-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15,17,40,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
}
.reviews-lightbox[hidden] { display: none; }
.reviews-lb-img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
}
.reviews-lb-close,
.reviews-lb-prev,
.reviews-lb-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: 0;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
  font-family: 'Rubik', sans-serif;
}
.reviews-lb-close:hover,
.reviews-lb-prev:hover,
.reviews-lb-next:hover {
  background: rgba(255,255,255,.24);
}
.reviews-lb-close { top: 24px; right: 24px; font-size: 28px; }
.reviews-lb-prev  { left: 24px;  top: 50%; transform: translateY(-50%); }
.reviews-lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.reviews-lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 600px) {
  .reviews-lb-close, .reviews-lb-prev, .reviews-lb-next {
    width: 40px; height: 40px;
  }
  .reviews-lb-prev  { left: 8px; }
  .reviews-lb-next  { right: 8px; }
  .reviews-lb-close { top: 8px; right: 8px; }
}

/* =========================================================
   BLOG-HERO — первый экран блога
   ========================================================= */
.blog-hero {
  position: relative;
  padding: 48px 0 48px;
  background: linear-gradient(
    180deg,
    var(--surface) 0%,
    #ffffff 70%
  );
  overflow: hidden;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
@media (max-width: 720px) {
  .blog-hero { padding: 32px 0 36px; }
}

.blog-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* eyebrow в блог-героях — pill-вариант, переопределяет базовый */
.blog-hero .eyebrow,
.cat-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
}
.blog-hero .eyebrow::before,
.cat-hero .eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.blog-hero h1 { margin-bottom: 12px; }
.blog-hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 24px;
}
@media (max-width: 720px) {
  .blog-hero .lead { margin-bottom: 20px; }
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 700px;
  margin: 8px auto 0;
}
.blog-tags-label {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 4px;
}
.blog-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
@media (hover: hover) {
  .blog-tag:hover {
    border-color: var(--text);
    color: var(--text);
    text-decoration: none;
  }
}
.blog-tag.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
@media (max-width: 540px) {
  .blog-tags { gap: 6px; }
  .blog-tag { font-size: 13px; padding: 6px 12px; }
  .blog-tags-label { display: none; }
}

/* =========================================================
   CATEGORY-HERO — шапка страницы категории
   ========================================================= */
.cat-hero {
  position: relative;
  padding: 48px 0 48px;
  background: linear-gradient(
    180deg,
    var(--surface) 0%,
    #ffffff 70%
  );
  overflow: hidden;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
@media (max-width: 720px) {
  .cat-hero { padding: 32px 0 36px; }
}

.cat-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.cat-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.cat-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color .15s ease;
}
.cat-breadcrumbs a:hover { color: var(--text); }
.cat-breadcrumbs .sep {
  color: var(--text-faint);
  user-select: none;
}
.cat-breadcrumbs .current {
  color: var(--text);
  font-weight: 500;
}

.cat-hero-title { margin-bottom: 12px; }
.cat-hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto 24px;
}
.cat-hero-count {
  display: inline-block;
  margin-top: -8px;
  margin-bottom: 22px;
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.cat-hero-count strong {
  color: var(--text);
  font-weight: 500;
  margin-right: 4px;
}

.cat-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 700px;
  margin: 8px auto 0;
}
.cat-tags-label {
  font-size: 13px;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 4px;
}
.cat-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
@media (hover: hover) {
  .cat-tag:hover {
    border-color: var(--text);
    color: var(--text);
    text-decoration: none;
  }
}
.cat-tag.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
@media (max-width: 540px) {
  .cat-tags { gap: 6px; }
  .cat-tag { font-size: 13px; padding: 6px 12px; }
  .cat-tags-label { display: none; }
}

/* =========================================================
   FOOTER — подвал сайта
   ========================================================= */
.site-footer {
  background: var(--surface);
  padding: 64px 0 28px;
  font-size: 14px;
  color: var(--text-muted);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 28px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

.footer-brand .footer-logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 18px;
}
.footer-brand .footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-brand p {
  margin: 0 0 18px;
  max-width: 38ch;
  line-height: 1.55;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-legal {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-faint);
}
.footer-legal span { display: block; }

.footer-col h4 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li { line-height: 1.4; }
.footer-col a,
.footer-contacts a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color .15s ease;
}
.footer-col a:hover,
.footer-contacts a:hover { color: var(--text); }

.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contacts strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.footer-contacts .footer-row-label {
  display: block;
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.footer-messengers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-messengers a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: border-color .15s ease, background-color .15s ease;
}
.footer-messengers a:hover {
  border-color: var(--text);
  background: var(--surface);
}
.footer-messengers svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-strong);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.5;
}
.footer-bottom a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color .15s ease;
}
.footer-bottom a:hover { color: var(--text); }
.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================================================
   CONTACTS — страница «Контакты»
   ========================================================= */
.contacts-section {
  /* breakout: Impreza оборачивает наш блок в узкий .l-section-inner —
     растягиваемся на всю ширину viewport, как и другие наши секции
     (.hero, .benefits-section, .blog-hero и т.д.) */
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 56px 0 80px;
  background: var(--bg);
}
@media (max-width: 720px) {
  .contacts-section { padding: 36px 0 56px; }
}

.contacts-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}
.contacts-section h1 {
  margin-bottom: 18px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.contacts-section .lead {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 720px) {
  .contacts-head { margin-bottom: 32px; }
  .contacts-section h1 { font-size: clamp(24px, 7vw, 32px); line-height: 1.15; }
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 1023px) {
  .contacts-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }
}

.contacts-info {
  font-style: normal;
}
.contacts-info dl {
  margin: 0;
  display: grid;
  gap: 24px;
}
.contact-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, #fff);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
}
.contact-row dt {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 4px;
}
.contact-row dd {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
}
.contact-row dd a {
  font-weight: 500;
}

.contacts-map {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 5 / 4;
  max-height: 480px;
  min-height: 380px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
/* Яндекс-конструктор вставляет iframe / ymaps-обёртки с фиксированными
   width/height из URL-параметров скрипта. Растягиваем абсолютным позиционированием
   на весь контейнер — это работает даже когда у родителя только min-height
   (height: 100% у iframe в таком случае возвращает auto и не растягивает). */
.contacts-map iframe,
.contacts-map ymaps,
.contacts-map [class*="ymaps"] {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}
@media (max-width: 1023px) {
  .contacts-map { aspect-ratio: auto; max-height: none; min-height: 420px; }
}
@media (max-width: 600px) {
  .contacts-map { min-height: 320px; border-radius: 14px; }
  .contact-row { gap: 14px; }
  .contact-icon { width: 40px; height: 40px; border-radius: 10px; }
  .contact-icon svg { width: 20px; height: 20px; }
  .contact-row dd { font-size: 16px; }
}

/* =========================================================
   CALCULATOR-PAGE — выделенная страница калькулятора
   5 секций: hero, calculator, free, faq, cta.
   Все стили scoped под (обёртка вокруг секций),
   чтобы не лезть на другие страницы сайта.
   ========================================================= */

/* H2 — белый цвет для тёмной CTA-секции (особый случай) */
.cta-section h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
}

/* H3 в карточках «что бесплатно» — Rubik 16px (не Unbounded) */
.free-card h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--text);
}

/* Скругление CTA-секции — карточный вид (только для cta-section,
   у calc-section на этой странице берём padding из общего .calc-section) */
.cta-section { border-radius: 24px; overflow: hidden; }
@media (max-width: 720px) {
  .cta-section { border-radius: 16px; }
}

/* HERO — заголовок страницы */
.calc-hero { background: transparent; padding: 64px 0 32px; }
@media (max-width: 720px) { .calc-hero { padding: 48px 0 24px; } }
.calc-hero-head {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.calc-hero p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto;
}

/* ЧТО ВКЛЮЧЕНО БЕСПЛАТНО — сетка карточек 3×2 с pill-тегами */
.free-section { background: #fff; padding: 64px 0; }
@media (max-width: 720px) { .free-section { padding: 42px 0; } }
.free-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px) { .free-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .free-grid { grid-template-columns: 1fr; } }
.free-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: border-color .15s ease;
}
.free-card:hover { border-color: var(--border-strong); }
.free-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  background: color-mix(in srgb, var(--success) 10%, #fff);
  color: var(--success);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 12px;
}
.free-card-tag::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.free-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* FAQ — раскрывающиеся карточки <details> с кастомным +/× маркером */
.faq-section { background: #fff; padding: 64px 0; }
@media (max-width: 720px) { .faq-section { padding: 42px 0; } }
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ''; }
.faq details[open] summary { color: var(--accent-dark); }
.faq-marker {
  flex-shrink: 0;
  width: 16px; height: 16px;
  position: relative;
  color: var(--accent);
}
.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .2s ease;
}
.faq-marker::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-marker::after  { top: 0; left: 7px; width: 2px; height: 16px; }
.faq details[open] .faq-marker::before { transform: rotate(45deg); }
.faq details[open] .faq-marker::after  { transform: rotate(45deg); }
.faq-body {
  padding: 0 22px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}
.faq-body p + p { margin-top: 8px; }

/* CTA — тёмная секция с двумя кнопками */
.cta-section {
  background: var(--text);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin: 0 auto 28px;
  max-width: 640px;
  line-height: 1.55;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* белый текст для всех состояний — иначе :visited красится тёмным */
.cta-section a.btn,
.cta-section a.btn:hover,
.cta-section a.btn:visited,
.cta-section a.btn:active,
.cta-section a.btn:focus { color: #fff; }
@media (max-width: 480px) {
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; }
}

/* ---- Синие CTA-кнопки страницы калькулятора: бегущая зелёная змейка (как в hero) ----
   Синяя заливка (--accent) по padding-box + зелёная искра conic по border-box,
   угол крутим общим @property --snake-angle (объявлен в блоке hero-кнопок).
   Только btn-primary (главное действие) — зелёные Telegram-кнопки (btn-success)
   оставляем спокойными: иерархия + без перегруза анимацией. Скоуп только на
   контексты калькулятора (.calc-cta-row, .cta-section), чтобы не задеть btn-primary
   в других местах сайта. Перекрываем hover/focus, иначе .btn-primary:hover вернёт
   сплошной --accent-dark и погасит змейку. */
.calc-cta-row .btn-primary,
.calc-cta-row .btn-primary:hover,
.calc-cta-row .btn-primary:focus,
.calc-cta-row .btn-primary:active,
.cta-section .btn-primary,
.cta-section .btn-primary:hover,
.cta-section .btn-primary:focus,
.cta-section .btn-primary:active {
  border: 2px solid transparent;
  color: #fff;
  background:
    linear-gradient(var(--accent), var(--accent)) padding-box,
    conic-gradient(from var(--snake-angle),
      transparent 0 66%,
      color-mix(in srgb, var(--success) 35%, transparent) 73%,
      oklch(0.72 0.2 150) 82%,      /* тело искры — яркий зелёный */
      oklch(0.96 0.12 150) 86%,     /* раскалённое ядро — почти белый */
      oklch(0.72 0.2 150) 90%,
      transparent 96% 100%) border-box;
  animation: btn-snake-run 2.4s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .calc-cta-row .btn-primary,
  .cta-section .btn-primary { animation: none; }
}

/* =========================================================
   PREFERS-REDUCED-MOTION — собранный в один блок
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =========================================================
   ОТЗЫВЫ — бегущая лента скриншотов + подводка + центр. шапки
   Добавлено 11.07.2026 (заменяет прежнюю masonry-сетку отзывов).
   Прежние правила masonry выше оставлены как подстраховка на случай,
   если на странице остался старый блок отзывов.
   ========================================================= */

/* Отзывы: шапка по центру (как заголовки других секций) */
.reviews-header { align-items: center; text-align: center; }
.reviews-controls { justify-content: center; }

/* Отзывы: подводка-соцдоказательство под заголовком */
.reviews-lead {
  margin: -8px auto 0;           /* по центру; отрицательный top подтягивает к заголовку */
  max-width: 48ch;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--text-muted);
}
.reviews-lead strong {
  color: var(--text);
  font-weight: 600;
}

/* Отзывы: бегущая лента скриншотов */
.reviews-marquee { position: relative; }

/* Статичный фолбэк: без JS и при reduced-motion — обычная сетка */
.reviews-source {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
@media (max-width: 1100px) { .reviews-source { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .reviews-source { grid-template-columns: 1fr; } }
/* Когда JS собрал ленту — источник прячем, показываем движущиеся колонки */
.reviews-marquee[data-on] .reviews-source { display: none; }

.reviews-cols { display: none; }
.reviews-marquee[data-on] .reviews-cols {
  display: flex;
  align-items: flex-start; /* иначе flex растянет треки до высоты окна и сломает петлю */
  gap: 16px;
  height: 680px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
}
@media (max-width: 1100px) { .reviews-marquee[data-on] .reviews-cols { height: 620px; } }
@media (max-width: 600px)  { .reviews-marquee[data-on] .reviews-cols { height: 560px; } }

.reviews-track {
  flex: 1 1 0;
  min-width: 0;
  display: block;
  will-change: transform;
  animation: reviews-scroll var(--dur, 46s) linear infinite;
}
/* margin-bottom вместо gap — чтобы стык двух копий совпал с шагом карточек (бесшовно) */
.reviews-track .review-card { margin: 0 0 16px; }

@keyframes reviews-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

/* Пауза при наведении — чтобы попасть по карточке и открыть её */
@media (hover: hover) {
  .reviews-marquee[data-on] .reviews-cols:hover .reviews-track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}

/* =========================================================
   SEO-TEXT — справочный текст внизу страницы (перед футером).
   Центрированная композиция, как FAQ: заголовок по центру,
   текст центрированной колонкой, мягкое раскрытие
   («Читать дальше», текст растворяется в фон).
   Разметка — blocks/seo-text.html. Добавлено 2026-07-16.

   Настройка на месте вставки:
   - фон растворения = фон секции: style="--seo-bg:#f3f4f7" на <section>
   - высота в свёрнутом виде: --seo-collapsed (по умолчанию 13.5rem)
   - если текст короткий, скрипт сам уберёт кнопку (класс no-toggle)
   ========================================================= */
.seo-text {
  --seo-bg: #fff;
  --seo-collapsed: 13.5rem;
  padding: 56px 0 72px;
}
.seo-text .seo-head {
  text-align: center;
  margin: 0 auto 36px;
}
.seo-text .seo-head .eyebrow { margin-bottom: 12px; }
.seo-text .seo-title {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
/* текст на всю ширину контейнера — меньше строк, шире колонка
   (решение арт-директора 16.07.2026) */
.seo-text .seo-main {
  margin: 0 auto;
}
/* Заголовки внутри текста — настоящие h2 (важно для SEO),
   но стилизованы компактно: блок справочный, не спорит с секциями */
.seo-text .seo-sec h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 10px;
}
.seo-text .seo-sec p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.seo-text .seo-sec p:last-child { margin-bottom: 0; }
.seo-text .seo-sec {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.seo-text .seo-sec:first-child { padding-top: 0; }
.seo-text .seo-sec:last-child { border-bottom: 0; padding-bottom: 0; }

/* свёрнутое состояние: правая колонка обрезана и растворяется в фон */
.seo-text .seo-body {
  max-height: var(--seo-collapsed);
  overflow: hidden;
  position: relative;
  transition: max-height .5s cubic-bezier(.22, .61, .36, 1);
}
.seo-text .seo-body::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 96px;
  background: linear-gradient(to bottom, transparent, var(--seo-bg));
  pointer-events: none;
  opacity: 1;
  transition: opacity .3s ease;
}
.seo-text.is-open .seo-body::after { opacity: 0; }
.seo-text .seo-actions { margin-top: 24px; text-align: center; }

/* короткий текст: скрипт вешает no-toggle — всё видно, кнопки нет */
.seo-text.no-toggle .seo-body { max-height: none; }
.seo-text.no-toggle .seo-body::after { display: none; }
.seo-text.no-toggle .seo-actions { display: none; }

.seo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s ease;
}
@media (hover: hover) {
  .seo-toggle:hover { border-color: var(--text); }
}
.seo-toggle svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  transition: transform .25s ease;
}
.seo-text.is-open .seo-toggle svg { transform: rotate(180deg); }

@media (max-width: 860px) {
  .seo-text { padding: 40px 0 56px; }
  .seo-text .seo-head { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .seo-text .seo-body,
  .seo-toggle svg { transition: none; }
}

/* =========================================================
   НОВОЕ (16.07.2026) — ЕДИНАЯ ГЛАВНАЯ: блоки WHATIS и BLOGROLL
   Добавлено при сведении главной в один Raw HTML (blocks/home-page.html).
   ========================================================= */

/* ---------- WHATIS — «Что такое фулфилмент» (видео + текст) ---------- */
.whatis-section {
  background: #fff;
  padding: 72px 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.whatis-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.whatis-info h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 20px;
  text-wrap: balance;
}
.whatis-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
  max-width: 60ch;
}
.whatis-video {
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #14142b; /* видно, пока грузится плеер */
  box-shadow: 0 2px 6px rgba(20, 20, 46, 0.06), 0 18px 44px rgba(20, 20, 46, 0.12);
}
.whatis-video iframe,
.whatis-video img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.whatis-note {
  margin: 14px 4px 0;
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
@media (max-width: 900px) {
  .whatis-section { padding: 56px 0; }
  .whatis-grid { grid-template-columns: 1fr; gap: 28px; }
  .whatis-info h2 { text-align: center; }
  .whatis-info p { max-width: none; }
  .whatis-video { border-radius: 18px; }
}

/* ---------- BLOGROLL — карусель статей блога ---------- */
.blogroll-section {
  background: #fff;
  padding: 8px 0 64px; /* сверху мало: выше белая why-section со своим низом */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.blogroll-panel {
  background: var(--surface);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
}
.blogroll-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.blogroll-head-text h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 10px;
}
.blogroll-head-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 52ch;
}
.blogroll-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.blogroll-arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.blogroll-arrow:hover:not(:disabled) {
  background: var(--text);
  color: #fff;
}
.blogroll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}
.blogroll-all {
  margin-left: 6px;
  font-family: 'Rubik', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: none;
  white-space: nowrap;
}
.blogroll-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.blogroll-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;       /* Firefox */
  -webkit-overflow-scrolling: touch;
  /* воздух, чтобы тень карточек не резалась панелью */
  margin: 0 -8px;
  padding: 4px 8px 8px;
}
.blogroll-track::-webkit-scrollbar { display: none; }
.blogroll-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
}
.blogroll-link {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(20, 20, 46, 0.05), 0 4px 14px rgba(20, 20, 46, 0.06);
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s;
}
.blogroll-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 4px rgba(20, 20, 46, 0.06), 0 14px 32px rgba(20, 20, 46, 0.12);
  text-decoration: none;
}
.blogroll-cover {
  aspect-ratio: 16 / 9;
  background: var(--border);
}
.blogroll-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blogroll-body { padding: 16px 18px 20px; }
.blogroll-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.blogroll-cat {
  font-family: 'Rubik', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.blogroll-meta time {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  color: var(--text-faint);
}
.blogroll-title {
  font-family: 'Rubik', sans-serif;
  font-size: 16.5px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 720px) {
  .blogroll-section { padding-bottom: 48px; }
  .blogroll-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .blogroll-arrow { display: none; } /* на тач-экране листают свайпом */
  .blogroll-nav { width: 100%; }
  .blogroll-all { margin-left: 0; }
  .blogroll-card { flex-basis: 272px; }
}

/* ---------- ЕДИНАЯ ШИРИНА ЦЕНТРИРОВАННЫХ H2 (16.07.2026) ----------
   До этого рамки заголовков были разные (760/880/1152) и «Что дают
   услуги…» ломался на 3 строки. Теперь одна рамка на все секции:
   влезает — одна строка, не влезает — ровный перенос (text-wrap:balance). */
.section-head h2,
.why-head h2,
.reviews-header h2,
.cta-section h2 {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  text-wrap: balance;
}
/* Снимаем старые узкие рамки с контейнеров шапок — лид-абзацы
   оставляем узкими для читаемости, ограничиваем их отдельно */
.why-head { max-width: none; }
.why-head p { max-width: 760px; margin-left: auto; margin-right: auto; }
.process-section .section-head { max-width: none; }
.process-section .section-head p { max-width: 880px; margin-left: auto; margin-right: auto; }
.examples-section .section-head { max-width: none; }
.examples-section .section-head p { max-width: 880px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ: фон на всю ширину экрана (16.07.2026) ----------
   Единственная секция без full-bleed растяжки: на страницах с серым
   фоном контентной зоны по бокам оставались серые полосы. */
.faq-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- CTA: серая подложка + воздух вокруг тёмной карточки (16.07.2026) ----------
   Раньше тёмная карточка упиралась в границу смены фона (серый → белый).
   Теперь секция — серая full-bleed зона, тёмная карточка живёт на .container,
   снизу и сверху остаётся серый воздух до перехода цвета. */
.cta-section {
  background: var(--surface);
  border-radius: 0;
  overflow: visible;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 24px 24px 56px;
}
.cta-section .container {
  background: var(--text);
  border-radius: 24px;
  padding: 56px 48px;
}
@media (max-width: 720px) {
  .cta-section { padding: 16px 16px 40px; }
  .cta-section .container { border-radius: 16px; padding: 40px 20px; }
}

/* У examples убираем нижнее скругление: под ней теперь всегда серая
   CTA-зона, и в скруглённых углах сквозил белый фон страницы */
.examples-section { border-radius: 24px 24px 0 0; }
@media (max-width: 720px) {
  .examples-section { border-radius: 16px 16px 0 0; }
}

/* =========================================================
   НОВОЕ (16.07.2026) — ЕДИНАЯ ТИПОГРАФИКА ОПИСАТЕЛЬНЫХ ТЕКСТОВ
   До этого описательные абзацы были разнобоем (14–19px, lh 1.5–1.65).
   Теперь два уровня + подписи:
   1) Описательный текст секций (лиды, подзаголовки под H1/H2) — 17px/1.6
   2) Текст внутри карточек — 15px/1.6
   Подписи-сноски (13px) не трогаем.
   ========================================================= */
:root {
  --fs-copy: 17px;   /* описательные абзацы */
  --lh-copy: 1.6;
  --fs-card: 15px;   /* текст карточек */
  --lh-card: 1.6;
}

/* Уровень 1 — описательные абзацы секций */
.hero .lead,
.blog-hero .lead,
.cat-hero .lead,
.calc-hero p,
.reviews-lead,
.whatis-info p,
.control-intro-text p,
.section-head p,
.process-section .section-head p,
.examples-section .section-head p,
.wms-info > p,
.cta-section p,
.why-head p {
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
}

/* Уровень 2 — тексты внутри карточек */
.hero-stats-text,
.wms-card p,
.benefit p,
.process-card p,
.why-item p,
.faq-body p,
.example-meta,
.example-card > .example-meta,
.example-volume .example-meta {
  font-size: var(--fs-card);
  line-height: var(--lh-card);
}

/* =========================================================
   НОВОЕ (16.07.2026, вечер) — examples без скругления вовсе
   После унификации порядка секций examples везде граничит с серыми
   зонами (reviews/process сверху, серая CTA-подложка снизу) — в
   скруглённых углах сквозил белый фон страницы («ушки» на стыках).
   ========================================================= */
.examples-section { border-radius: 0; }
@media (max-width: 720px) {
  .examples-section { border-radius: 0; }
}


/* =========================================================
   НОВОЕ (16.07.2026) — МАРКЕР-ВЫДЕЛЕНИЕ .wbd-mark
   Использовался inline-<style> в Raw HTML на страницах упаковки
   (WB/Ozon) — перенесён в сниппет по правилу «никаких inline style».
   Скрипт дорисовки по скроллу остаётся в файле страницы (в блоке HERO).
   ========================================================= */
/* Маркер-выделение (небесно-голубой), многострочно-безопасный, с рисованием по скроллу */
.wbd-mark{
  position:relative;
  background:linear-gradient(color-mix(in srgb,#87cefa 42%,transparent),color-mix(in srgb,#87cefa 42%,transparent)) no-repeat 0 100%;
  background-size:100% 88%;
  -webkit-box-decoration-break:clone; box-decoration-break:clone;
  padding:0 .1em; border-radius:.14em;
}
/* JS «взводит» маркер (прячет), затем при попадании в кадр дорисовывает. Без JS — просто видно */
.wbd-mark.is-armed{ background-size:0% 88%; transition:none; }
.wbd-mark.is-in{ background-size:100% 88%; transition:background-size .7s cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce){
  .wbd-mark.is-armed{ background-size:100% 88%; }
  .wbd-mark.is-in{ transition:none; }
}

/* =========================================================
   НОВОЕ 17.07.2026 — LEGAL: страницы «Политика
   конфиденциальности» (privacy-policy, privacy-policy-bot)
   Документ-лонгрид: узкая колонка, оглавление с якорями,
   термины списком с разделителями, реквизиты на подложке.
   ========================================================= */
.legal-section {
  font-family: 'Rubik', sans-serif;
  background: var(--bg);
  padding: 40px 0 96px;
}
.legal-section .container { max-width: 860px; }

/* Шапка документа */
.legal-head h1 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 10px;
  text-wrap: balance;
}
.legal-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
.legal-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}

/* Базовая типографика документа */
.legal-intro { margin-top: 26px; }
.legal-section p {
  font-size: 16px;
  line-height: 1.65;
  color: #4b4c5b;
  margin: 0 0 14px;
}
.legal-section a { color: var(--accent-dark); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal-section strong { color: var(--text); font-weight: 600; }

/* Оглавление */
.legal-toc {
  background: var(--surface);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 30px 0 8px;
}
.legal-toc-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}
.legal-toc li { break-inside: avoid; margin: 0 0 8px; }
.legal-toc a { display: inline-block; font-size: 15px; line-height: 1.45; color: var(--text); }
.legal-toc a:hover { color: var(--accent-dark); text-decoration: none; }

/* Разделы */
.legal-body h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 46px 0 18px;
  scroll-margin-top: 120px; /* якоря из оглавления не ныряют под фиксированный хедер */
}

/* Термины: определения с тонкими разделителями */
.legal-terms p { padding: 13px 0; margin: 0; border-bottom: 1px solid var(--border); }
.legal-terms p:last-child { border-bottom: 0; }

/* Реквизиты оператора (страница бота) */
.legal-req {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 18px 0;
}
.legal-req p { margin: 0 0 10px; }
.legal-req p:last-child { margin: 0; }

/* Списки */
.legal-section ul { list-style: none; margin: 0 0 14px; padding: 0; }
.legal-section ul li {
  position: relative;
  padding-left: 22px;
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b4c5b;
}
.legal-section ul li::before { content: '—'; position: absolute; left: 0; color: var(--text-faint); }
.legal-section ol.legal-list { margin: 0 0 14px; padding-left: 22px; }
.legal-section ol.legal-list li {
  margin: 0 0 8px;
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b4c5b;
}

@media (max-width: 720px) {
  .legal-section { padding: 24px 0 64px; }
  .legal-toc { padding: 20px; }
  .legal-toc ol { columns: 1; }
  .legal-meta { font-size: 13px; }
  .legal-body h2 { margin-top: 38px; }
}

/* --- LEGAL, дополнение 18.07.2026: подразделы h3 и таблица третьих лиц
   (новая редакция политики + страница data-protection) --- */
.legal-body h3 {
  font-family: 'Rubik', sans-serif;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 14px;
}
.legal-table-wrap {
  overflow-x: auto;
  margin: 6px 0 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.legal-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}
.legal-table th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-strong);
}
.legal-table td {
  vertical-align: top;
  color: #4b4c5b;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.legal-table tr:last-child td { border-bottom: 0; }

/* =========================================================
   НОВОЕ 18.07.2026 — COOKIE-БАННЕР (свой, вместо попапа
   Popup Maker). Разметка — HTML-сниппет Woody в футере
   (blocks/pages/cookie-banner.html). Показ/скрытие — JS там же.
   ========================================================= */
.wbd-cc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.wbd-cc[hidden] { display: none; }
.wbd-cc-card {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 640px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(26, 26, 46, 0.14);
  padding: 14px 18px;
  animation: wbd-cc-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes wbd-cc-in {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .wbd-cc-card { animation: none; }
}
.wbd-cc-text {
  flex: 1;
  margin: 0;
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #4b4c5b;
}
.wbd-cc-text a { color: var(--accent-dark); text-decoration: none; }
.wbd-cc-text a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wbd-cc-accept {
  flex: none;
  font-family: 'Rubik', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wbd-cc-accept:hover { background: var(--accent-dark); }
@media (max-width: 560px) {
  .wbd-cc { left: 10px; right: 10px; bottom: 10px; }
  .wbd-cc-card { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; }
  .wbd-cc-accept { width: 100%; padding: 10px 16px; }
}

/* =========================================================
   НОВОЕ 18.07.2026 — РЕДИЗАЙН ПОПАПА «Получите расчёт»
   (#popmake-1411). Разметка — в контенте попапа Popup Maker
   (грид: курьер слева, форма справа; курьер выступает за верх).
   Правила перебивают старый Customizer-CSS (фон-картинка,
   процентные сдвиги) — отсюда !important.
   Попапы 5135/5142 («Качай гайд») НЕ трогаем.
   ========================================================= */
#popmake-1411.pum-container {
  background-image: none !important;
  padding: 0 !important;
  width: 840px !important;
  max-width: 94vw !important;
  left: 50% !important;
  margin-left: 0 !important;
  transform: translateX(-50%);
  border-radius: 20px !important;
  overflow: visible !important;
  background-color: #fff !important;
}
#popmake-1411 .pum-title { display: none !important; }
#popmake-1411 .pum-content {
  display: grid;
  grid-template-columns: 250px 1fr;
}

/* Курьер: прижат к низу, голова выступает за верхний край */
#popmake-1411 .wbd-lead-media { position: relative; }
#popmake-1411 .wbd-lead-media img {
  position: absolute;
  bottom: 0;
  right: -30px;
  height: 106%;
  /* ширина ограничена левым краем экрана (карточка 840 по центру) — курьер
     не может вылезти за вьюпорт; пропорции держит object-fit */
  width: calc(50vw - 160px);
  max-width: 560px;
  object-fit: contain;
  object-position: right bottom;
}

/* Правая колонка */
#popmake-1411 .wbd-lead-body { padding: 34px 38px 38px; min-width: 0; }
#popmake-1411 .wbd-lead-title {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 10px;
  text-wrap: balance;
}
#popmake-1411 .wbd-lead-sub {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 20px;
}

/* Форма: капча (авто, первой) -> согласие -> телефон -> кнопка */
#popmake-1411 .wpcf7-turnstile { margin-bottom: 12px; }
#popmake-1411 .custom_form { display: flex; flex-direction: column; }
#popmake-1411 .custom_form > p { order: -1; margin: 0 0 14px; }

/* Чекбокс согласия — мелкий, под капчей */
#popmake-1411 .wpcf7-form-control.wpcf7-acceptance { padding-right: 0 !important; margin: 0 !important; display: block; }
#popmake-1411 .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: block; }
#popmake-1411 .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Rubik', sans-serif;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-faint);
  cursor: pointer;
  max-width: 430px;
}
#popmake-1411 .wpcf7-acceptance input.accept {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  box-sizing: border-box !important;
  margin: 1px 0 0;
  padding: 0 !important;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
#popmake-1411 .wpcf7-acceptance input.accept:checked {
  background: var(--accent);
  border-color: var(--accent);
}
/* тема Impreza рисует свою галочку через ::before — глушим, рисуем свою ::after */
#popmake-1411 .wpcf7-acceptance input.accept::before { content: none !important; display: none !important; }
#popmake-1411 .wpcf7-acceptance input.accept:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#popmake-1411 .wpcf7-acceptance a { color: var(--accent-dark); text-decoration: none; }
#popmake-1411 .wpcf7-acceptance a:hover { text-decoration: underline; }

/* Поле телефона и кнопка — В ОДИН РЯД, капсулы, кнопка как на hero
   (обновлено 05.08.2026). Реальная разметка формы 1414: внутри .content_form
   ОДИН <p>, в нём span.client-phone + <br> + input[type=submit]. Делаем этот
   <p> флекс-строкой, <br> прячем: поле тянется, кнопка компактная справа.
   Согласие остаётся отдельным <p> (order:-1) — его не трогаем. */
#popmake-1411 .custom_form .content_form {
  display: block !important;
  width: 100% !important;
}
#popmake-1411 .content_form p {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
#popmake-1411 .content_form br { display: none !important; }
#popmake-1411 .content_form .wpcf7-form-control-wrap.client-phone {
  flex: 1 1 230px;
  min-width: 0;
  display: block;
}

/* Поле — капсула + иконка телефона слева, высота 54 в один рост с кнопкой */
#popmake-1411 input[name="client-phone"] {
  width: 100% !important;
  height: 54px !important;
  min-height: 0 !important;
  border: 1px solid var(--border);
  border-radius: 100px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238b8da0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E")
    no-repeat 18px center / 18px 18px, #fff;
  padding: 0 22px 0 46px !important;
  font-family: 'Rubik', sans-serif;
  font-size: 15px !important;
  line-height: 54px !important;
  font-weight: 500;
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(26, 26, 46, 0.08);
  margin: 0 !important;
  transition: border-color 0.15s ease;
}
#popmake-1411 input[name="client-phone"]:focus {
  outline: none;
  border-color: var(--accent) !important;
}
/* Кнопка — как hero-кнопка «Получить расчёт»: капсула, синяя заливка +
   бегущая зелёная змейка по контуру + круглая белая стрелка. Змейку рисуем
   двумя фоновыми слоями (у <input> нет псевдоэлементов), стрелку-чип впекаем
   третьим фоновым слоем справа (hero использует ::after, тут — фон).
   color задан и на hover: тема Impreza красит текст в зелёный — держим белым. */
@property --btn-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
#popmake-1411 input[type="submit"],
#popmake-1411 input[type="submit"]:hover,
#popmake-1411 input[type="submit"]:focus {
  flex: 0 0 auto;
  width: auto;
  height: 54px;
  padding: 0 52px 0 28px !important;
  white-space: nowrap;
  border: 2px solid transparent !important;
  border-radius: 100px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13' fill='%23ffffff' fill-opacity='.22'/%3E%3Cpath d='M8 13h8' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='m13 9 4 4-4 4' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      no-repeat right 14px center / 26px 26px,
    linear-gradient(var(--accent), var(--accent)) padding-box,
    conic-gradient(from var(--btn-angle),
      transparent 0 66%,
      color-mix(in srgb, var(--success) 35%, transparent) 73%,
      oklch(0.72 0.2 150) 82%,
      oklch(0.96 0.12 150) 86%,
      oklch(0.72 0.2 150) 90%,
      transparent 96% 100%) border-box !important;
  color: #fff !important;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  animation: wbd-lead-snake 2.4s linear infinite;
}
@keyframes wbd-lead-snake { to { --btn-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
  #popmake-1411 input[type="submit"] { animation: none; }
}

/* Ошибки валидации — чтобы было ПОНЯТНО, почему форма не ушла.
   CF7 вешает aria-invalid на поле и выводит .wpcf7-not-valid-tip. */
#popmake-1411 .wpcf7-not-valid-tip {
  position: static !important;
  display: block;
  font-family: 'Rubik', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  color: #E24B4A;
  margin: 6px 0 0;
}
#popmake-1411 .wpcf7-acceptance input.accept[aria-invalid="true"] {
  border-color: #E24B4A;
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.15);
}
#popmake-1411 input[name="client-phone"][aria-invalid="true"] {
  border-color: #E24B4A !important;
  box-shadow: inset 0 1px 2px rgba(26, 26, 46, 0.08), 0 0 0 3px rgba(226, 75, 74, 0.12);
}
#popmake-1411 .wpcf7-response-output {
  font-family: 'Rubik', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #b03230;
  background: #fdeded;
  border: 1px solid #f5c6c5 !important;
  border-radius: 10px;
  margin: 14px 0 0 !important;
  padding: 10px 14px !important;
}
#popmake-1411 .wpcf7-form.sent .wpcf7-response-output {
  color: #1d6e1c;
  background: #eaf6ea;
  border-color: #bfe3bf !important;
}

/* Мобильная версия: одна колонка, курьера скрываем */
@media (max-width: 700px) {
  #popmake-1411.pum-container { width: 94vw !important; border-radius: 16px !important; }
  #popmake-1411 .pum-content { grid-template-columns: 1fr; }
  #popmake-1411 .wbd-lead-media { display: none; }
  #popmake-1411 .wbd-lead-body { padding: 24px 18px 26px; }
  #popmake-1411 .wbd-lead-title { font-size: 19px; }
  #popmake-1411 .wbd-lead-sub { font-size: 14px; margin-bottom: 16px; }
  /* ряд поле+кнопка переносится в столбик, оба на всю ширину */
  #popmake-1411 .content_form .wpcf7-form-control-wrap.client-phone { flex: 1 1 100%; }
  /* :hover и :focus — общее правило кнопки с :focus весит больше и после тапа сжимало её до 0 0 auto (31.10) */
  #popmake-1411 input[type="submit"],
  #popmake-1411 input[type="submit"]:hover,
  #popmake-1411 input[type="submit"]:focus { flex: 1 1 100%; width: 100%; }
}


/* =========================================================
   НОВОЕ (19.07.2026): .btn-snake — универсальная кнопка-змейка
   Единый актуальный стиль CTA: ровная синяя заливка + бегущая
   зелёная искра по контуру (как hero главной и калькулятор).
   Вешается на любую кнопку: <a class="btn btn-primary btn-snake">.
   Техника: заливка по padding-box, conic-искра по border-box,
   угол — общий @property --snake-angle (объявлен в блоке hero).
   ========================================================= */
.btn-snake,
.btn-snake:hover,
.btn-snake:focus,
.btn-snake:active {
  border: 2px solid transparent;
  color: #fff;
  background:
    linear-gradient(var(--accent), var(--accent)) padding-box,
    conic-gradient(from var(--snake-angle),
      transparent 0 66%,
      color-mix(in srgb, var(--success) 35%, transparent) 73%,
      oklch(0.72 0.2 150) 82%,      /* тело искры — яркий зелёный */
      oklch(0.96 0.12 150) 86%,     /* раскалённое ядро — почти белый */
      oklch(0.72 0.2 150) 90%,
      transparent 96% 100%) border-box;
  animation: btn-snake-run 2.4s linear infinite;
}
@media (hover: hover) {
  .btn-snake:hover {
    background:
      linear-gradient(var(--accent-dark), var(--accent-dark)) padding-box,
      conic-gradient(from var(--snake-angle),
        transparent 0 66%,
        color-mix(in srgb, var(--success) 35%, transparent) 73%,
        oklch(0.72 0.2 150) 82%,
        oklch(0.96 0.12 150) 86%,
        oklch(0.72 0.2 150) 90%,
        transparent 96% 100%) border-box;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn-snake { animation: none; }
}


/* =========================================================
   НОВОЕ (19.07.2026): .btn-red — красная кнопка «доставочных»
   страниц (цвет со страницы «Доставка из Китая», oklch-красный).
   Та же форма и шрифт, что у .btn-primary, меняется только цвет:
   <a class="btn btn-red">. Ставить ТОЛЬКО там, где явно решено
   использовать красную кнопку (страницы про доставку из Китая).
   ========================================================= */
.btn-red,
a.btn-red,
a.btn-red:visited {
  background: oklch(0.58 0.21 27);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 4px 14px oklch(0.58 0.21 27 / 0.28);
}
@media (hover: hover) {
  .btn-red:hover,
  a.btn-red:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 8px 22px oklch(0.58 0.21 27 / 0.35);
    text-decoration: none;
  }
}
.btn-red:active { transform: translateY(1px); }


/* =========================================================
   НОВОЕ (19.07.2026) — СТРАНИЦА ЦЕН (ceny-fulfillment)
   Единый Raw HTML: blocks/pages/ceny-fulfillment.html.
   Хиро-плашка с фото склада + прайс с 9 табами. Отзывы, CTA
   и FAQ используют существующие классы (reviews/cta/faq).
   ========================================================= */

/* Хиро-плашка: фото склада с затемнением, белый H1 поверх */
.ceny-hero { padding: 24px 0 0; }
.ceny-hero-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #14142b url('https://willbedone.pro/wp-content/uploads/2024/12/delivery-page.webp') no-repeat center 60% / cover;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.ceny-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 18, 38, 0.52), rgba(16, 18, 38, 0.66));
}
.ceny-hero-card > * { position: relative; }
.ceny-hero-card h1 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 0 16px;
  text-wrap: balance;
}
.ceny-hero-lead {
  font-size: var(--fs-copy);
  line-height: var(--lh-copy);
  color: rgba(255, 255, 255, 0.85);
  max-width: 62ch;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .ceny-hero { padding-top: 16px; }
  .ceny-hero-card { border-radius: 16px; }
}

/* Прайс: белый фон (решение владельца — вся страница цен белая), pill-табы */
.price-section {
  background: #fff;
  padding: 56px 0 64px;
}
@media (max-width: 720px) {
  .price-section { padding: 40px 0 48px; }
}
.price-section .section-head { margin-bottom: 32px; }
.price-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.price-tab {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
@media (hover: hover) {
  .price-tab:hover { border-color: var(--text); color: var(--text); }
}
.price-tab.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}
/* На мобильной табы не скроллятся, а переносятся на 2-3 строки
   (решение владельца 19.07.2026) — все фильтры видны сразу */
@media (max-width: 720px) {
  .price-nav { gap: 6px; }
  .price-tab { padding: 8px 13px; font-size: 13.5px; }
}
.price-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 32px 24px;
}
.price-panel.is-open { display: block; }
.price-panel h2,
.price-panel h3,
.price-panel-title {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 8px;
}
/* Описание раздела прайса идёт во всю ширину панели: рамка 72ch обрывала строку
   на середине экрана, и справа оставалась пустая половина (правка 14.08.2026).
   Абзац-примечание ПОСЛЕ групп цен получает отступ сверху — иначе липнет к
   последней строке прайса. */
.price-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.price-group + .price-desc { margin: 22px 0 0; }
.price-group + .price-group { margin-top: 24px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 20px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  line-height: 1.5;
}
.price-group .price-row:last-child { border-bottom: 0; }
.price-row span { color: #4b4c5b; }
.price-row b {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-subhead {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 20px 0 2px;
}
.price-group .price-subhead:first-child { margin-top: 0; }
.price-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-faint);
  text-align: center;
  max-width: 760px;
  margin: 20px auto 0;
}
@media (max-width: 600px) {
  .price-panel { padding: 20px 18px 16px; }
}

/* Хвост FAQ на странице цен: ссылки на площадки + кнопка расчёта */
.faq-after {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: center;
}
.faq-after p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.faq-after a { color: var(--accent-dark); }


/* Страница цен (page-id-4158) — вся белая: снимаем серые подложки
   у глобальных блоков отзывов и CTA только на этой странице */
body.page-id-4158 .reviews-section { background: #fff; }
body.page-id-4158 .cta-section { background: #fff; }

/* Страница калькулятора (page-id-9373): CTA-блок без серой подложки,
   тёмная карточка на белом фоне (правка 19.07.2026) */
body.page-id-9373 .cta-section { background: #fff; }

/* ==== Правка 20.07.2026: ошибка валидации в форме-CTA статей блога ==== */
/* CF7 .wpcf7-not-valid-tip по умолчанию position:absolute и накладывается на
   подпись чекбокса согласия (текст на текст). В попапе #popmake-1411 это уже
   вылечено (static), а форма-CTA в статье (.art-cta .cn-form) своего правила
   не имела. Ставим tip в поток под чекбоксом + подсветка невалидных полей. */
.art-cta .cn-form .wpcf7-not-valid-tip {
  position: static !important;
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #E24B4A;
  margin: 6px 0 0;
  text-align: center;
}
.art-cta .cn-form input.accept[aria-invalid="true"] {
  border-color: #E24B4A;
  box-shadow: 0 0 0 3px rgba(226, 75, 74, 0.15);
}
.art-cta .cn-form input[name="client-phone"][aria-invalid="true"] {
  border-color: #E24B4A !important;
}

/* ==== Правка 22.07.2026: чекбокс согласия в форме-CTA статей блога ==== */
/* Проблема: CF7 в CTA статьи (.art-cta .cn-form) рендерит НАТИВНЫЙ крупный
   чекбокс — в попапе #popmake-1411 он давно ужат до аккуратных 15px, а для
   статьи стилей размера не было. Дублируем ту же кастомизацию (appearance:none,
   15px, своя галочка), чтобы чекбокс в блоге выглядел как на основных страницах. */
.art-cta .cn-form .wpcf7-form-control.wpcf7-acceptance { padding-right: 0 !important; margin: 0 !important; display: block; }
.art-cta .cn-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: block; }
.art-cta .cn-form .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
  max-width: 430px;
  margin: 0 auto;
  text-align: left;
}
.art-cta .cn-form .wpcf7-acceptance input.accept {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  flex: none;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  box-sizing: border-box !important;
  margin: 1px 0 0;
  padding: 0 !important;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}
.art-cta .cn-form .wpcf7-acceptance input.accept:checked {
  background: var(--accent);
  border-color: var(--accent);
}
/* тема Impreza рисует свою галочку через ::before — глушим, рисуем свою ::after */
.art-cta .cn-form .wpcf7-acceptance input.accept::before { content: none !important; display: none !important; }
.art-cta .cn-form .wpcf7-acceptance input.accept:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.art-cta .cn-form .wpcf7-acceptance a { color: var(--text-muted); text-decoration: underline; }

/* =========================================================
   PROCESS — вариант «списки» (process-card--list)
   Добавлено при пересборке блока «Этапы работы».
   Маркированные пункты внутри карточки process.
   ========================================================= */
.process-card--list .process-list { list-style: none; margin: 0; padding: 0; }
.process-card--list .process-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.process-card--list .process-list li + li { margin-top: 9px; }
.process-card--list .process-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.process-card--list .process-list li strong { color: var(--text); font-weight: 500; }

/* =========================================================
   HOW IT WORKS — feature-бар под блоком whatis (26.07.2026)
   Одна плашка во всю ширину контейнера, 4 ячейки: круглая иконка
   с обводкой слева + подпись справа. Разделители — приём hero-stats
   (gap 1px на фоне рамки: линии сами становятся горизонтальными на
   мобиле). Живёт внутри .whatis-section.
   ========================================================= */
.hiw-flow-wrap { margin-top: 60px; }
.hiw-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.hiw-step {
  background: #fff;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  text-align: left;
}
/* Иконка-тайл единого стиля сайта (= .benefit-icon/.wms-card-icon):
   скруглённый квадрат, светло-синяя подложка, без обводки, 40px.
   Приведено 05.08.2026 (был кружок 46px с серой обводкой — выбивался). */
.hiw-badge {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 0;
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.hiw-badge svg { width: 20px; height: 20px; }
.hiw-label {
  font-family: 'Rubik', sans-serif;
  font-weight: 500; font-size: 15px; line-height: 1.3;
  color: var(--text);
  margin: 0;
  padding: 0;               /* тема Impreza даёт h3 padding-top — обнуляем, иначе текст съезжает вниз от центра иконки */
}

@media (max-width: 900px) {
  .hiw-flow-wrap { margin-top: 48px; }
  .hiw-flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hiw-flow { grid-template-columns: 1fr; }
}


/* =========================================================
   БЛОК «ЧЕСТНЫЙ ЗНАК» — проверка кодов маркировки (#chz)
   Секция на главной между WMS и «Преимущества». Серая (--surface), full-bleed.
   ========================================================= */
.chz-section{padding:40px 0;background:var(--surface);width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw}
.chz-logo{display:inline-flex;vertical-align:middle;line-height:0}
.chz-logo svg{display:block;height:auto}
.chz-stage{display:grid;grid-template-columns:1.05fr 1fr;gap:52px;align-items:center;margin-bottom:44px}
.chz-info{display:flex;flex-direction:column;gap:20px;min-width:0}
.chz-info h2{font-family:'Rubik',system-ui,sans-serif;font-size:clamp(26px,2.8vw,36px);line-height:1.14;letter-spacing:-.01em}
.chz-lead{color:var(--text-muted);font-size:16.5px;line-height:1.62;margin:0;max-width:52ch}
.chz-eyebrow{display:inline-flex;align-items:center;gap:12px;font-family:'Rubik',sans-serif;font-size:13px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.chz-eyebrow .chz-logo svg{width:74px}
.chz-legend{display:flex;flex-direction:column;gap:11px;margin-top:4px}
.chz-legend-cap{font-family:'Rubik',sans-serif;font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-faint);margin-bottom:2px}
.chz-legend-item{display:grid;grid-template-columns:10px 1fr;gap:11px;align-items:start;font-size:14.5px;line-height:1.45;color:var(--text-muted)}
.chz-legend-item .chz-dot{margin-top:6px}
.chz-legend-item b{color:var(--text);font-weight:600}
.chz-dot{width:10px;height:10px;border-radius:50%;flex:none}
.chz-dot.is-ok{background:#17924a}.chz-dot.is-wait{background:#e8820c}.chz-dot.is-out{background:#e0463f}.chz-dot.is-none{background:#9a9cae}
.chz-panel{background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 30px 60px -32px rgba(26,26,46,.28);overflow:hidden;min-width:0}
.chz-panel-head{display:flex;align-items:center;gap:14px;padding:18px 22px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,#fbfbfd,#f6f7fa)}
.chz-panel-head .chz-logo svg{width:52px;border-radius:8px}
.chz-panel-htext{min-width:0}
.chz-panel-htext .t{font-family:'Rubik',sans-serif;font-size:14.5px;font-weight:600;color:var(--text);line-height:1.2}
.chz-panel-htext .s{font-size:12.5px;color:var(--text-faint);margin-top:2px}
.chz-summary{padding:16px 22px;border-bottom:1px solid var(--border);background:#fcfcfe;display:flex;flex-direction:column;gap:12px}
.chz-sum-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
.chz-sum-metric{display:inline-flex;align-items:baseline;gap:7px;font-size:13.5px;color:var(--text-muted)}
.chz-sum-metric b{font-family:'Rubik',sans-serif;font-weight:600;font-size:15px;color:var(--text);font-variant-numeric:tabular-nums}
.chz-sum-badges{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.chz-sum-owner{font-size:12.5px;color:var(--text-faint)}
.chz-sum-owner b{color:var(--text-muted);font-weight:500}
.chz-panel-subhead{padding:13px 22px 6px;font-family:'Rubik',sans-serif;font-size:12.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-faint)}
.chz-panel-body{padding:0 12px 8px}
.chz-row{display:grid;grid-template-columns:1fr auto;gap:8px 14px;align-items:center;padding:11px 12px;border-radius:11px}
.chz-row+.chz-row{border-top:1px solid #f1f1f5}
.chz-row.is-flag{background:#fffaf2}
.chz-row-main{min-width:0}
.chz-row-name{font-size:13.5px;color:var(--text);line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chz-row-sub{display:flex;gap:10px;margin-top:3px;font-size:12px;color:var(--text-faint)}
.chz-row-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.01em}
.chz-row-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}
.chz-row-qty{font-size:12px;color:var(--text-faint);font-variant-numeric:tabular-nums}
.chz-badge{display:inline-flex;align-items:center;gap:6px;font-family:'Rubik',sans-serif;font-size:12px;font-weight:500;padding:5px 10px;border-radius:999px;white-space:nowrap}
.chz-badge .d{width:7px;height:7px;border-radius:50%;flex:none}
.chz-badge.is-ok{background:#e8f6ee;color:#127a3c}.chz-badge.is-ok .d{background:#17924a}
.chz-badge.is-wait{background:#fdf0e0;color:#b4670a}.chz-badge.is-wait .d{background:#e8820c}
.chz-badge.is-out{background:#fdeceb;color:#c23a33}.chz-badge.is-out .d{background:#e0463f}
.chz-verdict{display:flex;align-items:center;gap:10px;margin:4px 12px 14px;padding:13px 16px;border-radius:12px;font-family:'Rubik',sans-serif;font-size:13.5px;font-weight:500;line-height:1.35}
.chz-verdict svg{width:18px;height:18px;flex:none}
.chz-verdict.is-warn{background:#fdf0e0;color:#b4670a}
.chz-verdict.is-warn b{color:#8a4e06;font-weight:600}
.chz-verdict.is-clean{background:#e8f6ee;color:#127a3c}
.chz-features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 36px}
.chz-feature{background:#fff;border:1px solid var(--border);border-radius:14px;padding:22px 22px 24px;position:relative;overflow:hidden;transition:border-color .2s ease,transform .2s ease}
.chz-feature::before{content:"";position:absolute;inset:0 0 auto auto;width:110px;height:110px;pointer-events:none;background:radial-gradient(circle at top right,color-mix(in srgb,var(--accent) 9%,transparent),transparent 70%)}
@media(hover:hover){.chz-feature:hover{border-color:var(--text);transform:translateY(-2px)}}
.chz-feature-ic{width:38px;height:38px;border-radius:10px;background:var(--accent-soft);color:var(--accent-dark);display:inline-flex;align-items:center;justify-content:center;margin-bottom:14px}
.chz-feature-ic svg{width:20px;height:20px}
.chz-feature h3{font-family:'Rubik',sans-serif;font-size:16px;font-weight:500;line-height:1.3;margin:0 0 6px;color:var(--text)}
.chz-feature p{margin:0;font-size:14.5px;color:var(--text-muted);line-height:1.55}
.chz-case{display:grid;grid-template-columns:44px 1fr;gap:18px;align-items:start;background:var(--accent-soft);border:1px solid #dfe2ff;border-radius:16px;padding:22px 26px;margin-top:16px}
.chz-case-ic{width:44px;height:44px;border-radius:12px;background:#fff;border:1px solid #dfe2ff;display:flex;align-items:center;justify-content:center;color:var(--accent-dark)}
.chz-case-ic svg{width:22px;height:22px}
.chz-case-title{font-family:'Rubik',sans-serif;font-size:15px;font-weight:600;color:var(--text);margin:0 0 5px}
.chz-case p{margin:0;font-size:15px;line-height:1.6;color:var(--text-muted)}
.chz-case p b{color:var(--text);font-weight:600}
@media(max-width:980px){.chz-stage{grid-template-columns:1fr;gap:36px}.chz-features{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.chz-section{padding:28px 0}.chz-sum-badges{margin-left:0}}
@media(max-width:600px){.chz-features{grid-template-columns:1fr}}

/* =========================================================
   PROCESS — карточка «Отгрузка»: зоны сдачи WB FBS (29.07.2026)
   Компактные строки: цветная точка + название зоны + склады.
   Без коробок, внутри карточки process.
   ========================================================= */
.process-card--ship .process-list { margin-bottom: 12px; }

.ship-zones { margin: 0 0 2px; }
.ship-zone { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.ship-zone + .ship-zone { margin-top: 5px; }
.ship-zone-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 6px; vertical-align: middle;
}
.ship-zone--green  .ship-zone-dot { background: #21a038; }
.ship-zone--yellow .ship-zone-dot { background: #f0b400; }
.ship-zone-name { font-weight: 600; color: var(--text); }

/* =========================================================
   CHZ — порядок на мобиле (29.07.2026)
   На стопке контент (заголовок «Проверяем коды Честного Знака»)
   выше мок-панели: иначе скриншот кабинета стоит первым и непонятно,
   к чему он относится. Десктоп (side-by-side) не трогаем.
   ========================================================= */
@media (max-width: 980px) {
  .chz-stage .chz-info  { order: -1; }
  .chz-stage .chz-panel { order: 0; }
}

/* =========================================================
   FBS — секция цен (вариант 2, 29.07.2026): тёмная карточка
   с разобранным заказом + плитки по размеру заказа + пункты
   процесса. Акцент — цена ЗА ЕДИНИЦУ (крупно), сумма заказа
   вторична. Страница fulfilment-fbs.
   ========================================================= */
.fbs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 18px; }
@media (max-width: 860px) { .fbs-grid { grid-template-columns: 1fr; } }

.fbs-ex { background: color-mix(in srgb, var(--accent) 5%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--border)); color: var(--text); border-radius: 16px; padding: 28px; }
.fbs-ex-tag { font-family: 'Rubik', sans-serif; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 16px; }
.fbs-ex-math { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 14px; line-height: 1.4; color: var(--text-muted); }
.fbs-ex-math b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.fbs-ex-total { margin-top: 18px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border)); font-family: 'Rubik', sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: var(--accent-dark); }
.fbs-ex-total .peru { font-family: 'Rubik', sans-serif; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-muted); margin-left: 6px; }
.fbs-ex-total small { display: block; font-family: 'Rubik', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--text-faint); margin-top: 6px; }

.fbs-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
@media (max-width: 420px) { .fbs-tiles { grid-template-columns: 1fr; } }
.fbs-tile { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; }
.fbs-tile b { font-family: 'Rubik', sans-serif; font-size: 12.5px; font-weight: 500; color: var(--text-faint); }
.fbs-tile .p { font-family: 'Rubik', sans-serif; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--accent-dark); font-variant-numeric: tabular-nums; line-height: 1; }
.fbs-tile .p em { font-family: 'Rubik', sans-serif; font-style: normal; font-size: 12px; font-weight: 400; color: var(--text-faint); margin-left: 2px; }
.fbs-tile i { font-style: normal; font-size: 12px; color: var(--text-faint); }

.fbs-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
.fbs-point { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.fbs-point::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235159E8' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat; background-position: center; margin-top: 1px;
}
.fbs-point b { color: var(--text); font-weight: 600; }
@media (max-width: 720px) { .fbs-points { grid-template-columns: 1fr; gap: 14px; } }

/* =====================================================================
   КАЛЬКУЛЯТОР ЮНИТ-ЭКОНОМИКИ + РЕФАЙН ОБЩИХ CALC-КЛАССОВ (30.07.2026)
   Стиль «Мягкие поля». Переопределяет .calc/.field/.input/.select/
   .calc-result и т.д. — применяется к ОБОИМ калькуляторам (юнит + фулфилмент).
   Зелёная «змейка» (.hero-cta .btn-cta-gradient) и .info-btn — НЕ трогаем,
   они выше в файле. Новые классы: unit-*, field-block, seo-mark/underline.
   ===================================================================== */

/* ТАБЫ площадок = ТРИ отдельные кнопки-плашки с логотипом внутри.
   каждая явно читается как кнопка (белый фон + обводка); активная подсвечена своим брендом */
.unit-tabs{display:inline-flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:0 auto 26px;max-width:100%}
.unit-tabs-wrap{display:flex;justify-content:center}
.unit-tab{--brand:var(--text);appearance:none;cursor:pointer;background:#fff;border:1px solid var(--border-strong);border-radius:12px;padding:13px 26px;min-width:158px;display:inline-flex;align-items:center;justify-content:center;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .08s ease}
.unit-tab img{height:22px;width:auto;display:block;pointer-events:none;filter:grayscale(1);opacity:.55;transition:filter .2s ease,opacity .2s ease}
.unit-tab:hover{border-color:var(--text-faint);background:#fcfcfd}
.unit-tab:hover img{opacity:.8}
.unit-tab:active{transform:translateY(1px)}
.unit-tab.is-active{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 7%,#fff);box-shadow:0 4px 14px -6px color-mix(in srgb,var(--brand) 55%,transparent)}
.unit-tab.is-active img{filter:none;opacity:1}
.unit-tab[data-mp="wb"]{--brand:#cb11ab}
.unit-tab[data-mp="ozon"]{--brand:#005bff}
.unit-tab[data-mp="ym"]{--brand:#fc3f1d}
.unit-tab[data-mp="ym"] img{height:20px}
@media(max-width:560px){.unit-tabs{gap:7px;width:100%}.unit-tab{min-width:0;flex:1;padding:12px 6px}.unit-tab img{height:17px}.unit-tab[data-mp="ym"] img{height:15px}}
.unit-panel{display:none}
.unit-panel.is-active{display:block}

/* карточка калькулятора — рефайн */
.calc{display:grid;grid-template-columns:1.12fr 1fr;gap:28px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:30px;align-items:start}
@media(max-width:900px){.calc{grid-template-columns:1fr;padding:22px;gap:20px}}
@media(max-width:600px){.calc{padding:16px;gap:16px;border-radius:14px}}
.calc-form{display:flex;flex-direction:column;gap:16px}
.field-block{display:flex;flex-direction:column;gap:10px}
.field-block-title{font-family:'Rubik',sans-serif;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-faint)}
.field{display:flex;flex-direction:column;gap:5px}
.field-label{font-size:12px;font-weight:500;color:var(--text-muted);display:flex;align-items:baseline;gap:0;justify-content:flex-start}
.field-label .field-unit{font-size:11px;color:var(--text-faint);font-weight:400;margin-left:auto;padding-left:8px}
/* переключатель единицы поля (₽ / %) — мини-сегмент ВНУТРИ поля справа, на месте суффикса */
.unit-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:inline-flex;gap:2px;background:var(--accent-soft);border-radius:7px;padding:2px;z-index:1}
.unit-toggle-btn{appearance:none;-webkit-appearance:none;border:0;background:transparent;font-family:'Rubik',sans-serif;font-size:10px;font-weight:600;color:var(--text-faint);padding:2px 6px;border-radius:4px;cursor:pointer;line-height:1.5;transition:background .15s ease,color .15s ease}
.unit-toggle-btn.is-active{background:#fff;color:var(--accent-dark);box-shadow:0 1px 3px rgba(24,48,79,.18)}
.input-affix:has(.unit-toggle) .input{padding-right:54px}
.field-hint{font-size:11.5px;color:var(--text-muted);line-height:1.45}

/* мягкое залитое поле (Apple search): тонкая ВИДИМАЯ грань, компактная высота, чёткая цифра */
.input,.select{width:100%;height:35px;padding:0 11px;border:1px solid var(--border);border-radius:10px;font-family:'Rubik',sans-serif;font-size:13.5px;font-weight:400;font-variant-numeric:tabular-nums;background-color:#f6f7f9;color:var(--text);transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}
.input:hover,.select:hover{background-color:#f1f2f5;border-color:var(--border-strong)}
.input:focus,.select:focus{outline:0;background-color:#fff;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 15%,transparent)}
.select{cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9db0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
/* Impreza задаёт инпутам/селектам min-height и line-height = --inputs-height (2.8rem ≈ 50px)
   селекторами специфичнее наших — перебиваем скоупленным !important, иначе поля остаются высокими */
.calc .input,.calc .select{height:35px!important;min-height:35px!important;line-height:normal!important;font-size:13.5px!important;font-weight:400!important;border-radius:10px!important}
.field.is-disabled{opacity:.42}
.input:disabled,.select:disabled{cursor:not-allowed;background-color:#eef0f3;border-color:transparent;color:var(--text-faint)}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.field-grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px}
@media(max-width:600px){.field-grid,.field-grid-collapse{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
/* три поля в ряд (FBS-заказы, габариты юнит-эконом): minmax(0,1fr) чтобы колонки
   сжимались и НЕ распирали калькулятор за экран (без этого 1fr=min-content) */
.field-grid-3{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr)}
.field-grid-3 .field-label{font-size:11px}
/* КЛЮЧЕВОЕ: min-width:0 снимает min-content числовых <input>. Без него грид-
   элементы (.calc-form как ячейка .calc, .field как ячейка грида) не сжимаются
   ниже «естественной» ширины инпута (~130px) → грид раздувается до 396px и
   вылезает за карточку (FBS-калькулятор уезжал вправо, поля обрезались). */
.calc-form,.field-grid-3,.field-grid-3 .field,.field-grid-3 .input{min-width:0}
.field-grid>.field>:last-child,.field-grid-3>.field>:last-child,.field-grid-collapse>.field>:last-child{margin-top:auto}}
.input-affix{position:relative;display:flex;align-items:center}
.input-affix .input{padding-right:32px}
.input-affix .affix{position:absolute;right:12px;font-size:13px;color:var(--text-faint);pointer-events:none}

/* панель результата — рефайн (липкая) */
.calc-result{background:var(--surface);border-radius:14px;padding:28px;display:flex;flex-direction:column;position:sticky;top:20px}
@media(max-width:900px){.calc-result{position:static}}
@media(max-width:600px){.calc-result{padding:20px}}
.calc-result-label{font-size:12px;font-weight:500;letter-spacing:.02em;color:var(--text-muted);margin-bottom:8px}
.calc-amount{font-family:'Rubik',sans-serif;font-size:clamp(23px,2.3vw,28px);font-weight:600;line-height:1;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.calc-amount.is-negative{color:var(--danger,#c0392b)}
.calc-amount.is-positive{color:var(--success)}
.calc-amount-period{font-size:13px;color:var(--text-muted);font-family:'Rubik',sans-serif;font-weight:400}
.unit-metrics{display:flex;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}
.unit-metric{display:flex;flex-direction:column;gap:2px;flex:1;padding-right:20px}
.unit-metric+.unit-metric{border-left:1px solid var(--border);padding-left:20px;padding-right:0}
.unit-metric-label{font-size:11px;font-weight:500;letter-spacing:.03em;text-transform:uppercase;color:var(--text-faint)}
.unit-metric-value{font-family:'Rubik',sans-serif;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
/* блок «на партию» — поле количества + масштаб на весь объём */
.unit-party{margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.unit-party-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.unit-party-title{font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-faint)}
.unit-party-qty{display:inline-flex;align-items:center;gap:7px;flex:0 0 auto}
.unit-party-qty .input{width:78px;text-align:right}
.unit-party-qty .unit-party-unit{font-size:12px;color:var(--text-muted)}
.unit-party-row{display:flex;justify-content:space-between;gap:14px;padding:5px 0;font-size:13.5px;color:var(--text-muted);line-height:1.4}
.unit-party-row span:last-child{font-variant-numeric:tabular-nums;font-weight:600;color:var(--text);white-space:nowrap}
.unit-party-row.is-profit span:last-child{color:var(--success)}
.calc-breakdown{font-size:13.5px;color:var(--text-muted);line-height:1.55;margin-top:18px}
.calc-breakdown div{display:flex;justify-content:space-between;gap:14px;padding:5px 0;border-bottom:1px dashed var(--border)}
.calc-breakdown div:last-child{border-bottom:0}
.calc-breakdown div span:last-child{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text);font-weight:500}
.calc-breakdown .bd-group{display:block;border-bottom:0;padding:12px 0 3px;font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--text-faint)}
.calc-breakdown .bd-total{border-top:1px solid var(--border-strong);border-bottom:0;margin-top:6px;padding-top:9px;font-weight:600;color:var(--text)}
.calc-breakdown .bd-total span:first-child{color:var(--text)}
.calc-note{margin-top:18px;padding-top:16px;border-top:1px solid var(--border);font-size:12.5px;color:var(--text-muted);line-height:1.5}
.calc-cta-note{margin-top:14px;font-size:12.5px;color:var(--text-muted);line-height:1.5}

/* выделения в SEO-тексте — маркер (небесно-голубой) + рисованное подчёркивание (синий Ozon), как в блоге */
.seo-mark,.seo-underline{--mark:color-mix(in srgb,#87cefa 42%,transparent);--uline:#005BFF;--draw:cubic-bezier(.16,1,.3,1);position:relative;z-index:0;white-space:nowrap;padding:0 .12em;color:var(--text);font-weight:500}
.seo-mark::before,.seo-mark::after{content:'';position:absolute;z-index:-1;border-radius:.18em;background:var(--mark);transform:scaleX(1);transform-origin:left center}
.seo-mark::before{left:-.16em;right:-.16em;top:.04em;bottom:-.1em}
.seo-mark::after{left:-.1em;right:-.2em;top:.13em;bottom:-.14em}
.seo-underline::after{content:'';position:absolute;z-index:-1;left:-.04em;right:-.04em;bottom:-.1em;height:.24em;background:var(--uline);transform:scaleX(1);transform-origin:left center;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 12' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M3 6 C70 2 138 9 208 5 C258 2 298 7 316 4 C318 5 318 7.5 316 8.5 C298 11 258 7 208 9.5 C138 13 70 7 3 10.5 C1.5 9 1.5 7.5 3 6 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 12' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M3 6 C70 2 138 9 208 5 C258 2 298 7 316 4 C318 5 318 7.5 316 8.5 C298 11 258 7 208 9.5 C138 13 70 7 3 10.5 C1.5 9 1.5 7.5 3 6 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat}
html.js .seo-mark.hl-anim::before,html.js .seo-mark.hl-anim::after,html.js .seo-underline.hl-anim::after{transform:scaleX(0);transition:transform .55s var(--draw)}
html.js .seo-mark.hl-anim::after{transition-duration:.72s}
html.js .seo-mark.hl-anim.is-in::before,html.js .seo-mark.hl-anim.is-in::after,html.js .seo-underline.hl-anim.is-in::after{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){html.js .seo-mark.hl-anim::before,html.js .seo-mark.hl-anim::after,html.js .seo-underline.hl-anim::after{transition:none;transform:scaleX(1)}}
.seo-text .seo-body > .seo-sec:first-child p,.seo-text .seo-col:first-child > .seo-sec:first-child p,.seo-text .seo-flow > .seo-sec:first-child p{font-size:16px;color:var(--text)} /* вводная — только первый раздел блока, не первый в правой колонке (31.10.2026) */


/* ==================================================================
   РЕДИЗАЙН vbr — перенос из эксперимента.
   Обновлено: 2026-08-02 (чипы аккордеона: inline-flex + сброс margin,
   заливка без рамки — устранён разнобой крайних чипов).
   ================================================================== */
/* ============================================================
   REDESIGN-VBR — экспериментальный слой-оверрайд
   Грузится ПОВЕРХ willbedone-styles.css (побеждает по каскаду).
   Задача: шаг за шагом, экран за экраном, подтягивать дизайн-
   систему willbedone к приёмам vbr.ru (референс — references/vbr-ru/).
   Шрифт остаётся наш (Unbounded + Rubik). Меняем цвета, размеры,
   тени, радиусы, обработку блоков.

   ПРАВИЛА ЭКСПЕРИМЕНТА:
   - Продакшн-файлы (willbedone-styles.css, home-page.html) НЕ трогаем.
   - Здесь только переопределения; что понравится — потом аккуратно
     переносим в основной CSS отдельной сессией.
   - Каждый блок — своей помеченной секцией ниже.
   ============================================================ */

/* --- 0. ГЛОБАЛЬНЫЕ ТОКЕНЫ — первый общий проход -----------------
   Курс арт-директора: зелёный и синий — НАШИ, оставляем.
   Из vbr тянем только второстепенное: серые в одно синеватое
   семейство, подложки с синим подтоном, цвет текста и окрашенные тени.
   ---------------------------------------------------------------- */
:root {
  /* БРЕНД — НЕ трогаем (для наглядности продублировано) */
  --accent:      #646cfe;   /* наш синий — как был */
  --accent-dark: #5159E8;   /* как был */
  --success:     #20941F;   /* наш зелёный — как был */

  /* ТЕКСТ — тянем из vbr (пользователь разрешил «цвета шрифта»).
     Было near-black #1A1A2E → становится тёмно-СИНИЙ, мягче и «дороже» */
  --text:       #18304F;    /* vbr: основной текст / заголовки (был #1A1A2E) */
  --text-muted: #18304F;    /* vbr: ОБЫЧНЫЙ текст тоже тёмный, не серый (был #636775).
                               На vbr серым набрана только мелочь 10px, тело — #18304F.
                               Иерархия — размером и весом, а не серостью. */
  --text-faint: #666F7A;    /* серый ТОЛЬКО для мелочи/сносок; 30.10.2026 #7A838E → #666F7A — контраст 4,5:1 на белом и #F3F6FE (DESIGN.md) */

  /* ПОВЕРХНОСТИ — синеватый подтон vbr вместо нейтрально-серого */
  --surface:      #F3F6FD;  /* vbr: фон секций (был #f3f4f7) */
  --accent-soft:  #ECF0FC;  /* vbr: светло-синяя подложка (был #eef0ff) */
  --border:       #E2E8F2;  /* чуть синее, в одно семейство (был #e6e7ec) */
  --border-strong:#D2D4DB;  /* vbr (был #d4d6de) */

  /* ШИРИНА КОНТЕНТА — шире, как у vbr (меньше поля по краям).
     Было 1200 (контент 1152). Стало 1280 → контент ~1232, в диапазоне vbr (1216–1248).
     .container завязан на var(--container) — расширяется вся страница разом. */
  --container: 1280px;

  /* НОВЫЕ второстепенные токены из vbr (пригодятся ниже по блокам) */
  --warm-soft: #FFF6EB;     /* vbr: тёплая плашка для промо/бонусов */
  /* Фирменная мягкая окрашенная тень-свечение vbr (во все стороны, не вниз) */
  --shadow-vbr: 0 0 24px rgba(24,48,79,.10);
  --shadow-vbr-lg: 0 16px 40px -12px rgba(24,48,79,.18);
}

/* Фине-принт остаётся серым (как на vbr — серый только у мелочи).
   Зачёркнутые старые цены и подсказки форм не должны быть такими же
   тёмными/жирными, как основной текст. */
.hero-bonus-item-price s,
.field-hint,
.hero-bonus-condition { color: var(--text-faint); }

/* --- 1. HERO — главный экран ------------------------------------
   Приёмы vbr: тёплая плашка на промо, мягкие окрашенные тени-свечения,
   радиусы к системе. Синий/зелёный не трогаем. */

/* Бонус-блок = промо-оффер → тёплая плашка vbr (#FFF6EB) вместо белого +
   мягкая тень-свечение. Тёплый тон выделяет предложение на синеватой
   подложке hero, как промо-карточки vbr. Радиус к системе (16). */
.hero-bonus {
  background: #F3F6FE;                 /* светло-синяя плашка (в тон синему бренду / подложкам vbr) */
  border: 1px solid #E1E8F7;          /* бордюр чуть темнее фона, в тот же синий тон */
  border-radius: 16px;
  box-shadow: var(--shadow-vbr);
}
.hero-bonus-icon { border-radius: 12px; }   /* внутренний элемент — радиус меньше контейнера */

/* Трио метрик → фирменная мягкая тень-свечение vbr (карточка «парит» над
   подложкой) + радиус к системе (16). Ячейки и цифры Unbounded — как были. */
.hero-stats {
  border-radius: 16px;
  box-shadow: var(--shadow-vbr);
}

/* Логотипы маркетплейсов: были «прибиты к краям» (space-between) — большие
   дыры, вид разнородный. Группируем ближе, с ровным отступом от края.
   SVG-логотипы (canvas 200×50 с внутренними полями) даём чуть крупнее. */
.hero-logos { justify-content: flex-start; gap: clamp(24px, 3vw, 40px); }
.hero-logos img { height: 40px; }

/* --- 2. WHATIS — что такое фулфилмент (видео + 4 шага) ----------
   Приём vbr: мягкие окрашенные тени-свечения вместо тёмных drop-теней. */

/* Медиа (видео/картинка) — тёмный drop-shadow → мягкая окрашенная тень vbr,
   карточка «парит». Радиус чуть к системе (20). */
.whatis-video {
  border-radius: 20px;
  box-shadow: var(--shadow-vbr-lg);
}

/* Полоса из 4 шагов процесса — та же мягкая тень-свечение, что у трио метрик
   hero: единый приём «парящей» карточки по всей странице. */
.hiw-flow {
  box-shadow: var(--shadow-vbr);
}

/* --- 3. PROCESS — карточки услуг 01–06 --------------------------
   Приём vbr: карточку держит мягкая тень-свечение, а не серая рамка.
   Скилл redesign тоже за это: «убрать border, держать тенью». */
.process-card {
  border-radius: 16px;                  /* к системе (было 14) */
  border-color: transparent;            /* убираем серую рамку */
  box-shadow: var(--shadow-vbr);        /* карточку определяет мягкое свечение */
  transition: box-shadow .18s ease, transform .18s ease;
}
.process-card:hover {
  border-color: transparent;            /* было: темнеет до --text (жёстко) */
  box-shadow: var(--shadow-vbr-lg);     /* hover — приподнимаем усилением тени */
  transform: translateY(-2px);
}

/* --- 4. REVIEWS — отзывы (бегущая лента ОСТАЁТСЯ) ----------------
   Только визуал карточек-скриншотов. Ленту, fade-маску, анимацию,
   лайтбокс — не трогаем. */
.review-card {
  border-radius: 14px;                   /* чуть плотнее — мелкие карточки-скриншоты */
  /* БЕЗ тени в покое: 69 карточек в плотной ленте давали синюю дымку-«подложку».
     Фон между карточками должен оставаться чистым. */
  box-shadow: none;
  border: 1px solid var(--border);       /* тонкая рамка-край, как в оригинале */
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .review-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-vbr-lg);    /* свечение только под курсором (одна карточка — дымки нет) */
    transform: translateY(-2px);
  }
}

/* Рейтинг Яндекса + «Все отзывы» = ОДНА плашка (живой виджет внутри).
   Слева — живой iframe-бейдж рейтинга, разделитель, справа — ссылка со стрелкой.
   Читается как единый элемент: общая рамка, радиус, тень-свечение. */
.reviews-badge-pill {
  display: inline-flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-vbr);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .reviews-badge-pill:hover {
    box-shadow: var(--shadow-vbr-lg);
    transform: translateY(-1px);
    border-color: var(--border-strong);
  }
}
/* левая часть — виджет рейтинга + вертикальный разделитель */
.reviews-badge-pill .reviews-rating {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}
.reviews-badge-pill .reviews-rating iframe { border-radius: 6px; }
/* правая часть — ссылка как текст (не отдельная кнопка) + стрелка */
.reviews-badge-pill .reviews-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  background: transparent;
  font-family: 'Rubik', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
}
.reviews-badge-pill .reviews-cta::after {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  transition: transform .2s ease;
}
@media (hover: hover) {
  .reviews-badge-pill:hover .reviews-cta::after { transform: translateX(3px); }
}

/* --- 5. CONTROL — подход к работе + аккордеон контроля -----------
   Приёмы vbr: мягкие окрашенные тени вместо тёмных/серых рамок. */

/* Картинка-медиа — тёмная тень → мягкая окрашенная тень vbr, радиус 20, без рамки */
.control-intro-image {
  border-radius: 20px;
  border-color: transparent;
  box-shadow: var(--shadow-vbr-lg);
}

/* Пункты аккордеона — держит мягкое свечение; закрытые без серой рамки («парят»),
   при раскрытии синяя рамка-индикатор остаётся (правило [open] специфичнее). Радиус 16. */
.accordion-item {
  border-radius: 16px;
  border-color: transparent;
  box-shadow: var(--shadow-vbr);
}

/* ВНУТРЯНКА аккордеона — вариант C: карточки-категории + чипы.
   Только CSS, HTML не трогаем: перекрашиваем существующие .accordion-col / h4 / ul / li.
   Плашки светло-синие как у vbr, наш синий на маркерах, пункты — белые пилюли. */
.accordion-grid { gap: 28px 40px; }        /* без карточек нужен воздух между категориями */
.accordion-col {
  background: transparent;                 /* заливку категории убрали — чистый белый фон пункта */
  border: 0;                               /* и окантовку убрали */
  border-radius: 0;
  padding: 0;
}
.accordion-col h4 {
  font-family: 'Rubik', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 14px;
  padding: 0;                              /* тема Impreza даёт h4 padding — обнуляем */
  display: flex;
  align-items: center;
  gap: 9px;
}
.accordion-col h4::before {                /* маркер-галочка вместо SVG (без правки HTML) */
  content: "✓";
  flex: 0 0 auto;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--accent) 12%, #fff);
  color: var(--accent);
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
/* список → облако чипов-пилюль (заливка без рамки). */
.accordion-col ul {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}
.accordion-col li {
  display: inline-flex;                    /* чистая пилюля вместо list-item — убирает краевые quirks темы */
  align-items: center;
  margin: 0 !important;                    /* глушим margin, который Impreza вешает на li (у последних он 0 → «крайние» вели себя иначе) */
  padding: 7px 13px;
  background: var(--accent-soft);          /* заливка светло-синим */
  border: 0;
  border-radius: 100px;
  font-size: 13.5px;
  line-height: 1.15;
  color: var(--text);
}
.accordion-col li::before { display: none; }   /* маркер не нужен */

/* Подсказка «раскрывается»: у ЗАКРЫТЫХ пунктов маркер «дышит» пульс-кольцом.
   Открытый пункт не пульсирует. Стаггер по пунктам — волной, не синхронно. */
@media (prefers-reduced-motion: no-preference) {
  .accordion-item:not([open]) .accordion-marker {
    border-radius: 50%;
    animation: acc-hint 2.2s ease-in-out infinite;
  }
  .accordion-item:not([open]):nth-of-type(2) .accordion-marker { animation-delay: .45s; }
  .accordion-item:not([open]):nth-of-type(3) .accordion-marker { animation-delay: .9s; }
  .accordion-item:not([open]):nth-of-type(4) .accordion-marker { animation-delay: 1.35s; }
}
@keyframes acc-hint {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 42%, transparent); transform: scale(1); }
  55%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 0%, transparent); transform: scale(1.12); }
}

/* --- 6. ВЫДЕЛЕНИЯ ТЕКСТА (перенос из блог-гайда §7.20) -----------
   Единый стиль блога и главной: маркер (небесно-голубая плашка) и
   подчёркивание (рукописный штрих). Точечно, «прожектор, не заливка».
   Видно и без JS; с JS (html.js) дорисовывается по скроллу. */
.art-mark, .art-underline{
  --mark:color-mix(in srgb, #87cefa 42%, transparent);   /* маркер — небесно-голубой */
  --uline:#005BFF;                                        /* подчёркивание — синий Ozon */
  --draw:cubic-bezier(.16,1,.3,1);
  position:relative; z-index:0; white-space:nowrap; padding:0 .12em;
}
.art-mark::before, .art-mark::after{ content:''; position:absolute; z-index:-1; border-radius:.18em; background:var(--mark); transform:scaleX(1); transform-origin:left center; }
.art-mark::before{ left:-.16em; right:-.16em; top:.04em; bottom:-.1em; }
.art-mark::after{  left:-.1em;  right:-.2em;  top:.13em; bottom:-.14em; }
.art-underline::after{
  content:''; position:absolute; z-index:-1; left:-.04em; right:-.04em; bottom:-.1em; height:.26em;
  background:var(--uline); transform:scaleX(1); transform-origin:left center;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 12' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M3 6 C70 2 138 9 208 5 C258 2 298 7 316 4 C318 5 318 7.5 316 8.5 C298 11 258 7 208 9.5 C138 13 70 7 3 10.5 C1.5 9 1.5 7.5 3 6 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 12' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M3 6 C70 2 138 9 208 5 C258 2 298 7 316 4 C318 5 318 7.5 316 8.5 C298 11 258 7 208 9.5 C138 13 70 7 3 10.5 C1.5 9 1.5 7.5 3 6 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
html.js .art-mark.hl-anim::before, html.js .art-mark.hl-anim::after,
html.js .art-underline.hl-anim::after{ transform:scaleX(0); transition:transform .55s var(--draw); }
html.js .art-mark.hl-anim::after{ transition-duration:.72s; }
html.js .art-mark.hl-anim.is-in::before, html.js .art-mark.hl-anim.is-in::after,
html.js .art-underline.hl-anim.is-in::after{ transform:scaleX(1); }
@media (prefers-reduced-motion: reduce){
  html.js .art-mark.hl-anim::before, html.js .art-mark.hl-anim::after,
  html.js .art-underline.hl-anim::after{ transition:none; transform:scaleX(1); }
}

/* --- 7. RESPONSIBILITY — матрица ответственности -----------------
   Тот же приём, что у карточек услуг: мягкая тень-свечение вместо рамки. */
.resp-card {
  border-radius: 16px;
  border-color: transparent;
  box-shadow: var(--shadow-vbr);
  transition: box-shadow .18s ease, transform .18s ease;
}
.resp-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-vbr-lg);
  transform: translateY(-2px);
}

/* --- 8. WMS — складская система (мокап + метрики + карточки) -----
   Единый приём: мягкие окрашенные тени, радиус к системе, hover-подъём. */

/* Мокап-рамка: сохраняем объёмный блик-inset, тёмный drop меняем на мягкий окрашенный */
.wms-mock-shell {
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, var(--shadow-vbr-lg);
}
/* Трио метрик — тень-свечение + радиус 16 (как у hero-stats) */
.wms-stats {
  border-radius: 16px;
  box-shadow: var(--shadow-vbr);
}
/* Карточки-фичи — как карточки услуг: без рамки, тень-свечение, hover-подъём */
.wms-card {
  border-radius: 16px;
  border-color: transparent;
  box-shadow: var(--shadow-vbr);
  transition: box-shadow .18s ease, transform .18s ease;
}
.wms-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-vbr-lg);
  transform: translateY(-2px);
}

/* --- 9. BENEFITS — преимущества (иконка + текст, не карточки) ----
   Иконки-тайлы: белый+серая рамка → чистый tinted-вид vbr (как в WMS-иконках). */
.benefit-icon {
  background: var(--accent-soft);     /* светло-синяя подложка вместо белого */
  border-color: transparent;          /* серую рамку убираем */
  border-radius: 12px;
  color: var(--accent-dark);
}

/* --- 10. EXAMPLES / цены — карточки примеров расчётов ------------
   Единый вид карточек: без рамки, тень-свечение, радиус 16, hover-подъём. */
.example-card {
  border-radius: 16px;
  border-color: transparent;
  box-shadow: var(--shadow-vbr);
  transition: box-shadow .18s ease, transform .18s ease;
}
.example-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-vbr-lg);
  transform: translateY(-2px);
}
/* Блок цен — ЕДИНАЯ светло-синяя гамма, как у остальных секций.
   (Более глубокий фон выбивался — был темнее соседних, бросался в глаз.) */
.examples-section {
  background: var(--surface);
}
/* Заголовок блока цен «съезжал» влево: text-wrap:balance ужимает коробку h2
   до ширины текста, и она прилипает к левому краю шапки. Центрируем коробку. */
.examples-section .section-head h2 { margin-inline: auto; }

/* --- 11. CTA — тёмная панель на белом ----------------------------
   Подложку (светло-синюю) убираем → CTA на белом, без «светофора».
   Индиго-градиент панели убран (был лишний «тухлый» фиолетовый) —
   сплошной тёмно-синий; мягкая тень оставляет ощущение «парящей» панели. */
.cta-section { background: #fff; }
.cta-section .container {
  background: var(--text);            /* сплошной тёмно-синий, без индиго */
  box-shadow: var(--shadow-vbr-lg);
}

/* --- 12. WHY — почему willbedone (крупные номера) ----------------
   Блок уже в духе vbr: белый фон, крупные акцентные цифры со штрихом.
   Стилевых правок не требует. Профилактика: центрируем заголовок
   (тот же text-wrap:balance, что прижимал заголовок цен влево). */
.why-head h2 { margin-inline: auto; }

/* --- 13. BLOGROLL — лента статей блога ---------------------------
   Голубая обёртка-панель ОСТАЁТСЯ (базовая, её вернули).
   Убираем ТЕНЬ карточек в покое — именно она на белом читалась как «слой»
   под карточкой. Карточки лежат ровно на голубой панели; подъём только на hover. */
.blogroll-link { box-shadow: none; }
.blogroll-link:hover {
  box-shadow: 0 14px 30px -16px rgba(24,48,79,.22);
  transform: translateY(-3px);
}

/* --- 14. FAQ — частые вопросы (плашки как у vbr) -----------------
   Пункты-details → светло-синие плашки нашей единой гаммы (у vbr FAQ так же).
   Без тени (как на vbr). Открытый пункт — синяя рамка (правило [open] оставляем). */
.faq details {
  background: #F3F6FE;
  border-color: #E1E8F7;
  border-radius: 12px;
}
/* Открытый пункт — синяя рамка-индикатор (перекрываем базовый цвет закрытого) */
.faq details[open] { border-color: var(--accent); }

/* --- 15. МОБИЛКА (<=600px) — правки эксперимента -----------------
   Главное: убрать горизонтальное переполнение (плашка рейтинга вылезала
   за экран → мёртвая зона справа + «прибитость» всех блоков влево). */
@media (max-width: 600px) {
  /* Логотипы маркетплейсов: по центру, крупнее для читаемости.
     При такой ширине три в ряд не влезают → переносятся 2+1 по центру. */
  .hero-logos { justify-content: center; gap: 16px 14px; }
  .hero-logos img { height: 40px; }

  /* Рейтинг + «Все отзывы» = одна плашка, но вертикально — иначе не влезает.
     Рейтинг сверху, ссылка снизу, разделитель становится горизонтальным. */
  .reviews-badge-pill {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }
  .reviews-badge-pill .reviews-rating {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    justify-content: center;
    padding: 12px;
  }
  .reviews-badge-pill .reviews-cta {
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 14px 16px;
  }
}

/* дальше по мере продвижения вниз по странице --- */

/* =========================================================
   КАЛЬКУЛЯТОРЫ 10676/9373 — СЕРАЯ ПАЛИТРА (решение 02.08.2026)
   Пользователь: на страницах юнит-экономики и фулфилмента вернуть
   серый фон, как в старой палитре — голубой редизайн тут не нужен.
   Серим: подложку-ряд (us_custom, задан в билдере), секции и панель
   результата (через --surface на body этих страниц). Поля ввода уже
   серые (#f6f7f9). FAQ-плашки не трогаем — единый элемент сайта.
   .us_custom_3b5da15c — ровно 1 элемент на страницу (ряд-обёртка),
   переопределение безопасно.
   ========================================================= */
body.page-id-10676,
body.page-id-9373 { --surface: #f3f4f7; }
body.page-id-10676 .us_custom_3b5da15c,
body.page-id-9373 .us_custom_3b5da15c { background: #f3f4f7 !important; }

/* ============================================================
   CENY — страница цен: hero + прайс подтянуты к системе vbr.
   Фон страницы остаётся БЕЛЫМ (решение владельца). Добавляем
   мягкие тени-свечения, «парящие» карточки, hover, скругления.
   ============================================================ */

/* HERO — тёмный баннер оставляем, даём парящую тень + радиус к системе */
.ceny-hero-card {
  border-radius: 20px;                 /* к системе (было 24) */
  box-shadow: var(--shadow-vbr-lg);    /* крупная медиа-карточка «парит», как .whatis-video */
}

/* ТАБЫ — «парящие» белые чипы системы (рамку убрали, держим тенью) */
.price-tab {
  border-color: transparent;
  box-shadow: var(--shadow-vbr);
  transition: box-shadow .18s ease, transform .18s ease,
              background-color .15s ease, color .15s ease;
}
@media (hover: hover) {
  .price-tab:hover {
    border-color: transparent;
    color: var(--text);
    box-shadow: var(--shadow-vbr-lg);
    transform: translateY(-1px);
  }
}
.price-tab.is-active {
  background: var(--accent);           /* активный — бренд-синий (было тёмно-синий) */
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-vbr-lg);
}

/* ПАНЕЛЬ прайса = белая «парящая» карточка */
.price-panel {
  border-color: transparent;
  box-shadow: var(--shadow-vbr);
}

/* ГРУППЫ услуг = светло-синие мини-карточки внутри белой панели */
.price-group {
  background: var(--surface);
  border-radius: 12px;
  padding: 4px 18px;
}
.price-group + .price-group { margin-top: 16px; }
.price-row { border-bottom-style: solid; }   /* пунктир → мягкая сплошная */
.price-subhead { color: var(--accent-dark); }/* подзаголовок группы — лёгкий акцент */

@media (max-width: 600px) {
  .price-group { padding: 2px 14px; }
}

/* ФБС — заметки «входит / отдельно»: инфо-блок с отступом от карточек,
   иконки Lucide, мягкая подложка (вместо прилипшего к группам текста) */
.fbs-notes { margin-top: 22px; display: grid; gap: 10px; }
.fbs-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 13px 16px;
}
.fbs-note svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.fbs-note--in svg { color: var(--success); }
.fbs-note--extra svg { color: var(--accent); }
.fbs-note p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.fbs-note strong { font-weight: 600; }

/* =========================================================
   Переключатель режима FBO/FBS в калькуляторе фулфилмента (9373)
   Раздельные плашки в стиле табов площадок юнит-калькулятора:
   белая плашка + обводка, активная — светло-синяя подложка,
   бренд-бордюр и мягкая окрашенная тень. Заголовок FBO/FBS + подпись.
   Перебивает базовый .price-tab (пилюли страницы цен) в контексте .calc-modes.
   ========================================================= */
/* FBO/FBS — единый скруглённый контрол-тумблер (Вариант B, 04.08.2026):
   светлый трек + активная белая пилюля, одна строка (подписи скрыты через CSS,
   HTML не трогаем). Заменил две отдельные плашки — те «дробили» блок. */
.calc-modes { display: flex; gap: 0; background: #eceef3; border: 1px solid #dfe2ea; border-radius: 100px; padding: 4px; margin-bottom: 0; }
.calc-modes .price-tab {
  flex: 1;
  border: 0;
  background: transparent;
  border-radius: 100px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  color: var(--text-faint);
  white-space: nowrap;
  transition: color .2s ease, background .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease;
}
.calc-modes .price-tab.is-active {
  background: #fff;
  box-shadow: 0 2px 8px -2px rgba(24, 48, 79, .22);
  color: var(--text);
}
.calc-modes .price-tab b { font-size: 14px; font-weight: 600; line-height: 1.15; color: inherit; }
.calc-modes .price-tab.is-active b { color: var(--accent-dark); }
.calc-modes .price-tab span { display: none; }

/* =========================================================
   AETHER-Б — перенос почерка Aether (главная, 2026-08-04)
   Референс: Aether design system (uiverse). Переносим ФОРМУ и СТРУКТУРУ,
   цвета/тени берём из наших токенов. Блок в самом конце файла —
   выигрывает каскад над базой и слоем redesign-vbr.
   Состав: (1) кнопки-пилюли + чип-стрелка на главных CTA;
   (2) меню — плавающая капсула из матового стекла; (3) карточки —
   тонкая грань + приподнятая тень.
   ========================================================= */

/* --- 1. Кнопки: форма-пилюля глобально (радиус 12 → 100) --- */
.btn { border-radius: 100px; }

/* Чип-стрелка (круг + стрелка) — ТОЛЬКО на главных CTA:
   hero «Получить расчёт за 20 минут» (button.btn-cta-gradient) и нижний
   CTA «Получить точный расчёт» (.cta-section button.btn-primary).
   Вторичные (<a> «Рассчитать самостоятельно», Telegram) — без чипа.
   ::after автоматически становится флекс-ребёнком .btn (у .btn
   display:inline-flex; gap:10px) — HTML кнопок не трогаем. */
.hero-cta button.btn-cta-gradient::after,
.cta-section button.btn-primary::after {
  content: "";
  flex: none;
  width: 26px; height: 26px;
  border-radius: 100px;
  background:
    rgba(255,255,255,.22)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E")
    center / 15px 15px no-repeat;
  transition: transform .24s cubic-bezier(.16, 1, .3, 1);
}
@media (hover: hover) {
  .hero-cta button.btn-cta-gradient:hover::after,
  .cta-section button.btn-primary:hover::after { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta button.btn-cta-gradient::after,
  .cta-section button.btn-primary::after { transition: none; }
}

/* --- 2. Меню — адаптируется в отдельном файле хедера (header-cercl.html),
   а НЕ здесь. Наш хедер — самостоятельный HTML-блок .wbd-card внутри
   хедера Impreza (своя разметка/стили/скрипт, зелёный акцент, анимированная
   печать-логотип). Стекло/грань кладём прямо в его CSS, не через #page-header. */

/* --- 3. Карточки: тонкая грань + приподнятая тень ------------------
   Только НАСТОЯЩИЕ белые карточки. .benefit исключён намеренно — это
   строка «иконка+текст» без фона (грань дала бы пустую рамку). Иконки
   оставляем нашими синими на светло-синей подложке. */
.process-card,
.resp-card,
.wms-card,
.example-card {
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(24, 48, 79, .05), 0 16px 38px -22px rgba(24, 48, 79, .30);
}
@media (hover: hover) {
  .process-card:hover,
  .resp-card:hover,
  .wms-card:hover,
  .example-card:hover {
    border-color: var(--border-strong);
    box-shadow: 0 1px 2px rgba(24, 48, 79, .05), 0 22px 48px -22px rgba(24, 48, 79, .38);
  }
}
/* Контейнеры-трио и медиа уже с гранью — только поднимаем тень до Aether-уровня */
.hero-stats,
.hiw-flow,
.whatis-video {
  box-shadow: 0 1px 2px rgba(24, 48, 79, .05), 0 18px 42px -22px rgba(24, 48, 79, .32);
}

/* --- 4. Единая типо-лестница заголовков ---------------------------
   Было: H2 разных секций висели на 500/600/700 (свои селекторы) —
   рваная толщина. Приводим ВСЕ H2 к одному виду: вес 600, один размер.
   H1 задаётся выше (вес 700, крупнее) — самый заметный уровень.
   !important — чтобы перебить все индивидуальные правила секций разом. */
.whatis-info h2,
.reviews-header h2,
.cta-section h2,
.blogroll-head-text h2,
.section-head h2,
.control-intro-text h2,
.wms-info h2,
.why-head h2,
.chz-info h2 {
  font-family: 'Rubik', system-ui, sans-serif;
  font-size: clamp(28px, 3.4vw, 40px) !important;
  font-weight: 600 !important;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

/* --- 5. Единый вид «стрелочных» CTA-ссылок ------------------------
   Блок «Все отзывы в Яндекс-Картах» читается как кнопка: контейнер-пилюля
   + та же чип-стрелка, что у главных CTA (кружок-акцент + белая стрелка,
   едет вбок на hover). Раньше был прямоугольник + текстовая «→». */
.reviews-badge-pill { border-radius: 999px; }
.reviews-badge-pill .reviews-rating { padding-left: 24px; }
.reviews-badge-pill .reviews-cta { padding-right: 22px; gap: 10px; }
.reviews-badge-pill .reviews-cta::after {
  content: "";
  flex: none;
  width: 24px; height: 24px;
  border-radius: 100px;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E")
    center / 14px 14px no-repeat;
  transition: transform .24s cubic-bezier(.16, 1, .3, 1);
}
@media (hover: hover) {
  .reviews-badge-pill:hover .reviews-cta::after { transform: translateX(3px); }
}

/* --- 6. Единый язык теней: ВСЕ карточки/плашки/медиа на «грань +
   приподнятость». Свечения (shadow-vbr) на странице не остаётся —
   было на бонус-блоке, аккордеоне, картинке контроля и плашке отзывов. */
.hero-bonus,
.accordion-item,
.control-intro-image,
.reviews-badge-pill {
  box-shadow: 0 1px 2px rgba(24, 48, 79, .05), 0 16px 38px -22px rgba(24, 48, 79, .30);
}

/* --- 7. Иконки-тайлы единым видом: скруглённый квадрат (радиус 12),
   подложка --accent-soft, БЕЗ грани, размер 40. Было: WMS 10px без грани,
   «выгоды» 12px С гранью. Кружки шагов фулфилмента (hiw-badge) ТОЖЕ
   приведены к этому тайлу (05.08.2026, см. блок HOW IT WORKS выше).
   Старые рисунки «выгод» меняем на Lucide отдельным шагом (правка HTML). */
.wms-card-icon,
.benefit-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 0;
  color: var(--accent);
}
.wms-card-icon svg,
.benefit-icon svg { width: 20px; height: 20px; }

/* --- 8. FAQ-плашки: радиус 12 → 16 в тон карточкам (фон и «открытый =
   синяя рамка» оставляем). */
.faq details { border-radius: 16px; }

/* --- 9. Тёмная CTA-панель («Давайте посчитаем») — якорь-контраст.
   Цвет не трогаем, добавляем системный радиус + мягкую тень, чтобы
   панель «парила» в одном языке с карточками. */
.cta-section .container {
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(24, 48, 79, .06), 0 24px 60px -24px rgba(24, 48, 79, .45);
}
@media (max-width: 600px) { .cta-section .container { border-radius: 18px; } }

/* --- 10. Номера этапов 01–06 — акцент-чипы (кружок-плашка accent-soft
   с цифрой), перекличка с иконками-тайлами. Точку после числа убираем
   в разметке. */
.process-title { display: flex; align-items: center; }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 28px; padding: 0 9px;
  margin-right: 12px;
  background: var(--accent-soft); color: var(--accent-dark);
  border-radius: 8px; font-weight: 600; font-size: 15px; line-height: 1;
}

/* =========================================================
   AETHER-Б · доп. правки калькуляторов + мобилка отзывов (04.08.2026)
   ========================================================= */

/* Площадки WB/Ozon/ЯМ — единый вид переключателя (светлый трек + активная
   белая пилюля), логотипы сохраняем (серый → цвет на активной, механика
   .unit-tab img / .unit-tab.is-active img не тронута). */
.unit-tabs {
  display: flex; width: 100%; max-width: 440px; gap: 0; margin: 0 auto 26px;
  background: #eceef3; border: 1px solid #dfe2ea; border-radius: 100px; padding: 4px;
}
.unit-tab {
  flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none;
  border-radius: 100px; padding: 10px 12px;
}
@media (hover: hover) { .unit-tab:hover { border-color: transparent; background: rgba(255, 255, 255, .5); } }
.unit-tab.is-active {
  background: #fff; border-color: transparent;
  box-shadow: 0 2px 8px -2px rgba(24, 48, 79, .22);
}

/* Поле «На партию» (кол-во, #wb_qty/oz_qty/ym_qty) — читается как редактируемое:
   белый фон + заметная грань на светлой панели результата (было #f6f7f9 — сливалось). */
.unit-party-qty .input { background: #fff; border-color: var(--border-strong); width: 84px; }

/* Чекбоксы операций (фулфилмент) — тоньше/легче (радиус 10 уже был). */
/* Единый стиль с полями: высота/паддинг/скругление как у .input/.select,
   чекбокс аккуратнее (16px). Свёрстано 05.08.2026 по просьбе арт-директора —
   кнопки-операции не должны отличаться размером от полей выше. */
.check { min-height: 35px; padding: 0 12px; gap: 10px; }
.check input { width: 16px !important; height: 16px !important; min-height: 16px !important; }

/* Блок отзывов на мобиле: на узких экранах встаёт в столбик — радиус 999
   давал «овал» с текстом у края; на мобиле — нормальный радиус. */
@media (max-width: 600px) {
  .reviews-badge-pill { border-radius: 18px; }
}

/* ═════════════════════════════════════════════════════════
   ГЛОБАЛЬНЫЙ ФИКС ШРИФТА ЗАГОЛОВКОВ (04.08.2026) — ОТКАТЫВАЕМЫЙ БЛОК
   Принудительно Rubik на ВСЕ заголовки: дотягивается до старых Impreza-
   страниц (О компании, архив блога, SEO-лендинги, «Доставка из Китая»),
   где h-теги красились Unbounded своим page-<style> (без !important).
   Меняем ТОЛЬКО шрифт — размеры/веса/структуру страниц не трогаем.
   ОТКАТ: удалить этот блок целиком и перевставить CSS в сниппет
   (или git-откат эталона на коммит fe89b04).
   ═════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 { font-family: 'Rubik', system-ui, sans-serif !important; }


/* ============================================================
   ПРАВКА (сессия 2026-08-05): моб. фикс поля «Реклама (ДРР)»
   Тумблер «заказы/выкуп» длинный (inline padding-right:104px) и в узкой
   3-колоночной ячейке (~116px на iPhone) наезжал на цифру и соседнее поле.
   На мобильном кладём тумблер отдельной строкой ПОД полем, поле — на всю
   ширину. Короткий тумблер ₽/% («Прочие удержания») не трогаем.
   Таргет по [data-mode] = только тумблер базы ДРР.
   ============================================================ */
@media(max-width:600px){
  /* ряд с ДРР: равная высота лейблов → инпуты в одну линию, не «прибиваем» к низу */
  .field-grid-3:has([data-mode]) > .field > .field-label{min-height:2.7em}
  .field-grid-3:has([data-mode]) > .field > :last-child{margin-top:0}
  /* поле ДРР: снять inline 104px, поле на всю ширину ячейки */
  .input-affix:has([data-mode]){flex-wrap:wrap;row-gap:6px}
  .input-affix:has([data-mode]) .input{padding-right:11px!important;flex:1 1 100%}
  /* сам тумблер: из абсолютного справа — в статичную строку под полем */
  .unit-toggle:has([data-mode]){position:static;transform:none;flex:1 1 100%;justify-content:stretch;background:var(--accent-soft)}
  .unit-toggle:has([data-mode]) .unit-toggle-btn{flex:1;text-align:center;padding:5px 0;font-size:11px}
}

/* =========================================================
   ПОИСК ПО БЛОГУ + ВОЗДУШНЫЕ ЧИПЫ ТЕМ — 07.08.2026
   Блок для страницы /blog/ (page 1385) и страниц категорий.
   Разметка: .wbd-search в шапке, скрипт blog-search.js.
   ========================================================= */

/* Выдача длиннее шапки и должна ложиться ПОВЕРХ карточек статей.
   Две причины, почему она пряталась: у .blog-hero/.cat-hero стоял
   overflow:hidden (обрезал всё ниже границы секции), и сетка статей
   следующей секции рисовалась выше. overflow:hidden стоял ради
   full-bleed (width:100vw) — горизонтальный скролл и так глушится
   body{overflow-x:hidden}, проверено на 390px. */
.blog-hero,
.cat-hero { overflow: visible; }
.blog-hero-content,
.cat-hero-content { z-index: 3; }

.wbd-search {
  position: relative;
  z-index: 5;
  max-width: 620px;
  margin: 0 auto;
  text-align: left;
}
.wbd-search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 58px;
  padding: 0 8px 0 22px;
  border-radius: 100px;
  background: color-mix(in srgb, #fff 76%, transparent);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: 0 1px 2px rgba(24,48,79,.05), 0 18px 40px -22px rgba(24,48,79,.32);
  transition: box-shadow .35s cubic-bezier(.22,1,.36,1), border-color .35s cubic-bezier(.22,1,.36,1);
}
/* Фокус НИЧЕГО не подсвечивает — как в обычной строке поиска: мигает курсор, и всё.
   (Разгорание контура пробовали, арт-директор отверг: лишний акцент.) */
.wbd-search-ico {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--text-faint);
  transition: color .3s cubic-bezier(.22,1,.36,1);
}
/* Тема Impreza навешивает на любые input свой вид: серый фон #f2f4f7, радиус 4.8,
   min-height из --inputs-height и синее кольцо box-shadow при фокусе. Внутри нашей
   капсулы это читалось как вторая «будка». Гасим во всех состояниях — !important
   обязателен, селекторы темы специфичнее. */
.wbd-search-input,
.wbd-search-input:hover,
.wbd-search-input:focus,
.wbd-search-input:focus-visible,
.wbd-search-input:active {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  line-height: normal !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font: 400 16px/1.4 Rubik, sans-serif;
  color: var(--text);
  caret-color: var(--accent);
}
.wbd-search-input::placeholder { color: transparent; }
.wbd-search-input::-webkit-search-cancel-button { display: none; }

/* подсказки: фразы сменяются, пока поле пустое */
.wbd-ph {
  position: absolute;
  left: 54px;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: hidden;
  height: 24px;
}
.wbd-ph span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--text-faint);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity .34s cubic-bezier(.22,1,.36,1), transform .34s cubic-bezier(.22,1,.36,1);
}
.wbd-ph span.is-in  { opacity: 1; transform: translateY(0); }
.wbd-ph span.is-out { opacity: 0; transform: translateY(-14px); }
.wbd-search.is-typing .wbd-ph { display: none; }

.wbd-search-clear {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: var(--accent-soft);
  color: var(--text-faint);
  display: none;
  align-items: center;
  justify-content: center;
  transition: color .2s ease;
}
.wbd-search-clear:hover { color: var(--text); }
.wbd-search.is-typing .wbd-search-clear { display: flex; }
.wbd-search-kbd { flex: 0 0 auto; margin-right: 12px; }
.wbd-search-kbd kbd {
  font: 500 11px/1 Rubik, sans-serif;
  padding: 5px 7px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-faint);
}
.wbd-search.is-typing .wbd-search-kbd { display: none; }

/* выпадающая выдача */
.wbd-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 10px);
  z-index: 60;
  border-radius: 20px;
  overflow: hidden;
  background: color-mix(in srgb, #fff 92%, transparent);
  backdrop-filter: blur(22px) saturate(1.6);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(24,48,79,.05), 0 30px 60px -26px rgba(24,48,79,.40);
  opacity: 0;
  transform: translateY(-6px) scale(.985);
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.22,1,.36,1), transform .28s cubic-bezier(.22,1,.36,1);
}
.wbd-results.is-open { opacity: 1; transform: none; pointer-events: auto; }
.wbd-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 8px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.wbd-results-list {
  max-height: min(62vh, 470px);
  overflow-y: auto;
  padding: 0 8px 8px;
  scrollbar-width: thin;
}
.wbd-hit {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background-color .18s ease;
}
.wbd-hit:hover,
.wbd-hit.is-active { background: var(--accent-soft); text-decoration: none; }
.wbd-hit-img {
  width: 78px;
  aspect-ratio: 16/9;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  background: var(--surface);
}
.wbd-hit-cat {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 3px;
}
.wbd-hit-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.32;
  margin-bottom: 3px;
  color: var(--text);
}
.wbd-hit-snip {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-faint);
}
.wbd-hit mark {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent-dark);
  border-radius: 4px;
  padding: 0 2px;
}
.wbd-hit-title mark {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}
.wbd-results-foot {
  border-top: 1px solid var(--border);
  padding: 11px 20px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
}
.wbd-results-foot a { color: var(--accent-dark); text-decoration: none; font-weight: 500; }
.wbd-results-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ничего не нашли — решаем прямо в выдаче, без отдельной страницы */
.wbd-empty { padding: 22px 20px 20px; text-align: center; }
.wbd-empty-t { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.wbd-empty-s { font-size: 13.5px; color: var(--text-faint); margin: 0 0 16px; line-height: 1.5; }
.wbd-empty-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.wbd-chip {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: 400 13.5px/1.2 Rubik, sans-serif;
  padding: 8px 15px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  transition: background-color .2s ease;
}
.wbd-chip:hover { background: color-mix(in srgb, var(--accent) 16%, #fff); }

/* ---------- чипы тем: воздушный вид (блог и категории) ---------- */
.blog-tags,
.cat-tags {
  gap: 10px;
  max-width: 840px;
  margin: 26px auto 0;
}
.blog-tags-label,
.cat-tags-label { display: none; }
.blog-tag,
.cat-tag {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  padding: 9px 17px;
  transition: background-color .22s cubic-bezier(.22,1,.36,1), color .22s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) {
  .blog-tag:hover,
  .cat-tag:hover {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent-dark);
    text-decoration: none;
  }
  /* активный чип под курсором больше не темнеет: раньше hover красил текст в var(--text) поверх тёмного фона */
  .blog-tag.is-active:hover,
  .cat-tag.is-active:hover {
    background: var(--accent);
    border-color: transparent;
    color: #fff;
  }
}
.blog-tag.is-active,
.cat-tag.is-active {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(100,108,254,.75);
}
.blog-tag-count,
.cat-tag-count {
  margin-left: 7px;
  font-size: 12px;
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}
.blog-tag.is-active .blog-tag-count,
.cat-tag.is-active .cat-tag-count { color: rgba(255,255,255,.72); }

@media (max-width: 600px) {
  .wbd-search-field { height: 52px; padding-left: 18px; }
  .wbd-ph { left: 48px; right: 70px; font-size: 15px; }
  .wbd-hit { grid-template-columns: 62px 1fr; gap: 11px; }
  .wbd-hit-img { width: 62px; }
  /* на узком экране длинная цитата раздувает строку до 177px — держим две строки */
  .wbd-hit-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .wbd-hit-snip {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-tag, .cat-tag { font-size: 14px; padding: 8px 14px; }
  .blog-tags, .cat-tags { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .wbd-search-field, .wbd-results, .wbd-hit, .blog-tag, .cat-tag { transition: none; animation: none; }
}

/* ==========================================================================
   ДОСТАВКА НА СКЛАДЫ МАРКЕТПЛЕЙСОВ — таблицы складов (10.08.2026)
   Страницы: /dostavka-tovarov-na-marketplace/, -marketpleys-wildberries/,
   -marketpleys-ozon/, /dostavka-tovara-yandeks-market/
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.wh-block { margin: 0 0 40px; }
.wh-block:last-of-type { margin-bottom: 24px; }

.wh-head {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 16px; flex-wrap: wrap;
}
.wh-head img { height: 26px; width: auto; flex: none; }
.wh-head h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.2; }

/* обёртка со скроллом — карточный язык системы: грань + приподнятая тень */
.wh-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(24, 48, 79, .05), 0 18px 44px -22px rgba(24, 48, 79, .30);
}

.wh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.wh-table caption { text-align: left; }

.wh-table thead th {
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-faint);
  white-space: nowrap;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.wh-table thead th:first-child { border-top-left-radius: 16px; }
.wh-table thead th:last-child { border-top-right-radius: 16px; }

.wh-table tbody th,
.wh-table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.wh-table tbody tr:last-child th,
.wh-table tbody tr:last-child td { border-bottom: 0; }

.wh-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.wh-table tbody td {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.wh-table tbody tr:hover th,
.wh-table tbody tr:hover td { background: var(--accent-soft); }

.wh-table .wh-note {
  font-weight: 400;
  color: var(--text-faint);
  font-size: 14px;
}

/* шкала дней недели: активные — акцентные пилюли */
.wh-days { display: inline-flex; gap: 4px; }
.wh-days i {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 24px; padding: 0 6px;
  border-radius: 100px;
  font-style: normal; font-size: 12px; font-weight: 500;
  color: var(--text-faint);
  background: var(--surface);
}
.wh-days i.is-on {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.wh-after {
  margin: 14px 0 0;
  font-size: 15px;
  color: var(--text-muted);
}

/* две колонки — узкая таблица не растягивается на всю ширину */
.wh-table--simple tbody td,
.wh-table--simple thead th:last-child { text-align: right; }
.wh-table--simple tbody th { white-space: normal; }

@media (max-width: 767px) {
  .wh-table { font-size: 14px; }
  .wh-table thead th { padding: 12px 14px; }
  .wh-table tbody th,
  .wh-table tbody td { padding: 11px 14px; }
  /* название склада не уезжает при горизонтальном скролле */
  .wh-table tbody th,
  .wh-table thead th:first-child {
    position: sticky; left: 0; z-index: 1;
    background: #fff;
    box-shadow: 1px 0 0 var(--border);
  }
  .wh-table thead th:first-child { background: var(--surface); }
  .wh-table tbody tr:hover th { background: var(--accent-soft); }
  .wh-days i { min-width: 26px; height: 22px; padding: 0 4px; font-size: 11px; }
}

/* --- ВАРИАНТЫ секции «География» (10.08.2026, на выбор; лишние удалить) --- */

/* Вариант 1 — зоны строками: слева зона, по центру чипы городов, справа срок */
.geo-rows { display: flex; flex-direction: column; gap: 12px; }
.geo-row {
  display: grid;
  grid-template-columns: 210px 1fr 190px;
  gap: 28px; align-items: start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(24,48,79,.05), 0 16px 40px -24px rgba(24,48,79,.30);
}
.geo-row h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; line-height: 1.2; }
.geo-row .geo-sub { margin: 0; font-size: 14px; color: var(--text-faint); }
.geo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-chips span {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 100px;
  background: var(--accent-soft); color: var(--text);
  font-size: 14px; line-height: 1.3; white-space: nowrap;
}
.geo-when { text-align: right; font-size: 14px; line-height: 1.45; color: var(--text-muted); }
.geo-when b { display: block; font-size: 15px; font-weight: 600; color: var(--text); }

/* Вариант 2 — три колонки: крупный счётчик, чипы, срок внизу */
.geo-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.geo-col {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(24,48,79,.05), 0 16px 40px -24px rgba(24,48,79,.30);
}
.geo-col-num { font-size: 34px; font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.geo-col h3 { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.25; }
.geo-col .geo-chips { margin-top: auto; }
.geo-col-foot { padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; color: var(--text-muted); }
.geo-col-foot b { color: var(--text); font-weight: 600; }

@media (max-width: 1023px) {
  .geo-row { grid-template-columns: 1fr; gap: 14px; }
  .geo-when { text-align: left; }
  .geo-cols { grid-template-columns: 1fr; }
}

/* --- Блок «две даты»: как читать календарь отгрузок (10.08.2026) --- */
.dates-rule {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 24px; margin: 0 0 24px;
  background: var(--accent-soft);
  border-radius: 16px;
}
.dates-rule svg { flex: none; width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.dates-rule p { margin: 0; font-size: 17px; line-height: 1.5; }
.dates-rule p + p { margin-top: 8px; }

.tl-cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tl-case {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(24,48,79,.05), 0 16px 40px -24px rgba(24,48,79,.30);
}
.tl-case > h3 { margin: 0 0 4px; font-size: 19px; font-weight: 600; line-height: 1.25; }
.tl-case > p { margin: 0 0 20px; font-size: 14px; color: var(--text-faint); }

.tl { list-style: none; margin: 0; padding: 0; }
.tl li { position: relative; padding: 0 0 22px 30px; }
.tl li:last-child { padding-bottom: 0; }
/* точка и линия таймлайна */
.tl li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2px solid var(--border-strong);
}
.tl li::after {
  content: ""; position: absolute; left: 5px; top: 17px; bottom: -6px;
  width: 2px; background: var(--border);
}
.tl li:last-child::after { display: none; }
.tl li.is-key::before { border-color: var(--accent); background: var(--accent); }

.tl-day { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.tl-what { display: block; margin-top: 2px; font-size: 15px; color: var(--text-muted); line-height: 1.45; }
.tl-tag {
  display: inline-flex; margin-top: 8px; padding: 4px 12px;
  border-radius: 100px; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 600; font-style: normal;
}

@media (max-width: 1023px) { .tl-cases { grid-template-columns: 1fr; } }

/* --- Сноски под таблицами: воздух и вид примечания (правка 10.08.2026) --- */
.examples-section .wh-after,
.benefits-section .wh-after,
.wh-after {
  margin: 26px 0 0;
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-faint);
}
.wh-after::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1px;
  background: var(--border-strong);
}
.wh-after a { color: var(--accent-dark); }

.wh-block { margin-bottom: 48px; }
.wh-block:last-of-type { margin-bottom: 32px; }

/* общий дисклеймер прайса — отделить от последнего блока */
.examples-section .price-note { margin-top: 36px; }

@media (max-width: 767px) {
  .examples-section .wh-after,
  .benefits-section .wh-after,
  .wh-after { margin-top: 20px; }
  .wh-block { margin-bottom: 36px; }
}

/* --- Дисклеймер под таблицами доставки: в один язык со сносками (10.08.2026) ---
   Базовый .price-note центрирован и сужен до 760px — это верно для страницы цен,
   но на страницах доставки он идёт сразу после левой сноски .wh-after: два
   примечания подряд разного вида, у нижнего рваные строки. Скоупим по секциям
   доставки: левое выравнивание, полная ширина, отбивка тонкой линией. */
#ship-prices .price-note,
#wb-prices .price-note,
#ozon-prices .price-note,
#ym-prices .price-note {
  max-width: none;
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: left;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-faint);
}
#ship-prices .price-note a,
#wb-prices .price-note a,
#ozon-prices .price-note a,
#ym-prices .price-note a { color: var(--accent-dark); }

/* ═══════════════════════════════════════════════════════════════════
   РАСКАДРОВКА СЕТОК — четыре элемента в трёхколоночной сетке
   ───────────────────────────────────────────────────────────────────
   Четыре карточки в repeat(3,1fr) дают ряд из трёх и одинокую
   четвёртую с пустотой в две трети ширины. Правила ниже ловят случай
   «ровно четыре ребёнка» и перекладывают сетку. Сетки с тремя и шестью
   элементами не затрагиваются.
   Правило раскадровки — knowledge/proekt-willbedone.md, раздел 13.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Короткие карточки: четыре в ряд, колонки уже ──────────────────── */
.wms-grid:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.wms-grid:has(> :last-child:nth-child(4)) .wms-card { padding: 20px 18px 22px; }
.wms-grid:has(> :last-child:nth-child(4)) .wms-card::before { width: 84px; height: 84px; }
.wms-grid:has(> :last-child:nth-child(4)) .wms-card h3 { font-size: 15.5px; }
.wms-grid:has(> :last-child:nth-child(4)) .wms-card p { font-size: 14px; }
@media (max-width: 1100px) { .wms-grid:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .wms-grid:has(> :last-child:nth-child(4)) { grid-template-columns: 1fr; } }

/* ── Шаги процесса: строками, номер и название слева, пункты справа ── */
.process-grid:has(> :last-child:nth-child(4)) { grid-template-columns: 1fr; gap: 12px; }
.process-grid:has(> :last-child:nth-child(4)) .process-card {
  display: grid;
  grid-template-columns: minmax(230px, 320px) 1fr;
  gap: 0 48px;
  align-items: start;
  padding: 26px 32px;
}
.process-grid:has(> :last-child:nth-child(4)) .process-title { margin: 0; }
.process-grid:has(> :last-child:nth-child(4)) .process-card::before { width: 120px; height: 120px; }
@media (max-width: 880px) {
  .process-grid:has(> :last-child:nth-child(4)) .process-card {
    grid-template-columns: 1fr; gap: 16px; padding: 24px;
  }
}

/* =====================================================================
   ПРАВКИ 10.08.2026 — подсказка у поля «Ед. в заказе» (калькулятор FBS, 9373)
   Подсказки калькулятора по умолчанию прижаты правым краем к иконке
   (.calc .info-tip выше в файле) — это верно, когда иконка стоит у правого
   края колонки. У поля «Ед. в заказе» иконка стоит сразу за коротким текстом
   лейбла, поэтому на телефоне подсказка вылезала за левый край экрана
   (390px: −8px, 320px: −35px). Для таких иконок — центрирование по иконке.
   ===================================================================== */
.calc .info-tip.info-tip--center { left: 50%; right: auto; transform: translateX(-50%); }
.calc .info-tip--center::after   { left: 50%; right: auto; transform: translateX(-50%); }

/* =====================================================================
   ПРАВКИ 11.08.2026 — единый горизонтальный отступ 24px на всех страницах
   Проблема (найдена на iPhone): на большинстве страниц контент отбит от
   края экрана на 24px, а на страницах цен / о компании / калькуляторов /
   юридических отступ был 48px — вдвое больше.
   Причина: наши секции лежат внутри секции темы Impreza (.l-section),
   у которой свои 24px по бокам. Почти все наши блоки это компенсируют
   приёмом full-bleed (width:100vw + отрицательные margin) и дают ровно
   24px через .container. Перечисленные ниже блоки этого приёма не имели,
   поэтому получали 24px темы + 24px контейнера = 48px.
   Решение: те же full-bleed, что у остальных секций. На десктопе ничего
   не меняется (там .container центрируется по max-width), горизонтальный
   скролл не появляется — body уже с overflow-x:hidden.
   Замеры при 390px: до — 48px, после — 24px, как на главной.
   ===================================================================== */
.ceny-hero,      /* /ceny-fulfillment/ — шапка страницы цен */
.price-section,  /* /ceny-fulfillment/ — прайс с табами */
.about-hero,     /* /o-kompanii/ */
.calc-hero,      /* /kalkulyator-fulfilmenta/ + 4 калькулятора юнит-экономики */
.free-section,   /* /kalkulyator-fulfilmenta/ — «что входит в стоимость» */
.legal-section,  /* /privacy-policy/, /data-protection/ и др. юридические */
.ty-section {    /* /thank-you/ */
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}


/* =====================================================================
   КАЛЬКУЛЯТОР-ДАШБОРД (эксперимент, 13.08.2026)
   Новая подача калькуляторов юнит-экономики: панель параметров слева,
   дашборд справа (герой-зона с прибылью, шкала «куда уходит цена»,
   детализация в аккордеоне, партия). Классы dash-* — новые, ничего
   из боевого не переопределяют, старые calc-* остаются рабочими.
   Первой на этот вид переводится страница Ozon.
   ===================================================================== */

/* --- Палитра категорий расходов.
   Подобрана и проверена валидатором dataviz: попадает в диапазон светлоты,
   держит цветность, различима при дальтонизме (protan/deutan/tritan) и
   контрастна к белому фону. Менять цвета «на глаз» нельзя — перевалидировать. */
:root{
  --cat-cost:#646cfe;      /* себестоимость товара */
  --cat-ff:#3A3FB5;        /* фулфилмент — та же семья, темнее: часть затрат на товар, но своя доля */
  --cat-comm:#E0762B;      /* комиссия площадки и эквайринг */
  --cat-logi:#0F9AA8;      /* логистика и обработка отправления */
  --cat-ads:#B23FA0;       /* реклама */
  --cat-tax:#4A5568;       /* налоги — нейтральный графит */
  --cat-other:#9AA3B2;     /* прочее — нейтральный светлый */
  --cat-profit:#20941F;    /* остаток = прибыль */
  --dash-radius:20px;
}


/* ---------- каркас ---------- */
/* Колонки выравниваем по высоте: правая тянется до низа панели параметров,
   лишний воздух уходит в карточку дашборда, кнопка прижата к нижнему краю.
   Липкость правой колонки при таком выравнивании не нужна — она и так во всю
   высоту, а sticky ломал бы совпадение нижних краёв. */
.dash{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:22px;align-items:stretch}
@media(max-width:980px){.dash{grid-template-columns:1fr}}

.dash-out>.dash-card{flex:1;display:flex;flex-direction:column}
.dash-card{background:#fff;border:1px solid var(--border);border-radius:var(--dash-radius);box-shadow:0 1px 2px rgba(24,48,79,.05),0 20px 44px -26px rgba(24,48,79,.30)}

/* ---------- левая панель: параметры ---------- */
/* Панель без собственной шапки: заголовок «Параметры товара» с линией и кнопкой
   «Сбросить» убраны — они добавляли лишний слой и непонятное действие. Первая
   группа («Цена и себестоимость») открывает панель сразу, без разделителя. */
.dash-inputs{padding:20px 24px 24px}
@media(max-width:600px){.dash-inputs{padding:16px 16px 20px}}
.dash-group:first-child{border-top:0;padding-top:0}

/* главный блок — цена, баллы, себестоимость, фулфилмент: две колонки на любой
   ширине (арт-директор: на телефоне поля не растягиваем, ставим по два в ряд) */
.dash-primary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px}
/* все поля панели выглядят одинаково: белый фон у первого блока выбивался
   из общего ряда (остальные — серые #f6f7f9), выделение убрано */

.dash-group{padding:16px 0;border-top:1px solid var(--border)}
.dash-group:last-child{padding-bottom:0}
.dash-group-title{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-faint);margin-bottom:12px;display:flex;align-items:baseline;gap:8px}
.dash-group-title span{font-weight:400;letter-spacing:0;text-transform:none;font-size:11.5px;color:var(--text-faint);opacity:.85}
.dash-grid-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px}
.dash-grid-3{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:11px}
/* Размеры полей — как в боевом калькуляторе, не крупнее.
   Селектор именно `.dash`, а не `.dash-inputs`: поле количества в блоке
   «Расчёт на партию» лежит вне панели параметров, и с узким селектором тема
   Impreza навязывала ему свой размер (крупная цифра, чужая высота).
   line-height обязателен: тема ставит полям line-height из --inputs-height
   (2.8rem ≈ 44.8px), и при высоте 35px текст в селектах съезжает вниз. */
.dash .input,.dash .select{height:35px!important;min-height:35px!important;
  line-height:normal!important;font-size:13.5px!important;font-weight:400!important;border-radius:10px!important;
  background-color:#f6f7f9!important}
/* фон тоже через !important: у <input> тема ставит свой #f2f4f7, и рядом с
   селектами (#f6f7f9) получался разнобой оттенков */
.dash .input:focus,.dash .select:focus{background-color:#fff!important}
/* пояснение под полями: 9px прижимали текст вплотную к полю — даём воздух.
   16px = внутренний ритм группы (padding 16px), текст явно отделён от поля.
   Отступ обязан идти через `.dash .dash-hint`: базовое `.calc-section p{margin:0}`
   специфичнее одиночного класса и обнуляло его — потому текст и лип к полю. */
.dash-hint{font-size:11.5px;color:var(--text-faint);line-height:1.45}
.dash .dash-hint{margin-top:16px}
/* переключатель режимов внутри панели: своя группа, разделительная линия ниже */
.dash-inputs .calc-modes{margin-bottom:0}
/* группа, переключаемая табами (хранение: паллеты/короба/объём), линии сверху не
   получает — таб-пилюля уже отделяет её визуально, полоска читалась как артефакт */
.dash-group.is-mode{border-top:0}
/* группа-примечание (условия прайса внизу панели): текст в ней единственный,
   свой отступ сверху не нужен — его уже даёт padding группы */
.dash .dash-group.is-note .dash-hint{margin-top:0}


/* подсказки-«i»: боевые стили .info-btn/.info-tip лежат в общем CSS,
   здесь только показ по клику (на бою это делает скрипт-синглтон) */
.info-btn.tip-open .info-tip{opacity:1;visibility:visible}

/* ---------- правая колонка: дашборд ---------- */
.dash-out{display:flex;flex-direction:column;gap:14px;min-height:100%}


/* --- герой-зона результата --- */
.dash-hero{background:color-mix(in srgb,var(--accent) 7%,#fff);border-radius:var(--dash-radius);padding:18px 20px 14px;border:1px solid color-mix(in srgb,var(--accent) 16%,#fff)}
.dash-hero-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dash-hero-label{font-size:13px;color:var(--text-muted);font-weight:500}
.dash-chip{font-size:11.5px;font-weight:600;padding:4px 11px;border-radius:100px;background:#fff;color:var(--text-muted);white-space:nowrap;display:inline-flex;align-items:center;gap:5px}
.dash-chip.is-good{color:#177416;background:color-mix(in srgb,var(--cat-profit) 12%,#fff)}
.dash-chip.is-bad{color:#a4322a;background:#fdeceb}
.dash-hero-value{font-size:clamp(34px,4vw,44px);font-weight:600;line-height:1.05;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--text);margin:6px 0 3px}
.dash-hero-value.is-good{color:#177416}
.dash-hero-value.is-bad{color:#c0392b}
.dash-hero-sub{font-size:12.5px;color:var(--text-faint);line-height:1.5}
.dash-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:13px}
.dash-tile{background:#fff;border-radius:14px;padding:9px 11px 10px;min-width:0}
.dash-tile-label{font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;color:var(--text-faint);font-weight:600;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dash-tile-value{font-size:19px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em;color:var(--text);line-height:1.15}
.dash-tile-hint{font-size:11px;color:var(--text-faint);margin-top:2px}

/* --- шкала «куда уходит цена» --- */
.dash-block{padding:18px 20px}
.dash-block-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:12px}
.dash-block-title{font-size:13.5px;font-weight:600;color:var(--text)}
.dash-block-note{font-size:11.5px;color:var(--text-faint)}
.dash-bar{display:flex;gap:2px;height:16px;margin-bottom:14px}
.dash-bar i{display:block;height:100%;min-width:2px;transition:width .25s cubic-bezier(.22,1,.36,1);cursor:default}
.dash-bar i:first-child{border-radius:6px 3px 3px 6px}
.dash-bar i:last-child{border-radius:3px 6px 6px 3px}
.dash-bar i:only-child{border-radius:6px}
.dash-bar i:hover{filter:brightness(1.08)}
.dash-legend{display:flex;flex-direction:column;gap:1px}
.dash-leg{display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;gap:10px;padding:6px 0;font-size:13.5px;color:var(--text-muted);border-bottom:1px solid var(--border)}
.dash-legend .dash-leg:last-child{border-bottom:0}
.dash-leg .dot{width:10px;height:10px;border-radius:3px;background:var(--c)}
.dash-leg .val{font-variant-numeric:tabular-nums;font-weight:500;color:var(--text);white-space:nowrap}
.dash-leg .share{font-variant-numeric:tabular-nums;color:var(--text-faint);font-size:12px;min-width:44px;text-align:right}
.dash-leg.is-profit .val{color:#177416;font-weight:600}
.dash-leg.is-empty{color:var(--text-faint)}
.dash-leg.is-empty .dot{opacity:.35}
.dash-leg.is-empty .val{color:var(--text-faint);font-weight:400}
.dash-leg.is-empty a{color:var(--accent-dark);text-decoration:underline;text-underline-offset:2px;font-size:12px;margin-left:4px}

/* --- детализация: аккордеон --- */
.dash-details{border-top:1px solid var(--border);padding:0 20px}
.dash-details summary{list-style:none;cursor:pointer;padding:13px 0;font-size:13px;color:var(--text-muted);display:flex;align-items:center;gap:7px}
.dash-details summary::-webkit-details-marker{display:none}
.dash-details summary svg{width:15px;height:15px;transition:transform .2s ease;color:var(--text-faint)}
.dash-details[open] summary svg{transform:rotate(180deg)}
/* Детализация: строки без пунктира — их разделяет ритм отступов. Пунктир под
   каждой строкой плюс сплошная линия перед итогом читались как двойная
   разлиновка. Сплошную оставляем только там, где меняется смысл: перед «Всего». */
.dash-details .calc-breakdown{margin:0 0 16px}
.dash-details .calc-breakdown div{border-bottom:0;padding:4px 0}
.dash-details .calc-breakdown .bd-group{padding:14px 0 4px}
.dash-details .calc-breakdown .bd-total{border-top:1px solid var(--border);margin-top:8px;padding-top:9px}

/* --- партия --- */
.dash-party{padding:13px 20px 14px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:8px}
.dash-party-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dash-party-head b{font-size:13px;font-weight:600;color:var(--text)}
.dash-party-qty{display:inline-flex;align-items:center;gap:7px}
.dash-party-qty .input{width:80px;text-align:right;height:32px!important;min-height:32px!important;font-size:13.5px!important}
.dash-party-qty span{font-size:12.5px;color:var(--text-faint)}
.dash-party-rows{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dash-party-cell{background:#f6f7f9;border-radius:11px;padding:8px 11px 9px}
.dash-party-cell small{display:block;font-size:11px;color:var(--text-faint);margin-bottom:2px}
.dash-party-cell b{font-size:15.5px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text)}
.dash-party-cell.is-profit b{color:#177416}

.dash-foot{padding:0 20px 18px;display:flex;flex-direction:column;gap:8px;margin-top:auto}
.dash-foot .calc-note{font-size:11.5px;color:var(--text-faint);line-height:1.5;margin:0}
.dash-foot .btn{width:100%;justify-content:center}

/* ---------- мобильные ---------- */
@media(max-width:600px){
  /* на телефоне поля остаются мелкими и стоят по три в ряд — так же, как было
     в прежнем калькуляторе. Селекты и поля с тумблером (.dash-wide) занимают
     две колонки: в треть ширины их текст не читается. */
  .dash-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dash-grid-3 .field-label{font-size:11px}
  .dash-wide{grid-column:span 2}
  .dash-grid-3>.field>:last-child{margin-top:auto}
  .dash-tiles{gap:6px}
  .dash-tile{padding:10px}
  .dash-tile-value{font-size:16px}
  .dash-tile-hint{display:none}
  .dash-hero{padding:18px 16px 14px}
  .dash-block,.dash-party,.dash-foot,.dash-details{padding-left:16px;padding-right:16px}
  .dash-leg{gap:8px;font-size:13px}

  /* ДРР: тумблер «заказы/выкуп» не разворачивается широкой полосой под полем.
     Поле занимает левую половину своей двойной ячейки, тумблер — правую, то
     есть встаёт ровно под соседним полем и той же ширины. Лишний ряд уходит. */
  .dash .input-affix:has([data-mode]){flex-wrap:nowrap;gap:11px}
  .dash .input-affix:has([data-mode]) .input{flex:1 1 50%;min-width:0;padding-right:11px!important}
  .dash .unit-toggle:has([data-mode]){position:static;transform:none;flex:1 1 50%;min-width:0;
    justify-content:stretch;background:var(--accent-soft)}
  .dash .unit-toggle:has([data-mode]) .unit-toggle-btn{flex:1;text-align:center;padding:4px 2px;font-size:10.5px}

  /* в узкой колонке селекту нужен весь доступный текст — сдвигаем стрелку ближе */
  .dash .select{padding-right:24px!important;background-position:right 8px center}
  /* налоги: режим, ставка и НДС в один ряд, но названию режима нужно чуть больше места */
  .dash-grid-3.is-tax{grid-template-columns:1.4fr 1fr 1fr}
}


/* --- Подсказки-«i» внутри дашборда.
   В старой разметке подсказку двигал селектор `.calc .info-tip` (прижать к
   иконке справа). Новая панель — `.dash`, и привязка к самой иконке не годится:
   иконка узкая, подсказка 240px растёт от неё и у крайних полей уезжает за
   экран (на 390px правый край доходил до 447px). Здесь якорь — само поле,
   подсказка по умолчанию прижата к его левому краю, а если не помещается в
   окно, её доводит скрипт (`fitTip` в конце файла страницы): он сдвигает
   подсказку внутрь экрана и той же величиной возвращает хвостик к иконке.
   Завязку на номер колонки не используем — часть полей скрыта (обработка FBS
   появляется только на FBS), из-за чего nth-child промахивается мимо колонки. */
.dash .field{position:relative}
.dash .info-btn{position:static}
.dash .info-tip{left:0;right:auto;transform:none;bottom:calc(100% + 8px);
  width:min(240px,calc(100vw - 32px));display:none}
/* Скрытая через visibility подсказка всё равно считается в ширине документа и
   на телефоне давала горизонтальную прокрутку (440px при экране 390). Поэтому
   в покое её нет в потоке вовсе, показываем только открытую или под курсором. */
.dash .info-btn.tip-open .info-tip{display:block}
@media(hover:hover){.dash .info-btn:hover .info-tip{display:block}}
.dash .info-tip::after{left:calc(16px - var(--tip-shift, 0px));right:auto;transform:none}

/* ===================== ПРАВКИ 14.08.2026 — воздух в дашборд-калькуляторах =====================
   Правка арт-директора: подпись поля не должна сидеть вплотную на самом поле, а текст-пояснение
   — упираться в следующий блок. Замер до правки: подпись → поле 0px во ВСЕХ полях `.dash`,
   пояснение `.dash-hint` → чекбокс-группа 0px. Правим на уровне дашборда, чтобы ритм был
   одинаковым во всех калькуляторах (фулфилмент, Ozon, WB, Яндекс Маркет), а не точечно.
   Ширины полей не трогаем — правило компактной раскладки (§11 базы знаний) в силе. */
.dash .field-label{margin-bottom:6px}

/* Вертикальный ритм внутри группы. Замер до правки: соседние блоки в `.dash-group`
   (ряд полей → ряд полей, ряд → одиночное поле, заголовок → поля, поля → пояснение)
   стояли с зазором 0px — подпись следующего блока читалась как продолжение предыдущего
   («Тариф по объёму единицы» сидел на полях Длина/Ширина/Высота). Обычные margin здесь
   ненадёжны: соседние отступы схлопываются и дают ноль. Поэтому группа — колонка с gap,
   он не схлопывается никогда; заголовку и пояснению собственные margin гасим, чтобы
   расстояния не складывались вдвое. */
.dash .dash-group{display:flex;flex-direction:column;gap:12px}
.dash .dash-group > .dash-group-title{margin-bottom:0}
.dash .dash-group > .dash-hint{margin-top:4px}
.dash .dash-group > .dash-hint + .dash-hint{margin-top:0}

/* Подсказка-«i» у чекбокса улетала в угол экрана: якорем в дашборде служит `.dash .field`
   (position:relative), а чекбоксы лежат в `.check` внутри `.check-group` — без якоря
   подсказка считала координаты от далёкого предка. Проявлялось и на «Приёмка штучно» (FBO). */
.dash .check{position:relative}

/* ===================== ПРАВКА 14.08.2026 (вечер) — ряды полей не разъезжаются =====================
   На iPhone подпись «Вес партии на приёмку» ложилась в две строки, а соседняя «Коробов
   отгружаем / мес» — в одну, и поле слева опускалось ниже соседнего: ряд ломался. Ячейка
   `.field` — флекс-колонка и растянута по высоте ряда, поэтому достаточно прижать содержимое
   к низу: поля выравниваются по одной линии независимо от того, сколько строк заняла подпись.
   Ширина экрана, язык и длина подписи больше на это не влияют — правка на все калькуляторы. */
.dash .field{justify-content:flex-end}

/* ===================== ПРАВКА 15.08.2026 — iOS-зум при фокусе на полях калькуляторов =====================
   iOS Safari принудительно приближает страницу, если у поля ввода шрифт мельче 16px, и сам назад
   не отдаляет — пользователю приходится сводить пальцами. У инпутов дашборда 13,5px. На тач-устройствах
   поднимаем шрифт полей и селектов до 16px — авто-зум перестаёт срабатывать вовсе. Десктоп не трогаем.
   Сопутствующее: на 16px селект налогового режима резал «УСН доходы» — селектам чуть меньше левый
   паддинг, а колонке режима в налоговой сетке чуть больше доли. */
@media (hover:none) and (pointer:coarse){
  .dash .input,.dash .select{font-size:16px!important}
  .dash .select{padding-left:8px!important}
  .dash-grid-3.is-tax{grid-template-columns:1.62fr .9fr .9fr}
}


/* =========================================================
   FULL-BLEED БЕЗ СДВИГА ОТ ПОЛОСЫ ПРОКРУТКИ (18.08.2026)

   Полноширинные секции растянуты приёмом width:100vw + margin -50vw.
   Единица vw считает окно ВМЕСТЕ с полосой прокрутки, а видимая область —
   без неё. Когда полоса классическая (Windows, эмуляция мобильного в
   DevTools), секция получается на ширину полосы шире экрана и съезжает
   вправо на её половину; правый край срезает body { overflow-x: hidden }.

   Лечим контейнерными единицами: cqw считается от ширины body, то есть
   БЕЗ полосы. Правило живёт под @supports — браузеры без container queries
   продолжают работать по старому vw-варианту выше, ничего не ломая.
   Проверено на бою: плавающая шапка и fixed-кнопки не пострадали.
   ========================================================= */
@supports (container-type: inline-size) {
  body { container-type: inline-size; }

  .hero,
  .calc-section,
  .control-section,
  .process-section,
  .wms-section,
  .why-section,
  .reviews-section,
  .blog-hero,
  .cat-hero,
  .site-footer,
  .contacts-section,
  .whatis-section,
  .blogroll-section,
  .faq-section,
  .cta-section,
  .chz-section,
  .benefits-section,
  .examples-section,
  .ceny-hero, .price-section, .about-hero, .calc-hero, .free-section, .legal-section, .ty-section {
    width: 100cqw;
    margin-left: -50cqw;
    margin-right: -50cqw;
  }
}

/* =========================================================
   КАРТОЧКА КАЛЬКУЛЯТОРА ВЫЛЕЗАЛА ЗА ЭКРАН НА ТЕЛЕФОНЕ (18.08.2026)

   На ≤980 px сетка формы задана как grid-template-columns: 1fr.
   У 1fr минимальный размер — auto, то есть min-content содержимого:
   на тач-устройствах поля рендерятся шрифтом 16 px (правило
   hover:none/pointer:coarse), min-content вырастает до ~389 px,
   и колонка раздувается шире контейнера (342 px) — карточка уезжает
   вправо и обрезается. minmax(0,1fr) разрешает колонке сжиматься.
   Видно только в мобильной эмуляции с isMobile, на десктопе — нет.
   ========================================================= */
@media (max-width: 980px) {
  .dash { grid-template-columns: minmax(0, 1fr); }
}

/* ===== ПРАВКИ 24.08.2026: калькулятор фулфилмента, плитки результата ===== */
/* Подписи плиток на мобильном обрезались многоточием («ПОДГОТО…», «ЛОГИСТИ…»):
   10,5px + разрядка не влезали в треть экрана 390px. Снижаем кегль и разрядку
   только на мобильном — плитки остаются в один ряд, подписи читаются целиком. */
@media (max-width:520px){
  .dash-tile{padding:9px 6px}
  /* Длинные подписи («Подготовка», «Формирование», «Доп. операции») переносим в две
     строки вместо обрезки многоточием; фиксированная высота метки держит цифры
     всех трёх плиток на одной линии. */
  .dash-tile-label{font-size:8.5px;letter-spacing:0;white-space:normal;overflow:visible;
    text-overflow:clip;line-height:1.15;min-height:2.3em;display:flex;align-items:flex-end}
}

/* =========================================================
   CHZ — геометрия блока и шапка мок-панели (25.08.2026)
   Убран eyebrow над H2 → колонки выравниваем по верхней линии,
   логотип и подпись в шапке панели крупнее, чтобы цеплялся глаз.
   ========================================================= */
.chz-stage{align-items:start}
.chz-info{gap:18px;padding-top:4px}
.chz-panel-head{padding:20px 22px;gap:16px}
.chz-panel-head .chz-logo svg{width:72px}
.chz-panel-htext .t{font-size:16.5px;line-height:1.25}
.chz-panel-htext .s{font-size:13px;margin-top:3px}

/* CHZ — оптическая привязка правой колонки к панели (25.08.2026, правка 2)
   H2 наследовал margin-top 33px → заголовок сидел на 27px ниже верха панели,
   при этом низ легенды был вровень. Снимаем отступ, разницу отдаём
   промежуткам внутри колонки — верх совпадает, низ остаётся на месте. */
.chz-info h2{margin-top:0}
.chz-info{gap:30px;padding-top:0;align-self:center}
.chz-legend{margin-top:10px}


/* =========================================================
   ЭТАПЫ РАБОТЫ · пункт «Честный Знак» → якорь на блок #chz (25.08.2026)
   В карточке «04 Маркировка» пункт про коды ЧЗ получает вместо точки-буллета
   маленький логотип «Честного знака» (знак без надписи, data-URI — одна
   иконка в CSS, а не 12 копий SVG в контенте страниц) и ссылку «Подробнее»,
   которая ведёт якорем вниз, на секцию #chz с разбором проверки кодов.
   ========================================================= */
.process-card--list .process-list li.process-li--chz { padding-left: 30px; }
.process-card--list .process-list li.process-li--chz::before {
  width: 20px;
  height: 20px;
  top: 2px;
  border-radius: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 110'%3E%3Crect width='110' height='110' rx='15' fill='%23f6f42e'/%3E%3Cpath fill='%2363666a' d='M30%2C85h12v10h-12c-8.3%2C0-15-6.7-15-15v-12h10v12c0%2C2.8%2C2.2%2C5%2C5%2C5ZM25%2C30c0-2.8%2C2.2-5%2C5-5h12v-10h-12c-8.3%2C0-15%2C6.7-15%2C15v12h10v-12ZM85%2C80c0%2C2.8-2.2%2C5-5%2C5h-12v10h12c8.3%2C0%2C15-6.7%2C15-15v-12h-10v12ZM80%2C15h-12v10h12c2.8%2C0%2C5%2C2.2%2C5%2C5v12h10v-12c0-8.3-6.7-15-15-15ZM74.9%2C38.7l-25.8%2C25.8-14.3-14.3-7.1%2C7.1%2C21.4%2C21.4%2C32.9-32.9-7.1-7.1Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Ссылка-якорь внутри пункта: стрелка — на псевдоэлементе,
   чтобы разметка страниц осталась чистой. */
.process-more {
  margin-left: 6px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.process-more::after {
  content: "→";
  display: inline-block;
  margin-left: 5px;
  transition: transform .18s ease;
}
.process-more:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.process-more:hover::after { transform: translateX(3px); }

/* Якорь не должен нырять под фиксированный хедер */
.chz-section { scroll-margin-top: 96px; }

/* =========================================================
   СВОРАЧИВАЕМЫЕ ГРУППЫ ПАРАМЕТРОВ В КАЛЬКУЛЯТОРАХ ЮНИТ-ЭКОНОМИКИ (14.09.2026)
   Заголовок группы — кнопка: клик плавно сворачивает тело группы (grid-template-rows
   1fr → 0fr, без JS-замеров высоты). В свёрнутом заголовке вместо пояснения показывается
   сводка выбранного (.dash-group-sum), чтобы скрытые поля не прятали допущения расчёта.
   overflow:hidden у тела только в свёрнутом состоянии и на время анимации — иначе он
   резал бы подсказки-«i», которые открываются вверх над первым рядом полей.
   Состояние групп запоминается в localStorage (скрипт в самой странице калькулятора).
   ========================================================= */
.dash .dash-group-toggle{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;width:100%;
  text-align:left;cursor:pointer;font-family:inherit;align-items:center;-webkit-tap-highlight-color:transparent}
.dash .dash-group-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.dash .dash-group-title .dash-group-note,.dash .dash-group-title .dash-group-sum{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dash .dash-group-sum{display:none}
.dash .dash-group.is-collapsed .dash-group-note{display:none}
.dash .dash-group.is-collapsed .dash-group-sum:not(:empty){display:block}
.dash .dash-group-chev{flex:0 0 auto;margin-left:auto;width:14px;height:14px;color:var(--text-faint);border-radius:50%;transition:rotate .25s ease,color .2s ease}
.dash .dash-group.is-collapsed .dash-group-chev{rotate:-90deg;color:var(--accent)}
/* Подсказка «раскрывается» (19.09.2026): у СВЁРНУТОЙ группы шеврон синеет и «дышит» пульс-кольцом —
   те же keyframes acc-hint, что у маркера аккордеона «Как мы контролируем поставки» на главной,
   чтобы по всему сайту был один язык «здесь есть что раскрыть». Поворот шеврона — через свойство
   rotate, а не transform: transform занят анимацией (scale), и они не спорят. Развёрнутая группа не пульсирует. */
@media (prefers-reduced-motion: no-preference){
  .dash .dash-group.is-collapsed .dash-group-chev{animation:acc-hint 2.2s ease-in-out infinite}
  .dash .dash-group.is-collapsed:nth-child(2) .dash-group-chev{animation-delay:.35s}
  .dash .dash-group.is-collapsed:nth-child(3) .dash-group-chev{animation-delay:.7s}
  .dash .dash-group.is-collapsed:nth-child(4) .dash-group-chev{animation-delay:1.05s}
  .dash .dash-group.is-collapsed:nth-child(5) .dash-group-chev{animation-delay:1.4s}
  .dash .dash-group.is-collapsed:nth-child(6) .dash-group-chev{animation-delay:1.75s}
}
.dash .dash-group-body{display:grid;grid-template-rows:1fr;transition:grid-template-rows .3s ease}
.dash .dash-group.is-collapsed .dash-group-body{grid-template-rows:0fr}
.dash .dash-group-inner{min-height:0;display:flex;flex-direction:column;gap:12px}
.dash .dash-group.is-collapsed .dash-group-inner,.dash .dash-group.is-animating .dash-group-inner{overflow:hidden}
.dash .dash-group-inner > .dash-hint{margin-top:4px}
.dash .dash-group-inner > .dash-hint + .dash-hint{margin-top:0}
/* у свёрнутой группы между заголовком и пустым телом не должно оставаться gap колонки */
.dash .dash-group.is-collapsed{gap:0}
@media(prefers-reduced-motion:reduce){
  .dash .dash-group-body,.dash .dash-group-chev{transition:none}
}

/* =========================================================
   ОГЛАВЛЕНИЕ СТАТЕЙ БЛОГА — посадка липкого меню (23.09.2026)
   Стили статей живут в <style> каждого фрагмента, там у .art-sidebar
   top:150px — значение от старого макета. Фактический липкий хедер
   сайта (.l-header.pos_fixed) — 98px, поэтому 150px опускали меню
   слишком низко: при 13 пунктах (высота ~670px) низ упирался в край
   экрана и оглавление читалось как «прилипшее к низу».
   Правило со специфичностью 0,2,0 перебивает инлайновое .art-sidebar
   во всех статьях сразу — без перезаливки шестидесяти фрагментов.
   ========================================================= */
@media (min-width: 961px) {
  .art-wrap .art-sidebar {
    top: 118px;                        /* 98 хедер + 20 воздуха */
    max-height: calc(100vh - 138px);   /* 118 сверху + 20 снизу */
    overflow-y: auto;                  /* длинное оглавление прокручивается внутри */
    overscroll-behavior: contain;      /* прокрутка не перескакивает на страницу */
  }
  /* тонкая полоса прокрутки, чтобы не спорила с рамкой плашки */
  .art-wrap .art-sidebar::-webkit-scrollbar { width: 6px; }
  .art-wrap .art-sidebar::-webkit-scrollbar-thumb { background: #D4DCEA; border-radius: 3px; }
  .art-wrap .art-sidebar { scrollbar-width: thin; scrollbar-color: #D4DCEA transparent; }
}

/* ---------- ПРАВКИ 28.09.2026: «Все операции построчно» — подсказка «раскрывается» ----------
   Раскрывашка .dash-details (калькуляторы фулфилмента и юнит-экономики, хранение) была без общего
   языка «здесь есть что раскрыть». Теперь как у свёрнутых групп: у ЗАКРЫТОЙ шеврон синеет и «дышит»
   кольцом acc-hint; открытая не пульсирует. Поворот — свойством rotate (transform занят анимацией). */
.dash-details summary svg{transition:rotate .2s ease,color .2s ease;border-radius:50%}
.dash-details[open] summary svg{transform:none;rotate:180deg}
.dash-details:not([open]) summary svg{color:var(--accent)}
@media (prefers-reduced-motion: no-preference){
  .dash-details:not([open]) summary svg{animation:acc-hint 2.2s ease-in-out infinite}
}

/* ---------- ПРАВКИ 28.09.2026 (2): «Все операции построчно» — подглядывание в свёрнутом виде ----------
   Скрипт страницы держит <details> открытым и вешает .is-peek: видны первые строки расчёта, ниже они
   уходят в прозрачность — сразу понятно, что внутри. Клик по заголовку или по строкам раскрывает
   целиком. Без скрипта раскрывашка работает как обычный <details>. */
.dash-details.is-peek .calc-breakdown{max-height:96px;overflow:hidden;cursor:pointer;
  -webkit-mask-image:linear-gradient(to bottom,#000 25%,transparent 100%);mask-image:linear-gradient(to bottom,#000 25%,transparent 100%)}
.dash-details.is-peek summary svg{rotate:0deg;color:var(--accent)}
@media (prefers-reduced-motion: no-preference){
  .dash-details.is-peek summary svg{animation:acc-hint 2.2s ease-in-out infinite}
}

/* Первый экран: «до» перед числом метрики мельче самого числа
   («до 11 000 ед./день», «до 13:00»), 30.10.2026 */
.hero-stats-do {
  font-size: .5em;
  font-weight: inherit;
  letter-spacing: 0;
}

/* ===== ПОРЯДОК-30.10 — контраст мелкого текста, ширина абзацев, висячие строки (детектор Impeccable 4.8, DESIGN.md) ===== */
/* Мелкий синий текст на светлом — тёмный акцент: #646cfe на #f3f6fe 3,8:1 → #5159e8 4,9:1 */
.hero-bonus-item-price b,
.hero-bonus-title strong,
.example-tag { color: var(--accent-dark); }
/* Бейджи: оранжевый «ждём» и зелёный текст на светло-зелёном — до 4,5:1 */
.chz-badge.is-wait,
.chz-verdict.is-warn { color: #9a5806; }
.resp-badge--green,
.free-card-tag,
.example-savings-vs { color: #187317; }
/* Подводки секций и длинные абзацы — не шире ~70 знаков (было ~145 на 1440) */
.section-head p { max-width: 68ch; margin-left: auto; margin-right: auto; }
/* .chz-case p и .seo-text .seo-sec p — без ограничения ширины: блоки во всю ширину контейнера, 64ch оставлял
   пустую правую половину (владелец 31.10.2026: «один ряд и куча пустого места — строгое нарушение»;
   решение арт-директора 16.07.2026 — справочный текст на всю ширину) */
/* Без одиноких слов в последней строке абзаца и рваных заголовков */
/* только внутри наших блоков (.w-html — виджет Raw HTML); глобальные теги темы не трогаем, см. шапку файла */
.w-html p, .w-html li { text-wrap: pretty; }
.w-html h1, .w-html h2, .w-html h3 { text-wrap: balance; }
/* Калькуляторы: подсказки и подписи плиток не мельче 11–12,5 px */
.dash-hint { font-size: 12.5px; }
.dash-tile-label { font-size: 11px; }

/* ===== СПРАВКА В ДВЕ КОЛОНКИ (31.10.2026) — разделы .seo-text раскладывает по двум колонкам mu-plugin
   wbd-seo-kolonki.php (класс .is-cols, обёртки .seo-col): первый раздел слева, второй справа, дальше — в колонку
   короче по высоте. Без пустых ячеек и без пустой правой половины (владелец 31.10.2026). Один раздел — текст сам делится
   на две колонки. Телефон — одна колонка. ===== */
/* списки в справке — тем же шрифтом, что абзацы (до 31.10 стиля не было: тема давала пунктам 17 px) */
.seo-text .seo-sec ul,
.seo-text .seo-sec ol { margin: 0 0 16px; padding-left: 1.25em; }
.seo-text .seo-sec li { font-size: 15px; line-height: 1.65; color: var(--text-muted); margin: 0 0 6px; }
.seo-text .seo-sec li:last-child { margin-bottom: 0; }
@media (min-width: 861px) {
  .seo-text .seo-body.is-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    align-items: start;
  }
  .seo-text .seo-body > .seo-sec:only-child { columns: 2; column-gap: 56px; }
  .seo-text .seo-body.is-flow > .seo-flow { columns: 2; column-gap: 56px; }
  .seo-text .seo-flow .seo-sec h2 { break-after: avoid; }
  .seo-text .seo-body > .seo-sec:only-child h2 { column-span: all; }
}
