/* ==========================================================================
   LOOPA MEDIA & EMMA SEGUROS — Sistema de Diseño Ultra-Premium (Mobile-First)
   Paleta: Grafito Profundo (#0B0D11), Blanco Puro (#FFFFFF), Azul Eléctrico (#0066FF)
   Optimizado al milímetro para iPhone / Android y Desktop
   ========================================================================== */

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

:root {
  --graphite-950: #07090D;
  --graphite-900: #0B0D11;
  --graphite-850: #11151C;
  --graphite-800: #171C26;
  --graphite-700: #252C3B;
  --graphite-600: #475467;
  --graphite-500: #667085;
  --graphite-400: #98A2B3;
  --graphite-300: #D0D5DD;
  --graphite-200: #E4E7EC;
  --graphite-100: #F2F4F7;
  --graphite-50:  #F8FAFC;
  --white:        #FFFFFF;

  --blue-600: #0052CC;
  --blue-500: #0066FF;
  --blue-400: #2980FF;
  --blue-300: #66A3FF;
  --blue-100: #D9E8FF;
  --blue-50:  #EBF3FF;
  --cyan-400: #38BDF8;
  --green-500: #10B981;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-max: 1220px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(11, 13, 17, 0.05);
  --shadow-md: 0 14px 34px -8px rgba(11, 13, 17, 0.10);
  --shadow-lg: 0 26px 56px -12px rgba(11, 13, 17, 0.18);
  --shadow-blue: 0 12px 32px -4px rgba(0, 102, 255, 0.44);

  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  color: var(--graphite-900);
  background-color: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  padding-bottom: 92px;
}

@media (min-width: 920px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* ==========================================================================
   KEYFRAMES & EFECTOS VISUALES PREMIUM
   ========================================================================== */
@keyframes auroraShift {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  50% { transform: translate3d(-26px, 18px, 0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(20px, -14px, 0) scale(0.96); opacity: 0.9; }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7); }
  50% { box-shadow: 0 0 0 9px rgba(0, 102, 255, 0); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes progressSweep {
  0% { width: 10%; }
  50% { width: 88%; }
  100% { width: 10%; }
}

@keyframes drawerSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 70ms; }
.reveal-delay-2 { transition-delay: 140ms; }
.reveal-delay-3 { transition-delay: 210ms; }

/* ==========================================================================
   FRANJA SUPERIOR REGIONAL & HEADER STICKY GLASS
   ========================================================================== */
.top-strip {
  background: var(--graphite-950);
  color: var(--graphite-300);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.top-strip-fact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-strip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  animation: pulseDot 2.4s infinite;
  flex-shrink: 0;
}

.uy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 102, 255, 0.16);
  border: 1px solid rgba(0, 102, 255, 0.35);
  color: #D1E4FF;
  font-weight: 600;
  font-size: 0.74rem;
  white-space: nowrap;
}

/* Optimización de la franja superior en celulares */
@media (max-width: 640px) {
  .top-strip {
    padding: 6px 0;
  }
  .top-strip-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .top-strip-fact span:last-child {
    max-width: 145px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.72rem;
  }
  .uy-pill {
    padding: 2px 7px;
    font-size: 0.68rem;
    gap: 4px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 9, 13, 0.96);
  box-shadow: 0 12px 34px -10px rgba(0, 0, 0, 0.65);
  border-bottom-color: rgba(0, 102, 255, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 12px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 76px;
    gap: 16px;
  }
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.loopa-logo-svg {
  height: 34px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .loopa-logo-svg {
    height: 40px;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

@media (min-width: 960px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--graphite-300);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--white);
  background: rgba(0, 102, 255, 0.16);
}

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

/* En móvil ocultamos el botón secundario del header para que quede limpio y espacioso */
@media (max-width: 640px) {
  .header-actions .btn-outline-light {
    display: none;
  }
  .header-actions .btn-primary {
    padding: 8px 13px;
    font-size: 0.8rem;
  }
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .mobile-menu-btn {
    display: none;
  }
}

@media (max-width: 959px) {
  .main-nav.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    padding: 16px;
    background: rgba(11, 14, 21, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.75);
    gap: 6px;
    animation: drawerSlideDown 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .main-nav.mobile-open .nav-link {
    padding: 13px 16px;
    font-size: 0.98rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ==========================================================================
   BOTONES CON SHIMMER COMERCIAL
   ========================================================================== */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  border-radius: 10px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 0.98rem;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #0066FF 0%, #0050CC 100%);
  color: var(--white);
  box-shadow: var(--shadow-blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::after {
  left: 140%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1A75FF 0%, #005CE6 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -6px rgba(0, 102, 255, 0.65);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: var(--white);
  color: var(--graphite-900);
  border-color: var(--graphite-300);
}

.btn-outline-dark:hover {
  border-color: var(--blue-500);
  color: var(--blue-500);
  background: var(--blue-50);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO GRAFITO OPTIMIZADO PARA CELULAR Y DESKTOP
   ========================================================================== */
.hero-graphite {
  position: relative;
  background-color: var(--graphite-900);
  color: var(--white);
  padding: 36px 0 54px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .hero-graphite {
    padding: 64px 0 80px;
  }
}

.hero-graphite::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -100px;
  width: 780px;
  height: 780px;
  background:
    radial-gradient(circle at 35% 35%, rgba(0, 102, 255, 0.34) 0%, rgba(56, 189, 248, 0.14) 38%, rgba(0, 102, 255, 0) 70%);
  pointer-events: none;
  animation: auroraShift 12s ease-in-out infinite alternate;
  filter: blur(20px);
}

.hero-graphite::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 35%, black 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, black 30%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
    gap: 52px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 102, 255, 0.16);
  color: #70ACFF;
  border: 1px solid rgba(0, 102, 255, 0.36);
  margin-bottom: 14px;
}

.eyebrow-light {
  background: var(--blue-50);
  color: var(--blue-600);
  border-color: var(--blue-100);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 6.5vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.text-accent {
  background: linear-gradient(125deg, #38BDF8 0%, #0066FF 55%, #80B3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 2.5vw, 1.22rem);
  color: #DCE1EB;
  max-width: 580px;
  margin-bottom: 22px;
  line-height: 1.58;
}

.hero-cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

@media (min-width: 540px) {
  .hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 539px) {
  .hero-cta-group .btn-lg {
    padding: 14px 12px;
    font-size: 0.92rem;
    width: 100%;
  }
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (min-width: 768px) {
  .hero-stats-row {
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 11px 10px;
}

@media (min-width: 768px) {
  .hero-stat-item {
    background: transparent;
    border: none;
    padding: 0;
  }
}

.hero-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2px;
}

.hero-stat-label {
  font-size: clamp(0.68rem, 2vw, 0.78rem);
  color: var(--graphite-400);
  line-height: 1.3;
}

/* ==========================================================================
   TARJETA DE FOTO HIPERREALISTA Y SIMULADOR EN CABINA
   ========================================================================== */
.car-cockpit-card {
  background: linear-gradient(160deg, rgba(25, 31, 44, 0.92) 0%, rgba(11, 14, 20, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 28px 60px -14px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .car-cockpit-card {
    border-radius: 26px;
    padding: 20px;
  }
}

.hero-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.75);
  margin-bottom: 14px;
  background: #05070A;
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-photo-frame:hover img {
  transform: scale(1.03);
}

.photo-overlay-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(7, 9, 13, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .photo-overlay-bar span {
    font-size: 0.7rem !important;
  }
}

.audience-photo-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 18px;
}

@media (min-width: 920px) {
  .audience-photo-banner {
    grid-template-columns: 1.05fr 0.95fr;
    padding: 32px;
    border-radius: 26px;
    margin-bottom: 32px;
  }
}

.tablet-bezel {
  background: #05070A;
  border: 2px solid #2A3446;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 16px 40px rgba(0, 102, 255, 0.22);
}

.tablet-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--graphite-400);
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  gap: 6px;
}

.tablet-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: #34D399;
  font-weight: 700;
  font-size: 0.68rem;
  white-space: nowrap;
}

.tablet-screen-stage {
  position: relative;
  border-radius: 12px;
  padding: 14px;
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.28) 0%, transparent 55%),
    linear-gradient(135deg, #0E1B38 0%, #09101D 100%);
  border: 1px solid rgba(0, 102, 255, 0.38);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.tablet-ad-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #38BDF8;
  margin-bottom: 4px;
}

.tablet-ad-headline {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.24;
  margin-bottom: 4px;
}

.tablet-ad-sub {
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.45;
}

.tablet-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.qr-mini-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  color: var(--graphite-900);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
}

.tablet-progress-track {
  margin-top: 10px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.tablet-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #0066FF, #38BDF8);
  animation: progressSweep 6s ease-in-out infinite;
}

/* Segmented Control 2x2 en móvil y 4 columnas en desktop */
.screen-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 12px;
}

@media (min-width: 560px) {
  .screen-mode-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.screen-tab-btn {
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--graphite-300);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.screen-tab-btn:hover,
.screen-tab-btn.active {
  background: var(--blue-500);
  border-color: var(--blue-400);
  color: var(--white);
  box-shadow: 0 6px 16px -4px rgba(0, 102, 255, 0.55);
}

/* ==========================================================================
   MARQUEE DE RUBROS Y MARCAS
   ========================================================================== */
.marquee-section {
  background: var(--graphite-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--graphite-400);
  margin-bottom: 14px;
  padding: 0 16px;
}

.marquee-track-wrap {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.brand-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
}

.brand-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
}

/* ==========================================================================
   SECCIONES Y GRILLAS RESPONSIVAS
   ========================================================================== */
.section {
  padding: 54px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 84px 0;
  }
}

.section-light {
  background: var(--white);
  color: var(--graphite-900);
}

.section-subtle {
  background: var(--graphite-50);
  color: var(--graphite-900);
  border-top: 1px solid var(--graphite-200);
  border-bottom: 1px solid var(--graphite-200);
}

.section-dark {
  background: var(--graphite-900);
  color: var(--white);
}

.section-header {
  max-width: 740px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 48px;
  }
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 4.5vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.section-desc {
  font-size: clamp(0.96rem, 2.2vw, 1.08rem);
  color: var(--graphite-600);
}

.section-dark .section-desc {
  color: var(--graphite-300);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

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

/* ==========================================================================
   TARJETAS DE BENEFICIOS, PASAJEROS Y PASOS
   ========================================================================== */
.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--graphite-200);
  border-radius: 20px;
  padding: 24px 20px;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .feature-card {
    border-radius: var(--radius-lg);
    padding: 30px;
  }
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 102, 255, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--blue-50);
  color: var(--blue-600);
  margin-bottom: 10px;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--graphite-900);
}

.feature-text {
  font-size: 0.94rem;
  color: var(--graphite-600);
  line-height: 1.56;
}

.passenger-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px 20px;
  transition: all var(--transition-smooth);
}

@media (min-width: 768px) {
  .passenger-card {
    border-radius: var(--radius-lg);
    padding: 32px 28px;
  }
}

.passenger-stat-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(125deg, #FFFFFF 0%, #70ACFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.passenger-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}

.passenger-card-desc {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.56;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--graphite-200);
  border-radius: 20px;
  padding: 24px 20px;
  transition: all var(--transition-smooth);
}

@media (min-width: 768px) {
  .step-card {
    border-radius: var(--radius-lg);
    padding: 30px 26px;
  }
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--graphite-900);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
  box-shadow: 0 8px 18px rgba(0, 102, 255, 0.2);
}

.step-card:hover .step-number {
  background: var(--blue-500);
}

.step-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  margin-bottom: 6px;
  color: var(--graphite-900);
}

.step-desc {
  font-size: 0.92rem;
  color: var(--graphite-600);
}

/* ==========================================================================
   SIMULADOR CONDUCTORES & ACORDEÓN FAQS
   ========================================================================== */
.driver-sim-card {
  background: linear-gradient(155deg, rgba(25, 32, 46, 0.94) 0%, rgba(11, 14, 21, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 28px 60px -14px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .driver-sim-card {
    border-radius: 24px;
    padding: 24px;
  }
}

.range-slider {
  width: 100%;
  accent-color: var(--blue-500);
  cursor: pointer;
  margin: 10px 0;
  height: 6px;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--graphite-200);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.open {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 18px 18px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--graphite-900);
  cursor: pointer;
}

@media (min-width: 768px) {
  .faq-trigger {
    padding: 20px 24px;
    font-size: 1.04rem;
  }
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--graphite-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--blue-500);
  color: var(--white);
}

.faq-content {
  display: none;
  padding: 0 18px 18px;
  font-size: 0.92rem;
  color: var(--graphite-600);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .faq-content {
    padding: 0 24px 20px;
    font-size: 0.95rem;
  }
}

.faq-item.open .faq-content {
  display: block;
}

/* ==========================================================================
   FORMULARIOS OPTIMIZADOS PARA CELULAR (SIN ZOOM MOLESTO EN IOS)
   ========================================================================== */
.conversion-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .conversion-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 36px;
  }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--graphite-200);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .form-card {
    border-radius: var(--radius-xl);
    padding: 34px;
  }
}

.role-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: var(--graphite-100);
  margin-bottom: 18px;
}

.role-switch-btn {
  padding: 10px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--graphite-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.role-switch-btn.active {
  background: var(--graphite-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

.form-label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--graphite-800);
  margin-bottom: 6px;
}

/* 16px (1rem) evita el auto-zoom en iPhone Safari al tocar el campo */
.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--graphite-300);
  background: var(--white);
  font-size: 1rem;
  color: var(--graphite-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

textarea.form-control {
  min-height: 92px;
  resize: vertical;
}

.email-contact-card {
  background: var(--graphite-900);
  color: var(--white);
  border-radius: 20px;
  padding: 22px 20px;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.email-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.18);
  border: 1px solid rgba(0, 102, 255, 0.4);
  color: #80B3FF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  word-break: break-all;
}

.email-pill-link:hover {
  background: var(--blue-500);
  color: var(--white);
}

.form-feedback-panel {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--blue-50);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--graphite-900);
  font-size: 0.9rem;
}

.form-feedback-panel.visible {
  display: block;
}

/* ==========================================================================
   FOOTER & DOCK FLOTANTE GLASS EN CELULAR
   ========================================================================== */
.site-footer {
  background: var(--graphite-950);
  color: var(--graphite-400);
  padding: 48px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
}

/* Dock flotante estilo iOS en la parte inferior del celular */
.mobile-bottom-bar {
  position: fixed;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  right: 12px;
  z-index: 95;
  background: rgba(11, 14, 21, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mobile-bottom-bar .btn {
  padding: 11px 14px;
  font-size: 0.86rem;
  border-radius: 12px;
}

@media (min-width: 920px) {
  .mobile-bottom-bar {
    display: none;
  }
}
