/* ══════════════════════════════════════════════
   VVV Brake Systems — Light Design (white · red · black)
   Реализация по эталон-макету
══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #E30613;
  --red-hover:  #C40410;
  --red-soft:   rgba(227, 6, 19, 0.08);
  --red-soft-2: rgba(227, 6, 19, 0.14);
  --red-border: rgba(227, 6, 19, 0.22);

  --bg:        #FAFAFA;
  --card:      #FFFFFF;
  --ink:       #1A1A1A;
  --muted:     #6B6B70;
  --border:    #E7E7EA;

  --dark:      #161616;   /* чёрные секции */
  --dark-2:    #1E1E1E;
  --white:     #FFFFFF;

  /* Compat aliases (для HTML, сгенерированного main.js) */
  --black:  #161616;
  --grey:   #F2F2F3;
  --mid:    #E7E7EA;
  --silver: #6B6B70;
  --light:  #3A3A3D;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm:  10px;
  --r-md:  14px;
  --r-lg:  18px;
  --r-xl:  22px;
  --r-2xl: 28px;
  --r-3xl: 34px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-red: 0 16px 40px rgba(227,6,19,0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }

/* ── Scroll progress ─────────────────────────── */
.scroll-indicator {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--red); z-index: 100; transition: width 0.1s linear;
}

/* ══ TICKER (бегущая строка) ══════════════════ */
/* ══ TOPBAR (шапка + бегущая строка) ══════════ */
#topbar { position: fixed; inset: 0 0 auto 0; z-index: 50; }

.ticker {
  position: relative; z-index: 1;
  height: 34px; overflow: hidden; white-space: nowrap;
  background: var(--red); color: #fff;
  display: flex; align-items: center;
}
.ticker-inner { display: inline-flex; align-items: center; will-change: transform; animation: ticker-run 32s linear infinite; }
.ticker-item { display: inline-flex; align-items: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em; padding: 0 4px; }
.ticker-sep { margin: 0 14px; color: rgba(255,255,255,0.55); font-weight: 700; }
@keyframes ticker-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ══ HEADER ═══════════════════════════════════ */
#header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-badge {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--dark);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.logo-badge img { height: 22px; width: auto; filter: invert(1); }
.logo-word { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 500; color: rgba(26,26,26,0.66);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--red-soft); color: var(--red); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--red); color: #fff;
  padding: 10px 20px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.nav-cta:hover { transform: scale(1.03); background: var(--red-hover); }

.burger {
  width: 40px; height: 40px; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border-radius: var(--r-md);
}
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }

.mobile-menu {
  max-width: 1152px; margin: 8px auto 0;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 8px;
  display: none; flex-direction: column;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px; border-radius: var(--r-md);
  font-size: 0.9rem; font-weight: 500; color: rgba(26,26,26,0.8);
  transition: background 0.2s, color 0.2s;
}
.mobile-menu a:hover { background: var(--red-soft); color: var(--red); }

/* ══ SECTION PRIMITIVES ═══════════════════════ */
.section { padding: 88px 0; }
.section-top-red { border-top: 4px solid var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.875rem; font-weight: 600; color: var(--red);
}
.eyebrow-bar { width: 4px; height: 16px; border-radius: 999px; background: var(--red); }
.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 6px 16px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
}

.h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.25rem);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.1;
  color: var(--ink); margin-top: 12px;
}
.lead { margin-top: 16px; color: var(--muted); line-height: 1.65; max-width: 560px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ══ HERO / SEARCH ════════════════════════════ */
#search { position: relative; overflow: hidden; padding-top: 128px; min-height: 96vh; display: flex; flex-direction: column; justify-content: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.hero-bg-img {
  position: absolute; right: 0; top: 0; height: 100%; width: 52%;
  opacity: 0.2; object-fit: cover; object-position: left center;
}
.hero-bg-fade-r { position: absolute; right: 0; top: 0; height: 100%; width: 55%;
  background: linear-gradient(90deg, var(--bg), rgba(250,250,250,0.5) 45%, transparent); z-index: 1; }
.hero-blob {
  position: absolute; left: -80px; top: 90px; width: 320px; height: 320px;
  border-radius: 50%; background: var(--red-soft-2); filter: blur(80px); z-index: 0;
}
.hero-bg-fade-b { position: absolute; inset: auto 0 0 0; height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 1; }

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 40px 24px 80px; }
.hero-head { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-title {
  margin-top: 24px;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; color: var(--ink);
}
.hero-title .accent { color: var(--red); }
.hero-sub { margin: 20px auto 0; max-width: 580px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

/* Search card */
.search-card {
  max-width: 640px; margin: 44px auto 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--r-3xl);
  box-shadow: var(--shadow-lg);
  padding: 8px;
}
.search-tabs { display: flex; gap: 4px; background: rgba(22,22,22,0.05); border-radius: var(--r-xl); padding: 4px; }
.search-tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-md);
  font-size: 0.875rem; font-weight: 600; color: rgba(26,26,26,0.55);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.search-tab.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.search-panel { padding: 14px; display: none; }
.search-panel.active { display: block; }

.search-row { display: flex; gap: 12px; }
.search-input-wrap { position: relative; flex: 1; }
.search-input-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-input {
  width: 100%; height: 56px;
  border: 1px solid var(--border); background: var(--card);
  border-radius: var(--r-xl);
  padding: 0 16px 0 46px;
  font-size: 1rem; color: var(--ink); font-family: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft-2); }

.search-select {
  height: 56px; border: 1px solid var(--border); background: var(--card);
  border-radius: var(--r-xl); padding: 0 14px; font-size: 0.95rem; color: var(--ink);
  font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s;
}
.search-select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft-2); }
.search-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Быстрый выбор марки (заготовки под логотипы) */
.brand-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  font-size: 0.78rem; font-weight: 600; color: rgba(26,26,26,0.7);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.brand-chip-logo { height: 16px; width: auto; max-width: 28px; object-fit: contain; }
.brand-chip:hover { border-color: var(--red); color: var(--red); }
.brand-chip.active { background: var(--red); border-color: var(--red); color: #fff; }
.brand-chip.active .brand-chip-logo { filter: brightness(0) invert(1); }

.search-btn {
  height: 56px; padding: 0 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--red); color: #fff;
  border-radius: var(--r-xl); font-size: 1rem; font-weight: 600;
  transition: transform 0.18s var(--ease), background 0.2s;
  white-space: nowrap;
}
.search-btn:hover { transform: scale(1.02); background: var(--red-hover); }
.search-btn:active { transform: scale(0.96); }
.search-btn-full { width: 100%; margin-top: 12px; }

.search-hints { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.search-hints-label { font-size: 0.75rem; color: var(--muted); }
.hero-hint-tag {
  border: 1px solid var(--border); background: var(--card);
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; color: rgba(26,26,26,0.8);
  transition: border-color 0.2s, color 0.2s;
}
.hero-hint-tag:hover { border-color: var(--red); color: var(--red); }

/* Search result zone */
.search-result-zone { display: none; max-width: 720px; margin: 20px auto 0; }
.search-result-zone.has-result { display: block; }
.cr-results-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cr-results-grid .cr-product-card { margin: 0; }

/* Trust stats */
.hero-stats { max-width: 640px; margin: 44px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 18px 12px; text-align: center; box-shadow: var(--shadow-sm); }
.hero-stat-v { font-size: 1.5rem; font-weight: 800; color: var(--red); }
.hero-stat-l { margin-top: 4px; font-size: 0.75rem; color: var(--muted); line-height: 1.25; }

/* ══ PRODUCTS ═════════════════════════════════ */
#products { background: var(--bg); }
.prod-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-3xl);
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}
.prod-card-a { position: absolute; inset: 0; z-index: 4; }
.prod-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red); z-index: 2; }
.prod-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow-lg); }
.prod-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #F0F0F1; }
.prod-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.prod-card:hover .prod-photo img { transform: scale(1.05); }
.prod-photo.is-empty img { display: none; }
.prod-photo.is-empty::after { content: 'VVV'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; font-weight: 800; color: #C9C9CC; letter-spacing: 2px; }
.prod-tag { position: absolute; left: 12px; top: 12px; z-index: 3;
  background: var(--red); color: #fff; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.prod-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.prod-name { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.prod-name svg { color: var(--red-border); transition: color 0.2s; flex-shrink: 0; }
.prod-card:hover .prod-name svg { color: var(--red); }
.prod-desc { margin-top: 8px; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* Catalog CTA banner */
.catalog-cta { margin-top: 48px; background: var(--red); border-radius: var(--r-3xl); overflow: hidden; }
.catalog-cta-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: 36px; }
.catalog-cta-left { display: flex; align-items: flex-start; gap: 16px; }
.catalog-cta-ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.16); color: #fff; display: flex; align-items: center; justify-content: center; }
.catalog-cta h3 { font-size: 1.4rem; font-weight: 800; color: #fff; }
.catalog-cta p { margin-top: 6px; max-width: 460px; color: rgba(255,255,255,0.82); line-height: 1.6; }
.catalog-cta-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--red); padding: 14px 24px; border-radius: var(--r-xl);
  font-size: 0.9rem; font-weight: 600; transition: transform 0.2s var(--ease); }
.catalog-cta-btn:hover { transform: scale(1.02); }

/* ══ SERIES + WHY VVV (объединённый блок) ═════ */
.series-why { background: #FCEFF0; }

.series-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.series-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--r-3xl); padding: 32px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.series-card-top { display: flex; align-items: center; justify-content: space-between; }
.series-ic {
  width: 38px; height: 38px; border-radius: var(--r-md); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.series-badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; }
.series-name { margin-top: 18px; font-size: 1.35rem; font-weight: 800; }
.series-temp { margin-top: 6px; font-size: 0.8rem; font-weight: 600; }
.series-text { margin-top: 14px; font-size: 0.875rem; line-height: 1.6; }
.series-feats { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.series-feats li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; line-height: 1.45; }
.series-feats svg { flex-shrink: 0; margin-top: 2px; }

/* Блок коэффициента внутри карточки */
.series-coef { margin-top: auto; padding-top: 22px; margin-top: 22px; border-top: 1px solid rgba(0,0,0,0.08); }
.series-coef-label { font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.series-coef-val { margin-top: 4px; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; }
.series-coef-sub { margin-top: 6px; font-size: 0.8rem; line-height: 1.5; opacity: 0.8; }

/* ─ Тема «Стандарт» — серый, спокойный ─ */
.theme-standard {
  background: linear-gradient(165deg, #F4F4F6 0%, #E7E7EA 100%);
  border: 1px solid #DADADE; color: var(--ink);
}
.theme-standard .series-ic { background: rgba(26,26,26,0.08); color: #55565B; }
.theme-standard .series-badge { background: rgba(26,26,26,0.08); color: #55565B; }
.theme-standard .series-temp,
.theme-standard .series-text,
.theme-standard .series-feats li { color: #55565B; }
.theme-standard .series-feats svg { color: #8A8A90; }
.theme-standard .series-coef { border-top-color: rgba(0,0,0,0.1); }
.theme-standard .series-coef-val { color: #3A3A40; }
.theme-standard:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(60,60,67,0.18); }

/* ─ Тема «Премиум» — чёрно-красно-серебристый градиент, по центру ─ */
.theme-premium {
  background: linear-gradient(160deg, #101012 0%, #241214 42%, #3d3d42 78%, #58585e 100%);
  color: #fff; transform: translateY(-14px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
  z-index: 2;
}
.theme-premium::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 60% at 15% 0%, rgba(227,6,19,0.25), transparent 60%);
}
.theme-premium .series-ic { background: rgba(227,6,19,0.18); color: var(--red); }
.theme-premium .series-badge { background: var(--red); color: #fff; }
.theme-premium .series-temp { color: rgba(255,255,255,0.6); }
.theme-premium .series-text { color: rgba(255,255,255,0.72); }
.theme-premium .series-feats li { color: rgba(255,255,255,0.9); }
.theme-premium .series-feats svg { color: var(--red); }
.theme-premium .series-coef { border-top-color: rgba(255,255,255,0.14); }
.theme-premium .series-coef-val { color: #fff; }
.theme-premium .series-coef-sub { color: rgba(255,255,255,0.65); }
.theme-premium:hover { transform: translateY(-20px) scale(1.03); box-shadow: 0 36px 70px rgba(0,0,0,0.42); }

/* ─ Тема «Спорт» — огненно-красный, дерзкий ─ */
.theme-sport {
  background: linear-gradient(160deg, #FF4D2E 0%, #E30613 55%, #7A0007 100%);
  color: #fff; box-shadow: 0 20px 44px rgba(227,6,19,0.30);
}
.theme-sport::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background: radial-gradient(70% 50% at 90% 100%, rgba(255,255,255,0.22), transparent 60%);
}
.theme-sport .series-ic { background: rgba(255,255,255,0.18); color: #fff; }
.theme-sport .series-badge { background: rgba(0,0,0,0.25); color: #fff; }
.theme-sport .series-temp { color: rgba(255,255,255,0.8); }
.theme-sport .series-text { color: rgba(255,255,255,0.9); }
.theme-sport .series-feats li { color: #fff; }
.theme-sport .series-feats svg { color: #fff; }
.theme-sport .series-coef { border-top-color: rgba(255,255,255,0.25); }
.theme-sport .series-coef-val { color: #fff; }
.theme-sport .series-coef-sub { color: rgba(255,255,255,0.85); }
.theme-sport:hover { transform: translateY(-8px); box-shadow: 0 26px 54px rgba(227,6,19,0.42); }

/* ─ Шкала коэффициента трения (легенда + фото маркировки) ─ */
.scale-block {
  margin-top: 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
  background: #101012; border-radius: var(--r-3xl); padding: 40px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.25);
}
.scale-heading { font-family: inherit; font-size: 1.15rem; font-weight: 800; color: #fff; }
.scale-desc { margin-top: 10px; font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.6); max-width: 440px; }
.scale-table { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; max-width: 380px; }
.scale-row {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.scale-code {
  flex-shrink: 0; min-width: 34px; text-align: center;
  font-family: var(--font); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 3px 8px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
}
.scale-name { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.scale-range { margin-left: auto; font-size: 0.76rem; color: rgba(255,255,255,0.45); }
.scale-row.is-standard .scale-code { background: rgba(255,255,255,0.14); color: #fff; }
.scale-row.is-premium  .scale-code { background: rgba(227,6,19,0.55); color: #fff; }
.scale-row.is-sport    .scale-code { background: var(--red); color: #fff; }
.scale-photo {
  position: relative; aspect-ratio: 4/3; border-radius: var(--r-xl); overflow: hidden;
  background: #1a1a1c; display: flex; align-items: center; justify-content: center;
}
.scale-photo img { width: 100%; height: 100%; object-fit: cover; }
.scale-photo.is-empty img { display: none; }
.scale-photo.is-empty::after {
  content: 'VVV'; font-family: var(--font); font-weight: 800; font-size: 2rem; letter-spacing: 2px;
  color: rgba(255,255,255,0.18);
}

.benefits-row { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { display: flex; align-items: flex-start; gap: 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-3xl); padding: 24px; }
.benefit-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.benefit h3 { font-size: 1rem; font-weight: 700; color: var(--ink); }
.benefit p { margin-top: 4px; font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ══ HISTORY (dark) ═══════════════════════════ */
#history { background: var(--dark); color: #fff; }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
#history .eyebrow { color: var(--red); }
#history .h2 { color: #fff; }
.history-lead { margin-top: 16px; max-width: 440px; color: rgba(255,255,255,0.68); line-height: 1.65; }
.history-stats { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.history-stat { border-radius: var(--r-xl); padding: 20px; }
.history-stat.red { border: 1px solid var(--red-border); background: var(--red-soft); }
.history-stat.plain { border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); }
.history-stat-v { font-size: 1.9rem; font-weight: 800; }
.history-stat.red .history-stat-v { color: var(--red); }
.history-stat-l { margin-top: 4px; font-size: 0.875rem; color: rgba(255,255,255,0.68); }

.timeline { position: relative; border-left: 1px solid rgba(255,255,255,0.15); padding-left: 32px; display: flex; flex-direction: column; gap: 32px; }
.timeline-item { position: relative; }
.timeline-dot { position: absolute; left: -41px; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--dark); }
.timeline-year { font-size: 0.875rem; font-weight: 700; color: var(--red); }
.timeline-title { margin-top: 4px; font-size: 1.1rem; font-weight: 700; }
.timeline-text { margin-top: 4px; font-size: 0.875rem; line-height: 1.6; color: rgba(255,255,255,0.68); }

/* ══ DISTRIBUTOR (dark) ═══════════════════════ */
#distributor { background: var(--dark); color: #fff; padding-top: 0; }
.dist-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-3xl);
  padding: 48px;
}
.dist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.dist-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.8); padding: 6px 16px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; }
.dist-title { margin-top: 24px; font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.dist-text { margin-top: 16px; color: rgba(255,255,255,0.7); line-height: 1.65; }
.dist-list { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.dist-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.85); line-height: 1.55; }
.dist-list svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.dist-btn { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff; padding: 14px 28px; border-radius: 999px; font-size: 1rem; font-weight: 600;
  transition: transform 0.2s var(--ease), background 0.2s; }
.dist-btn:hover { transform: scale(1.03); background: var(--red-hover); }
.dist-benefits { display: flex; flex-direction: column; gap: 16px; }
.dist-benefit { display: flex; align-items: flex-start; gap: 16px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05); border-radius: var(--r-xl); padding: 20px; }
.dist-benefit-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--red-soft-2); color: var(--red); display: flex; align-items: center; justify-content: center; }
.dist-benefit h3 { font-size: 1rem; font-weight: 700; color: #fff; }
.dist-benefit p { margin-top: 4px; font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.55; }

/* ══ CONTACTS ═════════════════════════════════ */
#contacts { background: var(--bg); }
.contacts-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card { display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-3xl); padding: 24px;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s; }
a.contact-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow-md); }
.contact-ic { width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; }
.contact-label { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.contact-value { margin-top: 4px; font-size: 1.05rem; font-weight: 700; color: var(--ink); }

/* ══ FOOTER (dark) ════════════════════════════ */
#footer { background: var(--dark); color: #fff; }
.footer-inner { padding: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 2fr; gap: 48px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { height: 52px; width: auto; filter: invert(1); }
.footer-logo-badge { width: 44px; height: 44px; border-radius: var(--r-md); background: #fff;
  display: flex; align-items: center; justify-content: center; }
.footer-logo-badge img { height: 24px; width: auto; }
.footer-brand-word { font-size: 1.25rem; font-weight: 800; color: #fff; }
.footer-desc { margin-top: 20px; max-width: 360px; font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.65; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col-title { font-size: 0.875rem; font-weight: 700; color: #fff; }
.footer-links { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer-copy, .footer-dist { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-dist a { color: rgba(255,255,255,0.8); font-weight: 500; transition: color 0.2s; }
.footer-dist a:hover { color: var(--red); }

/* ── Dev credit ─────────────────────────────── */
.dev-credit { background: #0F0F0F; padding: 12px 24px; display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.dev-vk-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.75); font-weight: 500; }
.dev-vk-icon { width: 18px; height: 18px; }

/* ── Lightbox (используется JS) ──────────────── */
.lightbox { display: none; position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.85);
  align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; border-radius: var(--r-md); }
.lightbox-close { position: absolute; top: 20px; right: 24px; font-size: 2.5rem; color: #fff; line-height: 1; }

/* ── Cross-search result cards (JS-rendered) ─── */
.search-result-zone .container { padding: 0; }
.cr-product-card, .cross-card, .product-detail-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm); padding: 20px; color: var(--ink);
}

/* ══ NEWS (новости) ═══════════════════════════ */
#news { background: #FCEFF0; }
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.news-more { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 0.9rem; }
.news-more:hover { text-decoration: underline; }
.news-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-3xl);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s; }
.news-card:hover { transform: translateY(-6px); border-color: var(--red); box-shadow: var(--shadow-lg); }
.news-img { position: relative; aspect-ratio: 16/10; background: var(--dark); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-img-photo { width: 100%; height: 100%; object-fit: cover; }
.news-date-badge { position: absolute; left: 14px; top: 14px; background: var(--red); color: #fff;
  padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; }
.news-body { flex: 1; display: flex; flex-direction: column; padding: 24px; }
.news-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.news-title { margin-top: 10px; font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.news-text { margin-top: 10px; font-size: 0.875rem; color: var(--muted); line-height: 1.6; flex: 1; }
.product-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  color: var(--red); font-weight: 600; font-size: 0.875rem; }
.product-link:hover { text-decoration: underline; }
.skeleton-card { border: 1px solid var(--border); border-radius: var(--r-3xl); overflow: hidden; background: var(--card); }
.skel-img { aspect-ratio: 16/10; background: linear-gradient(100deg, #eee 30%, #f5f5f5 50%, #eee 70%); background-size: 200% 100%; animation: skel 1.4s infinite; }
.skel-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.skel-line { height: 12px; border-radius: 6px; background: linear-gradient(100deg, #eee 30%, #f5f5f5 50%, #eee 70%); background-size: 200% 100%; animation: skel 1.4s infinite; }
.skel-line.short { width: 40%; } .skel-line.med { width: 70%; }
@keyframes skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ══ CATALOG PAGE ═════════════════════════════ */
.catalog-page { min-height: 70vh; padding-top: 128px; }
.catalog-layout { margin-top: 40px; display: grid; grid-template-columns: 264px 1fr; gap: 28px; align-items: start; }

/* Фильтры */
.catalog-filters {
  position: sticky; top: 122px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-3xl);
  padding: 24px; display: flex; flex-direction: column; gap: 22px;
  box-shadow: var(--shadow-sm);
}
.cf-block { display: flex; flex-direction: column; gap: 10px; }
.cf-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cf-search-wrap { position: relative; }
.cf-search-wrap svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.cf-search {
  width: 100%; height: 42px;
  border: 1px solid var(--border); background: var(--bg);
  border-radius: var(--r-md); padding: 0 12px 0 36px;
  font-size: 0.875rem; color: var(--ink); font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-search:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft-2); }
.cf-options { display: flex; flex-direction: column; gap: 8px; }
.cf-option { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.875rem; color: var(--ink); user-select: none; }
.cf-option input { position: absolute; opacity: 0; pointer-events: none; }
.cf-check {
  width: 18px; height: 18px; flex-shrink: 0;
  border: 1.5px solid #C9C9CC; border-radius: 5px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.cf-option input:checked + .cf-check { background: var(--red); border-color: var(--red); }
.cf-option input:checked + .cf-check::after {
  content: ''; width: 5px; height: 9px; margin-top: -2px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.cf-option:hover .cf-check { border-color: var(--red); }
.cf-none { font-size: 0.8rem; color: var(--muted); }
.cf-reset {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-md);
  border: 1px solid var(--border); background: var(--bg);
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.cf-reset:hover { color: var(--red); border-color: var(--red); }

/* Раскрывающиеся фильтры (Марка/Модель авто) */
.cf-accordion { border-top: 1px solid var(--border); padding-top: 16px; }
.cf-accordion-head {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); transition: color 0.2s;
}
.cf-accordion-head:hover { color: var(--red); }
.cf-accordion-chevron { flex-shrink: 0; transition: transform 0.22s var(--ease); color: var(--muted); }
.cf-accordion.open .cf-accordion-chevron { transform: rotate(180deg); color: var(--red); }
.cf-accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.25s var(--ease); }
.cf-accordion.open .cf-accordion-body { max-height: 220px; overflow-y: auto; margin-top: 12px; }
.cf-accordion .cf-options { padding-bottom: 2px; }

/* Тулбар */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.catalog-count { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.catalog-sort {
  height: 40px; border: 1px solid var(--border); background: var(--card);
  border-radius: var(--r-md); padding: 0 12px; font-size: 0.82rem; color: var(--ink); font-family: inherit;
}
.catalog-sort:focus { outline: none; border-color: var(--red); }

/* Группы */
.catalog-group { margin-top: 28px; }
.catalog-group-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.25rem; font-weight: 800; color: var(--ink);
  padding-bottom: 12px; border-bottom: 2px solid var(--red); margin-bottom: 18px;
}
.catalog-group-count {
  font-size: 0.72rem; font-weight: 700; color: var(--red);
  background: var(--red-soft); border-radius: 999px; padding: 3px 10px;
}

/* Карточки товаров */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-xl);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow-md); }
.cat-card-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #F0F0F1; }
.cat-card-photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.4s var(--ease); }
.cat-card:hover .cat-card-photo img { transform: scale(1.04); }
.cat-card-photo.is-empty img { display: none; }
.cat-card-photo.is-empty::after {
  content: 'VVV'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: #C9C9CC; letter-spacing: 2px;
}
.cat-card-body { flex: 1; display: flex; flex-direction: column; padding: 16px; cursor: pointer; }
.cat-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cat-card-cat { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--red); }
.cat-card-fmsi { font-size: 0.68rem; font-weight: 600; color: var(--muted); }
.cat-card-name { margin-top: 6px; font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.cat-card-dims { margin-top: 4px; font-size: 0.75rem; color: var(--muted); }
.cat-card-desc { margin-top: 8px; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.cat-card-feats { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; list-style: none; }
.cat-card-feats li { position: relative; padding-left: 14px; font-size: 0.78rem; color: var(--ink); }
.cat-card-feats li::before { content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.cat-card-link {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 0.82rem; font-weight: 600; color: var(--red);
}
.cat-card-link:hover { text-decoration: underline; }

/* Пусто */
.catalog-empty { margin-top: 48px; text-align: center; color: var(--muted); }
.catalog-empty svg { color: #C9C9CC; }
.catalog-empty h3 { margin-top: 14px; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.catalog-empty p { margin: 8px auto 0; max-width: 420px; font-size: 0.9rem; line-height: 1.6; }
.catalog-empty a { color: var(--red); font-weight: 600; }
.catalog-empty a:hover { text-decoration: underline; }

/* Кнопка «Посмотреть в каталоге» в результатах поиска */
.cr-catalog-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px; padding: 10px 18px;
  background: var(--red); color: #fff;
  border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  transition: transform 0.18s var(--ease), background 0.2s;
}
.cr-catalog-btn:hover { transform: scale(1.03); background: var(--red-hover); color: #fff; }

/* Кнопка «Назад» на странице каталога */
.catalog-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px; padding: 9px 16px;
  border: 1px solid var(--border); background: var(--card);
  border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--ink);
  transition: border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.catalog-back:hover { border-color: var(--red); color: var(--red); transform: translateX(-2px); }

/* Карточка товара — модальное окно */
.product-modal {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(20,20,22,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 24px;
}
.product-modal.open { display: flex; }
.product-modal-card {
  position: relative; width: 100%; max-width: 720px; max-height: 90vh; overflow-y: auto;
  background: var(--card); border-radius: var(--r-2xl); box-shadow: var(--shadow-lg);
  padding: 28px;
}
.product-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--border);
  font-size: 1.4rem; line-height: 1; color: var(--muted);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s;
}
.product-modal-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.product-modal-body { display: grid; grid-template-columns: 1fr; gap: 24px; min-width: 0; }
.pm-photo-col { display: flex; min-width: 0; }
.pm-photo-wrap {
  position: relative; width: 100%; aspect-ratio: 4/3; max-height: 320px;
  border-radius: var(--r-xl); overflow: hidden; background: #F0F0F1;
  display: flex; align-items: center; justify-content: center;
}
.pm-photo { width: 100%; height: 100%; object-fit: contain; background: #fff; cursor: zoom-in; }
.pm-photo-wrap.is-empty::after {
  content: 'VVV'; font-size: 2rem; font-weight: 800; color: #C9C9CC; letter-spacing: 2px;
}
.pm-info-col { display: flex; flex-direction: column; min-width: 0; }
.pm-id { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pm-name { margin-top: 4px; font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.pm-fmsi { margin-top: 6px; display: inline-block; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: 0.75rem; font-weight: 700; }
.pm-desc { margin-top: 14px; font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.pm-section-title { margin-top: 20px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink); padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.pm-specs { margin-top: 10px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; list-style: none; }
.pm-specs li { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; background: var(--bg); border-radius: var(--r-sm); padding: 8px 12px; }
.pm-specs li span { color: var(--muted); }
.pm-specs li strong { color: var(--ink); font-weight: 700; }
.pm-fits { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-fit-tag { padding: 5px 12px; border-radius: 999px; background: var(--red); color: #fff; font-size: 0.75rem; font-weight: 600; }
.pm-fit-tag.alt { background: var(--bg); color: var(--ink); border: 1px solid var(--border); }
.pm-fit-year { margin-top: 8px; font-size: 0.8rem; color: var(--muted); }
@media (min-width: 640px) {
  .product-modal-body { grid-template-columns: 240px minmax(0, 1fr); }
  .pm-photo-wrap { max-height: none; height: 100%; }
}

/* ══ RESPONSIVE ═══════════════════════════════ */
@media (max-width: 1024px) {
  .prod-grid, .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-row { grid-template-columns: 1fr; }
  .series-grid, .news-grid { grid-template-columns: 1fr; }
  .theme-premium, .theme-premium:hover { transform: none; }
  .scale-block { grid-template-columns: 1fr; }
  .scale-photo { aspect-ratio: 16/9; }
  .history-grid, .dist-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filters { position: static; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cr-results-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .catalog-cta-inner { align-items: flex-start; }
  .hero-stats { gap: 8px; }
}
@media (max-width: 560px) {
  .prod-grid, .contacts-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .search-row { flex-direction: column; }
  .search-btn { width: 100%; }
  .search-selects { grid-template-columns: 1fr; }
  .dist-card { padding: 28px; }
}
