/* ============================================
   VOLQO — Hoja de estilos del sitio de marketing
   Paleta: navy profundo + verde lima eléctrico
   Tipografía: Inter (400/500/600/700)
   Mobile-first
   ============================================ */

:root {
  /* Colores de marca */
  --navy: #0F172A;
  --navy-suave: #1E293B;
  --navy-borde: #334155;
  --lima: #84CC16;
  --lima-oscuro: #65A30D;
  --lima-tinte: #F4FCE5;

  /* Neutros */
  --blanco: #FFFFFF;
  --fondo-claro: #F8FAFC;
  --gris-borde: #E2E8F0;
  --gris-texto: #475569;
  --gris-suave: #94A3B8;

  /* WhatsApp */
  --whatsapp: #25D366;
  --whatsapp-oscuro: #1DA851;

  /* Tipografía: Inter para leer, mono para los datos (horarios, precios,
     números) — el vernáculo de un tablero de operaciones de transporte */
  --fuente: 'Inter', system-ui, -apple-system, sans-serif;
  --fuente-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

  /* Profundidad */
  --sombra-suave: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
  --brillo-borde: inset 0 1px 0 rgba(255, 255, 255, 0.07);

  /* Curvas de movimiento (Emil Kowalski: las nativas son demasiado débiles).
     ease-out fuerte para entradas/salidas, in-out para movimiento en pantalla. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* Espaciado y forma */
  --radio: 12px;
  --radio-chico: 8px;
  --ancho-max: 1140px;
}

/* ===== Reset básico ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fuente);
  color: var(--navy);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ===== Utilidades ===== */
.contenedor {
  width: 100%;
  max-width: var(--ancho-max);
  margin: 0 auto;
  padding: 0 20px;
}

.oculto {
  display: none !important;
}

/* Animación de aparición al hacer scroll.
   Solo se oculta si JS está corriendo (html.js): si el script no carga,
   la página se ve completa, sin animación. */
.js .revelar {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js .revelar.visible {
  opacity: 1;
  transform: none;
}

/* Las grillas no se animan como bloque: sus tarjetas aparecen en cascada.
   Se usa animation (no transition) para no ensuciar los hovers de después. */
.grilla.revelar {
  opacity: 1;
  transform: none;
}

.js .grilla.revelar > * {
  opacity: 0;
}

.grilla.revelar.visible > * {
  opacity: 1;
  animation: aparecer-sube 0.55s var(--ease-out) backwards;
}

.grilla.revelar.visible > *:nth-child(2) { animation-delay: 0.1s; }
.grilla.revelar.visible > *:nth-child(3) { animation-delay: 0.2s; }
.grilla.revelar.visible > *:nth-child(4) { animation-delay: 0.3s; }
.grilla.revelar.visible > *:nth-child(5) { animation-delay: 0.4s; }
.grilla.revelar.visible > *:nth-child(6) { animation-delay: 0.5s; }
.grilla.revelar.visible > *:nth-child(7) { animation-delay: 0.6s; }
.grilla.revelar.visible > *:nth-child(8) { animation-delay: 0.7s; }

/* Las tarjetas se levantan al pasar el mouse */
.tarjeta-problema,
.tarjeta-dif,
.tarjeta-modulo,
.tarjeta-caso,
.tarjeta-comp {
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.tarjeta-problema:hover,
.tarjeta-dif:hover,
.tarjeta-modulo:hover {
  transform: translateY(-4px);
  border-color: var(--lima);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.tarjeta-caso:hover,
.tarjeta-comp:hover {
  transform: translateY(-4px);
  border-color: var(--lima);
}

/* Animaciones base */
@keyframes aparecer-sube {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes crecer-barra {
  from {
    transform: scaleY(0);
  }
}

@keyframes flotar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes pulso {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* Accesibilidad: sin animaciones para quien las desactivó */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== Botones ===== */
.boton {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radio-chico);
  transition: background 0.16s var(--ease-out), color 0.16s var(--ease-out), border-color 0.16s var(--ease-out), transform 0.12s var(--ease-out), box-shadow 0.16s var(--ease-out);
  text-align: center;
  cursor: pointer;
  border: none;
  font-family: var(--fuente);
}

/* El botón responde al toque: baja un pelo al presionarlo (Emil) */
.boton:active,
.boton-whatsapp:active {
  transform: scale(0.97);
}

.boton-primario {
  background: var(--lima);
  color: var(--navy);
}

.boton-primario:hover {
  background: var(--lima-oscuro);
  color: var(--blanco);
}

.boton-secundario {
  background: transparent;
  color: var(--blanco);
  border: 1px solid var(--navy-borde);
}

.boton-secundario:hover {
  border-color: var(--lima);
  color: var(--lima);
}

.boton-borde {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--gris-borde);
}

.boton-borde:hover {
  border-color: var(--lima-oscuro);
  color: var(--lima-oscuro);
}

.boton-grande {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.boton-bloque {
  display: block;
  width: 100%;
}

.boton-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: var(--blanco);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radio-chico);
  transition: background 0.16s var(--ease-out), transform 0.12s var(--ease-out);
}

.boton-whatsapp:hover {
  background: var(--whatsapp-oscuro);
}

.boton-whatsapp svg {
  width: 20px;
  height: 20px;
}

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-suave);
}

.navbar-interior {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blanco);
}

.wordmark-q {
  color: var(--lima);
}

.navbar-links {
  display: none;
  gap: 32px;
}

.navbar-links a {
  color: var(--gris-suave);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.navbar-links a:hover {
  color: var(--blanco);
}

.navbar-derecha {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-cta {
  font-size: 0.88rem;
  padding: 9px 18px;
}

/* Acceso al sistema ("Ingresar") — texto en desktop, item lima en el menú móvil */
.navbar-acceso {
  display: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gris-suave);
  transition: color 0.15s var(--ease-out);
}

.navbar-acceso:hover {
  color: var(--lima);
}

.menu-acceso {
  color: var(--lima) !important;
  font-weight: 600;
}

@media (min-width: 768px) {
  .navbar-acceso {
    display: inline-flex;
  }

  .menu-acceso {
    display: none;
  }
}

/* Botón hamburguesa (solo móvil) */
.menu-boton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--navy-borde);
  border-radius: var(--radio-chico);
  cursor: pointer;
}

.menu-boton span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--blanco);
  border-radius: 2px;
}

/* Menú móvil desplegado */
.navbar-links.abierto {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-suave);
  padding: 8px 20px 16px;
}

.navbar-links.abierto a {
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--navy-suave);
}

.navbar-links.abierto a:last-child {
  border-bottom: none;
}

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  background-image:
    radial-gradient(900px 540px at 78% 30%, rgba(132, 204, 22, 0.08), transparent 65%),
    radial-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px);
  background-size: auto, 26px 26px;
  color: var(--blanco);
  padding: 64px 0 0;
  overflow: hidden;
}

.hero h1 .acento {
  color: var(--lima);
}

.seccion-navy {
  background-image: radial-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

.hero-interior {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero-etiqueta {
  display: inline-block;
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitulo {
  font-size: 1.15rem;
  color: var(--gris-suave);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-prueba {
  font-size: 0.88rem;
  color: var(--gris-suave);
  max-width: 480px;
  padding-left: 14px;
  border-left: 2px solid var(--lima);
}

/* Franja de sectores bajo el hero */
.hero-sectores {
  margin-top: 56px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--navy-suave);
}

.hero-sectores p {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gris-suave);
  text-align: center;
}

/* ===== Mockup ilustrativo del sistema (hero) ===== */
.hero-visual {
  width: 100%;
  position: relative;
}

/* Tarjeta flotante de IA sobre el mockup */
.mockup-ia {
  position: absolute;
  z-index: 2;
  bottom: -18px;
  left: -10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 300px;
  background: var(--blanco);
  color: var(--navy);
  border-radius: 12px;
  padding: 13px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: flotar 4.5s ease-in-out infinite;
}

.mockup-ia strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.mockup-ia p {
  font-size: 0.76rem;
  color: var(--gris-texto);
  line-height: 1.45;
}

.mockup-ia b {
  color: var(--navy);
}

.ia-chispa {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--lima);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 700;
}

.ia-chispa.alerta {
  background: #FBBF24;
}

.mockup {
  background: var(--navy-suave);
  border: 1px solid var(--navy-borde);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.mockup-barra {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--navy-borde);
}

.mockup-barra span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy-borde);
}

.mockup-barra em {
  margin-left: 10px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gris-suave);
}

.mockup-cuerpo {
  display: flex;
}

.mockup-sidebar {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 12px;
  border-right: 1px solid var(--navy-borde);
}

.mock-punto {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--lima);
  margin-bottom: 6px;
}

.mock-item {
  width: 22px;
  height: 6px;
  border-radius: 3px;
  background: var(--navy-borde);
}

.mock-item.activo {
  background: var(--lima);
}

.mockup-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-kpi {
  background: var(--navy);
  border: 1px solid var(--navy-borde);
  border-radius: 9px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-kpi small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gris-suave);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-kpi strong {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: -0.01em;
}

.mock-kpi em {
  font-style: normal;
  font-size: 0.62rem;
  color: var(--gris-suave);
}

.mock-kpi em.positivo {
  color: var(--lima);
  font-weight: 600;
}

.mockup-grafico {
  background: var(--navy);
  border: 1px solid var(--navy-borde);
  border-radius: 9px;
  padding: 12px 14px 10px;
}

.mockup-grafico small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--gris-suave);
  margin-bottom: 10px;
}

.mock-barras {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 64px;
}

.mock-barras i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--navy-borde);
}

.mock-barras i.destacada {
  background: var(--lima);
}

.mockup-servicios {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-servicio {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  border: 1px solid var(--navy-borde);
  border-radius: 9px;
  padding: 9px 12px;
}

.mock-hora {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blanco);
  flex-shrink: 0;
}

.mock-ruta {
  flex: 1;
  font-size: 0.7rem;
  color: var(--gris-suave);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-pill {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}

.mock-pill.confirmado {
  background: rgba(132, 204, 22, 0.15);
  color: var(--lima);
}

.mock-pill.en-ruta {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
}

.mock-pill.pendiente {
  background: rgba(251, 191, 36, 0.15);
  color: #FBBF24;
}

@media (min-width: 480px) {
  .mockup-sidebar {
    display: flex;
  }
}

/* El mockup cobra vida al cargar la página */
.mock-kpi {
  animation: aparecer-sube 0.6s ease both;
}

.mock-kpi:nth-child(1) { animation-delay: 0.2s; }
.mock-kpi:nth-child(2) { animation-delay: 0.35s; }
.mock-kpi:nth-child(3) { animation-delay: 0.5s; }

.mock-barras i {
  transform-origin: bottom;
  animation: crecer-barra 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.mock-barras i:nth-child(1) { animation-delay: 0.65s; }
.mock-barras i:nth-child(2) { animation-delay: 0.72s; }
.mock-barras i:nth-child(3) { animation-delay: 0.79s; }
.mock-barras i:nth-child(4) { animation-delay: 0.86s; }
.mock-barras i:nth-child(5) { animation-delay: 0.93s; }
.mock-barras i:nth-child(6) { animation-delay: 1s; }
.mock-barras i:nth-child(7) { animation-delay: 1.07s; }
.mock-barras i:nth-child(8) { animation-delay: 1.14s; }

.mock-servicio {
  animation: aparecer-sube 0.5s ease both;
}

.mock-servicio:nth-child(1) { animation-delay: 1.1s; }
.mock-servicio:nth-child(2) { animation-delay: 1.25s; }
.mock-servicio:nth-child(3) { animation-delay: 1.4s; }

.mock-pill.en-ruta {
  animation: pulso 2.4s ease-in-out 1.8s infinite;
}

.mockup-ia {
  animation: aparecer-sube 0.6s ease 1.5s both, flotar 4.5s ease-in-out 2.1s infinite;
}

/* ===== Secciones genéricas ===== */
.seccion {
  padding: 72px 0;
}

.seccion-gris {
  background: var(--fondo-claro);
}

.seccion-navy {
  background: var(--navy);
  color: var(--blanco);
}

.seccion-cabecera {
  max-width: 720px;
  margin-bottom: 48px;
}

.seccion-etiqueta {
  font-family: var(--fuente-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lima-oscuro);
  margin-bottom: 12px;
}

/* La página interior usa h1 con el mismo tratamiento del h2 de sección */
.seccion-cabecera h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.seccion-navy .seccion-etiqueta {
  color: var(--lima);
}

.seccion-cabecera h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.seccion-bajada {
  font-size: 1.08rem;
  color: var(--gris-texto);
}

.seccion-navy .seccion-bajada {
  color: var(--gris-suave);
}

/* ===== Grillas ===== */
.grilla {
  display: grid;
  gap: 20px;
}

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

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

/* ===== Problema ===== */
.tarjeta-problema {
  background: var(--fondo-claro);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 26px 24px;
}

.tarjeta-problema h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.tarjeta-problema p {
  font-size: 0.93rem;
  color: var(--gris-texto);
}

.problema-cierre {
  margin-top: 40px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
}

.problema-cierre strong {
  color: var(--lima-oscuro);
  font-weight: 700;
}

/* ===== Módulos ===== */
.grilla-modulos {
  gap: 24px;
}

@media (min-width: 768px) {
  .grilla-modulos {
    grid-template-columns: repeat(2, 1fr);
  }

  /* La Torre de Control y la App del conductor ocupan fila completa */
  .tarjeta-modulo-destacado,
  .tarjeta-modulo-app {
    grid-column: 1 / -1;
  }
}

.tarjeta-modulo {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 30px 28px;
}

.tarjeta-modulo-destacado {
  border-color: var(--lima);
  border-width: 1.5px;
}

/* ===== Módulo App del conductor (full-width con teléfono) ===== */
.tarjeta-modulo-app {
  display: grid;
  gap: 28px;
  align-items: center;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--blanco);
  overflow: hidden;
}

@media (min-width: 760px) {
  .tarjeta-modulo-app {
    grid-template-columns: 1fr 280px;
    gap: 40px;
    padding: 40px;
  }
}

.tarjeta-modulo-app .modulo-icono {
  background: rgba(132, 204, 22, 0.15);
  color: var(--lima);
}

.tarjeta-modulo-app h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--blanco);
}

.tarjeta-modulo-app > .app-texto > p {
  color: var(--gris-suave);
}

.tarjeta-modulo-app ul li {
  color: #CBD5E1;
}

.badge-pronto {
  font-family: var(--fuente-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lima);
  background: rgba(132, 204, 22, 0.14);
  border: 1px solid rgba(132, 204, 22, 0.4);
  padding: 3px 9px;
  border-radius: 999px;
}

/* Teléfono */
.app-visual {
  display: flex;
  justify-content: center;
}

.app-telefono {
  width: 200px;
  max-width: 60%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

@media (min-width: 760px) {
  .app-telefono {
    max-width: 100%;
  }
}

.tel-cuerpo { fill: #060B16; stroke: var(--navy-borde); stroke-width: 1.5; }
.tel-pantalla { fill: var(--navy); }
.tel-notch { fill: #060B16; }
.tel-titulo { fill: var(--blanco); font-family: var(--fuente); font-weight: 700; font-size: 22px; }
.tel-sub { fill: var(--gris-suave); font-family: var(--fuente); font-size: 11px; }
.tel-card { fill: var(--navy-suave); stroke: var(--navy-borde); stroke-width: 1; }
.tel-hora { fill: var(--blanco); font-family: var(--fuente-mono); font-weight: 700; font-size: 15px; }
.tel-ruta { fill: var(--gris-suave); font-family: var(--fuente); font-size: 10.5px; }
.tel-pill { fill: rgba(56, 189, 248, 0.16); }
.tel-pill-txt { fill: #38BDF8; font-family: var(--fuente-mono); font-weight: 600; font-size: 8.5px; text-anchor: middle; }
.tel-boton { fill: var(--lima); }
.tel-boton-txt { fill: var(--navy); font-family: var(--fuente); font-weight: 700; font-size: 10px; text-anchor: middle; }
.tel-boton-ghost { fill: none; stroke: var(--lima); stroke-width: 1.3; }
.tel-boton-txt-ghost { fill: var(--lima); }
.tel-sos { fill: rgba(239, 68, 68, 0.16); stroke: rgba(239, 68, 68, 0.5); stroke-width: 1; }
.tel-sos-txt { fill: #F87171; font-family: var(--fuente-mono); font-weight: 700; font-size: 12px; text-anchor: middle; }
.tel-trafico { fill: var(--navy-suave); stroke: var(--navy-borde); stroke-width: 1; }
.tel-trafico-txt { fill: var(--gris-suave); font-family: var(--fuente); font-weight: 600; font-size: 11px; text-anchor: middle; }

/* La pantalla "respira": el servicio en ruta pulsa suave */
.js .tarjeta-modulo-app.visible .tel-pill-ruta {
  animation: pulso 2.4s var(--ease-in-out) infinite;
}

/* ============================================
   Fotos reales con tratamiento on-brand
   (marco redondeado + velo navy sutil + chip lima)
   ============================================ */
.foto {
  position: relative;
  border-radius: var(--radio);
  overflow: hidden;
  border: 1px solid var(--navy-borde);
  box-shadow: var(--sombra-suave);
  background: var(--navy-suave);
}

.foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transition: transform 0.5s var(--ease-out);
}

.foto:hover img {
  transform: scale(1.04);
}

/* velo navy: sutil arriba, más denso abajo para que el chip se lea */
.foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.62) 100%);
  pointer-events: none;
}

.foto-caption {
  position: absolute;
  left: 14px;
  bottom: 13px;
  z-index: 1;
  font-family: var(--fuente-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--blanco);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(132, 204, 22, 0.55);
  padding: 5px 11px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 28px);
}

/* Foto ancha (banner de "Para quién") */
.escena-foto {
  max-width: 900px;
  margin: 0 auto 48px;
}

.foto-ancha {
  aspect-ratio: 16 / 8;
}

/* Banda de dos fotos (operación en Clientes) */
.fotos-operacion {
  display: grid;
  gap: 20px;
  margin-bottom: 52px;
}

.fotos-operacion .foto {
  aspect-ratio: 3 / 2;
}

@media (min-width: 720px) {
  .fotos-operacion {
    grid-template-columns: 1fr 1fr;
  }
}

/* Torre de Control: dos columnas (features + foto) */
@media (min-width: 820px) {
  .tarjeta-modulo-confoto {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: center;
  }

  .tarjeta-modulo-confoto .modulo-confoto-visual .foto {
    aspect-ratio: 4 / 3;
    height: 100%;
  }
}

.tarjeta-modulo-confoto .modulo-confoto-visual {
  margin-top: 20px;
}

@media (min-width: 820px) {
  .tarjeta-modulo-confoto .modulo-confoto-visual {
    margin-top: 0;
  }
}

.modulo-icono {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--lima-tinte);
  color: var(--lima-oscuro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.modulo-icono svg {
  width: 24px;
  height: 24px;
}

.tarjeta-modulo h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tarjeta-modulo > p {
  font-size: 1rem;
  color: var(--gris-texto);
  font-weight: 500;
  margin-bottom: 16px;
}

.tarjeta-modulo ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 0.92rem;
  color: var(--gris-texto);
}

.tarjeta-modulo ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--lima-oscuro);
  border-bottom: 2px solid var(--lima-oscuro);
  transform: rotate(-45deg) scale(0.85);
}

@media (min-width: 768px) {
  .tarjeta-modulo-destacado ul {
    columns: 2;
    column-gap: 36px;
  }

  .tarjeta-modulo-destacado ul li {
    break-inside: avoid;
  }
}

/* ===== Resultados / comparativas antes-después ===== */
.tarjeta-comp {
  background: var(--navy-suave);
  border: 1px solid var(--navy-borde);
  border-radius: var(--radio);
  padding: 24px 22px;
}

.tarjeta-comp h3 {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blanco);
  margin-bottom: 18px;
}

/* En grillas de varias columnas, los títulos reservan SIEMPRE el alto de
   2 líneas: si uno ocupa una sola, el contenido de abajo queda alineado
   igual entre todas las tarjetas de la fila. */
.tarjeta-problema h3,
.tarjeta-caso h3 {
  line-height: 1.4;
}

@media (min-width: 700px) {
  .tarjeta-comp h3,
  .tarjeta-problema h3 {
    height: 2.9em;
  }

  /* El título de los casos lleva padding inferior (subrayado): hay que
     sumarlo al alto reservado para que el subrayado quede a la misma
     altura en toda la fila, tenga el título 1 o 2 líneas. */
  .tarjeta-caso h3 {
    height: calc(2.9em + 12px);
  }
}

.comp-fila {
  display: grid;
  grid-template-columns: 70px 1fr 56px;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.comp-fila small {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gris-suave);
}

.comp-fila span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blanco);
  text-align: right;
}

.comp-barra {
  height: 10px;
  background: var(--navy);
  border-radius: 999px;
  overflow: hidden;
}

.comp-barra i {
  display: block;
  height: 100%;
  border-radius: 999px;
  min-width: 6px;
  width: var(--w, 100%);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

/* Con JS, las barras arrancan vacías y se llenan al entrar en pantalla */
.js .revelar:not(.visible) .comp-barra i {
  width: 0;
}

.comp-barra i.gris {
  background: var(--navy-borde);
}

.comp-barra i.lima {
  background: var(--lima);
}

.comp-dato {
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lima);
  margin: 14px 0 6px;
}

.comp-nota {
  font-size: 0.82rem;
  color: var(--gris-suave);
}

.comp-disclaimer {
  margin-top: 34px;
  font-size: 0.82rem;
  color: var(--gris-suave);
  text-align: center;
}

/* ===== Clientes y opiniones ===== */
.cifras {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
  margin-bottom: 56px;
}

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

.cifra strong {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lima);
  line-height: 1.1;
  margin-bottom: 6px;
}

.cifra > span {
  font-size: 0.9rem;
  color: var(--gris-suave);
}

.testimonios {
  display: grid;
  gap: 20px;
}

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

  .testimonio-destacado {
    grid-column: 1 / -1;
  }
}

.testimonio {
  background: var(--navy-suave);
  border: 1px solid var(--navy-borde);
  border-radius: var(--radio);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonio:hover {
  transform: translateY(-4px);
  border-color: var(--lima);
}

.testimonio p {
  font-size: 1rem;
  line-height: 1.65;
  color: #CBD5E1;
  flex: 1;
}

.testimonio-destacado p {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.6;
  color: var(--blanco);
}

.testimonio footer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 14px;
  border-top: 1px solid var(--navy-borde);
}

.testimonio-autor {
  display: block;
  min-width: 0;
}

.testimonio footer strong {
  display: block;
  font-size: 0.92rem;
  color: var(--lima);
}

.testimonio-autor span {
  font-size: 0.82rem;
  color: var(--gris-suave);
}

/* Avatares ilustrados de las reseñas */
.avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden; /* recorta los hombros al círculo */
}

.avatar-fig { fill: var(--blanco); }
.avatar--a .avatar-bg { fill: #2563EB; }   /* azul */
.avatar--b .avatar-bg { fill: var(--lima-oscuro); }
.avatar--c .avatar-bg { fill: #0EA5A3; }   /* teal */

.avatar--marca .avatar-bg { fill: var(--lima); }
.avatar-q {
  fill: var(--navy);
  font-family: var(--fuente);
  font-weight: 700;
  font-size: 26px;
  text-anchor: middle;
  dominant-baseline: central;
}

/* ===== Inteligencia artificial ===== */
.ia-demos {
  display: grid;
  gap: 18px;
  margin-bottom: 36px;
}

@media (min-width: 860px) {
  .ia-demos {
    grid-template-columns: 1fr 1fr;
  }
}

.ia-demo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-left: 3px solid var(--lima);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  animation: flotar 5s ease-in-out infinite;
}

.ia-demo-2 {
  border-left-color: #FBBF24;
  animation-delay: 2.5s;
}

.ia-demo strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.ia-demo p {
  font-size: 0.85rem;
  color: var(--gris-texto);
  line-height: 1.5;
}

.ia-demo b {
  color: var(--navy);
}

.ia-columnas {
  display: grid;
  gap: 24px;
}

@media (min-width: 860px) {
  .ia-columnas {
    grid-template-columns: 1fr 1fr;
  }
}

.tarjeta-ia {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 30px 28px;
}

.tarjeta-ia-futuro {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--blanco);
}

.ia-insignia {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.ia-insignia.hoy {
  background: var(--lima-tinte);
  color: var(--lima-oscuro);
}

.ia-insignia.futuro {
  background: rgba(132, 204, 22, 0.15);
  color: var(--lima);
}

.tarjeta-ia ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--gris-texto);
}

.tarjeta-ia ul li:last-child {
  margin-bottom: 0;
}

.tarjeta-ia ul li strong {
  color: var(--navy);
}

.tarjeta-ia-futuro ul li {
  color: var(--gris-suave);
}

.tarjeta-ia-futuro ul li strong {
  color: var(--blanco);
}

.tarjeta-ia ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--lima-oscuro);
  border-bottom: 2px solid var(--lima-oscuro);
  transform: rotate(-45deg) scale(0.85);
}

.tarjeta-ia-futuro ul li::before {
  border-color: var(--lima);
}

/* ===== Diferenciadores ===== */
.tarjeta-dif {
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 26px 24px;
}

.dif-icono {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: var(--navy);
  color: var(--lima);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dif-icono svg {
  width: 20px;
  height: 20px;
}

.tarjeta-dif h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.tarjeta-dif p {
  font-size: 0.92rem;
  color: var(--gris-texto);
}

/* ===== Cómo funciona: mapa de ruta vivo ===== */
.ruta-mapa {
  display: none; /* en móvil mostramos las paradas con número; el mapa es desktop */
}

.ruta-mapa svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Carretera: base tenue + línea lima que se dibuja */
.ruta-base {
  fill: none;
  stroke: var(--navy-borde);
  stroke-width: 3;
  stroke-linecap: round;
}

.ruta-camino {
  fill: none;
  stroke: var(--lima);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 6 9; /* carretera punteada */
}

.js .ruta-camino {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.js .ruta-mapa.activa .ruta-camino {
  animation: dibujar-ruta 2.2s var(--ease-out) forwards;
}

@keyframes dibujar-ruta {
  to { stroke-dashoffset: 0; }
}

/* Paradas numeradas */
.ruta-pin circle {
  fill: var(--lima);
}

.ruta-pin text {
  fill: var(--navy);
  font-family: var(--fuente-mono);
  font-weight: 700;
  font-size: 16px;
  text-anchor: middle;
  dominant-baseline: central;
}

.js .ruta-pin {
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
}

.js .ruta-mapa.activa .ruta-pin {
  animation: pin-pop 0.45s var(--ease-out) forwards;
  animation-delay: calc(0.5s + var(--i) * 0.35s);
}

@keyframes pin-pop {
  from { opacity: 0; transform: scale(0.4); }
  60%  { opacity: 1; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}

/* El bus */
.ruta-bus rect:first-of-type {
  fill: var(--blanco);
}

.ruta-bus-vidrio {
  fill: var(--navy-suave);
}

.ruta-bus-faro {
  fill: #FBBF24;
}

.ruta-bus-rueda {
  fill: var(--navy);
}

.js .ruta-bus {
  opacity: 0;
}

.js .ruta-mapa.activa .ruta-bus {
  animation: aparecer-bus 0.5s var(--ease-out) 2.4s forwards;
}

@keyframes aparecer-bus {
  to { opacity: 1; }
}

/* Paradas (texto debajo del mapa) */
.ruta-paradas {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .ruta-mapa {
    display: block;
    margin-bottom: 12px;
  }

  .ruta-paradas {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

.parada {
  position: relative;
}

.parada-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lima);
  color: var(--navy);
  font-family: var(--fuente-mono);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* En desktop el número vive en el mapa, no en cada columna */
@media (min-width: 900px) {
  .parada-num {
    display: none;
  }
}

.parada h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.parada p {
  font-size: 0.9rem;
  color: var(--gris-suave);
}

/* ===== Para quién: ilustración de transporte ===== */
.escena-transporte {
  max-width: 620px;
  margin: 0 auto 48px;
}

.escena-transporte svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.esc-via { fill: var(--fondo-claro); }
.esc-linea { stroke: var(--gris-borde); stroke-width: 3; stroke-dasharray: 18 14; stroke-linecap: round; }
.esc-pin path { fill: var(--lima); }
.esc-pin circle { fill: var(--blanco); }
.esc-vel { stroke: var(--lima); stroke-width: 3; stroke-linecap: round; opacity: 0.55; }
.esc-sombra { fill: rgba(15, 23, 42, 0.10); }
.esc-cuerpo { fill: var(--blanco); stroke: var(--gris-borde); stroke-width: 2; }
.esc-techo { fill: var(--lima); }
.esc-letrero { fill: var(--navy); }
.esc-letrero-luz circle { fill: var(--lima); }
.esc-vent rect { fill: var(--navy); }
.esc-parabrisas { fill: var(--navy); }
.esc-pax { fill: #64748B; }
.esc-puerta { fill: var(--navy-suave); stroke: var(--gris-borde); stroke-width: 1.5; }
.esc-faro { fill: #FBBF24; }
.esc-stop { fill: #EF4444; }
.esc-wordmark {
  fill: var(--navy);
  font-family: var(--fuente);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-anchor: middle;
}
.esc-rueda circle:first-child { fill: var(--navy); }
.esc-llanta { fill: var(--navy-borde); }
.esc-eje { fill: var(--lima); }
.esc-raya { fill: var(--navy-borde); }

/* Las ruedas giran suave y las líneas de velocidad laten */
.js .escena-transporte.visible .esc-rueda {
  animation: girar 2.4s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.js .escena-transporte.visible .esc-vel {
  animation: vel-late 1.6s var(--ease-in-out) infinite;
}

.esc-vel:nth-of-type(2) { animation-delay: 0.2s; }

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes vel-late {
  0%, 100% { opacity: 0.2; transform: translateX(0); }
  50% { opacity: 0.6; transform: translateX(-6px); }
}

/* ===== Para quién ===== */
.tarjeta-caso {
  background: var(--navy);
  color: var(--blanco);
  border: 1px solid var(--navy);
  border-radius: var(--radio);
  padding: 28px 24px;
}

.tarjeta-caso h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--lima);
}

.tarjeta-caso p {
  font-size: 0.92rem;
  color: var(--gris-suave);
}

/* ===== Roadmap ===== */
.roadmap {
  max-width: 720px;
  position: relative;
  padding-left: 28px;
}

.roadmap::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gris-borde);
}

.roadmap li {
  position: relative;
  padding-bottom: 28px;
}

.roadmap li:last-child {
  padding-bottom: 0;
}

.roadmap li::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--lima);
  border: 3px solid var(--blanco);
  box-shadow: 0 0 0 2px var(--lima);
}

.roadmap h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.roadmap p {
  font-size: 0.93rem;
  color: var(--gris-texto);
}

/* ===== Precios por módulos (armador) ===== */
.armador {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 980px) {
  .armador {
    grid-template-columns: 1fr 340px;
    gap: 32px;
  }

  .armador-resumen {
    position: sticky;
    top: 88px;
  }
}

.armador-modulos {
  display: grid;
  gap: 16px;
}

/* M6: el contenedor de los módulos de pago (lo llena el JS) debe participar de la
   grilla de arriba, no ser una sola celda. */
#armador-modulos-addon {
  display: contents;
}

/* M6: input de cantidad de vehículos dentro de la tarjeta de flota. */
.armador-vehiculos {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}
.armador-vehiculos input {
  display: block;
  margin-top: 8px;
  width: 100%;
  max-width: 220px;
  padding: 14px 16px;
  border: 2px solid var(--gris-borde);
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  font-family: inherit;
  color: var(--negro, #15151c);
  background: #fff;
  line-height: 1.2;
}
.armador-vehiculos input:focus {
  outline: none;
  border-color: var(--primario, #534AB7);
}

.mod-tarjeta {
  display: flex;
  gap: 16px;
  background: var(--blanco);
  border: 1.5px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 24px 22px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mod-tarjeta:hover {
  border-color: var(--gris-suave);
}

.mod-tarjeta:has(input:checked) {
  border-color: var(--lima);
  box-shadow: 0 4px 18px rgba(132, 204, 22, 0.12);
}

.mod-tarjeta input {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--lima-oscuro);
  cursor: pointer;
}

.mod-base {
  cursor: default;
}

.mod-contenido {
  flex: 1;
  min-width: 0;
}

.mod-cabecera {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 8px;
}

.mod-cabecera h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.mod-precio {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lima-oscuro);
  white-space: nowrap;
}

.mod-precio small {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gris-suave);
}

.mod-contenido p {
  font-size: 0.92rem;
  color: var(--gris-texto);
}

.mod-incluye {
  margin-top: 8px;
  font-size: 0.85rem !important;
  color: var(--gris-suave) !important;
}

.mod-etiqueta {
  display: inline-block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--lima-tinte);
  color: var(--lima-oscuro);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Panel resumen */
.armador-resumen {
  background: var(--navy);
  color: var(--blanco);
  border-radius: var(--radio);
  padding: 28px 26px;
}

.armador-resumen h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.armador-resumen ul {
  margin-bottom: 16px;
}

.armador-resumen ul li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--gris-suave);
  padding: 7px 0;
  border-bottom: 1px solid var(--navy-suave);
}

.resumen-ahorro {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--lima);
  margin-bottom: 12px;
}

.resumen-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.resumen-total span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gris-suave);
}

.resumen-total strong {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.resumen-iva {
  font-size: 0.82rem;
  color: var(--gris-suave);
  margin-bottom: 22px;
}

.resumen-demo {
  display: block;
  margin-top: 14px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--gris-suave);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.resumen-demo:hover {
  color: var(--lima);
}

.planes-nota {
  margin-top: 34px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gris-texto);
}

.planes-nota a {
  color: var(--lima-oscuro);
  font-weight: 600;
  text-decoration: underline;
}

/* ===== Contacto / formulario ===== */
.seccion-contacto {
  padding: 88px 0;
}

.contacto-interior {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 980px) {
  .contacto-interior {
    flex-direction: row;
    gap: 64px;
    align-items: flex-start;
  }

  .contacto-texto {
    flex: 1 1 45%;
    position: sticky;
    top: 100px;
  }

  .formulario {
    flex: 1 1 55%;
  }
}

.contacto-texto h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.contacto-texto > p {
  font-size: 1.05rem;
  color: var(--gris-suave);
  margin-bottom: 24px;
}

.contacto-puntos {
  margin-bottom: 32px;
}

.contacto-puntos li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--gris-suave);
}

.contacto-puntos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--lima);
  border-bottom: 2px solid var(--lima);
  transform: rotate(-45deg) scale(0.85);
}

.formulario {
  background: var(--blanco);
  color: var(--navy);
  border-radius: var(--radio);
  padding: 34px 30px;
}

.formulario h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.campo {
  margin-bottom: 18px;
}

.campo-doble {
  display: grid;
  gap: 18px 16px;
}

@media (min-width: 560px) {
  .campo-doble {
    grid-template-columns: 1fr 1fr;
  }
}

.campo label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  font-family: var(--fuente);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--fondo-claro);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio-chico);
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: var(--lima-oscuro);
  box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.2);
}

.campo textarea {
  resize: vertical;
}

.formulario-nota {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--gris-suave);
  text-align: center;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: var(--gris-suave);
  padding: 56px 0 0;
}

.footer-interior {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-interior {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-marca p {
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 280px;
}

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

.footer-links h4 {
  color: var(--blanco);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

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

.footer-pie {
  border-top: 1px solid var(--navy-suave);
  padding-top: 22px;
  padding-bottom: 22px;
}

.footer-pie p {
  font-size: 0.85rem;
  text-align: center;
}

/* ===== Botón flotante de WhatsApp ===== */
/* Círculo flotante de WhatsApp — con la estética Volqo (navy + lima),
   no el verde de WhatsApp. El ícono sigue siendo reconocible. */
.whatsapp-flotante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lima);
  border: 1.5px solid var(--lima);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.38);
  transition: transform 0.16s var(--ease-out), background 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

/* Anillo lima que late para llamar la atención */
.whatsapp-flotante::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid var(--lima);
  animation: wa-anillo 2.8s var(--ease-out) infinite;
  pointer-events: none;
}

@keyframes wa-anillo {
  0% { transform: scale(1); opacity: 0.5; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-flotante:hover {
  background: var(--lima);
  color: var(--navy);
  transform: scale(1.06);
}

.whatsapp-flotante svg {
  width: 30px;
  height: 30px;
}

/* ============================================
   Pase estético (skill frontend-design):
   mono para datos, profundidad, línea de ruta
   ============================================ */

/* Los datos hablan en mono: horarios, números, precios, estados */
.mock-hora,
.mock-pill,
.mockup-barra em,
.mock-kpi strong,
.cifra strong,
.comp-dato,
.comp-fila span,
.parada-num,
.resumen-total strong,
.mod-precio,
.mod-etiqueta,
.plan-insignia,
.ia-insignia {
  font-family: var(--fuente-mono);
}

/* Profundidad: tarjetas claras con sombra en capas */
.tarjeta-problema,
.tarjeta-modulo,
.tarjeta-dif,
.mod-tarjeta,
.paquete,
.ia-demo {
  box-shadow: var(--sombra-suave);
}

/* Profundidad: superficies oscuras con brillo de borde superior */
.tarjeta-comp,
.tarjeta-caso,
.testimonio,
.armador-resumen,
.tarjeta-ia-futuro,
.mock-kpi,
.mockup-grafico,
.mock-servicio {
  box-shadow: var(--brillo-borde);
}

.mockup {
  box-shadow: var(--brillo-borde), 0 24px 60px rgba(0, 0, 0, 0.35);
}

.formulario {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

/* Botón principal con peso físico. El hover sube; el :active (definido
   arriba) baja a 0.97 — el :active gana por venir después en la cascada. */
.boton-primario {
  box-shadow: 0 4px 16px rgba(132, 204, 22, 0.28);
}

.boton-primario:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 22px rgba(132, 204, 22, 0.34);
}

/* La presión gana al hover: debe ir DESPUÉS en la cascada */
.boton:active,
.boton-primario:active,
.boton-whatsapp:active {
  transform: scale(0.97);
}

/* ===== Paquetes (resumen de planes en el home) ===== */
.paquete {
  background: var(--blanco);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radio);
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.paquete:hover {
  transform: translateY(-4px);
  border-color: var(--lima);
}

.paquete .mod-etiqueta {
  margin-top: 0;
  margin-bottom: 14px;
}

.paquete-suma {
  background: var(--fondo-claro);
  color: var(--gris-texto);
}

.paquete h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.paquete p {
  font-size: 0.9rem;
  color: var(--gris-texto);
}

.paquete-base {
  border-color: var(--lima);
  border-width: 1.5px;
}

.planes-acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

/* ===== Página interior (precios.html) ===== */
.pagina-interior {
  padding-top: 56px;
}

.navbar-links a.activo {
  color: var(--blanco);
}

.cta-interior {
  text-align: center;
}

.cta-interior-caja h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.cta-interior-caja > p {
  color: var(--gris-suave);
  max-width: 520px;
  margin: 0 auto 28px;
}

.cta-interior .hero-acciones {
  justify-content: center;
  margin-bottom: 0;
}

/* ===== Desktop ===== */
@media (min-width: 768px) {
  .navbar-links {
    display: flex;
  }

  .menu-boton {
    display: none;
  }

  .seccion {
    padding: 96px 0;
  }
}

@media (min-width: 980px) {
  .hero {
    padding-top: 96px;
  }

  .hero-interior {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .hero-texto {
    flex: 1 1 52%;
  }

  .hero-visual {
    flex: 1 1 48%;
  }

  .hero-sectores {
    margin-top: 80px;
  }
}
