/* ===== VAYGO — página de inicio (rojo, blanco y negro, como el carro y la portada de la app) ===== */

:root {
  --red: #E3122B;
  --red-dark: #B50D22;
  --black: #0B0B0F;
  --ink: #15161B;
  --white: #FFFFFF;
  --paper: #F7F5F2;
  --line: #E6E1DA;
  --text: #2A2B31;
  --muted: #6B6E78;
  --red-soft: #FDE6E9;
  --radius: 22px;
  --shadow: 0 2px 6px rgba(11, 11, 15, .06), 0 18px 40px rgba(11, 11, 15, .10);
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 .45em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.kicker { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }

/* ---------- Botones ---------- */
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  padding: .8em 1.35em; border-radius: 14px; border: 2px solid transparent; font: 700 1rem/1.1 var(--body);
  text-decoration: none; cursor: pointer; transition: transform .12s, filter .15s, background .15s; white-space: nowrap;
}
.b:hover { filter: brightness(1.06); }
.b:active { transform: translateY(1px); }
.b-sm { padding: .55em 1em; font-size: .9rem; border-radius: 12px; }
.b-lg { padding: 1em 1.6em; font-size: 1.05rem; }
.b-block { width: 100%; }
.b-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(227, 18, 43, .35); }
.b-white { background: #fff; color: var(--black); }
.b-black { background: var(--black); color: #fff; }
.b-line { background: transparent; color: var(--ink); border-color: var(--line); }
.b-outline { background: transparent; color: #fff; border-color: #fff; }
.b-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); font-size: .9rem; padding: .6em 1.1em; }
.b-glass-dark { background: rgba(11, 11, 15, .08); color: var(--black); border-color: rgba(11, 11, 15, .25); font-size: .9rem; padding: .6em 1.1em; }
.b-circle { width: 48px; height: 48px; padding: 0; border-radius: 50%; background: #fff; color: var(--ink); border-color: var(--line); font-size: 1.2rem; }

/* ---------- Barra de arriba ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s, box-shadow .2s; }
.top.solid { background: rgba(11, 11, 15, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.top-row { height: 70px; display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 800 1.45rem/1 var(--display); color: var(--red); letter-spacing: -.02em; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo b { color: var(--red); }
.menu { display: flex; gap: 22px; margin-left: 18px; }
.menu a { color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.menu a:hover { color: #fff; }
.menu a.menu-food { color: #fff; background: var(--red); padding: .3em .8em; border-radius: 99px; }
.menu .menu-only { display: none; }
.top-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.top .b-line { color: #fff; border-color: rgba(255, 255, 255, .45); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .12); border-radius: 12px; cursor: pointer; padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ---------- Portada ---------- */
.hero { position: relative; min-height: min(100vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--black); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 15, .92) 0%, rgba(11, 11, 15, .72) 42%, rgba(11, 11, 15, .1) 75%), linear-gradient(0deg, rgba(11, 11, 15, .6), transparent 40%); }
.hero-in { position: relative; padding: 120px 0 70px; }
.hero h1 { color: #fff; font-size: clamp(2.7rem, 7vw, 5.2rem); max-width: 12ch; margin-bottom: 18px; }
.hero h1 .red { color: var(--red); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .86); max-width: 46ch; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: .45em 1em; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; font-size: .88rem; margin-bottom: 20px; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: live 1.6s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(227, 18, 43, .7); } 100% { box-shadow: 0 0 0 10px rgba(227, 18, 43, 0); } }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .85); }
.ticks li::before { content: "✓"; color: var(--red); font-weight: 800; margin-right: 6px; }

/* ---------- Números ---------- */
.stats-band { background: var(--red); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 26px 0; text-align: center; }
.stats b { display: block; font: 800 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--display); letter-spacing: -.02em; }
.stats span { font-weight: 600; font-size: .9rem; opacity: .92; }

/* ---------- Secciones ---------- */
.sec { padding: 90px 0; }
.sec-soft { background: #fff; }
.sec-dark { background: var(--black); color: #E7E7EA; }
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark .muted { color: #A9ABB4; }
.sec-head { margin-bottom: 36px; }
.sec-head.center { text-align: center; max-width: 680px; margin-inline: auto; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.arrows { display: flex; gap: 10px; flex: none; }

/* ---------- Servicios ---------- */
.cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 310px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; }
.card { position: relative; scroll-snap-align: start; min-height: 450px; border-radius: 26px; padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.card h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.card p { color: rgba(255, 255, 255, .82); margin: 0; font-size: .96rem; max-width: 30ch; }
.card-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 8px; position: relative; z-index: 1; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* Tarjetas con foto: la foto ocupa toda la tarjeta; arriba el título y abajo el botón, sobre una sombra oscura. */
.card.has-photo { min-height: 560px; background: #111; color: #fff; border: 0; }
.card-photo { position: absolute; inset: 0; z-index: 0; background: #1C1D22; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--z, 1)); transform-origin: 50% var(--oy, 50%); }
/* Igual que VAYGO Mujer: oscuro arriba (título, texto y botones) y la foto limpia abajo. */
.card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 15, .95) 0%, rgba(11, 11, 15, .84) 40%, rgba(11, 11, 15, .12) 70%, rgba(11, 11, 15, 0) 100%); }
.card.has-photo h3, .card.has-photo p { text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.card.has-photo > *:not(.card-photo) { position: relative; z-index: 1; }
/* Nombres de los resorts sobre la foto de Tours, bien legibles. */
.card.has-photo > .card-labels { position: absolute; left: 12px; right: 12px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.card-labels span { background: #fff; color: var(--red); font-weight: 800; font-size: .9rem; padding: .4em .8em; border-radius: 99px; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
/* Foto entera abajo (Viajes y Llévame): oscuro solo detrás del texto, la foto queda limpia. */
.card-photo.fit { background: #0B0B0F; }
/* Detrás de la foto entera, la misma foto difuminada: la tarjeta queda llena, sin huecos negros. */
.card-photo.fit img.blur { position: absolute; inset: 0; }
.card-photo.fit img.whole { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; transform: none; }
.card-photo.fit img.blur { object-fit: cover; filter: blur(18px) brightness(.42); transform: scale(1.25); }
.card-photo.fit::after { background: linear-gradient(180deg, rgba(11, 11, 15, .95) 0%, rgba(11, 11, 15, .9) 45%, rgba(11, 11, 15, 0) 50%); }
.card.has-photo h3 { color: #fff; }
.card.has-photo p { color: rgba(255, 255, 255, .88); }
/* Todas las tarjetas iguales: la etiqueta arriba, el título y el texto con el mismo alto, y los botones a la misma altura. */
.card.has-photo, .card.c-mujer { padding-top: 56px; min-height: 560px; }
.card.has-photo > .tag, .card.c-mujer > .tag { position: absolute; top: 20px; left: 22px; z-index: 1; }
.card.has-photo h3, .card.c-mujer h3 { line-height: 1.15; min-height: 2.3em; display: flex; align-items: flex-end; }
.card.has-photo p, .card.c-mujer p { line-height: 1.45; min-height: 4.35em; }
.card.has-photo .card-btns { margin-top: 8px; }
.card.has-photo .b-glass, .card.has-photo .b-glass-dark { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .35); }
.card.has-photo .tag-soon { background: var(--red); color: #fff; }
.card.has-photo .tag-dark { background: rgba(255, 255, 255, .2); color: #fff; }
.card.has-photo::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--red); z-index: 2; }
/* La foto empieza justo debajo de "Más información" y llega hasta el fondo de la tarjeta, en todas igual. */
.card.has-photo .card-btns { order: 8; }
.card.has-photo .card-photo.fit { position: relative; inset: auto; order: 9; flex: 1 1 auto; min-height: 220px; margin: 6px -22px -26px; overflow: hidden; z-index: 0; }
.card-photo.fit img.blur { display: none; }
.card-photo.fit img.whole { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) var(--oy, 50%); }
.card-photo.fit::after { background: linear-gradient(180deg, #111 0%, rgba(17, 17, 17, 0) 3%); }
/* Fotos anchas (envíos, empresas, autos, conductor): la foto entera arriba, con toda la gente, y debajo la misma foto difuminada. */
.card-photo.fit.top { background: #fff; }
.card-photo.fit.top img.whole { bottom: auto; height: auto; object-fit: initial; width: 126%; max-width: none; left: -13%; right: auto; }
/* Debajo, la misma foto en espejo, clara y difuminada: sigue los colores de la foto, sin nada oscuro. */
.card-photo.fit.top img.blur { display: block; inset: auto 0 0 0; height: 100%; transform: scaleY(-1) scale(1.15); filter: blur(10px) brightness(1); object-fit: cover; object-position: 50% 100%; }
.card-photo.fit.top::after { background: linear-gradient(180deg, #111 0%, rgba(17, 17, 17, 0) 10%); }
.art { position: absolute; right: 18px; bottom: 18px; font-size: 120px; line-height: 0; color: var(--red); pointer-events: none; }
.art .ic { stroke-width: 1.4; }
.tag { align-self: flex-start; font-size: .75rem; font-weight: 800; padding: .32em .85em; border-radius: 99px; }
.tag-pink { background: var(--red); color: #fff; }
.tag-soon { background: var(--red-soft); color: var(--red); }
.tag-dark { background: rgba(11, 11, 15, .15); color: var(--black); }
.c-viajes { background: radial-gradient(120% 80% at 100% 100%, rgba(227, 18, 43, .75), transparent 62%), var(--black); }
.c-mujer { background: linear-gradient(180deg, rgba(30, 6, 22, .96) 0%, rgba(30, 6, 22, .86) 44%, rgba(30, 6, 22, .15) 78%), url(img/vaygo-mujer.jpg) center 80% / 150% auto no-repeat, #1E0616; }
.c-light { background: #fff; color: var(--text); border: 1px solid var(--line); border-top: 5px solid var(--red); }
.c-light h3 { color: var(--ink); }
.c-light p { color: var(--muted); }
.c-light .b-glass { background: var(--red-soft); color: var(--red); border-color: transparent; }
.c-light .b-outline { color: var(--red); border-color: var(--red); }
.c-light .b-white { background: var(--black); color: #fff; }
.c-driver { background: linear-gradient(160deg, #FF3B50, var(--red-dark)); }
.c-driver h3 { color: #fff; }
.c-driver .tag-dark { background: rgba(255, 255, 255, .2); color: #fff; }
.c-driver .b-glass-dark { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .35); }
.c-driver .art { color: #fff; }

/* ---------- Registro ---------- */
.join { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.join .join-card { padding: 28px 22px; }
.join .join-card h3 { font-size: 1.5rem; }
.join .join-card .b { white-space: normal; text-align: center; }
@media (max-width: 1180px) { .join { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.join-card { background: #fff; color: var(--text); border-radius: 28px; padding: 34px 30px; display: flex; flex-direction: column; gap: 14px; }
.join-card h3 { color: var(--ink); font-size: 1.8rem; margin: 0; }
.join-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.8rem; background: var(--red); color: #fff; }
.join-driver { background: linear-gradient(160deg, var(--red), var(--red-dark)); color: #fff; }
.join-driver h3 { color: #fff; }
.join-driver .join-ico { background: rgba(255, 255, 255, .18); }
/* Motorizado: tarjeta negra con borde rojo (los 3 registros: pasajero, carro y moto). */
.join-moto { background: #16171C; color: #fff; border: 2px solid var(--red); }
.join-moto h3 { color: #fff; }
.join-moto .steps li::before { background: var(--red); color: #fff; }
.join-moto .small-link { color: #fff; }
/* Repartidor en bicicleta: blanca con borde rojo. */
.join-bici { border: 2px solid var(--red); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; flex: 1; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--black); color: #fff; }
.join-driver .steps li::before { background: #fff; color: var(--red); }
.steps b { display: block; }
.small-link { text-align: center; font-weight: 600; font-size: .92rem; }

/* ---------- VAYGO Mujer ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.split-img img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 800; font-size: .78rem; }
.checks.light li { color: #EDEDF0; }

/* ---------- VAYGO Delivery ---------- */
.sec-red { background: linear-gradient(160deg, var(--red), #8E0A1B); color: #fff; }
.sec-red h2 { color: #fff; }
.kicker.light { color: #FFD9DE; }
.lead-dark { color: rgba(255, 255, 255, .88); font-size: 1.1rem; max-width: 48ch; }
.split-rev { grid-template-columns: .95fr 1.05fr; }
.del-list { display: grid; gap: 10px; margin: 22px 0 6px; }
.del-list div { display: flex; align-items: center; gap: 12px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; padding: 10px 14px; }
.del-list span { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-size: 1.3rem; flex: none; color: var(--red); }
.del-img { position: relative; }
.del-img img { aspect-ratio: auto; max-width: 560px; margin-inline: auto; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.del-img.no-img { min-height: 380px; border-radius: 28px; background: radial-gradient(circle at 60% 40%, rgba(255, 255, 255, .25), transparent 60%), rgba(0, 0, 0, .2); display: grid; place-items: center; }
.del-art { display: none; font-size: 180px; line-height: 0; color: #fff; }
.del-art .ic, .enc-art .ic { stroke-width: 1.2; }
.del-img.no-img .del-art { display: block; }

/* ---------- Pósters (viajes, aeropuerto, tours, seguridad) ---------- */
.poster img { aspect-ratio: auto; max-width: 540px; margin-inline: auto; }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.res-card { background: #16171C; border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; }
.res-card img { width: 100%; aspect-ratio: auto; }
.res-in { padding: 22px 24px 26px; display: grid; gap: 8px; justify-items: start; }
.res-in h3 { color: #fff; margin: 0; font-size: 1.5rem; }
.res-in p { color: #A9ABB4; margin: 0 0 8px; }
.seg { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: center; }
.feats.feats-2 { grid-template-columns: 1fr 1fr; }

/* ---------- Encomiendas para empresas ---------- */
.enc-img img { aspect-ratio: auto; }
.enc-img.no-img { min-height: 360px; border-radius: 28px; background: radial-gradient(circle at 60% 40%, rgba(227, 18, 43, .55), transparent 60%), var(--black); display: grid; place-items: center; }
.enc-art { display: none; font-size: 170px; line-height: 0; color: #fff; }
.enc-img.no-img .enc-art { display: block; }
.enc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 6px; }
.enc-list div { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 14px; padding: 10px 12px; }
.enc-list span { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 1.2rem; flex: none; }
.enc-list b { font-size: .95rem; color: var(--ink); line-height: 1.2; }

/* ---------- Marketplace de Autos ---------- */
.autos-img img { width: 100%; border-radius: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); display: block; }
.autos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 30px; }
.autos-grid div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; padding: 20px 18px; }
.autos-grid span { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red); font-size: 1.4rem; margin-bottom: 12px; color: #fff; }
.autos-grid b { display: block; color: #fff; font-size: 1.05rem; }
.autos-grid p { margin: 6px 0 0; color: #A9ABB4; font-size: .93rem; }
.center-cta { justify-content: center; }

/* ---------- Seguridad ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.feat > span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--red); font-size: 1.6rem; margin-bottom: 14px; color: #fff; }
.feat h3 { margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Conductores ---------- */
.driver-band { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; padding: 52px; border-radius: 32px; background: var(--black); color: #fff; }
.driver-band h2 { color: #fff; }
.fee { background: var(--red); border-radius: 26px; padding: 32px; text-align: center; }
.fee small { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.fee b { display: block; font: 800 4.6rem/1 var(--display); margin: 8px 0 10px; letter-spacing: -.04em; }
.fee p { margin: 0; }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq details[open] { border-color: var(--red); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Final y pie ---------- */
.final { padding: 96px 0; background: linear-gradient(160deg, var(--red), var(--red-dark)); color: #fff; }
.final h2 { color: #fff; }
.final p { font-size: 1.15rem; opacity: .92; }
.center-cta { justify-content: center; }
.foot { background: var(--black); color: #A9ABB4; padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: .9rem; }
.foot-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 16px; }
.foot-links a { color: #D6D7DC; text-decoration: none; }

/* ---------- Ventana "Más información" ---------- */
.info { border: 0; border-radius: 26px; padding: 0; width: min(460px, 100% - 24px); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.info::backdrop { background: rgba(11, 11, 15, .6); backdrop-filter: blur(3px); }
.info-in { padding: 26px; display: grid; gap: 10px; }
.info-head { display: flex; align-items: center; gap: 12px; }
.info-head h2 { font-size: 1.7rem; margin: 0; }
.info-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.8rem; background: var(--red); flex: none; color: #fff; }
.info .checks { margin: 4px 0 10px; }
.avisa-field { display: grid; gap: 6px; font-weight: 600; color: var(--ink); }
.avisa-field input { font: inherit; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 12px; }
.avisa-field input:focus { outline: none; border-color: var(--red); }
.avisa-msg { margin: 0; color: var(--red); font-weight: 600; min-height: 1.2em; }
.avisa-msg.ok { color: #1E8E4E; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 3000; background: var(--black); color: #fff; padding: 14px 18px; border-radius: 14px; font-weight: 600; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); max-width: calc(100% - 32px); text-align: center; }
.toast.error { background: var(--red); }

@media (max-width: 1400px) {
  .menu { gap: 16px; margin-left: 10px; }
  .menu a { font-size: .9rem; }
}

/* Menú de 3 rayitas: ya no caben todos los enlaces en una línea. */
@media (max-width: 1180px) {
  .menu { display: none; position: fixed; inset: 70px 0 auto; background: rgba(11, 11, 15, .97); flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 18px; }
  .menu a { padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.05rem; }
  .menu .menu-only { display: block; }
  .menu a.menu-food { border-radius: 12px; margin: 10px 0 4px; padding: 12px 14px; border-bottom: 0; }
  .menu-open .menu { display: flex; }
  .menu-open .top { background: rgba(11, 11, 15, .97); }
  .burger { display: flex; }
  .hide-sm { display: none; }
}

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .split, .split-rev, .join, .driver-band { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .autos-grid { grid-template-columns: 1fr 1fr; }
  .seg, .res-grid { grid-template-columns: 1fr; }
  .driver-band { padding: 32px 22px; }
  .sec { padding: 64px 0; }
  .hero-shade { background: linear-gradient(0deg, rgba(11, 11, 15, .95) 0%, rgba(11, 11, 15, .7) 55%, rgba(11, 11, 15, .25) 100%); }
  .hero { align-items: flex-end; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feats, .feats.feats-2 { grid-template-columns: 1fr; }
  .autos-grid { gap: 10px; }
  .enc-list { grid-template-columns: 1fr; }
  .autos-grid div { padding: 16px 14px; }
  .autos-grid span { width: 40px; height: 40px; font-size: 1.2rem; margin-bottom: 10px; }
  .autos-grid b { font-size: .98rem; }
  .autos-grid p { font-size: .86rem; }
  .autos-img img { border-radius: 18px; }
  .arrows { display: none; }
  .cards { grid-auto-columns: 84%; }
  .cta .b { flex: 1 1 100%; }
  .join-card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Botones de arriba que se esconden (con la cuenta abierta). */
.top-actions [hidden] { display: none !important; }

/* Redes en el pie: TikTok con su ícono. */
.foot-links { flex-wrap: wrap; align-items: center; }
.foot-social { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 700; }
.foot-social svg { width: 18px; height: 18px; }
.foot-social:hover { color: var(--red) !important; }
