/* =============================================================
   МастерГаз — style.css
   Разделы:
   01. Токены (CSS-переменные)
   02. Reset и базовые стили
   03. Типографика
   04. Контейнер и сетка
   05. Кнопки
   06. Бейджи
   07. Фильтр-табы (chips)
   08. Карточка товара
   09. Заметка (note)
   10. Адаптив (медиазапросы)
   ============================================================= */


/* ─── 01. ТОКЕНЫ ─────────────────────────────────────────── */

:root {
  /* Основные */
  --navy:          #0d2640;
  --navy-2:        #1E3459;
  --navy-soft:     #3d5166;

  /* Акцент */
  --mint:          #11d99a;
  --mint-tint:     #e8fbf3;
  --mint-deep:     #0fb985;

  /* Текст */
  --text:          #333333;
  --text-soft:     #5b6b7c;
  --muted:         #999999;
  --on-navy:       #ffffff;

  /* Фоны */
  --bg:            #ffffff;
  --bg-soft:       #f7f7f7;
  --bg-input:      #f8f8f8;
  --bg-disabled:   #f0f0f0;

  /* Границы */
  --border:        #dcdee0;
  --border-input:  #c2c2cc;
  --border-soft:   #efefef;
  --border-card:   #f0f0f0;

  /* Ошибки */
  --error:         #cc2f2f;
  --error-tint:    #fdecec;

  /* Цвета газов — точки в табах и метках карточек */
  --gas-nitrogen:  #7C9CC2;
  --gas-argon:     #9D7CE0;
  --gas-helium:    #5BBFE0;

  /* Шрифты */
  --font-display:  'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* Радиусы */
  --r-sm:  4px;
  --r:     8px;
  --r-lg:  14px;

  /* Тени (на основе navy с прозрачностью) */
  --s1: 0 1px 2px rgba(13,38,64,.06), 0 1px 3px rgba(13,38,64,.04);
  --s2: 0 4px 14px rgba(13,38,64,.08), 0 2px 6px rgba(13,38,64,.04);
  --s3: 0 14px 40px rgba(13,38,64,.14), 0 6px 14px rgba(13,38,64,.06);

  /* Сетка */
  --container: 1264px;
  --gutter:    32px;

  /* Переходы */
  --t-fast: 120ms cubic-bezier(.4, 0, .2, 1);
  --t-base: 200ms cubic-bezier(.4, 0, .2, 1);
}


/* ─── 02. RESET ──────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

picture { display: block; }
img { display: block; max-width: 100%; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: 0;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}


/* ─── 03. ТИПОГРАФИКА ────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: 30px; line-height: 34px; letter-spacing: -.01em; }
h2 { font-size: 28px; line-height: 32px; letter-spacing: -.01em; }
h3 { font-size: 24px; font-weight: 600; }
h4 { font-size: 22px; font-weight: 600; }
h5 { font-size: 20px; font-weight: 600; }
h6 { font-size: 18px; font-weight: 600; }

/* Надпись-рубрика над заголовком */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 14px;
  display: block;
}

/* Крупный заголовок hero-секции */
.h-hero {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  color: var(--on-navy);
}

/* Заголовок секции */
.h-section {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--navy);
  margin-bottom: 14px;
}

/* Вводный абзац под заголовком секции */
.lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 70ch;
  margin-bottom: 36px;
}

/* Цена — основная */
.price-main {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

/* Цена — вторичная (обмен) */
.price-exchange {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.1;
}


/* ─── 04. КОНТЕЙНЕР И СЕТКА ──────────────────────────────── */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Стандартный отступ между секциями */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section--soft {
  background: var(--bg-soft);
}


/* ─── 05. КНОПКИ ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  border-radius: var(--r);
  white-space: nowrap;
  transition:
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base),
    transform var(--t-fast),
    box-shadow var(--t-base);
}

.btn:hover {
  background: var(--mint);
  color: var(--navy);
}

.btn:active {
  transform: translateY(1px);
}

/* Акцентная (mint) */
.btn-mint {
  background: var(--mint);
  color: var(--navy);
}

.btn-mint:hover {
  background: var(--mint-deep);
  color: #fff;
}

/* Контурная (ghost) */
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
}

/* Контурная на тёмном фоне */
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.55);
}

.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
}

/* Размеры */
.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-lg {
  height: 58px;
  padding: 0 36px;
  font-size: 17px;
}

/* Кнопка на всю ширину */
.btn-full {
  width: 100%;
}


/* ─── 06. БЕЙДЖИ ─────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  line-height: 1;
}

.badge-mint  { background: var(--mint-tint);   color: var(--mint-deep); }
.badge-navy  { background: var(--navy);         color: #fff; }
.badge-warn  { background: var(--error-tint);   color: var(--error); }
.badge-out   { background: #fff; color: var(--text-soft); border: 1px solid var(--border); }


/* ─── 07. ФИЛЬТР-ТАБЫ ────────────────────────────────────── */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--t-fast);
}

.chip:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.chip.is-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* Цветная точка рядом с названием газа */
.chip-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-n2 { background: var(--gas-nitrogen); }
.dot-ar { background: var(--gas-argon); }
.dot-he { background: var(--gas-helium); }


/* ─── 08. КАРТОЧКА ТОВАРА ────────────────────────────────── */

.gas-card {
  border: 1px solid var(--border-card);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s1);
  transition: box-shadow var(--t-base), transform var(--t-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gas-card:hover {
  box-shadow: var(--s2);
  transform: translateY(-2px);
}

/* Область изображения */
.gas-img {
  height: 170px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

.gas-img img {
  max-height: 148px;
  object-fit: contain;
}

/* Контентная зона */
.gas-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Строка: метка газа + бейдж */
.gas-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

/* Метка газа (Азот N₂ / Аргон Ar / Гелий He) */
.gas-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--mint-deep);
  background: var(--mint-tint);
  padding: 3px 8px;
  border-radius: var(--r-sm);
}

/* Название баллона */
.gas-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Блок с ценами */
.gas-pricing {
  margin-bottom: 16px;
}

.gas-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.gas-price-row + .gas-price-row {
  margin-top: 5px;
}

.gas-price-label {
  font-size: 11px;
  color: var(--muted);
  min-width: 58px;
  flex-shrink: 0;
}

.gas-price-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  line-height: 1;
}

/* Цена обмена — визуально вторичная */
.gas-price-value--exchange {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
}

/* Панель кнопок карточки */
.gas-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--border-card);
  margin-top: auto;
}


.catalog-disclaimer {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 760px;
}


/* ─── 09. ЗАМЕТКА ────────────────────────────────────────── */

.note {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-left: 3px solid var(--mint);
  background: var(--mint-tint);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.55;
}


/* ─── 10. ШАПКА САЙТА ───────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
}

/* Верхняя инфо-полоса — гео + телефон + CTA */
.header-top {
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.header-top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
}

.header-top__geo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

.header-top__sep {
  color: rgba(255,255,255,.25);
}

.header-top__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-top__phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  letter-spacing: .01em;
  transition: color var(--t-fast);
}

.header-top__phone:hover {
  color: var(--mint);
}

/* Основная полоса — логотип + навигация */
.header-main {
  border-top: 1px solid rgba(255,255,255,.08);
}

.header-main__inner {
  display: flex;
  justify-content: space-between;
  /* stretch — чтобы nav-ссылки занимали полную высоту,
     и mint-линия активного пункта прилипала к самому низу */
  align-items: stretch;
  height: 72px;
}

/* Логотип */
.header-logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
  padding-right: 32px;
}

.header-logo__img {
  height: 34px;
  width: auto;
  display: block;
}

.header-logo__sub {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-top: 4px;
  display: block;
  letter-spacing: .01em;
}

/* Навигация */
.header-nav {
  display: flex;
  align-items: stretch;
  margin-top: 15px;
}

.header-nav__list {
  display: flex;
  align-items: stretch;
  list-style: none;
}

.header-nav__link {
  display: flex;
  align-items: center;
  padding: 0 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
  position: relative;
  transition: color var(--t-fast), background var(--t-fast);
}

.header-nav__link:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* Активный пункт: белый текст + mint-полоска прижата к низу шапки */
.header-nav__link.is-active {
  color: #fff;
}

.header-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 2px;
  background: var(--mint);
  border-radius: 2px 2px 0 0;
}


/* ─── 11. БУРГЕР-КНОПКА ──────────────────────────────────── */

/* По умолчанию скрыта на десктопе */
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  align-self: center;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}

.header-burger:hover {
  background: rgba(255,255,255,.08);
}

.header-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-base), opacity var(--t-base);
}

/* Анимация в крестик */
.header-burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header-burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Футер бургер-меню (гео + CTA) — скрыт на десктопе */
.header-nav__footer { display: none; }


/* ─── 12. HERO-СЕКЦИЯ ───────────────────────────────────── */

.hero-section {
  padding: 36px 0 88px;
  background: var(--bg);
}

/* Внутренний блок — navy-плашка с закруглёнными углами */
.hero {
  background: var(--navy);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* Двухколоночная сетка: контент | медиа */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}


/* Контентная колонка */
.hero__content {
  padding: 52px 44px 48px 52px;
}

/* Eyebrow над заголовком */
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 18px;
}

/* H1 */
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 52px;
  line-height: 1.04;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 20px;
}

/* Mint-выделение в H1 */
.hero__accent {
  color: var(--mint);
  font-style: normal;
  display: block;
}

/* Подзаголовок */
.hero__sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 54ch;
  margin-bottom: 32px;
}

/* Кнопки */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Медиа-колонка */
.hero__media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 32px 0;
  overflow: hidden;
}

.hero__media picture {
  width: 100%;
}

.hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 460px;
  border-radius: var(--r) var(--r) 0 0;
  object-fit: contain;
  object-position: bottom center;
}

/* Полоса мини-преимуществ */
.hero__features {
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 18px 16px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.85);
}

.hero__feature + .hero__feature {
  border-left: 1px solid rgba(255,255,255,.1);
}

.hero__feature-icon {
  flex-shrink: 0;
}


/* ─── 13. КАТАЛОГ ────────────────────────────────────────── */

/* Отступ под фильтр-табами */
.catalog-filters {
  margin-bottom: 28px;
}

/* Сетка карточек: 4 колонки на десктопе */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

/* Скрытие карточки при фильтрации */
.gas-card.is-hidden {
  display: none;
}

/* Метки для аргона и гелия — с цветами газов */
.gas-label--argon {
  background: rgba(157,124,224,.12);
  color: #6b4cc7;
}

.gas-label--helium {
  background: rgba(91,191,224,.12);
  color: #1e82a8;
}

/* Дисклеймер под каталогом */
.catalog-note {
  margin-top: 8px;
  margin-bottom: 28px;
}

/* Ссылки на страницы категорий */
.catalog-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.catalog-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--navy);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.catalog-link::after {
  content: ' →';
}

.catalog-link:hover {
  color: var(--mint-deep);
  border-color: var(--mint-deep);
}


/* ─── 14. АКЦИИ ──────────────────────────────────────────── */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Область изображения в промо-карточке */
.promo-card__img {
  height: 180px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  border-radius: calc(var(--r) - 1px) calc(var(--r) - 1px) 0 0;
  margin: -24px -24px 0;
  overflow: hidden;
}

.promo-card__img img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}

.promo-card {
  border: 1px solid var(--border-card);
  border-top: 3px solid var(--mint);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.promo-card:hover {
  box-shadow: var(--s2);
  transform: translateY(-2px);
}

.promo-card--exchange {
  border-top-color: var(--navy-soft);
}

.promo-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.promo-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
}

.promo-card__contents {
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
  font-weight: 500;
}

.promo-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  color: var(--navy);
  line-height: 1;
}

.promo-card__price--ask {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-soft);
}

.promo-card__text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  flex: 1;
}

/* Кнопка всегда прижата к низу карточки */
.promo-card .btn {
  margin-top: auto;
}


/* ─── 15. ВЫКУП ТАРЫ ─────────────────────────────────────── */

/* Двухколоночный layout: текст | прайс-карточка */
.buyback {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.buyback__sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.buyback__note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Белая карточка с прайс-листом */
.buyback__card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  box-shadow: var(--s2);
  overflow: hidden;
}

.buyback-prices {
  list-style: none;
}

.buyback-prices__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-soft);
}

.buyback-prices__label {
  font-size: 15px;
  color: var(--text);
}

.buyback-prices__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  white-space: nowrap;
}

.buyback-prices__footer {
  padding: 12px 24px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  background: var(--bg-soft);
}


/* ─── 16. ПРЕИМУЩЕСТВА ───────────────────────────────────── */

.benefits-section {
  background: var(--navy);
}

.benefits-heading {
  color: #fff;
  margin-bottom: 40px;
}

/* Сетка 3×2, разделители — тонкие линии из фона-обёртки */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.benefit-card {
  background: var(--navy);
  padding: 36px 32px;
  transition: background var(--t-base);
}

.benefit-card:hover {
  background: var(--navy-2);
}

.benefit-icon {
  color: var(--mint);
  margin-bottom: 20px;
  display: block;
}

.benefit-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.benefit-text {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}


/* ─── 17. ДОСТАВКА ───────────────────────────────────────── */

.delivery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.delivery-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 32px;
}

.delivery-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* Список условий в белой карточке */
.delivery-list {
  list-style: none;
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s1);
}

.delivery-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}

.delivery-list li:last-child {
  border-bottom: none;
}

.delivery-list svg {
  flex-shrink: 0;
}


/* ─── 18. КАК ЗАКАЗАТЬ ───────────────────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
}

.step {
  padding-right: 24px;
}

.step:last-child {
  padding-right: 0;
}

/* Верхняя строка: нумерованный круг + соединительная линия */
.step__top {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Пунктирная линия от круга до следующего шага */
.step__line {
  flex: 1;
  height: 2px;
  margin-left: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0,
    var(--border) 6px,
    transparent 6px,
    transparent 13px
  );
}

.step:last-child .step__line {
  display: none;
}

.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step__text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
}


/* ─── 19. СЕРТИФИКАТЫ ────────────────────────────────────── */

.certs-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.certs-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 28px;
}

/* Сетка 2×2 из карточек-иконок */
.certs-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.certs-feature {
  background: var(--bg-soft);
  border: 1px solid var(--border-card);
  border-radius: var(--r);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--t-base);
}

.certs-feature:hover {
  box-shadow: var(--s1);
}

.certs-feature__icon {
  color: var(--mint-deep);
  flex-shrink: 0;
}

.certs-feature__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.35;
}


/* ─── 20. О КОМПАНИИ ─────────────────────────────────────── */

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 28px;
}

/* Сетка мини-фактов 3×2 */
.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-fact {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: var(--r);
  padding: 16px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  text-align: center;
  line-height: 1.35;
}


/* ─── 21. FAQ ─────────────────────────────────────────────── */

.faq-list {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  cursor: pointer;
  transition: color var(--t-fast);
}

.faq-question:hover {
  color: var(--mint-deep);
}

/* Иконка «+» → «×» при открытии */
.faq-icon {
  flex-shrink: 0;
  color: var(--mint-deep);
  transition: transform var(--t-base);
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

/* Аккордеон: скрыто/открыто через max-height */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
}


/* ─── 22. КОНТАКТЫ ──────────────────────────────────────── */

.contacts-section .h-section {
  margin-bottom: 40px;
}

.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contacts-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  box-shadow: var(--s1);
}

.contact-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--mint-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--mint-deep);
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-card__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  line-height: 1.4;
}

a.contact-card__value:hover {
  color: var(--mint-deep);
}

.contact-card__sub {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}

.contact-card__phone {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text);
  text-decoration: none;
  transition: color var(--t-base);
}

.contact-card__phone:hover {
  color: var(--mint-deep);
}

.contact-card__reqs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
  margin-top: 8px;
}

.contact-card__reqs > div {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.contact-card__reqs dt {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  flex-shrink: 0;
}

.contact-card__reqs dd {
  font-size: 12px;
  color: var(--text);
  margin: 0;
}

/* Форма */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--border-card);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--s1);
}

.contact-form-wrap .section-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-form__desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}

.form-input {
  height: 44px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--r);
  outline: none;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  appearance: none;
}

.form-input:focus {
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(17,217,154,.15);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%235b6b7c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.contact-form-wrap .btn {
  width: 100%;
  margin-top: 4px;
}

.form-privacy {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}


/* ─── 23. ФУТЕР ──────────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: var(--on-navy);
  padding: 56px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Колонка с логотипом */
.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo__img {
  height: 80px;
  width: auto;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-phone {
  display: block;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--on-navy);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color var(--t-base);
}

.footer-phone:hover {
  color: var(--mint);
}

.footer-phone-sub {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* Колонки навигации */
.footer-col__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav__link {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color var(--t-base);
}

.footer-nav__link:hover {
  color: var(--mint);
}

/* Факты */
.footer-facts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-fact__num {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--mint);
  line-height: 1.1;
}

.footer-fact__label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* Нижняя полоса футера */
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom__copy {
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

.footer-bottom__link {
  font-size: 13px;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color var(--t-base);
}

.footer-bottom__link:hover {
  color: rgba(255,255,255,.65);
}


/* ─── 25. HERO СТРАНИЦ КАТЕГОРИЙ ────────────────────────── */

.page-hero {
  background: var(--navy);
  padding: 56px 0 60px;
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

.page-hero__breadcrumb a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color var(--t-base);
}

.page-hero__breadcrumb a:hover {
  color: var(--mint);
}

.page-hero__breadcrumb-sep {
  font-size: 11px;
  color: rgba(255,255,255,.25);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--on-navy);
  max-width: 700px;
  margin-bottom: 16px;
}

.page-hero__title em {
  color: var(--mint);
  font-style: normal;
}

.page-hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 32px;
}

.page-hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* CTA-блок в конце страниц категорий */
.cta-section {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--on-navy);
  margin-bottom: 12px;
}

.cta-section__text {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-section .btn {
  min-width: 220px;
}


/* ─── 26. МОДАЛЬНЫЕ ОКНА ────────────────────────────────── */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 38, 64, .65);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--t-base);
}

.modal-overlay.is-visible {
  opacity: 1;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  background: var(--bg);
  border-radius: var(--r-lg);
  box-shadow: var(--s3);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 36px;
  transform: translateY(16px);
  transition: transform var(--t-base);
}

.modal-overlay.is-visible .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  background: var(--bg-soft);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base), color var(--t-base);
}

.modal__close:hover {
  background: var(--border);
  color: var(--text);
}

.modal__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 6px;
}

.modal__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  padding-right: 32px;
}

.modal__product {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

/* Блок телефона в quick-order */
.modal__phone-block {
  background: var(--navy);
  border-radius: var(--r);
  padding: 20px 24px;
  margin-bottom: 20px;
  text-align: center;
}

.modal__phone-label {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
}

.modal__phone {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--mint);
  text-decoration: none;
  line-height: 1.1;
  margin-bottom: 6px;
  transition: color var(--t-base);
}

.modal__phone:hover {
  color: #fff;
}

.modal__phone-sub {
  font-size: 12px;
  color: rgba(255,255,255,.45);
}

/* Разделитель "или" */
.modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.modal__divider::before,
.modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Форма внутри модалки */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Кнопка "Позвонить" — только на мобиле */
.modal__call-btn {
  display: none;
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--mint);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--r);
  text-decoration: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--t-base);
}

.modal__call-btn:hover {
  background: var(--mint-deep);
  color: #fff;
}

/* Ошибка валидации */
.form-error {
  font-size: 12px;
  color: var(--error);
  min-height: 16px;
  margin-top: 2px;
}

/* Сообщение об успехе/ошибке формы */
.form-feedback {
  font-size: 13px;
  text-align: center;
  min-height: 18px;
}

.form-feedback.is-success {
  color: var(--mint-deep);
  font-weight: 500;
}

.form-feedback.is-error {
  color: var(--error);
}

/* Блокировка скролла при открытой модалке */
body.modal-open {
  overflow: hidden;
}


/* ─── 24. АДАПТИВ ────────────────────────────────────────── */

/* ≤1279px */
@media (max-width: 1279px) {
  :root { --gutter: 24px; }

  .h-hero    { font-size: 48px; }
  .h-section { font-size: 32px; }

  .hero__title   { font-size: 44px; }
  .hero__content { padding: 44px 36px 40px 44px; }

  /* Каталог — 3 колонки */
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }

  /* Преимущества — 2 колонки */
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  /* Шаги — 2 колонки */
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .step { padding-right: 0; }
  .step__line { display: none; }
}

/* ≤1023px — бургер-меню + hero на планшете */
@media (max-width: 1023px) {

  /* Бургер */
  .header-burger { display: flex; }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-2);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 8px 24px rgba(13,38,64,.2);
    z-index: 99;
    display: none;
  }

  .site-header.is-menu-open .header-nav { display: block; }

  .header-nav__list {
    flex-direction: column;
    padding: 8px 0;
  }

  .header-nav__link {
    padding: 14px var(--gutter);
    font-size: 15px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }

  .header-nav__link.is-active::after { display: none; }
  .header-nav__link.is-active { color: var(--mint); background: rgba(255,255,255,.04); }

  .header-nav__footer {
    display: block;
    padding: 16px var(--gutter) 24px;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .header-nav__geo {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255,255,255,.7);
  }

  .header-nav__cta {
    width: 100%;
    justify-content: center;
  }

  /* Hero на планшете */
  .hero__title   { font-size: 36px; }
  .hero__content { padding: 36px 28px 32px 36px; }
  .hero__media   { padding: 24px 20px 0; }
  .hero__feature { padding: 16px 10px; font-size: 11px; }

  /* Каталог — 2 колонки */
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }

  /* Акции — 2 колонки */
  .promo-grid { grid-template-columns: repeat(2, 1fr); }

  /* Выкуп — одна колонка */
  .buyback { grid-template-columns: 1fr; gap: 36px; }

  /* Доставка — одна колонка */
  .delivery-inner { grid-template-columns: 1fr; gap: 36px; }

  /* Сертификаты — одна колонка */
  .certs-inner { grid-template-columns: 1fr; gap: 40px; }

  /* О компании — одна колонка */
  .about-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Контакты — одна колонка */
  .contacts-inner { grid-template-columns: 1fr; gap: 36px; }

  /* Футер — 2 колонки */
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ≤767px — мобила */
@media (max-width: 767px) {
  :root { --gutter: 16px; }

  .h-hero    { font-size: 34px; }
  .h-section { font-size: 26px; }

  h1 { font-size: 26px; line-height: 30px; }
  h2 { font-size: 22px; line-height: 26px; }

  .btn { font-size: 15px; }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  /* Шапка: верхняя полоса — только "Доставка 24/7" + телефон */
  .header-top__city  { display: none; }
  .header-top__sep   { display: none; }
  .header-top__cta   { display: none; }
  .header-top__phone { font-size: 13px; }

  /* Hero: одна колонка, блочная раскладка */
  .hero-section { padding: 16px 0 56px; }

  .hero__inner {
    display: block;
  }

  .hero__content { padding: 28px 24px 24px; }

  .hero__title {
    font-size: 30px;
    letter-spacing: -.02em;
  }

  .hero__sub { font-size: 15px; }

  /* Изображение: полноширинная полоса снизу */
  .hero__media {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
  }

  .hero__media picture {
    display: block;
    width: 100%;
  }

  .hero__img {
    display: block;
    width: 100%;
    height: 220px;
    max-height: none;
    border-radius: 0;
    object-fit: cover;
    object-position: 30% center;
  }

  /* Кнопки: на всю ширину */
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  /* Преимущества: два в ряд → три строки */
  .hero__features { flex-wrap: wrap; }

  .hero__feature {
    flex: 0 0 50%;
    border-left: none;
    padding: 12px 16px;
  }

  .hero__feature:nth-child(even) {
    border-left: 1px solid rgba(255,255,255,.1);
  }

  .hero__feature:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.08);
  }

  /* Каталог — 1 колонка */
  .catalog-grid { grid-template-columns: 1fr; }

  /* Кнопки карточки — одна под другой */
  .gas-actions { grid-template-columns: 1fr; }

  /* Ссылки категорий — колонка */
  .catalog-links { flex-direction: column; gap: 12px; }

  /* Акции — 1 колонка */
  .promo-grid { grid-template-columns: 1fr; }

  /* Преимущества — 1 колонка */
  .benefits-grid { grid-template-columns: 1fr; }

  /* Шаги — 1 колонка */
  .steps-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Доставка — кнопка и ссылка стакуются */
  .delivery-actions { flex-direction: column; align-items: flex-start; }

  /* Сертификаты — иконки в 1 колонку */
  .certs-features { grid-template-columns: 1fr; }

  /* О компании — факты в 2 колонки */
  .about-facts { grid-template-columns: repeat(2, 1fr); }

  /* FAQ — полная ширина */
  .faq-list { max-width: 100%; }
  .faq-question { font-size: 15px; }

  /* Контакты — 1 колонка */
  .contacts-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Форма контактов — поля в колонку */
  .contact-form__row { grid-template-columns: 1fr; }

  /* Футер — 2 колонки */
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Hero страниц категорий */
  .page-hero__title { font-size: 28px; }
  .page-hero__sub   { font-size: 14px; }
  .page-hero__actions { flex-direction: column; align-items: stretch; }
  .page-hero__actions .btn { width: 100%; justify-content: center; }

  /* CTA-секция */
  .cta-section__title { font-size: 24px; }

  /* Модалки на мобиле */
  .modal {
    padding: 32px 20px 24px;
    max-height: 95vh;
  }

  .modal__phone-block {
    padding: 16px 20px;
    margin-bottom: 16px;
  }

  .modal__phone {
    font-size: 24px;
  }

  .modal__divider {
    margin-bottom: 14px;
  }

  .modal__form .form-field {
    gap: 6px;
  }
}


/* ═══════════════════════════════════════════════════════════
   27. СТРАНИЦА ДОСТАВКИ
   ═══════════════════════════════════════════════════════════ */

.delivery-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.delivery-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.delivery-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.delivery-col__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.delivery-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery-list li {
  padding-left: 16px;
  position: relative;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.5;
}

.delivery-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

/* Карточка-вставка с телефоном */
.delivery-card {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: sticky;
  top: 130px;
}

.delivery-card__label {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.delivery-card__phone {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--mint);
  text-decoration: none;
  margin-bottom: 4px;
  transition: color var(--t-base);
}

.delivery-card__phone:hover { color: #fff; }

.delivery-card__hours {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}

/* Шаги доставки */
.delivery-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: steps;
}

.delivery-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.delivery-step:last-child { border-bottom: none; }

.delivery-step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--mint);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-step__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.delivery-step__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════
   28. СТРАНИЦА СЕРТИФИКАТОВ
   ═══════════════════════════════════════════════════════════ */

.cert-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.cert-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cert-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cert-feature .benefit-icon {
  flex-shrink: 0;
  color: var(--navy);
  margin-top: 2px;
}

.cert-feature__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.cert-feature__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Сетка документов */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.doc-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-card);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.doc-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.doc-card__img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e8edf3;
}

.doc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .3s ease;
}

.doc-card:hover .doc-card__img { transform: scale(1.03); }

.doc-card__zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,.9);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  opacity: 0;
  transition: opacity var(--t-base);
}

.doc-card:hover .doc-card__zoom { opacity: 1; }

.doc-card__body {
  padding: 12px 14px;
}

.doc-card__type {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.doc-card__name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}


/* ═══════════════════════════════════════════════════════════
   29. СТРАНИЦА О КОМПАНИИ
   ═══════════════════════════════════════════════════════════ */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}

.about-para {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-fact {
  background: var(--bg-soft);
  border: 1px solid var(--border-card);
  border-radius: var(--r);
  padding: 20px 16px;
  text-align: center;
}

.about-fact__num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}

.about-fact__label {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-chip {
  padding: 6px 14px;
  background: var(--navy);
  color: rgba(255,255,255,.85);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

/* Реквизиты */
.reqs-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.reqs-block__title {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-secondary);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mint);
}

.reqs-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
}

.reqs-dl dt {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-top: 1px;
}

.reqs-dl dd {
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
}


/* ═══════════════════════════════════════════════════════════
   30. АДАПТИВ НОВЫХ СТРАНИЦ (≤1023px, ≤767px)
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  .delivery-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .delivery-card {
    position: static;
  }

  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cert-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reqs-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .delivery-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .about-facts {
    grid-template-columns: 1fr 1fr;
  }

  .reqs-layout {
    grid-template-columns: 1fr;
  }

  .reqs-dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .reqs-dl dt {
    margin-top: 10px;
  }

  .reqs-dl dd {
    font-size: 14px;
  }
}
