/* =========================================================
   Rent Sof Car · versión 3 (paralela)
   Estructura de web de alquiler (logo en medio, tipos, tarjetas, cómo funciona y cierre).
   Azul marino y el naranja-amarillo del logo; secciones claras y oscuras alternas.
   ========================================================= */
:root {
  --navy: #021234;
  --navy-2: #0a2257;
  --blue: #2f64d8;
  --blue-h: #3f74e8;
  --blue-l: #8fb4ff;
  --ink: #0b1a33;
  --text-2: #4b5872;
  --line: #dde4ef;
  --white: #fff;
  /* el degradado de la página, de arriba abajo */
  --b50: #f3f6fb;
  --b100: #e6edf7;
  --b200: #d6e1f0;
  --steel: #aebdd6;
  --night: #061833;
  --night-2: #04112a;
  --deep: #0c2550;
  --foot: #020b1d;
  --gut: clamp(16px, 6.1vw, 88px);
  --f: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* naranja-amarillo del logo */
  --acc: #f6b400;
  --acc-h: #ffc62e;
  --acc-d: #a87700;
  --acc-l: #fdf0c8;
  /* alto de la cabecera (dos filas) */
  --navh: 118px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.5 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, figure, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
svg { width: 20px; height: 20px; flex: none; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
/* fotos que se funden con el fondo de la sección por arriba y por abajo */
.fade-y {
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--ft, 22%), #000 calc(100% - var(--fb, 22%)), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 var(--ft, 22%), #000 calc(100% - var(--fb, 22%)), transparent 100%);
}

/* ---------- tipografía ---------- */
.h-xl { font-weight: 600; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.h-lg { font-weight: 600; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.h-md { font-weight: 600; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.025em; }
.sub { margin-top: 14px; max-width: 36em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; color: var(--text-2); text-wrap: pretty; }

/* ---------- botones (56px de alto, 160 de ancho mínimo, radio 40) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; min-width: 160px; padding: 0 24px;
  border-radius: 40px; font-weight: 600; font-size: 16px; line-height: 1; letter-spacing: -.02em; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--b100); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-h); }
.btn--sm { height: 40px; min-width: 0; padding: 0 18px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
/* con efecto: al pasar por encima se rellena de izquierda a derecha, se levanta y la flecha avanza */
.btn--fx { position: relative; overflow: hidden; isolation: isolate; --fx: var(--blue); --fx-c: var(--white); }
.btn--fx::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--fx); transform: translateX(-101%); transition: transform .45s var(--ease); }
.btn--fx svg { width: 18px; height: 18px; margin-right: -4px; transition: transform .35s var(--ease); }
.btn--fx:hover, .btn--fx:focus-visible { color: var(--fx-c); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(1, 8, 26, .7); }
.btn--fx:hover::before, .btn--fx:focus-visible::before { transform: none; }
.btn--fx:hover svg, .btn--fx:focus-visible svg { transform: translateX(4px); }
.btn--fx:active { transform: scale(.98); }
.btn--white.btn--fx { --fx: var(--navy); }
.btn--blue.btn--fx { --fx: var(--white); --fx-c: var(--navy); }
.tlink { font-weight: 600; font-size: 16px; color: var(--navy); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1.5px; cursor: pointer; }

/* naranja-amarillo del logo, para los botones principales y los detalles */
.btn--accent { background: var(--acc); color: var(--navy); }
.btn--accent:hover { background: var(--acc-h); }
.btn--accent.btn--fx { --fx: var(--navy); --fx-c: var(--white); }
.btn--line { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--line.btn--fx { --fx: var(--navy); --fx-c: var(--white); }
.btn--sm svg { width: 16px; height: 16px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--acc-d); margin-bottom: 12px; }

/* ---------- cabecera: blanca, logo en medio y el menú debajo; se esconde al bajar ---------- */
body { padding-top: var(--navh); }
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; background: var(--white); color: var(--navy);
  transition: transform .35s var(--ease), box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(2, 18, 52, .35); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 72px; padding: 0 var(--gut); }
.nav__call { display: inline-flex; align-items: center; gap: 10px; justify-self: start; text-decoration: none; cursor: pointer; }
.nav__call small { display: block; font-size: 12px; color: var(--text-2); line-height: 1.2; }
.nav__call b { font-size: 15px; font-weight: 700; }
.nav__ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--acc-l); color: var(--acc-d); }
.nav__ic svg { width: 18px; height: 18px; }
.nav__logo img { height: 52px; width: auto; }
.nav__actions { display: flex; align-items: center; gap: 10px; justify-self: end; }
.nav__links { display: flex; justify-content: center; gap: 4px; height: 46px; align-items: stretch; }
.nav__links a { position: relative; display: grid; place-items: center; padding: 0 16px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--navy); }
.nav__links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 3px; border-radius: 3px; background: var(--acc); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: none; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; color: var(--navy); background: var(--b50); }
.drawer {
  position: fixed; z-index: 60; inset: 0; padding: 88px 24px 32px; background: var(--white); color: var(--navy); display: flex; flex-direction: column; gap: 4px;
  visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s;
}
.menu-open .drawer { visibility: visible; opacity: 1; }
.drawer__close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--b100); }
.drawer a:not(.btn) { font-size: 32px; font-weight: 600; letter-spacing: -.03em; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line); }
.drawer .btn { margin-top: 24px; }

/* ---------- 1. portada: la foto entera; la furgoneta no se mueve, pasan los sitios ---------- */
.hero { position: relative; container: hero / inline-size; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; --head: 0px; }
.hero__view { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; }
.hero__stage { position: absolute; left: 50%; bottom: 0; width: var(--sw, 100%); aspect-ratio: 1672 / 941; transform: translateX(-50%); }
.hero__scene { position: absolute; inset: 0; visibility: hidden; }
.hero__scene.is-on { visibility: visible; }
.hero__scene img { width: 100%; height: 100%; object-fit: cover; }
.hero__van { position: absolute; z-index: 1; left: 24.7%; top: 37.8%; width: 49.6%; isolation: isolate; }
.hero__van img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .24)); }
/* bajos: entre las ruedas y desde la carrocería hasta el suelo, en sombra */
.hero__under {
  position: absolute; z-index: -1; left: 19%; right: 21%; bottom: -2%; height: 17%; border-radius: 22% / 50%;
  background: linear-gradient(180deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, .38)); filter: blur(4px);
}
.hero__van::before, .hero__van::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
.hero__van::before { left: -3%; right: -4%; bottom: -10%; height: 28%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, .24) 58%, rgba(0, 0, 0, 0)); filter: blur(10px); }
.hero__van::after {
  left: 0; right: 0; bottom: -5%; height: 12.5%; filter: blur(3px);
  background:
    radial-gradient(closest-side, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0)) 9.6% 50% / 18.5% 100% no-repeat,
    radial-gradient(closest-side, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0)) 87.9% 50% / 18.5% 100% no-repeat,
    radial-gradient(closest-side, rgba(0, 0, 0, .62), rgba(0, 0, 0, 0)) 50% 20% / 80% 100% no-repeat;
}
/* la frase, justo encima del techo de la furgoneta (el techo está al 37,8 % de la foto = 21,27 % del ancho;
   la portada mide 56,28 % del ancho, así que el texto acaba a 36,3 % del ancho desde abajo) */
.hero__copy {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 36.3cqw; padding: 0 var(--gut);
  display: flex; flex-direction: column; align-items: center; gap: clamp(6px, .7cqw, 12px); text-align: center;
}
.hero__title { font-weight: 600; font-size: clamp(1.8rem, 4.2cqw, 3.9rem); line-height: 1.06; letter-spacing: -.035em; white-space: nowrap; text-shadow: 0 1px 3px rgba(2, 18, 52, .55), 0 6px 30px rgba(2, 18, 52, .6); }
.hero__l { white-space: nowrap; }
.rot { position: relative; display: inline-grid; width: var(--w, auto); padding-bottom: .16em; margin-bottom: -.16em; overflow-x: visible; overflow-y: clip; text-align: left; vertical-align: top; transition: width .55s var(--ease); }
.rot b { grid-area: 1 / 1; justify-self: start; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; transform: translateY(120%); opacity: 0; transition: transform .55s var(--ease), opacity .3s; }
.rot b.is-on { transform: none; opacity: 1; }
.rot b.is-out { transform: translateY(-120%); opacity: 0; }
.rot::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .085em; border-radius: 3px; background: var(--blue-l); box-shadow: 0 2px 10px rgba(2, 18, 52, .35); }
.hero__sub { color: var(--white); font-size: clamp(15px, 1.25cqw, 18px); font-weight: 600; max-width: 46em; text-wrap: balance; text-shadow: 0 1px 2px rgba(2, 18, 52, .75), 0 2px 14px rgba(2, 18, 52, .65); }
/* los botones, sobre el suelo, por debajo de las ruedas (74,5 % de la foto = 41,93 % del ancho) */
.hero__foot { position: absolute; z-index: 2; left: 0; right: 0; top: calc(41.93cqw + clamp(0px, .5cqw, 10px)); display: flex; gap: 12px; justify-content: center; padding: 0 var(--gut); }
.hero__foot .btn { min-width: 196px; box-shadow: 0 12px 26px -14px rgba(1, 8, 26, .6); }
.hero__foot .btn--fx:hover { box-shadow: 0 18px 34px -14px rgba(1, 8, 26, .8); }
.hero__pause { position: absolute; z-index: 3; right: var(--gut); bottom: 18px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: rgba(2, 18, 52, .85); opacity: 0; pointer-events: none; }
.hero__pause:focus-visible { opacity: 1; pointer-events: auto; }
.hero__pause svg { width: 15px; height: 15px; }
@media (max-aspect-ratio: 1 / 1) {
  .hero__copy { position: static; padding: calc(var(--head) + 10px) var(--gut) 24px; }
  .hero__title, .hero__sub { text-shadow: none; }
  .hero__sub { color: #c3cde3; font-weight: 550; }
  .hero__view { aspect-ratio: auto; height: calc(min(170cqw, 1180px) / 1.7768); }
  .hero__stage { --sw: min(170cqw, 1180px); }
  .hero__foot { position: static; padding: 22px var(--gut) 34px; }
  .hero__foot .btn { box-shadow: none; }
  .hero__copy { padding-top: 28px; }
  .hero__foot .btn--white { background: none; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
  .hero__foot .btn--white.btn--fx { --fx: var(--white); --fx-c: var(--navy); }
}
/* en pantallas apaisadas pero pequeñas la frase ocupa dos líneas: va arriba, como antes */
@container hero (max-width: 700px) { .hero__copy { bottom: auto; top: max(calc(var(--head) - 4px), 7.2cqw); } }
@container hero (max-width: 600px) {
  .hero__title { white-space: normal; font-size: clamp(1.8rem, 8.3cqw, 2.6rem); }
  .hero__l { display: block; }
  .hero__sub { font-size: 15px; max-width: 26em; }
  .hero__foot .btn { flex: 1 1 0; min-width: 0; max-width: 214px; padding: 0 16px; }
}

/* cabecera de sección: título a la izquierda y botón a la derecha, o todo centrado */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); box-sizing: content-box; color: var(--navy); }
.shead--center { flex-direction: column; align-items: center; text-align: center; }
.shead--center .sub { margin-left: auto; margin-right: auto; }

/* ---------- 2. busca por tipo ---------- */
.types { padding: clamp(56px, 5vw, 80px) 0; background: var(--white); }
.types__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1240px; margin: 32px auto 0; padding: 0 var(--gut); box-sizing: content-box; }
.type { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 22px 24px; border-radius: 20px; background: var(--b50); color: var(--navy); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.type::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 36%; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--acc-l); transform: translate(-50%, -50%) scale(.85); transition: transform .5s var(--ease); }
.type img { height: clamp(70px, 6.6vw, 96px); width: auto; max-width: 86%; margin: 18px 0 8px; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(2, 18, 52, .18)); transition: transform .5s var(--ease); }
.type b { margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.type span { font-size: 14px; color: var(--text-2); }
.type:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(2, 18, 52, .45); }
.type:hover::before { transform: translate(-50%, -50%) scale(1.05); }
.type:hover img { transform: scale(1.05); }

/* ---------- 3. la flota: pestañas y tarjetas ---------- */
.fleet { --gap: 22px; padding: clamp(64px, 6vw, 96px) 0; background: var(--b50); color: var(--navy); }
.fleet .sub { max-width: 46em; }
.fleet__more { margin-top: 32px; text-align: center; }
.tabs { display: inline-flex; flex: none; gap: 4px; margin-top: 26px; padding: 5px; border-radius: 40px; background: var(--white); box-shadow: 0 1px 3px rgba(2, 18, 52, .08), 0 0 0 1px rgba(2, 18, 52, .04); }
.tabs button { height: 40px; min-width: 112px; padding: 0 18px; border-radius: 40px; font-weight: 700; font-size: 14px; letter-spacing: -.01em; color: var(--navy); transition: background-color .25s, color .25s; }
.tabs button:hover { background: var(--b50); }
.tabs button[aria-selected="true"] { background: var(--acc); color: var(--navy); }
.tabs small { margin-left: 7px; padding: 1px 7px; border-radius: 999px; background: rgba(2, 18, 52, .08); font-size: 12px; font-weight: 700; }
.tabs [aria-selected="true"] small { background: rgba(2, 18, 52, .14); }
/* hasta cuatro por fila, todas del mismo ancho; si hay menos, quedan centradas */
.cars { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); max-width: 1240px; margin: 36px auto 0; padding: 0 var(--gut); box-sizing: content-box; }
.car { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); display: flex; flex-direction: column; background: var(--white); border-radius: 20px; overflow: hidden; text-align: left; color: var(--navy); box-shadow: 0 1px 2px rgba(2, 18, 52, .05), 0 0 0 1px rgba(2, 18, 52, .05); transition: transform .35s var(--ease), box-shadow .35s; }
.car:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(2, 18, 52, .45), 0 0 0 1px rgba(2, 18, 52, .05); }
.car__pic { position: relative; display: block; aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: 14px; overflow: hidden; background: var(--line); }
.car__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.car:hover .car__pic img { transform: scale(1.05); }
.car__tag { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: var(--acc); color: var(--navy); font-size: 11.5px; font-weight: 800; }
.car__ref { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(2, 18, 52, .78); color: var(--white); font-size: 11.5px; font-weight: 600; }
.car__body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.car__name { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; }
.car__name a { text-decoration: none; }
.car__name a:hover { text-decoration: underline; text-underline-offset: .2em; }
.car__meta { font-size: 13px; color: var(--text-2); }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); font-size: 13px; font-weight: 600; color: #2c3a55; }
.car__specs li { display: inline-flex; align-items: center; gap: 6px; }
.car__specs svg { width: 16px; height: 16px; color: var(--acc-d); }
.car__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.car__price { display: flex; align-items: baseline; gap: 4px; font-size: 13px; color: var(--text-2); }
.car__price b { font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.car__foot .btn { min-width: 0; padding: 0 14px; }

/* ---------- 4. el precio (oscuro): la reserva, lo más importante ---------- */
.better { background: linear-gradient(180deg, var(--navy) 0%, var(--night) 100%); color: var(--white); padding: clamp(72px, 6.5vw, 104px) 0 clamp(28px, 2.5vw, 40px); }
.better__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px 48px; width: min(1180px, calc(100% - 2 * var(--gut))); margin: 0 auto; }
.better .sub { color: #c3cde3; }
.steps { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; flex: none; }
.steps li { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(143, 180, 255, .16); font-size: 14px; font-weight: 600; white-space: nowrap; }
.steps b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); font-size: 14px; }
/* los tres pasos se van encendiendo uno detrás de otro, en bucle */
.steps li { position: relative; animation: step-on 4.5s infinite; }
.steps li:nth-child(2) { animation-delay: 1.5s; }
.steps li:nth-child(3) { animation-delay: 3s; }
.steps li b { animation: step-dot 4.5s infinite; animation-delay: inherit; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 100%; top: 50%; width: 8px; height: 2px; background: rgba(255, 255, 255, .25); }
@keyframes step-on { 0%, 30% { background: rgba(246, 180, 0, .16); box-shadow: inset 0 0 0 1.5px var(--acc); transform: translateY(-2px); } 36%, 100% { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(143, 180, 255, .16); transform: none; } }
@keyframes step-dot { 0%, 30% { background: var(--acc); color: var(--navy); transform: scale(1.08); } 36%, 100% { background: rgba(255, 255, 255, .12); color: var(--white); transform: none; } }
.screen {
  width: min(1180px, calc(100% - 2 * var(--gut))); margin: clamp(32px, 3vw, 44px) auto 0; padding: 10px; border-radius: 26px;
  background: rgba(143, 180, 255, .1); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(143, 180, 255, .16);
}
.bk { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); border-radius: 18px; overflow: hidden; background: var(--b50); color: var(--ink); text-align: left; }
.bk__side { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--white); border-right: 1px solid var(--line); }
.bk__k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.bk__side h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-top: -6px; color: var(--navy); }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.fld select, .fld input, .rf input, .rf select, .rf textarea { appearance: none; -webkit-appearance: none; height: 48px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--b50); color: var(--ink); font-size: 15px; font-weight: 600; width: 100%; min-width: 0; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.fld select, .rf select { padding-right: 36px; background: var(--b50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23021234' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; }
.fld select:focus, .fld input:focus, .rf input:focus, .rf select:focus, .rf textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.fld select:disabled, .rf select:disabled { opacity: .55; }
.fld2 { display: grid; grid-template-columns: minmax(0, 1fr) 104px; gap: 8px; align-items: end; }
.bk__hours { margin-top: auto; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.bk__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px; align-items: center; }
.bk__car { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(2, 18, 52, .06); }
.bk__car img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.bk__car figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.bk__car b { font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.bk__car span { font-size: 13px; color: var(--text-2); }
.bk__price { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 8px; }
.bk__total { font-size: clamp(48px, 5vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--navy); }
.bk__dur { font-size: 15px; font-weight: 600; color: var(--text-2); margin-top: -6px; }
.bk__tiers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.bk__tiers span { padding: 7px 2px; border-radius: 8px; background: var(--white); text-align: center; font-size: 11.5px; font-weight: 700; color: var(--text-2); white-space: nowrap; transition: background-color .2s, color .2s; }
.bk__tiers span.is-on { background: var(--navy); color: var(--white); }
.bk__rows div, .rs__rows div, .rs__pay div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.bk__rows dt, .rs__rows dt, .rs__pay dt { color: var(--text-2); font-weight: 500; }
.bk__rows dd, .rs__rows dd, .rs__pay dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.bk__rows .is-strong dt, .rs__pay .is-strong dt { color: var(--navy); font-weight: 700; }
.bk__rows .is-strong dd, .rs__pay .is-strong dd { color: var(--acc-d); font-size: 16px; }
.bk__msg { font-size: 14px; font-weight: 600; color: #a33a17; }
.bk__msg:empty { display: none; }
.bk__cta { width: 100%; height: 60px; font-size: 17px; }
.bk__alt { font-size: 13px; color: var(--text-2); text-align: center; margin-top: -4px; }
.bk__alt a { color: var(--navy); font-weight: 700; }

/* ---------- 5. todo incluido: sale del azul de la reserva, sin corte ---------- */
.safe { position: relative; display: grid; place-items: center; min-height: clamp(260px, 24vw, 340px); overflow: hidden; isolation: isolate; color: var(--white); text-align: center; background: var(--night); }
.safe__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.safe::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--night) 0%, rgba(6, 24, 51, .82) 16%, rgba(6, 24, 51, .35) 45%, rgba(6, 24, 51, .3) 72%, rgba(6, 24, 51, .6) 100%); }
.safe__copy { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(44px, 4vw, 64px) var(--gut) clamp(32px, 3vw, 48px); }
.safe__copy .h-lg { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--white); color: var(--navy); font-size: 14px; font-weight: 700; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
.badges svg { width: 16px; height: 16px; color: var(--acc-d); }

/* las cajas que entran al llegar a ellas (rápido, solo cajas y fotos) */
.can-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.can-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.can-reveal [data-reveal]:nth-child(2) { transition-delay: .08s; }
.can-reveal [data-reveal]:nth-child(3) { transition-delay: .16s; }

/* ---------- 6. dos cajas iguales ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1240px; margin: 0 auto; padding: clamp(64px, 6vw, 96px) var(--gut); box-sizing: content-box; }
/* las dos cajas entran en orden: la primera desde la izquierda y la segunda desde la derecha */
.can-reveal .duo .box[data-reveal] { transform: translateX(-40px); }
.can-reveal .duo .box[data-reveal]:nth-child(2) { transform: translateX(40px); transition-delay: .3s; }
.can-reveal .duo .box[data-reveal].is-in { transform: none; }
.box { position: relative; display: flex; min-height: 260px; padding: 36px 40px; border-radius: 24px; background: var(--b50); color: var(--navy); overflow: hidden; isolation: isolate; }
.box::after { content: ""; position: absolute; z-index: -1; right: -70px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--acc-l); transition: transform .6s var(--ease); }
.box:hover::after { transform: scale(1.12); }
.box__copy { display: flex; flex-direction: column; gap: 10px; max-width: 30em; padding-right: 90px; }
.box__title { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; line-height: 1.15; letter-spacing: -.03em; margin-bottom: 4px; }
.box p { font-size: 15.5px; line-height: 1.55; color: #2c3a55; }
.box__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 14px; }
.box__ic { position: absolute; right: 34px; bottom: 30px; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--navy); box-shadow: 0 16px 30px -14px rgba(180, 120, 0, .7); transition: transform .5s var(--ease); }
.box:hover .box__ic { transform: rotate(-8deg) scale(1.06); }
.box__ic svg { width: 34px; height: 34px; }

/* ---------- 7. quiénes somos: cuatro fotos y el texto ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(32px, 3vw, 48px) var(--gut) clamp(72px, 7vw, 110px); box-sizing: content-box; color: var(--navy); }
.about__pics { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__pics img { width: 100%; height: clamp(170px, 16vw, 230px); object-fit: cover; border-radius: 20px; }
.about__pics img:nth-child(1) { border-bottom-right-radius: 80px; }
.about__pics img:nth-child(2) { border-bottom-left-radius: 80px; }
.about__pics img:nth-child(3) { border-top-right-radius: 80px; }
.about__pics img:nth-child(4) { border-top-left-radius: 80px; }
.about__badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 128px; height: 128px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--acc); color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1.2; box-shadow: 0 0 0 10px var(--white); }
.about__badge b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.feats { display: grid; gap: 18px; margin: 28px 0 30px; }
.feats li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.feats li > span { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--acc-l); color: var(--acc-d); }
.feats b { display: block; font-size: 16px; color: var(--navy); }
.can-reveal .feats li[data-reveal] { transform: translateX(-28px); transition-duration: .6s, .7s; }
.can-reveal .feats li[data-reveal].is-in { transform: none; }
.can-reveal .feats li[data-reveal]:nth-child(2) { transition-delay: .25s; }
.can-reveal .feats li[data-reveal]:nth-child(3) { transition-delay: .5s; }
.feats li[data-reveal].is-in > span { animation: pop .6s var(--ease) both; animation-delay: inherit; }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.12); } 100% { transform: none; } }

/* ---------- 8. cómo funciona: la furgoneta en medio y los pasos a los lados ---------- */
.how { padding: clamp(64px, 6vw, 96px) 0; background: var(--b50); color: var(--navy); overflow: hidden; }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; max-width: 1240px; margin: 40px auto 0; padding: 0 var(--gut); box-sizing: content-box; }
.how__col { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.how__col li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: var(--white); box-shadow: 0 1px 2px rgba(2, 18, 52, .05), 0 20px 40px -32px rgba(2, 18, 52, .4); cursor: default; }
.how__col li:hover { box-shadow: inset 0 0 0 2px var(--acc), 0 26px 44px -28px rgba(2, 18, 52, .45); }
.can-reveal .how__col li[data-reveal].is-in:hover { transform: translateY(-4px); transition-delay: 0s; }
.how__col b { transition: transform .35s var(--ease), background-color .3s; }
.how__col li:hover b { transform: scale(1.12) rotate(-6deg); background: var(--navy); color: var(--acc); }
.can-reveal .how__col:first-child li[data-reveal] { transform: translateX(-30px); }
.can-reveal .how__col:last-child li[data-reveal] { transform: translateX(30px); }
.can-reveal .how__col li[data-reveal].is-in { transform: none; }
.can-reveal .how__col:first-child li:nth-child(1) { transition-delay: 0s; }
.can-reveal .how__col:first-child li:nth-child(2) { transition-delay: .2s; }
.can-reveal .how__col:first-child li:nth-child(3) { transition-delay: .4s; }
.can-reveal .how__col:last-child li:nth-child(1) { transition-delay: .6s; }
.can-reveal .how__col:last-child li:nth-child(2) { transition-delay: .8s; }
.can-reveal .how__col:last-child li:nth-child(3) { transition-delay: 1s; }
.how__col:first-child li { flex-direction: row-reverse; text-align: right; }
.how__col b { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--acc); font-size: 16px; font-weight: 800; }
.how__col h3 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.how__col p { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.how__car { position: relative; isolation: isolate; padding: 20px 0; }
.how__car::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--acc-l) 0 58%, transparent 59%), radial-gradient(circle, rgba(246, 180, 0, .12) 0 70%, transparent 71%); transform: translate(-50%, -50%); }
.how__car img { width: 100%; height: auto; filter: drop-shadow(0 18px 18px rgba(2, 18, 52, .25)); }

/* ---------- 9. la nave: la fachada sale del claro y se funde con el azul noche ---------- */
.sign { position: relative; height: clamp(300px, 34vw, 500px); overflow: hidden; background: linear-gradient(180deg, var(--b50) 0%, var(--b50) 10%, var(--night) 100%); }
.sign img, .sign picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.sign img { object-fit: cover; object-position: center 58%; --ft: 22%; --fb: 34%; }

/* ---------- 10. recogida (oscuro): tres fotos con el texto encima ---------- */
.ready { background: var(--night); color: var(--white); padding: clamp(40px, 4vw, 64px) var(--gut) clamp(72px, 6vw, 96px); }
.ready__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px 64px; align-items: start; }
.ready__head .h-lg { max-width: 8em; }
.ready__p { font-size: 16px; line-height: 1.55; color: #c3cde3; margin-bottom: 22px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 4vw, 56px); }
.trio figure { position: relative; height: clamp(220px, 19vw, 280px); border-radius: 16px; overflow: hidden; isolation: isolate; }
.trio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.trio figure:hover img { transform: scale(1.04); }
.trio figure::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 17, 42, .35), rgba(4, 17, 42, .62)); }
.trio figcaption { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px 28px; text-align: center; font-weight: 600; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.25; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 2px 16px rgba(0, 0, 0, .35); }

/* ---------- 11. contacto (claro): el formulario, en una tarjeta blanca que destaca ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px clamp(40px, 6vw, 96px); align-items: start; background: linear-gradient(180deg, var(--b100) 0%, var(--b50) 100%); color: var(--navy); padding: clamp(72px, 6.5vw, 104px) var(--gut); }
.contact__list { margin-top: 32px; display: grid; gap: 16px; font-size: 15px; line-height: 1.5; color: #2c3a55; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acc-d); }
.contact__list a { color: var(--navy); font-weight: 700; text-decoration: none; cursor: pointer; }
.contact__list a:hover { text-decoration: underline; }
.contact__list b { font-weight: 500; }
.cform { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--white); box-shadow: 0 1px 2px rgba(2, 18, 52, .06), 0 40px 80px -40px rgba(2, 18, 52, .4), inset 0 0 0 1px rgba(2, 18, 52, .04); }
.cform__f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.cform__f--full { grid-column: 1 / -1; }
.cform input:not([type="checkbox"]), .cform textarea { appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; height: 52px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--b50); color: var(--ink); font-size: 15px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.cform textarea { height: auto; padding: 14px 16px; resize: vertical; min-height: 120px; font: inherit; font-size: 15px; }
.cform ::placeholder { color: #8a96ad; }
.cform input:hover, .cform textarea:hover { box-shadow: inset 0 0 0 1px var(--steel); }
.cform input:focus, .cform textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.cform [aria-invalid="true"], .rf [aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #d4553a; }
.cform__err, .rs__err { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: #a33a17; }
.cform__err:empty, .cform__ok:empty, .rs__err:empty { display: none; }
.cform__btn { grid-column: 1 / -1; justify-self: start; min-width: 200px; margin-top: 4px; }
.cform__ok { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: #e7f4ec; font-size: 15px; font-weight: 600; color: #1d5b36; }
/* casillas */
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; color: #2c3a55; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--navy); }
.check a { color: var(--navy); font-weight: 600; }
/* el campo trampa para robots no se ve */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- contacto: la fachada y el mapa ---------- */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut) clamp(64px, 6vw, 96px); box-sizing: content-box; }
.where__pic, .where__map { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); box-shadow: 0 30px 60px -40px rgba(2, 18, 52, .45); }
.where__pic img { width: 100%; height: 100%; object-fit: cover; }
.where__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.where__btn { position: absolute; left: 16px; bottom: 16px; box-shadow: 0 12px 26px -12px rgba(2, 18, 52, .5); }
.page .contact { background: var(--white); }

/* ---------- 12. cierre: la reserva otra vez, con la furgoneta ---------- */
.close { padding: clamp(56px, 5vw, 80px) var(--gut); background: var(--white); }
.close__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; max-width: 1240px; margin: 0 auto; padding: clamp(36px, 4vw, 56px); border-radius: 28px; background: var(--b50); color: var(--navy); overflow: hidden; isolation: isolate; }
.close__in::before { content: ""; position: absolute; z-index: -1; right: -8%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: var(--acc); }
.close__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.close__car img { width: 100%; height: auto; filter: drop-shadow(0 20px 20px rgba(2, 18, 52, .3)); }

/* ---------- pie (oscuro) ---------- */
.foot { background: var(--navy); color: #b8c3d9; padding: clamp(56px, 5vw, 72px) var(--gut) 24px; font-size: 14px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; max-width: 1240px; margin: 0 auto; }
.foot__logo img { height: 46px; width: auto; }
.foot__brand p { margin: 16px 0 18px; max-width: 26em; line-height: 1.6; }
.foot h3 { margin-bottom: 14px; font-size: 15px; font-weight: 700; color: var(--white); }
.foot ul li { padding: 4px 0; }
.foot ul a { text-decoration: none; cursor: pointer; }
.foot ul a:hover { color: var(--white); text-decoration: underline; }
.foot__social { display: flex; gap: 8px; }
.foot__social li { padding: 0; }
.foot__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: rgba(255, 255, 255, .08); transition: background-color .2s, color .2s; }
.foot__social a:hover { background: var(--acc); color: var(--navy); text-decoration: none; }
.foot__social svg { width: 16px; height: 16px; }
.foot__legal { max-width: 1240px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 11.5px; line-height: 1.6; color: #8796b3; }
.foot__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; max-width: 1240px; margin: 14px auto 0; font-size: 13px; }
.foot__bottom nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__bottom a { text-decoration: none; }
.foot__bottom a:hover { color: var(--white); }

/* botón flotante de WhatsApp, verde (solo para hablar; las reservas van por la web) */
.fab { position: fixed; z-index: 40; right: 20px; bottom: 20px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 12px 26px -8px rgba(18, 140, 70, .6); transition: transform .2s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 28px; height: 28px; }

/* =========================================================
   Páginas interiores: flota, ficha y reserva
   ========================================================= */
.page main { padding-top: 0; }
.phead { padding: clamp(48px, 5vw, 72px) var(--gut) 0; max-width: 1240px; margin: 0 auto; box-sizing: content-box; color: var(--navy); }
.phead .sub { max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 18px; }
.crumbs a { color: var(--navy); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* flota */
.flota { background: var(--b50); padding-bottom: clamp(64px, 6vw, 96px); --gap: 20px; }
.flota .tabs { margin-top: 28px; }
.flota .cars { margin-top: 28px; }

/* ficha */
.ficha-wrap { background: var(--b50); padding: clamp(28px, 3vw, 44px) var(--gut) clamp(64px, 6vw, 96px); }
.ficha-wrap > * { max-width: 1240px; margin-left: auto; margin-right: auto; }
.ficha { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.ficha__main { position: relative; border-radius: 18px; overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.ficha__main img { width: 100%; height: 100%; object-fit: cover; }
.ficha__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.ficha__thumbs button { border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; opacity: .65; transition: opacity .2s, box-shadow .2s; }
.ficha__thumbs button:hover { opacity: 1; }
.ficha__thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2.5px var(--navy); }
.ficha__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ficha__panel { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 18px; background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(2, 18, 52, .06), 0 30px 60px -40px rgba(2, 18, 52, .45); }
.ficha__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.ficha__name { font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1.05; letter-spacing: -.03em; margin-top: -8px; }
.ficha__name span { font-weight: 500; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--b50); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; }
.ficha__from { font-size: 15px; color: var(--text-2); }
.ficha__from b { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--navy); }
.tiers-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.tiers-t th, .tiers-t td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.tiers-t th { text-align: left; font-weight: 500; color: var(--text-2); }
.tiers-t td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.ficha__cta { width: 100%; height: 60px; font-size: 17px; margin-top: 4px; }
.ficha__note { font-size: 13px; color: var(--text-2); text-align: center; margin-top: -4px; }
.ficha__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(32px, 3vw, 48px); }
.ficha__more section { padding: 26px 28px; border-radius: 16px; background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(2, 18, 52, .06); }
.ficha__more h2 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.ticks { display: grid; gap: 9px; font-size: 15px; color: #2c3a55; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 18px; height: 18px; color: var(--blue); margin-top: 2px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--text-2); }
.specs dd { font-weight: 700; }
.related { margin-top: clamp(48px, 5vw, 72px); color: var(--navy); }
.related .cars { padding: 0; margin-top: 24px; justify-content: flex-start; --gap: 20px; }

/* reserva */
.rs { background: var(--b50); padding-bottom: clamp(64px, 6vw, 96px); }
.stepper { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
.stepper li { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); }
.stepper b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--b100); color: var(--navy); font-size: 14px; }
.stepper .is-on { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.stepper .is-on b { background: var(--navy); color: var(--white); }
.stepper .is-done b { background: var(--acc); color: var(--navy); }
.rs__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(20px, 2.5vw, 36px); align-items: start; max-width: 1240px; margin: 28px auto 0; padding: 0 var(--gut); box-sizing: content-box; }
.rs__form, .rs__done { min-width: 0; }
.rs__step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 16px; }
.rs__box { margin: 0; padding: 26px 28px; border: 0; border-radius: 18px; background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(2, 18, 52, .06), 0 24px 50px -40px rgba(2, 18, 52, .4); position: relative; min-width: 0; }
.rs__box legend, .rs__box h2 { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.rs__box legend small, .rs__box h2 small { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.rs__box legend + * { clear: both; }
.rs__rm { position: absolute; top: 26px; right: 28px; font-size: 14px; }
.rs__fields { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
.rf { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); min-width: 0; }
.rf em { font-style: normal; font-weight: 500; color: #8a96ad; }
.rf--full { grid-column: 1 / -1; }
.rf--time { max-width: 140px; }
.rs__hint { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.rs__avail { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #1d7a45; }
.rs__avail svg { width: 18px; height: 18px; }
.rs__avail.is-bad { color: #a33a17; }
.rs__checks { display: grid; gap: 12px; margin-top: 4px; }
.rs__add { justify-self: start; }
.rs__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.rs__nav .btn--navy { margin-left: auto; min-width: 220px; }
.rs__back { font-size: 15px; }
.rs__cond { display: grid; gap: 8px; font-size: 14.5px; line-height: 1.5; color: #2c3a55; }
.rs__pay-box { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--b50); font-size: 14px; line-height: 1.5; color: #2c3a55; }
.rs__pay-box svg { width: 22px; height: 22px; color: var(--navy); flex: none; }
.btn.is-busy { opacity: .75; pointer-events: none; }
/* resumen: siempre a la vista a la derecha */
.rs__sum { position: sticky; top: 100px; padding: 24px; border-radius: 18px; background: var(--white); color: var(--navy); box-shadow: 0 1px 2px rgba(2, 18, 52, .06), 0 30px 60px -40px rgba(2, 18, 52, .45); }
.rs__sum-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.rs__sum-empty { font-size: 15px; font-weight: 600; color: #a33a17; }
.rs__sum-car { margin-bottom: 8px; }
.rs__gal-main { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.rs__gal-main img { width: 100%; height: 100%; object-fit: cover; }
.rs__gal-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.rs__gal-thumbs button { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; opacity: .6; transition: opacity .2s, box-shadow .2s; }
.rs__gal-thumbs button:hover { opacity: 1; }
.rs__gal-thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2.5px var(--acc); }
.rs__gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rs__sum-car figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.rs__sum-car b { font-size: 18px; font-weight: 700; line-height: 1.25; }
.rs__sum-car span { font-size: 12.5px; color: var(--text-2); }
.rs__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; }
.rs__total span { font-size: 15px; font-weight: 700; }
.rs__total b { font-size: 34px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rs__pay { margin-top: 4px; padding: 4px 14px; border-radius: 12px; background: var(--b50); }
.rs__pay div:last-child { border-bottom: 0; }
.rs__sum-note { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--text-2); }
.rs__done .rs__box { padding: clamp(28px, 4vw, 48px); }
.rs__done h2 { float: none; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.03em; outline: none; }
.rs__done-ok { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #e7f4ec; color: #1d7a45; margin-bottom: 18px; }
.rs__done-ok svg { width: 28px; height: 28px; }
.rs__done p { font-size: 16px; line-height: 1.6; color: #2c3a55; margin-top: 12px; max-width: 36em; }
.rs__done .btn { margin-top: 24px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links, .nav__call { display: none; }
  .nav__burger { display: grid; }
  .nav__top { grid-template-columns: auto 1fr; }
  .nav__logo { justify-self: start; }
  :root { --navh: 72px; }
  .ready__head { grid-template-columns: minmax(0, 1fr); }
  .bk { grid-template-columns: minmax(0, 1fr); }
  .bk__side { border-right: 0; border-bottom: 1px solid var(--line); }
  .bk__hours { margin-top: 0; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .better__head { flex-direction: column; align-items: flex-start; }
  .ficha { grid-template-columns: minmax(0, 1fr); }
  .ficha__panel { position: static; }
  .rs__grid { grid-template-columns: minmax(0, 1fr); }
  .rs__sum { position: static; order: -1; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .how__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .how__car { grid-column: 1 / -1; grid-row: 1; max-width: 520px; margin: 0 auto; }
  .how__col:first-child li { flex-direction: row; text-align: left; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) and (min-width: 861px) { .fleet, .flota { --gap: 14px; } .car__body { padding: 14px; } .car__foot { flex-direction: column; align-items: stretch; } }
@media (max-width: 860px) { .car { flex-basis: calc((100% - var(--gap)) / 2); max-width: 360px; } .ficha__more { grid-template-columns: minmax(0, 1fr); } .duo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  :root { --navh: 64px; }
  .nav__top { height: 64px; }
  .nav__logo img { height: 38px; }
  .nav__cta { height: 38px; padding: 0 14px; }
  .tabs { max-width: 100%; overflow-x: auto; }
  .tabs button { min-width: 0; padding: 0 12px; flex: none; }
  .fleet, .flota { --gap: 12px; }
  .cars { margin-top: 28px; }
  .types__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .type { padding: 16px 8px 14px; border-radius: 16px; }
  .type img { height: auto; width: 100%; max-width: 100%; margin: 10px 0 4px; }
  .type b { font-size: 13.5px; margin-top: 8px; text-align: center; line-height: 1.2; }
  .type span { font-size: 12px; }
  .steps { flex-wrap: wrap; }
  .steps li { height: 38px; font-size: 13px; }
  .steps b { width: 28px; height: 28px; }
  .screen { width: calc(100% - 24px); padding: 6px; border-radius: 20px; }
  .bk__side, .bk__main { padding: 20px; }
  .bk__main { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bk__tiers span { font-size: 10.5px; }
  .safe { min-height: 320px; }
  .duo { padding: 48px 16px; gap: 14px; }
  .box { padding: 26px 22px 110px; min-height: 0; }
  .box__copy { padding-right: 0; }
  .box__ic { right: 22px; bottom: 22px; width: 64px; height: 64px; }
  .about__badge { width: 100px; height: 100px; box-shadow: 0 0 0 7px var(--white); }
  .about__badge b { font-size: 30px; }
  .how__grid { grid-template-columns: minmax(0, 1fr); }
  .where { grid-template-columns: minmax(0, 1fr); }
  .trio { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .trio figure { height: 180px; }
  .cform { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .cform__btn { justify-self: stretch; }
  .close__in { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; }
  .close__in::before { top: auto; bottom: -25%; right: -20%; width: 90%; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .foot__bottom nav { margin-left: 0; width: 100%; }
  .ficha__panel { padding: 22px; }
  .ficha__more section { padding: 22px; }
  .rs__box { padding: 22px 18px; }
  .rs__rm { top: 22px; right: 18px; }
  .rs__fields { grid-template-columns: minmax(0, 1fr); }
  .rf--time { max-width: none; }
  .rs__nav .btn--navy { width: 100%; }
  .fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
/* en el móvil, una tarjeta por fila */
@media (max-width: 560px) {
  .car { flex-basis: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* pago online (con TPV) o reserva sin pago: lo decide payOnline en js/data.js */
html:not(.pay-on) [data-pay-on], html.pay-on [data-pay-off] { display: none !important; }

/* vehículo sin fotos: se ve el logo */
.pic-empty { object-fit: contain; padding: 14%; background: #f3f5f9; }

/* ---------- páginas legales (se escriben desde el panel) ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 5vw, 72px) var(--gut) clamp(64px, 6vw, 96px); box-sizing: content-box; color: var(--ink); }
.legal h1 { color: var(--navy); margin-bottom: 6px; }
.legal__fecha { font-size: 13px; color: var(--text-2); margin: 0 0 32px; }
.legal__texto { font-size: 16px; line-height: 1.7; }
.legal__texto h2 { font-size: 22px; color: var(--navy); margin: 36px 0 10px; line-height: 1.3; }
.legal__texto h3 { font-size: 18px; color: var(--navy); margin: 28px 0 8px; }
.legal__texto h4 { font-size: 16px; margin: 22px 0 6px; }
.legal__texto p, .legal__texto ul, .legal__texto ol { margin: 0 0 14px; }
.legal__texto ul, .legal__texto ol { padding-left: 22px; list-style: disc; }
.legal__texto ol { list-style: decimal; }
.legal__texto li { margin-bottom: 6px; }
.legal__texto a { color: var(--blue); }
.legal__texto blockquote { margin: 18px 0; padding: 12px 18px; border-left: 3px solid var(--acc); background: var(--b50); }

/* ---------- pago online: elegir señal o total ---------- */
.rs__modo { display: grid; gap: 10px; }
.rs__opcion { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.rs__opcion:hover { border-color: var(--steel); }
.rs__opcion:has(input:checked) { border-color: var(--acc); background: #fffaf0; }
.rs__opcion input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.rs__opcion span { display: grid; gap: 2px; color: var(--navy); }
.rs__opcion b { font-size: 16px; }
.rs__opcion em { font-style: normal; color: var(--blue); margin-left: 6px; }
.rs__opcion small { color: var(--text-2); font-size: 14px; }
.rs__err--aviso { max-width: 1240px; margin: 20px auto 0; box-sizing: border-box; background: #fdecea; border: 1px solid #f3c7c2; color: #8f1d12; border-radius: 14px; padding: 14px 18px; font-weight: 600; }
.rs__err--aviso a { color: #8f1d12; }
@media (max-width: 1300px) { .rs__err--aviso { margin: 20px var(--gut) 0; } }

/* ---------- móvil: que la página nunca se pueda mover de lado ---------- */
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* ---------- móvil: portada con el título encima de la foto, y la foto más alta ---------- */
@media (max-aspect-ratio: 1 / 1) {
  .hero__view { height: calc(min(186cqw, 1180px) / 1.7768); }
  .hero__stage { --sw: min(186cqw, 1180px); }
  .hero__view::after { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: 46%; pointer-events: none; background: linear-gradient(180deg, rgba(2, 18, 52, .82) 0%, rgba(2, 18, 52, .5) 55%, rgba(2, 18, 52, 0) 100%); }
  .hero__copy { position: absolute; z-index: 2; top: 0; bottom: auto; padding: 16px var(--gut) 0; }
  .hero__title, .hero__sub { text-shadow: 0 1px 3px rgba(2, 18, 52, .6), 0 4px 18px rgba(2, 18, 52, .55); }
  .hero__sub { color: var(--white); font-weight: 600; }
  .hero__foot { padding: 20px var(--gut) 30px; }
}
@container hero (max-width: 600px) {
  .hero__copy { gap: 6px; }
  .hero__title { font-size: clamp(1.7rem, 8cqw, 2.4rem); }
  .hero__sub { font-size: 14.5px; line-height: 1.4; }
}

/* ---------- móvil: «Busca por tipo», uno debajo de otro y el botón al final ---------- */
.types__mas { display: none; }
@media (max-width: 760px) {
  .types .shead .btn { display: none; }
  .types__mas { display: flex; justify-content: center; margin: 20px 0 0; padding: 0 var(--gut); }
  .types__mas .btn { width: 100%; max-width: 360px; }
  .types__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 24px; }
  .type { display: grid; grid-template-columns: minmax(0, 52%) minmax(0, 1fr); grid-template-rows: 1fr 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px 18px 18px 12px; border-radius: 18px; text-align: left; }
  .type::before { left: 27%; top: 50%; width: 32%; }
  .type img { grid-row: 1 / 3; width: 100%; height: auto; max-width: none; margin: 0; }
  .type b { grid-column: 2; align-self: end; margin: 0; font-size: 18px; line-height: 1.2; text-align: left; }
  .type span { grid-column: 2; align-self: start; font-size: 14px; }
}

/* disponibilidad en la reserva: libre / ocupado, con los vehículos que sí están libres */
.rs__avail.is-libre, .rs__avail.is-ocupado { display: grid; gap: 4px; justify-items: start; }
.rs__avail.is-libre > span { display: inline-flex; align-items: center; gap: 8px; }
.rs__avail small { font-weight: 500; color: #5a6680; font-size: 13px; }
.rs__avail.is-ocupado { background: #fdecea; border-radius: 12px; padding: 12px 14px; line-height: 1.45; }
.rs__libres { font-weight: 500; color: #0b1a33; }
.rs__libres .tlink { font-weight: 700; padding: 0; background: none; border: 0; cursor: pointer; color: #021234; text-decoration: underline; font: inherit; }
