/* ============================================================
   ОХАНА МАРКЕТ — ЛЕНДИНГ ДЛЯ ОПТОВИКОВ
   styles.css
   ============================================================ */

/* ---------- Переменные ---------- */
:root {
  --bg: #ffffff;
  --bg-warm: #f8f7f4;
  --accent: #ff6b00;
  --accent-dark: #e85f00;
  --accent-soft: #fff3e8;
  --green: #27ae60;
  --green-dark: #1e8e4e;
  --text: #2c3e50;
  --muted: #6b7785;
  --danger: #e74c3c;
  --line: #ececea;
  --shadow-sm: 0 2px 10px rgba(44, 62, 80, 0.06);
  --shadow-md: 0 10px 30px rgba(44, 62, 80, 0.1);
  --shadow-lg: 0 18px 50px rgba(44, 62, 80, 0.16);
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Утилиты ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--warm { background: var(--bg-warm); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section__title {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section__subtitle { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.accent { color: var(--accent); }
.green { color: var(--green); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, color 0.18s;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { flex: none; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255, 107, 0, 0.28); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 107, 0, 0.36); }
.btn--outline { border: 2px solid currentColor; color: var(--text); padding: 13px 24px; }
.btn--outline:hover { background: var(--text); color: #fff; transform: translateY(-2px); }
.btn--ghost-light { border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; padding: 13px 24px; }
.btn--ghost-light:hover { background: #fff; color: var(--accent); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--accent); box-shadow: var(--shadow-md); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--lg { font-size: 18px; padding: 18px 34px; }
.btn--block { width: 100%; }

/* ---------- Прогресс-бар скролла ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--green));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ---------- Шапка ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: padding 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  transition: padding 0.25s var(--ease);
}
.header.is-scrolled .header__inner { padding: 10px 0; }
.logo { display: flex; align-items: center; }
.logo img { height: 44px; width: auto; }
.header.is-scrolled .logo img { height: 38px; }
.header__nav { display: flex; gap: 26px; }
.header__nav a { font-weight: 600; font-size: 15px; color: var(--muted); transition: color 0.18s; }
.header__nav a:hover { color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-weight: 700; font-size: 16px; white-space: nowrap; }
.header__phone span { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }

/* бургер */
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; }
.burger span { height: 2.5px; background: var(--text); border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- HERO (светлая композиция: текст слева + фигура на всю высоту справа) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #2c2216;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -3;
  background: linear-gradient(120deg, #F7EDE1 0%, #F3E7D0 42%, #EAF3EC 100%);
}
/* фигура-модель: прижата к правому краю, на всю высоту баннера.
   Ассет — широкий холст 2:1 с прозрачным полем слева, поэтому оно уходит за край. */
.hero__figure {
  position: absolute; z-index: -2;
  right: 0; bottom: 0; top: 0;
  height: 100%; width: auto; max-width: none;
  object-fit: cover; object-position: bottom right;
  filter: drop-shadow(-14px 12px 40px rgba(70, 50, 20, 0.18));
  pointer-events: none;
}
/* мягкий скрим слева → прозрачный справа: гарантирует читаемость текста поверх фигуры */
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg,
    #F5EAD9 0%, rgba(245, 234, 217, 0.92) 32%, rgba(245, 234, 217, 0.55) 50%, rgba(245, 234, 217, 0) 68%);
  pointer-events: none;
}
/* декоративные круги на фоне */
.hero__deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__deco span {
  position: absolute; border-radius: 50%;
  border: 2px solid rgba(36, 96, 117, 0.10);
}
.hero__deco span:nth-child(1) { width: 320px; height: 320px; left: 30%; top: -60px; }
.hero__deco span:nth-child(2) { width: 160px; height: 160px; left: 8%; bottom: 22%; border-color: rgba(255, 107, 0, 0.12); }
.hero__deco span:nth-child(3) { width: 110px; height: 110px; left: 2%; top: 26%; }

/* основной контент — растёт и центрируется по вертикали, strip уходит вниз */
.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 120px 24px;
  width: 100%;
}
.hero__text { max-width: 620px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #246075;
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #241a10;
}
.hero__sub {
  margin-top: 20px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  color: #4a4033;
  max-width: 520px;
}
.hero__sub b { color: #241a10; }
/* кнопки в одну горизонтальную линию */
.hero__cta { margin-top: 32px; display: flex; flex-wrap: nowrap; gap: 14px; }
.hero__cta .btn { white-space: nowrap; }
/* «Получить консультацию» на светлом hero — тёмная обводка вместо белой */
.hero .btn--ghost-light { border-color: rgba(36, 96, 117, 0.5); color: #246075; background: rgba(255,255,255,0.4); }
.hero .btn--ghost-light:hover { background: #246075; color: #fff; border-color: #246075; }

/* нижняя полоса со счётчиками — на всю ширину, поверх низа фигуры */
.hero__strip {
  position: relative; z-index: 1;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(36, 96, 117, 0.12);
}
.hero__trust {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: clamp(16px, 4vw, 48px);
  padding-block: 22px;
}
.trust__item { }
.trust__num { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1; color: #241a10; }
.trust__num .accent { color: var(--accent); }
.trust__label { margin-top: 6px; font-size: 14px; color: #6a5f4f; }

/* ---------- Хиты продаж ---------- */
.toolbar { display: flex; justify-content: center; margin-bottom: 34px; }
.price-toggle {
  display: inline-flex; background: var(--bg-warm); border: 1px solid var(--line);
  border-radius: 100px; padding: 5px; gap: 4px; position: relative;
}
.price-toggle button {
  font-weight: 700; font-size: 14px; color: var(--muted);
  padding: 10px 22px; border-radius: 100px; transition: color 0.2s; position: relative; z-index: 1;
}
.price-toggle button.is-active { color: #fff; }
.price-toggle__pill {
  position: absolute; top: 5px; bottom: 5px; left: 5px;
  background: var(--accent); border-radius: 100px; z-index: 0;
  transition: transform 0.3s var(--ease), width 0.3s var(--ease);
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-warm); }
.product-card__media picture { display: block; width: 100%; height: 100%; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
/* диагональный бейдж-уголок */
.ribbon {
  position: absolute; top: 14px; left: -34px;
  transform: rotate(-45deg);
  width: 140px; text-align: center;
  font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff; padding: 6px 0; box-shadow: var(--shadow-sm);
}
.ribbon--hit { background: var(--green); }
.ribbon--new { background: var(--accent); }
.ribbon--sale { background: var(--danger); }
.product-card__body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__name { font-weight: 700; font-size: 16px; line-height: 1.3; }
.product-card__sizes { font-size: 13px; color: var(--muted); }
.product-card__price { margin-top: auto; padding-top: 12px; }
.product-card__price .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.product-card__price .val { font-size: 24px; font-weight: 800; color: var(--text); }
.product-card__price .val small { font-size: 14px; font-weight: 600; color: var(--muted); }
.product-card__cta { margin-top: 12px; }
.product-card__cta .btn { width: 100%; }
.products-foot { text-align: center; margin-top: 42px; }

/* ---------- Условия + калькулятор ---------- */
.conditions-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px;
}
.condition {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; transition: transform 0.2s, box-shadow 0.2s;
}
.condition:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.condition__icon {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 14px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent);
}
.condition__num { font-size: clamp(22px, 3vw, 30px); font-weight: 800; color: var(--green); line-height: 1.1; }
.condition__text { margin-top: 6px; font-size: 14px; color: var(--muted); }

.calc {
  background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: center;
}
.calc__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; }
.calc__hint { color: var(--muted); margin: 10px 0 26px; }
.calc__sum { font-size: clamp(30px, 5vw, 46px); font-weight: 800; color: var(--accent); line-height: 1; }
.calc input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin-top: 20px;
  border-radius: 100px; background: #eadfd4; outline: none;
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); border: 4px solid #fff; box-shadow: var(--shadow-md); cursor: pointer;
}
.calc input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent);
  border: 4px solid #fff; box-shadow: var(--shadow-md); cursor: pointer;
}
.calc__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.calc__result {
  background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.calc__row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.calc__row:last-child { border-bottom: none; }
.calc__row .k { color: var(--muted); font-size: 15px; }
.calc__row .v { font-weight: 800; font-size: 18px; }
.calc__level {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 13px; font-weight: 700; background: var(--bg-warm);
  transition: background 0.3s, color 0.3s;
}
.calc__level.is-big { background: var(--green); color: #fff; }
.calc__discount { color: var(--green); }
.calc__ship.is-free { color: var(--green); }
.calc__ship.is-paid { color: var(--muted); }
.calc__cta { margin-top: 20px; }
.calc__field + .calc__field { margin-top: 24px; }
.calc__label { font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.calc__sum--sm { font-size: clamp(24px, 3.6vw, 34px); }
.calc__row--income { border-bottom: none; border-top: 2px solid var(--line); margin-top: 4px; padding-top: 16px; }
.calc__row--income .k { font-weight: 700; color: var(--text); font-size: 16px; }
.calc__income { color: var(--green); font-size: 22px; }

/* ---------- Преимущества ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 30px; }
.benefit { display: flex; flex-direction: column; gap: 10px; }
.benefit__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.benefit__title { font-weight: 700; font-size: 17px; }
.benefit__text { font-size: 14px; color: var(--muted); }

/* marquee */
.marquee {
  margin-top: 60px; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: inline-flex; gap: 44px; white-space: nowrap; animation: marquee 26s linear infinite; }
.marquee__track span { font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); color: var(--text); opacity: 0.85; }
.marquee__track span::after { content: '•'; color: var(--accent); margin-left: 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Отзывы ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm);
}
.review__stars { color: #ffb400; font-size: 16px; letter-spacing: 2px; }
.review__text { font-size: 15.5px; line-height: 1.6; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px;
}
.review__name { font-weight: 700; font-size: 15px; }
.review__shop { font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 17px;
}
.faq__q .ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; transition: transform 0.3s var(--ease); font-size: 18px; }
.faq__item.is-open .faq__q .ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a-inner { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Финальный CTA ---------- */
.final {
  background: linear-gradient(135deg, var(--accent) 0%, #ff8a33 100%);
  color: #fff; position: relative; overflow: hidden;
}
.final::before {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%); border-radius: 50%;
}
.final__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.final h2 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; line-height: 1.08; }
.final p { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, 0.92); }
.final__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ---------- Формы ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form--card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-lg); }
.form__field { position: relative; }
.form__field input {
  width: 100%; font-size: 16px; font-family: inherit; color: var(--text);
  padding: 15px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color 0.18s, box-shadow 0.18s;
}
.form__field input::placeholder { color: #9aa4af; }
.form__field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,107,0,0.12); }
.form__field.has-error input { border-color: var(--danger); }
.form__error { display: none; color: var(--danger); font-size: 13px; margin-top: 6px; }
.form__field.has-error .form__error { display: block; }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.form__consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--accent); }
.form__consent a { color: var(--accent); text-decoration: underline; }
.form--card .form__consent { color: var(--muted); }
.form__title { font-size: 22px; font-weight: 800; color: var(--text); }
.form__note { font-size: 13px; color: var(--muted); }
.form__status { font-size: 14px; font-weight: 600; min-height: 20px; }
.form__status.is-ok { color: var(--green); }
.form__status.is-err { color: var(--danger); }
.form__status.is-info { color: var(--muted); }
.btn.is-loading { pointer-events: none; opacity: 0.75; position: relative; }
.btn.is-loading::after {
  content: ''; width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,0.45);
  border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Sticky mobile price button ---------- */
.sticky-price {
  position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 800;
  display: none; box-shadow: var(--shadow-lg);
}

/* ---------- Exit popup ---------- */
.popup {
  position: fixed; inset: 0; z-index: 1100; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(20, 26, 33, 0.6); backdrop-filter: blur(4px);
}
.popup.is-open { display: flex; animation: fade 0.25s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.popup__box {
  background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%;
  padding: clamp(28px, 5vw, 40px); position: relative; box-shadow: var(--shadow-lg);
  animation: pop 0.3s var(--ease);
}
@keyframes pop { from { transform: translateY(20px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.popup__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-warm); color: var(--text); font-size: 20px; display: grid; place-items: center; }
.popup__close:hover { background: var(--line); }
.popup__badge { display: inline-block; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 14px; border-radius: 100px; margin-bottom: 14px; }
.popup h3 { font-size: 26px; font-weight: 800; line-height: 1.15; }
.popup p { color: var(--muted); margin: 10px 0 20px; }

/* ---------- Footer ---------- */
.footer { background: #1b2530; color: rgba(255,255,255,0.75); padding: 50px 0 30px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__col a, .footer__col p { display: block; font-size: 14px; margin-bottom: 8px; color: rgba(255,255,255,0.7); }
.footer__col a:hover { color: var(--accent); }
.footer__logo img { height: 44px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 36px; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Пути покупки (опт / розница) ---------- */
.routes-section { padding-block: clamp(48px, 7vw, 80px); }
.routes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.route-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.route-card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 4px;
}
.route-card__title { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; }
.route-card__text { color: var(--muted); font-size: 15.5px; }
.route-card__btn { align-self: flex-start; margin-top: auto; }
.route-card__shops { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 4px; }
.shop-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px; border-radius: var(--radius-sm);
  font-weight: 800; font-size: 18px; letter-spacing: 0.01em; color: #fff;
  transition: transform 0.18s var(--ease), box-shadow 0.18s, filter 0.18s;
}
.shop-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.05); }
.shop-btn--ozon { background: #005bff; }
.shop-btn--ozon .shop-btn__logo { letter-spacing: 0.06em; }
.shop-btn--wb { background: linear-gradient(135deg, #a73afd 0%, #cb11ab 60%, #e6177c 100%); }
.shop-btn--ym { background: #ffcc00; color: #21201f; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  /* фигура смещается правее, скрим плотнее — текст остаётся читаемым */
  .hero__scrim {
    background: linear-gradient(100deg,
      #F5EAD9 0%, rgba(245, 234, 217, 0.94) 40%, rgba(245, 234, 217, 0.6) 60%, rgba(245, 234, 217, 0) 82%);
  }
  .hero__trust { flex-wrap: wrap; justify-content: flex-start; }
  .trust__item { flex: 1 1 40%; }
}

@media (max-width: 860px) {
  .header__nav { display: none; }
  .header__phone span { display: none; }
  .burger { display: flex; }
  .header__nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 8px 20px 16px;
  }
  .header__nav.is-open a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .header__actions .btn--primary { display: none; }
  .final__inner { grid-template-columns: 1fr; }
  .final__media { order: -1; }
  .routes { grid-template-columns: 1fr; }
  .sticky-price { display: flex; }
  .reviews-grid { grid-template-columns: 1fr; }
  /* hero: фигура становится приглушённым фоном, текст читается по плотному скриму */
  .hero__figure { opacity: 0.5; right: -8%; }
  .hero__scrim {
    background: linear-gradient(180deg,
      rgba(245, 234, 217, 0.96) 0%, rgba(245, 234, 217, 0.8) 45%, rgba(245, 234, 217, 0.55) 100%);
  }
  .hero__inner { padding-block: 108px 24px; }
  .hero__text { max-width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card__body { padding: 13px; }
  .product-card__name { font-size: 14px; }
  .product-card__cta .btn { padding: 12px 14px; font-size: 14px; }
  /* большая CTA-кнопка под сеткой: переносим текст, не выходим за экран */
  .products-foot .btn { white-space: normal; max-width: 100%; line-height: 1.3; }
  /* переключатель цены: компактнее, числа не рвутся (nbsp в разметке) */
  .price-toggle button { padding: 10px 14px; font-size: 13px; }
  .conditions-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  /* кнопки в столбик только на узком телефоне */
  .hero__cta { flex-wrap: wrap; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .footer__inner { flex-direction: column; }
  .hero__inner { padding-block: 96px 20px; }
  .hero__sub { max-width: 100%; }
  /* счётчики в две колонки */
  .trust__item { flex: 1 1 42%; }
  .trust__num { font-size: 26px; }
}
