/* ============================================================
   Банные печи «Рада» — лендинг
   Фирменный стиль ПО «Сталь-Мастер» (гайдлайн: цвета 02, шрифт 03)
   ============================================================ */

/* шрифты — assets/fonts.css, подключён в index.html с preload (22.10: без @import — не ждём style.css) */

:root {
  --ink:      #101820;   /* Pantone Black C   */
  --red:      #C8212C;   /* Pantone 2035 C    */
  --grey:     #C5C6C6;   /* Cool Gray 3       */
  --white:    #FFFFFF;

  --ink-deep: #080c11;
  --ink-soft: #161d27;
  --ink-card: #1a222d;
  --line:     #2a3340;
  --muted:    #8b95a2;

  --wrap: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --sec-y: clamp(72px, 10vw, 140px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* фикс-шапка не должна накрывать якорь */
  scroll-padding-top: 84px;
}

body {
  background: var(--ink);
  color: var(--white);
  font-family: Montserrat, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--red); color: var(--white); }
/* 14.10: видимая рамка фокуса с клавиатуры (раньше — стандартная браузерная, на тёмном почти не видна) */
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.sec--light :focus-visible { outline-color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--red); color: #fff; padding: 12px 18px; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- типографика ---------- */
.h-xl, .h-lg, h3 { text-transform: uppercase; letter-spacing: -.015em; line-height: 1.02; font-weight: 800; text-wrap: balance; }
/* 14.10: нижняя граница меньше — на 320–360 «ПЕРЕСОБРАННАЯ» вылезала за край экрана */
.h-xl { font-size: clamp(25px, 4.4vw + 12px, 74px); }
.h-lg { font-size: clamp(25px, 3.6vw + 12px, 56px); }
h3    { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: .01em; line-height: 1.15; }

p { color: var(--grey); }
.lead { font-size: clamp(17px, 1.6vw, 23px); line-height: 1.55; color: #dfe3e7; font-weight: 300; }
strong { color: var(--white); font-weight: 700; }
.red { color: var(--red); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--grey);
}
.eyebrow .dot { color: var(--red); }

.rule {
  display: block; width: 84px; height: 4px; background: var(--red);
  margin: 22px 0 26px; transform-origin: left center;
}

.badge {
  display: inline-block; background: var(--red); color: var(--white);
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  padding: 9px 18px;
}

/* ---------- кнопки ----------
   14.10: как на сайте (DESIGN.md): углы 4, прописные, разрядка .1em, высота L 52 / M 44;
   наведение — темнее, без «пустой» прозрачной кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 4px;
  background: var(--red); color: var(--white);
  font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; text-align: center;
  text-decoration: none; border: 2px solid var(--red);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: #a81a23; border-color: #a81a23; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.btn:active { transform: none; }
/* вторая кнопка на тёмном фоне и на фото: полупрозрачная подложка, чтобы читалась поверх огня */
.btn--ghost { background: rgba(16, 24, 32, .55); border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--line { background: transparent; border-color: var(--white); color: var(--white); }
.btn--line:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 12px; }
/* 22.10 аудит (вариант Б): большая кнопка — как главная кнопка сайта (L 52, шрифт 13), шире только полями */
.btn--lg { min-height: 52px; padding: 0 36px; font-size: 13px; }

/* ---------- шапка ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--pad);
  background: rgba(16, 24, 32, 0);
  transition: background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.stuck {
  background: rgba(16, 24, 32, .92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.topbar__logo { flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; }
.topbar__logo img { height: 26px; width: auto; }
/* 14.10: знак «Сталь-Мастер» рядом с «Радой» — ведёт на главную сайта */
.topbar__sm { flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); margin-left: -6px; }
.topbar__sm img { height: 24px; width: auto; opacity: .9; transition: opacity .2s var(--ease); }
.topbar__sm:hover img { opacity: 1; }
.topbar__nav { margin-left: auto; display: flex; gap: 22px; }
.topbar__nav a {
  display: flex; align-items: center; min-height: 44px;
  font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--grey); text-decoration: none; transition: color .2s var(--ease);
}
.topbar__nav a:hover { color: var(--white); }
/* 14.10: выход «купить» в шапке — телефон завода и «Где купить» видны всегда */
.topbar__buy { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.topbar .btn { white-space: nowrap; }
.tb-tel {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 8px;
  font-size: 15px; font-weight: 800; letter-spacing: .02em; color: var(--white); text-decoration: none; white-space: nowrap;
  border-radius: 4px; transition: color .2s var(--ease);
}
.tb-tel svg { flex: 0 0 auto; color: var(--red); }
.tb-tel:hover { color: var(--grey); }
@media (max-width: 80em) { .topbar__nav { display: none; } .topbar__buy { margin-left: auto; } }
@media (max-width: 56.25em) { .topbar__sm { display: none; } }
@media (max-width: 47.5em) {
  .topbar { gap: 12px; }
  .tb-cat { display: none; }
  /* на телефоне номер прячется в кнопку-трубку 44×44 */
  .tb-tel { width: 44px; justify-content: center; padding: 0; border: 1px solid rgba(255, 255, 255, .4); }
  .tb-tel svg { color: var(--white); }
  .tb-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 23.75em) { .topbar__logo img { height: 22px; } .topbar__buy { gap: 8px; } .topbar__buy .btn { padding: 0 12px; font-size: 11px; letter-spacing: .06em; } }

/* ---------- орнамент ---------- */
.ornament {
  position: absolute; top: 0; bottom: 0; width: min(420px, 34vw);
  background: url("img/ornament.png") no-repeat center / cover;
  opacity: .35; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 45%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.5) 45%, transparent 100%);
}
.ornament--left  { left: 0; }
.ornament--right { right: 0; transform: scaleX(-1); }
@media (max-width: 700px) { .ornament { display: none; } }

/* ---------- студийный свет за печью ---------- */
.spot {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%);
  width: 115%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(126,140,158,.5) 0%, rgba(48,58,72,.3) 42%, rgba(16,24,32,0) 70%);
}

/* ============================================================
   1 · Первый экран
   ============================================================ */
.hero { position: relative; }
.hero__stick {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--pad) 90px;
  overflow: hidden;
}
/* Когда включён покадровый ролик, секция становится выше экрана, а сам экран
   «прилипает»: пока человек проматывает эту высоту, печь успевает разгореться.
   Класс ставит JS — без ролика (мобильный, reduced-motion) высота обычная. */
.hero--scrub { height: 230vh; }   /* 14.10: ролик идёт с 46-го кадра (75 из 120) — липкий путь короче */
.hero--scrub .hero__stick { position: sticky; top: 0; height: 100svh; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Кадр 4:3 в широком экране обрезается только по высоте, поэтому object-position
   по горизонтали не работает — печь остаётся по центру, под заголовком.
   Сдвигаем её вправо трансформом, чтобы слева осталось чистое поле под текст. */
@media (min-width: 900px) {
  .hero__media img { transform: scale(1.16) translateX(11%); transform-origin: center; }
}
/* холст покадрового ролика встаёт на место фото; сдвиг вправо — внутри draw() */
.hero__canvas { display: block; width: 100%; height: 100%; }
/* затемнение слева, чтобы текст читался поверх кадра */
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(16,24,32,.86) 34%, rgba(16,24,32,.35) 62%, rgba(16,24,32,.6) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 32%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; }
.hero__wordmark { height: clamp(56px, 8vw, 96px); width: auto; margin: 26px 0 0; }
.hero__title { margin: 0; }
.hero__models {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  margin-top: 14px; font-size: clamp(20px, 2.6vw, 34px); font-weight: 300; color: var(--grey);
}
.hero__models b { font-weight: 800; color: var(--white); }
.hero__models i { color: var(--red); font-style: normal; font-weight: 800; }
.hero__lead { max-width: 30ch; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.55; color: #dfe3e7; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 30em) {
  .badge { letter-spacing: .12em; padding: 8px 14px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

.scrolldown {
  position: absolute; left: 50%; bottom: 26px; z-index: 2;
  translate: -50% 0; width: 26px; height: 42px; border: 2px solid #46505d; border-radius: 14px;
}
.scrolldown span {
  position: absolute; left: 50%; top: 8px; translate: -50% 0;
  width: 3px; height: 7px; background: var(--red); border-radius: 2px;
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { top: 8px; opacity: 1 } 70% { top: 24px; opacity: 0 } 100% { opacity: 0 } }
@media (max-width: 700px) { .scrolldown { display: none; } }

/* ============================================================
   Секции — общее
   ============================================================ */
.sec { position: relative; padding: var(--sec-y) 0; overflow: hidden; }
.sec--alt { background: var(--ink-soft); }
.sec--light { background: #eef0f2; color: var(--ink); }
.sec--light p { color: #4a545f; }
.sec--light .eyebrow { color: #5f6870; }   /* 07.10 аудит: было #8a939d — 2,7 на светлом, мало */
.sec--light strong { color: var(--ink); }

.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px 56px; margin-top: 34px; max-width: 980px; }

/* 14.10: строка цифр — ячейками с тонкой чертой между ними. Раньше точки-разделители
   при переносе строки оказывались в начале строки, а цифры терялись (20 px) */
.strip {
  display: grid; grid-template-columns: repeat(5, auto); justify-content: start; row-gap: 18px;
  margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line);
  list-style: none; font-size: 16px; color: #a3acb7;
}
.strip li { display: flex; align-items: baseline; gap: 6px; padding: 0 clamp(16px, 2.4vw, 30px); border-left: 1px solid var(--line); white-space: nowrap; }
.strip li:first-child { padding-left: 0; border-left: 0; }
.strip b { color: var(--white); font-weight: 800; font-size: clamp(22px, 2vw, 28px); }
@media (max-width: 50em) {
  .strip { grid-template-columns: repeat(3, auto); }
  .strip li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
  .strip li:last-child { grid-column: span 2; }
}
@media (max-width: 24em) {
  .strip { grid-template-columns: repeat(2, auto); }
  .strip li:nth-child(3n+1) { padding-left: 16px; border-left: 1px solid var(--line); }
  .strip li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .strip li:last-child { grid-column: auto; }
}

/* ============================================================
   3 · Модельный ряд
   ============================================================ */
.matrix { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 44px; }
.mcol {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--ink-card) 0%, #10171f 100%);
  border: 1px solid var(--line); padding: clamp(22px, 3vw, 32px);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
/* 14.10: карточки не «подпрыгивают» — на них нельзя нажать, подскок обещал ссылку */
.mcol--accent { border-color: #3a2226; }
.mcol--accent:hover { border-color: var(--red); }
.mcol__tag { font-size: clamp(18px, 2vw, 22px); }
.mcol__tag em { color: var(--red); font-style: normal; }
.mcol__photo { position: relative; height: clamp(220px, 26vw, 300px); margin: 14px 0 18px; }
.mcol__photo img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0,0,0,.6)); }
.mcol__rows { margin: 0; }
.mcol__rows > div { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.mcol__rows dt { font-size: clamp(17px, 1.8vw, 20px); font-weight: 800; color: var(--white); min-width: min(150px, 40%); }
.mcol__rows dd { font-size: 16px; color: #a3acb7; margin: 0; }
.mcol__note { margin-top: 14px; font-size: 16px; font-weight: 600; letter-spacing: .04em; color: #e8545d; }   /* 14.10: фирменный красный мелко на тёмном — 3,4; светлее — 5,5 */

/* ============================================================
   4 · Каменка
   ============================================================ */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 44px; }
.dcard {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--ink-card) 0%, #10171f 100%);
  border: 1px solid var(--line); padding: 0 clamp(22px, 3vw, 36px) clamp(26px, 3vw, 34px);
}
.dcard--accent { border-color: #3a2226; }
.dcard__tag {
  position: absolute; right: 20px; top: 18px; z-index: 2;
  background: var(--red); color: var(--white);
  font-size: 13px; font-weight: 800; letter-spacing: .1em; padding: 4px 11px;
}
.dcard__photo { position: relative; height: clamp(260px, 32vw, 420px); }
.dcard__photo img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; max-height: 92%; max-width: 92%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.dcard h3 { margin-bottom: 10px; }
.dcard p { max-width: 46ch; }

/* ============================================================
   5 · Преимущества
   ============================================================ */
/* 14.10: печь раньше лежала под текстом (на 1024–1440 список шёл по светлым полосам сетки).
   Теперь у неё своя колонка справа; печь по-прежнему крупная и уходит за нижний край блока.
   Уже 1100 px печь не показываем — список во всю ширину. */
.sec--adv .sec__stove { display: none; }
@media (min-width: 68.75em) {
  .adv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .66fr); gap: 40px; }
  .sec--adv .sec__stove { display: block; position: relative; pointer-events: none; }
  .sec--adv .sec__stove img {
    position: absolute; left: 0; bottom: calc(-1 * var(--sec-y) - 30px);
    width: 112%; max-width: none; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.65));
  }
  .sec--adv .sec__stove .spot { top: 62%; }
}

.adv { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px 40px; margin-top: 40px; max-width: 880px; }
.adv li { display: flex; gap: 14px; font-size: 16px; line-height: 1.5; color: var(--grey); }
.adv .mk { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; position: relative; }
.adv .mk::before, .adv .mk::after { content: ""; position: absolute; background: var(--red); }
.adv .mk::before { left: 0; top: 9px; width: 20px; height: 2px; }
.adv .mk::after  { left: 9px; top: 0; width: 2px; height: 20px; }

/* ============================================================
   6 · Сетки  /  7 · Выносы — общая сетка карточек
   ============================================================ */
.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 44px; }

.card {
  position: relative; overflow: hidden;
  background: linear-gradient(170deg, var(--ink-card) 0%, #10171f 100%);
  border: 1px solid var(--line); padding: clamp(22px, 2.6vw, 30px);
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { border-color: #4a2a30; }
.card__idx { position: absolute; right: 20px; top: 16px; font-size: 12px; font-weight: 800; color: var(--red); letter-spacing: .1em; }
.card__photo { position: relative; height: clamp(240px, 28vw, 330px); margin-bottom: 18px; }
.card__photo img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 18px 34px rgba(0,0,0,.6)); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 16px; }

/* выносы (светлая секция) */
.var {
  position: relative; background: var(--white); border: 1px solid #dcdfe3;
  padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column;
}
.var__ltr {
  position: absolute; right: 20px; top: 10px;
  font-size: clamp(48px, 6vw, 72px); font-weight: 900; line-height: 1;
  color: var(--red); opacity: .2; letter-spacing: -.04em;
}
.var img { width: 100%; height: clamp(200px, 24vw, 280px); object-fit: contain; }
.var h3 { margin: 14px 0 8px; color: var(--ink); white-space: nowrap; font-size: clamp(19px, 1.8vw, 24px); }
.var p { font-size: 16px; }
.var .bar { display: block; margin-top: auto; padding-top: 18px; }
.var .bar i {
  display: block; height: 4px; background: #e4e7ea; position: relative; overflow: hidden;
}
.var .bar i::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w);
  background: var(--red); transform-origin: left;
  transition: transform 1s var(--ease) .15s;
}
.note { margin-top: 34px; font-size: 16px; }

/* ============================================================
   8 · Рада 14 — сплит
   ============================================================ */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(30px, 5vw, 70px); align-items: center; }
.split__media { position: relative; min-height: clamp(300px, 40vw, 520px); }
.split__media img { position: absolute; left: 50%; top: 50%; translate: -50% -50%; max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.65)); }
.fits { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.fits li {
  font-size: 16px; font-weight: 600; color: var(--white);
  border-left: 3px solid var(--red); padding-left: 16px;
}

/* ============================================================
   9 · Дверцы — кадр с огнём
   ============================================================ */
.sec--fire { padding-block: 0; min-height: clamp(560px, 78vh, 820px); display: flex; align-items: center; }
.fire__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fire__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (min-width: 900px) {
  .fire__media img { transform: scale(1.16) translateX(12%); transform-origin: center; }
}
.fire__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(16,24,32,.88) 36%, rgba(16,24,32,.3) 64%),
    linear-gradient(0deg, var(--ink) 0%, transparent 26%),
    linear-gradient(180deg, var(--ink) 0%, transparent 22%);
}
.sec--fire .wrap { position: relative; z-index: 2; }
.fire__text { max-width: 540px; padding-block: clamp(60px, 8vw, 90px); }
.opts { margin-top: 30px; display: grid; gap: 12px; }
.opts > div { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 8px 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.opts dt { font-size: 16px; font-weight: 700; color: var(--white); }
.opts dd { margin: 0; font-size: 16px; color: #a3acb7; }
@media (max-width: 640px) { .opts > div { grid-template-columns: 1fr; gap: 4px; } }
/* 14.10: на телефоне и планшете текст лежал прямо на огне и читался плохо.
   Теперь кадр с огнём — сверху целиком, текст — под ним на тёмном */
@media (max-width: 56.24em) {
  .sec--fire { display: block; min-height: 0; }
  .fire__media { position: relative; inset: auto; aspect-ratio: 4 / 3; max-height: 72vh; }
  .fire__media::after {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(16,24,32,.55) 22%, transparent 48%),
      linear-gradient(180deg, var(--ink) 0%, transparent 16%);
  }
  .fire__text { max-width: 640px; padding-block: 0 var(--sec-y); margin-top: -28px; }
}

/* ============================================================
   10 · Финал
   ============================================================ */
.sec--cta { text-align: center; }
.cta { display: flex; flex-direction: column; align-items: center; }
.cta .lead { max-width: 60ch; margin-top: 22px; }
.cta .h-xl { margin-top: 24px; }
.cta__btns { margin-top: 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
/* 14.10: телефон завода — крупно, нажимается на телефоне */
.cta__tel { margin-top: 30px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.cta__tel a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: .02em; color: var(--white); text-decoration: none;
  transition: color .2s var(--ease);
}
.cta__tel a:hover { color: var(--grey); }
.cta__tel svg { width: 26px; height: 26px; color: var(--red); flex: 0 0 auto; }
.cta__tel small { font-size: 14px; color: #a3acb7; }
@media (max-width: 30em) { .cta__btns .btn { flex: 1 1 100%; } }

/* ---------- подвал ---------- */
.foot { background: var(--ink-deep); border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 64px) 0; text-align: center; }
.foot__in { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.foot__marks { display: flex; align-items: center; gap: 28px; }
.foot__marks img { height: 30px; width: auto; }
.foot__marks a { display: flex; align-items: center; min-height: 44px; border-radius: 4px; }
/* 14.10: в подвале — куда идти покупателю */
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 6px; margin-top: 4px; }
.foot__nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--grey); text-decoration: none; border-radius: 4px; transition: color .2s var(--ease);
}
.foot__nav a:hover { color: var(--white); }
.foot__nav a[href^="tel:"] { color: var(--white); letter-spacing: .04em; }
.foot__div { width: 1px; height: 34px; background: #39424f; }
.foot__site a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; letter-spacing: .34em; color: var(--grey); text-decoration: none; }
.foot__site a:hover { color: var(--white); }
.foot__hash { font-size: 11px; letter-spacing: .3em; color: #e8545d; font-weight: 700; }   /* 07.10 аудит: фирменный красный на чёрном мелко — 3,5; светлее того же красного — 5,5 */

/* ============================================================
   Появление при скролле
   ============================================================ */
/* 14.10: прячем блоки до появления ТОЛЬКО когда скрипт работает (класс js ставит строка в <head>)
   и человек не просил «меньше движения». Раньше без скрипта ~55 блоков так и оставались невидимыми. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-r] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-r].is-in { opacity: 1; transform: none; }
  .js .rule[data-r] { transform: scaleX(0); }
  .js .rule[data-r].is-in { transform: none; }
  .js .var .bar i::after { transform: scaleX(0); }
  .js .var.is-in .bar i::after { transform: scaleX(1); }
  /* 22.10 аудит: кнопка в ещё не проявленном блоке получила фокус с клавиатуры — блок показываем сразу */
  .js [data-r]:focus-within { opacity: 1; transform: none; }
}

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

/* 15.10 написать во ВКонтакте — под телефоном в последнем экране */
.vkw{display:inline-block;margin-top:10px;font-size:15px;color:inherit;opacity:.85;text-decoration:underline;text-underline-offset:3px}
.vkw:hover{opacity:1}
