/* =========================================================
   Flexispot Belarus — лендинг
   Дизайн: Figma «тест (Copy)» node 4015:2
   ========================================================= */

/* ---------- Токены ---------- */
:root {
  --bg-950: #050811;
  --bg-900: #070d18;
  --bg-800: #0b1320;
  --bg-750: #0f172a;
  --bg-700: #131d31;

  --line: #1e293b;
  --line-2: #334155;

  --text: #ffffff;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --muted-2: #64748b;

  --accent: #e07a5f;
  --accent-2: #b8543a;
  --cyan: #38bdf8;
  --green: #34d399;
  --purple: #c084fc;
  --amber: rgba(251, 191, 36, .9);

  /* Фон официальных фото Flexispot — блоки под фото красим в него же,
     чтобы не было видно стыка */
  --media-bg: #f5f5f5;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Montserrat", var(--font);
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Liberation Mono", Menlo, Consolas, monospace;

  --shadow-accent: 0 10px 15px -3px rgba(224, 122, 95, .2), 0 4px 6px -4px rgba(224, 122, 95, .2);
  --shadow-accent-lg: 0 20px 25px -5px rgba(224, 122, 95, .25), 0 8px 10px -6px rgba(224, 122, 95, .25);
  --shadow-card: 0 25px 50px -12px rgba(0, 0, 0, .25);

  --header-h: 80px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-800);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

::selection { background: rgba(224, 122, 95, .35); color: #fff; }

/* ---------- Раскладка ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { position: relative; }
.section--line { border-top: 1px solid var(--line); }

.honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
  opacity: 0; pointer-events: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Типографика-хелперы ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--cyan { color: var(--cyan); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 36px;
  color: #fff;
}

.section-lead {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 672px;
  margin: 0 auto;
  text-align: center;
}

.mono { font-family: var(--font-mono); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover { background: #d46d51; box-shadow: var(--shadow-accent-lg); }

.btn--ghost {
  border: 1px solid var(--line-2);
  color: #fff;
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(224, 122, 95, .08); }

.btn--sm { padding: 10px 20px; font-size: 14px; line-height: 20px; letter-spacing: .35px; }
.btn--md { padding: 12px 20px; font-size: 12px; line-height: 16px; letter-spacing: .3px; }
.btn--lg {
  padding: 16px 32px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .35px;
  box-shadow: var(--shadow-accent-lg);
}
.btn--lg.btn--ghost { box-shadow: none; padding: 16px 32px; }

.btn__icon { width: 11px; height: auto; flex: none; }
.btn__icon--chevron { width: 8px; }

/* =========================================================
   Шапка
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 19, 32, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.header.is-stuck {
  background: rgba(11, 19, 32, .96);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; flex: none; }

.logo__mark {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e07a5f 0%, #b8543a 100%);
  box-shadow: var(--shadow-accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 28px;
  color: #fff;
}
.logo__mark--sm {
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  font-weight: 700;
  font-size: 18px;
  box-shadow: none;
}

.logo__row { display: flex; align-items: center; gap: 6px; }

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -.6px;
  color: #fff;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  flex: none;
  background: var(--accent);
}
.dot--sm { width: 6px; height: 6px; }
.dot--green { background: var(--green); }
.dot--cyan { background: var(--cyan); }
.dot--purple { background: var(--purple); }

.dot--pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.85); }
}

.logo__sub {
  font-size: 10px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav__link {
  position: relative;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-2);
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: #fff; }

.header__side { display: flex; align-items: center; gap: 24px; flex: none; }

.header__phone { display: flex; flex-direction: column; align-items: flex-end; }
.header__hours {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; line-height: 16.5px; color: var(--muted);
}
.header__tel {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: #fff;
  transition: color .2s ease;
}
.header__tel:hover { color: var(--accent); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-700);
  position: relative;
  flex: none;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: rgba(7, 13, 24, .98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px 32px 48px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu__link {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-2);
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__foot { margin-top: 28px; display: grid; gap: 12px; }
.mobile-menu__tel {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: 80px 0 128px;
  background: linear-gradient(to bottom, #0b1320 0%, #070d18 50%, #070d18 100%);
}

.hero__blob {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.hero__blob--1 {
  width: 384px; height: 384px;
  left: 10%; top: 1.4%;
  background: rgba(224, 122, 95, .15);
  filter: blur(60px);
}
.hero__blob--2 {
  width: 500px; height: 500px;
  left: 36%; top: 33%;
  background: rgba(56, 189, 248, .1);
  filter: blur(70px);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.hero__content { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-700);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .05);
  font-size: 12px;
  line-height: 16px;
}
.badge__label { color: var(--cyan); font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.badge__meta { color: var(--muted); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 54px;
  line-height: 54px;
  letter-spacing: -1.35px;
  color: #fff;
}
.hero__title span {
  display: block;
  background: linear-gradient(to right, #ffffff 0%, #f1f5f9 50%, #e07a5f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  max-width: 672px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 8px; }

.hero__stats {
  width: 100%;
  margin-top: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 13px;
  border: 1px solid rgba(30, 41, 59, .6);
  border-radius: var(--radius);
  background: rgba(11, 19, 32, .6);
  transition: border-color .25s ease, transform .25s ease;
}
.stat:hover { border-color: rgba(224, 122, 95, .5); transform: translateY(-3px); }
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: #fff;
}
.stat__value--cyan { color: var(--cyan); }
.stat__value--accent { color: var(--accent); }
.stat__label { margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }

/* --- Слайдер --- */
.hero__media { display: flex; flex-direction: column; gap: 16px; }

.slider {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--media-bg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
  overflow: hidden;
  overflow: clip;
}

.slider__viewport { position: relative; height: 384px; }

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
}
.slide.is-active { opacity: 1; pointer-events: auto; }

.slide__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.slide__shade {
  position: absolute;
  inset: 0;
  /* На светлых каталожных фото затемнение снизу не нужно */
  background: none;
}

.slide__tags {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag {
  padding: 5px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(7, 13, 24, .8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.tag--frame {
  padding: 5px 11px;
  font-size: 10px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  backdrop-filter: none;
}
.tag--accent { color: #b8543a; background: #fff; border-color: rgba(224, 122, 95, .55); }
.tag--cyan   { color: #0369a1; background: #fff; border-color: rgba(56, 189, 248, .55); }
.tag--green  { color: #047857; background: #fff; border-color: rgba(52, 211, 153, .55); }

.slider__controls {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slider__arrows { display: flex; gap: 8px; }

.slider__arrow {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(7, 13, 24, .8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  transition: background-color .2s ease, border-color .2s ease;
}
.slider__arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider__arrow img { width: 5px; }

.slider__bullets {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(7, 13, 24, .7);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.slider__bullet {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--line-2);
  transition: width .3s ease, background-color .3s ease;
}
.slider__bullet.is-active { width: 24px; background: var(--accent); }

.hero__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-800);
  font-size: 12px;
  line-height: 16px;
}
.hero__note-left { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.hero__note-left img { width: 15px; flex: none; }
.hero__note-right { font-weight: 500; color: #fff; white-space: nowrap; }

/* =========================================================
   Модели
   ========================================================= */
.products { padding: 96px 0; background: var(--bg-800); }

.products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 64px;
}
.products__head-left { display: flex; flex-direction: column; gap: 8px; }
.products__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 40px;
  letter-spacing: -.9px;
  color: #fff;
}
.products__head-right { max-width: 448px; font-size: 14px; line-height: 20px; color: var(--muted); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-800);
  overflow: hidden;
  overflow: clip;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 122, 95, .5);
  box-shadow: 0 25px 45px -20px rgba(0, 0, 0, .9);
}

.card--featured {
  border: 2px solid var(--accent);
  padding-top: 24px;
  box-shadow: 0 25px 50px -20px rgba(224, 122, 95, .35);
}

.card__ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 4px 8px;
  background: var(--accent);
  text-align: center;
  font-size: 10px;
  line-height: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.card__media {
  position: relative;
  height: 256px;
  background: var(--media-bg);
  overflow: hidden;
  overflow: clip;
  flex: none;
}
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img { transform: scale(1.05); }

.card__badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
  font-size: 11px;
  line-height: 16.5px;
  font-weight: 700;
  letter-spacing: .55px;
  text-transform: uppercase;
  color: #fff;
}
.card__badge--neutral {
  padding: 5px 13px;
  background: var(--line);
  border: 1px solid var(--line-2);
  box-shadow: none;
}

.card__frame {
  position: absolute;
  top: 16px; right: 16px;
  padding: 3px 11px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: rgba(7, 13, 24, .8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 16px;
  color: var(--text-2);
}

.card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 24px;
}

.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #fff;
}
.card__status {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; line-height: 16px; font-weight: 600; color: var(--green);
  white-space: nowrap;
}

.card__desc { margin-top: 8px; font-size: 12px; line-height: 19.5px; color: var(--muted); }

.card__specs {
  margin-top: 8px;
  padding: 32px 0 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.card__spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  line-height: 16px;
}
.card__spec dt { color: var(--muted); }
.card__spec dd { margin: 0; text-align: right; color: #fff; font-weight: 500; }
.card__spec dd.mono { font-weight: 700; }
.card__spec dd.is-cyan { color: var(--cyan); }

.card__foot { padding-top: 24px; }
.card__price-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card__price-label { font-size: 11px; line-height: 16.5px; color: var(--muted); }
.card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 32px;
  color: #fff;
}
.card__price--accent { color: var(--accent); }
.card__warranty { font-size: 12px; line-height: 16px; color: var(--muted); }

.card__actions { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card__actions .btn { width: 100%; }

/* --- Кнопка «Смотреть видео» поверх фото --- */
.card__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(7, 13, 24, 0);
  transition: background-color .25s ease;
}
.card:hover .card__play { background: rgba(7, 13, 24, .28); }

.card__play-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(7, 13, 24, .82);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  transition: background-color .25s ease, transform .25s ease;
}
.card__play-icon::before {
  content: "";
  width: 0; height: 0;
  margin-left: 4px;
  border-left: 16px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.card__play:hover .card__play-icon,
.card__play:focus-visible .card__play-icon {
  background: var(--accent);
  transform: scale(1.08);
}

.card__play-label {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(7, 13, 24, .82);
  font-size: 11px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .4px;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.card:hover .card__play-label,
.card__play:focus-visible .card__play-label { opacity: 1; transform: none; }

/* --- Окно с видео --- */
/* Два класса — чтобы правило не перебивалось базовым .modal__dialog ниже */
.modal--video .modal__dialog { max-width: 900px; padding: 20px; }
.modal--video .modal__head { margin-bottom: 14px; padding-right: 52px; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  background: #000;
  overflow: hidden;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-note {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  line-height: 16px;
  color: var(--muted-2);
}

@media (max-width: 720px) {
  .modal--video .modal__dialog { padding: 16px; }
  .card__play-label { opacity: 1; transform: none; }
  .card__play { background: rgba(7, 13, 24, .18); }
}

/* =========================================================
   Сравнение
   ========================================================= */
.compare { padding: 80px 0; background: var(--bg-800); }
.compare__wrap { margin-top: 56px; }

.table-scroll {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(7, 13, 24, .7);
  box-shadow: var(--shadow-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare__table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  text-align: left;
}

.compare__table th,
.compare__table td {
  padding: 20px;
  vertical-align: middle;
  font-size: 14px;
  line-height: 20px;
}

.compare__table thead th {
  background: rgba(19, 29, 49, .8);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
}
.compare__table thead th:first-child {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
}
.compare__table thead th:not(:first-child) { font-size: 16px; line-height: 24px; font-weight: 700; color: #fff; }

.compare__table tbody tr + tr td { border-top: 1px solid var(--line); }

.compare__param { width: 22%; }
.compare__param > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-2); }
.compare__param img { width: 13px; height: auto; flex: none; }

.compare__table .is-hl { background: rgba(224, 122, 95, .05); border-left: 1px solid rgba(224, 122, 95, .2); border-right: 1px solid rgba(224, 122, 95, .2); }
.compare__table thead .is-hl { background: rgba(224, 122, 95, .1); border-left-color: rgba(224, 122, 95, .3); border-right-color: rgba(224, 122, 95, .3); color: var(--accent) !important; }

.compare__table td.mono { font-family: var(--font-mono); color: #fff; }
.compare__table td.is-strong { font-weight: 700; color: #fff; }
.compare__table td.is-muted { color: var(--muted); }
.compare__table td.is-cyan { color: var(--cyan); font-weight: 700; }
.compare__table td.is-green { color: var(--green); font-weight: 500; }
.compare__table td.is-accent { color: var(--accent); font-weight: 700; }

.table-hint {
  display: none;
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted-2);
}

/* =========================================================
   Калькулятор
   ========================================================= */
.calc { padding: 64px 0; background: var(--bg-900); }

.calc__card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(to right, #0b1320 0%, #131d31 50%, #0b1320 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.calc__title {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  color: #fff;
}
.calc__text { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted); }

.calc__fields { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }

.field { display: grid; gap: 8px; }
.field__label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }

.input,
.select,
.textarea {
  width: 100%;
  padding: 11px 17px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background-color: var(--bg-900);
  color: #fff;
  font-size: 14px;
  line-height: 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 122, 95, .15);
}

.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("../assets/icons/select-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px 18px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.select option { background: var(--bg-800); color: #fff; }

.input--unit { padding-right: 42px; font-family: var(--font-mono); }
.field--unit { position: relative; }
.field__unit {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  pointer-events: none;
}

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

.result {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(7, 13, 24, .8);
  text-align: center;
}
.result--accent { border-color: rgba(224, 122, 95, .4); }
.result__caption { font-size: 12px; line-height: 16px; color: var(--muted); }
.result__value {
  margin: 4px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.result--accent .result__value { color: var(--accent); }

.calc__hint { margin-top: 16px; font-size: 12px; line-height: 18px; color: var(--muted-2); grid-column: 1 / -1; }

/* =========================================================
   Форма заявки
   ========================================================= */
.lead { padding: 80px 0; background: var(--bg-800); }

.lead__card {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-900);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  overflow: clip;   /* clip не даёт браузеру прокручивать карточку из-за свечения */
}
.lead__glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 288px; height: 288px;
  border-radius: 999px;
  background: rgba(224, 122, 95, .1);
  filter: blur(50px);
  pointer-events: none;
}

.lead__head { position: relative; margin-bottom: 40px; }

.form { position: relative; display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form .field__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text-2);
}

.form .input,
.form .select,
.form .textarea { background-color: var(--bg-750); padding: 13px 17px; }

.form .textarea { min-height: 96px; resize: vertical; }

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, .12); }
.field__error {
  display: none;
  font-size: 11px;
  line-height: 16px;
  color: #f87171;
}
.field.has-error .field__error { display: block; }

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  flex-wrap: wrap;
}
.form__direct { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__direct-label { font-size: 12px; line-height: 16px; color: var(--muted); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-700);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #fff;
  transition: border-color .2s ease, transform .15s ease;
}
.chip:hover { border-color: var(--accent); transform: translateY(-1px); }

.form__submit { padding: 14px 36px; }
.form__submit[disabled] { opacity: .6; cursor: not-allowed; }

.form__legal { text-align: center; font-size: 11px; line-height: 16.5px; color: var(--muted-2); }
.form__legal a { color: var(--muted); text-decoration: underline; }

.form__status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 20px;
}
.form__status.is-visible { display: block; }
.form__status.is-ok { background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .4); color: #6ee7b7; }
.form__status.is-err { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .4); color: #fca5a5; }

.spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin .7s linear infinite;
  display: none;
}
.is-sending .spinner { display: block; }
.is-sending .btn__icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Контакты
   ========================================================= */
.contacts { padding: 80px 0; background: var(--bg-900); }

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts__col { display: flex; flex-direction: column; gap: 24px; }
.contacts__intro { display: flex; flex-direction: column; gap: 6px; }
.contacts__text { font-size: 14px; line-height: 22.75px; color: var(--muted); }

.contacts__list { display: grid; gap: 16px; }

.info {
  display: flex;
  gap: 16px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-800);
  transition: border-color .25s ease;
}
.info:hover { border-color: var(--line-2); }

.info__icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-700);
}
.info__icon img { width: 18px; height: auto; }

.info__body { display: grid; gap: 2px; min-width: 0; }
.info__label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
}
.info__value { font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; }
.info__note { font-size: 12px; line-height: 16px; color: var(--muted); }
.info__warn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--amber);
}
.info__warn img { width: 10px; height: 10px; flex: none; }

.info__phones {
  margin-top: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.info__phones a { font-size: 14px; line-height: 20px; font-weight: 600; color: #fff; transition: color .2s ease; }
.info__phones a:hover { color: var(--accent); }
.info__phones a.mono { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--cyan); word-break: break-all; }

.legal {
  display: grid;
  gap: 4px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(11, 19, 32, .6);
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.legal strong { color: #fff; font-weight: 600; }

/* --- Карта --- */
.mapcard {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-800);
  box-shadow: var(--shadow-card);
}

.mapcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.mapcard__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #fff;
}
.mapcard__title img { width: 18px; height: auto; }
.mapcard__city { font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--cyan); }

.mapcard__body {
  position: relative;
  min-height: 288px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-md);
  background: var(--bg-900);
  overflow: hidden;
  overflow: clip;
  text-align: center;
}
.mapcard__glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 760px; height: 405px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(56, 189, 248, .2), rgba(56, 189, 248, 0) 100%);
  pointer-events: none;
}
.mapcard__pin {
  position: relative;
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(224, 122, 95, .2);
}
.mapcard__pin img { width: 20px; height: auto; }
.mapcard__name {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
}
.mapcard__addr {
  position: relative;
  max-width: 320px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.mapcard__links { position: relative; margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.maplink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: var(--bg-700);
  font-size: 12px;
  line-height: 16px;
  color: #fff;
  transition: border-color .2s ease, background-color .2s ease;
}
.maplink img { width: 9px; height: 9px; }
.maplink:hover { border-color: var(--accent); }
.maplink--accent { background: var(--accent); border-color: var(--accent); font-weight: 500; }
.maplink--accent:hover { background: #d46d51; }

.mapcard__foot { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.minicard {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-900);
}
.minicard b { display: block; font-size: 12px; line-height: 16px; font-weight: 500; color: #fff; }
.minicard span { font-size: 12px; line-height: 16px; color: var(--muted); }

/* =========================================================
   Подвал
   ========================================================= */
.footer { padding: 48px 0; background: var(--bg-950); border-top: 1px solid var(--line); }

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -.5px;
  color: #fff;
}
.footer__tagline { font-size: 12px; line-height: 16px; color: var(--muted-2); }

.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { font-size: 12px; line-height: 16px; color: var(--muted); transition: color .2s ease; }
.footer__nav a:hover { color: var(--accent); }

.footer__tel { font-size: 12px; line-height: 16px; font-weight: 600; color: #fff; }
.footer__tel:hover { color: var(--accent); }

.footer__bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted-2);
}

/* =========================================================
   Модальное окно «Купить в 1 клик»
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 8, 17, .75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }

.modal__dialog {
  width: 100%;
  max-width: 440px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-800);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9);
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal.is-open .modal__dialog { transform: none; }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-700);
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
}
.modal__close:hover { color: #fff; border-color: var(--accent); }

.modal__head { position: relative; margin-bottom: 20px; padding-right: 44px; }
.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: #fff;
}
.modal__sub { margin-top: 6px; font-size: 13px; line-height: 19px; color: var(--muted); }
.modal__sub b { color: var(--accent); }

.modal .form { gap: 16px; }
.modal .form__submit { width: 100%; }

/* =========================================================
   Появление при скролле
   ========================================================= */
/* Прячем только при работающем JS — иначе контент останется невидимым */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* Кнопка «наверх» */
.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 50;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(11, 19, 32, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, border-color .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top.is-hidden { opacity: 0; visibility: hidden; transform: translateY(10px); }
.to-top:hover { border-color: var(--accent); }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header__side { gap: 16px; }
  .hero__title { font-size: 46px; line-height: 48px; }
  .products__title { font-size: 32px; line-height: 38px; }
}

@media (max-width: 1024px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .header__cta { display: none; }

  .hero { padding: 56px 0 88px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__text { font-size: 16px; line-height: 26px; }
  .hero__blob--1 { left: -5%; }
  .hero__blob--2 { left: 30%; }

  .products { padding: 72px 0; }
  .products__head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .products__head-right { max-width: none; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .card--featured { grid-column: span 2; }

  .calc__card { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .contacts__grid { grid-template-columns: 1fr; gap: 32px; }
  .lead__card { padding: 32px; }
  .table-hint { display: block; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }

  .hero { padding: 40px 0 64px; }
  .hero__title { font-size: 34px; line-height: 38px; letter-spacing: -.8px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat__value { font-size: 24px; line-height: 30px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .slider__viewport { height: 260px; }
  .hero__note { flex-direction: column; align-items: flex-start; gap: 8px; }
  .badge { flex-wrap: wrap; gap: 6px; }

  .products { padding: 56px 0; }
  .products__title { font-size: 26px; line-height: 32px; }
  .products__grid { grid-template-columns: 1fr; }
  .card--featured { grid-column: auto; }

  .section-title { font-size: 24px; line-height: 30px; }
  .compare { padding: 56px 0; }
  .compare__wrap { margin-top: 32px; }

  .calc { padding: 48px 0; }
  .calc__card { padding: 24px; }
  .calc__title { font-size: 24px; line-height: 30px; }
  .calc__fields { grid-template-columns: 1fr; }
  .calc__results { grid-template-columns: 1fr; }
  .result__value { font-size: 32px; line-height: 36px; }

  .lead { padding: 56px 0; }
  .lead__card { padding: 24px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 16px; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__submit { width: 100%; }
  .form__direct { justify-content: flex-start; }

  .contacts { padding: 56px 0; }
  .info__phones { grid-template-columns: 1fr; }
  .mapcard { padding: 18px; }
  .mapcard__head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mapcard__foot { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .modal__dialog { padding: 24px 20px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .hero__title { font-size: 29px; line-height: 34px; }
  .card__actions { grid-template-columns: 1fr; }
  .logo__name { font-size: 20px; }
}
