/* =====================================================
   FAIDET — style.css
   Цвета: акцент #CC0000, фон #FFFFFF, вторичный #F4F4F4
   Шрифты: Montserrat (заголовки), Inter (текст)
   ===================================================== */

/* ─── ПЕРЕМЕННЫЕ ─────────────────────────────────── */
:root {
  --red:        #CC0000;
  --red-dark:   #AA0000;
  --black:      #111111;
  --gray:       #222;
  --gray-light: #F4F4F4;
  --border:     #E0E0E0;
  --white:      #FFFFFF;

  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Manrope', sans-serif;

  --header-h-top: 36px;
  --header-h-nav: 64px;
  --header-h:     calc(var(--header-h-top) + var(--header-h-nav));

  --section-pad: 80px;
}

/* ─── СБРОС И БАЗА ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: block; }

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px)  { .container { padding: 0 24px; } }
@media (min-width: 1240px) { .container { padding: 0 40px; } }
@media (min-width: 1440px) { .container { padding: 0 80px; } }
@media (min-width: 1920px) { .container { max-width: 1800px; padding: 0 100px; } }

.section-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: 0.06em;
}

/* ─── КНОПКИ ─────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn--lg {
  font-size: 13px;
  padding: 16px 56px;
}

.btn--red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
}

.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ─── HEADER ─────────────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

/* Прозрачный над Hero */
#header.header--transparent .topbar { background: rgba(0,0,0,0.4); }
#header.header--transparent .main-nav { background: transparent; }
/*#header.header--transparent .main-nav__inner { border-bottom: 1px solid rgba(255,255,255,0.15); }*/
#header.header--transparent .nav-menu a { color: var(--white); }

/* Скрыть шапку при скролле вниз */
#header {
  transform: translateY(0);
  transition: background 0.3s, box-shadow 0.3s, transform 0.35s ease;
}
#header.header--hidden { transform: translateY(-100%); }

/* Белый при скролле */
#header.header--solid .topbar { background: #222; }
#header.header--solid .main-nav { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
#header.header--solid .nav-menu a { color: var(--black); }
#header.header--solid .logo__img--light { display: none; }
#header.header--solid .logo__img--dark { display: block; }

/* Топ-бар */
.topbar {
  height: var(--header-h-top);
  transition: background 0.3s;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topbar__phone,
.topbar__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.topbar__phone:hover,
.topbar__links a:hover { color: var(--white); }
.topbar__links { display: flex; gap: 20px; }

/* Основная навигация */
.main-nav { transition: background 0.3s, box-shadow 0.3s; }
.main-nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h-nav);
  transition: border-color 0.3s;
}

.logo__img { height: 32px; width: auto; display: block; }
.logo__img--dark { display: none; }

.nav-menu {
  display: flex;
  gap: 24px;
  margin-left: auto;
}
.nav-menu a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--red); }

.nav-cta { margin-left: 16px; font-size: 12px; padding: 10px 20px; }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 20px 24px 28px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu li a {
  display: block;
  padding: 10px 0;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid var(--border);
}
.mobile-menu li:last-child, .mobile-menu li:nth-last-child(2) { margin-top: 16px; }
.mobile-menu li:nth-last-child(3) a { border: none;}
.mobile-menu li:nth-last-child(2) a { border: none; text-align: center; color: var(--white);}
.mobile-menu li:last-child a { border: none; padding-bottom: 0;}


/* ─── HERO ───────────────────────────────────────── */
.hero { height: 100vh; min-height: 600px; position: relative; background: #000; }

.hero-swiper { width: 100%; height: 100%; }

.hero-slide {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 75%, transparent 100%);
}

@media (max-width: 640px) {
	.hero-slide__overlay {
	  position: absolute;
	  inset: 0;
	  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%, transparent 100%);
	}
}

.hero-slide__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-slide__content {
  max-width: 900px;
  text-align: right;
  color: var(--white);
  animation: heroFadeIn 0.8s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-slide__label {
  display: block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.hero-slide__title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-slide__desc {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 32px;
}

/* Мобильное панорамирование */
@keyframes heroBgPan {
  from { background-position: 20% center; }
  to   { background-position: 80% center; }
}

/* Пагинация — тире */
.hero-swiper {
  --swiper-pagination-bottom: 32px;
}
.swiper-pagination-bullet {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.4);
  opacity: 1;
  transition: background 0.3s, width 0.3s;
}
.swiper-pagination-bullet-active {
  width: 20px;
  background: var(--red);
}

/* Кнопка паузы */
.hero-pause {
  position: absolute;
  bottom: 32px;
  left: 32px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.hero-pause:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.hero-pause svg { width: 14px; height: 14px; }

/* ─── HERO PANEL ─────────────────────────────────── */
.quick-links {
  position: relative;
  z-index: 2;
  background: #111;
}

.quick-links__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 64px;
}

.quick-links__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid #444;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  transition: background 0.2s;
}
/*.quick-links__item:first-child { border-left: 1px solid var(--border); }
.quick-links__item:first-child { border-left: 1px solid #666; }*/
.quick-links__item:last-child { border-right: none; }
.quick-links__item:nth-child(3) { border-right: none; }
.quick-links__item:hover { background: #333; }
.quick-links__item svg { width: 20px; height: 20px; }

.quick-links__item--accent {
  background: var(--red);
  color: var(--white);
}
.quick-links__item--accent:hover { background: var(--red-dark); }

/* ─── PANEL LAYOUT (shared 4-col) ──────────────── */
.panel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.panel-editorial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 1239.99px) {
  .panel-editorial-center {
    justify-content: center;
    gap:20px;
  }
}
.section-desc { font-size: 15px; color: var(--gray); margin-top: 8px; }
.panel-link-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.2s;
}
.panel-link-all:hover { gap: 10px; }
.panel-link-all svg { transition: transform 0.25s ease; }
.panel-link-all:hover svg { transform: translateX(4px); }

/* ─── CATEGORIES ─────────────────────────────────── */
.categories { padding: var(--section-pad) 0; }

.slider,
.slider,
.slider,
.slider { display: contents; }

.card--category {
  position: relative;
  height: 400px;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.card--category__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  will-change: transform;
}
.card--category:hover .card--category__bg { transform: scale(1.04); }


.card--category__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  transition: background 0.3s;
}
.card--category:hover .card--category__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.card--category__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.card--category__arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}
.card--category:hover .card--category__arrow { transform: translateX(7px); }

/* ─── PROMO MOSAIC ───────────────────────────────── */
.mosaic { 
  overflow: hidden; 
  padding: 0;
}

.mosaic__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 600px;
}

.panel--promo {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.panel--promo--large {
  grid-row: 1 / 3;
  background: #ddd;
  background-size: cover;
  background-position: center;
}
.panel--promo--red { background: var(--red); }

.panel--promo:not(.panel--promo--red)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  z-index: 0;
}
.panel--promo--lifestyle {
  background-size: cover;
  background-position: center;
}

.panel--promo__content {
  position: relative;
  z-index: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.panel--promo__title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.panel--promo__text {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

/* ─── FLAGSHIP ───────────────────────────────────── */
.flagship {
  position: relative;
  min-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 60px 100px 48px;
  background: var(--white);
}

.flagship__header { text-align: center; }

.flagship__subtitle {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 6px 14px;
  border-radius: 2px;
  transform: rotate(-6deg);
  margin-bottom: 20px;
}

.flagship__title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  transition: opacity 0.35s;
}
.flagship__title.is-fading { opacity: 0; }

/* Body — две колонки */
.flagship__body {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  max-width: 1500px;
  gap: 0;
}

/* Stage — левая колонка */
.flagship__stage {
  position: relative;
  flex: 0 0 58%;
  min-width: 0;
}


.flagship__viewport {
  flex: 1;
  min-width: 0;
  height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Градиент по краям при анимации */
.flagship__viewport::before,
.flagship__viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.flagship__viewport::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.flagship__viewport::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.flagship__photo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1),
              opacity  0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform, opacity;
  user-select: none;
  cursor: grab;
}
.flagship__photo:active { cursor: grabbing; }

/* Анимация барабана */
.flagship__photo.is-exit-next {
  transform: translateX(-70%) scale(0.65);
  opacity: 0;
}
.flagship__photo.is-exit-prev {
  transform: translateX(70%) scale(0.65);
  opacity: 0;
}
.flagship__photo.is-enter-next {
  transition: none;
  transform: translateX(70%) scale(0.65);
  opacity: 0;
}
.flagship__photo.is-enter-prev {
  transition: none;
  transform: translateX(-70%) scale(0.65);
  opacity: 0;
}

/* Nav arrows */
.flagship__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  /*border-radius: 50%;*/
  border: 1.5px solid var(--black);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  z-index: 2;
}
.flagship__nav--prev { left:  32px; }
.flagship__nav--next { right: 32px; }
.flagship__nav:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}
.flagship__nav svg { width: 22px; height: 22px; }

/* Content — правая колонка */
.flagship__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 30px 25px;
  transition: opacity 0.35s;
  background-color: var(--gray-light);
  border-radius: 4px;
}
.flagship__content.is-fading { opacity: 0; }

.flagship__specs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.flagship__spec {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  /*border: 2px solid #bbb;*/
  border-radius: 4px;
  background: #222;
}

.flagship__spec-value {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
}

.flagship__spec-label {
  font-size: 11px;
  color: var(--white);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.flagship__desc {
  font-size: 15px;
  color: var(#222);
  line-height: 1.6;
  max-width: 360px;
}

.flagship__footer {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
  width: 100%;
}

.flagship__cta-group {
  display: flex;
  gap: 10px;
  width: 50%;
}
.flagship__cta-group .btn {
  flex: 1;
  text-align: center;
}

.flagship__price {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

/* Color swatches */
.flagship__colors {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  min-height: 32px;
}

.flagship__color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  cursor: pointer;
  transition: outline-color 0.2s, transform 0.15s;
}

.flagship__color:hover {
  transform: scale(1.15);
}

.flagship__color.is-active {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.flagship__photo.is-color-fade {
  opacity: 0;
  transition: opacity 0.18s;
}

/* ≤ 1239px: переход в колонку (фото на всю ширину, контент снизу) */
@media (max-width: 1023px) {
  .flagship { gap: 10px; padding: 60px 40px 52px; }
  /* top = padding(60) + title(~55px) + gap(24) + полвьюпорта(27.5vh) */
  .flagship__nav { width: 40px; height: 40px; top: calc(139px + 27.5vh); }
  .flagship__nav--prev { left: 20px; }
  .flagship__nav--next { right: 20px; }
  .flagship__body { flex-direction: column; gap: 16px; }
  .flagship__stage { flex: none; width: 100%; }
  .flagship__viewport { height: 40vh; }
  .flagship__content {
    align-items: center;
    text-align: center;
    padding: 28px 40px;
    width: 100%;
  }
  .flagship__specs { justify-content: center; }
  .flagship__desc { max-width: 640px; }
  .flagship__footer { align-items: center; width: 100%; }
  .flagship__cta { text-align: center; display: block; }
  .flagship__color { width: 22px; height: 22px; }
}

/* ≤ 768px: планшет — уточнения поверх 1239px */
@media (max-width: 768px) {
  .flagship { gap: 0; padding: 40px 20px 36px; }
  /* top = padding(40) + title(~70px, 2 строки) + gap(20) + полвьюпорта(20vh) */
  .flagship__nav { width: 40px; height: 40px; top: calc(130px + 20vh); }
  .flagship__nav--prev { left: 8px; }
  .flagship__nav--next { right: 8px; }
  .flagship__nav svg { width: 16px; height: 16px; }
  .flagship__viewport { height: 40vh; }
  .flagship__content { padding: 16px 12px; gap: 14px; }
  .flagship__specs { gap: 8px; }
  .flagship__spec { padding: 4px 8px; }
  .flagship__spec-value { font-size: 14px; }
  .flagship__spec-label { font-size: 10px; }
  .flagship__desc { font-size: 14px; }
  .flagship__colors { margin-top: 12px; gap: 8px; }
  .flagship__color { width: 22px; height: 22px; }
  .flagship__price { font-size: 24px; }
  .flagship__footer { gap: 18px; }
}

/* ≤ 480px: мобильный */
@media (max-width: 480px) {
  .flagship { gap: 16px; min-height: auto; padding: 36px 16px 32px; }
  /* top = padding(36) + title(~70px) + gap(16) + полвьюпорта(15vh) */
  .flagship__nav { width: 40px; height: 40px; top: calc(122px + 15vh); }
  .flagship__nav--prev { left: 4px; }
  .flagship__nav--next { right: 4px; }
  .flagship__nav svg { width: 14px; height: 14px; }
  .flagship__viewport { height: 30vh; }
  .flagship__color { width: 20px; height: 20px; }
  .flagship__colors { gap: 8px; }
}

/* ─── ADVANTAGES ─────────────────────────────────── */
.advantages {
  overflow: hidden;
  position: relative;
  background-color: #0d0d0d;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(255,255,255,0.025) 18px,
    rgba(255,255,255,0.025) 19px
  );
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Тёмный fade по краям поверх текста */
.advantages::before,
.advantages::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10%;
  z-index: 2;
  pointer-events: none;
}
.advantages::before {
  left: 0;
  background: linear-gradient(to right, #0d0d0d, transparent);
}
.advantages::after {
  right: 0;
  background: linear-gradient(to left, #0d0d0d, transparent);
}

.advantages__track-wrap {
  display: flex;
  width: max-content; /* translateX(-50%) = ровно -1 трек, петля бесшовная */
  animation: advantages-scroll 32s linear infinite; /* скорость: менять здесь */
}

.advantages__track-wrap:hover {
  animation-play-state: paused;
}

.advantages__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 20px 0;
  flex-shrink: 0;
}

@keyframes advantages-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.advantages__item {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 28px;
  flex-shrink: 0;
}

.advantages__sep {
  font-size: 18px;
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  user-select: none;
}

/* ─── TECHNOLOGIES ───────────────────────────────── */
.technologies { padding: var(--section-pad) 0; }
.technologies .section-title { margin-bottom: 56px; }

.tech-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  margin-bottom: 4px;
}
.tech-block--reverse .tech-block__image { order: 2; }
.tech-block--reverse .tech-block__content { order: 1; }

.tech-block__image {
  object-fit: cover;
  object-position: center;
  display: block;
  width: 100%;
  min-height: 320px;
}

.tech-block__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 56px;
  background: var(--gray-light);
}
.tech-block--reverse .tech-block__content { background: var(--white); }

.tech-block__content h3 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.tech-block__content p { font-size: 15px; color: var(--gray); line-height: 1.8; }

/* Анимация при скролле */
.animate-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BRAND STORY ────────────────────────────────── */

/* Lead */
.brand-story__lead {
  background: #222020;
  padding: var(--section-pad) 0;
}
.brand-story__lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: baseline;
}
.brand-story__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.brand-story__title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
  /*text-transform: uppercase;*/
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.brand-story__subtitle {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--white);
  /*text-transform: uppercase;*/
  margin-bottom: 24px;
  letter-spacing: 0.03em;
  opacity: 0.8;
}
.brand-story__desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
}

/* Origin chain */
.brand-story__chain { display: flex; flex-direction: column; padding-top: 8px; }
.brand-story__chain-item {
  padding: 26px 0 26px 28px;
  border-left: 2px solid rgba(255,255,255,0.3);
  position: relative;
}
.brand-story__chain-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 30px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  visibility: hidden;
}
.brand-story__chain-item--accent { border-left-color: var(--red); }
.brand-story__chain-item--accent::before { background: var(--red); }
.brand-story__chain-connector { padding-left: 24px; line-height: 1; }
.brand-story__chain-arrow { font-size: 18px; color: rgba(255,255,255,0.18); visibility: hidden; }
.brand-story__chain-country {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.brand-story__chain-item--accent .brand-story__chain-country { color: var(--red); }
.brand-story__chain-role {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

/* History / Timeline */
.brand-story__history {
  background: var(--black);
  padding: 64px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.brand-story__section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 40px;
}
.brand-story__section-label--dark { color: rgba(0,0,0,0.28); }

.brand-story__tl-nav {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}
.brand-story__tl-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}
.brand-story__tl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  padding: 0 4px;
}
.brand-story__tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.22);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  order: -1;
}
.brand-story__tl-year {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.32);
  white-space: nowrap;
  transition: color 0.25s;
}
.brand-story__tl-btn.is-active .brand-story__tl-dot {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.5);
  box-shadow: 0 0 0 5px rgba(204,0,0,0.18);
}
.brand-story__tl-btn.is-active .brand-story__tl-year { color: var(--white); }
.brand-story__tl-btn:hover:not(.is-active) .brand-story__tl-year { color: rgba(255,255,255,0.6); }
.brand-story__tl-btn:hover:not(.is-active) .brand-story__tl-dot {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.45);
}

.brand-story__tl-panel { display: none; }
.brand-story__tl-panel.is-active {
  display: block;
  animation: bsTlFade 0.35s ease both;
}
@keyframes bsTlFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.brand-story__tl-panel h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.brand-story__tl-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.52);
  max-width: 680px;
}

/* Facts */
.brand-story__facts {
  background: var(--gray-light);
  padding: var(--section-pad) 0;
}
.brand-story__facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.brand-story__fact {
  background: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s;
}
.brand-story__fact:hover { background: #f8f8f8; }
.brand-story__fact-icon { width: 44px; height: 44px; color: var(--red); }
.brand-story__fact strong {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
}
.brand-story__fact p { font-size: 14px; line-height: 1.6; color: #555; }

/* ─── LIFESTYLE PARALLAX ─────────────────────────── */
.lifestyle-parallax {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lifestyle-parallax__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.lifestyle-parallax__bike {
  position: absolute;
  bottom: 10%;
  width: 60%;
  max-width: 700px;
  z-index: 2;
  transition: transform 0.05s linear;
}

.lifestyle-parallax__bike img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
}

.lifestyle-parallax__text {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}

.lifestyle-parallax__slogan {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}

.lifestyle-link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.04em;
  transition: letter-spacing 0.2s;
}
.lifestyle-link:hover { letter-spacing: 0.08em; }

/* ─── VIDEO BLOCK ────────────────────────────────── */
.video-block {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-block__bg {
  position: absolute;
  inset: -15% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

/* Затемняющий оверлей — сверху тяжелее */
.video-block::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.35) 100%
  )
}

.video-block__title {
  position: absolute;
  top: 130px;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 90%;
  text-align: center;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 600;
  color: var(--white);
}

.video-block__play {
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: transform 0.25s;
}
.video-block__play:hover { transform: scale(1.1); }

.video-block__play-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.15),
    0 0 0 20px rgba(255,255,255,0.07),
    0 8px 32px rgba(0,0,0,0.4);
  color: var(--black);
}
.video-block__play-circle svg { width: 28px; height: 28px; }

/* Модал */
.modal-video {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-video[hidden] { display: none; }

.modal-video__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.modal-video__box {
  position: relative;
  z-index: 1;
  width: min(90vw, 960px);
  aspect-ratio: 16/9;
}

.modal-video__close {
  position: absolute;
  top: -44px;
  right: 0;
  font-size: 32px;
  color: var(--white);
  line-height: 1;
  transition: opacity 0.2s;
}
.modal-video__close:hover { opacity: 0.7; }

.modal-video__box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-video__yt-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.modal-video__yt-link:hover { color: var(--white); }

/* ─── OFFERS ─────────────────────────────────────── */
.offers { padding: var(--section-pad) 0; background: var(--white); }


.offer-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.offer-card__img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.offer-card:hover .offer-card__img { transform: scale(1.03); }

.offer-card__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.3s;
}
.offer-card:hover .offer-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 55%, transparent 100%);
}

.offer-card__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.offer-card:hover .offer-card__label { opacity: 1; }

.offer-card__arrow {
  width: 24px;
  height: 24px;
  transition: transform 0.25s ease;
}
.offer-card:hover .offer-card__arrow { transform: translateX(7px); }

/* ─── CREDIT ─────────────────────────────────────── */
.credit { padding: var(--section-pad) 0; background: var(--gray-light); }

.credit-card {
  background: var(--white);
  padding: 38px 26px 0;
  position: relative;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s;
}

.credit-card--featured {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(204,0,0,0.12);
}

.credit-card__badge {
  position: absolute;
  top: -1px;
  left: 36px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
}

.credit-card__icon {
  width: 72px;
  height: 72px;
  margin-bottom: 28px;
  color: var(--red);
  flex-shrink: 0;
}
.credit-card__icon svg { width: 100%; height: 100%; }

.credit-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.credit-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

/* Button — по умолчанию видна внизу карточки (мобильный/планшет) */
/* Мобильный/планшет: кнопка видна внизу карточки */
.credit-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  align-self: stretch;
  text-decoration: none;
}
.credit-card__btn span {
  display: block;
  width: 100%;
  padding: 13px 24px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  border-radius: 4px;
  text-align: center;
}

/* Десктоп: overlay + кнопка покрывает весь блок */
@media (hover: hover) and (pointer: fine) {
  .credit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.96);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
  }
  .credit-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
  .credit-card:hover::after { opacity: 1; }

  .credit-card__btn {
    position: absolute;
    inset: 0;
    margin-top: 0;
    align-self: auto;
    background: transparent;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.25s ease;
  }
  .credit-card:hover .credit-card__btn { opacity: 1; }

  .credit-card__btn span {
    width: auto;
    padding: 13px 28px;
    border-radius: 4px;
    white-space: nowrap;
    transform: translateY(8px);
    transition: transform 0.25s ease;
  }
  .credit-card:hover .credit-card__btn span { transform: translateY(0); }
}

/* ─── NEWS ───────────────────────────────────────── */
.news { padding: var(--section-pad) 0; }

.news-card {
  position: relative;
  display: block;
  height: 400px;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
}
.news-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  will-change: transform;
}
.news-card:hover::before { transform: scale(1.04); }
.news-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 55%, transparent 100%);
}
.news-card__body {
  position: absolute;
  bottom: 60px;
  left: 24px;
  right: 24px;
}
.news-card__date {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.news-card__body h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
}
.news-card__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
}
.news-card__arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .news-card__label { opacity: 0; transition: opacity 0.25s ease; }
  .news-card:hover .news-card__label { opacity: 1; }
  .news-card:hover .news-card__arrow { transform: translateX(5px); }
}

/* ─── DEALERS ────────────────────────────────────── */
.dealers { padding: var(--section-pad) 0 0; background: var(--gray-light); }
.dealers__inner {
  background: #222020;
  border-radius: 20px;
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.dealers__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.dealers__title { color: var(--white); margin-bottom: 20px; }
.dealers__desc {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
}
.dealers__visual {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 55% 50%,
    black 10%, rgba(0,0,0,0.92) 28%, rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.2) 72%, transparent 92%);
  mask-image: radial-gradient(ellipse 80% 85% at 55% 50%,
    black 10%, rgba(0,0,0,0.92) 28%, rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.2) 72%, transparent 92%);
}
.dealers__map-layer {
  position: absolute;
  inset: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  transition: none;
  will-change: transform;
}
.dealers__map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.22;
}
.dealers__map-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@keyframes dealerPulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  70%  { transform: scale(2.6); opacity: 0;   }
  100% { transform: scale(2.6); opacity: 0;   }
}
.dealers__dot-ring {
  animation: none;
  transform-box: fill-box;
  transform-origin: center;
}
.dealers__dot--1 .dealers__dot-ring { animation-delay: 0s;    }
.dealers__dot--2 .dealers__dot-ring { animation-delay: 0.45s; }
.dealers__dot--3 .dealers__dot-ring { animation-delay: 0.9s;  }
.dealers__dot--4 .dealers__dot-ring { animation-delay: 1.35s; }
.dealers__dot--5 .dealers__dot-ring { animation-delay: 1.8s;  }
.dealers__dot--6 .dealers__dot-ring { animation-delay: 0.22s; }
.dealers__dot--7 .dealers__dot-ring { animation-delay: 0.65s; }
.dealers__dot--8 .dealers__dot-ring { animation-delay: 2.1s;  }

/* dealers button: centered on map (desktop), hidden on mobile */
.dealers__content-btn { display: none; }
.dealers__map-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  white-space: nowrap;
}

/* ─── PRE-FOOTER CTA ─────────────────────────────── */
.cta-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 56px 24px 64px;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-banner__tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-align: center;
  margin-bottom: auto;
  padding-top: 8px;
}

.cta-banner__columns {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 1800px;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
}

.cta-banner__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px 0;
  border-right: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  transition: background 0.2s;
}
.cta-banner__col:last-child { border-right: none; }
.cta-banner__col:hover { background: rgba(255,255,255,0.05); }

.cta-banner__col__icon { width: 40px; height: 40px; margin-bottom: 16px; }
.cta-banner__col__icon svg { width: 100%; height: 100%; }

.cta-banner__col__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.cta-banner__col__link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  transition: letter-spacing 0.2s;
}
.cta-banner__col:hover .cta-banner__col__link { letter-spacing: 0.07em; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--gray-light);
  color: #222;
  padding: 64px 0 32px;
}
.footer .container {
  /*padding-left: 80px;
  padding-right: 80px;*/
 /* width: 80%;*/
}
@media (min-width: 1920px) { .footer .container { max-width: 1800px; } }

.footer__top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 64px;
  padding-left: 60px;
}

.footer__brand .logo { display: inline-block; margin-bottom: 12px; }
.footer__brand .logo__img--dark { display: block; }
.footer__slogan {
  font-size: 13px;
  color: #555;
  margin-bottom: 20px;
}

.footer__social { display: flex; gap: 12px; align-items: center; margin-top: 20px; }
.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  transition: opacity 0.2s;
}
.footer__social-link:hover { opacity: 0.45; }
.footer__social-link img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
}

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  color: #333;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--black); }

.footer__disclaimer {
  font-size: 11px;
  line-height: 1.65;
  color: #999;
  max-width: 65%;
  text-align: center;
  padding-top: 8px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  font-size: 12px;
  color: #666;
  text-align: center;
}
.footer__bottom a { color: #666; }
.footer__bottom a:hover { color: var(--black); }
.footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

/* ─── LEAFLET OVERRIDES ──────────────────────────── */
.leaflet-popup-content-wrapper { border-radius: 2px; }
.leaflet-popup-content { margin: 12px 16px; }

/* ─── АДАПТИВ ────────────────────────────────────── */

@media (max-width: 1440px) {
 /* .footer .container { max-width: 90%; }
  .footer__top {padding-left: 60px;} */
}

@media (max-width: 1240px) {
  .panel-editorial {
      grid-column: 1 / -1;
      flex-direction: row;
      align-items: flex-end;
      justify-content: space-between;
      padding-bottom: 8px;
    }
  .panel-layout { grid-template-columns: 1fr 1fr 1fr; }
  /*.footer .container { padding-left: 48px; padding-right: 48px; max-width: 100%;}*/
}

/* Планшет — ≤ 1024px */
@media (max-width: 1024px) {
  :root { --section-pad: 60px; }

  .nav-menu, .nav-cta { display: none; }
  .burger { display: flex; color: var(--white); }
  #header.header--solid .burger { color: var(--black); }

  .panel-layout { grid-template-columns: 1fr 1fr 1fr; }
  
  .section-title { font-size: 30px; }
  .hero-slide__title { font-size: 40px; }
  .hero-slide__desc { font-size: 20px; }
  .panel--promo__title { font-size: 22px; }
  .flagship__title { font-size: 40px; }
  .tech-block__content h3 { font-size: 24px; }
  .about-brand__title { font-size: 32px; }
  .brand-story__lead-inner { grid-template-columns: 1fr; gap: 48px; }
  .brand-story__title { font-size: 40px; }
  .brand-story__facts-grid { grid-template-columns: repeat(2, 1fr); }
  .lifestyle-parallax__slogan { font-size: 28px; }
  .video-block__title { font-size: 32px; }

  .dealers__inner { grid-template-columns: 1fr; gap: 0; padding: 44px 40px 44px; position: relative; overflow: hidden; }
  .dealers__visual { position: absolute; inset: 0; min-height: unset; order: unset; margin: 0; pointer-events: none; }
  .dealers__visual::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
  .dealers__map-img { opacity: 0.22; }
  .dealers__content { position: relative; z-index: 1; }
  .dealers__content-btn { display: inline-flex; }
  .dealers__map-btn { display: none; }

  .footer__top { grid-template-columns: 1fr 1fr 1fr; row-gap: 36px; padding-left: 20px;}
  .footer__brand { grid-column: 1 / -1; }
}

/* Планшет — ≤ 900px */
@media (max-width: 900px) {
  .mosaic__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .panel--promo--large { grid-row: auto; min-height: 300px; }
  .panel--promo { min-height: 220px; }

  .flagship__title { font-size: 36px; }

  .tech-block { grid-template-columns: 1fr; }
  .tech-block--reverse .tech-block__image { order: 0; }
  .tech-block--reverse .tech-block__content { order: 0; }
  .tech-block__content { padding: 40px 32px; }

  .cta-banner__columns { grid-template-columns: 1fr; }
  .cta-banner__col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding: 28px 24px; }
  .cta-banner__col:last-child { border-bottom: none; }
}

/* Мобильный — ≤ 768px */
@media (max-width: 768px) {
  :root { --section-pad: 48px; }

  .topbar { display: none; }
  --header-h: var(--header-h-nav);

  .hero { height: 100lvh; }
  .hero-slide {
    height: 100lvh;
    animation: heroBgPan 20s ease-in-out infinite alternate;
  }
  .hero-slide__content { max-width: 100%; text-align: left; }
  .hero-slide__inner { justify-content: flex-start; }

  .quick-links { display:none; }
  .quick-links__inner { grid-template-columns: repeat(2, 1fr); height: auto; }
  .quick-links__item { padding: 16px 8px; flex-direction: column; gap: 4px; font-size: 12px; text-align: center; border-bottom: 1px solid #444; }

  .section-title { font-size: 26px; }
  .hero-slide__title { font-size: 32px; }
  .hero-slide__desc { font-size: 16px; }
  .panel--promo__title { font-size: 18px; }
  .flagship__title { font-size: 32px; }
  .tech-block__content h3 { font-size: 22px; }
  .about-brand__title { font-size: 26px; }
  .brand-story__title { font-size: 32px; }
  .brand-story__chain-country { font-size: 22px; }
  .brand-story__facts-grid { grid-template-columns: 1fr; }
  .brand-story__fact { padding: 28px 24px; }
  .lifestyle-parallax__slogan { font-size: 22px; }
  .video-block__title { font-size: 24px; }

  .video-block__play-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 10px rgba(255,255,255,0.15),
    0 0 0 20px rgba(255,255,255,0.07),
    0 8px 32px rgba(0,0,0,0.4);
  color: var(--black);
}
.video-block__play-circle svg { width: 22px; height: 22px; }

  .panel-layout { grid-template-columns: 1fr; }
  .panel-editorial { flex-direction: column; align-items: flex-start; gap: 12px; }

  .slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .slider::-webkit-scrollbar { display: none; }
  .slider .card--category {
    min-width: 82vw;
    max-width: 82vw;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: 260px;
  }
  .slider .card--category:first-child { scroll-snap-align: start; }
  .slider .card--category:last-child  { scroll-snap-align: end; }

  .slider,
  .slider,
  .slider {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 8px;
    scroll-padding: 0 16px;
    scrollbar-width: none;
  }
  .slider::-webkit-scrollbar,
  .slider::-webkit-scrollbar,
  .slider::-webkit-scrollbar { display: none; }

  .slider .offer-card,
  .slider .credit-card,
  .slider .news-card {
    min-width: 82vw;
    max-width: 82vw;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .slider .offer-card:first-child,
  .slider .credit-card:first-child,
  .slider .news-card:first-child { scroll-snap-align: start; }
  .slider .offer-card:last-child,
  .slider .credit-card:last-child,
  .slider .news-card:last-child  { scroll-snap-align: end; }

  .credit-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    color: var(--red);
    flex-shrink: 0;
    }
    .credit-card {
      background: var(--white);
      padding: 38px 26px 20px;
      min-height: 280px;
    }

  .news-card { height: 260px; }

  .about-brand__content { max-width: 100%; padding: 40px 24px; }
  .about-brand__mini-row { gap: 12px; flex-wrap: wrap; justify-content: center; }
  .brand-story__tl-nav { gap: 2px; }

  /* .footer .container { padding-left: 24px; padding-right: 24px; } */
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; padding-left: 0;}
  .footer__brand { grid-column: 1 / -1; }
  .footer__disclaimer { max-width: 100%; text-align: left; }

  .dealers__inner { padding: 28px 24px 28px; border-radius: 14px; }
}


/* ═══════════════════════════════════════════════════
   PRODUCT PAGE
   ═══════════════════════════════════════════════════ */

/* ─── BUTTON: outline dark ──────────────────────── */
.btn--outline-dark {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--black);
}
.btn--outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

/* ─── BREADCRUMBS ───────────────────────────────── */
.breadcrumbs {
  padding-top: var(--header-h);
  background: var(--gray-light);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs__list {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 14px 0;
  font-size: 13px;
  color: #888;
  flex-wrap: wrap;
}
.breadcrumbs__list li + li::before {
  content: '/';
  margin-right: 6px;
  color: #ccc;
}
.breadcrumbs__list a {
  color: #888;
  text-decoration: none;
}
.breadcrumbs__list a:hover { color: var(--red); }
.breadcrumbs__list [aria-current] { color: var(--black); font-weight: 600; }
.breadcrumbs--plain { padding-top: 0; background: none; border-bottom: none; }
.breadcrumbs--plain .breadcrumbs__list { padding: 0 0 12px; }

/* ─── PRODUCT HERO ──────────────────────────────── */
.product-hero { padding: 48px 0 64px; }
.product-hero__inner {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.product-hero__main-wrap {
  background: var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-hero__main-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
}
.product-hero__main-photo.is-fading { opacity: 0; }

.product-hero__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.product-hero__thumb {
  flex: 1;
  aspect-ratio: 1;
  background: var(--gray-light);
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  padding: 0;
}
.product-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-hero__thumb.is-active { border-color: var(--red); }
.product-hero__thumb:hover:not(.is-active) { border-color: #ccc; }

/* Info */
.product-hero__badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(204,0,0,0.07);
  border: 1px solid rgba(204,0,0,0.2);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.product-hero__name {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 24px;
}

/* Spec chips */
.product-spec-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.product-spec-chip {
  background: var(--gray-light);
  border-radius: 3px;
  padding: 10px 16px;
  text-align: center;
  min-width: 64px;
}
.product-spec-chip__value {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  line-height: 1;
}
.product-spec-chip__label {
  display: block;
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Colors */
.product-colors { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.product-colors__swatches { display: flex; gap: 8px; }
.product-color {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
  cursor: pointer;
  transition: outline-color 0.2s;
  padding: 0;
}
.product-color.is-active { outline-color: var(--red); }
.product-color:hover:not(.is-active) { outline-color: #ccc; }
.product-colors__label { font-size: 14px; color: #555; }

/* Price + CTA */
.product-hero__price-row { margin-bottom: 28px; }
.product-hero__price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--black);
}

.product-cta__primary {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.product-cta__secondary {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.product-cta__link {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.product-cta__link:hover { color: var(--red); }

/* ─── PRODUCT TABS ──────────────────────────────── */
.tabs {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.tabs__nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 16px 28px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.tabs__btn:hover { color: var(--black); }
.tabs__btn.is-active { color: var(--red); border-bottom-color: var(--red); }

/* ─── PRODUCT SECTION SHARED ────────────────────── */
.section { padding: var(--section-pad) 0; }
.section:nth-child(even) { background: var(--gray-light); }

/* ─── SPEC CALLOUT ──────────────────────────────── */
.spec-callout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.spec-callout__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--red);
}
.spec-callout__icon svg { width: 40px; height: 40px; }
.spec-callout__name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 3px;
}
.spec-callout__desc {
  display: block;
  font-size: 15px;
  color: #777;
  line-height: 1.5;
}

/* Spec-callouts row modifier (3-col grid) */
.spec-callouts--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px;
  margin: 96px 0 24px;
}
@media (max-width: 1024px) { .spec-callouts--row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .spec-callouts--row { grid-template-columns: 1fr; gap: 24px; } }

/* Spec intro — dark section after product-main */
.spec-intro {
  padding: 0 0 var(--section-pad);
}
.spec-intro-container{
  background: #222020;
  padding: 40px 40px 48px;
  border-radius: 4px;
}
.spec-intro__eyebrow {
  display: block;
  font: 700 11px var(--font-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.spec-intro__title {
  font: 500 24px/1.1 var(--font-head);
  color: var(--white);
  margin: 48px 0 48px;
}
.spec-intro__desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 60%;
}
.spec-intro__desc:last-of-type { margin-bottom: 48px; }
.spec-intro .spec-callout__name { color: var(--white); }
.spec-intro .spec-callout__desc { color: rgba(255,255,255,0.55); }
@media (max-width: 768px) { .spec-intro__title { font-size: 32px; } }

/* Specs table — full-width detailed specs */
.specs-table-section { padding: var(--section-pad) 0; }
.specs-table__group {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0 40px;
  padding: 48px 0 0;
}
.specs-table__group:first-child { border-top: none; padding-top: 0; }
.specs-table__heading {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.03em;
}
.specs-table__rows {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.specs-table__row { display: contents; }
.specs-table__row:nth-child(odd) .specs-table__label,
.specs-table__row:nth-child(odd) .specs-table__value {
  background: var(--gray-light);
}
.specs-table__label { font-weight: 600; color: var(--black); padding: 16px 24px; }
.specs-table__value { color: var(--black); text-align: left; padding: 16px 24px; }
@media (max-width: 1024px) {
  .specs-table__group { grid-template-columns: 1fr; gap: 16px 0; }
  .specs-table__rows { grid-column: 1; }
}
@media (max-width: 640px) {
  .specs-table__rows { grid-template-columns: 1fr; }
  .specs-table__row { display: flex; flex-direction: column; gap: 4px; }
  .specs-table__label, .specs-table__value { padding: 8px 16px; }
}

/* ─── GALLERY SECTION ───────────────────────────── */
.gallery-section {}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #222;
  padding: 0;
  border: none;
  cursor: pointer;
  display: block;
}
.gallery-item--intro {
  background: var(--white);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 8px 24px 0 0;
}
.gallery-item--intro .gallery-item__title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 16px;
}
.gallery-item--intro .gallery-item__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ─── RELATED MODELS ────────────────────────────── */
.related { padding: var(--section-pad) 0; background: var(--white); }
.related__header { margin-bottom: 48px; }
.related__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
.card:hover { background: var(--gray-light); }
.card__photo-wrap {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card:hover .card__photo { transform: scale(1.04); }
.card__body { padding: 20px 24px 24px; }
.card__type {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}
.card__name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.card__name a:hover { color: var(--red); }
.card__name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 18px;
}
.card__price {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray);
  margin-bottom: 16px;
}
.card__btn { width: 100%; text-align: center; display: block; }

/* ─── CATALOG ────────────────────────────────────── */
.catalog { padding: calc(var(--header-h) + var(--section-pad)) 0 var(--section-pad); background: var(--white); }
.catalog__header { margin-bottom: 48px; }
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card--catalog { position: relative; }
.card--catalog .card__photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card--catalog .card__photo { object-fit: contain; }
.card--catalog .card__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 12px; }
.card--catalog .card__price { margin-bottom: 2px; }
.card--catalog .card__price-row .product-main__price-row { gap: 8px; }
.card__credit { display: block; flex-basis: 100%; font-size: 12px; color: #999; }
.card__color {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.card__swatches { display: flex; gap: 10px; flex-shrink: 0; }
.card__swatch {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  outline: 1.5px solid var(--border);
  outline-offset: 2px;
  cursor: pointer;
  padding: 0;
  transition: outline-color 0.2s, transform 0.15s;
}
.card__swatch:hover { transform: scale(1.08); }
.card__swatch.is-active { outline-color: var(--black); }
.card__swatch.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translate(-50%, -50%) rotate(45deg);
}
.card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.card__features li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--gray);
}
.card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--border);
}
.card__links {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  justify-content: center;
}
.card__link {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  /*text-transform: uppercase;*/
  color: var(--red);
  transition: color 0.2s;
}
.card__link:hover { color: var(--red-dark); }
.card__link + .card__link {
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

/* ─── LIGHTBOX ──────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
.lightbox__box {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
}
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.24); }
.lightbox__arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox__arrow:hover { background: rgba(255,255,255,0.24); }
.lightbox__arrow--prev { left: 20px; }
.lightbox__arrow--next { right: 20px; }
.lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ─── PRODUCT RESPONSIVE: 1024px ────────────────── */
@media (max-width: 1024px) {
  .product-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─── PRODUCT RESPONSIVE: 640px ─────────────────── */
@media (max-width: 640px) {
  .product-hero { padding: 24px 0 40px; }
  .product-hero__name { font-size: 32px; }
  .product-hero__price { font-size: 28px; }
  .product-spec-chips { gap: 8px; }
  .product-spec-chip { padding: 8px 12px; min-width: 56px; }
  .product-spec-chip__value { font-size: 18px; }
  .tabs__btn { padding: 14px 18px; font-size: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .related__grid { grid-template-columns: 1fr; }
  .catalog__grid { grid-template-columns: 1fr; }
  .product-cta__primary { flex-direction: column; }
  .product-cta__primary .btn { text-align: center; }
}

/* =====================================================
   PH2: PRODUCT HERO — Amazfit-style two-column
   ===================================================== */
.product-main {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 64px;
  background: var(--white);
}
.product-main__inner {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 64px;
  align-items: start;
}
.product-main__gallery { display: flex; gap: 12px; align-items: flex-start; }

/* Thumbs column */
.product-main__thumbs-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  height: 520px;
}
.product-main__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: scroll;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.product-main__thumbs::-webkit-scrollbar { display: none; }
.product-main__thumb-nav {
  width: 96px;
  height: 24px;
  background: var(--white);
  /*border: 1.5px solid #ddd;
  border-radius: 2px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  flex-shrink: 0;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.product-main__thumb-nav:hover { background: var(--gray); border-color: var(--gray); color: var(--white); }
.product-main__thumb {
  width: 96px;
  height: 96px;
  border: 2px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: border-color 0.18s;
  flex-shrink: 0;
}
.product-main__thumb.is-active { border-color: var(--black); }
.product-main__thumb:hover:not(.is-active) { border-color: #aaa; }
.product-main__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Main image */
.product-main__main {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--gray-light);
  height: 520px;
  cursor: zoom-in;
}
.product-main__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.18s;
}
.product-main__main-img.is-fading { opacity: 0; }

/* Prev/Next arrows on main image */
.product-main__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  opacity: 0;
  transition: opacity 0.18s, background 0.18s, color 0.18s;
  z-index: 2;
}
.product-main__nav--prev { left: 10px; }
.product-main__nav--next { right: 10px; }
.product-main__main:hover .product-main__nav { opacity: 1; }
.product-main__nav:hover { background: var(--gray); color: var(--white); }
.product-main__info { display: flex; flex-direction: column; padding-top: 4px; }
.product-main__name {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.product-main__tagline { font-size: 14px; color: var(--black); margin-bottom: 24px; line-height: 1.4; text-decoration: none; display: block; text-decoration:underline; text-underline-offset: 3px;}
.product-main__tagline:hover { text-decoration: underline; }
.product-main__price-row { display: flex; align-items: center; gap: 12px;}
.product-main__price-old { font-size: 13px; color: #777; text-decoration: line-through; line-height: 1; }
.product-main__price-discount { font-size: 13px; font-weight: 500; color: var(--red);}
.product-main__price { font-family: var(--font-head); font-size: 30px; font-weight: 600; color: var(--black); margin-bottom: 24px; }
.product-main__desc { font-size: 16px; color: var(--black); line-height: 1.65; margin-bottom: 24px; }
.product-main__features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.product-main__feature { font-size: 16px; color: var(--black); padding-left: 18px; position: relative; line-height: 1.5; }
.product-main__feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--black);
}
.product-main__divider { height: 1px; background: var(--border); margin: 0 0 24px; }
.product-main__colors { margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.product-main__colors-label { font-size: 13px; color: #777; font-weight: 500; }
.product-main__color-name { font-weight: 700; color: var(--black); }
.product-main__swatches { display: flex; gap: 10px; }
.product-main__swatch {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  outline: 1.5px solid var(--border);
  outline-offset: 3px;
  cursor: pointer;
  transition: outline-color 0.2s, transform 0.15s;
  padding: 0;
}
.product-main__swatch:hover { transform: scale(1.08); }
.product-main__swatch.is-active { outline-color: var(--black); }
.product-main__swatch.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 46%;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translate(-50%, -50%) rotate(45deg);
}
.product-main__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.product-main__links { display: flex; gap: 24px; flex-wrap: wrap; }
.product-main__link { font-size: 14px; color: var(--black); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.product-main__link:hover { color: var(--black); }

@media (max-width: 1100px) {
  .product-main__inner { gap: 40px; }
  .product-main__thumb { width: 60px; height: 60px; }
  .product-main__thumb-nav { width: 60px; }
}
@media (max-width: 900px) {
  .product-main__inner { grid-template-columns: 1fr; gap: 32px; }
  .product-main__main { height: 380px; cursor: zoom-in; }
  .product-main__gallery { flex-direction: column; }
  .product-main__thumbs-wrap { flex-direction: row; width: 100%; height: auto; }
  .product-main__thumbs { flex-direction: row; height: auto; overflow-x: auto; overflow-y: hidden; width: 100%; }
  .product-main__thumb-nav { display: none; }
}
@media (max-width: 480px) {
  .product-main { padding-top: calc(var(--header-h) + 16px); }
  .product-main__thumb { width: 52px; height: 52px; }
  .product-main__main { height: 260px; }
}

/* =====================================================
   QUICK SPECS
   ===================================================== */
.quick-specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
}
.quick-specs__item {
  background: var(--white);
  padding: 40px 0;
}
.quick-specs__label {
  display: block;
  font-size: 13px;
  font-family: var(--font-body);
  color: #787777;
  margin-bottom: 8px;
}
.quick-specs__value {
  display: block;
  font-size: 22px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--black);
  line-height: 1.4;
}
@media (max-width: 1024px) {
  .quick-specs__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .quick-specs__grid { grid-template-columns: 1fr; }
  .quick-specs__item { padding: 20px 0; border-right: none; }
}

/* =====================================================
   PRODUCT STORYTELLING — product.html v2
   ===================================================== */

/* ─── P-HERO ─────────────────────────────────────── */
.p-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #000;
}
.p-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.p-hero.is-loaded .p-hero__bg { transform: scale(1); }
.p-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 45%, transparent 75%),
    linear-gradient(to right, rgba(0,0,0,0.3) 0%, transparent 60%);
}
.p-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
}
.p-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.p-hero__eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.p-hero__title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  line-height: 0.92;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.p-hero__tagline {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}
.p-hero__bottom {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.p-hero__price {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}
.p-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.p-hero__scroll {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.p-hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: pScrollPulse 2.2s ease infinite;
}
@keyframes pScrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: top; opacity: 0; }
}

/* ─── P-NUMBERS ──────────────────────────────────── */
.numbers { background: #0d0d0d; }
.numbers__inner {
  display: flex;
  align-items: stretch;
}
.number {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 32px 16px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: background 0.25s;
}
.number:last-child { border-right: none; }
.number:hover { background: rgba(255,255,255,0.03); }
.number__val {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.number__label {
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ─── P-STORY ────────────────────────────────────── */
.story {
  position: relative;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.story--tall { height: 100vh; min-height: 640px; }
.story--align-center { align-items: center; }
.story__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.story:hover .story__bg { transform: scale(1.025); }
.story__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.story__overlay--bottom {
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 40%, transparent 70%);
}
.story__overlay--left {
  background: linear-gradient(to right, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 50%, transparent 80%);
}
.story__overlay--right {
  background: linear-gradient(to left, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 50%, transparent 80%);
}
.story__overlay--full {
  background: rgba(0,0,0,0.55);
}
.story__text {
  position: relative;
  z-index: 2;
  padding: 52px 56px;
  max-width: 580px;
}
.story__text--right {
  align-self: center;
  margin-left: auto;
  text-align: right;
}
.story__text--right .story__desc { margin-left: auto; }
.story__text--center {
  align-self: center;
  margin: auto;
  text-align: center;
  max-width: 640px;
}
.story__eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}
.story__title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.story__desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 400px;
}

/* ─── P-FEATURE ──────────────────────────────────── */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  overflow: hidden;
}
.feature-block--reverse .feature-block__media { order: 2; }
.feature-block--reverse .feature-block__content { order: 1; }
.feature-block__media {
  overflow: hidden;
  position: relative;
  min-height: 400px;
}
.feature-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
}
.feature-block:hover .feature-block__media img { transform: scale(1.03); }
.feature-block__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 72px;
  background: var(--white);
}
.feature-block--dark .feature-block__content { background: #111; }
.feature-block__eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.feature-block__title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.0;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.feature-block--dark .feature-block__title { color: var(--white); }
.feature-block__desc {
  font-size: 16px;
  color: #5a5a5a;
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 28px;
}
.feature-block--dark .feature-block__desc { color: rgba(255,255,255,0.55); }
.feature-block__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-block__list li {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.02em;
  padding-left: 18px;
  position: relative;
}
.feature-block--dark .feature-block__list li { color: rgba(255,255,255,0.75); }
.feature-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--red);
}

/* ─── P-TECHSTRIP ────────────────────────────────── */
.tech-strip {
  padding: 88px 0;
  background: var(--gray-light);
}
.tech-strip__header {
  text-align: center;
  margin-bottom: 60px;
}
.tech-strip__eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.tech-strip__title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
}
.tech-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.tech-strip__item {
  background: var(--white);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s;
}
.tech-strip__item:hover { background: #fafafa; }
.tech-strip__icon {
  width: 40px;
  height: 40px;
  color: var(--black);
  flex-shrink: 0;
}
.tech-strip__name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}
.tech-strip__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.65;
}

/* ─── P-CTA-DARK ─────────────────────────────────── */
.cta-dark {
  background: #0a0a0a;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(204,0,0,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-dark__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-dark__eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  display: block;
  margin-bottom: 14px;
}
.cta-dark__price {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 14px;
}
.cta-dark__note {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
}
.cta-dark__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.cta-dark__btns { display: flex; gap: 12px; }
.cta-dark__links { display: flex; gap: 28px; }
.cta-dark__link {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  transition: color 0.2s;
}
.cta-dark__link:hover { color: rgba(255,255,255,0.85); }

/* ─── FAQ ─────────────────────────────────────────── */
.faq {
  padding: 88px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.faq__head { margin-bottom: 48px; }
.faq__eyebrow {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 14px;
}
.faq__title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--black);
}
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  transition: color 0.2s;
  text-align: left;
  gap: 24px;
}
.faq__question:hover { color: var(--red); }
.faq__question-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--black);
}
.faq__item.is-open .faq__question-icon { transform: rotate(45deg); }
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; }
.faq__answer-inner p {
  padding-bottom: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray);
}
.faq__answer-inner p:last-child { padding-bottom: 28px; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .product-main__name          { font-size: 40px; }
  .p-hero__title      { font-size: 40px; }
  .p-hero__tagline    { font-size: 20px; }
  .number__val      { font-size: 28px; }
  .story__title     { font-size: 40px; }
  .feature-block__title   { font-size: 40px; }
  .tech-strip__title { font-size: 30px; }
  .cta-dark__price  { font-size: 28px; }
  .faq__title     { font-size: 30px; }

  .feature-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .feature-block--reverse .feature-block__media { order: 0; }
  .feature-block--reverse .feature-block__content { order: 1; }
  .feature-block__media { min-height: 55vw; }
  .feature-block__content { padding: 48px 32px; }
  .tech-strip__grid { grid-template-columns: 1fr; }
  .cta-dark__inner { flex-direction: column; align-items: flex-start; }
  .cta-dark__actions { align-items: flex-start; }
  .story__text--right { margin-left: 0; text-align: left; }
  .story__text--right .story__desc { margin-left: 0; }
  .story__text { padding: 40px 32px; }
}
@media (max-width: 768px) {
  .product-main__name          { font-size: 32px; }
  .p-hero__title      { font-size: 32px; }
  .p-hero__tagline    { font-size: 16px; }
  .p-hero__scroll     { display: none; }
  .number__val      { font-size: 24px; }
  .story__title     { font-size: 32px; }
  .feature-block__title   { font-size: 32px; }
  .tech-strip__title { font-size: 26px; }
  .cta-dark__price  { font-size: 24px; }
  .faq__title     { font-size: 26px; }

  .numbers__inner { flex-wrap: wrap; }
  .number {
    flex: 0 0 50%;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .story { height: 75vw; min-height: 360px; }
  .story__text { padding: 28px 20px; }
  .tech-strip__item { padding: 36px 24px; }
  .cta-dark__btns { flex-wrap: wrap; }
}
