/* ==========================================================================
   Rent Car El Paraíso — estilos.css
   Tema oscuro premium · Paleta inspirada en el logo (rojo, negro y blanco)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #0A0A0C;
  --bg-2: #0F0F13;
  --surface: #141418;
  --surface-2: #1B1B21;
  --surface-3: #26262E;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F5F5F6;
  --text-2: #C8C8CF;
  --muted: #8E8E99;
  --red: #E3262B;
  --red-hi: #FF3B45;
  --red-deep: #8E0E15;
  --red-soft: rgba(227, 38, 43, .14);
  --red-line: rgba(227, 38, 43, .5);
  --wa: #25D366;
  --ok: #2BD47D;
  --warn: #F5B83D;
  --err: #FF5A5F;
  --star: #FFC14D;
  --grad-red: linear-gradient(135deg, #FF4650 0%, #E3262B 45%, #A3121B 100%);
  --glow: 0 12px 36px -12px rgba(227, 38, 43, .75);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .85);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Saira', 'Inter', system-ui, sans-serif;
  --header-h: 76px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23C8C8CF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: dark;
}

@media (max-width: 768px) {
  :root { --header-h: 64px; --gutter: 16px; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.005em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
mark { background: rgba(227, 38, 43, .32); color: #fff; border-radius: 3px; padding: 0 2px; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3a3a44; }

.container { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; }
.muted { color: var(--muted); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 400;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   2b. Pantalla de carga y transición entre páginas
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(55% 45% at 50% 46%, rgba(227, 38, 43, .2), transparent 70%),
    var(--bg);
  transform: translateY(0);
  transition: transform .9s cubic-bezier(.76, 0, .24, 1);
  will-change: transform;
}
/* Bordes rojos que barren la pantalla cuando la cortina sube o entra */
.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-red);
  box-shadow: 0 0 22px rgba(227, 38, 43, .9);
}
.preloader::before { top: 0; }
.preloader::after { bottom: 0; }
.preloader.is-hidden { transform: translateY(-100%); }
.preloader.is-below { transform: translateY(100%); transition: none; }
.preloader.is-leaving { transition-duration: .55s; }
.preloader.is-gone { visibility: hidden; }

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: min(468px, 92vw);
  transition: opacity .45s, transform .6s var(--ease);
}
.preloader.is-hidden .preloader-inner { opacity: 0; transform: translateY(-50px); }
.preloader-brand { position: relative; width: 100%; animation: loaderLogoIn 1s var(--ease) both; }
.preloader-brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .85)) drop-shadow(0 12px 40px rgba(227, 38, 43, .35));
  animation: loaderGlow 2.4s ease-in-out infinite;
}
/* Destello que recorre solo la silueta del logo */
.preloader-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .9) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%;
  background-position: 150% 0;
  -webkit-mask: url("../img/logo.webp") center / contain no-repeat;
  mask: url("../img/logo.webp") center / contain no-repeat;
  animation: loaderShine 2.2s ease-in-out .5s infinite;
}
.preloader-track {
  position: relative;
  overflow: hidden;
  width: min(317px, 88%);
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  animation: fadeUp .6s var(--ease) .25s both;
}
.preloader-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--p, 0%);
  border-radius: inherit;
  background: var(--grad-red);
  box-shadow: 0 0 12px rgba(227, 38, 43, .85);
  transition: width .45s var(--ease);
}
.preloader-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(317px, 88%);
  color: var(--muted);
  font: 600 .68rem/1.4 var(--font);
  letter-spacing: .12em;
  white-space: nowrap;
  text-transform: uppercase;
  animation: fadeUp .6s var(--ease) .35s both;
}
.preloader-pct { color: var(--text-2); font-variant-numeric: tabular-nums; }
/* Entre páginas: solo el logo y una barra indeterminada */
.preloader--nav .preloader-meta { display: none; }
.preloader--nav .preloader-brand { animation-duration: .5s; }
.preloader--nav .preloader-bar { width: 38%; transition: none; animation: loaderIndeterminate 1s ease-in-out infinite; }

/* Mientras carga, las animaciones de la página esperan a que se retire la cortina */
@media (scripting: enabled) {
  html.is-loading main *,
  html.is-loading main *::before,
  html.is-loading main *::after { animation-play-state: paused !important; }
}
@media (scripting: none) {
  .preloader { display: none; }
}
/* Si el JavaScript falla, la cortina se retira sola */
html.is-loading .preloader { animation: loaderFailsafe 0s linear 8s forwards; }

@keyframes loaderLogoIn {
  from { opacity: 0; transform: translateY(16px) scale(.92); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes loaderGlow {
  0%, 100% { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .85)) drop-shadow(0 12px 40px rgba(227, 38, 43, .3)); }
  50% { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .85)) drop-shadow(0 12px 60px rgba(227, 38, 43, .65)); }
}
@keyframes loaderShine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }
@keyframes loaderIndeterminate { from { left: -38%; } to { left: 100%; } }
@keyframes loaderFailsafe { to { visibility: hidden; opacity: 0; } }

/* --------------------------------------------------------------------------
   3. Botones, chips y utilidades
   -------------------------------------------------------------------------- */
.btn {
  --bh: 48px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--bh);
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 600 .95rem/1.1 var(--font);
  letter-spacing: .01em;
  white-space: nowrap;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn i { flex: none; font-size: 1.15em; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .28) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform .8s var(--ease);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; pointer-events: none; }

.btn-primary { background: var(--grad-red); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(227, 38, 43, .9); }

.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--red-line); background: rgba(227, 38, 43, .1); transform: translateY(-2px); }

.btn-wa { background: linear-gradient(135deg, #22C55E, #128C4A); color: #fff; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .65); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(37, 211, 102, .8); }

.btn-light { background: #fff; color: #0A0A0C; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -16px rgba(255, 255, 255, .6); }

.btn-sm { --bh: 40px; padding: 0 16px; font-size: .86rem; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-icon { width: var(--bh); padding: 0; }

.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, .35);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--red-hi);
  font: 600 .88rem var(--font);
  cursor: pointer;
}
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .04);
  color: var(--text-2);
  font: 500 .86rem var(--font);
  white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.chip:hover { border-color: rgba(255, 255, 255, .28); color: #fff; transform: translateY(-1px); }
.chip.is-active { background: var(--red-soft); border-color: var(--red-line); color: #fff; }
.chip em {
  font-style: normal;
  font-size: .72rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
}
.chip.is-active em { background: rgba(255, 255, 255, .18); color: #fff; }
.chip--sm { min-height: 32px; padding: 0 12px; font-size: .8rem; background: rgba(20, 20, 24, .6); backdrop-filter: blur(8px); }
.chip--active { background: var(--red-soft); border-color: var(--red-line); color: #fff; }
.chip--active:hover { background: rgba(227, 38, 43, .25); }
.chip--active .ph-x { font-size: .78rem; opacity: .7; }

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-2);
}
.seg button {
  padding: 8px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 700 .76rem/1 var(--font);
  letter-spacing: .04em;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.seg button:hover { color: #fff; }
.seg button.is-active { background: var(--red); color: #fff; box-shadow: 0 4px 14px -4px rgba(227, 38, 43, .8); }
.seg--block { display: flex; width: 100%; }
.seg--block button { flex: 1; padding: 10px; font-size: .82rem; }

.pulse-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  animation: pulse 2s infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--red-hi);
  font: 700 .76rem/1 var(--font);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-red);
}

.section-title em,
.page-title em,
.err-title em,
.detail-title h1 em {
  font-style: italic;
  padding-right: .08em;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* --------------------------------------------------------------------------
   4. Header y menú móvil
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
}
.site-header.is-scrolled,
.nav-open .site-header {
  background: rgba(10, 10, 12, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; flex: none; }
.brand img {
  width: auto;
  height: 57px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .8)) drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
  transition: transform .35s var(--ease);
}
.brand:hover img { transform: scale(1.03); }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: .94rem;
  font-weight: 500;
  transition: color .25s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: #fff; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-prefs { display: flex; align-items: center; gap: 8px; }

.cur-select { position: relative; display: inline-flex; align-items: center; }
.cur-select i { position: absolute; left: 11px; color: var(--red-hi); font-size: 1rem; pointer-events: none; }
.cur-select select {
  -webkit-appearance: none;
  appearance: none;
  height: 36px;
  padding: 0 28px 0 32px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05) var(--caret) no-repeat right 11px center / 10px;
  color: var(--text);
  font: 700 .78rem var(--font);
  letter-spacing: .04em;
  cursor: pointer;
}
.cur-select select option { background: var(--surface); }

.nav-toggle {
  position: relative;
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .05);
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; transition: visibility 0s .5s; }
.nav-open .drawer { visibility: visible; transition: none; }
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .4s;
}
.nav-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: calc(var(--header-h) + 20px) 24px 32px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-left: 1px solid var(--line);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
}
.nav-open .drawer-panel { transform: none; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font: italic 800 1.55rem/1.1 var(--display);
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity .5s, transform .5s var(--ease), color .2s;
  transition-delay: calc(var(--i) * 60ms + 120ms);
}
.nav-open .drawer-nav a { opacity: 1; transform: none; }
.drawer-nav a.is-active, .drawer-nav a:hover { color: var(--red-hi); }
.drawer-num { color: var(--muted); font: 600 .75rem var(--font); font-style: normal; }
.drawer-nav a i { margin-left: auto; color: var(--muted); font-size: 1.1rem; }
.drawer-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.drawer-prefs-row { display: flex; flex-wrap: wrap; gap: 10px; }
.drawer-prefs-row .seg button { padding: 10px 16px; font-size: .85rem; }
.drawer-prefs-row .cur-select select { height: 42px; font-size: .85rem; }
.drawer-contact { display: flex; flex-direction: column; gap: 12px; margin-top: auto; color: var(--text-2); font-size: .92rem; }
.drawer-contact a { display: inline-flex; align-items: center; gap: 10px; word-break: break-all; }
.drawer-contact i { color: var(--red-hi); font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   5. Secciones
   -------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .022) 18%, rgba(255, 255, 255, .022) 82%, transparent);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-red);
}
.section-title {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.lead { max-width: 62ch; margin: 16px 0 0; color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.12rem); }

/* --------------------------------------------------------------------------
   6. Hero (landing)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 0 88px;
}
.hero-bg { position: absolute; inset: -6% 0 0; z-index: -3; will-change: transform; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  animation: heroZoom 14s var(--ease) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(55% 65% at 85% 25%, rgba(227, 38, 43, .3), transparent 60%),
    linear-gradient(90deg, rgba(10, 10, 12, .96) 0%, rgba(10, 10, 12, .82) 38%, rgba(10, 10, 12, .35) 72%, rgba(10, 10, 12, .6) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 32%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
  mask-image: linear-gradient(90deg, #000, transparent 55%);
  pointer-events: none;
}
.hero-swoosh {
  position: absolute;
  left: 0;
  bottom: 6%;
  z-index: -1;
  width: 100%;
  height: 240px;
  pointer-events: none;
}
.hero-swoosh path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  filter: drop-shadow(0 0 8px rgba(227, 38, 43, .85));
  animation: drawLine 2.4s .5s var(--ease) forwards;
}
.hero-swoosh path.thin { stroke: rgba(255, 255, 255, .3); stroke-width: 1.2; filter: none; animation-delay: .9s; }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 40px 56px;
  align-items: center;
}
.hero-copy { max-width: 700px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(10px);
  color: var(--text-2);
  font-size: .85rem;
  font-weight: 600;
}
.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  font-style: italic;
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
.hero-title em {
  font-style: italic;
  padding-right: .06em;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title.is-split em { background: none; color: inherit; padding: 0; }
.hero-title .w {
  display: inline-block;
  opacity: 0;
  animation: wordIn .9s var(--ease) forwards;
  animation-delay: calc(var(--i) * 70ms + 150ms);
}
.hero-title.is-split em .w {
  padding-right: .08em;
  margin-right: -.08em;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero-sub { max-width: 56ch; margin-bottom: 32px; color: var(--text-2); font-size: clamp(1rem, 1.5vw, 1.15rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  justify-self: end;
  width: min(100%, 390px);
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 24, .62);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(227, 38, 43, .12);
}
.hero-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.hero-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero-card:hover .hero-card-media img { transform: scale(1.06); }
.hero-card-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 20px 20px; }
.hero-card-meta { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--text-2); font-size: .84rem; }
.hero-card-meta i { color: var(--star); }
.hero-card-meta .sep { color: var(--muted); }
.hero-card .v-price { justify-content: flex-end; text-align: right; }

.booking-bar {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 24, .74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.bb-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color .25s;
}
.bb-field + .bb-field::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line-2);
}
.bb-field:hover { background: rgba(255, 255, 255, .05); }
.bb-field > i { flex: none; color: var(--red-hi); font-size: 1.5rem; }
.bb-field > span { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.bb-field small { color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bb-field input,
.bb-field select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 600 1rem var(--font);
  outline: none;
  cursor: pointer;
  color-scheme: dark;
}
.bb-field select option { background: var(--surface); }
.booking-bar > .btn { height: 60px; padding: 0 30px; border-radius: 22px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .28);
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--red-hi);
  animation: scrollCue 1.8s ease-in-out infinite;
}

/* Estadísticas */
.stats { padding: 8px 0 24px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.stat { padding: 28px 20px; border-left: 1px solid var(--line); text-align: center; }
.stat:first-child { border-left: 0; }
.stat strong {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  font: italic 900 clamp(2rem, 3.6vw, 2.8rem)/1 var(--display);
}
.stat strong i { color: var(--red-hi); font-size: .62em; }
.stat > span { display: block; margin-top: 8px; color: var(--muted); font-size: .86rem; }

/* Promoción de rentas largas */
.promo-band { padding: 0 0 28px; }
.promo {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--red-line);
  background: linear-gradient(110deg, rgba(227, 38, 43, .2), rgba(20, 20, 24, .9) 55%);
}
.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .07) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shine 4s ease-in-out infinite;
  pointer-events: none;
}
.promo-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--grad-red);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: var(--glow);
}
.promo-text { flex: 1; min-width: 0; }
.promo-text strong { display: block; font: italic 800 1.2rem/1.2 var(--display); text-transform: uppercase; }
.promo-text span { color: var(--text-2); font-size: .92rem; }
.promo .btn { flex: none; }

/* Marquee de marcas */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track > * { margin-right: 48px; }
.marquee-track span {
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, .3);
  font: italic 900 clamp(2rem, 4vw, 3.2rem)/1 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .3s, -webkit-text-stroke-color .3s;
}
.marquee-track span:hover { color: #fff; -webkit-text-stroke-color: transparent; }
.marquee-track i { color: var(--red); font-size: 1.2rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   7. Tarjetas de vehículo
   -------------------------------------------------------------------------- */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.fleet .vehicle-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }

.v-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.v-card:hover { transform: translateY(-6px); border-color: var(--red-line); box-shadow: 0 30px 60px -30px rgba(227, 38, 43, .5); }
.v-card-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.v-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.v-card:hover .v-card-media img { transform: scale(1.07); }
.v-card-media::after {
  content: "";
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(0deg, rgba(10, 10, 12, .85), transparent);
  pointer-events: none;
}
.v-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--grad-red);
  color: #fff;
  font: 700 .74rem var(--font);
  letter-spacing: .02em;
  box-shadow: 0 6px 18px -6px rgba(227, 38, 43, .9);
}
.v-cat {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 12, .6);
  backdrop-filter: blur(10px);
  font: 600 .74rem var(--font);
}
.v-card-body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 18px 20px 20px; }
.v-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.v-brand { margin: 0; color: var(--muted); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.v-name { margin: 4px 0 0; font-size: 1.35rem; font-style: italic; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.v-name a { transition: color .25s; }
.v-name a:hover { color: var(--red-hi); }
.v-rating {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 193, 77, .1);
  color: #FFD27A;
  font-size: .8rem;
  font-weight: 700;
}
.v-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.v-specs li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--text-2);
  font-size: .74rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.v-specs i { color: var(--red-hi); font-size: 1.15rem; }
.v-avail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(43, 212, 125, .22);
  background: rgba(43, 212, 125, .08);
  color: #8DF0BC;
  font-size: .8rem;
}
.v-avail strong { margin-left: auto; color: #fff; }
.v-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}
.v-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 4px; line-height: 1.1; }
.v-price small { flex-basis: 100%; color: var(--muted); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.v-price strong { font: italic 900 1.5rem/1.1 var(--display); }
.v-price span { color: var(--muted); font-size: .82rem; }

/* --------------------------------------------------------------------------
   8. Landing: categorías, pasos, beneficios, testimonios, CTA
   -------------------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s;
}
.cat-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 10, 12, .1) 0%, rgba(10, 10, 12, .55) 45%, rgba(10, 10, 12, .97) 100%);
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--red-line); }
.cat-card:hover img { transform: scale(1.08); }
.cat-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid var(--red-line);
  background: rgba(227, 38, 43, .2);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.4rem;
}
.cat-card h3 { margin-bottom: 6px; font-size: 1.5rem; font-style: italic; text-transform: uppercase; }
.cat-card p { margin-bottom: 14px; color: var(--text-2); font-size: .9rem; }
.cat-count { color: var(--red-hi); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cat-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  transition: background-color .3s, transform .4s var(--ease);
}
.cat-card:hover .cat-arrow { background: var(--red); transform: rotate(45deg); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step {
  position: relative;
  padding: 30px 18px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
  transition: border-color .3s, transform .4s var(--ease);
}
.step:hover { border-color: var(--red-line); transform: translateY(-4px); }
.step-num { position: absolute; top: 12px; right: 16px; color: rgba(255, 255, 255, .09); font: italic 900 1.6rem var(--display); }
.step-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: var(--glow), 0 0 0 8px rgba(227, 38, 43, .08);
  transition: transform .5s var(--ease);
}
.step:hover .step-icon { transform: rotate(-10deg) scale(1.06); }
.step h3 { margin-bottom: 8px; font-size: 1.25rem; font-style: italic; text-transform: uppercase; }
.step p { margin: 0; color: var(--muted); font-size: .88rem; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why-media { position: relative; isolation: isolate; }
.why-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xl); border: 1px solid var(--line); }
.why-media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: -1;
  width: 60%;
  height: 60%;
  border: 2px solid var(--red-line);
  border-radius: var(--r-xl);
}
.why-float {
  position: absolute;
  left: -24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 24, .85);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.why-float-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad-red); font-size: 1.4rem; }
.why-float strong { display: block; font-size: 1rem; }
.why-float div span { color: var(--muted); font-size: .82rem; }
.why-float--2 { top: 40px; right: -20px; bottom: auto; left: auto; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -3s; }
.why-float--2 strong { color: var(--red-hi); font: italic 900 2rem/1 var(--display); }
.why-float--2 span { color: var(--muted); font-size: .82rem; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 28px; margin-top: 36px; }
.why-list li { display: flex; gap: 14px; }
.why-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--red-hi);
  font-size: 1.35rem;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.why-list li:hover .why-icon { background: var(--red); color: #fff; transform: rotate(-8deg) scale(1.05); }
.why-list h3 { margin-bottom: 4px; font: 700 1.02rem/1.3 var(--font); }
.why-list p { margin: 0; color: var(--muted); font-size: .88rem; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  transition: border-color .3s, transform .4s var(--ease);
}
.testi::before {
  content: "\201C";
  position: absolute;
  top: -28px;
  right: 18px;
  color: rgba(227, 38, 43, .14);
  font: italic 900 9rem/1 var(--display);
}
.testi:hover { border-color: var(--red-line); transform: translateY(-4px); }
.stars { display: flex; gap: 3px; color: var(--star); }
.testi blockquote { flex: 1; margin: 0; color: var(--text-2); font-size: 1.02rem; line-height: 1.65; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption strong { display: block; font-size: .95rem; }
.testi figcaption div span { color: var(--muted); font-size: .82rem; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-red);
  color: #fff;
  font: 800 .9rem var(--font);
}

.cta-band { padding: 0 0 clamp(72px, 9vw, 120px); }
.cta-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 72px);
  border-radius: var(--r-xl);
  border: 1px solid var(--red-line);
}
.cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(110, 10, 16, .97) 0%, rgba(200, 24, 32, .86) 42%, rgba(10, 10, 12, .3) 100%);
}
.cta-content { max-width: 620px; }
.cta-content h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); font-style: italic; font-weight: 900; line-height: 1; text-transform: uppercase; }
.cta-content h2 em { font-style: italic; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.cta-content p { margin: 18px 0 28px; color: rgba(255, 255, 255, .9); font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   9. Footer, WhatsApp flotante y toasts
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 80px 0 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2), #070709);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  width: 760px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(227, 38, 43, .18), transparent);
  pointer-events: none;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 40px; }
.footer-brand .brand img { height: 62px; }
.footer-brand p { max-width: 38ch; margin: 20px 0; color: var(--muted); font-size: .92rem; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  font-size: 1.2rem;
  transition: background-color .3s, border-color .3s, transform .3s var(--ease);
}
.socials a:hover { border-color: var(--red); background: var(--red); transform: translateY(-3px); }
.footer-col h4 { margin-bottom: 18px; color: #fff; font: 700 .78rem var(--font); letter-spacing: .16em; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .92rem; }
.footer-contact i { flex: none; margin-top: 3px; color: var(--red-hi); font-size: 1.1rem; }
.footer-contact a { word-break: break-word; }
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(43, 212, 125, .3);
  background: rgba(43, 212, 125, .1);
  color: #8DF0BC;
  font-size: .85rem;
  font-weight: 600;
}
.footer-sub { margin-top: 26px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text-2);
  font-size: .82rem;
  font-weight: 600;
}
.pay-badges i { color: var(--red-hi); font-size: 1.05rem; }
.pay-badges .ph-paypal-logo { color: #4FA9F0; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .84rem;
}
.footer-bottom p { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.footer-bottom i { color: var(--red); }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2EE172, #13A84C);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
  animation: popIn .6s 1.2s var(--ease) both;
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: ring 2.4s ease-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float-tip {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: 600 .85rem var(--font);
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(8px, -50%);
  transition: opacity .3s, transform .3s var(--ease);
}
.wa-float:hover .wa-float-tip { opacity: 1; transform: translate(0, -50%); }

.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 14px);
  left: 50%;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(440px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(28, 28, 34, .96);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: .92rem;
  opacity: 0;
  transform: translateY(-14px) scale(.97);
  transition: opacity .35s, transform .45s var(--ease);
  pointer-events: auto;
}
.toast.is-in { opacity: 1; transform: none; }
.toast i { flex: none; font-size: 1.35rem; }
.toast--info i { color: #6CB4FF; }
.toast--success i { color: var(--ok); }
.toast--error { border-color: rgba(255, 90, 95, .45); }
.toast--error i { color: var(--err); }

/* --------------------------------------------------------------------------
   10. Animaciones de aparición (reveal)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; }
.reveal.is-in { animation: revealUp .9s var(--ease) var(--d, 0ms) both; }
.reveal-left.is-in { animation-name: revealLeft; }
.reveal-right.is-in { animation-name: revealRight; }
.reveal-scale.is-in { animation-name: revealScale; }
.hero-card.is-in { animation: revealRight 1s var(--ease) var(--d, 0ms) both, float 7s ease-in-out 2s infinite; }

@media (scripting: none) {
  .reveal { opacity: 1; }
}

/* --------------------------------------------------------------------------
   11. Cabecera de páginas internas
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 88px);
}
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 16s var(--ease) both; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 90% 10%, rgba(227, 38, 43, .3), transparent 60%),
    linear-gradient(90deg, rgba(10, 10, 12, .95), rgba(10, 10, 12, .72) 55%, rgba(10, 10, 12, .5)),
    linear-gradient(0deg, var(--bg), transparent 45%);
}
.page-hero--search { padding-bottom: clamp(40px, 6vw, 64px); }
.page-title {
  margin: 16px 0 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-style: italic;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}
.page-title--sm { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs i { font-size: .72rem; }
.breadcrumbs > span:last-child { color: var(--text-2); }

/* --------------------------------------------------------------------------
   12. Vehículos: búsqueda inteligente y filtros
   -------------------------------------------------------------------------- */
.smart-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 780px;
  margin-top: 30px;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 24, .8);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  transition: border-color .3s, box-shadow .3s;
}
.smart-search:focus-within { border-color: var(--red-line); box-shadow: var(--shadow), 0 0 0 6px var(--red-soft); }
.smart-icon { flex: none; color: var(--red-hi); font-size: 1.4rem; animation: sparkle 2.6s ease-in-out infinite; }
.smart-search input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: none;
  color: var(--text);
  font: 500 1.02rem var(--font);
}
.smart-search input::placeholder { color: #75757F; }
.smart-search .btn { min-height: 50px; }
.smart-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: .86rem; }

.smart-understood {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: var(--r);
  border: 1px solid var(--red-line);
  background: linear-gradient(90deg, rgba(227, 38, 43, .14), rgba(227, 38, 43, .03));
  animation: fadeUp .45s var(--ease);
}
.su-label { display: inline-flex; align-items: center; gap: 8px; margin-right: 4px; font-size: .88rem; font-weight: 700; }
.su-label i { color: var(--red-hi); font-size: 1.2rem; }
.su-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .82rem;
  font-weight: 600;
  animation: popIn .4s var(--ease) both;
}
.su-tag i { color: var(--red-hi); }
.su-none { flex: 1; margin: 0; color: var(--text-2); font-size: .9rem; }
.smart-understood .link-btn { margin-left: auto; }

.fleet-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.filters-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.filters-head h2 { display: flex; align-items: center; gap: 10px; margin: 0 auto 0 0; font: 700 1.05rem var(--font); }
.filters-head h2 i { color: var(--red-hi); }
.filters-close { display: none; }
.filters-body { padding: 4px 20px 20px; overflow-y: auto; scrollbar-width: thin; }
.f-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.f-group:last-child { border-bottom: 0; }
.f-group h3 { margin-bottom: 12px; color: var(--muted); font: 700 .74rem var(--font); letter-spacing: .14em; text-transform: uppercase; }
.f-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.f-range-val { color: var(--text); font-size: .84rem; font-weight: 600; }
.f-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.f-checks { display: flex; flex-direction: column; gap: 2px; }
.check--row { align-items: center; padding: 8px 6px; border-radius: 10px; transition: background-color .2s; }
.check--row:hover { background: rgba(255, 255, 255, .04); }
.check--row em { margin-left: auto; color: var(--muted); font-size: .78rem; font-style: normal; }

.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; font-size: .92rem; font-weight: 600; }
.switch-label { display: inline-flex; align-items: center; gap: 10px; }
.switch-label i { color: var(--red-hi); font-size: 1.2rem; }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface-3);
  transition: background-color .3s, border-color .3s;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  transition: transform .35s var(--ease);
}
.switch input:checked + span { border-color: var(--red); background: var(--red); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 2px solid var(--red-hi); outline-offset: 2px; }

.range { position: relative; height: 36px; }
.range-track { position: absolute; top: 50%; left: 0; right: 0; height: 4px; margin-top: -2px; border-radius: 4px; background: var(--surface-3); }
.range-fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--grad-red); }
.range input {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  background: none;
  pointer-events: none;
}
.range input::-webkit-slider-runnable-track { background: none; }
.range input::-moz-range-track { background: none; }
.range input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 4px solid var(--red);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(227, 38, 43, .18);
  cursor: grab;
  pointer-events: auto;
}
.range input::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 4px solid var(--red);
  background: #fff;
  box-shadow: 0 0 0 6px rgba(227, 38, 43, .18);
  cursor: grab;
  pointer-events: auto;
}
.range input:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.1); }

.filters-foot { display: none; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
}
.sheet-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.results-count { margin: 0; color: var(--muted); font-size: .95rem; }
.results-count strong { margin-right: 4px; color: #fff; font: italic 900 1.6rem var(--display); }
.results-tools { display: flex; align-items: center; gap: 10px; }
.filters-open { display: none; }
.filters-open em {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-style: normal;
}
.sort { position: relative; display: inline-flex; align-items: center; }
.sort i { position: absolute; left: 14px; color: var(--red-hi); pointer-events: none; }
.sort select {
  -webkit-appearance: none;
  appearance: none;
  height: 40px;
  padding: 0 36px 0 38px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface) var(--caret) no-repeat right 14px center / 10px;
  color: var(--text);
  font: 600 .86rem var(--font);
  cursor: pointer;
}
.sort select option { background: var(--surface); }
.active-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.active-chips:empty { display: none; }

.empty-state {
  padding: 64px 24px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-2);
  background: rgba(255, 255, 255, .015);
  text-align: center;
  animation: fadeUp .5s var(--ease);
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-hi);
  font-size: 2rem;
}
.empty-state h3 { font-size: 1.5rem; font-style: italic; text-transform: uppercase; }
.empty-state p { max-width: 46ch; margin: 0 auto 22px; color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* --------------------------------------------------------------------------
   13. Formularios
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label,
.field > span:first-child { color: var(--text-2); font-size: .85rem; font-weight: 600; }
.optional { color: var(--muted); font-style: normal; font-weight: 400; }
.input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  color: var(--text);
  font: 500 .95rem var(--font);
  color-scheme: dark;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.input::placeholder { color: #61616B; }
.input:hover { border-color: rgba(255, 255, 255, .22); }
.input:focus { outline: none; border-color: var(--red); background: var(--surface); box-shadow: 0 0 0 4px var(--red-soft); }
.field--sm .input { height: 42px; padding: 0 10px; font-size: .84rem; }
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: var(--caret);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 11px;
  cursor: pointer;
}
.select option { background: var(--surface); color: var(--text); }
.textarea { height: auto; min-height: 110px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.input-icon { position: relative; }
.input-icon i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: var(--muted);
  font-size: 1.1rem;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color .25s;
}
.input-icon .input { padding-left: 44px; }
.input-icon:focus-within i { color: var(--red-hi); }
.field-error { display: none; align-items: center; gap: 6px; color: var(--err); font-size: .8rem; }
.field.has-error .field-error:not(:empty) { display: flex; }
.field.has-error .input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255, 90, 95, .12); }
.field.has-error { animation: shake .4s; }
.check { display: flex; align-items: flex-start; gap: 12px; color: var(--text-2); font-size: .9rem; line-height: 1.5; cursor: pointer; }
.check input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  background: var(--bg-2);
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check--row input { margin: 0; }
.check input::after {
  content: "";
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px) scale(0);
  transition: transform .2s var(--ease);
}
.check input:checked { border-color: var(--red); background: var(--red); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.field.has-error .check input { border-color: var(--err); }

/* --------------------------------------------------------------------------
   14. Calendario
   -------------------------------------------------------------------------- */
.cal {
  position: relative;
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-2);
  -webkit-user-select: none;
  user-select: none;
}
.cal-head {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.cal-nav {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  pointer-events: auto;
  transition: background-color .25s, border-color .25s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--red); background: var(--red); }
.cal-nav:disabled { opacity: .3; cursor: not-allowed; }
.cal-months { display: grid; grid-template-columns: repeat(var(--months, 1), minmax(0, 1fr)); gap: 28px; }
.cal-title {
  display: grid;
  place-items: center;
  height: 38px;
  margin-bottom: 10px;
  font: 700 1.02rem var(--display);
  letter-spacing: .02em;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 4px; }
.cal-dow span { padding: 6px 0; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.cal-day {
  position: relative;
  z-index: 0;
  display: grid;
  place-items: center;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: 600 .9rem var(--font);
}
.cal-day::before {
  content: "";
  position: absolute;
  inset: 2px 3px;
  z-index: -1;
  border-radius: 12px;
  transition: background-color .2s, box-shadow .2s;
}
.cal-day:not(:disabled):hover::before { background: var(--surface-3); }
.cal-day.is-today::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--red-hi);
}
.cal-day.is-past { color: #45454D; cursor: not-allowed; }
.cal-day.is-booked { color: #9A5A5E; cursor: not-allowed; }
.cal-day.is-booked span { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: rgba(227, 38, 43, .75); }
.cal-day.is-booked::before {
  border: 1px solid rgba(227, 38, 43, .2);
  background: repeating-linear-gradient(135deg, rgba(227, 38, 43, .16) 0 3px, transparent 3px 7px);
}
.cal-day.in-range { background: rgba(227, 38, 43, .16); }
.cal-day.has-range.is-start { background: linear-gradient(90deg, transparent 50%, rgba(227, 38, 43, .16) 50%); }
.cal-day.has-range.is-end { background: linear-gradient(90deg, rgba(227, 38, 43, .16) 50%, transparent 50%); }
.cal-day.is-start, .cal-day.is-end { color: #fff; }
.cal-day.is-start::before,
.cal-day.is-end::before { background: var(--grad-red) !important; box-shadow: 0 6px 18px -6px rgba(227, 38, 43, .9); }
.cal-day.in-hover { background: rgba(255, 255, 255, .06); }
.cal-day.hover-bad { background: rgba(255, 90, 95, .12); }
.cal-day.hover-bad.is-booked::before { border-color: var(--err); }
.cal--readonly .cal-day:disabled:not(.is-booked):not(.is-past) { color: var(--text); cursor: default; }
.cal--readonly .cal-day:not(.is-booked):not(.is-past)::before { background: rgba(43, 212, 125, .07); }
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg { width: 14px; height: 14px; border-radius: 4px; }
.lg--free { border: 1px solid var(--line-2); background: var(--surface-3); }
.cal--readonly .lg--free { border-color: rgba(43, 212, 125, .3); background: rgba(43, 212, 125, .18); }
.lg--booked { border: 1px solid rgba(227, 38, 43, .4); background: repeating-linear-gradient(135deg, rgba(227, 38, 43, .55) 0 2px, transparent 2px 5px); }
.lg--sel { background: var(--grad-red); }
.cal.shake { animation: shake .45s; }

/* --------------------------------------------------------------------------
   15. Detalle del vehículo
   -------------------------------------------------------------------------- */
.detail-page { padding-top: calc(var(--header-h) + 28px); }
#detailRoot > .breadcrumbs { margin-bottom: 20px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); }

.gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: opacity .3s, transform .6s var(--ease);
}
.gallery-main img.is-swapping { opacity: 0; transform: scale(1.04); }
.gallery-main .v-badge { top: 18px; left: 18px; }
.gallery-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 12, .55);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity .3s, background-color .3s, transform .3s var(--ease);
}
.gallery-prev { left: 16px; }
.gallery-next { right: 16px; }
.gallery-main:hover .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: var(--red); transform: scale(1.06); }
.gallery-zoom,
.gallery-count {
  position: absolute;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(10, 10, 12, .58);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 600 .82rem var(--font);
}
.gallery-zoom { right: 16px; padding: 9px 14px; transition: background-color .25s; }
.gallery-zoom:hover { background: var(--red); }
.gallery-count { left: 16px; padding: 7px 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 150px)); gap: 12px; margin-top: 12px; }
.gallery-thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  background: var(--surface);
  opacity: .55;
  transition: opacity .3s, border-color .3s, transform .3s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: .9; transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--red); opacity: 1; }

.detail-title { margin: 36px 0 8px; }
.detail-title h1 { margin: 6px 0 14px; font-size: clamp(2rem, 4.4vw, 3.4rem); font-style: italic; font-weight: 900; line-height: 1; text-transform: uppercase; }
.detail-year { color: var(--muted); font-size: .5em; font-style: normal; vertical-align: middle; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.detail-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: .86rem;
  font-weight: 600;
}
.detail-meta .ph-star { color: var(--star); }
.detail-meta .ph-map-pin { color: var(--red-hi); }
.detail-meta small { color: var(--muted); font-weight: 500; }
.color-dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); background: var(--c); }
.detail-section { margin-top: 44px; }
.detail-h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 1.4rem; font-style: italic; text-transform: uppercase; }
.detail-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.detail-section > .muted { margin-top: -8px; font-size: .92rem; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s, transform .3s var(--ease);
}
.spec:hover { border-color: var(--red-line); transform: translateY(-3px); }
.spec i { margin-bottom: 8px; color: var(--red-hi); font-size: 1.5rem; }
.spec small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.spec strong { font-size: 1rem; }
.feature-list, .included-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  color: var(--text-2);
  font-size: .92rem;
}
.feature-list i { color: var(--red-hi); font-size: 1.25rem; }
.included-list li { display: flex; align-items: center; gap: 12px; padding: 4px 0; color: var(--text-2); font-size: .94rem; }
.included-list i { color: var(--ok); font-size: 1.2rem; }

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 60% at 100% 0%, rgba(227, 38, 43, .2), transparent 60%), var(--surface);
  box-shadow: var(--shadow);
}
.price-card .eyebrow { margin-bottom: 0; }
.price-big { display: flex; align-items: baseline; gap: 6px; }
.price-big strong { font: italic 900 3rem/1 var(--display); }
.price-big span { color: var(--muted); }
.price-week { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ok); font-size: .86rem; }
.price-perks { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-block: 1px solid var(--line); }
.price-perks li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .9rem; }
.price-perks i { color: var(--red-hi); font-size: 1.15rem; }
.price-pay { display: flex; flex-direction: column; gap: 10px; color: var(--muted); font-size: .82rem; }
.price-note { display: flex; gap: 8px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.mobile-cta { display: none; }

.not-found { padding: 80px 0 40px; text-align: center; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); font-style: italic; text-transform: uppercase; }
.not-found p { color: var(--muted); }

.detail-skeleton .detail-layout { margin-top: 20px; }
.sk {
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.sk-line { width: 240px; height: 18px; border-radius: 8px; }
.sk-media { aspect-ratio: 16 / 10; }
.sk-card { height: 440px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(5, 5, 7, .96);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.lb-caption { margin-right: auto; font: italic 800 1.1rem var(--display); text-transform: uppercase; }
.lb-count { color: var(--muted); font-size: .85rem; }
.lb-close, .lb-nav {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 1.2rem;
  transition: background-color .25s;
}
.lb-close:hover, .lb-nav:hover { background: var(--red); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 0; padding: 0 20px; }
.lb-stage img {
  min-width: 0;
  max-width: min(100%, 1400px);
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  opacity: 0;
  transform: scale(.97);
  transition: opacity .35s, transform .45s var(--ease);
}
.lb-stage img.is-in { opacity: 1; transform: none; }
.lb-thumbs { display: flex; justify-content: center; gap: 10px; padding: 16px 20px 22px; overflow-x: auto; }
.lb-thumbs button {
  flex: none;
  overflow: hidden;
  width: 84px;
  aspect-ratio: 4 / 3;
  padding: 0;
  border-radius: 10px;
  border: 2px solid transparent;
  background: none;
  opacity: .5;
  transition: opacity .25s, border-color .25s;
}
.lb-thumbs button.is-active { border-color: var(--red); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   16. Wizard de reserva
   -------------------------------------------------------------------------- */
.booking-page { padding: calc(var(--header-h) + 32px) 0 clamp(64px, 8vw, 100px); }
.booking-head { margin-bottom: 30px; }
.booking-head .page-title { margin-top: 12px; }

.stepper { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 860px; margin: 0 auto 36px; }
.stepper-line { position: absolute; top: 24px; left: 10%; right: 10%; height: 2px; border-radius: 2px; background: var(--line-2); }
.stepper-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  border-radius: 2px;
  background: var(--grad-red);
  box-shadow: 0 0 12px rgba(227, 38, 43, .7);
  transition: width .7s var(--ease);
}
.step-dot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 600 .84rem var(--font);
}
.step-dot:disabled { cursor: default; }
.step-dot .dot {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--surface);
  font-size: 1.3rem;
  transition: background-color .4s, border-color .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.step-dot.is-done { color: var(--text-2); }
.step-dot.is-done .dot { border-color: var(--red); background: #2A0D10; color: var(--red-hi); }
.step-dot.is-current { color: #fff; }
.step-dot.is-current .dot {
  border-color: transparent;
  background: var(--grad-red);
  color: #fff;
  box-shadow: var(--glow), 0 0 0 6px rgba(227, 38, 43, .15);
  transform: scale(1.08);
}
.step-dot:not(:disabled):hover .dot { border-color: var(--red-hi); transform: translateY(-2px); }

.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.step-panel { display: none; }
.step-panel.is-active { display: block; animation: stepIn .55s var(--ease) both; }
.step-panel.is-active.from-back { animation-name: stepInBack; }
.panel-card { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.panel-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.panel-num {
  padding-right: .1em;
  background: var(--grad-red);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font: italic 900 2.4rem/1 var(--display);
}
.panel-head h2 { margin-bottom: 6px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-style: italic; text-transform: uppercase; }
.panel-head p { margin: 0; color: var(--muted); font-size: .94rem; }

.range-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 24px;
  padding: 14px 18px;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
  color: var(--muted);
  font-size: .92rem;
  text-align: center;
}
.range-info > i { color: var(--red-hi); font-size: 1.3rem; animation: nudge 1.6s ease-in-out infinite; }
.range-info.is-set {
  justify-content: space-between;
  border-style: solid;
  border-color: var(--red-line);
  background: linear-gradient(90deg, rgba(227, 38, 43, .1), transparent 50%, rgba(227, 38, 43, .1));
  color: var(--text);
  text-align: left;
  animation: fadeUp .4s var(--ease);
}
.ri-item { display: flex; align-items: center; gap: 12px; }
.ri-item:last-child { flex-direction: row-reverse; text-align: right; }
.ri-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); color: var(--red-hi); font-size: 1.15rem; }
.ri-item small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.ri-item strong { font-size: .98rem; text-transform: capitalize; }
.ri-days { padding: 6px 14px; border-radius: 999px; background: var(--grad-red); color: #fff; font: 700 .82rem var(--font); white-space: nowrap; }

.sub-title { margin: 28px 0 14px; color: var(--muted); font: 700 .78rem var(--font); letter-spacing: .14em; text-transform: uppercase; }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.loc-card, .extra, .pay-tab {
  position: relative;
  border-radius: var(--r);
  border: 1.5px solid var(--line-2);
  background: var(--bg-2);
  cursor: pointer;
  transition: border-color .25s, background-color .25s, transform .3s var(--ease);
}
.loc-card:hover, .extra:hover, .pay-tab:hover { border-color: rgba(255, 255, 255, .25); transform: translateY(-2px); }
.loc-card.is-on, .extra.is-on, .pay-tab.is-active { border-color: var(--red); background: linear-gradient(145deg, rgba(227, 38, 43, .15), transparent 70%); }
.loc-card input, .extra input { position: absolute; opacity: 0; pointer-events: none; }
.loc-card:has(input:focus-visible), .extra:has(input:focus-visible) { outline: 2px solid var(--red-hi); outline-offset: 2px; }
.loc-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.loc-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--red-hi);
  font-size: 1.3rem;
  transition: background-color .25s, color .25s;
}
.loc-card.is-on .loc-icon { background: var(--red); color: #fff; }
.loc-text strong { display: block; font-size: .95rem; line-height: 1.3; }
.loc-text small { color: var(--muted); font-size: .8rem; }
.loc-fee {
  position: absolute;
  top: 16px;
  right: 14px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  color: var(--text-2);
  font-size: .76rem;
  font-weight: 700;
}

.extras-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.extra { display: flex; align-items: flex-start; gap: 14px; padding: 18px 60px 18px 18px; }
.extra-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--red-hi);
  font-size: 1.4rem;
  transition: background-color .25s, color .25s;
}
.extra.is-on .extra-icon { background: var(--red); color: #fff; }
.extra-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.extra-text strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .96rem; }
.extra-text > small { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.extra-price { margin-top: 6px; color: #fff; font-size: .95rem; font-weight: 700; }
.extra-price small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(245, 184, 61, .15);
  color: var(--warn);
  font-size: .64rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.extra-toggle {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  transition: background-color .25s, border-color .25s, transform .45s var(--ease);
}
.extra-toggle i { grid-area: 1 / 1; transition: opacity .2s, transform .3s var(--ease); }
.extra-toggle .ph-check { opacity: 0; transform: scale(.4); }
.extra.is-on .extra-toggle { border-color: var(--red); background: var(--red); transform: rotate(360deg); }
.extra.is-on .extra-toggle .ph-plus { opacity: 0; transform: scale(.4); }
.extra.is-on .extra-toggle .ph-check { opacity: 1; transform: none; }

/* Pago */
.pay-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.pay-tab { display: flex; align-items: center; gap: 14px; padding: 18px; color: var(--text); text-align: left; }
.pay-tab-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--red-hi);
  font-size: 1.5rem;
}
.pay-tab-icon--pp { background: #fff; color: #003087; }
.pay-tab-text strong { display: block; font-size: 1rem; }
.pay-tab-text small { color: var(--muted); font-size: .8rem; }
.pay-check { margin-left: auto; color: var(--red-hi); font-size: 1.4rem; opacity: 0; transform: scale(.5); transition: opacity .25s, transform .35s var(--ease); }
.pay-tab.is-active .pay-check { opacity: 1; transform: none; }
.pay-panel { animation: fadeUp .45s var(--ease); }
.pay-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.pay-amount span { color: var(--muted); font-size: .9rem; }
.pay-amount strong { font: italic 900 1.8rem var(--display); }
.paypal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: #FFC439;
  color: #111;
  font: 700 1rem var(--font);
  transition: filter .25s, transform .25s var(--ease);
}
.paypal-btn:hover { filter: brightness(.95); transform: translateY(-2px); }
.paypal-btn--card { background: #2C2E2F; color: #fff; }
.paypal-btn--card i { font-size: 1.3rem; }
.pp-logo { font: italic 900 1.55rem/1 Inter, Arial, sans-serif; letter-spacing: -.02em; }
.pp-logo b { color: #003087; font-weight: 900; }
.pp-logo i { color: #009CDE; font-style: italic; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: var(--muted); font-size: .82rem; }
.secure-note i { color: var(--ok); }
.pay-ref {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(245, 184, 61, .28);
  background: rgba(245, 184, 61, .08);
  color: var(--text-2);
  font-size: .88rem;
}
.pay-ref i { color: var(--warn); }
.pay-ref strong { color: #fff; font: 800 1rem var(--font); letter-spacing: .08em; }
.bank-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.bank { padding: 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--bg-2); }
.bank-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bank-head strong { display: block; font-size: .95rem; }
.bank-head small { color: var(--muted); font-size: .78rem; }
.bank-logo { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: #fff; font: 800 .85rem var(--font); }
.bank-logo--bp { background: linear-gradient(135deg, #0B4EA2, #062E66); }
.bank-logo--br { background: linear-gradient(135deg, #00A3E0, #00609C); }
.bank dl { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.bank dl div { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .86rem; }
.bank dt { color: var(--muted); }
.bank dd { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 600; text-align: right; }
.copy-btn {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--text-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.copy-btn:hover { border-color: var(--red-line); color: #fff; }
.copy-btn.is-copied { border-color: var(--ok); background: var(--ok); color: #04220F; }
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  padding: 26px 20px;
  border-radius: var(--r);
  border: 1.5px dashed var(--line-2);
  background: rgba(255, 255, 255, .015);
  text-align: center;
  cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--red); background: var(--red-soft); }
.dropzone.has-file { border-style: solid; border-color: rgba(43, 212, 125, .5); }
.dz-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 6px; border-radius: 50%; background: var(--surface-2); color: var(--red-hi); font-size: 1.5rem; }
.dropzone small { color: var(--muted); font-size: .8rem; }
.dz-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 212, 125, .12);
  color: #8DF0BC;
  font-size: .82rem;
  font-weight: 600;
}

/* Zelle y Cash App */
.pay-tab-icon--zelle, .bank-logo--zelle { background: #6D1ED4; color: #fff; font: 900 1.35rem var(--font); }
.pay-tab-icon--cash, .bank-logo--cash { background: #00D64F; color: #fff; font: 900 1.35rem var(--font); }
.bank-logo--zelle, .bank-logo--cash { font-size: 1.15rem; }
.p2p { margin-bottom: 16px; }
.p2p-id { color: #fff; font-weight: 700; letter-spacing: .02em; }
.btn-cash { background: #00D64F; color: #fff; box-shadow: 0 12px 30px -12px rgba(0, 214, 79, .6); }
.btn-cash:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0, 214, 79, .75); }
.btn-cash i:last-child { margin-left: auto; }
.pay-steps-title { margin: 18px 0 10px; color: var(--muted); font: 700 .74rem var(--font); letter-spacing: .14em; text-transform: uppercase; }
.pay-steps { display: flex; flex-direction: column; gap: 10px; counter-reset: paystep; }
.pay-steps li { position: relative; display: flex; align-items: center; gap: 12px; color: var(--text-2); font-size: .9rem; counter-increment: paystep; }
.pay-steps li::before {
  content: counter(paystep);
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-hi);
  font: 800 .78rem var(--font);
}
.pay-manual { margin-top: 22px; padding-top: 22px; border-top: 1px dashed var(--line-2); animation: fadeUp .45s var(--ease); }
.pay-manual .pay-ref { margin-bottom: 16px; }
.pay-mark {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  font: 900 .7rem/1 var(--font);
  font-style: normal;
}
.pay-badges .pay-mark { color: #fff; font-size: .7rem; }
.pay-mark--zelle { background: #6D1ED4; }
.pay-mark--cash { background: #00D64F; }

/* Aeropuertos y promoción de rentas largas */
.loc-promo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: #8DF0BC;
  font-size: .74rem;
  font-style: normal;
  font-weight: 700;
}
.loc-fee--free { background: rgba(43, 212, 125, .14); color: #8DF0BC; }
.airport-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.airport-note i { color: var(--red-hi); font-size: 1rem; }
.airport-note.is-free { color: #8DF0BC; }
.airport-note.is-free i { color: var(--ok); }
.sum-hint--promo { margin-top: 8px; border: 1px dashed rgba(43, 212, 125, .35); background: rgba(43, 212, 125, .07); color: #8DF0BC; }
.sum-hint--promo i { color: var(--ok); font-size: 1.1rem; flex: none; }
.v-avail em { padding: 1px 7px; border-radius: 999px; background: rgba(43, 212, 125, .18); color: #fff; font-size: .72rem; font-style: normal; font-weight: 700; }

/* Confirmación */
.done { padding-block: 44px; text-align: center; }
.done-check { position: relative; width: 120px; height: 120px; margin: 0 auto 24px; }
.done-check svg { width: 100%; height: 100%; overflow: visible; }
.done-check .ring {
  fill: rgba(227, 38, 43, .1);
  stroke: var(--red);
  stroke-width: 4;
  stroke-dasharray: 330;
  stroke-dashoffset: 330;
  transform: rotate(-90deg);
  transform-box: fill-box;
  transform-origin: center;
  animation: drawLine .9s var(--ease) .1s forwards;
}
.done-check .tick {
  fill: none;
  stroke: #fff;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: drawLine .5s var(--ease) .8s forwards;
}
.confetti i {
  --a: calc(var(--i) * 20deg);
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  background: var(--red);
  opacity: 0;
  animation: confetti 1.4s var(--ease) 1s forwards;
}
.confetti i:nth-child(3n) { background: #fff; }
.confetti i:nth-child(3n + 1) { background: var(--warn); }
.done h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-style: italic; text-transform: uppercase; }
.done-sub { max-width: 54ch; margin: 0 auto 26px; color: var(--text-2); }
.done-code {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px 22px;
  border-radius: var(--r);
  border: 1.5px dashed var(--red-line);
  background: var(--red-soft);
}
.done-code small { color: var(--text-2); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.done-code strong { font: italic 900 1.6rem var(--display); letter-spacing: .1em; }
.done-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--line);
  text-align: left;
}
.done-grid > div { padding: 14px 18px; background: var(--bg-2); }
.done-grid small { display: block; margin-bottom: 4px; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.done-grid strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .95rem; }
.status { padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.status--ok { background: rgba(43, 212, 125, .15); color: #8DF0BC; }
.status--wait { background: rgba(245, 184, 61, .15); color: var(--warn); }
.done-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px 20px;
  border-radius: var(--r);
  border: 1px solid var(--red-line);
  background: linear-gradient(90deg, rgba(227, 38, 43, .16), rgba(227, 38, 43, .04));
}
.done-total span { font-weight: 600; }
.done-total strong { font: italic 900 1.9rem var(--display); }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.done-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 22px; }

.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.wizard-nav #wizNext { margin-left: auto; }

/* Resumen */
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-bar { display: none; }
.summary-card { overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.summary-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.summary-media img { width: 100%; height: 100%; object-fit: cover; }
.summary-media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(20, 20, 24, .95), transparent); }
.summary-body { padding: 20px 22px 22px; }
.summary-vehicle { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.summary-change { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 4px; }
.summary-change label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .78rem; font-weight: 600; }
.summary-change .input { height: 42px; font-size: .84rem; }
.summary-dates {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.summary-dates > div:last-child { text-align: right; }
.summary-dates small { display: block; color: var(--muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.summary-dates strong { display: block; font-size: 1rem; text-transform: capitalize; }
.summary-dates span { color: var(--text-2); font-size: .78rem; }
.summary-dates > i { color: var(--red-hi); }
.summary-loc { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--text-2); font-size: .86rem; }
.summary-loc i { color: var(--red-hi); }
.summary-rows { display: flex; flex-direction: column; gap: 2px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--text-2); font-size: .88rem; }
.sum-row span:last-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.sum-row--good span, .sum-row--good span:last-child { color: var(--ok); }
.sum-row--muted { color: var(--muted); }
.sum-hint { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); color: var(--muted); font-size: .86rem; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.sum-total span { font-weight: 700; }
.sum-total strong { font: italic 900 1.9rem var(--display); }
.sum-deposit { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.sum-deposit i { color: var(--ok); font-size: 1rem; }

/* Modal PayPal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .3s;
}
.modal.is-open { opacity: 1; }
.modal-card {
  overflow: hidden;
  width: min(380px, 100%);
  border-radius: 20px;
  background: #fff;
  color: #111;
  box-shadow: var(--shadow);
  transform: translateY(20px) scale(.96);
  transition: transform .4s var(--ease);
}
.modal.is-open .modal-card { transform: none; }
.pp-head { display: flex; justify-content: center; padding: 18px; border-bottom: 1px solid #E6E9EE; background: #F5F7FA; }
.pp-body { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 24px; text-align: center; }
.pp-body p { margin: 0; color: #2C2E2F; font-size: 1rem; font-weight: 600; }
.pp-body small { color: #6C7378; font-size: .9rem; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #E6E9EE; border-top-color: #0070BA; animation: spin .8s linear infinite; }
.pp-ok { color: #1EA362; font-size: 3rem; animation: popIn .5s var(--ease); }

/* --------------------------------------------------------------------------
   17. Contacto
   -------------------------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 32px; }
.c-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease);
}
.c-card:hover { border-color: var(--red-line); transform: translateY(-4px); }
.c-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red-hi);
  font-size: 1.5rem;
}
.c-card--wa .c-icon { background: rgba(37, 211, 102, .14); color: var(--wa); }
.c-card h3 { margin: 0; font: 700 1rem var(--font); }
.c-card p { margin: 0 0 8px; color: var(--text-2); font-size: .88rem; }
.c-break { word-break: break-all; }
.c-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--red-hi); font-size: .84rem; font-weight: 700; }
.c-link--live { color: #8DF0BC; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.card-title { margin-bottom: 6px; font-size: 1.7rem; font-style: italic; text-transform: uppercase; }
.contact-form-card .muted { margin-bottom: 24px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.form-success { padding: 48px 12px; text-align: center; animation: fadeUp .5s var(--ease); }
.success-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(43, 212, 125, .14);
  color: var(--ok);
  font-size: 2.4rem;
  animation: popIn .6s var(--ease);
}
.form-success h2 { font-size: 1.8rem; font-style: italic; text-transform: uppercase; }
.form-success p { color: var(--text-2); }
.map-card { position: relative; overflow: hidden; min-height: 520px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(.92) hue-rotate(180deg) saturate(.75) brightness(.95) contrast(.9);
}
.map-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: rgba(15, 15, 19, .9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.map-overlay .c-icon { margin: 0; background: var(--grad-red); color: #fff; }
.map-overlay-text { min-width: 0; margin-right: auto; }
.map-overlay-text strong { display: block; }
.map-overlay-text span { color: var(--muted); font-size: .82rem; }
.faq-teaser {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--red-line);
  background: linear-gradient(110deg, rgba(227, 38, 43, .15), var(--surface) 60%);
}
.faq-teaser .c-icon { margin: 0; }
.faq-teaser h3 { margin: 0 0 4px; font-size: 1.25rem; font-style: italic; text-transform: uppercase; }
.faq-teaser p { margin: 0; color: var(--muted); font-size: .92rem; }
.faq-teaser .cat-arrow { position: static; flex: none; margin-left: auto; }
.faq-teaser:hover .cat-arrow { background: var(--red); transform: translateX(4px); }

/* --------------------------------------------------------------------------
   18. Preguntas frecuentes
   -------------------------------------------------------------------------- */
.faq-search { position: relative; max-width: 620px; margin-top: 28px; }
.faq-search i { position: absolute; top: 50%; left: 22px; color: var(--red-hi); font-size: 1.3rem; pointer-events: none; transform: translateY(-50%); }
.faq-search input {
  width: 100%;
  height: 60px;
  padding: 0 22px 0 56px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 24, .78);
  backdrop-filter: blur(12px);
  color: var(--text);
  font: 500 1rem var(--font);
  transition: border-color .25s, box-shadow .25s;
}
.faq-search input:focus { outline: none; border-color: var(--red-line); box-shadow: 0 0 0 6px var(--red-soft); }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding-bottom: 4px; }
.faq-tabs::-webkit-scrollbar { display: none; }
.faq-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text-2);
  font: 600 .86rem var(--font);
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.faq-tab em { padding: 2px 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .72rem; font-style: normal; }
.faq-tab:hover { border-color: rgba(255, 255, 255, .25); color: #fff; }
.faq-tab.is-active { border-color: var(--red); background: var(--red); color: #fff; box-shadow: var(--glow); }
.faq-tab.is-active em { background: rgba(255, 255, 255, .22); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.acc-item { overflow: hidden; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s; }
.acc-item.is-open { border-color: var(--red-line); background: linear-gradient(160deg, rgba(227, 38, 43, .08), var(--surface) 55%); }
.acc-q { display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; border: 0; background: none; color: var(--text); text-align: left; }
.acc-q-main { display: flex; flex-direction: column; gap: 4px; margin-right: auto; }
.acc-cat { color: var(--red-hi); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.acc-text { font: 600 1.04rem/1.4 var(--font); }
.acc-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  transition: transform .4s var(--ease), background-color .3s, border-color .3s;
}
.acc-item.is-open .acc-icon { border-color: var(--red); background: var(--red); transform: rotate(135deg); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc-item.is-open .acc-a { grid-template-rows: 1fr; }
.acc-a > div { overflow: hidden; }
.acc-a p { margin: 0; padding: 0 22px 22px; color: var(--text-2); line-height: 1.7; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; }
.help-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 70% at 100% 0%, rgba(227, 38, 43, .2), transparent 60%), var(--surface);
}
.help-card .c-icon { margin: 0; }
.help-card h3 { margin: 4px 0 0; font-size: 1.4rem; font-style: italic; text-transform: uppercase; }
.help-card p { margin: 0 0 6px; color: var(--text-2); font-size: .92rem; }
.mini-badges { display: flex; flex-direction: column; gap: 10px; }
.mini-badge { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.mini-badge > i { color: var(--red-hi); font-size: 1.5rem; }
.mini-badge strong { display: block; font-size: .92rem; }
.mini-badge span { color: var(--muted); font-size: .8rem; }

/* --------------------------------------------------------------------------
   18b. Páginas de error (403, 404, 500, 503)
   -------------------------------------------------------------------------- */
.err-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 190px;
}
.err-hero .page-hero-bg img { filter: grayscale(.35); }
.err-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 45% at 50% 32%, rgba(227, 38, 43, .3), transparent 70%),
    linear-gradient(180deg, rgba(10, 10, 12, .9), rgba(10, 10, 12, .8) 55%, var(--bg));
}
.err-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.err-inner .lead { margin-inline: auto; }
.err-hero .pill { margin: 0 0 18px; }
.err-hero .pill > i { color: var(--red-hi); font-size: 1rem; }

.err-code {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font: italic 900 clamp(6.5rem, 21vw, 14rem)/.85 var(--display);
  letter-spacing: -.02em;
  -webkit-user-select: none;
  user-select: none;
}
.err-code > span { display: inline-block; animation: codeIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * 130ms + 100ms); }
.err-code > span:not(.err-zero) {
  padding: 0 .05em;
  background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, .3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.err-code .err-zero {
  position: relative;
  display: grid;
  place-items: center;
  width: .74em;
  height: .74em;
  margin: 0 .06em;
  border-radius: 50%;
  border: .08em solid var(--red);
  background: radial-gradient(circle, rgba(227, 38, 43, .28), rgba(10, 10, 12, .65) 70%);
  box-shadow: 0 0 60px rgba(227, 38, 43, .55), inset 0 0 30px rgba(227, 38, 43, .4);
  color: #fff;
  font-style: normal;
}
.err-zero::after {
  content: "";
  position: absolute;
  inset: -.13em;
  border-radius: 50%;
  border: 2px dashed rgba(227, 38, 43, .4);
  animation: spin 18s linear infinite;
}
.err-zero i { font-size: .42em; }
.err-zero--steer i { animation: steer 3s ease-in-out infinite; }
.err-zero--lock i { transform-origin: 50% 25%; animation: lockShake 2.8s ease-in-out infinite; }
.err-zero--gear i { animation: spin 4s linear infinite; }
.err-zero--gear-rev i { animation: spin 4s linear infinite reverse; }
.err-zero--wrench i { animation: wrench 2s ease-in-out infinite; }

.err-title { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); font-style: italic; font-weight: 900; line-height: .98; text-transform: uppercase; }
.err-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 30px; }
.err-path {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .85rem;
}
.err-path > i { color: var(--red-hi); }
.err-path code {
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, .06);
  color: var(--text-2);
  font: 500 .82rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap: anywhere;
}
.err-search { width: 100%; max-width: 640px; margin: 26px auto 0; }
.err-hint { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 26px 0 0; color: var(--muted); font-size: .9rem; }
.err-hint > i { color: var(--red-hi); font-size: 1.1rem; }

.err-incident {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4px 16px;
  width: min(100%, 460px);
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: var(--r);
  border: 1.5px dashed var(--red-line);
  background: var(--red-soft);
  text-align: left;
}
.err-incident small { display: block; color: var(--text-2); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.err-incident strong { font: italic 900 1.4rem var(--display); letter-spacing: .08em; }
.err-incident p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: .82rem; }

.err-maint {
  width: min(100%, 560px);
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: rgba(20, 20, 24, .8);
  backdrop-filter: blur(14px);
  text-align: left;
}
.err-progress-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; color: var(--muted); font-size: .82rem; }
.err-progress-head span:first-child { color: var(--text); font-weight: 600; }
.err-progress { position: relative; overflow: hidden; height: 8px; border-radius: 999px; background: var(--surface-3); }
.err-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  overflow: hidden;
  width: 68%;
  border-radius: inherit;
  background: var(--grad-red);
  box-shadow: 0 0 14px rgba(227, 38, 43, .7);
  animation: progressIn 2.2s var(--ease) .6s both;
}
.err-progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: translateX(-100%);
  animation: shine 1.8s ease-in-out infinite;
}
.err-status { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 14px; padding: 16px 0; border-block: 1px solid var(--line); }
.err-status li { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text-2); font-size: .9rem; }
.err-status li > span { display: inline-flex; align-items: center; gap: 10px; }
.err-status li i { color: var(--red-hi); font-size: 1.15rem; }
.err-status .status { font-style: normal; white-space: nowrap; }
.err-checked { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: .8rem; }
.err-checked i { animation: spin 2.5s linear infinite; }
.err-checked .sep { opacity: .6; }

/* Carretera animada */
.err-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 120px;
  background: linear-gradient(180deg, rgba(22, 22, 27, .95), #0B0B0E);
  pointer-events: none;
}
.err-road::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 56px;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .42) 0 46px, transparent 46px 92px);
  animation: lane .7s linear infinite;
}
.err-road::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad-red);
  box-shadow: 0 0 18px rgba(227, 38, 43, .85);
}
.err-road--blocked::before, .err-road--stopped::before { animation: none; }
.err-car {
  position: absolute;
  left: 0;
  bottom: calc(100% - 9px);
  color: #fff;
  font-size: 3.4rem;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)) drop-shadow(0 0 14px rgba(227, 38, 43, .55));
  animation: drive 8s linear infinite;
}
.err-road--blocked .err-car { animation: driveStop 2.8s cubic-bezier(.2, .7, .3, 1) .5s both; }
.err-car--stopped { left: calc(50% - 1.7rem); animation: idle .35s ease-in-out infinite alternate; }
.err-barrier {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 8px);
  color: var(--red-hi);
  font-size: 3.2rem;
  line-height: 1;
  translate: -50% 0;
  filter: drop-shadow(0 0 12px rgba(227, 38, 43, .8));
  animation: blink 1.4s ease-in-out infinite;
}
.err-cone {
  position: absolute;
  left: calc(50% + var(--x, 0px));
  bottom: calc(100% - 8px);
  color: #FF8A3D;
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 4px 10px rgba(255, 138, 61, .45));
}
.err-smoke { position: absolute; left: calc(50% + 1rem); bottom: calc(100% + 26px); }
.err-smoke i {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(200, 200, 210, .35);
  filter: blur(3px);
  opacity: 0;
  animation: smoke 2.6s ease-out infinite;
}
.err-smoke i:nth-child(2) { --sx: -14px; animation-delay: .65s; }
.err-smoke i:nth-child(3) { --sx: 18px; animation-delay: 1.3s; }
.err-smoke i:nth-child(4) { --sx: -4px; animation-delay: 1.95s; }

/* Enlaces útiles (404) */
.err-links-title { margin-bottom: 18px; color: var(--muted); font: 700 .78rem var(--font); letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.err-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.err-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .3s, transform .4s var(--ease);
}
.err-link:hover { border-color: var(--red-line); transform: translateY(-4px); }
.err-link .c-icon { margin: 0; }
.err-link div { flex: 1; min-width: 0; }
.err-link strong { display: block; font-size: .98rem; }
.err-link div span { color: var(--muted); font-size: .82rem; }
.err-link > i { color: var(--muted); transition: color .3s, transform .3s var(--ease); }
.err-link:hover > i { color: var(--red-hi); transform: translate(2px, -2px); }

@keyframes codeIn { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes steer { 0%, 100% { transform: rotate(-28deg); } 50% { transform: rotate(28deg); } }
@keyframes lockShake {
  0%, 62%, 100% { transform: rotate(0); }
  68% { transform: rotate(-14deg); }
  74% { transform: rotate(12deg); }
  80% { transform: rotate(-8deg); }
  86% { transform: rotate(4deg); }
}
@keyframes wrench { 0%, 100% { transform: rotate(-22deg); } 50% { transform: rotate(26deg); } }
@keyframes lane { to { background-position: -92px 0; } }
@keyframes drive { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes driveStop { from { transform: translateX(-140px); } to { transform: translateX(calc(50vw - 150px)); } }
@keyframes idle { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes smoke {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  20% { opacity: .85; }
  100% { opacity: 0; transform: translate(var(--sx, 10px), -80px) scale(2); }
}
@keyframes progressIn { from { width: 0; } }
@keyframes shine { to { transform: translateX(100%); } }

@media (max-width: 1024px) {
  .err-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .err-hero { padding-bottom: 140px; }
  .err-actions .btn { flex: 1 1 100%; }
  .err-links { grid-template-columns: minmax(0, 1fr); }
  .err-maint { padding: 18px; }
  .err-car { font-size: 2.8rem; }
  .err-cone { font-size: 1.8rem; }
}

/* --------------------------------------------------------------------------
   19. Keyframes
   -------------------------------------------------------------------------- */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(.55em) rotate(3deg); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes revealUp { from { opacity: 0; translate: 0 30px; } to { opacity: 1; translate: 0 0; } }
@keyframes revealLeft { from { opacity: 0; translate: -40px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes revealRight { from { opacity: 0; translate: 40px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes revealScale { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(43, 212, 125, .6); }
  70% { box-shadow: 0 0 0 10px rgba(43, 212, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 212, 125, 0); }
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes popIn { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
@keyframes stepIn { from { opacity: 0; translate: 30px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes stepInBack { from { opacity: 0; translate: -30px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes confetti {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--a)) translateY(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-120px) rotate(200deg); }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}
@keyframes sparkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.2) rotate(18deg); } }

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; }
  .footer-grid > .footer-col:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .footer-grid > .footer-col:last-child h4 { margin: 0; }
  .footer-sub { margin-top: 0; }
}

@media (max-width: 1140px) {
  .main-nav, .header-prefs { display: none; }
  .nav-toggle { display: block; }
  .header-actions { margin-left: auto; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .why-media { max-width: 620px; margin-inline: auto; width: 100%; }
  .why-media img { aspect-ratio: 4 / 3; }
  .testi-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .fleet-layout { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    max-height: 88vh;
    max-height: 88dvh;
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
    transform: translateY(105%);
    transition: transform .5s var(--ease);
  }
  .filters.is-open { transform: none; }
  .filters::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 4px;
    margin-left: -21px;
    border-radius: 4px;
    background: var(--line-2);
  }
  .filters-head { padding-top: 24px; }
  .filters-close { display: grid; }
  .filters-foot { display: block; }
  .filters-open { display: inline-flex; }
  .sheet-backdrop { display: block; }

  .detail-layout { grid-template-columns: minmax(0, 1fr); }
  .detail-aside { position: static; }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-2);
    background: rgba(15, 15, 19, .92);
    backdrop-filter: blur(16px);
    animation: slideUp .5s var(--ease) both;
  }
  .mobile-cta-price { display: flex; align-items: baseline; gap: 4px; margin-right: auto; }
  .mobile-cta-price strong { font: italic 900 1.5rem/1 var(--display); }
  .mobile-cta-price span { color: var(--muted); font-size: .82rem; }
  body[data-page="vehicle"] .wa-float { display: none; }
  body[data-page="vehicle"] .site-footer { padding-bottom: 110px; }

  .booking-layout { grid-template-columns: minmax(0, 1fr); }
  .summary {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 85;
    display: flex;
    flex-direction: column;
    max-height: 82vh;
    max-height: 82dvh;
    border-top: 1px solid var(--line-2);
    border-radius: 22px 22px 0 0;
    background: var(--bg-2);
    box-shadow: 0 -18px 50px rgba(0, 0, 0, .6);
    transform: translateY(calc(100% - 76px));
    transition: transform .5s var(--ease);
  }
  .summary.is-open { transform: none; }
  .summary-bar {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 76px;
    padding: 0 var(--gutter);
    border: 0;
    background: none;
    color: var(--text);
    text-align: left;
  }
  .summary-bar-label small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
  .summary-bar-label strong { font: italic 900 1.5rem/1.1 var(--display); }
  .summary-bar-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--surface-2);
    font-size: .85rem;
    font-weight: 600;
  }
  .summary-bar-toggle i { transition: transform .4s var(--ease); }
  .summary.is-open .summary-bar-toggle i { transform: rotate(180deg); }
  .summary-card { overflow-y: auto; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
  .summary-media { display: none; }
  .booking-page { padding-bottom: 130px; }
  .booking-done .summary { display: none; }
  .booking-done .booking-page { padding-bottom: 64px; }
  body[data-page="booking"] .wa-float { display: none; }

  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .map-card { min-height: 420px; }
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; padding-bottom: 72px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-card { display: none; }
  .scroll-cue { display: none; }
  .booking-bar { grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 24px; }
  .bb-field { background: rgba(255, 255, 255, .04); }
  .bb-field + .bb-field::before { display: none; }
  .bb-field:nth-child(3), .booking-bar > .btn { grid-column: 1 / -1; }
  .booking-bar > .btn { height: 56px; border-radius: 18px; }
}

@media (max-width: 768px) {
  .input, .smart-search input, .faq-search input, .bb-field input, .bb-field select { font-size: 16px; }
  .brand img { height: 47px; }
  .header-inner { gap: 12px; }
  .header-cta { width: 40px; padding: 0; }
  .header-cta span { display: none; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .stat { padding: 22px 14px; }

  .vehicle-grid--rail {
    grid-auto-flow: column;
    grid-auto-columns: min(84%, 340px);
    grid-template-columns: none;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 18px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .vehicle-grid--rail::-webkit-scrollbar { display: none; }
  .vehicle-grid--rail > * { scroll-snap-align: start; }

  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 2px 16px;
    align-items: center;
    padding: 18px;
    text-align: left;
  }
  .step-icon { grid-row: span 2; width: 52px; height: 52px; margin: 0; font-size: 1.4rem; }
  .step h3 { margin: 0; font-size: 1.1rem; }
  .why-media::after { display: none; }
  .why-float { left: 12px; bottom: 16px; padding: 12px 16px; }
  .why-float--2 { top: 16px; right: 12px; left: auto; bottom: auto; }
  .why-list { grid-template-columns: minmax(0, 1fr); }

  .smart-search { padding-left: 16px; }
  .smart-search .btn span { display: none; }
  .smart-search .btn { width: 50px; padding: 0; }

  .spec-grid { grid-template-columns: 1fr 1fr; }
  .feature-list, .included-list { grid-template-columns: minmax(0, 1fr); }
  .gallery-nav { width: 40px; height: 40px; opacity: 1; }
  .gallery-zoom span { display: none; }
  .gallery-thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

  .stepper .lbl { font-size: .72rem; }
  .step-dot .dot { width: 42px; height: 42px; font-size: 1.1rem; }
  .stepper-line { top: 20px; }
  .form-grid, .extras-grid, .loc-grid, .bank-list, .done-grid { grid-template-columns: minmax(0, 1fr); }
  .step-panel.is-active, .step-panel.is-active.from-back { animation-name: fadeUp; }
  .loc-card { flex-direction: row; align-items: center; padding-right: 90px; }
  .range-info.is-set { flex-wrap: wrap; justify-content: center; }
  .wizard-nav .btn { flex: 1; }

  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-cards > :last-child { grid-column: 1 / -1; }
  .map-overlay { flex-wrap: wrap; }
  .map-overlay .btn { width: 100%; }
  .faq-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .faq-teaser { flex-wrap: wrap; padding: 22px; }
  .faq-teaser .cat-arrow { display: none; }

  .promo { flex-wrap: wrap; }
  .promo .btn { width: 100%; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 1.75rem; }
  .wa-float-tip { display: none; }
}

@media (max-width: 560px) {
  .hero-ctas .btn { flex: 1 1 100%; }
  .booking-bar { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-card { min-height: 300px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid > .footer-col:last-child { display: block; }
  .footer-grid > .footer-col:last-child h4 { margin-bottom: 18px; }
  .footer-sub { margin-top: 26px; }
  .footer-bottom { flex-direction: column; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .pay-tabs { grid-template-columns: minmax(0, 1fr); }
  .pay-amount strong { font-size: 1.5rem; }
  .done-total strong { font-size: 1.5rem; }
  .cal { padding: 14px 10px; }
  .cal-head { top: 14px; left: 10px; right: 10px; }
  .cal-day { height: 40px; font-size: .86rem; }
  .cta-actions .btn { flex: 1 1 100%; }
  .panel-head { gap: 12px; }
  .panel-num { font-size: 1.9rem; }
  .empty-actions .btn { flex: 1 1 100%; }
  .lb-stage { padding: 0 8px; }
  .lb-nav { position: absolute; z-index: 1; width: 40px; height: 40px; background: rgba(10, 10, 12, .6); }
  .lb-prev { left: 14px; }
  .lb-next { right: 14px; }
}

/* --------------------------------------------------------------------------
   21. Accesibilidad e impresión
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; }
  .marquee-track, .wa-float::before, .pulse-dot { animation: none !important; }
}

@media print {
  body { background: #fff; color: #000; animation: none; }
  .preloader, .site-header, .site-footer, .wa-float, .stepper, .summary, .wizard-nav, .booking-head,
  .done-actions, .done-links, .toast-stack, .drawer, .confetti { display: none !important; }
  .booking-layout { display: block; }
  .panel-card { border: 0; background: #fff; }
  .done, .done * { color: #000 !important; -webkit-text-fill-color: #000; }
  .done-grid > div { background: #fff; }
  .done-grid, .done-total, .done-code { border-color: #999; background: #fff; }
}

/* Teléfonos muy angostos: el logo se reduce para que quepan el botón de reservar y el menú */
@media (max-width: 359px) {
  .brand img { height: 40px; }
}

/* Backend: avatar con foto, horario por día y aviso de errores del servidor */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.footer-hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 260px; color: var(--muted); font-size: .88rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.paypal-sdk { display: grid; gap: 10px; margin-top: 8px; min-height: 48px; }
