/* ============================================
   Modern Auto — Design System
   European Car Import — Steel Sapphire Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --bg-dark: #0a0f1a;
  --bg-dark-2: #0f1524;
  --bg-card: #ffffff;

  --text: #111827;
  --text-secondary: #5a6475;
  --text-light: #8b95a5;
  --text-on-dark: #e4e9f1;
  --text-on-dark-secondary: #8b95a5;

  --primary: #111827;
  --primary-hover: #1f2937;

  --accent: #3068b2;
  --accent-hover: #265694;
  --accent-light: rgba(48, 104, 178, 0.08);
  --accent-border: rgba(48, 104, 178, 0.2);
  --accent-glow: rgba(48, 104, 178, 0.35);

  --green: #10b981;
  --green-light: rgba(16, 185, 129, 0.1);
  --orange: #e09145;
  --orange-light: rgba(224, 145, 69, 0.1);
  --red: #ef4444;

  --border: #e0e5ed;
  --border-light: #eef1f6;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 2px 4px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --transition: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1280px;
  --header-height: 84px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }
button { cursor: pointer; }
::selection { background: rgba(48, 104, 178, 0.25); color: var(--text); }

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 17px; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.7; }

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
}

/* --- Layout --- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-on-dark); position: relative; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-on-dark); }
.section-dark p { color: var(--text-on-dark-secondary); }

/* Noise texture for dark sections */
.hero::before,
.cta-section::after,
.footer::after {
  pointer-events: none;
}
.noise-overlay {
  position: relative;
}
.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='a'%3E%3CfeTurbulence baseFrequency='.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.section-header { margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 18px; max-width: 560px; }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }

/* --- Section Divider --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--accent-border) 50%, var(--border) 80%, transparent 100%);
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
}

/* --- Grid --- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.25);
}

.hero .btn-primary,
.cta-section .btn-primary,
.section-dark .btn-primary {
  background: var(--accent);
  color: #fff;
}
.hero .btn-primary:hover,
.cta-section .btn-primary:hover,
.section-dark .btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px var(--accent-glow), 0 0 40px rgba(48, 104, 178, 0.15);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}
.hero .btn-outline,
.section-dark .btn-outline {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.hero .btn-outline:hover,
.section-dark .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px rgba(48, 104, 178, 0.15);
}

.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--bg-alt); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost { background: transparent; color: var(--accent); padding: 8px 0; font-weight: 600; }
.btn-ghost:hover { color: var(--accent-hover); }
.btn-ghost svg { transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius); }

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.badge-blue { background: var(--accent-light); color: var(--accent); }
.badge-green { background: var(--green-light); color: var(--green); }
.badge-orange { background: var(--orange-light); color: var(--orange); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.header.scrolled::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.logo { display: flex; align-items: center; }
.logo-img {
  height: 88px;
  width: auto;
  transition: filter 0.4s ease;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
  font-family: var(--font-display);
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.header-phone:hover { color: var(--accent); }
.header-phone svg { width: 18px; height: 18px; color: var(--accent); }

.menu-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.menu-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--text); position: relative;
  transition: background var(--transition);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: ''; position: absolute; left: 0;
  width: 100%; height: 2px; background: var(--text);
  transition: transform var(--transition);
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(6px); }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active span::before { transform: rotate(45deg); }
.menu-toggle.active span::after { transform: rotate(-45deg); }

/* Header social icons */
.header-socials { display: flex; align-items: center; gap: 8px; }
.header-social {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--text-light);
  transition: color 0.2s ease, background 0.2s ease;
}
.header-social svg { width: 18px; height: 18px; }
.header-social:hover { color: var(--accent); background: var(--accent-light); }

/* Header CTA accent */
.header .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.header .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Mobile header icons (hidden on desktop) */
.header-mobile-icons { display: none; }
.header-mobile-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: color 0.2s ease;
}
.header-mobile-icon svg { width: 20px; height: 20px; }
.header-mobile-icon:hover { color: var(--accent); }

/* ============================================
   TRANSPARENT HEADER (main page only)
   ============================================ */
.header--transparent:not(.scrolled) {
  background: rgba(10, 15, 26, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: transparent;
  box-shadow: none;
}

.header--transparent:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.header--transparent:not(.scrolled) .nav a {
  color: rgba(255, 255, 255, 0.7);
}
.header--transparent:not(.scrolled) .nav a:hover,
.header--transparent:not(.scrolled) .nav a.active {
  color: #fff;
}
.header--transparent:not(.scrolled) .nav a.active::after {
  background: rgba(255, 255, 255, 0.8);
}

.header--transparent:not(.scrolled) .header-phone {
  color: rgba(255, 255, 255, 0.85);
}
.header--transparent:not(.scrolled) .header-phone:hover { color: #fff; }
.header--transparent:not(.scrolled) .header-phone svg { color: rgba(255, 255, 255, 0.6); }

.header--transparent:not(.scrolled) .header-social {
  color: rgba(255, 255, 255, 0.5);
}
.header--transparent:not(.scrolled) .header-social:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.header--transparent:not(.scrolled) .menu-toggle span,
.header--transparent:not(.scrolled) .menu-toggle span::before,
.header--transparent:not(.scrolled) .menu-toggle span::after {
  background: #fff;
}

.header--transparent:not(.scrolled) .header-mobile-icon {
  color: rgba(255, 255, 255, 0.7);
}
.header--transparent:not(.scrolled) .header-mobile-icon:hover { color: #fff; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 56px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* Radial gradient accents */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(48, 104, 178, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(48, 104, 178, 0.04) 0%, transparent 60%);
  z-index: 0;
}

/* Technical grid pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(48, 104, 178, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(48, 104, 178, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Noise grain */
.hero .container { position: relative; z-index: 2; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 600px; }

/* Hero typography */
.hero h1 {
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(32px, 4.2vw, 48px);
}
.hero-h1-light {
  font-weight: 300;
  color: rgba(255,255,255,0.6);
}
.hero-h1-accent {
  color: var(--accent);
  font-weight: 700;
  position: relative;
}
.hero-h1-bold {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

/* Hero visual — card stack + route */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

/* Card stack */
.hero-cards-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.hero-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #151c2c, #111827);
  border: 1px solid rgba(48, 104, 178, 0.12);
  overflow: hidden;
}

.hero-card--front {
  position: relative;
  z-index: 3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(48, 104, 178, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.hero-card--front:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(48, 104, 178, 0.18);
}

.hero-card--mid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  transform: translate(22px, -16px) scale(0.96);
  opacity: 0.65;
  pointer-events: none;
}

.hero-card--back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  transform: translate(44px, -32px) scale(0.92);
  opacity: 0.4;
  pointer-events: none;
}

/* Card image placeholder */
.hero-card-img {
  position: relative;
  height: 150px;
  background: linear-gradient(135deg, rgba(48, 104, 178, 0.07) 0%, rgba(48, 104, 178, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(48, 104, 178, 0.08);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  color: rgba(48, 104, 178, 0.18);
}

.hero-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  background: rgba(48, 104, 178, 0.15);
  border: 1px solid rgba(48, 104, 178, 0.25);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* Card body */
.hero-card-body {
  padding: 16px 20px 20px;
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.hero-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  font-size: 13px;
  color: var(--text-on-dark-secondary);
  margin-bottom: 12px;
}

.hero-card--front .hero-card-specs span:not(:last-child)::after {
  content: '\00b7';
  margin: 0 5px;
  opacity: 0.4;
}

.hero-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.hero-card-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-on-dark-secondary);
  margin-left: 10px;
}

/* DE → RU route */
.hero-route {
  display: flex;
  justify-content: center;
}

.hero-route svg {
  width: 260px;
  height: 44px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(48, 104, 178, 0.12);
  border: 1px solid rgba(48, 104, 178, 0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: #8ab4e0;
  margin-bottom: 20px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: badge-pulse 2s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(48, 104, 178, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(48, 104, 178, 0); }
}
.hero-badge svg { width: 16px; height: 16px; }

.hero-text {
  font-size: 16px;
  color: var(--text-on-dark-secondary);
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }

/* Hero Stats — redesigned */
.hero-stats {
  display: flex;
  gap: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat {
  flex: 1;
  position: relative;
  padding: 0 24px;
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { padding-right: 0; }
.hero-stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(48, 104, 178, 0.3), transparent);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-value span { color: var(--accent); font-size: 22px; }
.hero-stat-label { font-size: 13px; color: var(--text-on-dark-secondary); }

/* ============================================
   BRAND TICKER
   ============================================ */
.ticker {
  background: var(--bg-dark-2);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(48, 104, 178, 0.08);
  border-bottom: 1px solid rgba(48, 104, 178, 0.08);
}
/* Gradient fade on edges */
.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark-2), transparent);
}
.ticker::after {
  right: 0;
  background: linear-gradient(90deg, transparent, var(--bg-dark-2));
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 40px;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}
.ticker-item {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  user-select: none;
  transition: color 0.3s ease;
}
.ticker-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: 0.4;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   ADVANTAGES — borderless design with number accent
   ============================================ */
.advantage-card {
  padding: 32px 28px;
  background: transparent;
  border: none;
  border-left: 2px solid var(--border);
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
}
.advantage-card:hover {
  border-left-color: var(--accent);
  background: rgba(48, 104, 178, 0.03);
}
.advantage-icon {
  width: 48px; height: 48px;
  background: transparent;
  border: 1.5px solid var(--accent-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  transition: all 0.3s ease;
}
.advantage-card:hover .advantage-icon {
  background: var(--accent-light);
  border-color: var(--accent);
}
.advantage-icon svg { width: 22px; height: 22px; }
.advantage-card h4 { margin-bottom: 8px; font-size: 17px; }
.advantage-card p { font-size: 15px; line-height: 1.6; }

/* ============================================
   CAR CARDS — accent bottom bar on hover
   ============================================ */
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  max-width: 100%;
}
.car-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}
.car-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 16px 40px rgba(10, 15, 26, 0.1);
  transform: translateY(-4px);
}
.car-card:hover::after {
  transform: scaleX(1);
}

.car-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eef1f6 0%, #e2e7ef 100%);
  overflow: hidden;
}
.car-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.car-card:hover .car-card-img img { transform: scale(1.03); }

.car-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; color: var(--text-light);
}
.car-img-placeholder svg { width: 48px; height: 48px; opacity: 0.3; }

.car-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.car-card-photo-count {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  font-size: 12px; font-weight: 500; color: #fff;
}
.car-card-photo-count svg { width: 14px; height: 14px; }

.car-card-body { padding: 20px; }
.car-card-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.car-card-title a:hover { color: var(--accent); }

.car-card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.car-card-spec {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px; background: var(--bg-alt);
  border-radius: 4px; font-size: 12px;
  color: var(--text-secondary); font-weight: 500;
}

.car-card-price {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border-light);
}
.car-price-main {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: var(--text);
}
.car-price-original { font-size: 13px; color: var(--text-light); font-weight: 500; }

/* ============================================
   HOW IT WORKS — timeline design
   ============================================ */
.steps-wrapper {
  position: relative;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}

/* Connecting line behind steps */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-border), var(--accent));
  z-index: 0;
}

.step {
  position: relative;
  counter-increment: step;
  z-index: 1;
  text-align: center;
  padding-top: 72px;
}

/* Step number circle */
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.section-alt .step::before {
  background: var(--bg-alt);
}

.step:hover::before {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.step h4 { margin-bottom: 8px; font-size: 17px; }
.step p { font-size: 14px; line-height: 1.7; }

/* Remove old connecting line */
.step:not(:last-child)::after {
  display: none;
}

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .step { text-align: left; padding-top: 0; padding-left: 72px; }
  .step::before { left: 0; top: 0; transform: none; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
}

/* ============================================
   TESTIMONIALS — quote design
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
/* Large decorative quote */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}
.testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(10, 15, 26, 0.08);
  border-color: var(--accent-border);
}

.testimonial-stars { display: flex; gap: 2px; margin-bottom: 14px; color: var(--orange); }
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text {
  font-size: 15px; line-height: 1.7; color: var(--text-secondary);
  margin-bottom: 18px; font-style: italic;
  position: relative;
  z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  border: 2px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; color: var(--accent);
  font-family: var(--font-display);
}
.testimonial-name { font-weight: 600; font-size: 14px; color: var(--text); }
.testimonial-meta { font-size: 13px; color: var(--text-light); }

@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ============================================
   PORTFOLIO CARD — corner accent
   ============================================ */
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(48, 104, 178, 0.06) 50%);
  z-index: 1;
  transition: all 0.3s ease;
}
.portfolio-card:hover {
  box-shadow: 0 12px 32px rgba(10, 15, 26, 0.08);
  transform: translateY(-3px);
  border-color: var(--accent-border);
}
.portfolio-card:hover::before {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, transparent 50%, rgba(48, 104, 178, 0.12) 50%);
}

.portfolio-card-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #eef1f6 0%, #e2e7ef 100%);
  overflow: hidden;
}
.portfolio-card-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card-body { padding: 20px; }
.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; margin-bottom: 6px;
}
.portfolio-card-meta { font-size: 13px; color: var(--text-light); display: flex; gap: 12px; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(48, 104, 178, 0.08) 0%, transparent 60%);
}
/* Diagonal top edge */
.cta-section .container { position: relative; z-index: 1; }

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-content h2 { color: #fff; margin-bottom: 12px; }
.cta-content p { color: var(--text-on-dark-secondary); font-size: 15px; margin-bottom: 16px; }

.cta-features { display: flex; flex-direction: column; gap: 8px; }
.cta-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-on-dark);
}
.cta-feature svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* Form */
.form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(48, 104, 178, 0.15);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.form-card h3 { color: #fff; margin-bottom: 4px; font-size: 20px; }
.form-card > p { color: var(--text-on-dark-secondary); font-size: 13px; margin-bottom: 20px; }

.form-group { margin-bottom: 12px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-on-dark-secondary); margin-bottom: 6px;
}
.form-input {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: #fff; font-size: 15px;
  transition: all var(--transition);
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(48, 104, 178, 0.15);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-submit { width: 100%; margin-top: 8px; }
.form-note {
  font-size: 12px; color: var(--text-on-dark-secondary);
  margin-top: 12px; text-align: center; opacity: 0.7;
}

/* Light form */
.form-light .form-input {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
}
.form-light .form-input::placeholder { color: var(--text-light); }
.form-light .form-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(48, 104, 178, 0.1);
}
.form-light .form-group label { color: var(--text-secondary); }
.form-light .form-note { color: var(--text-light); }

@media (max-width: 768px) {
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-dark);
  padding: 56px 0 28px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(48, 104, 178, 0.3) 50%, transparent 95%);
}
.footer .logo-img {
  height: 64px;
  filter: invert(1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { max-width: 260px; }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700; color: #fff;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--text-on-dark-secondary); line-height: 1.65; margin-bottom: 16px; }

.footer-social { display: flex; gap: 6px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  color: var(--text-on-dark-secondary);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--accent-glow);
}
.footer-social a svg { width: 16px; height: 16px; }

.footer-col h5 {
  color: #fff; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px;
  font-family: var(--font-display);
}
.footer-col a {
  display: block; font-size: 13px;
  color: var(--text-on-dark-secondary);
  padding: 4px 0; transition: all 0.2s ease;
}
.footer-col a:hover { color: #fff; padding-left: 4px; }

/* Contacts column */
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-size: 13px; color: var(--text-on-dark-secondary);
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.footer-contact-text { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-text a { padding: 0; display: inline; }
.footer-contact-note { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-contact-item a {
  color: var(--text-on-dark-secondary);
  transition: color 0.2s ease;
}
.footer-contact-item a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 20px; font-size: 12px;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   CATALOG PAGE
   ============================================ */
.page-offset { padding-top: var(--header-height); }
.page-hero {
  padding: 40px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 8px; }

.breadcrumbs {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-light); margin-bottom: 12px;
}
.breadcrumbs a { color: var(--text-secondary); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs svg { width: 14px; height: 14px; }

.catalog-layout {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 32px; padding: 40px 0 80px;
  min-width: 0; overflow: hidden;
}
.filters { position: sticky; top: calc(var(--header-height) + 24px); align-self: start; }
.filters-title {
  font-size: 18px; font-weight: 700; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.filters-reset { font-size: 13px; color: var(--accent); font-weight: 500; cursor: pointer; }
.filters-reset:hover { text-decoration: underline; }

.filter-group { margin-bottom: 24px; }
.filter-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text); margin-bottom: 8px;
}
.filter-select, .filter-input {
  width: 100%; padding: 10px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px; color: var(--text);
  transition: all var(--transition);
}
.filter-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  padding-right: 32px;
}
.filter-select:focus, .filter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(48, 104, 178, 0.1);
  background: #fff;
}
.filter-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filter-range .filter-input { padding: 10px 12px; }
.filter-range .filter-input::placeholder { color: var(--text-light); }
.filters-apply { width: 100%; margin-top: 8px; }

.catalog-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.catalog-count { font-size: 14px; color: var(--text-secondary); }
.catalog-count strong { color: var(--text); }
.catalog-sort { display: flex; align-items: center; gap: 8px; }
.catalog-sort label { font-size: 13px; color: var(--text-secondary); }
.catalog-sort select {
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text); background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center;
}
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; min-width: 0; }
.catalog-empty {
  grid-column: 1 / -1;
  padding: 40px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.catalog-empty h3 { margin-bottom: 8px; }
.catalog-empty p { margin-bottom: 20px; color: var(--text-secondary); }

@media (max-width: 1200px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-content { min-width: 0; overflow: hidden; }
  .filters {
    position: static; display: none;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
  }
  .filters.open { display: block; }
  .filters-title { font-size: 16px; margin-bottom: 16px; }
  .filter-group { margin-bottom: 16px; }
  .filter-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-toolbar { flex-wrap: wrap; gap: 8px; }
  .catalog-count { font-size: 13px; }
  .car-card-body { padding: 16px; }
  .car-card-price { flex-wrap: wrap; gap: 4px; }
  .car-price-main { font-size: 18px; }
  .car-card-specs { gap: 4px; }
  .car-card-spec { padding: 2px 6px; font-size: 11px; }
}

.filter-toggle {
  display: none; align-items: center; gap: 6px;
  padding: 10px 18px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-weight: 500;
  color: var(--text); background: #fff; white-space: nowrap;
}
@media (max-width: 1024px) {
  .filter-toggle { display: inline-flex; }
}

.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin-top: 40px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--bg-alt); color: var(--text); }
.pagination .active { background: var(--primary); color: #fff; }

/* ============================================
   CAR DETAIL PAGE
   ============================================ */
.car-detail { padding: 32px 0 80px; }
.car-detail-grid {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 40px; align-items: start;
}
.car-gallery { position: sticky; top: calc(var(--header-height) + 24px); }
.car-gallery-main {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eef1f6 0%, #e2e7ef 100%);
  border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 12px;
}
.car-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.car-gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.car-gallery-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eef1f6 0%, #e2e7ef 100%);
  border-radius: var(--radius-sm);
  overflow: hidden; cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.car-gallery-thumb.active, .car-gallery-thumb:hover { border-color: var(--accent); }
.car-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.car-info {
  padding: 32px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
}
.car-info-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.car-info-subtitle { font-size: 15px; color: var(--text-secondary); margin-bottom: 24px; }
.car-info-price { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.car-info-price-main {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700; color: var(--text);
}
.car-info-price-original { font-size: 16px; color: var(--text-light); font-weight: 500; }
.car-info-price-note { font-size: 13px; color: var(--text-light); margin-bottom: 28px; }
.car-info-divider { height: 1px; background: var(--border); margin: 24px 0; }

.car-specs { margin-bottom: 28px; }
.car-specs h4 { font-size: 16px; margin-bottom: 16px; }
.spec-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--text-secondary); }
.spec-value { font-weight: 600; color: var(--text); }

.car-actions { display: flex; flex-direction: column; gap: 10px; }
.car-actions .btn { width: 100%; }

@media (max-width: 1024px) {
  .car-detail-grid { grid-template-columns: 1fr; }
  .car-gallery { position: static; }
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; padding: 60px 0 80px;
}
.about-hero-text h2 { margin-bottom: 20px; }
.about-hero-text p { font-size: 17px; margin-bottom: 16px; }
.about-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef1f6 0%, #e2e7ef 100%);
  border-radius: var(--radius-xl); overflow: hidden;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 32px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.stat-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700; color: var(--accent);
  line-height: 1; margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--text-secondary); }

@media (max-width: 768px) {
  .about-hero { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.service-card {
  padding: 32px; background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 8px 24px rgba(10, 15, 26, 0.06);
}
.service-card:hover::before {
  height: 100%;
}
.service-icon {
  width: 56px; height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: #fff;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15px; }

/* ============================================
   CALCULATOR PAGE
   ============================================ */
.calculator-placeholder {
  text-align: center; padding: 80px 40px;
  background: var(--bg-alt); border: 2px dashed var(--border);
  border-radius: var(--radius-xl); max-width: 600px; margin: 0 auto;
}
.calculator-placeholder svg { width: 64px; height: 64px; color: var(--text-light); margin-bottom: 20px; }
.calculator-placeholder h3 { margin-bottom: 10px; }
.calculator-placeholder p { font-size: 15px; max-width: 400px; margin: 0 auto; }

/* ============================================
   CONTACTS PAGE
   ============================================ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contacts-grid > div:first-child { display: flex; flex-direction: column; }
.contact-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.contact-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--accent);
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card h4 { font-size: 14px; margin-bottom: 3px; }
.contact-card p { font-size: 13px; }
.contact-card a { color: var(--accent); }
.contact-card a:hover { text-decoration: underline; }

.map-placeholder {
  width: 100%; flex: 1; min-height: 280px;
  background: linear-gradient(135deg, #eef1f6 0%, #e2e7ef 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 14px;
}
@media (max-width: 768px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .map-placeholder { min-height: 240px; }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 999;
  padding: 0;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-slow), visibility 0s linear 0.3s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; transition: transform var(--transition-slow), visibility 0s; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 4px 0; }
.mobile-menu nav a {
  display: flex; align-items: center;
  padding: 14px 24px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-menu nav a:last-child { border-bottom: none; }
.mobile-menu nav a:active { background: var(--bg-alt); }
.mobile-menu nav a.active { color: var(--accent); }
.mobile-menu nav a::after {
  content: '';
  margin-left: auto;
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c0c5ce' stroke-width='2'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  opacity: 0.5;
}

.mobile-menu-bottom {
  padding: 20px 24px 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
}
.mobile-menu-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-lg);
}
.mobile-menu-cta:hover { background: var(--accent-hover); }
.mobile-menu-phone {
  margin-top: 14px;
  font-size: 17px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.mobile-menu-phone::before {
  content: '';
  width: 36px; height: 36px;
  background: rgba(48, 104, 178, 0.08);
  border-radius: var(--radius);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233068b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.362 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  flex-shrink: 0;
}
.mobile-menu-socials {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.mobile-menu-socials a {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  flex: 1;
}
.mobile-menu-socials a:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.show-mobile { display: none; }
.hide-mobile { display: block; }

@media (max-width: 768px) {
  .show-mobile { display: block; }
  .hide-mobile { display: none; }
  .section { padding: 60px 0; }
  .hero { min-height: auto; padding-bottom: 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-cards-stack { max-width: 340px; margin: 0 auto; }
  .hero-h1-bold { white-space: normal; }
  .hero-card--mid,
  .hero-card--back { display: none; }
  .hero-card-img { height: 140px; }
  .hero-route svg { width: 220px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-stat:not(:last-child)::after { display: none; }
  .hero-stat { padding: 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .nav { display: none; }
  .header-phone { display: none; }
  .header-socials { display: none; }
  .header-mobile-icons { display: flex; align-items: center; gap: 4px; }
  .header-inner { width: 100%; max-width: 100%; padding: 0 16px; }
  .menu-toggle { display: flex; }
  .container { padding: 0 16px; }
}

/* ============================================
   ANIMATIONS — multiple types
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Base hidden state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variant: fade from left */
.animate-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Variant: fade from right */
.animate-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Variant: scale in */
.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

@media (max-width: 768px) {
  .animate-left,
  .animate-right {
    transform: translateY(24px);
  }
}
