/* =====================================================================
   Transfer VIP Córdoba — Estilos
   ---------------------------------------------------------------------
   1. Variables (colores, tipografía, espaciados)  ← cambiar acá la marca
   2. Base y utilidades
   3. Componentes (botones, tarjetas, formularios)
   4. Secciones (header, hero, servicios, flota, tarifas, etc.)
   5. Página de destinos
   6. Animaciones y responsive
   ===================================================================== */

/* ---------- 1. VARIABLES ---------- */
/* Diseño de un solo tema (claro), con fondo explícito. */
:root {
  color-scheme: light;
  /* Colores tomados del logo */
  --azul: #1f7fd0;          /* globo del logo */
  --azul-texto: #1767ad;    /* el mismo azul, más oscuro para texto sobre claro (contraste AA) */
  --celeste: #00afd8;       /* letras "TRANSFER VIP" */
  --naranja: #f5a623;       /* trazo del avión */
  --naranja-osc: #e08e0b;
  --navy: #0a1f3c;          /* fondo oscuro principal */
  --navy-2: #102a4f;
  --whatsapp: #25d366;
  --whatsapp-osc: #1da851;

  --tinta: #0f172a;         /* texto principal */
  --gris: #5b6474;          /* texto secundario */
  --linea: #e4e8ef;         /* bordes */
  --fondo: #eef3f9;         /* fondo general: celeste muy suave (sin "blanco plano") */
  --fondo-suave: #e3ebf5;
  /* Tokens que cambian con el tema oscuro (ver [data-tema="oscuro"] más abajo) */
  --superficie: #fff;       /* tarjetas, formularios, header al bajar */
  --titular: var(--navy);   /* títulos y números sobre superficies claras */
  --tinta-2: #334155;       /* texto de citas y párrafos largos */
  --apagado: #b8c1ce;       /* días no disponibles, estrellas vacías */
  --linea-fuerte: #c5d2e3;
  --azul-suave: #f2f8fe;
  --topo: #eaf1f9;
  --decorada-1: #f3f7fc;
  --decorada-2: #e8f0f9;

  --radio: 16px;
  --radio-sm: 10px;
  --sombra: 0 10px 30px -12px rgba(10, 31, 60, .18);
  --sombra-lg: 0 30px 60px -20px rgba(10, 31, 60, .35);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);      /* salidas y respuestas de la interfaz */
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);  /* cosas que se mueven en pantalla */
  /* Tipografía de cartelería vial: Barlow Condensed para títulos, Barlow para texto */
  --fuente: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fuente-titulo: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  /* Escala: pocos tamaños, bien separados */
  --t-chico: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);   /* 13–14px  notas */
  --t-texto: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);      /* 16–17px  párrafos */
  --t-destacado: clamp(1.075rem, 1rem + 0.35vw, 1.25rem);  /* 17–20px  bajadas */
  --t-subtitulo: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);   /* 21–26px  títulos de tarjetas */
  --t-titulo: clamp(2.1rem, 1.1rem + 3.1vw, 3.5rem);        /* 34–56px  títulos de sección */
  --t-portada: clamp(2.8rem, 1rem + 5vw, 5.25rem);          /* 45–84px  título principal */
  --ancho: 1320px;
  --header-h: 76px;
}

/* Tema oscuro: lo activa el botón sol/luna del header (assets/js/tema.js) */
:root[data-tema="oscuro"] {
  color-scheme: dark;
  --tinta: #e6edf7;
  --tinta-2: #c4d0e0;
  --gris: #9fb0c7;
  --linea: #1f3658;
  --linea-fuerte: #2d4a73;
  --fondo: #06121f;
  --fondo-suave: #0a1a2e;
  --superficie: #0f2440;
  --titular: #fff;
  --apagado: #4a5d78;
  --azul-texto: #6ab7f5;
  --azul-suave: #12345c;
  --topo: #081829;
  --decorada-1: #0a1a2e;
  --decorada-2: #081627;
  --sombra: 0 10px 30px -12px rgba(0, 0, 0, .55);
  --sombra-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
}
/* En oscuro, el header al bajar sigue con textos claros (el logo es siempre el de color) */
:root[data-tema="oscuro"] .seccion--topo { background-image: none; }
:root[data-tema="oscuro"] .chip--oferta { background: #3a2a0c; color: #ffc861; }

/* ---------- 2. BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--fuente); color: var(--tinta); background: var(--fondo);
  font-size: var(--t-texto); line-height: 1.55; font-kerning: normal; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--fuente-titulo); font-weight: 700; line-height: 1; margin: 0 0 .45em; letter-spacing: 0; text-wrap: balance; hyphens: none; }
p { text-wrap: pretty; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.seccion { padding: 76px 0; }
.seccion--suave { background: var(--fondo-suave); }
.seccion--oscura { background: var(--navy); color: #fff; }


.titulo { font-size: var(--t-titulo); font-weight: 700; line-height: .95; text-transform: uppercase; letter-spacing: .005em; max-width: 18ch; }
.encabezado--centro .titulo { margin-inline: auto; }
.bajada { color: var(--gris); font-size: var(--t-destacado); line-height: 1.4; max-width: 46ch; }
.seccion--oscura .bajada { color: #b8c4d6; }
.encabezado { margin-bottom: 40px; }
.encabezado--centro { text-align: center; }
.encabezado--centro .bajada { margin: 0 auto; }
.encabezado--fila { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

.icono { width: 24px; height: 24px; flex-shrink: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

::selection { background: rgba(245,166,35,.35); color: var(--navy); }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }
html { accent-color: var(--azul); caret-color: var(--azul); scrollbar-color: #9fb3cc var(--fondo); }
a { text-underline-offset: .2em; }

/* ---------- 3. COMPONENTES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1.02rem; letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: scale(0.97); }
.btn .icono { width: 20px; height: 20px; }
.btn--primario { background: var(--naranja); color: var(--navy); box-shadow: 0 10px 24px -10px rgba(10, 31, 60, .35); }
.btn--primario:hover { background: var(--naranja-osc); }
.btn--whatsapp { background: var(--whatsapp); color: #062a17; box-shadow: 0 10px 24px -10px rgba(10, 31, 60, .35); }
.btn--whatsapp:hover { background: var(--whatsapp-osc); }
.btn--borde { border-color: var(--linea); background: var(--superficie); color: var(--tinta); }
.btn--borde:hover { border-color: var(--azul-texto); color: var(--azul-texto); }
.btn--claro { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--claro:hover { background: rgba(255,255,255,.1); }
.btn--bloque { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: .9rem; }

.tarjeta {
  background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 28px; transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .25s ease;
}
@media (hover: hover) and (pointer: fine) {
  .tarifa:hover, .postal:hover { transform: translateY(-4px); box-shadow: var(--sombra); border-color: transparent; }
}

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; background: var(--fondo-suave); color: var(--gris);
}
.chip .icono { width: 15px; height: 15px; }
.chip--oferta { background: #fff4e0; color: #a3640a; }

/* Campos de formulario */
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label { font-size: .8rem; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: .06em; }
.campo input, .campo select, .campo textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--linea); border-radius: var(--radio-sm);
  background: var(--superficie); outline: none; transition: border-color .2s, box-shadow .2s; min-height: 50px;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--azul); box-shadow: 0 0 0 4px rgba(31,127,208,.12); }
.campo--icono { position: relative; }
.campo-ayuda { color: var(--gris); font-size: .82rem; line-height: 1.35; }
.aviso-anticipacion .asterisco { color: #e0322b; font-weight: 800; font-size: 1.05em; }
.aviso-anticipacion a { color: #e0322b; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.aviso-anticipacion a:hover { color: #b8231d; }

/* Calendario desplegable (reserva) */
.fecha-caja { position: relative; }
.selector-fecha {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 50px; padding: 13px 14px;
  border: 1.5px solid var(--linea); border-radius: var(--radio-sm); background: var(--superficie);
  font: inherit; color: var(--gris); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.selector-fecha .icono { width: 20px; height: 20px; color: var(--azul); flex-shrink: 0; }
.selector-fecha.elegido { color: var(--tinta); font-weight: 600; }
.selector-fecha:hover { border-color: var(--linea-fuerte); }
.selector-fecha:focus-visible, .selector-fecha[aria-expanded="true"] { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(31,127,208,.12); }
.calendario {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: min(320px, calc(100vw - 32px));
  padding: 14px; background: var(--superficie); border: 1px solid var(--linea); border-radius: var(--radio); box-shadow: var(--sombra-lg);
}
.calendario[hidden] { display: none; }
.cal-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.cal-cabeza strong { font-size: .98rem; color: var(--titular); }
.cal-flecha {
  display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--linea); border-radius: 50%;
  background: var(--superficie); color: var(--titular); cursor: pointer;
}
.cal-flecha .icono { width: 18px; height: 18px; }
.cal-flecha:hover:not(:disabled) { border-color: var(--azul); color: var(--azul-texto); }
.cal-flecha:disabled { opacity: .35; cursor: default; }
.cal-semana, .cal-grilla { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.cal-semana span { font-size: .72rem; font-weight: 700; color: var(--gris); text-transform: uppercase; letter-spacing: .04em; padding: 4px 0; }
.cal-dia {
  aspect-ratio: 1; max-width: 100%; border: 0; border-radius: 50%; background: none; font: inherit; font-size: .92rem;
  color: var(--tinta); cursor: pointer; font-variant-numeric: tabular-nums;
}
.cal-dia:hover:not(:disabled) { background: var(--fondo-suave); }
.cal-dia:focus-visible { outline: 2px solid var(--azul); outline-offset: 1px; }
.cal-dia.cal-hoy { box-shadow: inset 0 0 0 1.5px var(--linea); }
.cal-dia[aria-pressed="true"] { background: var(--navy); color: #fff; font-weight: 700; }
.cal-dia:disabled { color: var(--apagado); cursor: default; text-decoration: line-through; text-decoration-color: rgba(184,193,206,.6); }
.campo--icono .icono { position: absolute; left: 13px; bottom: 13px; width: 20px; height: 20px; color: var(--azul); pointer-events: none; }
.campo--icono input, .campo--icono select { padding-left: 42px; }

/* ---------- 4. SECCIONES ---------- */

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; transition: background .3s, box-shadow .3s;
}
.header.is-scrolled, .header--solido { background: var(--superficie); box-shadow: 0 1px 0 var(--linea); }
.header .contenedor { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.logo .logo-blanco { display: none; }   /* el logo siempre va en color, en claro y en oscuro */
.logo .logo-color { display: block; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: 1.02rem; color: rgba(255,255,255,.88); position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--naranja); transition: width .25s; }
.nav a:hover::after, .nav a.activo::after { width: 100%; }
.nav a:hover { color: #fff; }
.header.is-scrolled .nav a, .header--solido .nav a { color: var(--tinta); }
.header-acciones { display: flex; align-items: center; gap: 12px; }
.header-tel { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #fff; font-size: .95rem; }
.header.is-scrolled .header-tel, .header--solido .header-tel { color: var(--tinta); }
.header-tel .icono { width: 18px; height: 18px; color: var(--naranja); }

/* Botón de tema claro/oscuro */
.tema-btn {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; padding: 0;
  transition: background .2s, border-color .2s, color .2s;
}
.tema-btn:hover { background: rgba(255,255,255,.2); }
.tema-btn:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; }
.tema-btn svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .25s; }
.tema-btn .tema-luna { opacity: 0; transform: rotate(-90deg) scale(.4); }
:root[data-tema="oscuro"] .tema-btn .tema-sol { opacity: 0; transform: rotate(90deg) scale(.4); }
:root[data-tema="oscuro"] .tema-btn .tema-luna { opacity: 1; transform: none; color: #ffd27a; }
.header.is-scrolled .tema-btn, .header--solido .tema-btn { background: var(--fondo-suave); border-color: var(--linea); color: var(--naranja-osc); }

/* Selector de idioma */
.idiomas {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
}
.idiomas button {
  border: 0; background: none; cursor: pointer; padding: 5px 9px; border-radius: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.8); transition: background .2s, color .2s;
}
.idiomas button { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; line-height: 1; }
.idiomas .bandera { display: block; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85), 0 1px 3px rgba(0,0,0,.3); opacity: .85; transition: opacity .2s, transform .35s cubic-bezier(.34,1.56,.64,1); }
.idiomas button:hover .bandera, .idiomas button.activo .bandera { opacity: 1; }
.idiomas button:hover .bandera { transform: scale(1.18) rotate(-8deg); }
.idiomas button.activo .bandera { transform: scale(1.08); }
.idiomas button:hover { color: #fff; }
.idiomas button.activo { background: #fff; color: var(--navy); }
.idiomas button:focus-visible { outline: 2px solid var(--naranja); outline-offset: 1px; }
.header.is-scrolled .idiomas, .header--solido .idiomas { background: var(--fondo-suave); border-color: var(--linea); }
.header.is-scrolled .idiomas button, .header--solido .idiomas button { color: var(--gris); }
.header.is-scrolled .idiomas button.activo, .header--solido .idiomas button.activo { background: var(--navy); color: #fff; }

.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
.header.is-scrolled .menu-btn, .header--solido .menu-btn { color: var(--tinta); }
.menu-btn .icono { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; color: #fff; background: var(--navy);
  padding: calc(var(--header-h) + 52px) 0 130px; overflow: hidden;
  /* Ocupa toda la ventana; el contenido queda centrado en vertical */
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
}
.hero-fondo { position: absolute; inset: 0; }
.hero-fondo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-fondo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,31,60,.97) 0%, rgba(10,31,60,.88) 42%, rgba(10,31,60,.45) 75%, rgba(10,31,60,.25) 100%);
}
.hero .contenedor { position: relative; }
.hero-contenido { max-width: 960px; }
.hero-texto, .hero-ctas, .hero-puntos { max-width: 640px; }
.hero h1 { font-size: var(--t-portada); font-weight: 700; line-height: .9; text-transform: uppercase; letter-spacing: .005em; margin: 0 0 26px -0.04em; }
.hero h1 em { font-style: normal; color: var(--naranja); }
/* Línea chica sobre el título: dice a Google (y a la gente) de qué trata el sitio */
.hero h1 .hero-sobre { display: block; font-size: var(--t-chico); font-weight: 600; line-height: 1.3; letter-spacing: .16em; color: #d3dded; margin: 0 0 18px .04em; }
@media (min-width: 900px) { .hero h1 em { white-space: nowrap; } }
.hero-texto { font-size: var(--t-destacado); line-height: 1.4; color: #d3dded; max-width: 40ch; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-puntos { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; color: #c9d5e6; font-size: .93rem; font-weight: 600; }
.hero-puntos span { display: inline-flex; align-items: center; gap: 8px; }
.hero-puntos .icono { width: 20px; height: 20px; color: var(--celeste); }
.hero-puntos .hero-google .icono { color: var(--naranja); fill: currentColor; }
.hero-google strong { color: #fff; }

/* Cotizador */
.cotizador-wrap { position: relative; z-index: 5; margin-top: -56px; }
.cotizador {
  background: var(--superficie); border-radius: 22px; box-shadow: var(--sombra-lg); padding: 30px;
  border: 1px solid var(--linea);
}
.cotizador-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.cotizador-top h2 { font-size: var(--t-subtitulo); margin: 0; }
.cotizador-top p { margin: 0; color: var(--gris); font-size: .93rem; }
.tabs-tipo { display: inline-flex; background: var(--fondo-suave); padding: 5px; border-radius: 999px; gap: 4px; }
.tabs-tipo button {
  border: 0; background: none; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--gris); cursor: pointer;
}
.tabs-tipo button.activo { background: var(--superficie); color: var(--titular); box-shadow: 0 2px 8px rgba(10,31,60,.1); }
.cotizador-grid { display: grid; grid-template-columns: 1.5fr 1.5fr 1.25fr .9fr .75fr .75fr; gap: 14px; align-items: end; }
.cotizador-pie { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.cotizador-pie small { color: var(--gris); display: inline-flex; align-items: center; gap: 6px; }
.cotizador-pie small .icono { width: 16px; height: 16px; color: var(--whatsapp-osc); }
.campo-vuelo { display: none; }
.cotizador.es-aeropuerto .campo-vuelo { display: flex; }

/* Franja de confianza */
.confianza { padding: 64px 0 24px; }
.confianza-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dato { display: flex; gap: 16px; align-items: center; }
.dato-icono {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(31,127,208,.12), rgba(0,175,216,.12)); color: var(--azul-texto);
}
.dato strong { display: block; font-family: var(--fuente-titulo); font-size: 2rem; font-weight: 700; line-height: 1; }
.dato span { color: var(--gris); font-size: .9rem; }

/* Servicios */
/* Bento de fotos, 3 columnas: el aeropuerto (lo principal) ocupa dos filas,
   sierras y grupos ocupan dos columnas. Cada tarjeta lleva su foto en
   style="--foto:url(../img/…)". */
.servicios-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); gap: 18px; }
.servicio--alto { grid-row: span 2; }
.servicio--ancho, .servicio--ancho2 { grid-column: span 2; }
.servicio--chico h3 { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.7rem); }
.servicio--chico p { font-size: .95rem; line-height: 1.5; }
.servicio { border-radius: var(--radio); padding: clamp(20px, 2.2vw, 30px); display: flex; flex-direction: column; justify-content: flex-end; }
.servicio h3 { font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.2rem); font-family: var(--fuente-titulo); font-weight: 700; text-transform: uppercase; line-height: .95; margin: 0 0 12px; }
.servicio p { margin: 0; max-width: 46ch; }
.servicio-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; color: var(--naranja); }
.servicio-link .icono { width: 18px; height: 18px; transition: transform .25s var(--ease-out); }
.servicio-link:hover .icono { transform: translateX(4px); }
@media (max-width: 960px) {
  .servicios-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); }
  .servicio--alto { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .servicio--ancho2 { grid-column: auto; }
}
@media (max-width: 600px) {
  .servicios-bento { grid-template-columns: 1fr; grid-auto-rows: minmax(210px, auto); gap: 14px; }
  .servicio--alto, .servicio--ancho { grid-column: auto; }
  .servicio--alto { min-height: 280px; }
}

/* Cómo funciona */
.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: paso; position: relative; }
.paso { position: relative; padding-top: 8px; }
.paso-num {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fuente-titulo); font-weight: 700; font-size: 1.9rem;
  background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.15); color: var(--naranja); margin-bottom: 22px; position: relative; z-index: 1;
}
.paso:not(:last-child)::after {
  content: ""; position: absolute; top: 40px; left: 80px; right: -16px; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px);
}
.paso h3 { font-size: var(--t-subtitulo); font-weight: 600; }
.paso p { color: #b8c4d6; margin: 0; }

/* Flota */
.flota-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.flota-tabs button {
  border: 1.5px solid var(--linea); background: var(--superficie); padding: 11px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; color: var(--gris);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform 160ms var(--ease-out);
}
.flota-tabs button:hover { border-color: var(--azul-texto); color: var(--azul-texto); }
.flota-tabs button:active, .carrusel-ctrl button:active, .filtro-btns button:active, .tabs-tipo button:active { transform: scale(0.97); }
.flota-tabs button.activo { background: var(--navy); border-color: var(--navy); color: #fff; }
.flota-panel { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.flota-foto { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--sombra); background: var(--fondo-suave); }
.flota-foto img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.flota-foto .chip { position: absolute; left: 18px; top: 18px; background: rgba(255,255,255,.95); color: var(--navy); }
.flota-info h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; text-transform: uppercase; }
.flota-info > p { color: var(--gris); font-size: 1.05rem; }
.vehiculos { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 12px; }
.vehiculo {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px;
  border: 1px solid var(--linea); border-radius: 14px; background: var(--superficie);
}
.vehiculo strong { display: block; }
.vehiculo small { color: var(--gris); }
.vehiculo-cap { display: flex; gap: 8px; flex-shrink: 0; }
.vehiculo-texto { flex: 1; min-width: 0; }
.vehiculo-texto small { display: block; }
/* Fotos reales de cada unidad (se cargan en data.js → fotos) */
.vehiculo-mini {
  position: relative; flex-shrink: 0; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 12px;
  overflow: hidden; cursor: zoom-in; background: var(--fondo-suave);
}
.vehiculo-mini img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.vehiculo-mini:hover img { transform: scale(1.08); }
.vehiculo-mini span {
  position: absolute; right: 4px; bottom: 4px; min-width: 20px; padding: 1px 6px; border-radius: 999px;
  background: rgba(5,14,28,.75); color: #fff; font-size: .72rem; font-weight: 700; text-align: center;
}
.vehiculo-ver {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 0; border: 0; background: none;
  color: var(--azul-texto); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer;
}
.vehiculo-ver .icono { width: 16px; height: 16px; }
.vehiculo-ver:hover span { text-decoration: underline; }
.flota-acciones { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tarifas */
.tarifas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tarifa { display: flex; flex-direction: column; gap: 18px; position: relative; }
.tarifa-ruta { display: flex; flex-direction: column; gap: 4px; }
.tarifa-ruta small { color: var(--gris); font-weight: 600; font-size: .85rem; display: flex; align-items: center; gap: 6px; }
.tarifa-ruta small .icono { width: 16px; height: 16px; color: var(--azul); }
.tarifa-ruta h3 { font-size: var(--t-subtitulo); font-weight: 600; margin: 0; }
.tarifa-precio { display: flex; align-items: baseline; gap: 8px; }
.tarifa-precio strong { font-family: var(--fuente-titulo); font-variant-numeric: tabular-nums; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--titular); }
.tarifa-precio span { color: var(--gris); font-size: .88rem; font-weight: 600; }
.tarifa-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tarifa-acciones { margin-top: auto; display: grid; gap: 10px; justify-items: center; }
.tarifa .chip--oferta { position: absolute; top: 22px; right: 22px; }
.tarifas-nota {
  display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin-top: 36px; padding: 22px 26px; border-radius: var(--radio); background: var(--superficie); border: 0; box-shadow: inset 0 0 0 1px rgba(31,127,208,.12);
}
.tarifas-nota p { margin: 0; color: var(--gris); display: flex; gap: 10px; align-items: center; }
.tarifas-nota .icono { color: var(--naranja); }

/* Equipamiento */
.equip-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.equip-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.equip-fotos .foto-kb:nth-child(2) { margin-top: 48px; }
.equip-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.equip-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--linea); }
.equip-item .dato-icono { width: 44px; height: 44px; border-radius: 12px; }
.equip-item .dato-icono .icono { width: 22px; height: 22px; }
.equip-item strong { display: block; font-size: .98rem; }
.equip-item span { color: var(--gris); font-size: .86rem; }

/* Cobertura */
.cobertura-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.sucursales { display: grid; gap: 14px; margin: 28px 0; }
.sucursal { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.sucursal .icono { color: var(--naranja); }
.sucursal strong { display: block; }
.sucursal span { color: #b8c4d6; font-size: .9rem; }
.mapa { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--sombra-lg); }
.mapa { position: relative; }
.mapa img, .mapa iframe { width: 100%; height: 100%; border: 0; object-fit: cover; }
.mapa-tarjeta {
  position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--tinta); box-shadow: var(--sombra);
  transition: transform .2s;
}
.mapa-tarjeta:hover { transform: translateY(-2px); }
.mapa-tarjeta .icono { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--navy); color: var(--naranja); }
.mapa-tarjeta strong { display: block; }
.mapa-tarjeta small { color: var(--gris); }

/* Opiniones */
.opiniones-cabecera { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.google-score { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 14px; background: var(--superficie); border: 1px solid var(--linea); }
.google-score strong { font-family: var(--fuente-titulo); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.estrellas-svg { display: flex; gap: 2px; color: var(--naranja); }
.estrellas-svg .icono { width: 18px; height: 18px; fill: currentColor; }
/* Nota de Google: 4 estrellas llenas y la quinta llena hasta el 80 % */
.estrella-parcial { position: relative; display: inline-flex; }
.estrella-parcial .icono:first-child { color: var(--apagado); }
.estrella-parcial .icono + .icono { position: absolute; inset: 0; clip-path: inset(0 20% 0 0); }
.google-score small { white-space: nowrap; }

/* Cinta de opiniones: pasa sola de derecha a izquierda y se frena con el mouse */
.opiniones-cinta {
  overflow: hidden; padding: 6px 0 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.opiniones-pista { display: flex; align-items: stretch; gap: 22px; width: max-content; margin-left: 22px; padding-right: 22px; animation: desfile var(--duracion, 180s) linear infinite; }
.opiniones-cinta:focus-within .opiniones-pista { animation-play-state: paused; } /* sigue andando con el mouse encima; solo para con el teclado */
/* Tarjetas compactas: las dos filas tienen que entrar enteras en la pantalla */
.opiniones-pista .opinion { width: 410px; flex: 0 0 auto; padding: 20px 24px; gap: 10px; }
.opiniones-pista .opinion blockquote { font-size: .93rem; line-height: 1.5; }
.opiniones-pista .estrellas-svg .icono { width: 15px; height: 15px; }
.opiniones-pista .opinion-autor { padding-top: 10px; gap: 10px; }
.opiniones-pista .avatar { width: 34px; height: 34px; font-size: .8rem; }
.opiniones-pista .opinion-autor strong { font-size: .92rem; }
.opiniones-pista .opinion-autor small { font-size: .78rem; }
/* Encabezado más compacto: título y las dos filas entran juntos en una notebook */
#opiniones-seccion { padding-top: 56px; padding-bottom: 60px; }
#opiniones-seccion .encabezado { margin-bottom: 26px; align-items: center; }
#opiniones-seccion .titulo { max-width: none; }
#opiniones-seccion .bajada { max-width: none; }
/* Segunda fila: arranca corrida para que no queden alineadas en columnas */
.opiniones-cinta + .opiniones-cinta--2 { margin-top: -2px; }
.opiniones-cinta--2 .opiniones-pista { animation-delay: calc(var(--duracion, 180s) * -0.37); }
.opiniones-cinta--quieta { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.opiniones-cinta--quieta .opiniones-pista { animation: none; }
@media (max-width: 600px) {
  .opiniones-pista { gap: 14px; margin-left: 14px; padding-right: 14px; }
  .opiniones-pista .opinion { width: 290px; padding: 16px 18px; }
}

.carrusel { position: relative; }
.carrusel-pista {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 44px) / 3); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none;
}
.carrusel-pista::-webkit-scrollbar { display: none; }
.opinion { scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; }
.opinion blockquote { margin: 0; color: var(--tinta-2); font-size: 1rem; flex: 1; }
.opinion-autor { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--linea); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--azul), var(--celeste)); flex-shrink: 0;
}
.opinion-autor small { color: var(--gris); display: block; }
.carrusel-ctrl { display: flex; gap: 10px; }
.carrusel-ctrl button {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--linea); background: var(--superficie); cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform 160ms var(--ease-out);
}
.carrusel-ctrl button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-lista { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--linea); border-radius: 14px; background: var(--superficie); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icono { transition: transform .25s; color: var(--azul); }
.faq-item[open] summary .icono { transform: rotate(45deg); }
.faq-item[open] { border-color: rgba(31,127,208,.4); box-shadow: var(--sombra); }
.faq-item p { padding: 0 22px 20px; margin: 0; color: var(--gris); }
.faq-contacto { margin-top: 26px; padding: 24px; border-radius: var(--radio); background: var(--fondo-suave); }
.faq-contacto p { color: var(--gris); }

/* CTA final */
.cta-final {
  position: relative; overflow: hidden; border-radius: 24px; padding: 48px 48px; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(0,175,216,.35), transparent 50%), linear-gradient(130deg, var(--navy) 30%, #134a85);
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
}
.cta-final h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; line-height: .95; text-transform: uppercase; max-width: 16ch; }
.cta-final p { color: #c9d5e6; margin: 0; max-width: 520px; }
.cta-final-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.footer { background: #071629; color: #b8c4d6; padding: 80px 0 30px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo img { height: 44px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-contacto li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contacto .icono { width: 18px; height: 18px; color: var(--naranja); margin-top: 3px; }
.redes { display: flex; gap: 10px; margin-top: 20px; }
.redes a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); transition: background .2s; }
.redes a:hover { background: var(--azul); }
.redes .icono { width: 19px; height: 19px; }
.pagos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pagos span { padding: 6px 11px; border-radius: 8px; background: rgba(255,255,255,.07); font-size: .8rem; font-weight: 700; color: #dfe6f0; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }

/* WhatsApp flotante */
.wa-flotante {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa-flotante:hover { transform: scale(1.07); }
.wa-flotante .icono { width: 32px; height: 32px; }
.wa-flotante::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: pulso 2.4s 3;
}
@keyframes pulso { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* Lightbox de fichas */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,14,28,.85); display: none; place-items: center; padding: 20px;
}
.lightbox.abierto { display: grid; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; max-width: 100%; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: 14px; box-shadow: var(--sombra-lg); }
.lightbox figcaption { color: #fff; font-size: .95rem; text-align: center; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lightbox figcaption[hidden] { display: none; }
.lightbox figcaption span, .lightbox figcaption em { opacity: .75; }
.lightbox figcaption em { font-style: normal; font-variant-numeric: tabular-nums; }
.lightbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.lightbox .lightbox-cerrar { top: 18px; right: 18px; }
.lightbox .lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox .lightbox-prev { left: 18px; }
.lightbox .lightbox-next { right: 18px; }
.lightbox button[hidden] { display: none; }

/* ---------- ESCENAS Y DECORACIÓN (ver assets/js/escenas.js) ---------- */

/* Fondo "topográfico": curvas de nivel suaves, como un mapa de las sierras */
.seccion--topo, .seccion--decorada { position: relative; overflow: hidden; isolation: isolate; }
.seccion--topo {
  background-color: var(--topo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='420' viewBox='0 0 640 420'%3E%3Cg fill='none' stroke='%231f7fd0' stroke-opacity='.17' stroke-width='1.4'%3E%3Cpath d='M-20 60c80-40 150 30 240 0s150-70 250-20 120 40 190 10'/%3E%3Cpath d='M-20 110c90-30 140 40 250 10s160-60 240-15 130 35 190 5'/%3E%3Cpath d='M-20 170c70-20 160 50 260 15s140-55 230-10 120 30 190 0'/%3E%3Cpath d='M-20 235c100-35 150 35 240 5s170-65 250-20 110 40 190 15'/%3E%3Cpath d='M-20 300c80-25 170 45 250 10s150-50 240-10 120 25 190 0'/%3E%3Cpath d='M-20 365c90-40 160 30 250 0s140-60 240-15 120 35 190 10'/%3E%3Cellipse cx='470' cy='205' rx='46' ry='22'/%3E%3Cellipse cx='470' cy='205' rx='22' ry='10'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 640px 420px;
}
.seccion--decorada { background: linear-gradient(180deg, var(--decorada-1), var(--decorada-2)); }
.seccion--topo > .contenedor, .seccion--decorada > .contenedor { position: relative; z-index: 1; }


/* Hero con video */
.hero-fondo video { width: 100%; height: 100%; object-fit: cover; display: block; }
.escena-cielo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero .escena-cielo { z-index: 0; }
.hero .contenedor { z-index: 1; }
.escena-estela { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: 0; }
.escena-estela path {
  fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 2 9;
}
.escena-vehiculo {
  position: absolute; top: 0; left: 0; width: 92px; will-change: transform;

}
.escena-avion { transform: translate(-200px, -200px); }
.escena-vehiculo svg { width: 100%; height: auto; display: block; overflow: visible; }
.escena-vehiculo .v-trazo { stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.escena-vehiculo .v-blanco { fill: #fff; }
.escena-vehiculo .v-celeste { fill: var(--celeste); }
.escena-vehiculo .v-naranja { fill: var(--naranja); }
.escena-vehiculo .v-navy { fill: var(--navy); }
.escena-vehiculo .v-franja { stroke: var(--naranja); stroke-width: 3.5; stroke-linecap: round; fill: none; }
.escena-vehiculo .v-rayo { stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; }
.escena-vehiculo .v-lineas path { stroke: #fff; stroke-width: 2.5; stroke-linecap: round; fill: none; opacity: .6; stroke-dasharray: 6 5; }
.escena-vehiculo .v-nubes circle { fill: #fff; stroke: var(--navy); stroke-width: 2; opacity: .85; }
@keyframes viento { to { stroke-dashoffset: 11; } }
@keyframes soplo { from { transform: translateX(0); } to { transform: translateX(-4px); } }
@keyframes girar { to { transform: rotate(360deg); } }

/* Sección con video de fondo (Cómo funciona) */
.seccion--video { position: relative; overflow: hidden; isolation: isolate; padding-bottom: 0; }
.seccion-video { position: absolute; inset: 0; z-index: -1; }
.seccion-video video { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.seccion-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,60,.82), rgba(10,31,60,.6) 60%, var(--navy)); }

/* Ruta con sierras por donde pasa la van */
.ruta { position: relative; height: clamp(212px, 23.6vw, 347px); margin-top: 16px; overflow: hidden; }
.ruta-sierras { position: absolute; left: 0; right: 0; bottom: 34px; width: 100%; height: clamp(178px, 21.6vw, 313px); }
/* Tres capas de cerros: las lejanas más claras (bruma), las cercanas más oscuras */
.rs-lejos-1 { stop-color: #24527f; } .rs-lejos-2 { stop-color: #173a63; }
.rs-medio-1 { stop-color: #173f69; } .rs-medio-2 { stop-color: #10294b; }
.rs-cerca-1 { stop-color: #0f2a4d; } .rs-cerca-2 { stop-color: #0c2547; }
.rs-filo { fill: none; stroke: var(--celeste); stroke-opacity: .35; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
/* Resplandor de atardecer detrás de los cerros */
.rs-sol-1 { stop-color: var(--naranja); stop-opacity: .55; } .rs-sol-2 { stop-color: var(--naranja); stop-opacity: .18; } .rs-sol-3 { stop-color: var(--naranja); stop-opacity: 0; }
/* Cielo animado (sol -> luna). El color del disco lo anima el propio SVG. */
.rs-sol-disco { opacity: .92; }
.rs-cielo-1 { stop-color: #ff8a3d; stop-opacity: 0; } .rs-cielo-2 { stop-color: #ff8a3d; stop-opacity: .22; } .rs-cielo-3 { stop-color: #ff7a33; stop-opacity: .5; }
.rs-luna { fill: #f4f0e2; }
.rs-crater { fill: #d8d1bb; opacity: .55; }
.rs-luna-1 { stop-color: #dfe9ff; stop-opacity: .35; } .rs-luna-2 { stop-color: #dfe9ff; stop-opacity: .1; } .rs-luna-3 { stop-color: #dfe9ff; stop-opacity: 0; }
.rs-estrellas circle { fill: #fff; animation: titilar 3.2s ease-in-out infinite alternate; }
.rs-estrellas circle:nth-child(3n) { animation-delay: -1.1s; animation-duration: 2.6s; }
.rs-estrellas circle:nth-child(3n+1) { animation-delay: -2s; animation-duration: 3.8s; }
@keyframes titilar { from { opacity: .35; } to { opacity: 1; } }
.ruta-asfalto {
  position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: #0c2547;
  border-top: 2px solid rgba(255,255,255,.12);
}
.ruta-asfalto::after {
  content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--naranja) 0 28px, transparent 28px 56px); opacity: .8;
}
.escena-van { top: auto; bottom: 22px; width: 128px; transform: translateX(-170px); }

/* ---- Paisaje en movimiento de la ruta ---- */
/* Capas: cerros intermedios (muy lento) -> ciudad/campo (lento) -> líneas de la ruta (rápido) -> van (más rápido) */
.ruta-capa { position: absolute; left: 0; right: 0; bottom: 34px; height: clamp(178px, 21.6vw, 313px); overflow: hidden; pointer-events: none; }
.ruta-pista { display: flex; height: 100%; width: max-content; will-change: transform; animation: ruta-avanza linear infinite; }
.ruta-pista svg { display: block; flex: none; height: 100%; width: auto; overflow: visible; }
.ruta-capa--cerros .ruta-pista { animation-duration: 150s; }
.ruta-capa--paisaje .ruta-pista { animation-duration: 75s; }
@keyframes ruta-avanza { to { transform: translateX(-50%); } }
.rs-filo--medio { stroke-opacity: .18; }
/* Ciudad */
.pz-ed-atras { fill: #16375f; }
.pz-ed { fill: #112d50; }
.pz-torre { fill: #1b4672; }
.pz-torre-brillo { stroke: #7fc8f0; stroke-opacity: .28; stroke-width: 2; fill: none; }
.pz-antena { stroke: #16375f; stroke-width: 2; }
.pz-ven { fill: #ffcf6e; opacity: .55; }
.pz-ven-off { fill: #0c2547; opacity: .7; }
/* Edificios emblemáticos de Córdoba (dibujados a partir del video de portada) */
.pz-capitalinas { fill: url(#pz-vidrio); }
.pz-vidrio-1 { stop-color: #0b1a2e; } .pz-vidrio-2 { stop-color: #1f3d61; } .pz-vidrio-3 { stop-color: #4d7ba8; }
.pz-capitalinas-corona { fill: #6e9fca; opacity: .75; }
.pz-capitalinas-brillo { stroke: #bfe3ff; stroke-opacity: .32; stroke-width: 2.5; }
.pz-capitalinas-brillo--fino { stroke-width: 1; stroke-opacity: .25; }
.pz-piso { fill: none; stroke: #7fa7cf; stroke-opacity: .16; stroke-width: .8; } .pz-piso--v { stroke-opacity: .12; }
.pz-estructura { fill: none; stroke: #8ea6c0; stroke-width: 1.1; stroke-opacity: .8; }
.pz-faro { fill: #c3ccd6; } .pz-faro-sombra { fill: #8e9aa8; }
.pz-faro-base { fill: #6f8299; }
.pz-faro-mirador { fill: #3d4b5c; }
.pz-faro-reja { fill: none; stroke: #c8d2dd; stroke-width: .9; }
.pz-faro-luz { fill: #ff5a4a; }
.pz-civico { fill: #e3e9f0; } .pz-civico-sombra { fill: #8fa3bb; }
.pz-civico-vidrio { fill: #2c5279; } .pz-civico-columna { stroke: #b7c6d6; stroke-width: 1.4; }
.pz-lejos { filter: brightness(.8) saturate(.8); }
.pz-naranja-cartel { fill: #ff5f1f; stroke: #fff4ea; stroke-width: 1; }
.pz-naranja-logo { fill: #fff; font: 700 19px/1 "Nunito", "Arial Rounded MT Bold", Arial, sans-serif; paint-order: stroke; stroke: #8f3810; stroke-width: 1.2px; }
.pz-naranja-vidrio { fill: #bfe3f2; opacity: .55; }
.pz-naranja-x { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.pz-ala { fill: #e9eef3; } .pz-ala-sombra { fill: #b8c3cf; } .pz-ala-filo { fill: none; stroke: #fff; stroke-width: 1.2; stroke-opacity: .8; }
.pz-ala-base { fill: #9aa7b4; } .pz-ala-base--2 { fill: #c3ccd5; } .pz-ala-placa { fill: #6b7785; }
.pz-naranja { fill: #c94d14; } .pz-naranja-borde { fill: #f1e4d6; } .pz-naranja-hueco { fill: #7c3311; } .pz-naranja-filo { fill: none; stroke: #ffd2ad; stroke-width: 1; stroke-opacity: .6; }
.pz-lama-fondo { fill: #a83d0e; } .pz-lama { fill: #f2802e; } .pz-lama--b { fill: #de5a18; } .pz-lama-piso { stroke: #ffd9b8; stroke-opacity: .35; stroke-width: .6; }
.pz-naranja-anexo { fill: #4f6680; }
.pz-catedral .pz-cat { fill: #e6cf9f; } .pz-cat-sombra { fill: #b9996a; }
.pz-cat-cornisa { fill: #f6e6c4; } .pz-cat-cornisa-l { fill: none; stroke: #f6e6c4; stroke-width: 2; stroke-linejoin: round; }
.pz-cat-vano { fill: #4a3524; } .pz-cat-portal { fill: #5b3a1e; } .pz-cat-campana { fill: #3a2a1c; }
.pz-cat-cupula { fill: #d7bc88; } .pz-cat-nervio { fill: none; stroke: #f4e2bb; stroke-width: .9; stroke-opacity: .8; }
.pz-cat-pilastra { fill: #f3e2bf; opacity: .7; } .pz-cat-reloj { fill: #fff8e6; stroke: #8a6a3e; stroke-width: .8; }
.pz-cruz-iglesia { fill: none; stroke: #f2d48a; stroke-width: 1.2; }
.pz-olmos { fill: #dccdb1; } .pz-olmos-cornisa { fill: #f0e6d2; } .pz-olmos-cornisa-l { fill: none; stroke: #f0e6d2; stroke-width: 2; }
.pz-olmos-mansarda { fill: #6b7c90; } .pz-olmos-vano { fill: #3f3a35; } .pz-olmos-puerta { fill: #2e2924; }
.pz-olmos-pilastra { fill: #efe4cf; opacity: .75; } .pz-balaustre { stroke: #a8977a; stroke-width: 1.4; }
.pz-olmos-estatua { fill: #cbbd9f; }
.pz-olmos-vidrio { fill: #2c67a8; } .pz-olmos-vidrio-luz { stroke: #9fd0ff; stroke-opacity: .5; stroke-width: 1; }
.pz-olmos-pendon-r { fill: #c8302c; } .pz-olmos-pendon-a { fill: #2c4fa0; }
.pz-mastil { stroke: #a5b9d0; stroke-width: 1.5; }
.pz-bandera-roja { fill: #d7333a; } .pz-bandera-blanca { fill: #f5f5f2; } .pz-bandera-celeste { fill: #6fb7e6; } .pz-bandera-sol { fill: #f2b233; }
/* Campo */
.pz-suelo { fill: url(#rs-cerca); }
.pz-surcos path { stroke: #183a62; stroke-width: 2; opacity: .55; }
.pz-casa { fill: #11304f; }
.pz-luz { fill: #ffcf6e; opacity: .7; }
.pz-copa, .pz-alamo { fill: #12385a; }
.pz-tronco { stroke: #0f2a48; stroke-width: 3; }
.pz-poste { stroke: #1d4672; stroke-width: 2; }
.pz-hilo { fill: none; stroke: #2a5683; stroke-width: .8; }
.pz-molino, .pz-veleta { fill: none; stroke: #1e4a77; stroke-width: 2; stroke-linejoin: round; }
.pz-aspas path, .pz-aspas circle { stroke: #2a5d8f; stroke-width: 1.6; fill: none; }
.pz-aspas circle:last-child { fill: #2a5d8f; }
.pz-aspas { animation: girar 3.2s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes girar { to { transform: rotate(360deg); } }
.pz-vaca { fill: #183d63; }
.pz-rollo { fill: #1a4269; } .pz-rollo-in { fill: none; stroke: #0f2a48; stroke-width: 1.4; }
/* Líneas de la ruta que pasan */
.ruta-asfalto { overflow: hidden; }
.ruta-asfalto::after { right: -56px; animation: ruta-lineas .55s linear infinite; }
@keyframes ruta-lineas { to { transform: translateX(-56px); } }
/* Fuera de pantalla (o con "reducir movimiento") todo queda quieto */
.ruta.en-pausa .ruta-pista, .ruta.en-pausa .pz-aspas, .ruta.en-pausa .ruta-asfalto::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ruta-pista, .pz-aspas, .ruta-asfalto::after { animation: none; }
}
/* ---- fin paisaje ---- */


















































/* Marquesina de postales de destinos */
.destinos-banda { overflow: hidden; background: radial-gradient(ellipse at 50% 0%, #17406f, var(--navy) 60%); }
.marquesina { overflow: hidden; padding: 6px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquesina-pista { display: flex; gap: 22px; width: max-content; animation: desfile 55s linear infinite; padding-left: 22px; }
.marquesina:focus-within .marquesina-pista { animation-play-state: paused; } /* sigue andando con el mouse encima; solo para con el teclado */
.marquesina--quieta { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
.marquesina--quieta .marquesina-pista { animation: none; }
@keyframes desfile { to { transform: translateX(-50%); } }
.postal {
  position: relative; flex-shrink: 0; width: 320px; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12);
}
.postal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.postal:hover img { transform: scale(1.07); }
.postal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,14,28,.85)); }
.postal-texto { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; display: grid; gap: 2px; }
.postal-texto strong { font-family: var(--fuente-titulo); font-size: 1.9rem; font-weight: 700; line-height: 1; text-transform: uppercase; }
.postal-texto small { color: #ffd28a; font-weight: 600; font-size: .92rem; }

/* Banda de foto a todo el ancho con parallax */
.banda-foto { position: relative; height: clamp(320px, 46vw, 520px); overflow: hidden; background: #2d4a63; display: flex; align-items: center; color: #fff; }
.banda-foto > img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: 50% 22%; will-change: transform; }
.banda-foto::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,31,60,.85), rgba(10,31,60,.35) 60%, rgba(10,31,60,.1)); }
.banda-foto-texto { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; }
.banda-frase { font-family: var(--fuente-titulo); font-size: clamp(2.8rem, 1rem + 6.4vw, 6.5rem); font-weight: 700; line-height: .9; text-transform: uppercase; margin: 0; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.banda-frase em { font-style: normal; color: var(--naranja); }

/* Fotos con zoom lento (efecto "Ken Burns") */
.foto-kb { border-radius: 18px; overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 3/4; }
.foto-kb img { width: 100%; height: 100%; object-fit: cover; }
.foto-kb:nth-child(2) img { animation-delay: -11s; }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1) translate(-2%, -1%); } }

/* Opiniones: comillas gigantes de fondo */
#opiniones-seccion { position: relative; overflow: hidden; }
#opiniones-seccion::before {
  content: "\201C"; position: absolute; right: 4%; top: -40px; font-size: 26rem; line-height: 1; font-weight: 700;
  color: var(--celeste); opacity: .08; pointer-events: none;
}
#opiniones-seccion .contenedor { position: relative; }

/* CTA final con sierras y avión */
.cta-final > *:not(.escena-cielo) { position: relative; z-index: 1; }
.cta-final::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V60l80-25 70 18 100-40 90 32 80-20 110 40 90-30 120 36 100-46 100 38 80-16 110 30 70-12v75z' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

/* Tarjetas de servicio con foto de fondo. La foto va en el HTML: style="--foto:url(../img/…)"
   (la ruta es relativa a ESTA hoja de estilos, por eso empieza con ../) */
.servicio--foto { position: relative; overflow: hidden; color: #fff; border-color: transparent; background: var(--navy); isolation: isolate; }
.servicio--foto::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--foto) var(--foto-pos, center) / cover no-repeat;
  transition: transform .6s ease;
}
.servicio--foto::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,31,60,.15) 0%, rgba(10,31,60,.55) 45%, rgba(10,31,60,.94) 100%); }
.servicio--foto:hover::before { transform: scale(1.05); }
.servicio--foto p { color: #d5deeb; }

/* Tarjeta de eventos: ocupa todo el ancho y las fotos pasan solas (cada 6 s, la barrita naranja marca el tiempo) */
.servicio--eventos { grid-column: 1 / -1; position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--navy); min-height: clamp(400px, 36vw, 520px); }
.eventos-fotos { position: absolute; inset: 0; z-index: -2; }
.evento-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.evento-slide.activo { opacity: 1; }
.evento-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.evento-slide.activo img { transform: scale(1); }
.servicio--eventos::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,31,60,.94) 0%, rgba(10,31,60,.72) 34%, rgba(10,31,60,.12) 70%, rgba(10,31,60,0) 100%), linear-gradient(0deg, rgba(10,31,60,.5), rgba(10,31,60,0) 40%); }
.evento-slide figcaption {
  position: absolute; top: clamp(16px, 2vw, 24px); right: clamp(16px, 2vw, 24px); max-width: calc(100% - 32px);
  padding: 7px 14px; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: #fff;
  background: rgba(10,31,60,.78); border: 1px solid rgba(255,255,255,.18);
  transform: translateY(-8px); opacity: 0; transition: opacity .5s .5s, transform .5s .5s var(--ease-out);
}
.evento-slide.activo figcaption { transform: none; opacity: 1; }
.servicio--eventos .servicio-cuerpo { max-width: 540px; }
.servicio--eventos p { color: #d5deeb; }
.eventos-etiqueta { display: inline-block; align-self: flex-start; margin-bottom: 12px; padding: 4px 10px; border-radius: 6px; background: var(--naranja); color: #fff; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
/* Flechas: una a cada lado, a media altura */
.servicio--eventos { padding-inline: clamp(76px, 7vw, 96px); padding-bottom: clamp(64px, 6vw, 76px); }
.eventos-flecha {
  position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; padding: 0; color: #fff;
  background: rgba(10,31,60,.55); border: 1px solid rgba(255,255,255,.35);
  transition: background .2s, border-color .2s, transform .2s var(--ease-out);
}
.eventos-flecha--ant { left: clamp(14px, 1.6vw, 24px); }
.eventos-flecha--sig { right: clamp(14px, 1.6vw, 24px); }
.eventos-flecha .icono { width: 20px; height: 20px; }
.eventos-flecha--ant .icono { transform: scaleX(-1); }
.eventos-flecha:hover { background: var(--naranja); border-color: var(--naranja); }
.eventos-flecha:active { transform: scale(.92); }
.eventos-flecha:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; }
/* Indicador: abajo al centro; el de la foto actual se alarga y se va llenando de naranja hasta pasar a la siguiente */
.eventos-puntos { position: absolute; left: 50%; bottom: clamp(16px, 2vw, 24px); transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 4px; }
.eventos-puntos button { height: 24px; padding: 0 3px; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.eventos-puntos .barra { display: block; width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.4); overflow: hidden; transition: width .35s var(--ease-out), background .3s, box-shadow .3s; }
.eventos-puntos button:hover .barra { background: rgba(255,255,255,.7); }
.eventos-puntos button:focus-visible { outline: 2px solid var(--naranja); outline-offset: 2px; border-radius: 999px; }
.eventos-puntos .activo .barra { width: 36px; background: rgba(255,255,255,.4); }
.eventos-puntos i { display: block; height: 100%; width: 100%; border-radius: inherit; background: #ffb52e; transform: scaleX(0); transform-origin: left center; }
.eventos-puntos .activo i { animation: eventos-avance 6s linear forwards; }
.servicio--eventos.pausado .eventos-puntos .activo i { animation-play-state: paused; }
@keyframes eventos-avance { to { transform: scaleX(1); } }
@media (max-width: 640px) {
  .servicio--eventos { min-height: 520px; padding-inline: 20px; padding-bottom: 60px; }
  .eventos-flecha { top: 34%; width: 42px; height: 42px; margin-top: -21px; }
  .servicio--eventos::after { background: linear-gradient(180deg, rgba(10,31,60,.1) 0%, rgba(10,31,60,.55) 42%, rgba(10,31,60,.95) 100%); }
  .evento-slide figcaption { left: 16px; right: auto; font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  .evento-slide, .evento-slide img, .evento-slide figcaption { transition: none; }
  .evento-slide img { transform: none; }
  .eventos-puntos .activo i { animation: none; width: 100%; }
}

/* Micro-interacciones */
@keyframes saludo { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-10deg) scale(1.06); } 60% { transform: rotate(8deg); } }
.btn--primario { position: relative; overflow: hidden; }
.btn--primario::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); transition: left .6s ease;
}
.btn--primario:hover::after { left: 130%; }

/* Créditos en el pie */
.creditos { margin-top: 18px; font-size: .78rem; color: #7d8ca3; }
.creditos summary { cursor: pointer; width: max-content; max-width: 100%; }
.creditos p { margin: 10px 0 0; line-height: 1.7; }
.creditos a { text-decoration: underline; }

@media (max-width: 960px) {
  .postal { width: 260px; }
}
@media (max-width: 640px) {
  .ruta { margin-top: 8px; }
  .escena-van { width: 84px; }
  .postal { width: 220px; }
  .marquesina-pista { gap: 14px; animation-duration: 40s; }
  .banda-foto::before { background: linear-gradient(180deg, rgba(10,31,60,.55), rgba(10,31,60,.8)); }
  #opiniones-seccion::before { font-size: 14rem; }
}
@media (prefers-reduced-motion: reduce) {
  .foto-kb img, .mapa img, .marquesina-pista { animation: none; }
  .escena-vehiculo, .escena-estela { display: none; }
}

/* ---------- 5. PÁGINA DESTINOS ---------- */
.page-hero { background: var(--navy); color: #fff; padding: calc(var(--header-h) + 48px) 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0,175,216,.3), transparent 70%); }
.page-hero h1 { font-size: clamp(2.5rem, 1.2rem + 4vw, 4.25rem); font-weight: 700; line-height: .92; text-transform: uppercase; }
.page-hero p { color: #c9d5e6; max-width: 600px; font-size: 1.1rem; margin: 0; }
.migas { font-size: .9rem; color: #8fa2bd; margin-bottom: 18px; }
.migas a:hover { color: #fff; }

.filtros {
  display: flex; gap: 14px; justify-content: space-between; align-items: center; flex-wrap: wrap;
  padding: 18px; border-radius: 18px; background: var(--superficie); border: 1px solid var(--linea); box-shadow: var(--sombra);
  margin-top: -36px; position: relative; z-index: 2;
}
.filtros .campo--icono { flex: 1; min-width: 240px; }
.filtro-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.filtro-btns button {
  border: 1.5px solid var(--linea); background: var(--superficie); padding: 10px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; color: var(--gris);
}
.filtro-btns button.activo { background: var(--navy); color: #fff; border-color: var(--navy); }
.resultados-info { color: var(--gris); margin: 30px 0 18px; font-weight: 600; }
.sin-resultados { text-align: center; padding: 60px 20px; color: var(--gris); display: none; }
.sin-resultados h2 { font-family: var(--fuente); text-transform: none; font-size: 1.35rem; font-weight: 700; color: var(--titular); margin: 0 0 8px; }

/* ---------- 6. ANIMACIONES Y RESPONSIVE ---------- */
/* Sin "fade-up" en cada bloque: el movimiento del sitio son el avión, la van y los videos. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wa-flotante::before { animation: none; }
}

@media (max-width: 1080px) {
  .cotizador-grid { grid-template-columns: repeat(3, 1fr); }
  .cotizador-grid .campo--origen, .cotizador-grid .campo--destino { grid-column: span 3; }
  .header-tel { display: none; }
}

@media (max-width: 960px) {
  .seccion { padding: 64px 0; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--superficie); flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 20px 24px; box-shadow: var(--sombra-lg); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease-out), opacity .2s ease;
  }
  .nav.abierto { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { color: var(--tinta) !important; padding: 14px 0; border-bottom: 1px solid var(--linea); }
  .nav a::after { display: none; }
  .menu-btn { display: block; }
  .header-acciones .btn { display: none; }
  .confianza-grid { grid-template-columns: repeat(2, 1fr); }
  .tarifas-grid { grid-template-columns: repeat(2, 1fr); }
  .flota-panel, .equip-grid, .cobertura-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .carrusel-pista { grid-auto-columns: calc((100% - 22px) / 2); }
  .pasos { grid-template-columns: 1fr; gap: 28px; }
  .paso { display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; }
  .paso-num { grid-row: span 2; margin: 0; }
  .paso:not(:last-child)::after { top: 72px; left: 31px; right: auto; bottom: -28px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px); }
}

@media (max-width: 640px) {
  .logo img { height: 40px; }
  .header .contenedor { gap: 10px; }
  .idiomas button { padding: 6px 8px; }
  .contenedor { padding: 0 16px; }
  .seccion { padding: 52px 0; }
  .encabezado { margin-bottom: 36px; }
  .hero { padding: calc(var(--header-h) + 40px) 0 130px; }
  .hero-fondo::after { background: linear-gradient(180deg, rgba(10,31,60,.85), rgba(10,31,60,.95)); }
  .hero-ctas .btn { flex: 1; }
  .hero-puntos { gap: 14px 20px; }
  .cotizador { padding: 22px 18px; border-radius: 18px; }
  .cotizador-grid { grid-template-columns: 1fr 1fr; }
  .cotizador-grid .campo--origen, .cotizador-grid .campo--destino, .cotizador-grid .campo--fecha, .cotizador-grid .campo-vuelo { grid-column: span 2; }
  .tabs-tipo button { white-space: nowrap; font-size: .84rem; }
  .cotizador-pie .btn { width: 100%; }
  .tabs-tipo { width: 100%; }
  .tabs-tipo button { flex: 1; padding: 9px 8px; }
  .confianza-grid, .tarifas-grid, .equip-lista { grid-template-columns: 1fr; }
  .dato strong { font-size: 1.3rem; }
  .vehiculo { flex-wrap: wrap; gap: 12px 14px; }
  .vehiculo-cap { width: 100%; }
  .carrusel-pista { grid-auto-columns: 88%; }
  .cta-final { padding: 40px 24px; border-radius: 22px; }
  .cta-final-btns, .cta-final-btns .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .flota-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 24px; padding: 0 16px 4px; scrollbar-width: none; }
  .flota-tabs button { flex-shrink: 0; }
  .filtros { margin-top: -28px; }
  .wa-flotante { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}

/* =====================================================================
   RESERVA ONLINE (reserva.html y gracias.html)
   ===================================================================== */
.tarifa-wa { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--whatsapp-osc); }
.tarifa-wa .icono { width: 17px; height: 17px; }
.tarifa-wa:hover span { text-decoration: underline; }

.page-hero--corto { padding-bottom: 56px; }
.migas a { color: inherit; }
.reserva { margin-top: -28px; position: relative; z-index: 2; padding-bottom: 96px; }
.reserva-aviso, .estado-reserva { max-width: 640px; margin: 0 auto; text-align: center; }
.reserva-aviso h2 { margin-top: 0; }

.reserva-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.reserva-form { display: grid; gap: 20px; min-width: 0; }
.reserva-bloque h2 { font-size: 1.2rem; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.reserva-paso {
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: .9rem; flex-shrink: 0;
}
.reserva-campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.campo--ancho { grid-column: 1 / -1; }
.campo label small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.campo textarea { resize: vertical; font: inherit; }
.reserva-nota { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; color: var(--gris); font-size: .88rem; }
.reserva-nota .icono { width: 18px; height: 18px; color: var(--azul); flex-shrink: 0; margin-top: 2px; }
.reserva-nota[hidden] { display: none; }

.metodos { display: grid; gap: 12px; }
.metodos[hidden] { display: none; }
.metodo { cursor: pointer; }
.metodo input { position: absolute; opacity: 0; pointer-events: none; }
.metodo-caja {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 16px 50px; position: relative;
  border: 2px solid var(--linea); border-radius: var(--radio-sm); transition: border-color .2s, background .2s;
}
.metodo-caja::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  border-radius: 50%; border: 2px solid #b8c2d1; background: var(--superficie);
}
.metodo-caja small { color: var(--gris); }
.metodo input:checked + .metodo-caja { border-color: var(--azul); background: var(--azul-suave); }
.metodo input:checked + .metodo-caja::before { border-color: var(--azul); box-shadow: inset 0 0 0 4px #fff; background: var(--azul); }
.metodo input:focus-visible + .metodo-caja { outline: 3px solid rgba(31,127,208,.35); outline-offset: 2px; }
.reserva-sin-pago { display: grid; gap: 14px; justify-items: start; }
.reserva-sin-pago p { margin: 0; color: var(--gris); }

.reserva-resumen { position: sticky; top: calc(var(--header-h) + 20px); }
.reserva-resumen .tarjeta { display: grid; gap: 18px; }
.resumen-ruta { display: grid; gap: 2px; }
.resumen-ruta small { color: var(--gris); font-weight: 600; }
.resumen-ruta strong { font-size: 1.35rem; line-height: 1.25; }
.resumen-montos { margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--linea); padding-top: 16px; }
.resumen-montos div { display: flex; justify-content: space-between; gap: 12px; }
.resumen-montos div[hidden] { display: none; }
.resumen-montos dt { color: var(--gris); }
.resumen-montos dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.resumen-total { border-top: 1px solid var(--linea); padding-top: 12px; }
.resumen-total dt { color: var(--tinta); font-weight: 700; }
.resumen-total dd { font-size: 1.5rem; color: var(--titular); }
.resumen-usd { margin: -8px 0 0; font-size: .9rem; color: var(--gris); text-align: right; }
.resumen-usd[hidden] { display: none; }
.resumen-usd strong { color: var(--tinta); }
.reserva-acepta { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--gris); cursor: pointer; }
.reserva-acepta input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--azul); }
.reserva-error { margin: 0; padding: 12px 14px; border-radius: var(--radio-sm); background: #fdecea; color: #a8281b; font-weight: 600; font-size: .9rem; }
.reserva-error[hidden] { display: none; }
.reserva-ok { margin: 0; padding: 12px 14px; border-radius: var(--radio-sm); background: #e4f6ea; color: #14532d; font-size: .9rem; line-height: 1.45; }
.reserva-ok a { display: block; margin-top: 4px; color: inherit; font-weight: 600; text-decoration: underline; }
.reserva-ok[hidden] { display: none; }
.resumen-seguro { display: flex; gap: 8px; margin: 0; font-size: .8rem; color: var(--gris); }
.resumen-seguro .icono { width: 16px; height: 16px; flex-shrink: 0; color: var(--whatsapp-osc); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.cargando { position: relative; color: transparent !important; }
.btn.cargando::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border: 3px solid var(--navy); border-right-color: transparent; border-radius: 50%; animation: girar .8s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }

/* Estado de la reserva (gracias.html) */
.estado-reserva { display: grid; gap: 14px; justify-items: center; padding: 40px 28px; }
.estado-reserva h2 { margin: 0; font-size: 1.6rem; text-wrap: balance; }
.estado-reserva > p { margin: 0; color: var(--gris); max-width: 46ch; }
.numero-404 { font-family: var(--fuente-titulo); font-weight: 700; font-size: clamp(4.5rem, 3rem + 6vw, 7rem); line-height: .9; color: var(--naranja); letter-spacing: .02em; }
.estado-icono { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--fondo-suave); }
.estado-icono::after { content: ""; width: 30px; height: 30px; border: 4px solid var(--azul); border-right-color: transparent; border-radius: 50%; animation: girar .9s linear infinite; }
.estado-reserva[data-estado="ok"] .estado-icono { background: #e6f7ed; }
.estado-reserva[data-estado="ok"] .estado-icono::after { content: "✓"; border: 0; animation: none; width: auto; height: auto; font-size: 2.2rem; font-weight: 700; color: var(--whatsapp-osc); }
.estado-reserva[data-estado="error"] .estado-icono { background: #fdecea; }
.estado-reserva[data-estado="error"] .estado-icono::after { content: "!"; border: 0; animation: none; width: auto; height: auto; font-size: 2.2rem; font-weight: 700; color: #c0392b; }
.estado-detalle { width: 100%; margin: 8px 0 0; text-align: left; display: grid; gap: 0; border: 1px solid var(--linea); border-radius: var(--radio-sm); }
.estado-detalle[hidden] { display: none; }
.estado-detalle div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 16px; border-bottom: 1px solid var(--linea); }
.estado-detalle div:last-child { border-bottom: 0; }
.estado-detalle div[hidden] { display: none; }
.estado-detalle dt { color: var(--gris); }
.estado-detalle dd { margin: 0; font-weight: 700; text-align: right; }
.estado-acciones { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

@media (max-width: 960px) {
  .reserva-grid { grid-template-columns: 1fr; }
  .reserva-resumen { position: static; }
}
@media (max-width: 640px) {
  .reserva-campos { grid-template-columns: 1fr; }
  .reserva-bloque, .reserva-resumen .tarjeta { padding: 22px 18px; }
  .estado-detalle div { flex-direction: column; gap: 2px; }
  .estado-detalle dd { text-align: left; }
}

/* Página de destinos: foto de fondo en el encabezado */
.page-hero-foto { position: absolute; inset: 0; }
.page-hero-foto img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 25%, rgba(10,31,60,.4)); }
.page-hero .contenedor { position: relative; z-index: 1; }
.page-hero .escena-cielo { z-index: 0; }
.pagina-destinos { overflow: visible; padding-bottom: 1px; }
@media (prefers-reduced-motion: reduce) { .page-hero-foto img { animation: none; } }

/* ---------- 7. PRIVACIDAD Y COOKIES ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.25); text-underline-offset: 3px; cursor: pointer; }

.reserva-legales { font-size: var(--t-chico); color: var(--gris); margin: 10px 0 0; }
.reserva-legales a { color: var(--azul-texto); text-decoration: underline; }

/* Alerta (abajo, ancho de página) */
.cookies-alerta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; margin-inline: auto; max-width: 1080px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap;
  background: var(--navy); color: #d5deeb; padding: 18px 22px; border-radius: var(--radio); box-shadow: 0 20px 50px -18px rgba(0,0,0,.55);
  font-size: .95rem; line-height: 1.5; animation: cookies-entra .45s var(--ease-out) both; }
.cookies-alerta p { margin: 0; flex: 1 1 420px; }
.cookies-alerta strong { color: #fff; }
.cookies-alerta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookies-alerta--saliendo { opacity: 0; transform: translateY(10px); transition: opacity .2s ease-in, transform .2s ease-in; }
@keyframes cookies-entra { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 600px) {
  .cookies-alerta { left: 10px; right: 10px; bottom: 10px; padding: 16px; font-size: .9rem; }
  .cookies-alerta-btns { width: 100%; }
  .cookies-alerta-btns .btn { flex: 1; justify-content: center; }
}

/* Panel de configuración */
.cookies-panel { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radio);
  background: var(--superficie); color: var(--tinta); box-shadow: var(--sombra-lg); overflow: auto; overscroll-behavior: contain; }
.cookies-panel::backdrop { background: rgba(7,22,41,.55); backdrop-filter: blur(3px); }
.cookies-panel[open] { animation: cookies-panel-entra .3s var(--ease-out); }
@keyframes cookies-panel-entra { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.cookies-panel-cont { padding: 26px 28px 24px; display: grid; gap: 14px; }
.cookies-panel-cab { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookies-panel h2 { font-family: var(--fuente-titulo); text-transform: uppercase; font-size: 1.9rem; line-height: 1; color: var(--titular); margin: 0; }
.cookies-cerrar { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea); background: var(--superficie); display: grid; place-items: center; cursor: pointer; color: var(--gris); }
.cookies-cerrar:hover { color: var(--titular); border-color: var(--titular); }
.cookies-cerrar .icono { width: 18px; height: 18px; }
.cookies-cat { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 18px; border: 1px solid var(--linea); border-radius: var(--radio-sm); background: var(--fondo); }
label.cookies-cat { cursor: pointer; }
.cookies-cat strong { color: var(--titular); }
.cookies-cat p { margin: 2px 0 0; font-size: .92rem; color: var(--gris); line-height: 1.45; }
.cookies-siempre { flex-shrink: 0; font-size: var(--t-chico); font-weight: 700; color: var(--azul-texto); }
.cookies-switch { appearance: none; flex-shrink: 0; width: 46px; height: 26px; border-radius: 999px; background: #c3cddb; position: relative; cursor: pointer; transition: background .2s var(--ease-out); }
.cookies-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10,31,60,.3); transition: transform .2s var(--ease-out); }
.cookies-switch:checked { background: var(--azul); }
.cookies-switch:checked::after { transform: translateX(20px); }
.cookies-nota { margin: 0; font-size: .92rem; color: var(--gris); }
.cookies-privacidad { border-top: 1px solid var(--linea); padding-top: 12px; font-size: .92rem; line-height: 1.55; color: var(--tinta-2); }
.cookies-privacidad summary { cursor: pointer; font-weight: 700; color: var(--azul-texto); }
.cookies-privacidad p { margin: 10px 0 0; }
.cookies-privacidad a { color: var(--azul-texto); text-decoration: underline; }
.cookies-legal { font-size: .8rem; color: var(--gris); }
.cookies-acciones { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 600px) { .cookies-acciones .btn { flex: 1; justify-content: center; } .cookies-panel-cont { padding: 22px 18px 18px; } }
@media (prefers-reduced-motion: reduce) { .cookies-alerta, .cookies-panel[open] { animation: none; } }

/* Botones y links más fáciles de tocar en el celular (al menos 44 px de alto, lo que recomienda Google).
   Solo cambia en pantallas chicas: en la compu se ve igual que antes. */
@media (max-width: 640px) {
  .migas a { display: inline-block; padding-block: 12px; margin-block: -12px; }
  .tarifa-wa, .servicio-link { min-height: 44px; }
  .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .eventos-puntos button { height: 44px; }
  .eventos-puntos { bottom: 6px; }
}

/* ---------- Páginas por destino (ej: traslado-carlos-paz.html) ---------- */
.ruta-cuerpo { padding-top: 56px; }
.ruta-datos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 64px; }
.ruta-datos > div { border: 1px solid var(--linea); border-radius: 14px; background: var(--superficie); padding: 20px 22px; display: grid; gap: 2px; }
.ruta-datos strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.9rem; line-height: 1; text-transform: uppercase; color: var(--azul); }
.ruta-datos span { color: var(--gris); font-size: .95rem; }
.ruta-sub { margin-bottom: 26px; max-width: none; }
.pagina-ruta .tarifas-grid { grid-template-columns: repeat(2, minmax(0, 360px)); }
.ruta-texto { margin-top: 72px; }
.ruta-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 65ch; }
.ruta-lista li { position: relative; padding-left: 30px; font-size: 1.08rem; }
.ruta-lista li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--naranja); }
@media (max-width: 760px) {
  .ruta-datos { grid-template-columns: repeat(2, 1fr); }
  .pagina-ruta .tarifas-grid { grid-template-columns: 1fr; }
}
.tarifa-mas { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: .92rem; font-weight: 700; color: var(--azul); }
.tarifa-mas .icono { width: 16px; height: 16px; transition: transform .2s; }
.tarifa-mas:hover { text-decoration: underline; }
.tarifa-mas:hover .icono { transform: translateX(3px); }
.ruta-nota { margin: 18px 0 0; color: var(--gris); font-size: .92rem; }
