/* ==========================================================
   NEW F — Rediseño completo
   Paleta: Negro profundo + Azul premium
   Tipografías: Outfit (display) + DM Sans (body)
   ========================================================== */

:root {
  --bg:            #09090B;
  --bg-card:       #111113;
  --bg-elevated:   #18181B;
  --bg-hover:      #1F1F23;

  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --blue-500:      #3B82F6;
  --blue-400:      #60A5FA;
  --blue-300:      #93C5FD;
  --blue-600:      #2563EB;
  --blue-glow:     rgba(59,130,246,0.25);

  --white:         #FAFAFA;
  --white-80:      rgba(250,250,250,0.80);
  --white-60:      rgba(250,250,250,0.60);
  --white-40:      rgba(250,250,250,0.40);
  --white-20:      rgba(250,250,250,0.20);

  --green:         #22C55E;
  --green-dim:     rgba(34,197,94,0.15);
  --green-border:  rgba(34,197,94,0.35);

  --red:           #EF4444;
  --red-dim:       rgba(239,68,68,0.15);

  --font-display:  'Outfit', sans-serif;
  --font-body:     'DM Sans', sans-serif;
  --font-metal:    'Metal Mania', cursive;

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-full:999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
h3 { font-size: 18px; line-height: 1.3; }
h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white-40); font-weight: 600; }

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(59,130,246,0.4);
}
h2 {
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-accent {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-600));
  color: #1A0F00;
  box-shadow: 0 4px 20px var(--blue-glow);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--white-80);
}
.btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-400);
  background: rgba(59,130,246,0.06);
}
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,9,11,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
}
.brand-word-accent { color: var(--blue-500); }

.nav { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.nav a {
  color: var(--white-80);
  padding: 10px 22px;
  border-radius: var(--r-full);
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: all 0.35s var(--ease);
  box-shadow:
    0 2px 10px rgba(0,0,0,0.3),
    0 1px 1px rgba(255,255,255,0.06) inset,
    0 -1px 3px rgba(0,0,0,0.2) inset,
    0 0 0 1px rgba(255,255,255,0.04) inset;
  position: relative;
  overflow: hidden;
}
.nav a::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  border-radius: var(--r-full);
}
.nav a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
}
.nav a:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(59,130,246,0.2) 0%, rgba(37,99,235,0.08) 100%);
  border-color: rgba(96,165,250,0.4);
  box-shadow:
    0 4px 20px rgba(59,130,246,0.25),
    0 1px 1px rgba(255,255,255,0.1) inset,
    0 -1px 3px rgba(0,0,0,0.2) inset,
    0 0 0 1px rgba(96,165,250,0.15) inset,
    0 0 30px rgba(59,130,246,0.1);
  transform: translateY(-1px);
}
.nav-admin {
  color: var(--white-40) !important;
  font-size: 12px;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: var(--r-full);
}
.nav-admin:hover { border-color: var(--blue-500); color: var(--blue-400) !important; }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language selector */
.lang-selector { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white-80); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; font-family: var(--font-body);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lang-toggle:hover { border-color: var(--blue-500); color: var(--white); }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 6px;
  min-width: 160px; z-index: 200;
  opacity: 0; pointer-events: none; transform: translateY(-8px);
  transition: all 0.2s var(--ease);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.lang-dropdown.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.lang-option {
  display: block; width: 100%; text-align: left;
  padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 13px; color: var(--white-80);
  background: none; border: none; cursor: pointer;
  transition: all 0.15s; font-family: var(--font-body);
}
.lang-option:hover { background: rgba(59,130,246,0.1); color: var(--white); }
.lang-option.active { background: rgba(59,130,246,0.15); color: var(--blue-400); font-weight: 600; }
.header-cta { font-size: 13px; padding: 9px 18px; }

.fav-toggle {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white-60);
  transition: all 0.2s;
}
.fav-toggle:hover { color: var(--red); background: var(--red-dim); }
.fav-count {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: var(--blue-500);
  color: #1A0F00;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s var(--ease);
}
.fav-count.show { opacity: 1; transform: scale(1); }

/* Cart toggle */
.cart-toggle {
  position: relative;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white-60);
  transition: all 0.2s;
}
.cart-toggle:hover { color: var(--blue-400); background: rgba(59,130,246,0.1); }
.cart-count {
  position: absolute;
  top: 2px; right: 2px;
  width: 16px; height: 16px;
  background: var(--blue-500);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s var(--ease);
}
.cart-count.show { opacity: 1; transform: scale(1); }

/* Select button */
.car-card-actions {
  display: flex;
  gap: 8px;
}
.car-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  color: #86EFAC;
  transition: all 0.2s;
  cursor: pointer;
  font-family: var(--font-body);
}
.car-select-btn:hover { background: rgba(34,197,94,0.25); transform: translateY(-1px); }
.car-select-btn.selected {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Cart panel */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-panel {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.cart-panel.open { transform: translateX(0); }
.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-panel-header h3 { font-size: 18px; }
.cart-panel-close { color: var(--white-40); padding: 4px; }
.cart-panel-close:hover { color: var(--white); }
.cart-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-panel-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  color: var(--white-40);
}
.cart-panel-empty svg { margin-bottom: 16px; color: var(--white-20); }
.cart-panel-empty p { font-size: 16px; color: var(--white-60); margin-bottom: 6px; }
.cart-panel-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}
.cart-send-btn {
  width: 100%;
  background: var(--green) !important;
  color: #fff !important;
  box-shadow: 0 4px 20px rgba(34,197,94,0.3) !important;
}
.cart-send-btn:hover {
  background: #16a34a !important;
  box-shadow: 0 8px 30px rgba(34,197,94,0.4) !important;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  align-items: center;
}
.cart-item-img {
  width: 60px; height: 44px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 4px;
}
.cart-item-badge.venta { background: rgba(59,130,246,0.15); color: var(--blue-400); }
.cart-item-badge.alquiler { background: var(--green-dim); color: #86EFAC; }
.cart-item-remove {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-40);
  flex-shrink: 0;
  transition: all 0.2s;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
}
.cart-item-remove:hover { background: var(--red-dim); color: var(--red); }

/* Option modal */
.option-modal {
  max-width: 420px;
}
.option-modal-body {
  padding: 32px;
  text-align: center;
}
.option-modal-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.option-modal-body p {
  color: var(--white-60);
  margin-bottom: 24px;
}
.option-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--green-border);
  background: var(--green-dim);
  color: #86EFAC;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.option-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(34,197,94,0.3);
}

/* ==========================================================
   AI CHAT ASSISTANT
   ========================================================== */
.chat-fab {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(59,130,246,0.4);
  transition: all 0.25s var(--ease);
}
.chat-fab:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(59,130,246,0.5); }
.chat-fab.active { background: var(--blue-600); }

.chat-panel {
  position: fixed;
  bottom: 152px;
  right: 24px;
  width: 380px;
  height: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  z-index: 95;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s var(--ease);
}
.chat-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(59,130,246,0.08), transparent);
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar-ai {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.chat-header-info strong { font-size: 14px; display: block; }
.chat-header-info span { font-size: 11px; color: var(--green); }
.chat-panel-close { color: var(--white-40); padding: 4px; background: none; border: none; cursor: pointer; }
.chat-panel-close:hover { color: var(--white); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.chat-msg.user .chat-msg-avatar { background: var(--blue-500); color: #fff; font-size: 11px; font-weight: 700; }
.chat-msg-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--white-80);
}
.chat-msg.bot .chat-msg-bubble {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.chat-msg.user .chat-msg-bubble {
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: var(--white);
}

.chat-typing {
  display: flex;
  gap: 4px;
  padding: 4px 0;
}
.chat-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--white-40);
  animation: chatBounce 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-6px); opacity: 1; }
}

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
}
.chat-sug-btn {
  padding: 6px 12px;
  border-radius: var(--r-full);
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: var(--blue-400);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.chat-sug-btn:hover {
  background: rgba(59,130,246,0.2);
  border-color: var(--blue-500);
  color: var(--white);
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.chat-input-area input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 10px 16px;
  color: var(--white);
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.chat-input-area input:focus { border-color: var(--blue-500); }
.chat-input-area input::placeholder { color: var(--white-40); }
.chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue-500);
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}
.chat-send:hover { background: var(--blue-600); transform: scale(1.05); }

@media (max-width: 720px) {
  .chat-panel {
    width: calc(100% - 16px);
    right: 8px;
    bottom: 80px;
    height: 60vh;
  }
  .chat-fab { bottom: 80px; right: 16px; }
}

.nav-toggle { display: none; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.orb-1 {
  width: 500px; height: 500px;
  top: -20%; right: -10%;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
}
.orb-2 {
  width: 400px; height: 400px;
  bottom: -20%; left: -5%;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-300);
  margin-bottom: 24px;
}
.hero-car-img {
  position: absolute;
  bottom: -2%;
  right: -3%;
  width: 58%;
  max-width: 650px;
  height: auto;
  mix-blend-mode: screen;
  filter: contrast(1.4) brightness(1.15) saturate(1.3);
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

.hero-title {
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  margin-bottom: 20px;
}
.hero-accent {
  background: linear-gradient(135deg, var(--blue-400), var(--blue-300) 60%, #FEF3C7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-metal {
  font-family: var(--font-metal);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #c0c0c0 30%, #808080 60%, #ffffff 80%, #a0a0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(59,130,246,0.5)) drop-shadow(0 0 40px rgba(59,130,246,0.3));
  text-shadow: none;
  position: relative;
  margin-bottom: 20px;
}
.hero-metal::after {
  content: 'NEWF';
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-metal);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  z-index: 1;
  pointer-events: none;
}
.hero-metal-accent {
  -webkit-text-fill-color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #60A5FA 40%, #2563EB 70%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 500;
  color: var(--white-60);
  margin-bottom: 36px;
  letter-spacing: 0.02em;
}
.hero-sub {
  font-size: 17px;
  color: var(--white-60);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ── Search Bar ── */
.search-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: var(--r-full);
  padding: 6px 6px 6px 20px;
  gap: 0;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  transition: all 0.35s var(--ease);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.3),
    0 0 30px rgba(59,130,246,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 3px rgba(0,0,0,0.2);
  position: relative;
}
.search-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  border-radius: var(--r-full);
  pointer-events: none;
}
.search-bar:focus-within {
  border-color: rgba(96,165,250,0.5);
  box-shadow:
    0 4px 20px rgba(0,0,0,0.3),
    0 0 40px rgba(59,130,246,0.15),
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -1px 3px rgba(0,0,0,0.2);
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.search-field svg { color: var(--white-40); flex-shrink: 0; }
.search-field input,
.search-field select {
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 0;
  width: 100%;
  outline: none;
}
.search-field select { cursor: pointer; }
.search-field select option { background: var(--bg-elevated); color: var(--white); }
.search-field input::placeholder { color: var(--white-40); }
.search-divider {
  width: 1px;
  height: 28px;
  background: var(--border-strong);
  flex-shrink: 0;
  margin: 0 16px;
}
.search-btn {
  flex-shrink: 0;
  padding: 12px 28px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.stat span { font-size: 13px; color: var(--white-40); }
.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-strong);
}

/* ==========================================================
   CATALOG
   ========================================================== */
.catalog {
  padding: 80px 0 60px;
  position: relative;
  background-image: url('images/catalog-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.catalog::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9,9,11,0.65);
  pointer-events: none;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; }.filter-btn {
  padding: 8px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.filter-btn:hover { border-color: rgba(255,255,255,0.4); color: #fff; background: rgba(255,255,255,0.18); }

.filter-btn.active {
  background: var(--blue-500);
  border-color: var(--blue-500);
  color: #fff;
  box-shadow: 0 2px 12px rgba(59,130,246,0.35);
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Car Card ── */
.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
}
.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.car-card-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-elevated);
}
.car-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.car-card:hover .car-card-media img { transform: scale(1.08); }
.car-thumbs {
  position: absolute;
  bottom: 8px; left: 8px; right: 8px;
  display: flex; gap: 6px;
  padding: 6px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.55));
}
.car-thumbs span {
  width: 42px; height: 28px;
  border-radius: 4px;
  background-size: cover; background-position: center;
  border: 2px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.car-thumbs span.active, .car-thumbs span:hover { border-color: var(--blue-400); transform: translateY(-2px); }

.car-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 12px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(12px);
}
.car-badge.venta { background: rgba(59,130,246,0.2); color: var(--blue-300); border: 1px solid rgba(59,130,246,0.35); }
.car-badge.alquiler { background: var(--green-dim); color: #86EFAC; border: 1px solid var(--green-border); }
.car-badge.compra { background: rgba(168,85,247,0.2); color: #C4B5FD; border: 1px solid rgba(168,85,247,0.35); }

.car-card-fav {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-60);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.2s;
  z-index: 2;
}
.car-card-fav:hover { background: var(--red-dim); color: var(--red); border-color: rgba(239,68,68,0.3); }
.car-card-fav.active { background: var(--red-dim); color: var(--red); border-color: rgba(239,68,68,0.3); }
.car-card-fav.active svg { fill: var(--red); }

.car-card-body { padding: 18px; }
.car-card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}
.car-card-year { font-size: 13px; color: var(--white-40); margin-bottom: 14px; }

.car-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12.5px;
  color: var(--white-60);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.car-card-specs span { display: flex; align-items: center; gap: 5px; }

.car-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
}
.car-price {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-400);
}
.car-price small { font-size: 12px; font-weight: 500; color: var(--white-40); }

.car-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 600;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  color: #86EFAC;
  transition: all 0.2s;
}
.car-wa-btn:hover { background: rgba(34,197,94,0.25); transform: translateY(-1px); }

.catalog-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--white-40);
}
.catalog-empty svg { margin: 0 auto 16px; color: var(--white-20); }
.catalog-empty p { font-size: 18px; color: var(--white-60); margin-bottom: 6px; }
.catalog-empty span { font-size: 14px; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services {
  padding: 100px 0;
  position: relative;
  background-image: url('images/services-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9,9,11,0.78);
  pointer-events: none;
}
.services > .container { position: relative; z-index: 1; }
.services-header { display: flex; align-items: center; gap: 16px; margin-bottom: 48px; }
.services-logo { flex-shrink: 0; }
.services-header h2 { margin: 0; }
.services-header .section-tag { margin-bottom: 4px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-400);
  margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 13.5px; color: var(--white-60); line-height: 1.65; }

/* ==========================================================
   HOW IT WORKS
   ========================================================== */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-it-works h2 { margin-bottom: 48px; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 20px;
}
.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--blue-500);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--white-60); line-height: 1.6; }
.step-arrow {
  font-size: 24px;
  color: var(--white-20);
  padding-top: 20px;
  flex-shrink: 0;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials { padding: 100px 0; }
.testimonials h2 { margin-bottom: 48px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.testimonial-stars {
  color: var(--blue-400);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card > p {
  font-size: 14.5px;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #1A0F00;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-author strong { font-size: 14px; display: block; }
.testimonial-author span { font-size: 12px; color: var(--white-40); }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding: 100px 0; }
.faq h2 { margin-bottom: 48px; }

.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--blue-500);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--blue-400); }
.faq-item p {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--white-60);
  line-height: 1.7;
}

/* ==========================================================
   CONTACT
   ========================================================== */
.contact {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { margin: 6px 0 16px; }
.contact-desc { color: var(--white-60); font-size: 15px; margin-bottom: 24px; max-width: 380px; }
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-400);
  font-weight: 600;
  font-size: 17px;
  margin-bottom: 24px;
}
.contact-social { display: flex; gap: 12px; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  color: #86EFAC;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.social-link:hover { background: rgba(34,197,94,0.25); }

.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideDown 0.3s ease;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--white-40); text-transform: uppercase; letter-spacing: 0.05em; }
.field input,
.field select,
.field textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
  outline: none;
}
.field select option { background: var(--bg-elevated); color: var(--white); }
.field textarea { resize: vertical; min-height: 80px; }
.lead-submit { align-self: flex-start; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--green); margin: 0; min-height: 18px; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { padding: 60px 0 0; background: var(--bg); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--white-40); font-size: 13px; margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--white-60); font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--white-40);
}
.footer-bottom a { color: var(--white-40); }
.footer-bottom a:hover { color: var(--blue-400); }

/* ==========================================================
   WHATSAPP FLOAT
   ========================================================== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(34,197,94,0.4);
  z-index: 90;
  transition: transform 0.25s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }

/* ==========================================================
   CAR DETAIL MODAL
   ========================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s var(--ease);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-60);
  z-index: 2;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--red-dim); color: var(--red); }

.modal-media {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--bg-elevated);
}
.modal-media img { width: 100%; height: 100%; object-fit: cover; }

.modal-body { padding: 28px; }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.modal-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.modal-badge.venta { background: rgba(59,130,246,0.15); color: var(--blue-400); }
.modal-badge.alquiler { background: var(--green-dim); color: #86EFAC; }
.modal-title { font-size: 24px; }
.modal-year { font-size: 14px; color: var(--white-40); margin-top: 2px; }

.fav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-40);
  transition: all 0.2s;
  flex-shrink: 0;
}
.fav-btn:hover { color: var(--red); border-color: rgba(239,68,68,0.3); background: var(--red-dim); }
.fav-btn.active { color: var(--red); border-color: rgba(239,68,68,0.3); background: var(--red-dim); }
.fav-btn.active svg { fill: var(--red); }

.modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.modal-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--white-60);
}
.modal-spec svg { color: var(--blue-400); }

.modal-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-400);
  margin-bottom: 16px;
}
.modal-price small { font-size: 14px; font-weight: 500; color: var(--white-40); }

.modal-desc {
  font-size: 14.5px;
  color: var(--white-60);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-actions { display: flex; gap: 12px; }
.modal-wa { flex: 1; }

/* ==========================================================
   FAVORITES PANEL
   ========================================================== */
.fav-panel {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.fav-panel.open { transform: translateX(0); }
.fav-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.fav-panel-header h3 { font-size: 18px; }
.fav-panel-close { color: var(--white-40); padding: 4px; }
.fav-panel-close:hover { color: var(--white); }
.fav-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.fav-panel-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--white-40);
}
.fav-panel-empty p { font-size: 16px; color: var(--white-60); margin-bottom: 6px; }

.fav-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.fav-item:hover { border-color: var(--border-strong); background: var(--bg-elevated); }
.fav-item-img {
  width: 70px; height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-elevated);
}
.fav-item-img img { width: 100%; height: 100%; object-fit: cover; }
.fav-item-info { flex: 1; min-width: 0; }
.fav-item-name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fav-item-price { font-size: 13px; color: var(--blue-400); font-weight: 600; }
.fav-item-remove {
  align-self: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-40);
  flex-shrink: 0;
  transition: all 0.2s;
}
.fav-item-remove:hover { background: var(--red-dim); color: var(--red); }

/* ==========================================================
   TOAST
   ========================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  z-index: 300;
  box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================
   REQUEST VEHICLE SECTION
   ========================================================== */
.request-section {
  padding: 80px 0;
  position: relative;
}
.section-header.center { text-align: center; align-items: center; }
.request-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.req-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.request-card .field { margin-bottom: 16px; }
.req-form-row .field { margin-bottom: 0; }
.request-card label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--white-60);
  margin-bottom: 6px;
}
.request-card input,
.request-card select,
.request-card textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.request-card input:focus,
.request-card select:focus,
.request-card textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-glow);
}
.request-card select option { background: var(--bg); color: var(--white); }
.req-toggle-wrap { text-align: center; margin-top: 24px; }
.req-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px var(--blue-glow);
}
.req-toggle-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,130,246,0.4);
}
.req-toggle-btn.active svg { transform: rotate(45deg); }
.req-toggle-btn svg { transition: transform 0.3s; }
.req-actions {
  margin-top: 8px;
  text-align: center;
}
.contact-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin: 16px 0;
}
.contact-toggle-btn:hover { border-color: var(--blue-400); color: var(--blue-400); }
.contact-toggle-btn.active svg { transform: rotate(45deg); }
.contact-toggle-btn svg { transition: transform 0.3s; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background: #20BD5C;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

@media (max-width: 600px) {
  .req-form-row { grid-template-columns: 1fr; }
  .request-card { padding: 24px; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; gap: 24px; }
  .step-arrow { display: none; }
  .hero-car-img { width: 70%; max-width: 400px; }
}

@media (max-width: 900px) {
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-metal { font-size: clamp(60px, 12vw, 120px); }
}

@media (max-width: 720px) {
  .nav, .header-actions .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 12px;
    z-index: 99;
  }
  .nav.open a {
    padding: 12px 20px;
    border-radius: var(--r-full);
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    text-align: center;
  }
  .hero { padding: 60px 0 50px; }
  .hero-title { font-size: clamp(28px, 8vw, 42px); }
  .hero-metal { font-size: clamp(48px, 14vw, 80px); }
  .hero-subtitle { font-size: clamp(14px, 4vw, 20px); }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-video { min-height: 100%; width: 100%; }
  .search-bar {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    border-radius: var(--r-lg);
  }
  .search-divider { display: none; }
  .search-btn { width: 100%; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .stat strong { font-size: 20px; }
  .car-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .fav-panel { width: 100%; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero-car-img { width: 85%; max-width: 280px; bottom: -4%; right: -8%; }
  .modal { max-width: 100%; margin: 12px; border-radius: var(--r-lg); }
  .modal-body { padding: 20px; }
  .modal-title { font-size: 20px; }
  .modal-price { font-size: 22px; }
  .modal-specs { gap: 8px; }
  .modal-spec { padding: 6px 10px; font-size: 12px; }
  .contact { padding: 60px 0; }
  .services { padding: 60px 0; }
  .catalog { padding: 50px 0 40px; }
  .faq { padding: 60px 0; }
  .testimonials { padding: 60px 0; }
  .how-it-works { padding: 50px 0; }
  .container { padding: 0 16px; }
  .wa-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
  .fav-toggle { width: 36px; height: 36px; }
  .header-inner { height: 56px; }
  .brand-word { font-size: 18px; }
  .brand-mark { width: 24px; height: 24px; }
  /* Extras para elementos nuevos */
  .req-form-row { grid-template-columns: 1fr; gap: 10px; }
  .req-toggle-btn { width: 100%; padding: 14px; font-size: 15px; }
  .filter-bar { gap: 5px; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }
  .chat-msg-bubble { max-width: 85%; font-size: 13px; }
  .chat-input-row { gap: 6px; }
  .chat-input { font-size: 14px; padding: 10px 12px; }
  .chat-send { padding: 10px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 24px; }
  .hero-metal { font-size: 40px; }
  .hero-subtitle { font-size: 13px; }
  .hero-badge { font-size: 11px; padding: 5px 12px; }
  .search-bar { padding: 10px; }
  .search-input { font-size: 14px; padding: 12px; }
  .car-card { border-radius: 12px; }
  .car-card-img { height: 160px; }
  .car-card-body { padding: 14px; }
  .car-card-title { font-size: 15px; }
  .car-card-price { font-size: 16px; }
  .section-title { font-size: 22px; }
  .chat-panel { height: 70vh; border-radius: 12px; }
  .filter-btn { padding: 6px 12px; font-size: 11px; }
  .car-card-btns { flex-direction: column; gap: 6px; }
  .car-card-btns .btn { width: 100%; text-align: center; }
  .modal-body { padding: 16px; }
  .modal-title { font-size: 18px; }
  .modal-price { font-size: 20px; }
  .modal-spec { padding: 5px 8px; font-size: 11px; }
}

/* ==========================================================
   AUTO REGISTRADO
   ========================================================== */
.auto-registrado {
  padding: 80px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.auto-registrado .search-bar {
  max-width: 420px;
  margin: 0 auto;
  border-radius: var(--r-full);
  padding: 6px;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.auto-registrado .search-bar:focus-within {
  border-color: var(--blue-500);
  box-shadow: 0 0 20px rgba(59,130,246,0.2);
}
.auto-registrado input {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 15px;
  padding: 14px 20px;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
}
.auto-registrado input::placeholder {
  color: var(--white-40);
  text-transform: none;
  letter-spacing: 0;
}
@media (max-width: 480px) {
  .auto-registrado { padding: 50px 0; }
  .auto-registrado .section-title { font-size: 20px; }
}
