/* ==============================================================================
   AVI (Asistencia Vehicular Inmediata) — Design System CSS (Orange Edition)
   Ultra-Fast, Light-Weight, Zero-Bloat Vanilla Stylesheet
   ============================================================================== */

:root {
  --bg-void: #07080c;
  --bg-surface: #0c0f16;
  --bg-elevated: #121622;
  --bg-card: rgba(14, 18, 28, 0.25);
  --bg-glass: rgba(10, 12, 18, 0.35);
  --bg-glass-card: rgba(16, 20, 32, 0.22);
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-sheen: rgba(255, 255, 255, 0.18);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-orange: rgba(255, 107, 0, 0.4);
  --border-cyan: rgba(255, 107, 0, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  /* Paleta Equilibrada: Naranja de Acento + Titanio + Esmeralda */
  --avi-orange: #ff6b00;
  --avi-orange-light: #ffa033;
  --avi-orange-deep: #ff4500;
  --avi-amber: #f59e0b;
  --avi-emerald: #10b981;
  --nuvio-cyan: #ff6b00;
  --nuvio-blue: #ff8800;
  --nuvio-emerald: #10b981;
  --nuvio-amber: #f59e0b;

  --grad-orange: linear-gradient(135deg, #ffa033 0%, #ff5500 100%);
  --grad-cyan-blue: linear-gradient(135deg, #ffa033 0%, #ff5500 100%);
  --grad-emerald: linear-gradient(135deg, #34d399 0%, var(--nuvio-emerald) 100%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 9999px;
  --max-width: 1240px;
}

/* Reset y base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ==============================================================================
   Fondo Dinámico Ambiental y Cyber Canvas Futurista
   ============================================================================== */
.dynamic-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.cyber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  will-change: transform;
}

.glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #ff6b00 0%, rgba(255, 107, 0, 0) 70%);
  top: -120px;
  right: -80px;
  animation: ambientFloat1 24s ease-in-out infinite alternate;
}

.glow-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #ff8800 0%, rgba(245, 158, 11, 0) 70%);
  bottom: 8%;
  left: -160px;
  opacity: 0.15;
  animation: ambientFloat2 30s ease-in-out infinite alternate;
}

.glow-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #ff4500 0%, rgba(255, 69, 0, 0) 70%);
  top: 48%;
  right: 12%;
  opacity: 0.12;
  animation: ambientFloat3 26s ease-in-out infinite alternate;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 35%, black 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 35%, black 35%, transparent 85%);
  animation: gridDrift 50s linear infinite;
}

.cyber-horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 380px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 107, 0, 0.03) 60%, rgba(255, 107, 0, 0.09) 100%);
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 100%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 100%, black 45%, transparent 85%);
}

@keyframes ambientFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-90px, 70px) scale(1.15); }
  100% { transform: translate(50px, 130px) scale(0.92); }
}

@keyframes ambientFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(110px, -80px) scale(1.12); }
  100% { transform: translate(-60px, -130px) scale(0.94); }
}

@keyframes ambientFloat3 {
  0% { transform: translate(0, 0) scale(0.92); }
  50% { transform: translate(-70px, -60px) scale(1.2); }
  100% { transform: translate(80px, 50px) scale(1); }
}

@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 54px 54px; }
}

/* Tipografía de Utilidad */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.mono {
  font-family: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #ffa033 60%, #ff5500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan,
.text-orange { color: var(--avi-orange); }
.text-emerald { color: var(--avi-emerald); }
.text-amber { color: var(--avi-amber); }
.text-muted { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }

/* Contenedor central */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================================================================
   Encabezado Translúcido de Vidrio Puro (High-Transparency Frosted Glass Navbar)
   ============================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 9, 14, 0.35);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5));
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, var(--avi-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  color: var(--avi-orange);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--avi-orange-light);
}

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

/* Botones con Efecto de Vidrio y Relieve Especular (Glassmorphism Buttons) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 140, 35, 0.96) 0%, rgba(255, 80, 0, 0.96) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 22px rgba(255, 107, 0, 0.38), inset 0 1px 1.5px rgba(255, 255, 255, 0.6), inset 0 -1px 2px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 0, 0.58), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 107, 0, 0.5);
  box-shadow: 0 6px 24px rgba(255, 107, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(16, 185, 129, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.btn-glass-glow {
  position: relative;
}

.btn-glass-glow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-glass-glow:hover::after {
  left: 100%;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Botón menú móvil */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* ==============================================================================
   Tarjetas Glassmorphism
   ============================================================================== */
/* ==============================================================================
   Tarjetas Glassmorphism (Alta Transparencia y Frosted Blur)
   ============================================================================== */
.glass-card {
  background: rgba(14, 18, 28, 0.25);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: rgba(18, 24, 38, 0.35);
  border-color: rgba(255, 107, 0, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

/* Pill Badges (Centrados en Encabezados) */
.pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: fit-content;
}

.pill-badge-orange,
.pill-badge-cyan {
  border-color: rgba(255, 107, 0, 0.35);
  background: rgba(255, 107, 0, 0.08);
  color: var(--avi-orange-light);
}

.pill-badge-amber {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.08);
  color: var(--avi-amber);
}

/* ==============================================================================
   Sección Hero (Completamente Centrada y Simétrica)
   ============================================================================== */
.hero {
  padding: 100px 0 70px;
  position: relative;
  text-align: center;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  width: 100%;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-align: center;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-metrics {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  width: 100%;
  max-width: 660px;
  margin: 10px auto 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric-number {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-badge-emerald {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: var(--avi-emerald);
}

/* ==============================================================================
   Encabezados de Sección (Centrado Obligatorio)
   ============================================================================== */
.section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra los badges (Proceso, Transparencia, Normativa, Respuestas) */
  justify-content: center;
  gap: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==============================================================================
   Sección Cómo Funciona (Pasos)
   ============================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid var(--border-orange);
  color: var(--avi-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
}

/* ==============================================================================
   Sección Para Choferes
   ============================================================================== */
.driver-banner {
  background: linear-gradient(135deg, rgba(23, 26, 35, 0.8) 0%, rgba(255, 107, 0, 0.07) 100%);
  border: 1px solid rgba(255, 107, 0, 0.25);
}

.driver-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

/* ==============================================================================
   Calculadora de Tarifa
   ============================================================================== */
/* ==============================================================================
   Calculadora de Tarifa (Glassmorphism Translúcido)
   ============================================================================== */
.calc-card {
  background: rgba(14, 18, 28, 0.25);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

.range-slider {
  width: 100%;
  accent-color: var(--avi-orange);
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.calc-display {
  background: rgba(8, 10, 16, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.calc-price {
  font-size: 40px;
  font-weight: 900;
  color: var(--avi-orange-light);
  letter-spacing: -1px;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
}

/* ==============================================================================
   Seguridad y Normativa
   ============================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.security-card {
  padding: 28px;
}

/* ==============================================================================
   Acordeón de FAQ
   ============================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(14, 18, 28, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 107, 0, 0.4);
  background: rgba(16, 22, 34, 0.35);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: var(--text-primary);
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: var(--avi-orange);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

/* ==============================================================================
   Banner de Lanzamiento (Próximamente - Ultra Transparente)
   ============================================================================== */
.download-card {
  background: radial-gradient(circle at 50% -10%, rgba(255, 107, 0, 0.16) 0%, rgba(14, 18, 28, 0.28) 75%);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  padding: 56px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ==============================================================================
   Formulario de Lista de Espera (Glassmorphic Waitlist)
   ============================================================================== */
.waitlist-form {
  max-width: 520px;
  margin: 30px auto 0;
  width: 100%;
}

.waitlist-glass-wrapper,
.waitlist-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 16, 26, 0.28);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.waitlist-glass-wrapper:hover,
.waitlist-input-group:hover {
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.waitlist-glass-wrapper:focus-within,
.waitlist-input-group:focus-within {
  border-color: rgba(255, 107, 0, 0.7);
  box-shadow: 0 0 32px rgba(255, 107, 0, 0.3), 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  background: rgba(16, 22, 36, 0.42);
}

.waitlist-glass-wrapper input,
.waitlist-input-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  padding: 10px 0;
}

.waitlist-glass-wrapper input::placeholder,
.waitlist-input-group input::placeholder {
  color: var(--text-muted);
}

.waitlist-glass-wrapper .btn,
.waitlist-input-group .btn {
  padding: 11px 24px;
  font-size: 14px;
}

.waitlist-status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 24px;
  transition: all 0.3s ease;
}

.waitlist-status.success {
  color: var(--avi-emerald);
  font-weight: 600;
}

.waitlist-status.error {
  color: #ff4b6e;
  font-weight: 600;
}

@media (max-width: 600px) {
  .waitlist-glass-wrapper,
  .waitlist-input-group {
    flex-direction: column;
    border-radius: 26px;
    padding: 12px;
    gap: 12px;
  }
  .waitlist-glass-wrapper input,
  .waitlist-input-group input {
    width: 100%;
    text-align: center;
    padding: 6px 0;
  }
  .waitlist-glass-wrapper .btn,
  .waitlist-input-group .btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-pill);
  }
}

/* ==============================================================================
   Pie de Página (Footer)
   ============================================================================== */
footer {
  background: #06070a;
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 30px;
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--avi-orange-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==============================================================================
   Media Queries Responsivas
   ============================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .driver-grid,
  .calc-card {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #090a0e;
    padding: 24px;
    border-bottom: 1px solid var(--border-sheen);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
