/* =====================================================
       ФИРМЕННЫЕ ЦВЕТА — по гайду 2.4
       Чёрный 60 % · молочный 30 % · золото 8 % · красный 2 %
       Синий #354050 выведен из палитры.
    ====================================================== */
:root {
  --black: #1e1e1e;
  --black-deep: #141414;
  --black-soft: #262626;

  --milk: #fcfaf3;
  --warm-white: #fdfcd0;

  --gold: #d3a35c;
  --gold-muted: #b59a6a;

  --red: #a32e28;
  --red-hover: #b8352e;
  --orange: #eca966;

  --text-muted: rgba(252, 250, 243, 0.7);
  --text-dark-muted: rgba(30, 30, 30, 0.72);
  --line-dark: rgba(252, 250, 243, 0.12);
  --line-light: rgba(30, 30, 30, 0.14);

  --radius: 18px;
  --container: 1220px;
  --gutter: 24px;

  /* Меняются из JS при прокрутке: 0 — верх страницы, 1 — низ */
  --heat: 0;
  --background-red: 0;
  --heat-opacity: 0;
  --heat-glow: 0;
}

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

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

body {
  color: var(--milk);
  font-family: "Commissioner", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;

  /* Фон теплеет по мере прокрутки — виден сквозь тёмные секции */
  background:
    radial-gradient(
      ellipse at 50% 110%,
      rgba(163, 46, 40, calc(var(--background-red) * 0.85)),
      transparent 53%
    ),
    radial-gradient(
      ellipse at 12% 85%,
      rgba(163, 46, 40, calc(var(--background-red) * 0.3)),
      transparent 36%
    ),
    radial-gradient(
      ellipse at 88% 75%,
      rgba(236, 169, 102, calc(var(--background-red) * 0.18)),
      transparent 34%
    ),
    var(--black);
  background-attachment: fixed;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - var(--gutter) * 2), var(--container));
  margin: 0 auto;
}

main,
footer {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: 112px 0;
}

/* Полупрозрачный чёрный — сквозь него видны тепло и искры */
.section-dark {
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.9),
    rgba(30, 30, 30, 0.8)
  );
}

.section-light {
  color: var(--black);
  background: var(--milk);
}

/* Тихий фирменный паттерн — огонь из знака, тон в тон на чёрном */
.pattern-quiet {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cg fill='%23FCFAF3' fill-opacity='0.035'%3E%3Cpath transform='translate%28-16 8%29 scale%280.045%29' d='M 909.2 80.3 C 1024.2 126.8 976.6 221.6 965.2 305.4 C 957.7 360.2 986.7 419.6 1032.5 427.3 C 1132.5 444.2 1095.3 284.6 1095.3 284.6 C 1095.3 284.6 1216.1 371.4 1238.4 451.1 C 1269.6 563 1201.9 634.6 1201.9 634.6 C 1201.9 634.6 1233.2 563 1131.7 474.5 C 1021.1 548.7 918.3 482.3 889.7 380.9 C 842.9 401.7 841.6 462.8 841.6 462.8 C 841.6 462.8 775.9 420.4 807.7 324.9 C 827.2 266.4 881.9 248.2 907.9 198.7 C 933.9 149.3 909.2 80.3 909.2 80.3 '/%3E%3Cpath transform='translate%2848 72%29 scale%280.045%29' d='M 909.2 80.3 C 1024.2 126.8 976.6 221.6 965.2 305.4 C 957.7 360.2 986.7 419.6 1032.5 427.3 C 1132.5 444.2 1095.3 284.6 1095.3 284.6 C 1095.3 284.6 1216.1 371.4 1238.4 451.1 C 1269.6 563 1201.9 634.6 1201.9 634.6 C 1201.9 634.6 1233.2 563 1131.7 474.5 C 1021.1 548.7 918.3 482.3 889.7 380.9 C 842.9 401.7 841.6 462.8 841.6 462.8 C 841.6 462.8 775.9 420.4 807.7 324.9 C 827.2 266.4 881.9 248.2 907.9 198.7 C 933.9 149.3 909.2 80.3 909.2 80.3 '/%3E%3C/g%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.section-dark.pattern-quiet {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 128 128'%3E%3Cg fill='%23FCFAF3' fill-opacity='0.035'%3E%3Cpath transform='translate%28-16 8%29 scale%280.045%29' d='M 909.2 80.3 C 1024.2 126.8 976.6 221.6 965.2 305.4 C 957.7 360.2 986.7 419.6 1032.5 427.3 C 1132.5 444.2 1095.3 284.6 1095.3 284.6 C 1095.3 284.6 1216.1 371.4 1238.4 451.1 C 1269.6 563 1201.9 634.6 1201.9 634.6 C 1201.9 634.6 1233.2 563 1131.7 474.5 C 1021.1 548.7 918.3 482.3 889.7 380.9 C 842.9 401.7 841.6 462.8 841.6 462.8 C 841.6 462.8 775.9 420.4 807.7 324.9 C 827.2 266.4 881.9 248.2 907.9 198.7 C 933.9 149.3 909.2 80.3 909.2 80.3 '/%3E%3Cpath transform='translate%2848 72%29 scale%280.045%29' d='M 909.2 80.3 C 1024.2 126.8 976.6 221.6 965.2 305.4 C 957.7 360.2 986.7 419.6 1032.5 427.3 C 1132.5 444.2 1095.3 284.6 1095.3 284.6 C 1095.3 284.6 1216.1 371.4 1238.4 451.1 C 1269.6 563 1201.9 634.6 1201.9 634.6 C 1201.9 634.6 1233.2 563 1131.7 474.5 C 1021.1 548.7 918.3 482.3 889.7 380.9 C 842.9 401.7 841.6 462.8 841.6 462.8 C 841.6 462.8 775.9 420.4 807.7 324.9 C 827.2 266.4 881.9 248.2 907.9 198.7 C 933.9 149.3 909.2 80.3 909.2 80.3 '/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(30, 30, 30, 0.8));
  background-size:
    128px 128px,
    auto;
}

.section-title.compact {
  font-size: clamp(36px, 4.4vw, 58px);
}

/* =====================================================
       ТИПОГРАФИКА
    ====================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--gold);

  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 24px;
  height: 2px;
  background: var(--red);
}

.section-light .eyebrow {
  color: var(--red);
}

.section-light .eyebrow::before {
  background: var(--gold-muted);
}

.section-title {
  max-width: 900px;
  margin-top: 18px;

  font-family: "Oswald", sans-serif;
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-dark .section-title,
.hero h1 {
  color: var(--milk);
}

.section-lead {
  max-width: 680px;
  margin-top: 24px;

  color: var(--text-muted);

  font-size: 18px;
  line-height: 1.7;
}

.section-light .section-lead {
  color: var(--text-dark-muted);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.section-head .section-lead {
  margin-top: 0;
}

/* =====================================================
       КНОПКИ
    ====================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 56px;
  padding: 15px 26px;

  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;

  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--milk);
  background: var(--red);
  box-shadow:
    0 10px 30px rgba(163, 46, 40, 0.28),
    0 0 calc(var(--heat) * 26px) rgba(236, 120, 60, 0.32);
}

.btn-primary:hover {
  background: var(--red-hover);
}

.btn-outline {
  color: var(--milk);
  border-color: rgba(252, 250, 243, 0.38);
}

.btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.section-light .btn-outline {
  color: var(--black);
  border-color: rgba(30, 30, 30, 0.3);
}

.section-light .btn-outline:hover {
  color: var(--red);
  border-color: var(--red);
}

.btn-full {
  width: 100%;
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* =====================================================
       ИКОНКИ С ТЕПЛОВОЙ ПОДСВЕТКОЙ (гайд, стр. 16)
       Иконка всегда молочная, красный живёт только в свечении.
    ====================================================== */

.glow-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
}

.glow-icon::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(163, 46, 40, 0.85) 0%,
    rgba(163, 46, 40, 0.35) 45%,
    rgba(163, 46, 40, 0) 70%
  );
}

.glow-icon svg {
  position: relative;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--milk);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =====================================================
       ТЕПЛО И ИСКРЫ (за контентом, видны в тёмных секциях)
    ====================================================== */

.page-heat {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: var(--heat-opacity);
  background: radial-gradient(
    ellipse at 50% 108%,
    rgba(255, 199, 98, 0.35) 0%,
    rgba(235, 97, 38, 0.24) 22%,
    rgba(163, 46, 40, 0.15) 47%,
    transparent 75%
  );
}

.page-heat::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: var(--heat-glow);
  background:
    radial-gradient(
      ellipse at 12% 100%,
      rgba(163, 46, 40, 0.5),
      transparent 38%
    ),
    radial-gradient(
      ellipse at 85% 105%,
      rgba(247, 113, 41, 0.42),
      transparent 40%
    ),
    radial-gradient(
      ellipse at 53% 110%,
      rgba(255, 188, 76, 0.26),
      transparent 44%
    );
  filter: blur(24px);
}

#embersCanvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* =====================================================
       ВЕРХНЯЯ ПЛАШКА И ШАПКА
    ====================================================== */

.top-bar {
  position: relative;
  z-index: 2;
  padding: 9px 16px;

  color: var(--warm-white);
  background: var(--black-deep);
  border-bottom: 1px solid rgba(211, 163, 92, 0.25);

  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.top-bar b {
  color: var(--gold);
  font-weight: 500;
}

.header {
  position: sticky;
  z-index: 40;
  top: 0;

  background: rgba(20, 20, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo-wide {
  display: block;
  width: 210px;
  height: auto;
}

.nav {
  display: flex;
  gap: 26px;

  color: rgba(252, 250, 243, 0.74);

  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone {
  white-space: nowrap;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.header-actions .btn {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 13px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.menu-button span,
.menu-button span::before,
.menu-button span::after {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--milk);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.menu-button span::before,
.menu-button span::after {
  content: "";
  position: absolute;
}

.menu-button span::before {
  top: -7px;
}
.menu-button span::after {
  top: 7px;
}

body.menu-open .menu-button span {
  background: transparent;
}
body.menu-open .menu-button span::before {
  transform: translateY(7px) rotate(45deg);
}
body.menu-open .menu-button span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* =====================================================
       HERO
    ====================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(820px, calc(100svh - 110px));
  overflow: hidden;
  background: var(--black);
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(20, 20, 20, 0.96) 6%,
      rgba(20, 20, 20, 0.78) 40%,
      rgba(20, 20, 20, 0.15) 78%
    ),
    linear-gradient(0deg, rgba(20, 20, 20, 0.85) 0%, transparent 30%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 660px;
  padding: 96px 0 120px;
}

/* ТЕПЛОВОЙ КАДР — приём визитки «Место тепла» */
.hero-thermal {
  position: relative;
  margin: 0 0 40px;
}

.hero-thermal::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22% -18%;
  background: radial-gradient(
    closest-side,
    rgba(236, 169, 102, 0.42),
    rgba(163, 46, 40, 0.32) 50%,
    transparent 100%
  );
  filter: blur(14px);
  animation: smoulder 5s ease-in-out infinite;
}

.hero-thermal img {
  width: 100%;
  aspect-ratio: 2000 / 1167;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

.thermal-frame {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  --c: rgba(253, 252, 208, 0.85);
  background:
    linear-gradient(var(--c), var(--c)) top left / 22px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1.5px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 22px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1.5px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 22px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1.5px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 22px 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1.5px 22px no-repeat;
}

.thermal-title {
  position: absolute;
  top: 30px;
  right: 32px;
  color: var(--warm-white);
  font-family: "Oswald", sans-serif;
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.t-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--warm-white);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.t-label::after {
  content: "";
  width: 52px;
  height: 1px;
  background: rgba(253, 252, 208, 0.8);
}

.t-label.t-fire {
  top: 56%;
  left: 17%;
}

.t-label.t-people {
  top: 38%;
  right: 26%;
  flex-direction: row-reverse;
}

.t-label.t-people::after {
  display: none;
}

.hero h1 {
  margin-top: 22px;

  font-family: "Oswald", sans-serif;
  font-size: clamp(48px, 5.9vw, 86px);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-text {
  max-width: 580px;
  margin-top: 28px;
  color: rgba(252, 250, 243, 0.86);
  font-size: 19px;
  line-height: 1.66;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-feature {
  padding: 9px 13px;
  color: var(--warm-white);
  background: rgba(20, 20, 20, 0.45);
  border: 1px solid rgba(211, 163, 92, 0.38);
  border-radius: 5px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.coupon-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--warm-white);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.coupon-label b {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--milk);
  background: var(--red);
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* =====================================================
       ДВА ВХОДА: ДЛЯ СЕБЯ / ДЛЯ БИЗНЕСА
    ====================================================== */

.paths {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  padding-bottom: 24px;
}

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

.path-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;

  padding: 26px 28px;

  background: rgba(30, 30, 30, 0.92);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}

.path-card:hover {
  border-color: rgba(211, 163, 92, 0.5);
  transform: translateY(-3px);
}

.path-card small {
  display: block;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.path-card strong {
  display: block;
  margin-top: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.path-card .path-text {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.path-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(252, 250, 243, 0.25);
  border-radius: 50%;
  color: var(--gold);
  font-size: 18px;
}

/* =====================================================
       ОБРАЗЦЫ СО СТЕНДА
    ====================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--milk);
  background: var(--black);
  border-radius: var(--radius);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(30, 30, 30, 0.22);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3.3;
  overflow: hidden;
  background: var(--black-soft);
}

.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover .product-photo {
  transform: scale(1.04);
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(30, 30, 30, 0.75) 0%,
    rgba(30, 30, 30, 0) 40%
  );
  pointer-events: none;
}

/* Рендер выставочного образца — врезкой поверх фото с людьми.
       При наведении появляется артикул; на сенсорных экранах он виден всегда. */
.product-thumb {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 14px;
  width: 40%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d6d6d6;
  border: 2px solid var(--milk);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 10px 8px;
  color: var(--milk);
  background: linear-gradient(
    0deg,
    rgba(20, 20, 20, 0.94) 0%,
    rgba(20, 20, 20, 0.78) 55%,
    rgba(20, 20, 20, 0) 100%
  );
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.product-thumb figcaption small {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.product-thumb:hover,
.product-thumb:focus-visible {
  transform: scale(1.05);
}

.product-thumb:hover figcaption,
.product-thumb:focus-visible figcaption {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .product-thumb figcaption {
    opacity: 1;
    transform: none;
    padding-top: 14px;
    font-size: 12px;
  }

  .product-thumb figcaption small {
    display: none;
  }
}

.product-photo[src*="hero-blackburn"] {
  object-position: 70% center;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 28px 30px;
}

.product-line {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.product-name {
  margin-top: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.product-subtitle {
  margin-top: 10px;
  color: var(--warm-white);
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.product-description {
  margin-top: 16px;
  color: rgba(252, 250, 243, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

.product-meta {
  display: grid;
  gap: 8px;
  margin: 22px 0 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  line-height: 1.45;
}

.product-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.product-meta span {
  color: var(--text-muted);
}

.product-meta b {
  font-weight: 500;
  text-align: right;
}

.product-body .btn {
  margin-top: auto;
}

.sample-note {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}

.sample-note-tag {
  padding: 7px 11px;
  color: var(--milk);
  background: var(--black);
  border-radius: 5px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sample-note p {
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

.sample-note p strong {
  color: var(--black);
  font-weight: 600;
}

/* =====================================================
       ГДЕ ПОСТАВИТЬ
    ====================================================== */

.places-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
  margin-top: 52px;
}

.place-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 330px;
  overflow: hidden;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--black-soft);
}

.place-card:first-child {
  grid-row: span 2;
  min-height: 560px;
}

.place-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.place-card:hover img {
  transform: scale(1.04);
}

.place-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(20, 20, 20, 0.95) 0%,
    rgba(20, 20, 20, 0.55) 38%,
    rgba(20, 20, 20, 0) 72%
  );
}

.place-card small {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.place-card h3 {
  max-width: 460px;
  margin-top: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

.place-card p {
  max-width: 460px;
  margin-top: 10px;
  color: rgba(252, 250, 243, 0.82);
  font-size: 15px;
  line-height: 1.55;
}

.places-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 860px;
  margin-top: 30px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.places-note .glow-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}

.places-note .glow-icon svg {
  width: 22px;
  height: 22px;
}

.places-note strong {
  color: var(--milk);
  font-weight: 500;
}

/* =====================================================
       ВЫБОР ЛИНЕЙКИ ПО БЛЮДАМ
    ====================================================== */

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.dish-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--milk);
  background: var(--black);
  border-radius: var(--radius);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.dish-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(30, 30, 30, 0.22);
}

.dish-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.dish-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dish-card:hover .dish-media img {
  transform: scale(1.05);
}

.dish-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--black) 0%, rgba(30, 30, 30, 0) 35%);
}

.dish-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 8px 28px 30px;
}

.dish-line {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dish-name {
  margin-top: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.dish-subtitle {
  margin-top: 8px;
  color: var(--warm-white);
  font-family: "Oswald", sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.dish-text {
  margin-top: 14px;
  color: rgba(252, 250, 243, 0.8);
  font-size: 15px;
  line-height: 1.6;
}

.dish-list {
  display: grid;
  gap: 9px;
  margin: 20px 0 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

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

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

.dish-body .btn {
  margin-top: auto;
}

/* Где будет стоять кухня */
.spot {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line-light);
}

.spot-title {
  font-family: "Oswald", sans-serif;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.spot-card {
  padding: 26px 26px 28px;
  background: #f2efe6;
  border-radius: 16px;
}

.spot-card small {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.spot-card h3 {
  margin-top: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.18;
  text-transform: uppercase;
}

.spot-card p {
  margin-top: 10px;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

.spot-actions {
  margin-top: 28px;
}

/* =====================================================
       КОНСТРУКЦИЯ
    ====================================================== */

.engineering-layout {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 18px;
  margin-top: 52px;
}

.engineering-photo {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
}

.engineering-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.engineering-photo span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 6px 10px;
  color: var(--warm-white);
  background: rgba(20, 20, 20, 0.7);
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.feature-card {
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  box-shadow: 0 0 calc(var(--heat) * 22px) rgba(163, 46, 40, 0.12);
}

.feature-card .glow-icon {
  margin-bottom: 26px;
}

.feature-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.18;
  text-transform: uppercase;
}

.feature-card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.62;
}

/* =====================================================
       МАТЕРИАЛЫ И ТОПЛИВО
    ====================================================== */

.materials-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 18px;
  margin-top: 52px;
}

.chamotte-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--milk);
  background: var(--black);
  border-radius: var(--radius);
}

.chamotte-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.chamotte-card div {
  padding: 26px 28px 30px;
}

.chamotte-card h3,
.fuel-head h3 {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

.chamotte-card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.62;
}

.fuel-panel {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #f2efe6;
  border-radius: var(--radius);
}

.fuel-head p {
  max-width: 520px;
  margin-top: 10px;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

.fuel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: auto;
  padding-top: 26px;
}

.fuel-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.fuel-card strong {
  display: block;
  margin-top: 14px;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.fuel-card span {
  display: block;
  margin-top: 4px;
  color: var(--text-dark-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* =====================================================
       МОДУЛЬНАЯ СИСТЕМА
    ====================================================== */

.module-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.module-image {
  overflow: hidden;
  border-radius: 22px;
}

.module-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.module-points {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.module-point {
  padding: 18px 22px;
  background: rgba(252, 250, 243, 0.05);
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
}

.module-point strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.module-point span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.58;
}

.module-layout .btn {
  margin-top: 30px;
}

/* =====================================================
       ФОРМАТЫ КУХНИ
    ====================================================== */

.format-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.format-card {
  grid-column: span 2;
}

.format-card:nth-child(n + 4) {
  grid-column: span 3;
}

.format-card:nth-child(n + 4) img {
  aspect-ratio: 16 / 8;
  object-position: center bottom;
}

.format-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-light);
  border-radius: 16px;
}

.format-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e4e2de;
}

.format-card div {
  padding: 22px 22px 26px;
}

.format-card small {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.format-card h3 {
  margin-top: 6px;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.format-card p {
  margin-top: 10px;
  color: var(--text-dark-muted);
  font-size: 14px;
  line-height: 1.58;
}

/* =====================================================
       ГАРАНТИЯ И ПРОИЗВОДСТВО
    ====================================================== */

.warranty-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.warranty-photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

.warranty-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.warranty-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 11px;
  color: var(--milk);
  background: rgba(20, 20, 20, 0.78);
  border-radius: 5px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 36px;
  overflow: hidden;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.stat {
  padding: 24px 22px;
  background: var(--black);
}

.stat strong {
  display: block;
  color: var(--warm-white);
  font-family: "Oswald", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.warranty-note {
  margin-top: 20px;
  color: rgba(252, 250, 243, 0.55);
  font-size: 13px;
  line-height: 1.6;
}

/* =====================================================
       КАК ЗАКАЗАТЬ
    ====================================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.process-step {
  padding: 28px 4px 0 0;
  border-top: 2px solid var(--black);
}

.process-number {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
}

.process-step h3 {
  margin-top: 20px;
  font-family: "Oswald", sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.process-step p {
  margin-top: 12px;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* =====================================================
       КУПОН — «эффект тепла»: одно свечение вокруг купона
    ====================================================== */

.coupon-section {
  overflow: hidden;
  background-color: rgba(20, 20, 20, 0.94);
}

.coupon-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.coupon-title {
  max-width: 640px;
  margin-top: 18px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
}

.coupon-title span {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 0.56em;
  line-height: 1.12;
}

.coupon-text {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(252, 250, 243, 0.84);
  font-size: 18px;
  line-height: 1.68;
}

.coupon-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  list-style: none;
}

.coupon-list li {
  position: relative;
  padding-left: 22px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

.coupon-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.coupon-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.coupon-stage::before {
  content: "";
  position: absolute;
  inset: -38% -26%;
  background: radial-gradient(
    closest-side,
    rgba(253, 252, 208, 0.95) 0%,
    rgba(236, 169, 102, 0.85) 24%,
    rgba(163, 46, 40, 0.75) 50%,
    rgba(163, 46, 40, 0.18) 78%,
    transparent 100%
  );
  filter: blur(10px);
  animation: smoulder 5s ease-in-out infinite;
}

@keyframes smoulder {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.coupon-stack {
  position: relative;
  display: block;
  width: min(100%, 470px);
  aspect-ratio: 105 / 74.25;
  cursor: pointer;
}

.coupon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    z-index 0s 0.3s;
}

.coupon-back {
  z-index: 1;
  transform: translate(9%, -11%) rotate(6deg) scale(0.94);
}

.coupon-front {
  z-index: 2;
  transform: translate(-3%, 4%) rotate(-4deg);
}

.coupon-stack.flipped .coupon-back {
  z-index: 2;
  transform: translate(-3%, 4%) rotate(-4deg);
}

.coupon-stack.flipped .coupon-front {
  z-index: 1;
  transform: translate(9%, -11%) rotate(6deg) scale(0.94);
}

.coupon-stack:not(.flipped):hover .coupon-front {
  transform: translate(-3%, 2%) rotate(-3deg);
}

.coupon-hint {
  position: relative;
  margin-top: 44px;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

/* Купон в модальном окне — конверт баннером сверху */
.modal-envelope {
  display: none;
  position: relative;
  margin: 0 -40px 22px;
}

.modal-envelope img {
  width: 100%;
  aspect-ratio: 1100 / 653;
  object-fit: cover;
}

.modal-envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--black) 0%, rgba(30, 30, 30, 0) 32%);
}

.modal.with-coupon .modal-envelope {
  display: block;
}

.modal.with-coupon .modal-content {
  padding-top: 0;
  overflow: hidden;
}

.modal-close {
  z-index: 3;
}

.modal.with-coupon .modal-close {
  background: rgba(20, 20, 20, 0.55);
  border-radius: 50%;
}

.modal-content h2 .sum {
  color: var(--gold);
  white-space: nowrap;
}

.modal-content > p .sum {
  color: var(--warm-white);
  font-weight: 500;
  white-space: nowrap;
}

.coupon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* =====================================================
       ПАРТНЁРАМ
    ====================================================== */

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.partner-media {
  position: sticky;
  top: 110px;
}

.partner-image {
  overflow: hidden;
  border-radius: 22px;
}

.partner-image img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  object-position: center 25%;
}

.manager-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  padding: 22px 24px;
  color: var(--milk);
  background: var(--black);
  border-radius: 16px;
}

.manager-card small {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.manager-card strong {
  display: block;
  margin-top: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
}

.manager-card a {
  display: block;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.manager-card a:hover {
  color: var(--gold);
}

.partner-lead-accent {
  margin-top: 22px;
  color: var(--red);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.partner-steps {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--line-light);
}

.partner-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
}

.partner-step > span {
  color: var(--gold-muted);
  font-family: "Oswald", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 0.95;
}

.partner-step strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.16;
  text-transform: uppercase;
}

.partner-step p {
  margin-top: 6px;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.58;
}

.partner-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 26px;
}

.partner-badges span {
  padding: 13px 16px;
  background: #f2efe6;
  border-radius: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* =====================================================
       ВОПРОСЫ
    ====================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

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

.faq-item summary {
  position: relative;
  padding: 22px 48px 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--gold);
  font-family: "Commissioner", sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  max-width: 640px;
  padding: 0 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.68;
}

/* =====================================================
       ФОРМА
    ====================================================== */

.form-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: start;
}

.form-info p {
  margin-top: 22px;
  color: var(--text-dark-muted);
  line-height: 1.72;
}

.form-benefits {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.form-benefit {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
}

.form-benefit::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.form-contacts {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.form-contacts small {
  display: block;
  color: var(--text-dark-muted);
  font-size: 13px;
}

.form-contacts a {
  display: inline-block;
  margin-top: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.form-contacts a:hover {
  color: var(--red);
}

.form-card {
  padding: 38px;
  color: var(--milk);
  background: var(--black);
  border-radius: var(--radius);
}

.form-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

.form-card > p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.62;
}

form {
  margin-top: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--milk);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(252, 250, 243, 0.2);
  border-radius: 8px;
  outline: 0;
  font-weight: 400;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.field::placeholder {
  color: rgba(252, 250, 243, 0.5);
}

.field:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
}

select.field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  color: rgba(252, 250, 243, 0.9);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D3A35C' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

select.field option {
  color: var(--black);
  background: var(--milk);
}

textarea.field {
  min-height: 112px;
  padding-top: 15px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  color: rgba(252, 250, 243, 0.6);
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--red);
}

.success-message {
  display: none;
  margin-top: 18px;
  padding: 15px 16px;
  color: var(--warm-white);
  background: rgba(211, 163, 92, 0.12);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.5;
}

.success-message.active {
  display: block;
}

/* =====================================================
       ПОДВАЛ
    ====================================================== */

footer {
  padding: 64px 0 40px;
  background-color: var(--black-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-logo {
  width: 150px;
  height: auto;
}

.footer-grid h4 {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin-bottom: 8px;
  color: rgba(252, 250, 243, 0.7);
  font-size: 14px;
  line-height: 1.58;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-about {
  max-width: 340px;
  margin-top: 22px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  color: rgba(252, 250, 243, 0.42);
  font-size: 12px;
  line-height: 1.55;
}

/* =====================================================
       МОДАЛЬНОЕ ОКНО
    ====================================================== */

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.modal.active {
  display: grid;
}

.modal-content {
  position: relative;
  width: min(100%, 560px);
  padding: 40px;
  background: var(--black);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow:
    0 30px 100px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(163, 46, 40, 0.25);
  animation: modal-in 0.3s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.modal-content h2 {
  max-width: 440px;
  margin-top: 16px;
  font-family: "Oswald", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.modal-content > p {
  margin-top: 14px;
  color: var(--text-muted);
  line-height: 1.62;
}

/* =====================================================
       ПЛАВАЮЩАЯ КНОПКА КАТАЛОГА
    ====================================================== */

.catalog-fab {
  position: fixed;
  z-index: 45;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: var(--milk);
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid rgba(211, 163, 92, 0.45);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.catalog-fab.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

body.modal-open .catalog-fab,
body.menu-open .catalog-fab {
  opacity: 0;
  pointer-events: none;
}

.catalog-fab a {
  display: flex;
  align-items: center;
  gap: 10px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.catalog-fab-open {
  padding: 13px 18px 13px 20px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-fab-download {
  justify-content: center;
  width: 48px;
  border-left: 1px solid rgba(252, 250, 243, 0.16);
}

.catalog-fab a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.catalog-fab svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-fab-open svg {
  color: var(--gold);
}

/* =====================================================
       МОБИЛЬНАЯ ПАНЕЛЬ
    ====================================================== */

.mobile-bar {
  display: none;
}

/* =====================================================
       ПОЯВЛЕНИЕ ПРИ ПРОКРУТКЕ
    ====================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =====================================================
       АДАПТИВ
    ====================================================== */

@media (max-width: 1140px) {
  .nav,
  .header-actions .phone {
    display: none;
  }

  .menu-button {
    display: grid;
    place-items: center;
  }

  .mobile-menu {
    position: fixed;
    z-index: 39;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 130px var(--gutter) 40px;
    background: rgba(20, 20, 20, 0.98);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  body.menu-open .mobile-menu {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: "Oswald", sans-serif;
    font-size: 26px;
    font-weight: 500;
    text-transform: uppercase;
  }

  .mobile-menu .mobile-menu-phone {
    margin-top: 20px;
    border: 0;
    color: var(--gold);
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card:last-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-card:last-child .product-media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .format-card,
  .format-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .format-card:nth-child(n + 4) img {
    aspect-ratio: 4 / 3;
  }

  .format-card:last-child {
    grid-column: span 2;
  }

  .format-card:last-child img {
    aspect-ratio: 16 / 9;
  }

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

  .engineering-photo {
    min-height: 320px;
  }

  .engineering-photo img {
    object-position: center 62%;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 88px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-thermal {
    order: -1;
    max-width: 560px;
    margin: 56px 0 0;
  }

  .hero-content {
    padding: 40px 0 110px;
  }

  .section-head,
  .dish-grid,
  .module-layout,
  .warranty-layout,
  .partner-grid,
  .form-layout,
  .faq-layout,
  .coupon-inner,
  .materials-layout {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 20px;
  }

  .partner-media {
    position: static;
  }

  .places-grid {
    grid-template-columns: 1fr 1fr;
  }

  .place-card:first-child {
    grid-column: span 2;
    grid-row: auto;
    min-height: 440px;
  }

  .module-image img {
    aspect-ratio: 4 / 3.4;
  }

  .partner-image img {
    aspect-ratio: 16 / 10;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .top-bar {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .header-inner {
    min-height: 64px;
  }

  .logo-wide {
    width: 168px;
  }

  .header-actions .btn {
    display: none;
  }

  .mobile-menu {
    padding-top: 120px;
  }

  .hero {
    align-items: flex-end;
    min-height: 640px;
  }

  .hero-media {
    object-position: 70% center;
  }

  .hero::before {
    background: linear-gradient(
      0deg,
      rgba(20, 20, 20, 0.98) 30%,
      rgba(20, 20, 20, 0.6) 65%,
      rgba(20, 20, 20, 0.25) 100%
    );
  }

  .hero-content {
    padding: 30px 0 96px;
  }

  .hero-thermal {
    margin-top: 28px;
  }

  .thermal-title {
    top: 20px;
    right: 22px;
  }

  .t-label {
    font-size: 10px;
  }

  .t-label::after {
    width: 28px;
  }

  .hero h1 {
    font-size: clamp(40px, 11.5vw, 54px);
    line-height: 1.1;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .paths {
    margin-top: -48px;
  }

  .path-card {
    grid-template-columns: 1fr auto;
    padding: 22px;
  }

  .path-card .glow-icon {
    display: none;
  }

  .path-card strong {
    font-size: 20px;
  }

  .section-title {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.12;
  }

  .section-lead {
    font-size: 16px;
  }

  .product-grid,
  .feature-grid,
  .format-grid,
  .process-grid,
  .places-grid,
  .fuel-grid {
    grid-template-columns: 1fr;
  }

  .product-card:last-child {
    grid-column: auto;
    display: flex;
  }

  .format-card:last-child {
    grid-column: auto;
  }

  .format-card:last-child img {
    aspect-ratio: 4 / 3;
  }

  .product-card:last-child .product-media {
    aspect-ratio: 351 / 256;
    min-height: 0;
  }

  .product-name {
    font-size: 40px;
  }

  .product-body {
    padding: 24px 22px 26px;
  }

  .sample-note {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px;
  }

  .place-card:first-child {
    grid-column: auto;
    min-height: 400px;
  }

  .place-card {
    min-height: 300px;
    padding: 22px;
  }

  .place-card h3 {
    font-size: 26px;
  }

  .dish-body {
    padding: 24px 22px 26px;
  }

  .dish-name {
    font-size: 40px;
  }

  .spot-grid {
    grid-template-columns: 1fr;
  }

  .spot-actions .btn {
    width: 100%;
  }

  .fuel-panel {
    padding: 22px;
  }

  .fuel-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
  }

  .fuel-card strong {
    margin-top: 0;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat strong {
    font-size: 38px;
  }

  .coupon-stage {
    padding: 24px 0;
  }

  .coupon-actions .btn,
  .partner-actions .btn {
    width: 100%;
  }

  .partner-badges {
    grid-template-columns: 1fr;
  }

  .manager-card {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    font-size: 18px;
  }

  .form-card {
    padding: 26px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-bar {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 1px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--black);
    border-top: 1px solid var(--line-dark);
  }

  .mobile-bar a,
  .mobile-bar button {
    display: grid;
    place-items: center;
    min-height: 58px;
    color: var(--milk);
    background: var(--black);
    cursor: pointer;
    font-family: "Oswald", sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-bar button {
    background: var(--red);
  }

  .catalog-fab {
    right: 12px;
    bottom: calc(70px + env(safe-area-inset-bottom));
  }

  .catalog-fab-open {
    gap: 8px;
    padding: 9px 12px 9px 13px;
    font-size: 13px;
  }

  .catalog-fab .fab-long {
    display: none;
  }

  .catalog-fab svg {
    width: 18px;
    height: 18px;
  }

  .catalog-fab-download {
    width: 38px;
  }

  footer {
    padding-bottom: 110px;
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal-content {
    padding: 34px 20px 28px;
    border-radius: 18px 18px 0 0;
  }

  .modal-envelope {
    margin: 0 -20px 16px;
  }

  .modal-content h2 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  #embersCanvas,
  .page-heat {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
       СТРАНИЦА SVAROG — дополнительные блоки
    ====================================================== */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(252, 250, 243, 0.55);
  font-size: 13px;
}

.crumbs a:hover {
  color: var(--gold);
}
.crumbs b {
  color: var(--milk);
  font-weight: 500;
}

.price-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
  padding: 18px 22px;
  background: rgba(20, 20, 20, 0.55);
  border: 1px solid rgba(211, 163, 92, 0.38);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.price-value {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.price-note {
  max-width: 330px;
  color: rgba(252, 250, 243, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.price-note b {
  color: var(--warm-white);
  font-weight: 600;
}

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

.fact-card {
  grid-template-columns: auto 1fr;
}
.fact-card:hover {
  transform: none;
  border-color: var(--line-dark);
}
.fact-card strong {
  font-size: 21px;
}

/* Что готовить */
.cook-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.cook-card {
  grid-column: span 2;
  overflow: hidden;
  color: var(--milk);
  background: var(--black);
  border-radius: var(--radius);
}

.cook-card:nth-child(n + 4) {
  grid-column: span 3;
}

.cook-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.cook-card:nth-child(n + 4) .cook-media {
  aspect-ratio: 16 / 8;
}

.cook-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cook-card:hover .cook-media img {
  transform: scale(1.05);
}

.cook-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--black) 0%, rgba(30, 30, 30, 0) 40%);
}

.cook-body {
  padding: 4px 26px 28px;
}

.cook-body h3 {
  font-family: "Oswald", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.12;
  text-transform: uppercase;
}

.cook-body p {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Почему металл */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}

.why-card {
  padding: 28px 26px;
  color: var(--milk);
  background: var(--black);
  border-radius: 16px;
}

.why-card .glow-icon {
  margin-bottom: 24px;
}

.why-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.18;
  text-transform: uppercase;
}

.why-card p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.62;
}

.compare {
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 16px;
}

.compare-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.2fr;
  border-top: 1px solid var(--line-light);
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row > span {
  padding: 18px 22px;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.5;
}

.compare-row > span:first-child {
  color: var(--black);
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-row > span:nth-child(2) {
  color: var(--black);
  font-weight: 500;
  background: rgba(211, 163, 92, 0.12);
}

.compare-head > span {
  color: var(--black);
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-head > span:nth-child(2) {
  color: var(--red);
}

/* Галерея деталей */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
  background: var(--black-soft);
}

.gallery-item.g-wide {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item.g-half {
  grid-column: span 2;
}

[hidden] {
  display: none !important;
}

.quiz-layout > *,
.tiles-layout > *,
.spec-layout > *,
.mod-layout > * {
  min-width: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: var(--milk);
  background: rgba(20, 20, 20, 0.78);
  border-radius: 5px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.lightbox.active {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1200px);
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 32px;
  cursor: pointer;
}

/* Плитка */
.tiles-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.place-card img.img-top {
  object-position: 28% center;
}

/* Подписи на фото читаются на любом кадре: плотнее затемнение снизу и лёгкая тень */
#places .place-card::before {
  background: linear-gradient(
    0deg,
    rgba(20, 20, 20, 0.96) 0%,
    rgba(20, 20, 20, 0.82) 30%,
    rgba(20, 20, 20, 0.35) 55%,
    rgba(20, 20, 20, 0) 75%
  );
}

#places .place-card h3,
#places .place-card p,
#places .place-card small {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.tiles-note b {
  font-weight: 600;
}

.tiles-note {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 16px;
  color: var(--black);
  background: rgba(163, 46, 40, 0.08);
  border-left: 3px solid var(--red);
  font-size: 14px;
  line-height: 1.55;
}

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

.tile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}

.tile figcaption {
  margin-top: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Варианты */
.variant-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 18px;
  margin-top: 52px;
}

.variant-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--black);
  background: var(--milk);
  border-radius: var(--radius);
}

.variant-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e4e2de;
}

.variant-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.variant-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  color: var(--milk);
  background: var(--red);
  border-radius: 4px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.angle-switch {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(30, 30, 30, 0.85);
  border-radius: 8px;
}

.angle-switch button {
  padding: 6px 10px;
  color: rgba(252, 250, 243, 0.7);
  border-radius: 5px;
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.angle-switch button.active,
.angle-switch button:hover {
  color: var(--black);
  background: var(--gold);
}

.variant-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 26px 28px;
}

.variant-tag {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.variant-body h3 {
  margin-top: 6px;
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.variant-body p {
  margin-top: 10px;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}

.variant-price {
  margin: 20px 0 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
  font-family: "Oswald", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}

.variant-price small {
  color: var(--text-dark-muted);
  font-size: 16px;
  font-weight: 500;
}

.variant-actions {
  margin-top: auto;
}
.variant-actions .btn {
  width: 100%;
}

.variant-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 22px 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.variant-help p {
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.6;
}

.variant-help strong {
  color: var(--milk);
  font-weight: 600;
}

/* Характеристики */
.spec-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}

.spec-figure figcaption {
  margin-top: 14px;
  color: var(--text-dark-muted);
  font-size: 13px;
  text-align: center;
}

.spec-drawing {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 30px 0 52px 52px;
}

.spec-canvas {
  position: relative;
}
.spec-canvas img {
  width: 100%;
}

.dim {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.dim i {
  position: absolute;
  background: var(--red);
}

.dim::before,
.dim::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.dim b {
  position: relative;
  background: var(--milk);
}

.dim-h {
  bottom: 0;
  left: -44px;
  width: 24px;
}
.dim-h i {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1.5px;
}
.dim-h::before,
.dim-h::after {
  left: 4px;
  right: 4px;
  height: 1.5px;
}
.dim-h::before {
  top: 0;
}
.dim-h::after {
  bottom: 0;
}
.dim-h b {
  padding: 6px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.dim-w {
  bottom: -40px;
  height: 24px;
}
.dim-w i {
  left: 0;
  right: 0;
  top: 50%;
  height: 1.5px;
}
.dim-w::before,
.dim-w::after {
  top: 4px;
  bottom: 4px;
  width: 1.5px;
}
.dim-w::before {
  left: 0;
}
.dim-w::after {
  right: 0;
}
.dim-w b {
  padding: 0 8px;
}

.view-label {
  position: absolute;
  top: -28px;
  color: var(--text-dark-muted);
  font-family: "Oswald", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Атмосферный блок с видео */
.atmo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  background: var(--black);
}

.atmo-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* на широком экране держим в кадре головы и плечи */
  object-position: 60% 4%;
}

/* Первый экран SVAROG: затемнение мягче, чтобы сцена читалась */
.hero::before {
  background:
    linear-gradient(
      90deg,
      rgba(20, 20, 20, 0.88) 0%,
      rgba(20, 20, 20, 0.6) 34%,
      rgba(20, 20, 20, 0.12) 64%,
      rgba(20, 20, 20, 0) 100%
    ),
    linear-gradient(0deg, rgba(20, 20, 20, 0.8) 0%, transparent 26%);
}

.hero-media {
  object-position: 70% center;
}

.atmo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.88) 0%,
    rgba(20, 20, 20, 0.55) 45%,
    rgba(20, 20, 20, 0.1) 100%
  );
}

.atmo-content {
  padding: 100px 0;
}

.atmo-title {
  max-width: 620px;
  margin-top: 18px;
  color: var(--milk);
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
}

.atmo-text {
  max-width: 520px;
  margin: 22px 0 32px;
  color: rgba(252, 250, 243, 0.86);
  font-size: 18px;
  line-height: 1.66;
}

@media (prefers-reduced-motion: reduce) {
  .atmo-video {
    display: none;
  }
  .atmo {
    background: var(--black) url("assets/atmo-couple-poster.jpg") center / cover
      no-repeat;
  }
  .hero {
    background: var(--black) url("assets/atmo-family-poster.jpg") 62% center /
      cover no-repeat;
  }
}

.spec-table {
  border-top: 1px solid var(--line-light);
}

.spec-table > div {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.spec-table dt {
  color: var(--text-dark-muted);
  font-size: 14px;
  line-height: 1.5;
}

.spec-table dd {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.spec-card {
  padding: 26px 26px 28px;
  background: #f2efe6;
  border-radius: 16px;
}

.spec-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.spec-card ul {
  display: grid;
  gap: 9px;
  margin-top: 16px;
  list-style: none;
}

.spec-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.5;
}

.spec-card li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--gold-muted);
  border-radius: 50%;
}

.spec-card li.gift {
  color: var(--red);
  font-weight: 600;
}

.spec-card li.gift::before {
  background: var(--red);
}

.spec-card-warn {
  background: rgba(163, 46, 40, 0.08);
}
.spec-card-warn li::before {
  background: var(--red);
}

/* Модули */
.mod-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}

.mod-photo {
  overflow: hidden;
  border-radius: 18px;
}

.mod-photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.mod-list {
  border-top: 1px solid var(--line-dark);
}

.mod-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-dark);
}

a.mod-item {
  transition: color 0.2s ease;
}
a.mod-item:hover strong {
  color: var(--gold);
}
.checkbox a,
.form-card p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mod-item strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mod-item span {
  display: block;
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.mod-item b {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
}

.mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* Квиз */
.quiz-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.quiz-perks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  list-style: none;
}

.quiz-perks li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.55;
}

.quiz-perks li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.quiz-card {
  margin: 0;
  padding: 34px;
  color: var(--milk);
  background: var(--black);
  border-radius: var(--radius);
}

.quiz-progress {
  height: 4px;
  overflow: hidden;
  background: rgba(252, 250, 243, 0.12);
  border-radius: 4px;
}

.quiz-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: var(--gold);
  transition: width 0.3s ease;
}

.quiz-counter {
  margin-top: 14px;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quiz-step {
  display: none;
  margin-top: 12px;
  border: 0;
}

.quiz-step.active {
  display: grid;
  gap: 10px;
}

.quiz-step legend {
  margin-bottom: 14px;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.quiz-step legend small {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-family: "Commissioner", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.opt {
  display: block;
  cursor: pointer;
}

.opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.opt span {
  display: block;
  padding: 15px 18px;
  border: 1px solid rgba(252, 250, 243, 0.2);
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.4;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.opt:hover span {
  border-color: rgba(211, 163, 92, 0.6);
}

.opt input:checked + span {
  border-color: var(--gold);
  background: rgba(211, 163, 92, 0.12);
}

.opt input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.quiz-result {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(211, 163, 92, 0.1);
  border-left: 3px solid var(--gold);
}

.quiz-result strong {
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
}

.quiz-result span {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.quiz-warn {
  padding: 14px 16px;
  color: var(--warm-white);
  background: rgba(163, 46, 40, 0.25);
  border-left: 3px solid var(--red);
  font-size: 14px;
  line-height: 1.55;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.quiz-nav .btn:last-child,
.quiz-nav #quizNext {
  margin-left: auto;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.channel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 14px;
}

.channel span {
  margin-right: 4px;
}

.channel label {
  cursor: pointer;
}

.channel input {
  position: absolute;
  opacity: 0;
}

.channel b {
  display: block;
  padding: 8px 14px;
  border: 1px solid rgba(252, 250, 243, 0.25);
  border-radius: 999px;
  color: var(--milk);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.channel input:checked + b {
  color: var(--black);
  background: var(--gold);
  border-color: var(--gold);
}

.channel-dark {
  margin-top: 14px;
}

/* Производство */
.factory-text {
  max-width: 620px;
  margin-top: 16px;
  color: var(--text-dark-muted);
  font-size: 16px;
  line-height: 1.7;
}

.stat-light {
  background: var(--line-light);
  border-color: var(--line-light);
}

.stat-light .stat {
  background: var(--milk);
}
.stat-light .stat strong {
  color: var(--black);
}
.stat-light .stat span {
  color: var(--text-dark-muted);
}

/* Договор */
.deal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 18px;
  margin-top: 48px;
}

.deal-card {
  padding: 26px;
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.deal-card small {
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.deal-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
}

.deal-card span {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.deal-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
}

.deal-pay > div {
  padding: 26px 22px;
  background: var(--black);
}

.deal-pay strong {
  display: block;
  color: var(--gold);
  font-family: "Oswald", sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.deal-pay span {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.step {
  padding-top: 22px;
  border-top: 1px solid var(--gold);
}

.step > span {
  color: var(--red);
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.step h3 {
  margin-top: 14px;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.step p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Вопросы на светлом фоне */
.faq-light .faq-list,
.faq-light .faq-item {
  border-color: var(--line-light);
}
.faq-light .faq-item summary:hover {
  color: var(--red);
}
.faq-light .faq-item summary::after {
  color: var(--red);
}
.faq-light .faq-item p {
  color: var(--text-dark-muted);
}
.faq-light .btn-outline {
  color: var(--black);
  border-color: rgba(30, 30, 30, 0.3);
}

/* Адаптив */
@media (max-width: 1140px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
  }
  .variant-grid {
    grid-template-columns: 1fr 1fr;
  }
  .variant-main {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
  }
  .variant-main .variant-media {
    aspect-ratio: auto;
    min-height: 100%;
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
  }
}

@media (max-width: 960px) {
  .facts-grid,
  .why-grid,
  .spec-cards {
    grid-template-columns: 1fr 1fr;
  }
  .tiles-layout,
  .spec-layout,
  .mod-layout,
  .quiz-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .deal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .deal-pay {
    grid-column: span 2;
  }
  .cook-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cook-card,
  .cook-card:nth-child(n + 4) {
    grid-column: auto;
  }
  .cook-card:nth-child(n + 4) .cook-media {
    aspect-ratio: 3 / 2;
  }
  .cook-card:last-child {
    grid-column: span 2;
  }
  .cook-card:last-child .cook-media {
    aspect-ratio: 16 / 8;
  }
}

@media (max-width: 720px) {
  .price-value {
    font-size: 38px;
  }
  .facts-grid,
  .why-grid,
  .spec-cards,
  .tiles-grid,
  .cook-grid,
  .variant-grid,
  .deal-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .cook-card:last-child {
    grid-column: auto;
  }
  .cook-card:last-child .cook-media {
    aspect-ratio: 3 / 2;
  }
  .variant-main {
    grid-column: auto;
    display: flex;
  }
  .variant-main .variant-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .deal-pay {
    grid-column: auto;
  }
  .tiles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .tile figcaption {
    font-size: 12px;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    gap: 10px;
  }
  .gallery-item.g-half {
    grid-column: auto;
  }
  .gallery-item span {
    font-size: 10px;
    left: 8px;
    bottom: 8px;
  }
  .compare-row {
    grid-template-columns: 1fr 1fr;
  }
  .compare-row > span:first-child {
    grid-column: span 2;
    padding-bottom: 4px;
    background: #f2efe6;
  }
  .compare-head > span:first-child {
    display: none;
  }
  .compare-row > span {
    padding: 12px 14px;
    font-size: 14px;
  }
  .spec-table > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .spec-drawing {
    padding-left: 40px;
  }
  .dim-h {
    left: -36px;
  }
  .dim {
    font-size: 11px;
  }
  .view-label {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .atmo {
    min-height: 520px;
    align-items: flex-end;
  }
  .atmo::before {
    background: linear-gradient(
      0deg,
      rgba(20, 20, 20, 0.92) 25%,
      rgba(20, 20, 20, 0.35) 75%
    );
  }
  .atmo-content {
    padding: 220px 0 64px;
  }
  .atmo-text {
    font-size: 16px;
  }
  .quiz-card {
    padding: 24px 18px;
  }
  .quiz-step legend {
    font-size: 23px;
  }
  .mod-item b {
    font-size: 16px;
  }
  .angle-switch button {
    padding: 5px 7px;
    font-size: 11px;
  }
  .stat-light .stat:last-child {
    grid-column: span 2;
  }
}
