/* ============================================================
   ProAnvil — спортивные кресла ковши
   Тёмная гоночная тема
   ============================================================ */

:root {
  --bg: #0b0c0f;
  --bg-2: #0f1116;
  --card: #14171d;
  --card-2: #191d25;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e8eaee;
  --muted: #9aa1ad;
  --accent: #ff8718;
  --accent-2: #ffa04d;
  --accent-dark: #e06f00;
  --radius: 14px;
  --font-head: 'Russo One', 'Arial Black', sans-serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
fieldset { border: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 900px; }

.accent { color: var(--accent-2); }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55); }

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

.logo img { height: 30px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 13px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav-link.active,
.nav-link--model.active { color: #fff; background: rgba(255, 135, 24, 0.18); }

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

.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.header-phone i { color: var(--accent-2); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.burger span { width: 24px; height: 2px; background: #fff; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 135, 24, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 135, 24, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover { border-color: var(--accent-2); color: #fff; background: rgba(255, 135, 24, 0.1); }

.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* ---------- Кикер и заголовки секций ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.kicker-line { width: 42px; height: 3px; background: var(--accent); }

.section { padding: 96px 0; position: relative; }
.section--dark {
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(255, 135, 24, 0.08), transparent 70%),
    linear-gradient(rgba(15, 17, 22, 0.92), rgba(15, 17, 22, 0.95)),
    url('/img/fon2.svg') center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 720px; margin-bottom: 52px; }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.section-title--sm { font-size: clamp(22px, 3vw, 30px); }

.section-sub { color: var(--muted); margin-top: 16px; font-size: 16.5px; }

/* ---------- HERO ---------- */

.hero { position: relative; padding: 90px 0 70px; overflow: hidden; }

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 78% 40%, rgba(255, 135, 24, 0.16), transparent 65%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(255, 255, 255, 0.025) 46px 48px),
    radial-gradient(ellipse 90% 70% at 20% 110%, rgba(255, 59, 48, 0.05), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-lead { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 8px 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stats li { display: flex; flex-direction: column; }

.hero-stats b {
  font-family: var(--font-head);
  font-size: 26px;
  color: #fff;
  line-height: 1.2;
}

.hero-stats span { font-size: 12.5px; color: var(--muted); }

.hero-media { display: flex; justify-content: center; }

.hero-slider {
  position: relative;
  width: min(480px, 100%);
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 135, 24, 0.22), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 14px, transparent 14px 34px),
    var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }

.hero-slide img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  border-radius: 16px;
  user-select: none;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(11, 12, 15, 0.55));
  pointer-events: none;
}

.hero-slide-name {
  position: absolute;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 14px;
  background: rgba(11, 12, 15, 0.72);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(11, 12, 15, 0.72);
  color: #fff;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.hero-slider-nav:hover { background: var(--accent); border-color: var(--accent); }

.hero-prev { left: 14px; }
.hero-next { right: 14px; }

.hero-dots {
  position: absolute;
  bottom: 18px;
  right: 20px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.is-active { background: var(--accent); transform: scale(1.25); }

.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  padding: 12px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  transform: rotate(4deg);
  box-shadow: 0 10px 26px rgba(255, 135, 24, 0.45);
}

/* ---------- Бегущая строка ---------- */

.marquee {
  overflow: hidden;
  background: var(--accent);
  padding: 13px 0;
  transform: rotate(-0.6deg) scale(1.01);
  margin: 10px -8px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  display: flex;
  align-items: center;
  gap: 44px;
  font-family: var(--font-head);
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.marquee-track i { font-size: 6px; opacity: 0.7; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Карточки моделей ---------- */

.models-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.models-grid--sm { grid-template-columns: repeat(3, 1fr); }

.model-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 135, 24, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
}

.model-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 135, 24, 0.13), transparent 60%),
    var(--card-2);
  overflow: hidden;
}

.model-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 26px;
  transition: transform 0.45s;
}

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

.model-card-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 7px;
}

.badge-red { background: var(--accent); color: #fff; }
.badge-sale { background: #fff; color: #111; }
.badge-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: rgba(11, 12, 15, 0.55);
  font-weight: 600;
}

.model-card-body { padding: 24px 26px 26px; }

.model-card-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.model-card-title a:hover { color: var(--accent-2); }

.model-card-tagline { color: var(--muted); font-size: 14px; min-height: 44px; margin-bottom: 14px; }

.model-card-specs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.model-card-specs i { color: var(--accent-2); width: 18px; }

.model-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.model-card-price { display: flex; flex-direction: column; gap: 2px; }
.model-card-price s { color: var(--muted); font-size: 13px; }
.model-card-price b { font-family: var(--font-head); font-size: 22px; font-weight: 400; }

.model-card-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Преимущества ---------- */

.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 40px; }

.adv-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.adv-card:hover { transform: translateY(-5px); border-color: rgba(255, 135, 24, 0.5); }

.adv-num {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-head);
  font-size: 44px;
  color: rgba(255, 255, 255, 0.07);
}

.adv-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  margin-bottom: 18px;
}

.adv-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.adv-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- Индивидуальное изготовление ---------- */

.custom-cta-box {
  position: relative;
  padding: 64px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 90% at 50% 120%, rgba(255, 135, 24, 0.2), transparent),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

.custom-cta-stripes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(115deg, var(--accent) 0 26px, transparent 26px 52px);
}

.custom-cta-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.custom-cta-box > p { color: var(--muted); max-width: 640px; margin: 0 auto 30px; }

.custom-cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- SEO-текст ---------- */

.seo-text p { color: var(--muted); margin-top: 18px; font-size: 15.5px; }
.seo-text strong { color: var(--text); }

/* ---------- Контакты ---------- */

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

.contact-card {
  display: block;
  padding: 34px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}

.contact-card:hover { transform: translateY(-5px); border-color: rgba(255, 135, 24, 0.5); }

.contact-card > i {
  font-size: 22px;
  color: #fff;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 13px;
  margin-bottom: 20px;
}

.contact-card h3,
.contact-card-title { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 8px; font-weight: 700; }

/* ---------- Страница контактов ---------- */

.contacts-map-wrap {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contacts-map { display: block; width: 100%; }

/* ---------- О нас: блок на главной ---------- */

.about-block-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-block-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-block-media img { width: 100%; height: auto; display: block; }

.about-block-badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.about-block-video {
  display: block;
  width: 100%;
  aspect-ratio: 581 / 340;
  border: 0;
  background: #000;
}

.about-video-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-block-body .section-title { margin-bottom: 18px; }
.about-block-body p { color: var(--muted); margin-bottom: 14px; }

/* ---------- О нас: страница ---------- */

.about-lead { max-width: 760px; margin-bottom: 44px; }
.about-lead p { font-size: 17px; color: var(--muted); }

.about-hero--bg {
  position: relative;
  padding: 140px 0 110px;
  overflow: hidden;
}

.about-hero--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(11, 12, 15, 0.94) 0%, rgba(11, 12, 15, 0.85) 45%, rgba(11, 12, 15, 0.5) 100%),
    url('/img/about/kreslo.webp') center / cover no-repeat;
}

.about-hero--bg > .container { position: relative; z-index: 1; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.about-stats li { display: flex; flex-direction: column; gap: 4px; }

.about-stats b {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

.about-stats span { font-size: 13px; color: var(--muted); }

.about-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
}

.about-chapter + .about-chapter { border-top: 1px solid var(--line); }

.about-chapter--flip .about-chapter-media { order: 2; }
.about-chapter--flip .about-chapter-body { order: 1; }

.about-chapter-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-chapter-media img { width: 100%; height: auto; display: block; }

.about-chapter-body { position: relative; }

.about-chapter-num {
  font-family: var(--font-head);
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 135, 24, 0.28);
  display: block;
  margin-bottom: 8px;
}

.about-chapter-body p { color: var(--muted); margin-bottom: 14px; }

@media (max-width: 960px) {
  .about-block-grid,
  .about-chapter { grid-template-columns: 1fr; gap: 28px; }
  .about-chapter--flip .about-chapter-media { order: 0; }
  .about-chapter--flip .about-chapter-body { order: 0; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr; }
}
.contact-card p { font-family: var(--font-head); font-size: 17px; margin-bottom: 16px; word-break: break-word; }

.contact-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Хлебные крошки ---------- */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 26px;
  padding-bottom: 4px;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumbs a:hover { color: #fff; }
.breadcrumbs i { font-size: 9px; }

/* ---------- Карточка товара ---------- */

.product-hero { padding-top: 36px; }

.product-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.product-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-title-sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

.product-tagline { color: var(--muted); font-size: 16.5px; margin-bottom: 20px; }

.product-badges { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }

.product-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; font-size: 14.5px; }
.product-features i { color: var(--accent-2); margin-right: 10px; }

.product-price { margin-bottom: 26px; }

.price-old { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.price-old s { color: var(--muted); font-size: 17px; }

.price-current { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 42px); color: #fff; }

.product-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }

.product-note { color: var(--muted); font-size: 13px; }
.product-note i { color: var(--accent-2); margin-right: 8px; }

/* ---------- 360-секция ---------- */

.v360-wrap { max-width: 720px; margin: 0 auto; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Конфигуратор ---------- */

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

/* ---------- Галерея ---------- */

.gallery-main {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 55%, rgba(255, 135, 24, 0.1), transparent 60%), var(--card-2);
}

.gallery-main img { width: 100%; height: 100%; object-fit: contain; }

.gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: rgba(11, 12, 15, 0.75);
  color: #fff;
  font-size: 16px;
  transition: background 0.2s;
}

.gallery-zoom:hover { background: var(--accent); }

.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 14px; }

.gallery-thumb {
  aspect-ratio: 1;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--card-2);
  transition: border-color 0.2s;
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: rgba(255, 135, 24, 0.45); }
.gallery-thumb.is-active { border-color: var(--accent); }

/* ---------- 360 ---------- */

.v360-stage {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 55%, rgba(255, 135, 24, 0.1), transparent 60%), var(--card-2);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.v360-stage.dragging { cursor: grabbing; }

.v360-img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }

.v360-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--card-2);
  font-family: var(--font-head);
  font-size: 15px;
  z-index: 3;
  transition: opacity 0.4s;
}

.v360-loader.hide { opacity: 0; pointer-events: none; }
.v360-loader i { font-size: 26px; color: var(--accent-2); }

.v360-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-head);
  font-size: 13px;
  padding: 7px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}

.v360-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(11, 12, 15, 0.78);
  border: 1px solid var(--line);
  border-radius: 99px;
  white-space: nowrap;
  transition: opacity 0.4s;
  pointer-events: none;
}

.v360-hint.hide { opacity: 0; }
.v360-hint i { color: var(--accent-2); }

.v360-controls { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }

.v360-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: #fff;
  font-size: 15px;
  transition: background 0.2s, border-color 0.2s;
}

.v360-btn:hover { border-color: var(--accent); background: rgba(255, 135, 24, 0.15); }

/* ---------- Конфигуратор ---------- */

.configurator { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.cfg-view { display: flex; align-items: flex-start; }

.cfg-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 55%, rgba(255, 135, 24, 0.12), transparent 62%), var(--card-2);
}

.cfg-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }

.cfg-controls { display: flex; flex-direction: column; gap: 12px; }

.cfg-acc {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.cfg-acc[open] { border-color: rgba(255, 135, 24, 0.45); }

.cfg-acc summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  font-size: 14px;
}

.cfg-acc summary::-webkit-details-marker { display: none; }

.cfg-acc-label {
  font-weight: 800;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  flex: 1;
}

.cfg-acc-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.cfg-acc-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.cfg-acc-value .fa-ruler-horizontal { color: var(--accent-2); font-size: 12px; }

.cfg-acc-chevron {
  color: var(--muted);
  font-size: 12px;
  transition: transform 0.3s;
}

.cfg-acc[open] .cfg-acc-chevron { transform: rotate(180deg); color: var(--accent-2); }

.cfg-acc-body { padding: 4px 18px 18px; }

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

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

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.swatch:hover { transform: scale(1.12); }

.swatch-input:checked + .swatch {
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent);
  transform: scale(1.06);
}

.swatch-input:focus-visible + .swatch { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px #fff; }

.sizes { display: flex; flex-wrap: wrap; gap: 9px; }

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

.size-btn {
  min-width: 52px;
  padding: 10px 14px;
  text-align: center;
  font-weight: 800;
  font-size: 13.5px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card-2);
  cursor: pointer;
  transition: all 0.2s;
}

.size-btn:hover { border-color: rgba(255, 135, 24, 0.5); }

.size-input:checked + .size-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 135, 24, 0.4);
}

.cfg-extra {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  background: linear-gradient(90deg, rgba(255, 135, 24, 0.12), transparent);
  border: 1px dashed rgba(255, 135, 24, 0.45);
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
}

.cfg-extra input { position: absolute; opacity: 0; }

.cfg-extra-box {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: transparent;
  font-size: 11px;
  transition: all 0.2s;
}

.cfg-extra input:checked ~ .cfg-extra-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cfg-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 4px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

.cfg-total b { font-family: var(--font-head); font-size: 30px; font-weight: 400; color: #fff; }

.cfg-note { font-size: 12.5px; color: var(--muted); }
.cfg-note i { color: var(--accent-2); margin-right: 7px; }

/* ---------- Описание модели ---------- */

.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }

.about-text { color: var(--muted); margin: 18px 0 24px; font-size: 15.5px; }

.check-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.check-list i { color: #4cc46a; margin-right: 12px; }
.check-list--accent i { color: var(--accent-2); }

.spec-table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.spec-table h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.spec-table h3 i { color: var(--accent-2); }

.spec-table table { width: 100%; border-collapse: collapse; font-size: 14px; }

.spec-table td { padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--muted); padding-right: 18px; width: 42%; }

/* ---------- Кастомизация ---------- */

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

.custom-card {
  padding: 30px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s;
}

.custom-card:hover { transform: translateY(-5px); border-color: rgba(255, 135, 24, 0.5); }

.custom-card > i {
  font-size: 20px;
  color: #fff;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  margin-bottom: 18px;
}

.custom-card h3 { font-size: 16px; margin-bottom: 14px; }

.custom-card ul { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; color: var(--muted); }
.custom-card li::before { content: '—'; color: var(--accent-2); margin-right: 10px; }

/* ---------- Для кого / почему ---------- */

.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-cols .section-title { margin-bottom: 22px; }

/* ---------- Цитата ---------- */

.quote-cta .container { display: flex; flex-direction: column; gap: 40px; }

blockquote {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

blockquote::before,
blockquote::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 22px auto;
}

/* ---------- Модальное окно ---------- */

.modal { position: fixed; inset: 0; z-index: 300; display: none; }
.modal.open { display: block; }

.modal-overlay { position: absolute; inset: 0; background: rgba(5, 6, 8, 0.8); backdrop-filter: blur(4px); }

.modal-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100vw - 40px));
  max-height: 86vh;
  overflow: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 34px 28px;
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: var(--card-2);
  color: #fff;
  font-size: 15px;
}

.modal-close:hover { background: var(--accent); }

.modal-title { font-family: var(--font-head); font-size: 22px; font-weight: 400; text-transform: uppercase; margin-bottom: 20px; }

.modal-summary { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }

.modal-summary li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}

.modal-summary li:last-child { border-bottom: none; }
.modal-summary span:first-child { color: var(--muted); }

.modal-summary .swatch-mini {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-right: 8px;
  vertical-align: -2px;
}

.modal-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
}

.modal-total b { font-family: var(--font-head); font-size: 28px; font-weight: 400; color: #fff; }

.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; }

.modal-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Форма заказа ---------- */

.order-form { margin-top: 20px; }

.order-fields { display: flex; flex-direction: column; gap: 13px; margin-bottom: 18px; }

.order-field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.order-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s;
}

.order-field input::placeholder { color: var(--muted); opacity: 0.7; }
.order-field input:focus { outline: none; border-color: var(--accent); }

.order-form-error { color: #ff6b6b; font-size: 13px; margin-top: 12px; }
.order-form-success { color: #4cc46a; font-size: 13.5px; margin-top: 12px; text-align: center; }

.order-fields--row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.order-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.order-social-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  border: 1px solid var(--line);
  background: var(--card-2);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.order-social-item:hover { transform: scale(1.1); border-color: var(--accent); background: var(--card); }
.order-social-wa i { color: #25d366; }
.order-social-tg i { color: #29a9eb; }
.order-social-phone i { color: var(--accent-2); }

@media (max-width: 480px) {
  .order-fields--row { grid-template-columns: 1fr; }
}

/* ---------- Лайтбокс ---------- */

.lightbox { position: fixed; inset: 0; z-index: 400; display: none; }
.lightbox.open { display: block; }

.lightbox-overlay { position: absolute; inset: 0; background: rgba(5, 6, 8, 0.92); }

.lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 100px);
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 17px;
}

.lightbox-close:hover { background: var(--accent); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 17px;
}

.lightbox-nav:hover { background: var(--accent); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: 120px 0; }

.nf-code {
  font-family: var(--font-head);
  font-size: clamp(90px, 16vw, 170px);
  line-height: 1;
  margin-bottom: 10px;
}

.notfound p { color: var(--muted); margin: 14px 0 34px; }
.notfound .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Подвал ---------- */

.site-footer {
  background:
    radial-gradient(ellipse 50% 60% at 15% 0%, rgba(255, 135, 24, 0.08), transparent),
    linear-gradient(rgba(8, 9, 11, 0.95), rgba(8, 9, 11, 0.97)),
    url('/img/fon2.svg') center / cover no-repeat;
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr; gap: 40px; padding-bottom: 44px; }

.footer-brand .logo { display: inline-block; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; max-width: 340px; }

.footer-title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer-links a { color: var(--text); opacity: 0.85; transition: color 0.2s, opacity 0.2s; }
.footer-links a:hover { color: var(--accent-2); opacity: 1; }

.footer-contacts { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-contacts li { display: flex; gap: 12px; align-items: baseline; }
.footer-contacts i { color: var(--accent-2); width: 16px; }
.footer-contacts a:hover { color: var(--accent-2); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom i { color: var(--accent-2); margin-left: 6px; }

/* ---------- Кнопка «Наверх» ---------- */

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card-2);
  color: #fff;
  font-size: 15px;
  z-index: 220;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s, border-color 0.2s;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Виджет связи ---------- */

.contact-fab {
  position: fixed;
  right: 20px;
  bottom: 78px;
  z-index: 220;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.contact-fab-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 18px;
  box-shadow: 0 10px 26px rgba(255, 135, 24, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-fab-toggle:hover { transform: scale(1.08); }
.contact-fab-toggle.open i { transform: rotate(135deg); transition: transform 0.25s; }

.contact-fab-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.contact-fab-menu.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.contact-fab-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 99px;
  background: var(--card-2);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}

.contact-fab-item:hover { border-color: var(--accent); background: var(--card); }
.contact-fab-item i { width: 16px; text-align: center; font-size: 16px; }
.contact-fab-wa i { color: #25d366; }
.contact-fab-tg i { color: #29a9eb; }
.contact-fab-phone i { color: var(--accent-2); }

.footer-contacts .fa-whatsapp { color: #25d366; }
.footer-contacts .fa-telegram { color: #29a9eb; }

/* ---------- Анимации появления ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { order: -1; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 18px 40px; }

  .models-grid,
  .product-hero-grid,
  .configurator,
  .about-grid,
  .two-cols { grid-template-columns: 1fr; }

  .custom-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .models-grid--sm { grid-template-columns: repeat(2, 1fr); }

  .burger { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 20px;
    background: rgba(11, 12, 15, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .main-nav.open { display: flex; }
  .nav-link { padding: 13px 10px; font-size: 15px; }

  .header-phone span { display: none; }
}

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

  .hero { padding: 56px 0 48px; }
  .hero-actions .btn { width: 100%; }
  .product-actions .btn { width: 100%; }

  .models-grid,
  .models-grid--sm { grid-template-columns: 1fr; }

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

  .custom-cta-box { padding: 46px 22px; }
  .custom-cta-actions .btn { width: 100%; }
  .cfg-controls { padding: 0; }

  .cfg-acc summary { padding: 13px 14px; }
  .cfg-acc-body { padding: 2px 14px 14px; }
  .modal-actions { flex-direction: column; }

  .lightbox img { max-width: calc(100vw - 60px); }
  .lightbox-nav { width: 44px; height: 44px; }
}
