:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --surface: #181818;
  --surface-2: #1f1f1f;
  --text: #ffffff;
  --muted: #9c9c9c;
  --accent: #d9182c;
  --accent-hover: #ff2238;
  --accent-soft: rgba(217,24,44,0.15);
  --border: #252525;
  --radius: 10px;
  --max-width: 1240px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Top bar ---------- */
.topbar {
  background: #000; color: var(--muted);
  font-size: 0.8rem; padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  max-width: var(--max-width); margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  flex-wrap: wrap;
}
.topbar a { color: var(--muted); }
.topbar a:hover { color: var(--accent); }
.topbar .contact-bits { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .socials { display: flex; gap: 12px; }
.topbar .socials a { font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; max-width: var(--max-width); margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
  font-weight: 500; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-cta {
  background: var(--accent); color: #fff !important;
  padding: 10px 22px; border-radius: var(--radius);
  font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(217,24,44,0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover {
  background: var(--accent-hover); transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217,24,44,0.5);
}
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  filter: brightness(0.4);
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.95) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 40px 20px; max-width: 980px; text-align: center;
}
.hero-tag {
  display: inline-block; padding: 6px 14px; border: 1px solid var(--accent);
  color: var(--accent); border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 6.5vw, 5rem);
  font-weight: 900; line-height: 1; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-content h1 .accent { color: var(--accent); }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #ddd; max-width: 680px; margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 3; background: rgba(0,0,0,0.45); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 50px; height: 50px; border-radius: 50%;
  font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }
.slider-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.4); cursor: pointer;
  padding: 0; transition: all var(--transition);
}
.slider-dots button.active { background: var(--accent); width: 28px; border-radius: 999px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 14px; cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  border: none; text-transform: uppercase; letter-spacing: 1px;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(217,24,44,0.35); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--bg); }
.btn-ghost { background: var(--surface); color: #fff; border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title .eyebrow {
  display: inline-block; color: var(--accent); font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-transform: uppercase; letter-spacing: 1px;
}
.section-title h2 .accent { color: var(--accent); }
.section-title p { color: var(--muted); max-width: 620px; margin: 16px auto 0; }

/* ---------- Features ---------- */
.features { background: var(--bg-alt); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature {
  background: var(--surface); padding: 32px 24px; border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature-icon {
  width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); border-radius: 10px;
  margin-bottom: 18px; font-size: 22px; font-weight: 700;
}
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Car grid & card ---------- */
.car-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.car-card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer; display: flex; flex-direction: column;
}
.car-card:hover {
  transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}
.car-card .car-img {
  aspect-ratio: 4/3; overflow: hidden; background: #000; position: relative;
}
.car-card .car-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.car-card:hover .car-img img { transform: scale(1.06); }
.car-ribbon {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  padding: 6px 12px; border-radius: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}
.car-ribbon.sold { background: #333; }
.car-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.car-body h3 { font-size: 1.15rem; line-height: 1.3; }
.car-body .make { color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.car-price { font-size: 1.4rem; font-weight: 800; color: #fff; }
.car-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
  padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--muted);
}
.car-specs .spec { display: flex; gap: 6px; align-items: center; }
.car-specs .spec::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.car-body .actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.car-body .actions .btn { flex: 1; padding: 10px; font-size: 12px; text-align: center; }

/* ---------- Showroom filters ---------- */
.showroom-controls {
  display: grid; grid-template-columns: 1fr auto; gap: 20px;
  margin-bottom: 30px; align-items: end;
}
.filter-bar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px; margin-bottom: 30px;
}
.filter-bar label {
  display: block; font-size: 0.75rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.filter-bar select, .filter-bar input {
  width: 100%; padding: 10px 12px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: inherit; font-size: 14px;
}
.filter-bar select:focus, .filter-bar input:focus { outline: none; border-color: var(--accent); }
.filter-summary {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; flex-wrap: wrap; gap: 14px;
}
.filter-summary .count { color: var(--muted); font-size: 0.9rem; }
.filter-summary .count strong { color: #fff; font-size: 1.15rem; }
.sort-wrap { display: flex; align-items: center; gap: 10px; }
.sort-wrap select {
  padding: 8px 12px; background: var(--surface); color: #fff;
  border: 1px solid var(--border); border-radius: 8px; font-size: 13px;
}
.reset-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 8px 14px; border-radius: 8px;
  font-size: 12px; cursor: pointer; text-transform: uppercase; letter-spacing: 1px;
}
.reset-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Car modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(6px);
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); max-width: 1000px; width: 100%;
  max-height: 92vh; overflow-y: auto;
  position: relative; animation: modalIn 0.3s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.96) translateY(12px); } to { opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(0,0,0,0.6); border: 1px solid var(--border); color: #fff;
  width: 40px; height: 40px; border-radius: 50%;
  font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--accent); border-color: var(--accent); }

.modal-gallery {
  position: relative; background: #000;
}
.modal-gallery .main-img { aspect-ratio: 16/10; width: 100%; }
.modal-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-gallery .thumbs {
  display: flex; gap: 8px; padding: 12px; overflow-x: auto;
  background: var(--bg);
}
.modal-gallery .thumbs img {
  width: 88px; height: 66px; object-fit: cover;
  border-radius: 6px; border: 2px solid transparent;
  cursor: pointer; flex-shrink: 0; opacity: 0.65;
  transition: all var(--transition);
}
.modal-gallery .thumbs img.active { border-color: var(--accent); opacity: 1; }
.modal-gallery .thumbs img:hover { opacity: 1; }

.modal-body { padding: 26px 28px 32px; }
.modal-body .make { color: var(--accent); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 6px; }
.modal-body h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.modal-body .price { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.modal-specs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px; padding: 18px; background: var(--bg); border-radius: 8px; margin-bottom: 22px;
}
.modal-specs .s small { display: block; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.modal-specs .s strong { font-size: 0.95rem; color: #fff; }
.modal-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px;
  margin-bottom: 24px;
}
.modal-features li {
  list-style: none; padding-left: 22px; position: relative;
  color: var(--muted); font-size: 0.9rem;
}
.modal-features li::before {
  content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-actions .btn { flex: 1; min-width: 160px; text-align: center; }

/* ---------- Page header ---------- */
.page-header {
  position: relative; padding: 120px 0 90px;
  text-align: center; border-bottom: 1px solid var(--border);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.92) 100%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 10px;
}
.page-header p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.page-header .breadcrumb {
  display: inline-flex; gap: 8px; font-size: 0.78rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px;
}
.page-header .breadcrumb a { color: var(--muted); }
.page-header .breadcrumb a:hover { color: var(--accent); }
.page-header .breadcrumb .sep { color: var(--accent); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.about-grid img { border-radius: var(--radius); border: 1px solid var(--border); }
.about-grid h2 { font-size: 2.2rem; margin-bottom: 18px; text-transform: uppercase; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px;
}
.stat { text-align: center; padding: 22px 12px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 20px; text-transform: uppercase; }
.contact-info > p { color: var(--muted); margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-item .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--muted); display: block; }
.contact-item a:hover { color: var(--accent); }

.contact-form, .finance-form {
  background: var(--surface); padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 13px; letter-spacing: 0.5px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-family: inherit; font-size: 14px;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.map-wrap { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Finance ---------- */
.finance-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.finance-result {
  background: linear-gradient(135deg, #1a1a1a 0%, #242424 100%);
  padding: 40px 32px; border-radius: var(--radius);
  border: 1px solid var(--border); text-align: center;
  position: sticky; top: 100px;
}
.finance-result .label { color: var(--muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px; }
.finance-result .amount {
  font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800;
  color: var(--accent); margin: 14px 0 6px;
}
.finance-result .per { color: var(--muted); margin-bottom: 28px; }
.finance-breakdown {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 24px; border-top: 1px solid var(--border); text-align: left;
}
.finance-breakdown div small { display: block; color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.finance-breakdown div strong { font-size: 1rem; }
.finance-note { margin-top: 22px; font-size: 0.78rem; color: var(--muted); }

input[type=range] { -webkit-appearance: none; width: 100%; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; background: var(--border); border-radius: 999px; }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); margin-top: -6px; cursor: pointer;
}
.range-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 13px; }
.range-row .value { color: var(--accent); font-weight: 700; }

.finance-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px;
  padding-top: 60px; border-top: 1px solid var(--border);
}
.finance-docs { background: var(--surface); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); }
.finance-docs h3 { margin-bottom: 18px; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 1px; }
.finance-docs ul { list-style: none; }
.finance-docs li {
  padding: 12px 0 12px 34px; border-bottom: 1px solid var(--border);
  position: relative; color: var(--muted); font-size: 0.95rem;
}
.finance-docs li:last-child { border-bottom: none; }
.finance-docs li::before {
  content: '✓'; position: absolute; left: 0;
  width: 24px; height: 24px; background: var(--accent-soft);
  color: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.85rem;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-alt); }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.testimonial {
  background: var(--surface); padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stars { color: #ffb400; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p { color: var(--muted); font-style: italic; margin-bottom: 16px; }
.testimonial .author { font-weight: 600; color: var(--text); font-style: normal; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent) 0%, #8a0e1c 100%);
  padding: 70px 20px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.cta-band p { margin-bottom: 26px; opacity: 0.95; font-size: 1.05rem; }
.cta-band .btn { background: #000; color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: #060606; border-top: 1px solid var(--border); padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col p, .footer-col a { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-col img { height: 54px; margin-bottom: 16px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--muted); font-size: 0.85rem; }

/* ---------- Social rail ---------- */
.social-rail {
  position: fixed; left: 18px; top: 50%; transform: translateY(-50%);
  z-index: 90; display: flex; flex-direction: column; gap: 10px;
}
.social-rail a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(20,20,20,0.85); border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: #fff;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.social-rail a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(3px); }
.social-rail::after { content: ''; width: 1px; height: 40px; background: var(--border); margin: 6px auto 0; }

/* ---------- WhatsApp widget ---------- */
.wa-widget { position: fixed; bottom: 24px; right: 24px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.wa-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; line-height: 1;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-btn:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgba(37,211,102,0.6); }
.wa-btn svg { width: 32px; height: 32px; fill: #fff; }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}
.wa-panel {
  width: 320px; max-width: calc(100vw - 48px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateY(10px) scale(0.96); opacity: 0; pointer-events: none;
  transition: all 0.25s ease;
}
.wa-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.wa-header { background: #075E54; color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.wa-header .avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; overflow: hidden; }
.wa-header .avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-header .name { font-weight: 600; font-size: 0.95rem; }
.wa-header .status { font-size: 0.75rem; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
.wa-header .status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.wa-header .close { margin-left: auto; background: transparent; border: none; color: #fff; font-size: 22px; cursor: pointer; opacity: 0.7; }
.wa-header .close:hover { opacity: 1; }
.wa-body {
  padding: 20px 18px;
  background: linear-gradient(rgba(20,20,20,0.9), rgba(20,20,20,0.9)),
    repeating-linear-gradient(45deg, #1e1e1e 0 10px, #1a1a1a 10px 20px);
}
.wa-bubble {
  background: #262d31; color: #fff; padding: 12px 14px;
  border-radius: 0 10px 10px 10px; font-size: 0.9rem; line-height: 1.4;
  max-width: 90%;
}
.wa-bubble .time { display: block; font-size: 0.7rem; color: #8a8a8a; margin-top: 4px; text-align: right; }
.wa-input { padding: 12px 14px; background: var(--bg-alt); display: flex; gap: 8px; }
.wa-input input {
  flex: 1; background: var(--bg); border: 1px solid var(--border);
  color: var(--text); padding: 10px 14px; border-radius: 999px; font-size: 0.9rem; font-family: inherit;
}
.wa-input input:focus { outline: none; border-color: #25D366; }
.wa-input button {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: #25D366; color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.wa-input button:hover { background: #1faa52; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) { .social-rail { display: none; } }
@media (max-width: 860px) {
  .nav { padding: 12px 16px; }
  .logo img { height: 40px; }
  .nav-links {
    position: absolute; top: 68px; right: 12px; background: var(--bg-alt);
    flex-direction: column; width: 220px; padding: 18px;
    border: 1px solid var(--border); border-radius: var(--radius);
    display: none; gap: 14px; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-links a.nav-cta { text-align: center; }
  .about-grid, .contact-grid, .finance-wrap, .finance-split { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .finance-result { position: static; }
  section { padding: 60px 0; }
  .page-header { padding: 80px 0 60px; }
  .hero { min-height: 78vh; }
  .topbar .wrap { justify-content: center; }
  .modal-features { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  section { padding: 50px 0; }
  .section-title { margin-bottom: 36px; }
  .hero { min-height: 70vh; }
  .page-header { padding: 60px 0 48px; }
  .car-grid { grid-template-columns: 1fr; gap: 18px; }
  .features-grid, .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .filter-bar { grid-template-columns: 1fr 1fr; padding: 16px; }
  .btn { padding: 12px 22px; font-size: 13px; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
  .cta-band { padding: 48px 16px; }
  .map-wrap iframe { height: 280px; }
  .finance-breakdown { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-stats { grid-template-columns: 1fr; gap: 12px; }
  .wa-widget { bottom: 16px; right: 16px; }
  .wa-btn { width: 54px; height: 54px; }
  .wa-btn svg { width: 28px; height: 28px; }
  .wa-panel { width: calc(100vw - 32px); }
  .hero-content h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .filter-bar { grid-template-columns: 1fr; }
  .modal-specs { grid-template-columns: 1fr 1fr; }
}
