/* =====================================================
   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: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--black);
  letter-spacing: 0.03em;
}

/* ─── КНОПКИ ─────────────────────────────────────── */
.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;
}
@media (max-width: 640px) { .btn--lg { padding: 14px 40px; } }
@media (max-width: 480px) { .btn--lg { padding: 13px 28px; } }

.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; }
@media (max-width: 768px) { .logo__img { height: 24px; } }
.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: 11px;
  padding: 10px 20px;
  background: #3A4550;
  border-color: #3A4550;
}
.nav-cta:hover { background: #4C5B69; border-color: #4C5B69; }

/* Бургер */
.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);
  font-size: 11px;
  background: #3A4550;
  border-color: #3A4550;
}
.mobile-menu li:nth-last-child(2) a:hover { background: #4C5B69; border-color: #4C5B69; }
.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);
  opacity: 0;
  transform: translateY(24px);
}
.hero-slide__content.hero-content--anim {
  animation: heroFadeIn 0.7s ease both;
}
.hero-slide__content.hero-content--exit {
  animation: heroFadeOut 0.4s ease both;
  pointer-events: none;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-16px); }
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-16px); }
}

.hero-slide__label {
  display: block;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,1);
  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;
}
.hero-swiper .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;
}
.hero-swiper .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; }
.categories__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.categories__row .card--category { height: 300px; }
@media (max-width: 768px) { .categories__row { display: block; } }

.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;
}
@media (hover: hover) { .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;
}
@media (hover: hover) {
  .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;
}
@media (hover: hover) { .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 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1500px;
  margin-bottom: 20px;
}

.flagship__label {
  font-family: var(--font-body);
  font-size: clamp(11px, 1.3vw, 18px);
  font-weight: 400;
  line-height: 1.2;
  color: #999;
  margin-bottom: clamp(8px, 1vw, 24px);
  display: block;
}

.flagship__title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.flagship__navs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.flagship__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  transition: opacity 0.35s;
  flex: 1;
  min-width: 0;
}
.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 50%;
  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__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 {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.flagship__nav:hover {
  border-color: var(--black);
  color: var(--black);
}
.flagship__nav svg { width: 20px; height: 20px; }

/* Content — правая колонка */
.flagship__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  padding: 0 0 0 clamp(28px, 4vw, 56px);
  transition: opacity 0.35s;
}
.flagship__content.is-fading { opacity: 0; }

.flagship__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 20px;
}

.flagship__spec {
  display: flex;
  flex-direction: column;
  gap: 0px;
  min-width: 0;
}

.flagship__spec-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: #787777;
}

.flagship__spec-value {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.flagship__desc {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 500px;
}

.flagship__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.flagship__cta-group {
  display: flex;
  gap: 10px;
}

.flagship__price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.flagship__price-old {
  font-size: 13px;
  font-family: var(--font-body);
  color: #777;
  text-decoration: line-through;
  line-height: 1;
}

.flagship__price-discount {
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--red);
}

.flagship__price {
  font-family: var(--font-head);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1;
  color: var(--black);
  white-space: nowrap;
}

/* Color swatches — как на странице товара */
.flagship__colors {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 16px;
  min-height: 32px;
}

.flagship__color {
  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;
}

.flagship__color:hover {
  transform: scale(1.08);
}

.flagship__color.is-active {
  outline-color: var(--black);
}

.flagship__color.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13 L10 18 L19 7' fill='none' stroke='rgba(0,0,0,0.6)' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 13 L10 18 L19 7' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55%;
}

.flagship__photo.is-color-fade {
  opacity: 0;
  transition: opacity 0.18s;
}

/* ≤ 1023px: переход в колонку */
@media (max-width: 1023px) {
  .flagship { gap: 10px; padding: 60px 40px 52px; }
  .flagship__body { flex-direction: column; gap: 16px; }
  .flagship__stage { flex: none; width: 100%; }
  .flagship__viewport { height: 40vh; }
  .flagship__content {
    padding: 24px 0;
    width: 100%;
  }
  .flagship__desc { max-width: 640px; }
  .flagship__footer { justify-content: center;  }
  .flagship__colors { justify-content: center; }
  .flagship__color { width: 22px; height: 22px; }

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

}

/* ≤ 768px */
@media (max-width: 768px) {
  .flagship { gap: 0; padding: 40px 20px 36px; }
  .flagship__title-row { gap: 16px; }
  .flagship__nav { width: 40px; height: 40px; }
  .flagship__nav svg { width: 16px; height: 16px; }
  .flagship__viewport { height: 40vh; }
  .flagship__content { padding: 16px 0; gap: 24px; }
  .flagship__specs { grid-template-columns: 1fr 1fr; }
  .flagship__spec { /*padding: 14px 16px;*/ }
  .flagship__desc { font-size: 14px; }
  .flagship__colors { margin-top: 12px; gap: 16px; }
  .flagship__color { width: 22px; height: 22px; }
  .flagship__price { font-size: 24px; }
  .flagship__footer { gap: 40px; flex-wrap: wrap; margin-top: 10px;}
}

/* ≤ 480px */
@media (max-width: 480px) {
  .flagship { gap: 16px; min-height: auto; padding: 36px 16px 32px; }
  .flagship__nav { width: 38px; height: 38px; }
  .flagship__nav svg { width: 14px; height: 14px; }
  .flagship__viewport { height: 30vh; }
  .flagship__color { width: 20px; height: 20px; }
  .flagship__colors { gap: 16px; }
}

/* ─── ADVANTAGES ─────────────────────────────────── */
.advantages {
  overflow: hidden;
  position: relative;
  background-color: #222020;
  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; /* fallback без JS; скорость: менять здесь */
  touch-action: pan-y; /* горизонтальный свайп обрабатывает JS, вертикальный скролл страницы не блокируем */
  cursor: grab;
}

.advantages__track-wrap:hover {
  animation-play-state: paused;
}

.advantages__track-wrap.is-dragging {
  cursor: grabbing;
}

.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;
}

@media (max-width: 1240px) {
  .advantages__item { font-size: 14px; }
  .advantages__sep { font-size: 16px; }
}
@media (max-width: 1024px) {
  .advantages__item { font-size: 13px; }
  .advantages__sep { font-size: 15px; }
}
@media (max-width: 768px) {
  .advantages__item { font-size: 12px; }
  .advantages__sep { font-size: 14px; }
}

/* ─── 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: 3fr 2fr;
  gap: 80px;
  align-items: center;
}
.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;
  gap: 44px;
}
.brand-story__chain-connector { display: none; }
.brand-story__chain-item {
  display: flex;
  flex-direction: column;
}
.brand-story__chain-item::before { display: none; }
.brand-story__chain-country {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.brand-story__chain-item--accent .brand-story__chain-country { color: var(--red); }
.brand-story__chain-role {
  display: block;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

/* 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: 85%;
  text-align: center;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.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;
  padding: 60px 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-video[hidden] { display: none; }
.modal-video.is-open { opacity: 1; }

.modal-video__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.modal-video__box {
  position: relative;
  z-index: 1;
  width: min(94vw, 1400px);
  max-height: calc(100vh - 120px);
  aspect-ratio: 16/9;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal-video.is-open .modal-video__box {
  opacity: 1;
  transform: scale(1);
}

.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); }

/* ─── MODAL CREDIT ───────────────────────────────── */
.modal-credit {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.modal-credit[hidden] { display: none; }
.modal-credit.is-open { opacity: 1; }

.modal-credit__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  cursor: pointer;
}

.modal-credit__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  opacity: 0;
  transform: scale(0.96) translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.modal-credit.is-open .modal-credit__box {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal-credit__close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 28px;
  line-height: 1;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.modal-credit__close:hover { color: var(--black); }

.modal-credit__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}
.modal-credit__desc {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .modal-credit__box { padding: 32px 20px; }
}
.modal-credit .td-form { gap: 8px; }
.modal-credit .td-form__error { min-height: 0; }

.modal-credit__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px 24px;
  gap: 16px;
}
.modal-credit__success-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin: 0;
}
.modal-credit__success-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ─── 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 20px; background: var(--gray-light); }
.credit .panel-layout { grid-template-columns: 3fr 2fr 2fr; }
@media (max-width: 1240px) {
  .credit .panel-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .credit .panel-layout { grid-template-columns: 1fr; }
}

.credit-card {
  background: var(--white);
  padding: 38px 26px 26px;
  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--bordered { border-top: 1px solid var(--border); }
.footer .container {
  /*padding-left: 80px;
  padding-right: 80px;*/
 /* width: 80%;*/
}
@media (min-width: 1920px) { .footer .container { max-width: 1800px; } }

.footer__top {
  display: flex;
  gap: 160px;
  justify-content: center;
  padding-bottom: 24px;
}

.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: 40px; }
  .brand-story__title { font-size: 28px; }
  .brand-story__subtitle { font-size: 20px; }
  .brand-story__chain-country { font-size: 18px; }
  .brand-story__chain-role { font-size: 14px; }
  .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 { gap: 48px; 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; }
  :root { --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: 24px; }
  .brand-story__subtitle { font-size: 17px; }
  .brand-story__desc { font-size: 15px; }
  .brand-story__chain-country { font-size: 17px; }
  .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 { flex-wrap: wrap; gap: 32px; padding-left: 0; justify-content: flex-start; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__disclaimer { max-width: 100%; text-align: left; }

  .dealers__inner { padding: 28px 24px 28px; border-radius: 14px; }
  .dealers__desc { font-size: 15px; }
}
@media (max-width: 480px) {
  .dealers__desc { font-size: 14px; }
  .brand-story__title { font-size: 20px; }
  .brand-story__subtitle { font-size: 15px; }
  .brand-story__chain-country { font-size: 16px; }
  .brand-story__chain { gap: 32px; }
}


/* ═══════════════════════════════════════════════════
   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; }
@media (max-width: 768px) {
  .breadcrumbs__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .breadcrumbs__list::-webkit-scrollbar { display: none; }
  .breadcrumbs__list li { flex-shrink: 0; white-space: nowrap; }
}

/* ─── 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);
}
.tabs__nav {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  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: 20px;
  align-items: flex-start;
}
.spec-callout__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--red);
}
.spec-callout__icon svg { width: 52px; height: 52px; }
.spec-callout__name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 4px;
}
.spec-callout__desc {
  display: block;
  font-size: 16px;
  color: #777;
  line-height: 1.5;
}
@media (max-width: 1240px) {
  .spec-callout__desc { font-size: 15px; }
}

/* 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-callouts column modifier (right column in spec-intro) */
.spec-callouts--col {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding-top: 4px;
}

/* ─── SPEC CALLOUTS STRIP (below spec-intro) ────── */
.spec-callouts-strip {
  background: var(--white);
  margin-bottom: var(--section-pad);
}
.spec-callouts-strip .spec-callouts {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.spec-callouts-strip .spec-callout {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 36px 20px;
  border-right: 1px solid var(--border);
  gap: 16px;
}
.spec-callouts-strip .spec-callout:last-child { border-right: none; }
.spec-callouts-strip .spec-callout__icon { color: var(--black); }
.spec-callouts-strip .spec-callout > div { display: flex; flex-direction: column; align-items: center; }
@media (max-width: 768px) {
  .tabs__nav { justify-content: flex-start; }
  .spec-callouts-strip .spec-callouts { flex-wrap: wrap; }
  .spec-callouts-strip .spec-callout {
    flex: 0 0 50%;
    padding: 28px 16px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  /* правая колонка — без правого border */
  .spec-callouts-strip .spec-callout:nth-child(even) { border-right: none; }
  /* последняя полная строка (чётное кол-во) — без нижнего border */
  .spec-callouts-strip .spec-callout:last-child:nth-child(even) { border-bottom: none; }
  .spec-callouts-strip .spec-callout:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  /* одиночный последний элемент (нечётное кол-во) — на всю ширину */
  .spec-callouts-strip .spec-callout:last-child:nth-child(odd) {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: none;
  }
}
@media (max-width: 480px) {
  .spec-callouts-strip .spec-callout {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .spec-callouts-strip .spec-callout:last-child { border-bottom: none; }
}

/* Spec intro — dark section after product-main */
.spec-intro {
  padding: 0 0 var(--section-pad);
}
.spec-intro-container {
  background: #eceae6;
  padding: 40px 48px;
  border-radius: 4px;
  color: var(--black);
}
.spec-intro__content { min-width: 0; max-width: 75%; }
.spec-intro__content.is-clamped {
  position: relative;
  max-height: 300px;
  overflow: hidden;
}
.spec-intro__content.is-clamped::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, #eceae6);
  pointer-events: none;
}
.spec-intro__more {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font: 600 14px/1 var(--font-body);
  color: var(--red);
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.spec-intro__more.is-visible { display: inline-flex; }
.spec-intro__more:hover { opacity: 0.75; }
@media (max-width: 1024px) { .spec-intro__content { max-width: 100%; } }
.spec-intro-container b,
.spec-intro-container strong { color: var(--black); }
.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(--black);
  margin: 48px 0 48px;
}
.spec-intro__desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 36px;
}
.spec-intro__desc:last-of-type { margin-bottom: 48px; }
.spec-intro-container p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.spec-intro-container p:last-child { margin-bottom: 0; }
.spec-intro__extra {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.spec-intro__extra p { color: var(--black); }
.spec-intro__extra p b { font-weight: 700; }
.spec-intro__extra-note { color: var(--gray) !important; font-style: italic; }
.spec-intro-container ul {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.spec-intro-container ul li {
  position: relative;
  padding-left: 16px;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.spec-intro-container ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}
.spec-intro-container ul:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .spec-intro__title { font-size: 32px; }
  .spec-intro-container { padding: 32px 24px 40px; }
  .spec-intro__desc,
  .spec-intro-container p,
  .spec-intro-container ul li,
  .spec-intro-container ol li { font-size: 15px; }
}
@media (max-width: 640px) {
  .spec-intro-container { padding: 32px 24px 40px; }
}
@media (max-width: 480px) {
  .spec-intro__desc,
  .spec-intro-container p,
  .spec-intro-container ul li,
  .spec-intro-container ol li { font-size: 14px; }
}

/* Tab panels */
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* Specs table — full-width detailed specs */
.specs-table-section { padding: 0 0 var(--section-pad); }
.specs-table-section .tabs { margin-bottom: 48px; }
.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__group--full { grid-template-columns: 1fr; }
.specs-table__group--full .specs-table__rows { grid-column: 1 / -1; }
.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--note { display: grid; grid-column: 1 / -1; }
.specs-table__row--note .specs-table__value { grid-column: 1 / -1; color: var(--gray); font-style: italic; }
.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; font-size: 15px; }
.specs-table__value { color: var(--black); text-align: left; padding: 16px 24px; font-size: 15px; }
@media (max-width: 1024px) {
  .specs-table__group { grid-template-columns: 1fr; gap: 16px 0; }
  .specs-table__rows { grid-column: 1; }
  .specs-table__label, .specs-table__value { font-size: 14px; }
}
@media (max-width: 640px) {
  .specs-table__label, .specs-table__value { padding: 10px 14px; font-size: 13px; }
}

/* ─── GALLERY SECTION ───────────────────────────── */
.gallery-section {}
.gallery-section__header {
  margin-bottom: 40px;
}
.gallery-section__desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
  margin-top: 12px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 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 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 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.related__navs { display: flex; gap: 8px; }
.related__navs[hidden] { display: none; }
.related__nav {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--black); transition: border-color 0.2s, color 0.2s; cursor: pointer;
}
.related__nav:hover { border-color: var(--black); color: var(--black); }
.related__nav:disabled { opacity: 0.35; cursor: default; pointer-events: none; }
.related__nav svg { width: 20px; height: 20px; }
.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: flex;
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  gap: 24px;
  scrollbar-width: none;
}
.related__grid::-webkit-scrollbar { display: none; }
.related__grid .card--catalog {
  width: calc((100% - 72px) / 4);
  flex-shrink: 0;
  scroll-snap-align: start;
}
.related__scrollbar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}
.related__scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: left 0.08s linear;
}
.card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.25s;
}
@media (hover: hover) { .card:hover { background: var(--gray-light); } }
.card__photo-wrap {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--gray-light);
}
.card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
@media (hover: hover) { .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; }

@media (max-width: 768px) {
  .card__body { padding: 10px 14px 14px; }
  .card__name { font-size: 16px; line-height: 24px; }
}

/* ─── CATALOG ────────────────────────────────────── */
.catalog { padding-bottom: var(--section-pad); background: var(--white); }
.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card--catalog { position: relative; }
.card--catalog .card__photo { object-fit: cover; }
.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-ph {
  height: 22px;
  margin-bottom: 16px;
}

.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;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13 L10 18 L19 7' fill='none' stroke='rgba(0,0,0,0.6)' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 13 L10 18 L19 7' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55%;
}
.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;
  overflow: hidden;
  background: rgba(0,0,0,0.92);
  touch-action: none;
  contain: paint;
}
.lightbox[hidden] { display: none; }
.lightbox__overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 0;
}
.lightbox__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(90vw, 1100px);
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  z-index: 1;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.lightbox__img--b { visibility: hidden; }
.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2001;
  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%);
  z-index: 2001;
  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--prev svg { transform: translateX(-1.5px); }
.lightbox__arrow--next { right: 20px; }
.lightbox__arrow--next svg { transform: translateX(1.5px); }
.lightbox__counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2001;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  letter-spacing: 0.1em;
  pointer-events: none;
}
@media (max-width: 768px) {
  .lightbox__img { max-width: 100vw; max-height: 100dvh; border-radius: 0; }
}

@media (max-width: 1240px) {
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
  .related__grid .card--catalog { width: calc((100% - 48px) / 3); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── PRODUCT RESPONSIVE: 1024px ────────────────── */
@media (max-width: 1024px) {
  .product-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .catalog__grid { grid-template-columns: repeat(2, 1fr); }
  .related__grid .card--catalog { width: calc((100% - 24px) / 2); }
}

/* ─── PRODUCT RESPONSIVE: 1024px ─────────────────── */
@media (max-width: 1024px) {
  .gallery-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; }
  .catalog__grid { grid-template-columns: 1fr; }
  .related__grid .card--catalog { width: min(280px, 78vw); }
  .card__color-ph { display: none; }
  .product-cta__primary { flex-direction: column; }
  .product-cta__primary .btn { text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* =====================================================
   PH2: PRODUCT HERO — Amazfit-style two-column
   ===================================================== */
.page-top {
  padding-top: calc(var(--header-h) + 40px);
}
@media (max-width: 768px) {
  .page-top { padding-top: calc(var(--header-h) + 24px); }
}
@media (max-width: 480px) {
  .page-top { padding-top: calc(var(--header-h) + 16px); }
}

.product-main {
  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);
  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:not([hidden]) { display: flex; }
.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: pointer;
  touch-action: pan-y;
}
.product-main__main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.18s, transform 0.35s ease;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}
.product-main__main-img--b {
  position: absolute;
  inset: 0;
  visibility: hidden;
}
.product-main__main-img.is-fading { opacity: 0; }
.product-main__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
@media (hover: hover) {
  .product-main__main:hover .product-main__overlay { opacity: 1; }
  .product-main__main:hover .product-main__main-img { transform: scale(1.03); }
}

/* 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; }
@media (hover: hover) { .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; }
.page-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.product-main__price-row { display: flex; align-items: center; gap: 12px;}
#price-old-row { display: none; }
#price-old-row.is-visible { display: flex; }
.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: clamp(22px, 2vw + 12px, 32px); 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: 20px; }
.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;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13 L10 18 L19 7' fill='none' stroke='rgba(0,0,0,0.6)' stroke-width='7' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 13 L10 18 L19 7' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 55%;
}
.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); }
.product-main__desc-more { display: block; margin-top: 8px; font-size: 14px; color: #999; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.product-main__desc-more: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; flex: none; width: 100%; cursor: pointer; order: 1; }
  .product-main__gallery { flex-direction: column; min-width: 0; }
  .product-main__thumbs-wrap { flex-direction: row; width: 100%; height: auto; order: 2; }
  .product-main__thumbs { flex-direction: row; height: auto; overflow-x: auto; overflow-y: hidden; width: 100%; }
  .product-main__thumb-nav { display: none; }
  .product-main__info { min-width: 0; }
  .page-title { font-size: 32px; }
  .product-main__desc { display: none; }
}
@media (max-width: 640px) {
  .product-main__btns { flex-direction: column; }
  .product-main__btns .btn { text-align: center; }
  .page-title { font-size: 26px; }
}
@media (max-width: 480px) {
  .product-main__thumb { width: 52px; height: 52px; }
  .product-main__main { height: 260px; flex: none; }
  .page-title { font-size: 20px; }
}

/* =====================================================
   QUICK SPECS
   ===================================================== */
.quick-specs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.quick-specs__item {
  padding: 40px 24px;
}
.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; gap: 1px; background: var(--border); }
  .quick-specs__item { padding: 20px 24px; background: var(--white); }
}

/* =====================================================
   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-weight: 800;
}
.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; }
.faq__answer-inner a { text-decoration: underline; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) {
  .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) {
  .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; }
  .related__navs { display: none; }
}
@media (max-width: 640px) {
  .section-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .section-title { font-size: 20px; }
}

/* =====================================================
   DEALERS PAGE
   ===================================================== */

/* Page header — universal inner wrapper (breadcrumbs + h1) */
.page-header { margin-bottom: 40px; }
@media (max-width: 768px) {
  .page-header { margin-bottom: 20px; }
}
.page-header__subtitle {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  max-width: 560px;
}

/* Dealers page outer section */
.dealers-page {
  background: var(--white);
  padding-bottom: 40px;
}
@media (max-width: 768px) {
  .dealers-page { padding-bottom: 24px; }
  .page-header__subtitle { font-size: 14px; }
}
@media (max-width: 480px) {
  .dealers-page { padding-bottom: 16px; }
  .page-header__subtitle { font-size: 13px; }
}

/* City quick nav */
.city-nav {
  position: sticky;
  top: calc(var(--header-h));
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: top 0.35s ease;
}
.city-nav__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.city-nav__inner::-webkit-scrollbar { display: none; }
.city-nav__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--black);
  transition: opacity 0.2s;
}
.city-nav__arrow:not([hidden]) { display: flex; }
.city-nav__arrow--prev {
  left: 0;
  background: linear-gradient(to right, var(--white) 55%, transparent);
  padding-right: 8px;
}
.city-nav__arrow--next {
  right: 0;
  background: linear-gradient(to left, var(--white) 55%, transparent);
  padding-left: 8px;
}
.city-nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  padding: 14px 18px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
@media (hover: hover) { .city-nav__link:hover { color: var(--black); } }

/* iOS: первый тап в scroll-контейнере без задержки */
.city-nav__link,
.card--category,
.card--catalog a,
.card--catalog button,
.related__grid a,
.related__grid button {
  touch-action: manipulation;
}
.city-nav__link.is-active { color: var(--red); border-bottom-color: var(--red); }

/* Dealer listing */
.dealer-list {
  padding: var(--section-pad) 0;
  padding-top: 40px;
  background: var(--gray-light);
}
@media (max-width: 1024px) {
  .dealer-list { padding-top: 24px; }
}

.dealer-city {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 32px;
  align-items: start;
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
}
.dealer-city:first-child {
  border-top: none;
  padding-top: 0;
}
.dealer-city:last-child { padding-bottom: 0; }

.dealer-city__heading {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  padding-top: 12px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

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

.dealer-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dealer-card__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.dealer-card__rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.dealer-card__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}
.dealer-card__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--red);
}
.dealer-card__phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dealer-card__phone {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}
.dealer-card__phone:hover { color: var(--red); }
.dealer-card__footer {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.dealer-card__site {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.dealer-card__site:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .dealer-city {
    display: block;
    padding-top: 0;
    padding-bottom: 40px;
    border-top: none;
  }
  .dealer-city:first-child { padding-top: 0; }
  .dealer-city__heading {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 22px;
    padding-top: 0;
    position: static;
  }
  .dealer-city__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .dealer-city__grid { grid-template-columns: 1fr; }
  .dealer-city { padding-bottom: 40px; }
  .city-nav__link { padding: 12px 14px; font-size: 12px; }
  .dealer-city__heading { font-size: 20px; }
}
@media (max-width: 480px) {
  .dealer-city__heading { font-size: 18px; }
}

/* =====================================================
   NEWS LIST PAGE
   ===================================================== */

.news-list-page { padding-bottom: var(--section-pad); }

.news-list-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-list-page__grid .news-card { height: 340px; }

.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 48px;
}
.news-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #666;
  background: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.news-pagination__btn:hover { border-color: var(--black); color: var(--black); }
.news-pagination__btn.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.news-pagination__btn--arrow { color: var(--black); }
.news-pagination__btn--arrow[disabled] { opacity: 0.3; pointer-events: none; }

@media (max-width: 1024px) {
  .news-list-page__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-list-page__grid { grid-template-columns: 1fr; }
  .news-list-page__grid .news-card { height: 260px; }
}

/* =====================================================
   NEWS ARTICLE PAGE
   ===================================================== */

.news-article { padding-bottom: var(--section-pad); }

.news-article__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

.news-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.news-article__cat {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
}
.news-article__date {
  font-size: 13px;
  color: #888;
}
.news-article__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

.news-article__title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 32px;
}

.news-article__hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 40px;
  display: block;
}

.news-article__body {
  font-size: 16px;
  line-height: 1.8;
  color: #222;
}
.news-article__body p { margin-bottom: 20px; }
.news-article__body h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin: 40px 0 16px;
}
.news-article__body h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin: 28px 0 12px;
}
.news-article__body ul,
.news-article__body ol {
  padding-left: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.news-article__body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--red);
  background: var(--gray-light);
  border-radius: 0 6px 6px 0;
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
  color: var(--black);
}

/* Sidebar */
.news-article__sidebar { display: flex; flex-direction: column; gap: 32px; }

.news-sidebar-share {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.news-sidebar-share__title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 16px;
}
.news-sidebar-share__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-sidebar-share__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, background 0.2s;
}
.news-sidebar-share__link:hover { border-color: var(--black); background: var(--gray-light); }

/* Related news at bottom of article */
.news-related { padding: 0 0 var(--section-pad); }
.news-related__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}
.news-related__more {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.news-related__more:hover { text-decoration: underline; }
.news-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-related__grid .news-card { height: 280px; }

@media (max-width: 1024px) {
  .news-article__inner { grid-template-columns: 1fr; }
  .news-article__sidebar { display: none; }
  .news-article__title { font-size: 26px; }
  .news-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news-article__title { font-size: 22px; }
  .news-related__grid { grid-template-columns: 1fr; }
  .news-related__grid .news-card { height: 240px; }
}

/* =====================================================
   TEST-DRIVE PAGE
   ===================================================== */

/* Hero */
.td-hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  background: #000;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.td-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero/hero-1.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.55;
}
.td-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 45%, transparent 100%);
}
.td-hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}
.td-hero__eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 20px;
}
.td-hero__title {
  font-family: var(--font-head);
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.td-hero__title em {
  font-style: normal;
  color: var(--red);
}
.td-hero__desc {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width: 480px;
}
.td-hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.td-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-head);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: tdScrollBounce 2s ease-in-out infinite;
}
.td-hero__scroll svg { opacity: 0.4; }
@keyframes tdScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Why section */
.td-why {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.td-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.td-why__item {
  padding: 36px 28px;
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}
.td-why__item:last-child { border-right: none; }
.td-why__item:hover { background: var(--gray-light); }
.td-why__icon {
  width: 40px;
  height: 40px;
  color: var(--red);
  margin-bottom: 20px;
}
.td-why__heading {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 10px;
}
.td-why__text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

/* Models strip */
.td-models {
  padding: var(--section-pad) 0;
  background: var(--gray-light);
}
.td-models__subtitle {
  font-size: 16px;
  color: #555;
  margin-top: 12px;
  margin-bottom: 40px;
}
.td-models__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.td-model-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.td-model-card:hover { border-color: var(--red); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.td-model-card.is-selected {
  border-color: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}
.td-model-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f0f0f0;
}
.td-model-card__body {
  padding: 20px;
}
.td-model-card__cat {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 6px;
}
.td-model-card__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.td-model-card__spec {
  font-size: 13px;
  color: #777;
}
.td-model-card__check {
  display: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  align-items: center;
  justify-content: center;
  float: right;
  margin-top: -4px;
}
.td-model-card.is-selected .td-model-card__check { display: flex; }

/* Form */
.td-form-section {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.td-form-section__inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: start;
}
.td-form-section__lead {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.td-form-section__lead-title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.25;
  margin-bottom: 20px;
}
.td-form-section__lead-text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 32px;
}
.td-form-section__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.td-form-section__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}
.td-form-section__contact:hover { color: var(--red); }
.td-form-section__contact svg { color: var(--red); flex-shrink: 0; }

.td-form {
  background: var(--gray-light);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.td-form__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}
.td-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.td-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.td-form__field--full { grid-column: 1 / -1; }
.td-form__label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.03em;
}
.td-form__input,
.td-form__select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}
.td-form__input:focus,
.td-form__select:focus { border-color: var(--black); }
.td-form__select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.td-form__field--check { gap: 0; }
.td-form__check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.td-form__check-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.td-form__check-box {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  transition: border-color 0.2s, background 0.2s;
}
.td-form__check-input:checked + .td-form__check-box {
  background: var(--black);
  border-color: var(--black);
}
.td-form__check-input:checked + .td-form__check-box::after {
  content: '';
  position: absolute;
  left: calc(50% - 2px);
  top: calc(50% - 5px);
  width: 4px;
  height: 8px;
  border: 2px solid var(--white);
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.td-form__check-text {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
  transition: color 0.2s;
}
.td-form__check-text a { color: #555; text-decoration: underline; transition: color 0.2s; }
.td-form__check-text a:hover { color: var(--black); }
.td-form__field--check.is-invalid .td-form__check-box { border-color: var(--red); }
.td-form__field--check.is-invalid .td-form__check-text { color: var(--red); }
.td-form__field--check.is-invalid .td-form__check-text a { color: var(--red); }
.td-form__submit { width: 100%; font-size: 15px; padding: 16px; }

/* Form validation states */
.td-form__required { color: var(--red); margin-left: 2px; }
.td-form__error {
  display: block;
  min-height: 17px;
  font-size: 12px;
  color: var(--red);
  margin-top: 3px;
  font-family: var(--font-body);
  line-height: 1.4;
}
.td-form__field.is-invalid .td-form__input { border-color: var(--red); }

/* FAQ */
.td-faq { padding: var(--section-pad) 0; background: var(--gray-light); }
.td-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.td-faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}
.td-faq__q {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.4;
}
.td-faq__a {
  font-size: 14px;
  line-height: 1.65;
  color: #555;
}

/* Responsive */
@media (max-width: 1240px) {
  .td-why__grid { grid-template-columns: repeat(2, 1fr); }
  .td-why__item:nth-child(2) { border-right: none; }
  .td-why__item:nth-child(3),
  .td-why__item:nth-child(4) { border-top: 1px solid var(--border); }
}
@media (max-width: 1024px) {
  .td-hero__title { font-size: 40px; }
  .td-models__grid { grid-template-columns: repeat(2, 1fr); }
  .td-form-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .td-form-section__lead { position: static; }
  .td-faq__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .td-hero__title { font-size: 30px; }
  .td-hero__desc { font-size: 16px; }
  .td-why__grid { grid-template-columns: 1fr; }
  .td-why__item { border-right: none; border-top: 1px solid var(--border); }
  .td-why__item:first-child { border-top: none; }
  .td-models__grid { grid-template-columns: 1fr; }
  .td-form { padding: 24px; }
  .td-form__row { grid-template-columns: 1fr; }
}

/* =====================================================
   CONTENT PAGE (policy, terms, etc.)
   ===================================================== */

.content-page { padding-bottom: var(--section-pad); }
.content-page__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
.content-page__toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  transition: top 0.35s ease;
}
.content-page__toc-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 16px;
}
.content-page__toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.content-page__toc-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  padding: 6px 12px;
  border-left: 2px solid var(--border);
  line-height: 1.4;
  transition: color 0.2s, border-color 0.2s;
}
.content-page__toc-link:hover,
.content-page__toc-link.is-active {
  color: var(--black);
  border-left-color: var(--red);
}

.policy-content h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 32px;
}
.policy-content h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--black);
  margin: 40px 0 16px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 32px);
}
.policy-content h3:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.policy-content p {
  font-size: 15px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 12px;
}
.policy-content a {
  color: var(--red);
  text-decoration: none;
}
.policy-content a:hover { text-decoration: underline; }

.policy-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0 24px;
}
.policy-table_row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--border);
}
.policy-table_row:last-child { border-bottom: none; }
.policy-table_title {
  padding: 16px 20px;
  background: var(--gray-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  border-right: 1px solid var(--border);
}
.policy-table_content {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
.policy-table_content ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (max-width: 1024px) {
  .content-page__inner { grid-template-columns: 1fr; }
  .content-page__toc { display: none; }
}
@media (max-width: 768px) {
  .policy-content h2 { font-size: 22px; }
  .policy-content p,
  .policy-content ul,
  .policy-content li { font-size: 14px; }
  .policy-table_row { grid-template-columns: 1fr; }
  .policy-table_title { border-right: none; border-bottom: 1px solid var(--border); }
}

/* =====================================================
   CONTACTS PAGE
   ===================================================== */

.contacts-page { padding-bottom: var(--section-pad); }

/* Sidebar + main layout */
.contacts-page__layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.contacts-page__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  transition: top 0.35s ease;
}

/* Page nav (sidebar) */
.side-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-menu__link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--gray);
  text-decoration: none;
  padding: 7px 12px 7px 14px;
  border-radius: 0 4px 4px 0;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.4;
}

.side-menu__link:hover { color: var(--black); border-left: 2px solid var(--border); padding-left: 12px; }

.side-menu__link.is-active {
  color: var(--black);
  font-weight: 600;
  border-left: 2px solid var(--red);
  padding-left: 12px;
}

.side-menu__link--goto svg { opacity: 0.5; }

.contacts-page__grid {
  display: flex;
  gap: 48px;
  align-items: start;
}
.contacts-page__info,
.contacts-page__form {
  display: flex;
  gap: 36px;
  flex-direction: column;
}

/* Contact groups */
.contact-group {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
}
.contact-group:last-child { margin-bottom: 0; }

.contact-group__title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 20px;
}

/* Contact list */
.contact-list { display: grid; grid-template-columns: 1fr; gap: 24px 32px; }

.contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--red);
  margin-top: 2px;
}
.contact-list__icon svg { width: 20px; height: 20px; }

.contact-list__body { display: flex; flex-direction: column; gap: 3px; }

.contact-list__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #aaa;
}

.contact-list__value {
  font-size: 16px;
  color: var(--black);
  line-height: 1.5;
}

.contact-list__value--link {
  color: var(--black);
  transition: color 0.2s;
}
.contact-list__value--link:hover { color: var(--red); }

/* Social links */
.contact-social { display: flex; flex-direction: column; gap: 12px; }

.contact-social__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s;
}
.contact-social__link:hover { color: var(--red); }

/* Contact form box */
.contact-form {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 40px;
  width: 500px;
  max-width: 100%;
}
.contact-form .td-form { padding: 0; background: none; border-radius: 0; }
.contact-form .td-form__error { min-height: 0; }

.contact-form__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.contact-form__desc {
  font-size: 14px;
  color: #777;
  margin-bottom: 28px;
}

/* Textarea variant of td-form__input */
.td-form__textarea {
  resize: vertical;
  min-height: 120px;
}

/* Responsive */
@media (max-width: 1240px) {
  .contacts-page__layout { grid-template-columns: 1fr; gap: 24px; }
  .contacts-page__sidebar { position: static; }
  .side-menu { flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .side-menu__link { border-left: none; border-bottom: 2px solid transparent; border-radius: 4px 4px 0 0; padding: 6px 14px 6px 12px; }
  .side-menu__link:hover { border-left: none; border-bottom: 2px solid var(--border); padding: 6px 14px 6px 12px; }
  .side-menu__link.is-active { border-left: none; border-bottom: 2px solid var(--red); padding: 6px 14px 6px 12px; }
}

@media (max-width: 1024px) {
  .contacts-page__grid { gap: 40px; }
}

@media (max-width: 900px) {
  .contacts-page__grid { flex-direction: column-reverse; gap: 40px; align-items: stretch; }
  .contacts-page__info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .contacts-page__info .contact-group { margin-bottom: 0; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-form { width: 100%; }
}

@media (max-width: 768px) {
  .contact-form { padding: 28px 20px; }
  .contacts-page__info { grid-template-columns: 1fr;}
}
