/* =====================================================
   DRIVER'S GTO — Sistema visual
   Marca (driversgto-marketing/marca): azul #0074F8 como color principal, negro,
   blanco, amarillo, rojo y verde; titulares Montserrat pesados; trazo de spray,
   franja de colores y fotos reales. Sin brillos, vidrio ni animaciones de relleno.
   El verde de WhatsApp sólo en lo que abre WhatsApp.
   ===================================================== */

:root {
  --bg: #0d0e10;
  --bg-2: #131417;
  --surface: #18191d;
  --surface-2: #1f2025;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.18);
  --text: #f3f0ea;
  --muted: #a8a59e;
  --dim: #77756f;
  --input: #464a52;
  --field: #6b7280;

  --yellow: #F8B800;
  --yellow-2: #ffc933;
  --green: #00A818;
  --blue: #0074F8;
  --blue-2: #1a84ff;
  --blue-text: #5aa5ff;
  --red: #F80024;
  --wa: #25d366;
  --ink: #111111;

  --stripe: linear-gradient(90deg, var(--yellow) 0 25%, var(--green) 25% 50%, var(--blue) 50% 75%, var(--red) 75% 100%);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-d: 'Montserrat', 'Inter', system-ui, sans-serif;

  --r: 10px;
  --r-sm: 6px;
  --pad: 20px;
  --max: 1160px;
  --hdr: 64px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-text); outline-offset: 3px; border-radius: 4px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--blue); color: #fff; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.ico { width: 20px; height: 20px; }
.ico-lg { width: 24px; height: 24px; }
.mt-14 { margin-top: 14px; }
.mt-24 { margin-top: 24px; }
.mt-28 { margin-top: 28px; }
.self-center { align-self: center; }
.center { text-align: center; justify-items: center; }
.center .lead { margin: 0 auto; }

/* ---------- Tipografía ---------- */

h1, h2, h3 { font-family: var(--font-d); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 9.5vw, 4.9rem); font-weight: 900; text-transform: uppercase; line-height: 1.04; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 5.6vw, 2.75rem); }
h3 { font-size: 1.18rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
.grad { color: var(--blue-text); }
/* En los títulos grandes, las palabras clave van sobre el trazo de spray de la marca
   (trazo-brush girado a horizontal, con los huecos entre hebras rellenos, en vector y en el azul de la marca);
   sus hebras salen después de la última letra. */
h1 .grad { position: relative; z-index: 0; white-space: nowrap; color: #fff; }
h1 .grad::before { content: ''; position: absolute; z-index: -1; left: -0.2em; right: -0.5em; top: -0.1em; bottom: -0.16em; background: url('/sitio/assets/brand/trazo-resaltado.svg') left center / 100% 100% no-repeat; }
.kicker { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-text); }
.sec-title { margin-top: 8px; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 36em; text-wrap: pretty; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.86rem; font-weight: 500; color: #d9d6cf; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- Botones ---------- */

/* Bobtail (customer_flutter / TransServer): fondo con un toque del color de la acción,
   texto claro y el color sólido en una media luna a la izquierda y en el bloque curvo
   del ícono a la derecha. La forma vive en las máscaras; el color, en --act. */
.btn {
  --act: var(--blue); --on-act: #fff; --h: 50px;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 20px; border-radius: calc(var(--h) * 0.4); border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
button.btn { font: inherit; font-weight: 700; }
.btn-wa { --act: var(--wa); --on-act: #fff; }
/* Logos de marca en el bloque curvo: tiendas en blanco (manzana negra, Google Play a color) y WhatsApp en su verde con el logo blanco. */
.btn-store { --act: #fff; --on-act: #000; }
.btn-primary, .btn-wa, .btn-store { background: color-mix(in srgb, var(--act) 10%, var(--surface)); color: color-mix(in srgb, var(--act) 20%, var(--text)); }
.btn-primary:hover, .btn-wa:hover, .btn-store:hover { background: color-mix(in srgb, var(--act) 18%, var(--surface)); border-color: var(--act); }
.btn-primary:active, .btn-wa:active, .btn-store:active { background: color-mix(in srgb, var(--act) 24%, var(--surface)); }
:is(.btn-primary, .btn-wa, .btn-store):has(> .ico) { padding-left: max(20px, calc(var(--h) * 0.45)); padding-right: calc(var(--h) * 1.25 + 4px); min-width: calc(var(--h) * 2.8); }
:is(.btn-primary, .btn-wa, .btn-store):has(> .ico)::before,
:is(.btn-primary, .btn-wa, .btn-store):has(> .ico)::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; background: var(--act); }
:is(.btn-primary, .btn-wa, .btn-store):has(> .ico)::before {
  left: 0; width: calc(var(--h) * 0.5);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40'%3E%3Cpath d='M20 0C8.954 0 0 8.954 0 20V20C0 31.046 8.954 40 20 40C6 40 6 28.8 6 20C6 11.2 6 0 20 0Z'/%3E%3C/svg%3E") 0 50% / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 40'%3E%3Cpath d='M20 0C8.954 0 0 8.954 0 20V20C0 31.046 8.954 40 20 40C6 40 6 28.8 6 20C6 11.2 6 0 20 0Z'/%3E%3C/svg%3E") 0 50% / 100% 100% no-repeat;
}
:is(.btn-primary, .btn-wa, .btn-store):has(> .ico)::after {
  right: 0; width: calc(var(--h) * 1.55);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 40'%3E%3Cpath d='M0 0H42C53.046 0 62 8.954 62 20V20C62 31.046 53.046 40 42 40H35C28 40 23 34 23 26C23 18 23 12 20 8C16 3 9 1 0 0Z'/%3E%3C/svg%3E") 100% 50% / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 62 40'%3E%3Cpath d='M0 0H42C53.046 0 62 8.954 62 20V20C62 31.046 53.046 40 42 40H35C28 40 23 34 23 26C23 18 23 12 20 8C16 3 9 1 0 0Z'/%3E%3C/svg%3E") 100% 50% / 100% 100% no-repeat;
}
:is(.btn-primary, .btn-wa, .btn-store) > :is(.ico, .spin) { position: absolute; right: calc(var(--h) * 0.5); top: 50%; transform: translate(50%, -50%); color: var(--on-act); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { --h: 40px; font-size: 0.92rem; }
.btn:disabled, .btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }
.btn[aria-busy='true'] { pointer-events: none; }
.btn[aria-busy='true'] > .ico { visibility: hidden; }

/* Spinner compartido (Bobtail Spinner): anillo corto, sin brillos. */
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btns .btn { flex: 1 1 auto; }
.stores { display: contents; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-text); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Encabezado y menú ---------- */

.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); border-bottom: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.hdr.is-solid { background: rgba(13, 14, 16, 0.97); border-color: var(--line); }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 800; font-size: 1.02rem; }
.brand img { width: 32px; height: auto; }
.brand small { display: block; font: 500 0.62rem/1 var(--font); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.nav { display: none; margin-left: auto; gap: 2px; }
.nav a { padding: 8px 12px; border-radius: var(--r-sm); font-size: 0.94rem; font-weight: 500; color: #d2cfc8; }
.nav a:hover { color: #fff; }
.nav a[aria-current='page'] { color: var(--blue-text); }
.hdr-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.hdr-cta .btn-sm { display: none; }
/* Cambio de idioma: pequeño, junto al botón; el menú móvil lo repite con su texto completo. */
.lang { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 0.86rem; font-weight: 600; color: #d2cfc8; }
.lang:hover { color: #fff; border-color: var(--line-3, var(--line-2)); }
.lang .ico { width: 16px; height: 16px; }
@media (max-width: 479px) { .lang { padding: 0 10px; } .lang .ico { display: none; } }
.gloss td { white-space: normal; }
/* Botón flotante a /pedir/: en el celular, redondo y encima de la barra de abajo; en computadora, con texto. */
.qr-fab { position: fixed; z-index: 41; right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 56px; height: 56px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: 600 0.95rem var(--font); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); transition: transform 0.2s var(--ease), border-color 0.2s; }
.qr-fab .ico { width: 24px; height: 24px; color: var(--blue-text); }
.qr-fab span { display: none; }
.qr-fab:hover { transform: translateY(-2px); border-color: var(--blue); }
body.is-locked .qr-fab { display: none; }
@media (min-width: 1024px) {
  .qr-fab { right: 24px; bottom: 24px; width: auto; padding: 0 20px 0 16px; height: 52px; }
  .qr-fab span { display: inline; }
}
/* Aviso de instalar en el celular (gto.js): lleva a /pedir/, con la tienda del teléfono primero. */
.install-tip { position: fixed; z-index: 44; left: 10px; right: 10px; top: calc(var(--hdr) + 8px); display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); animation: fadeup 0.4s var(--ease) both; }
.install-tip img { width: 28px; height: auto; flex: none; }
.install-tip p { flex: 1; margin: 0; display: grid; font-size: 0.82rem; line-height: 1.3; color: var(--muted); }
.install-tip b { color: var(--text); font-size: 0.9rem; }
.install-tip .btn { flex: none; }
.install-tip button { flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
body.is-locked .install-tip { display: none; }
.burger { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--text); transition: transform 0.2s, background 0.2s; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { transform: translateY(-6px); }
.burger span::after { transform: translateY(6px); }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: rotate(45deg); }
.burger[aria-expanded='true'] span::after { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; padding: calc(var(--hdr) + 16px) var(--pad) 28px; background: var(--bg); display: flex; flex-direction: column; gap: 24px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; }
.menu.is-open { opacity: 1; visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-d); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.02em; }
.menu nav a small { font: 500 0.82rem var(--font); color: var(--dim); letter-spacing: 0; text-align: right; }
.menu nav a[aria-current='page'] { color: var(--blue-text); }
.menu .btns { margin-top: auto; flex-direction: column; }

/* ---------- Portada y héroes ---------- */

.hero, .phero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; }
.hero { min-height: 92svh; padding: calc(var(--hdr) + 32px) 0 40px; }
.phero { min-height: 64svh; padding: calc(var(--hdr) + 40px) 0 44px; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; }
.hero::before, .phero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 14, 16, 0.75) 0%, rgba(13, 14, 16, 0.5) 30%, rgba(13, 14, 16, 0.88) 62%, var(--bg) 100%); }
.hero h1, .phero h1 { margin: 14px 0; }
.phero h1 { font-size: clamp(2.2rem, 8.5vw, 4.2rem); }
.hero .lead, .phero .lead { color: #e8e5de; margin-bottom: 24px; }
/* Texto sobre foto o sobre el 3D: sombra para que no se pierda en las partes claras. */
:is(.hero, .phero) :is(h1, .lead, .live, .crumb, .hero-proof, .pedir-quick-note) { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 14px rgba(0, 0, 0, 0.75); }
.phero .crumb { color: #dcd9d2; }
.hero-proof { margin-top: 18px; font-size: 0.88rem; color: #e4e1da; }
.hero-proof b { color: var(--yellow); letter-spacing: 1px; }
.crumb { font-size: 0.85rem; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.crumb a:hover { color: #fff; }
.crumb .ico { width: 14px; height: 14px; }

/* ---------- Secciones ---------- */

.sec { padding: 72px 0; position: relative; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; }
.sec-head .lead { font-size: 1rem; }

/* Tarjeta Bobtail: superficie opaca, borde fino y la esquina suave de la marca abajo a la derecha. */
.card { position: relative; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.card.form, .card.calc, .card.requirements, .order-way, .qr-panel { overflow: hidden; }
.card.form::after, .card.calc::after, .card.requirements::after, .order-way::after, .qr-panel::after {
  content: ''; position: absolute; right: 0; bottom: 0; width: 42px; height: 42px; background: var(--blue); pointer-events: none;
  clip-path: path('M42 0C42 0 42 42 0 42H42Z');
}
.order-way-wa::after { background: var(--wa); }

/* Ventajas: sin tarjeta, una línea de color arriba */
.perks { display: grid; gap: 28px; }
.perk { padding-top: 18px; border-top: 2px solid var(--blue); }
.perk-ico { color: var(--blue-text); margin-bottom: 12px; }
.perk h3 { margin-bottom: 6px; }
.perk p { color: var(--muted); font-size: 0.97rem; }

/* Tipos de viaje (fotos) */
.rides { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scroll-padding: 0 var(--pad); }
.rides::-webkit-scrollbar { display: none; }
.ride { scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 5; padding: 18px; border-radius: var(--r); overflow: hidden; isolation: isolate; }
.ride img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ride::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 14, 16, 0.15) 25%, rgba(13, 14, 16, 0.95) 80%); }
.ride .tag { align-self: flex-start; margin-bottom: auto; }
.ride h3 { font-size: 1.45rem; margin-bottom: 4px; }
.ride p { color: #e4e1da; font-size: 0.93rem; }
.ride :is(h3, p), .path :is(h3, p) { text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.ride:hover h3 { color: var(--blue-text); }
.ride .go { display: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r-sm); font-size: 0.76rem; font-weight: 600; background: rgba(13, 14, 16, 0.85); color: #fff; }
.swipe-hint { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--dim); font-size: 0.84rem; }

/* Pasos numerados */
.steps { display: grid; gap: 22px; counter-reset: s; }
.step { position: relative; padding-left: 52px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px 6px 12px 6px; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 700; font-size: 0.95rem; line-height: 1; color: var(--blue-text); }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* Reseñas */
.reviews { display: grid; gap: 28px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 0.9rem; }
.review blockquote { margin: 0; font-family: var(--font-d); font-weight: 600; font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.015em; }
.who { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.who i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 0.78rem; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); }
.who span { color: var(--muted); display: block; font-size: 0.82rem; }

/* Caminos (conductores, empresas, flotas) */
.paths { display: grid; gap: 12px; }
.path { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; padding: 24px; border-radius: var(--r); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.path::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 14, 16, 0.05) 20%, rgba(13, 14, 16, 0.94) 85%); }
.path .tag { position: absolute; top: 18px; left: 18px; }
.path h3 { font-size: clamp(1.5rem, 5vw, 1.9rem); }
.path p { color: #e4e1da; max-width: 28em; }
.path .link-arrow { margin-top: 4px; }

/* Preguntas frecuentes */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; font: 400 1.5rem/1 var(--font); color: var(--blue-text); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 42em; }
.faq a, .facts a, .order-way p a, .check a, .lead a, .hero-proof a, .perk p a { color: var(--blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* Llamado final */
.cta { text-align: center; padding: 56px 24px; border-radius: var(--r); background: var(--surface); border-top: 4px solid transparent; border-image: var(--stripe) 1; border-image-slice: 1 0 0 0; }
.cta img.mascot { width: 84px; margin: 0 auto 16px; }
.cta h2 { margin-bottom: 10px; }
.cta .lead { margin: 0 auto 24px; }
.cta .btns { justify-content: center; max-width: 560px; margin: 0 auto; }

/* ---------- Bloques de páginas internas ---------- */

.modes { display: grid; gap: 16px; }
.mode { display: grid; overflow: hidden; }
.mode-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.mode-img img { width: 100%; height: 100%; object-fit: cover; }
.mode-img .tag { position: absolute; left: 14px; top: 14px; }
.mode-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.mode-body h3 { font-size: 1.5rem; }
.mode-body > p { color: var(--muted); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 22px; font-size: 0.96rem; color: #dcd9d2; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
ol.checks { counter-reset: c; }
ol.checks li { padding-left: 30px; }
ol.checks li::before { counter-increment: c; content: counter(c); width: auto; height: auto; top: 0; left: 0; background: none; font-family: var(--font-d); font-weight: 800; color: var(--blue-text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-size: 0.9rem; color: #dcd9d2; }

.feature { display: grid; gap: 28px; align-items: center; }
.feature-img { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img .tag { position: absolute; left: 14px; bottom: 14px; }
.feature .points { display: grid; gap: 16px; margin: 22px 0; }
.point { display: flex; gap: 14px; }
.point-ico { flex-shrink: 0; color: var(--blue-text); padding-top: 2px; }
.point b { display: block; margin-bottom: 2px; }
.point p { color: var(--muted); font-size: 0.95rem; }

.timeline { display: grid; gap: 26px; }
.tl { position: relative; padding-left: 22px; border-left: 2px solid var(--blue); }
.tl small { font-size: 0.8rem; font-weight: 600; color: var(--blue-text); }
.tl h3 { margin: 2px 0 4px; }
.tl p { color: var(--muted); }

.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); background: rgba(248, 184, 0, 0.08); color: #ebe3cc; font-size: 0.95rem; }
.note svg { color: var(--yellow); margin-top: 2px; }
.note a { color: var(--yellow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Tabla de distancias */
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.dist { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.dist caption { caption-side: bottom; text-align: left; padding: 12px 16px; color: var(--muted); font-size: 0.88rem; }
.dist th, .dist td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.dist thead th { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.dist tbody th { font-weight: 600; }
.dist td { color: #dcd9d2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dist tbody tr:last-child > * { border-bottom: 0; }
/* En el teléfono cada destino es un renglón: nombre arriba, distancia y tiempo abajo. */
@media (max-width: 639px) {
  .table-wrap { overflow: visible; }
  .dist thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .dist tbody tr { display: flex; flex-wrap: wrap; gap: 2px 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .dist tbody tr:last-child { border-bottom: 0; }
  .dist tbody th { flex-basis: 100%; padding: 0; border: 0; }
  .dist td { padding: 0; border: 0; color: var(--muted); }
  .dist td + td::before { content: '·'; margin-right: 14px; color: var(--dim); }
  .dist td.none { display: none; }
  .dist td.none + td::before { content: none; }
}

/* Canales de contacto */
.channels-h { font-size: 0.86rem; font-weight: 600; color: var(--muted); margin: 26px 0 8px; }
.channels { display: grid; border-top: 1px solid var(--line); }
.channel { display: flex; align-items: center; gap: 14px; padding: 16px 2px; border-bottom: 1px solid var(--line); }
.channel-ico { color: var(--c, var(--blue-text)); }
.channel b { display: block; font-size: 1.02rem; }
.channel span { color: var(--muted); font-size: 0.9rem; }
.channel > svg:last-child { margin-left: auto; color: var(--dim); }
.channel:hover b { color: var(--blue-text); }
.channels .card { background: none; border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }

/* Formularios */
.form { padding: 22px; display: grid; gap: 16px; }
.form h3 { font-size: 1.4rem; }
.form > p { color: var(--muted); font-size: 0.95rem; margin-top: -8px; }
.field { display: grid; gap: 6px; }
.field > span, .field > label, .choice legend { font-size: 0.86rem; font-weight: 600; color: #d2cfc8; }
/* Campo Bobtail: esquina inferior derecha más redonda, bloque del ícono a la izquierda
   (gris en reposo, azul con el foco) y acciones a la derecha con la forma espejo. */
.ctl { display: flex; align-items: stretch; min-height: 50px; background: var(--surface); border: 1px solid var(--input); border-radius: 6px 6px 14px 6px; transition: border-color 0.18s, box-shadow 0.18s; }
.ctl:hover { border-color: color-mix(in srgb, var(--blue) 60%, var(--input)); }
.ctl:focus-within { border-color: var(--blue); box-shadow: 0 0 8px 2px color-mix(in srgb, var(--blue) 35%, transparent); }
.ctl:has([aria-invalid='true']) { border-color: var(--red); }
.ctl-ico, .ctl-end { position: relative; flex: 0 0 40px; display: grid; place-items: center; transition: background-color 0.18s, color 0.18s; }
.ctl-ico { margin-right: 10px; border-radius: 5px 0 12px 5px; background: var(--field); color: #fff; }
.ctl-end { margin-left: 8px; border-radius: 0 5px 5px 12px; background: color-mix(in srgb, var(--blue) 7%, var(--surface-2)); color: var(--muted); }
.ctl-ico::after, .ctl-end::after {
  content: ''; position: absolute; top: 0; left: 100%; width: 16px; height: 16px; background: inherit; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100 0Q0 0 0 100V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M100 0Q0 0 0 100V0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.ctl-end::after { left: auto; right: 100%; transform: scaleX(-1); }
.ctl-ico .ico, .ctl-end .ico { position: relative; z-index: 1; width: 18px; height: 18px; }
.ctl:focus-within :is(.ctl-ico, .ctl-end) { background: var(--blue); color: #fff; }
.ctl-end[hidden] { display: none; }
.ctl-end button { width: 100%; height: 100%; display: grid; place-items: center; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.ctl-end button:focus-visible { outline: none; box-shadow: inset 0 0 0 2px #fff; border-radius: inherit; }
.ctl input, .ctl select, .ctl textarea { flex: 1; min-width: 0; width: 100%; min-height: 48px; padding: 12px 12px 12px 2px; border: 0; background: transparent; font-size: 1rem; outline: none; -webkit-appearance: none; appearance: none; }
.ctl:has(textarea) .ctl-ico { align-self: flex-start; min-height: 48px; }
.ctl textarea { resize: vertical; min-height: 96px; }
.ctl select { padding-right: 40px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8a59e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.ctl select option { background: var(--surface); }
.ctl input::placeholder, .ctl textarea::placeholder { color: var(--dim); opacity: 1; }
.form .btn { width: 100%; }
.form-alt { text-align: center; font-size: 0.92rem; color: var(--muted); }
.form-alt a { color: var(--blue-text); font-weight: 600; }
.req { color: var(--red); font-style: normal; }
.field-hint { color: var(--dim); font-size: 0.82rem; }
.field-error { color: #ff8796; font-size: 0.86rem; font-weight: 500; }
.choice { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice legend { margin-bottom: 8px; padding: 0; }
/* Selector segmentado Bobtail: una canaleta con borde y el segmento elegido relleno. */
.choice-row { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--surface); border: 1px solid var(--input); }
.choice-row label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--muted); }
.choice-row label:has(input:checked) { background: color-mix(in srgb, var(--blue) 16%, var(--surface)); color: var(--text); }
.choice-row label:has(input:focus-visible) { outline: 2px solid var(--blue-text); outline-offset: -2px; }
.choice-row label { position: relative; }
.choice-row input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); flex-shrink: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 0.93rem; color: #dcd9d2; }
.vehicle { display: grid; gap: 16px; }
.vehicle[hidden], .form-status[hidden], .form-done[hidden], .form[hidden], .calc-out[hidden], [data-continue][hidden] { display: none; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 6px 6px 14px 6px; font-size: 0.93rem; background: color-mix(in srgb, var(--red) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--red) 40%, transparent); color: #ffc2ca; }
.form-status[data-tone='info'] { background: color-mix(in srgb, var(--blue) 12%, var(--surface)); border-color: color-mix(in srgb, var(--blue) 40%, transparent); color: #d3e4ff; }
.form-done { text-align: center; justify-items: center; align-content: center; min-height: 260px; }
.form-done .perk-ico { --c: var(--green); margin: 0; }
.turnstile:empty { display: none; }
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.info li { display: flex; gap: 10px; align-items: center; color: #dcd9d2; font-size: 0.96rem; }
.info svg { color: var(--blue-text); }
.info a:hover { color: var(--blue-text); }

.requirements { padding: 22px; }
.requirements-status { color: var(--muted); }

/* Cotizador. En el teléfono: título, formulario y después los detalles. */
.quote { display: grid; gap: 24px; }
.quote .sec-head { margin-bottom: 0; }
.calc { padding: 20px 20px 28px; display: grid; gap: 14px; }
.calc-fields { display: grid; gap: 12px; }
.calc-out { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding: 16px 18px; border-radius: 6px 6px 14px 6px; background: var(--bg); border: 1px solid var(--line-2); }
.calc-out small { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 4px; }
.calc-out b { font-family: var(--font-d); font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.calc-out .t { text-align: right; }
.calc-out .t b { font-size: 1.15rem; color: var(--text); white-space: nowrap; }
.calc .btn { width: 100%; }
.calc-note { font-size: 0.84rem; color: var(--dim); padding-right: 30px; }
.calc-fallback { font-size: 0.95rem; color: var(--muted); }
.calc-fallback[hidden], [data-quote-submit][hidden] { display: none; }
.calc-fallback a { color: var(--blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.place { position: relative; display: grid; gap: 6px; }
.place > label { font-size: 0.86rem; font-weight: 600; color: #d2cfc8; }
.place-list { position: absolute; z-index: 5; top: 100%; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.7); max-height: min(320px, 50vh); overflow-y: auto; overscroll-behavior: contain; }
.place-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 8px; cursor: pointer; }
.place-list li > .ico { margin-top: 2px; width: 18px; height: 18px; color: var(--muted); }
.place-list li b { display: block; font-weight: 600; font-size: 0.97rem; line-height: 1.3; }
.place-list li small { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.35; }
.place-list li:hover, .place-list li[aria-selected='true'] { background: color-mix(in srgb, var(--blue) 18%, var(--surface-2)); }
.place-list li.place-empty { cursor: default; color: var(--muted); font-size: 0.93rem; }
.place-list li.place-empty:hover { background: none; }

/* ---------- Cómo pedir: app, app web y WhatsApp ---------- */

.order-ways, .order-list { display: grid; gap: 12px; }
.order-way { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.order-way-head { display: flex; align-items: center; gap: 12px; }
.order-way-head .perk-ico { margin: 0; color: var(--blue-text); }
.order-way-head h2, .order-way-head h3 { font-size: 1.25rem; }
.order-badge { display: inline-block; margin-top: 4px; font-size: 0.76rem; font-weight: 700; color: var(--yellow); }
.order-way p { color: var(--muted); font-size: 0.97rem; }
.order-way .btns { margin-top: auto; padding-top: 4px; }
.order-num { display: none; }
.order-way-app { border-color: rgba(0, 116, 248, 0.7); }
.order-way-wa { background: transparent; }
.order-way-wa .perk-ico { color: var(--wa); }
.order-way-call { background: transparent; }
.install-steps { font-size: 0.93rem; color: var(--muted); }
.install-steps summary { cursor: pointer; color: var(--text); font-weight: 600; }
.install-steps ol { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.install-steps b { color: var(--text); }
.btn[data-install][hidden] { display: none; }

/* Datos en breve */
.facts { display: grid; margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 0.86rem; font-weight: 700; color: var(--blue-text); }
.facts dd { margin: 0; color: #dcd9d2; }

/* ---------- Página /pedir/ ---------- */

/* Encabezado con foto, más bajo que el de las otras páginas: se ven pronto las opciones. */
.order-page .phero { min-height: 0; padding-bottom: 24px; }
.order-page .phero::before { background: linear-gradient(180deg, rgba(13, 14, 16, 0.82) 0%, rgba(13, 14, 16, 0.7) 45%, rgba(13, 14, 16, 0.9) 80%, var(--bg) 100%); }
.order-page .phero .btn-primary { min-height: 56px; font-size: 1.05rem; }
.pedir-quick-note { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.9rem; color: #e4e1da; }
.pedir-quick-note li { display: inline-flex; align-items: center; gap: 6px; }
.pedir-quick-note .ico { width: 16px; height: 16px; color: var(--green); }
.pedir-grid { display: grid; gap: 28px; align-items: start; }
.promo { display: grid; overflow: hidden; border-radius: var(--r); background: var(--blue); color: #fff; }
.promo[hidden] { display: none; }
.promo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.promo-body { padding: 18px 20px 20px; display: grid; gap: 8px; }
.promo-body small { font-weight: 700; font-size: 0.8rem; }
.promo-body h2 { font-size: 1.5rem; }
.promo-body p { font-size: 0.97rem; }
.promo-body .btn { justify-self: start; background: #fff; color: var(--ink); margin-top: 4px; }
.qr-panel { display: none; }
/* QR a pantalla completa (/pedir/#qr): fondo claro para que lo lea cualquier cámara. */
.qr-show-open { margin-top: 14px; font-size: 0.92rem; }
#opciones { scroll-margin-top: calc(var(--hdr) + 8px); }
.qr-show-open a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.qr-show-open .ico { width: 18px; height: 18px; }
.qr-show { display: none; position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: #fff; color: #0d0e10; }
.qr-show:target { display: grid; place-items: center; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }
.qr-show-body { display: grid; gap: 14px; justify-items: center; text-align: center; width: min(100%, 440px); }
.qr-show-body h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); color: #0d0e10; }
.qr-show-body p { color: #3d3f44; font-size: 1rem; }
.qr-show-code { width: min(86vw, 58svh, 420px); height: auto; aspect-ratio: 1; }
.qr-show-body .btn { width: 100%; min-height: 56px; font-size: 1.05rem; background: var(--blue); color: #fff; border-color: var(--blue); }
.qr-show-x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: #eceae5; color: #0d0e10; }
.qr-show-x .ico { width: 22px; height: 22px; }
body:has(.qr-show:target) { overflow: hidden; }
body:has(.qr-show:target) :is(.dock, .qr-fab, .install-tip) { display: none; }
.qr-card { width: 100%; max-width: 320px; aspect-ratio: 1; }

/* ---------- Pie ---------- */

.ftr { padding: 56px 0 calc(104px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); position: relative; }
.ftr::before { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--stripe); }
.ftr-grid { display: grid; gap: 32px; }
.ftr .brand { margin-bottom: 12px; }
.ftr p { color: var(--muted); font-size: 0.93rem; max-width: 30em; }
.ftr-h { margin: 0 0 12px; font-size: 0.86rem; font-weight: 600; color: var(--dim); font-family: var(--font); letter-spacing: 0; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr ul a { color: #d2cfc8; font-size: 0.95rem; }
.ftr ul a:hover { color: var(--blue-text); }
.social { display: flex !important; flex-wrap: wrap; gap: 14px !important; margin-top: 16px !important; }
.social a { text-decoration: underline; text-underline-offset: 3px; }
.ftr .ftr-motto { margin-top: 10px; font-weight: 600; color: var(--text); }
.ftr-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.84rem; color: var(--dim); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.ftr-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Barra fija en el teléfono */
.dock { position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); transform: translateY(140%); transition: transform 0.25s; }
.dock.is-on { transform: none; }
/* Mientras escribes, el teclado ya ocupa la pantalla: la barra se esconde. */
body:has(:is(input, textarea, select):focus) .dock { transform: translateY(140%); }
.dock .btn { min-height: 48px; }
.dock .btn-primary, .dock .btn-wa { flex: 1; }
.dock .btn-ghost { width: 48px; padding: 0; }

/* ---------- Tableta ---------- */

@media (min-width: 640px) {
  :root { --pad: 32px; }
  .perks, .reviews { grid-template-columns: repeat(2, 1fr); }
  .rides { grid-auto-columns: 44%; }
  .paths { grid-template-columns: repeat(2, 1fr); }
  .btns .btn { flex: 0 0 auto; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .mode { grid-template-columns: 1fr 1fr; }
  .mode-img { aspect-ratio: auto; min-height: 100%; }
  .mode-body { padding: 30px; justify-content: center; }
  .mode:nth-child(even) .mode-img { order: 2; }
  .order-ways { grid-template-columns: repeat(2, 1fr); }
    .facts > div { grid-template-columns: 180px 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Escritorio ---------- */

@media (min-width: 1000px) {
  :root { --hdr: 72px; }
  .nav { display: flex; }
  .hdr-cta { margin-left: 12px; }
  .hdr-cta .btn-sm { display: inline-flex; }
  .burger, .dock { display: none; }
  .ftr { padding-bottom: 44px; }
  .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .hero { align-items: center; padding-bottom: 72px; }
  .hero .wrap > div { max-width: 620px; }
  .phero { min-height: 58vh; padding-bottom: 64px; }
  .phero .wrap > * { max-width: 760px; }
  .sec { padding: 104px 0; }
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 48px; }
  .sec-head.center { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: end; max-width: 30em; }
  .sec-head.center .lead { justify-self: center; }
  .split .sec-head { grid-template-columns: 1fr; gap: 14px; }
  .split .sec-head .lead { justify-self: start; }
  .perks { grid-template-columns: repeat(3, 1fr); gap: 36px; }
  .perks.four { grid-template-columns: repeat(4, 1fr); }
  .rides { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 0; padding: 0; }
  .swipe-hint { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps.four { grid-template-columns: repeat(4, 1fr); }
  .reviews { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .paths { grid-template-columns: repeat(3, 1fr); }
  .path { min-height: 420px; padding: 32px; }
  .faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-layout .sec-head { grid-template-columns: 1fr; position: sticky; top: calc(var(--hdr) + 32px); }
  .faq-layout .sec-head .lead { justify-self: start; }
  .cta { padding: 80px 40px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature.flip .feature-img { order: 2; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .quote { grid-template-columns: 1.1fr 0.9fr; grid-template-areas: 'head form' 'more form'; column-gap: 56px; row-gap: 28px; align-items: start; }
  .quote > .sec-head { grid-area: head; grid-template-columns: 1fr; }
  .quote > .sec-head .lead { justify-self: start; }
  .quote > .calc { grid-area: form; }
  .quote > .quote-more { grid-area: more; }
  .calc, .form { padding: 32px; }
  .mode-body { padding: 44px; }
  .pedir-grid { grid-template-columns: 1.25fr 0.75fr; gap: 48px; }
  .qr-panel { display: grid; gap: 14px; justify-items: center; text-align: center; position: sticky; top: calc(var(--hdr) + 24px); padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
  .qr-panel p { color: var(--muted); font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Portada con coche 3D ---------- */

.hero-3d { align-items: flex-start; padding-top: calc(var(--hdr) + 24px); }
.scene { position: fixed; inset: 0; z-index: -10; pointer-events: none; }
.scene canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.8s; }
.has-3d .scene canvas { opacity: 1; }
.scene-veil { position: absolute; inset: 0; background: rgba(13, 14, 16, 0.56); opacity: 0; }
.has-3d .home { background: transparent; }
.has-3d .hero-3d .hero-bg { opacity: 0; transition: opacity 0.8s; }
.has-3d .hero-3d::before { background: linear-gradient(180deg, rgba(13, 14, 16, 0.94) 0%, rgba(13, 14, 16, 0.9) 50%, rgba(13, 14, 16, 0.6) 66%, rgba(13, 14, 16, 0) 78%); }
/* Con el coche 3D, las secciones de la portada dejan ver la escena mientras bajas (como el sitio
   anterior). Las tarjetas y textos llevan fondo y sombra suficientes para leerse encima. */
.has-3d .home .sec { background: transparent; }
.has-3d .home .alt { background: rgba(13, 14, 16, 0.35); }
.has-3d .home .ftr { background: rgba(13, 14, 16, 0.7); }
.has-3d .home .sec-head h2 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.has-3d .home :is(.sec-head .lead, .perk p, .facts dd, .review blockquote, .swipe-hint, .quote-more li) { color: #e4e1da; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.has-3d .home .card { background: rgba(24, 25, 29, 0.9); }
.has-3d .home .faq details { padding-inline: 14px; background: rgba(24, 25, 29, 0.84); }
.has-3d .home .cta { background: rgba(24, 25, 29, 0.9); }
.hero-3d h1 { font-size: clamp(2.3rem, 10vw, 5.4rem); }

@media (min-width: 1000px) {
  .hero-3d { align-items: center; padding-top: var(--hdr); }
  .hero-3d h1 { font-size: clamp(3.4rem, 5.4vw, 5.2rem); }
  .has-3d .hero-3d::before { background: linear-gradient(90deg, rgba(13, 14, 16, 0.94) 0%, rgba(13, 14, 16, 0.85) 36%, rgba(13, 14, 16, 0.45) 52%, rgba(13, 14, 16, 0) 66%), linear-gradient(180deg, rgba(13, 14, 16, 0.5) 0%, rgba(13, 14, 16, 0) 18%); }
}
.h3 { font-size: 1.22rem; }
.sec.pedir { padding-top: 20px; }

/* ---------- Movimiento (sólo con .motion: el <head> la quita si la persona pidió menos movimiento) ----------
   Idea de la marca: «movimiento con carácter». Todo es transform u opacity: no mueve el diseño ni traba el scroll. */

/* Barra de avance de lectura con los cuatro colores del logo (CSS puro; donde no hay soporte, no aparece). */
.scroll-bar { display: none; }
@supports (animation-timeline: scroll()) {
  .motion .scroll-bar { display: block; position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: 3px; background: var(--stripe); transform-origin: 0 50%; pointer-events: none; animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Titulares: cada palabra sube desde su renglón. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.12em 0 0.1em; margin: -0.12em 0 -0.1em; }
.w > span { display: inline-block; }
.motion :is(.hero, .phero) h1:not(.is-split) { opacity: 0; animation: show 0s 1.2s forwards; }
@keyframes show { to { opacity: 1; } }
.is-split .w > span { transform: translateY(110%); animation: rise 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 0.07s + 0.1s); }
@keyframes rise { to { transform: none; } }
.rise .w > span { transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 0.05s); }
.rise.in .w > span { transform: none; }

/* El trazo azul de la marca se pinta detrás de las palabras clave, como un brochazo. */
.motion h1 .grad::before { clip-path: inset(0 100% 0 0); animation: paint 0.8s var(--ease) 0.5s forwards; }
@keyframes paint { to { clip-path: inset(0); } }

/* Lo demás de la portada entra detrás del titular. */
@keyframes fadeup { from { opacity: 0; transform: translateY(14px); } }
.motion :is(.hero, .phero) :is(.live, .crumb) { animation: fadeup 0.7s var(--ease) both; }
.motion :is(.hero, .phero) .lead { animation: fadeup 0.8s var(--ease) 0.35s both; }
.motion :is(.hero, .phero) .btns { animation: fadeup 0.8s var(--ease) 0.5s both; }
.motion .hero-proof { animation: fadeup 0.8s var(--ease) 0.65s both; }
/* La foto de portada se asienta despacio. */
.motion :is(.hero, .phero) .hero-bg img { animation: settle 14s var(--ease) both; }
@keyframes settle { from { transform: scale(1.1); } }
/* «Disponible 24/7»: el punto late como señal en vivo. */
.motion .live i { animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(0, 168, 24, 0.6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(0, 168, 24, 0); } }

/* Bloques que entran al llegar con el scroll, uno tras otro (--d lo pone gto.js). */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* Fotos: un acercamiento leve al pasar el mouse. */
@media (hover: hover) {
  .ride img, .path img, .mode-img img { transition: transform 0.8s var(--ease); }
  .ride:hover img, .path:hover img, .mode:hover .mode-img img { transform: scale(1.05); }
}

/* Cinta de zonas y destinos (portada): el texto está en el HTML; sólo se mueve con .motion. */
.marquee { overflow-x: auto; scrollbar-width: none; border-block: 1px solid var(--line); padding: 16px 0; background: var(--bg-2); }
.marquee::-webkit-scrollbar { display: none; }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { display: inline-flex; align-items: center; gap: 20px; padding-right: 20px; font-family: var(--font-d); font-weight: 700; font-size: 1rem; color: #c9c6bf; white-space: nowrap; }
.marquee li::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.marquee ul[aria-hidden] { display: none; }
.motion .marquee { overflow: hidden; }
.motion .marquee ul[aria-hidden] { display: flex; }
.motion .marquee-track { animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.has-3d .home .marquee { background: rgba(13, 14, 16, 0.35); }

/* Rutas más pedidas (portada y Viajes): origen → destino, distancia y precio; tocar una llena el cotizador. */
.routes { display: grid; gap: 14px; }
.routes-head p { margin-top: 6px; color: var(--muted); font-size: 0.92rem; max-width: 46em; }
.route-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.route { display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'path price' 'meta price'; gap: 2px 14px; align-items: center; padding: 14px 16px; border-radius: 6px 6px 14px 6px; background: var(--surface); border: 1px solid var(--line-2); transition: border-color 0.18s, background-color 0.18s; }
a.route:hover { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 8%, var(--surface)); }
.route-path { grid-area: path; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.route-path .ico { width: 16px; height: 16px; color: var(--blue-text); }
.route-meta { grid-area: meta; color: var(--muted); font-size: 0.86rem; }
.route-price { grid-area: price; font-family: var(--font-d); font-weight: 800; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.has-3d .home .route { background: rgba(24, 25, 29, 0.9); }
@media (min-width: 640px) {
  .route-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .route-list { grid-template-columns: repeat(3, 1fr); }
  .quote { grid-template-areas: 'head form' 'more form' 'routes routes'; }
  .quote > .routes { grid-area: routes; margin-top: 24px; }
}

/* Manifiesto de la portada: frase grande, tres pilares y una barra de avance.
   Sin movimiento se lee completo; con .is-scrub (gto.js) la sección mide más que la pantalla,
   su contenido se queda fijo y las palabras se encienden mientras bajas. */
.manifesto { position: relative; padding: 72px 0; }
.manifesto-text { max-width: 22em; font-family: var(--font-d); font-weight: 800; font-size: clamp(1.75rem, 6.4vw, 3.4rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.manifesto-pillars { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.manifesto-pillars li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 2px solid var(--blue); font-weight: 600; }
.manifesto-pillars .ico { color: var(--blue-text); }
.manifesto-meter { display: none; }
.manifesto.is-scrub { height: 260vh; padding: 0; }
.is-scrub .manifesto-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--hdr) + 24px) 0 40px; }
.is-scrub .manifesto-text .w { padding: 0; margin: 0; overflow: visible; color: rgba(243, 240, 234, 0.2); transition: color 0.35s var(--ease); }
.is-scrub .manifesto-text .w.lit { color: var(--text); }
.is-scrub .manifesto-pillars li { opacity: 0.35; border-top-color: var(--line-2); transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease); }
.is-scrub .manifesto-pillars li.lit { opacity: 1; border-top-color: var(--blue); }
.is-scrub .manifesto-meter { display: block; margin-top: 28px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.is-scrub .manifesto-meter span { display: block; height: 100%; background: var(--stripe); transform: scaleX(0); transform-origin: 0 50%; }
.has-3d .home .manifesto-text { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
@media (min-width: 640px) {
  .manifesto-pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
