*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #090909;
  --bg2: #111111;
  --bg3: #181818;
  --fg: #f0ede8;
  --fg2: #a09890;
  --accent: oklch(0.65 0.18 38);
  --accent2: oklch(0.55 0.18 38);
  --border: rgba(255,255,255,0.07);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent2); border-radius: 2px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(9,9,9,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--fg);
  display: flex; align-items: center; gap: 8px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; }
/* BENEFITS TICKER */
.ticker-wrap {
  overflow: hidden; background: var(--accent);
  padding: 12px 0; white-space: nowrap;
}
.ticker-inner {
  display: inline-flex; gap: 64px;
  animation: ticker 28s linear infinite;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: #fff;
}
.ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.5); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* BENEFITS SECTION */
.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 0;
}
@media (max-width: 900px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-card {
  background: var(--bg2); padding: 40px 36px;
  border: 1px solid var(--border); border-top: none;
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.3s;
}
.benefit-card:hover { background: var(--bg3); }
.benefit-num {
  font-family: var(--font-display); font-size: 52px;
  color: var(--accent); line-height: 1; letter-spacing: 1px;
}
.benefit-title { font-size: 18px; font-weight: 600; }
.benefit-text { font-size: 14px; color: var(--fg2); line-height: 1.7; }

/* REVIEWS */
.reviews-track-wrap { overflow: hidden; margin-top: 64px; position: relative; }
.reviews-track-wrap::before, .reviews-track-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.reviews-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg2), transparent); }
.reviews-track-wrap::after { right: 0; background: linear-gradient(to left, var(--bg2), transparent); }
.reviews-track {
  display: flex; gap: 20px;
  animation: slideReviews 40s linear infinite;
  width: max-content;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes slideReviews { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card {
  background: var(--bg3); border: 1px solid var(--border);
  padding: 28px 28px; width: 340px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.review-stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.review-text { font-size: 14px; color: var(--fg2); line-height: 1.7; font-style: italic; }
.review-author { font-size: 13px; font-weight: 600; color: var(--fg); }
.review-city { font-size: 12px; color: var(--fg2); }

.nav-links a {
  color: var(--fg2); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  background: var(--accent);
  color: #fff;
  border: none; cursor: pointer;
  padding: 9px 22px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-cta:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* HERO */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.92;
  letter-spacing: 4px;
  color: var(--fg);
  margin-bottom: 28px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s forwards;
}
.hero-title span { color: var(--accent); }
.hero-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--fg2);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 44px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-btns {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 14px 36px; border-radius: 2px;
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { filter: brightness(1.15); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--fg);
  padding: 14px 36px; border-radius: 2px;
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--fg2); transform: translateY(-2px); }
.hero-stats {
  position: absolute; bottom: 48px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 64px;
  opacity: 0; animation: fadeUp 0.8s 1.2s forwards;
}
.hero-stat { text-align: center; }
.hero-stat-n {
  font-family: var(--font-display);
  font-size: 42px; letter-spacing: 1px;
  color: var(--fg);
  line-height: 1;
}
.hero-stat-n span { color: var(--accent); }
.hero-stat-l { font-size: 11px; color: var(--fg2); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.hero-scroll {
  position: absolute; bottom: 44px; right: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp 0.8s 1.4s forwards;
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s infinite;
}
.hero-scroll-txt { font-size: 10px; color: var(--fg2); letter-spacing: 3px; text-transform: uppercase; writing-mode: vertical-rl; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* SECTIONS COMMON */
section { padding: 120px 48px; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--fg2); font-size: 16px; font-weight: 300;
  max-width: 520px; line-height: 1.7;
}
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* HOW IT WORKS */
#how { background: var(--bg); }
.how-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px; margin-top: 64px;
  border: 1px solid var(--border);
}
.how-step {
  background: var(--bg2); padding: 40px 32px;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.how-step:last-child { border-right: none; }
.how-step:hover { background: var(--bg3); }
.how-step-n {
  font-family: var(--font-display);
  font-size: 64px; color: rgba(255,255,255,0.04);
  position: absolute; top: 12px; right: 24px;
  line-height: 1; pointer-events: none;
}
.how-step-icon {
  width: 44px; height: 44px; margin-bottom: 24px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
}
.how-step h3 {
  font-size: 17px; font-weight: 600; margin-bottom: 12px;
}
.how-step p { font-size: 14px; color: var(--fg2); line-height: 1.6; }

/* CATALOG */
#catalog { background: var(--bg2); }
.catalog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.catalog-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 18px; border-radius: 2px;
  border: 1px solid var(--border);
  background: transparent; color: var(--fg2);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--accent); color: var(--fg); background: rgba(255,107,0,0.1);
}
.cars-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
}
.car-card {
  background: var(--bg3); cursor: pointer;
  border: 1px solid var(--border);
  overflow: hidden; position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.car-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.car-img {
  width: 100%; aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1a1a 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.car-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.car-card:hover .car-img img { transform: scale(1.06); }
.car-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.75) 100%);
  pointer-events: none;
}
.car-img-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: flex-end; justify-content: flex-start;
  position: absolute; inset: 0;
  padding: 20px 24px;
  overflow: hidden;
}
.car-img-fallback::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.12), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 14px);
  pointer-events: none;
}
.car-img-fallback svg.car-silhouette {
  position: absolute;
  right: -20px; bottom: 10px;
  width: 72%; height: auto;
  opacity: 0.22;
  color: #fff;
}
.car-img-fallback-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.car-img-fallback-brand {
  font-family: var(--font-display);
  font-size: 32px; letter-spacing: 3px;
  color: #fff; line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.car-img-fallback-model {
  font-size: 13px; letter-spacing: 2px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase; font-weight: 500;
}
.car-img-fallback-tag {
  margin-top: 10px;
  font-size: 10px; letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  font-family: monospace; text-transform: uppercase;
}
.car-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 10px; text-transform: uppercase;
}
.car-badge.order { background: rgba(9,9,9,0.8); border: 1px solid var(--accent); color: var(--accent); }
.car-country {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(9,9,9,0.75); backdrop-filter: blur(6px);
  color: var(--fg); font-size: 11px; font-weight: 600; letter-spacing: 1px;
  padding: 4px 10px; text-transform: uppercase;
  border: 1px solid var(--border);
}
.car-info { padding: 22px 24px 24px; }
.car-name { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.car-meta {
  font-size: 13px; color: var(--fg2); margin-bottom: 18px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.car-meta span { display: inline-flex; align-items: center; gap: 6px; }
.car-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 16px; margin-bottom: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: 2px;
}
.car-spec { display: flex; flex-direction: column; gap: 2px; }
.car-spec-label { font-size: 10px; color: var(--fg2); letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.7; }
.car-spec-val { font-size: 13px; color: var(--fg); font-weight: 500; }
.car-price-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.car-price {
  font-family: var(--font-display);
  font-size: 28px; letter-spacing: 1px; color: var(--accent);
  line-height: 1;
}
.car-price-sub { font-size: 12px; color: var(--fg2); margin-top: 4px; }
.car-cta {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--fg);
  padding: 8px 14px; border: 1px solid var(--border);
  text-decoration: none; transition: all 0.2s;
}
.car-cta:hover { border-color: var(--accent); background: rgba(255,107,0,0.08); color: var(--fg); }
.car-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.car-tag {
  font-size: 11px; padding: 3px 10px;
  border: 1px solid var(--border); color: var(--fg2);
  letter-spacing: 0.5px;
}
.catalog-empty {
  padding: 80px 20px; text-align: center;
  color: var(--fg2); font-size: 15px;
  border: 1px dashed var(--border);
}
.catalog-count { font-size: 13px; color: var(--fg2); margin-top: 6px; letter-spacing: 1px; }
.catalog-count strong { color: var(--accent); font-weight: 600; }

/* PRICING */
#pricing { background: var(--bg); }
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px; margin-top: 64px;
}
.price-card {
  background: var(--bg2); padding: 40px 36px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(160deg, rgba(255,107,0,0.08) 0%, var(--bg2) 100%);
}
.price-card:hover { border-color: var(--accent); }
.price-featured-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  padding: 4px 10px; text-transform: uppercase;
}
.price-icon { font-size: 28px; margin-bottom: 20px; }
.price-name { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--fg2); margin-bottom: 8px; }
.price-amount {
  font-family: var(--font-display); font-size: 48px; letter-spacing: 1px;
  color: var(--fg); line-height: 1; margin-bottom: 6px;
}
.price-amount span { font-size: 22px; color: var(--fg2); }
.price-desc { font-size: 13px; color: var(--fg2); margin-bottom: 28px; line-height: 1.5; }
.price-items { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.price-items li {
  font-size: 14px; color: var(--fg2);
  display: flex; gap: 10px; align-items: flex-start;
  line-height: 1.4;
}
.price-items li::before {
  content: ''; flex-shrink: 0;
  width: 16px; height: 16px; margin-top: 1px;
  background: var(--accent);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.pricing-note {
  margin-top: 40px; padding: 24px 32px;
  border: 1px solid var(--border); background: var(--bg2);
  font-size: 14px; color: var(--fg2); line-height: 1.7;
}
.pricing-note strong { color: var(--fg); }

/* CONTACTS */
#contacts { background: var(--bg2); }
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; margin-top: 64px;
}
@media (max-width: 768px) { .contacts-grid { grid-template-columns: 1fr; } }
.manager-card {
  background: var(--bg3); padding: 40px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.manager-card:hover { border-color: var(--accent); }
.manager-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 26px; color: var(--accent);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.manager-name { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.manager-role { font-size: 13px; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 24px; font-weight: 500; }
.manager-contacts { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  display: flex; align-items: center; gap: 12px;
  color: var(--fg2); text-decoration: none; font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
}
.contact-link:hover { color: var(--fg); border-color: var(--accent); background: rgba(255,107,0,0.07); }
.contact-link svg { flex-shrink: 0; }
.social-row {
  grid-column: 1 / -1;
  background: var(--bg3); padding: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.social-info h3 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.social-info p { font-size: 14px; color: var(--fg2); }
.social-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.social-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; border-radius: 2px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: all 0.2s; letter-spacing: 0.5px;
}
.social-btn-tg { background: #229ED9; color: #fff; }
.social-btn-tg:hover { filter: brightness(1.1); transform: translateY(-2px); }
.social-btn-vk { background: #4680C2; color: #fff; }
.social-btn-vk:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* FAQ */
#faq { background: var(--bg); }
.faq-list { margin-top: 64px; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border); overflow: hidden;
  background: var(--bg2);
}
.faq-q {
  width: 100%; background: none; border: none; color: var(--fg);
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  padding: 24px 32px; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg3); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--accent);
  transition: transform 0.3s;
}
.faq-icon.open { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 32px;
}
.faq-a.open { max-height: 400px; padding: 0 32px 24px; }
.faq-a p { font-size: 14px; color: var(--fg2); line-height: 1.8; }

/* FOOTER */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-family: var(--font-display); font-size: 22px; letter-spacing: 2px; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 13px; color: var(--fg2); }

/* DIVIDER */
.section-divider {
  width: 48px; height: 2px;
  background: var(--accent); margin-top: 20px; margin-bottom: 48px;
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 80px 20px; }
  .hero-stats { gap: 32px; bottom: 24px; }
  .how-grid { grid-template-columns: 1fr; }
  footer { padding: 32px 20px; }
  .social-row { grid-column: 1; }
}
