/* =====================================================================
   KOVOCAR — ESTILOS (rediseño "salón de exposición silencioso")
   Claro, mucho aire, un solo acento azul. Las fotos mandan.
   Todo sale de los tokens de :root. Contrastes calculados (WCAG 2.2 AA):
     ink #111315 / blanco 18,6 · slate #5A6068 / blanco 6,3 · azul #0A58CA / blanco 6,4
     borde de campo #7C838B / blanco 3,8 · error #B42318 / blanco 6,6
   ===================================================================== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --white: #fff;
  --fog: #f4f5f7;
  --ink: #111315;
  --slate: #5a6068;
  --blue: #0a58ca;
  --blue-dark: #084298;
  --field: #7c838b;
  --line: #e3e5e8;
  --night: #0b0d10;
  --night-text: #c9ced4;
  --focus-dark: #6ea8ff;
  --err: #b42318;
  --err-bg: #fdf0ee;
  --ok: #1d6b3a;

  --f: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --r-field: 12px; --r-card: 20px;
  --wrap: 1120px; --read: 680px;
  --header-h: 60px;

  --t-hero: clamp(2.5rem, 1.6rem + 4.2vw, 4.5rem);
  --t-h2: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --t-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  --t-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scroll-padding-bottom: 96px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss03";
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--focus-dark); }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -64px; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.fine { font-size: .875rem; color: var(--slate); line-height: 1.45; }
.muted { color: var(--slate); }

/* ---------- Títulos ---------- */
h1, h2, h3 { font-weight: 650; text-wrap: balance; }
h1 { font-size: var(--t-hero); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -0.01em; font-weight: 600; }
.lead { font-size: var(--t-lead); line-height: 1.45; color: var(--slate); max-width: 38em; text-wrap: pretty; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1.0625rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, transform .12s, border-color .18s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--field); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
/* el desenfoque va en un pseudoelemento: un backdrop-filter en la cabecera encerraría al menú móvil (position: fixed) */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-height: 44px; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; }
.brand-word { font-weight: 650; font-size: 1.1875rem; letter-spacing: -0.02em; }
.nav { display: flex; gap: var(--s5); }
.nav a { color: var(--ink); text-decoration: none; font-size: .9375rem; min-height: 44px; display: inline-flex; align-items: center; opacity: .82; }
.nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.lang { display: inline-flex; gap: 2px; }
.lang button { min-width: 44px; min-height: 44px; border: 0; background: none; border-radius: 999px; cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--slate); }
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--fog); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 999px; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.menu-btn span:first-child { top: 17px; } .menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Secciones ---------- */
.section { padding-block: var(--s10); }
.section.alt { background: var(--fog); }
.sec-head { display: grid; gap: var(--s4); margin-bottom: var(--s8); max-width: var(--read); }

/* ---------- Foto (o espacio reservado) ---------- */
.photo { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; background: var(--fog); aspect-ratio: 3 / 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--slate); text-align: center; padding: 16px;
  background: #eceef1; }
.photo-ph svg { width: 44px; height: 44px; stroke: var(--field); }
.photo-ph b { font-weight: 600; font-size: .9375rem; color: var(--slate); }
.photo-ph small { font-size: .8125rem; color: var(--slate); }

/* ---------- Hero ---------- */
.hero { padding-top: var(--s8); text-align: center; }
.hero-copy { display: grid; gap: var(--s5); justify-items: center; }
.hero-copy h1 { max-width: 14em; }
.hero-copy .lead { margin-inline: auto; }
.hero-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: .9375rem; color: var(--slate); font-weight: 500; }
.hero-media { margin-top: var(--s6); }
.photo-hero { aspect-ratio: 16 / 5.4; border-radius: 28px; }
.photo-hero.intro { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Barra de viaje ---------- */
.trip-wrap { position: relative; z-index: 2; margin-top: -48px; padding-bottom: var(--s5); }
.trip {
  display: grid; grid-template-columns: 1fr 1fr 1.1fr 1.1fr auto; gap: 0; align-items: stretch; text-align: left;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 40px rgba(17,19,21,.10); padding: 10px;
}
.tf { display: grid; align-content: center; gap: 2px; padding: 10px 18px; position: relative; min-width: 0; }
.tf + .tf::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--line); }
.tf label, .tf .tf-k { font-size: .8125rem; font-weight: 600; color: var(--slate); }
.tf input, .tf select { border: 0; background: transparent; padding: 4px 0; min-height: 44px; font-size: 1.0625rem; font-weight: 500; width: 100%; border-radius: 8px; }
.tf select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.tf-price strong { font-size: 1.375rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.2; transition: opacity .2s; }
.tf-price small { font-size: .8125rem; color: var(--slate); }
.trip .btn { align-self: center; margin-left: 8px; }
.trip-msg { grid-column: 1 / -1; color: var(--err); font-size: .9375rem; padding: 8px 18px 4px; font-weight: 500; }
.trip-note { text-align: center; margin-top: var(--s4); }

.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 48px; padding-block: var(--s7) 0; font-size: .9375rem; color: var(--slate); text-align: center; }
.facts li { display: grid; gap: 2px; }
.facts b { color: var(--ink); font-weight: 600; font-size: 1.0625rem; }

/* ---------- Flota ---------- */
.fleet { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.car { display: grid; gap: var(--s5); align-content: start; }
.car-body { display: grid; gap: var(--s4); }
.car-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.car-title small { color: var(--slate); font-size: .9375rem; }
.car-tagline { color: var(--slate); }
.specs { display: flex; gap: var(--s6); flex-wrap: wrap; padding-block: var(--s2); }
.specs div { display: grid; gap: 2px; }
.specs dt { font-size: .8125rem; color: var(--slate); font-weight: 500; }
.specs dd { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.specs dd small { font-size: .9375rem; font-weight: 500; color: var(--slate); margin-left: 3px; letter-spacing: 0; }
.car-meta { font-size: .875rem; color: var(--slate); }
.car-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; padding-top: var(--s2); }
.car-price { display: grid; line-height: 1.25; }
.car-price strong { font-size: 1.75rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.car-price strong span { font-size: 1rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.car-price small { font-size: .875rem; color: var(--slate); }
.fleet + .fine { margin-top: var(--s7); max-width: var(--read); }

/* ---------- Precios ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.pcard { background: var(--white); border-radius: var(--r-card); padding: var(--s6); display: grid; gap: var(--s5); }
.pcard h3 small { display: block; font-size: .9375rem; color: var(--slate); font-weight: 400; margin-top: 4px; letter-spacing: 0; }
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.rates div { display: grid; gap: 2px; align-content: start; }
.rates dt { font-size: .875rem; color: var(--slate); font-weight: 500; }
.rates dd { font-size: 1.75rem; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.rates dd + dd { font-size: .875rem; font-weight: 400; color: var(--slate); letter-spacing: 0; }
.includes { margin-top: var(--s7); display: grid; gap: var(--s4); }
.includes h3 { font-size: 1.1875rem; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px var(--s6); }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); }
.checks li::after { content: ""; position: absolute; left: 6px; top: .5em; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.notice { margin-top: var(--s5); padding: 14px 18px; border-radius: 12px; background: #fff2c2; color: #5c4400; font-size: .9375rem; max-width: var(--read); }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); counter-reset: st; }
.steps li { display: grid; gap: var(--s3); align-content: start; }
.steps li::before { counter-increment: st; content: counter(st); width: 36px; height: 36px; border-radius: 50%; background: var(--fog); display: grid; place-items: center; font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--slate); font-size: 1rem; }

/* ---------- Reserva ---------- */
.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s7); align-items: start; }
.book-main { grid-column: 1; grid-row: 1; }
.summary { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 24px); background: var(--white); border-radius: var(--r-card); padding: var(--s6); display: grid; gap: var(--s4); }
.summary h3 { font-size: 1.1875rem; }
.summary dl { display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: var(--s4); font-size: 1rem; }
.summary dt { color: var(--slate); }
.summary dd { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.summary .total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); align-items: baseline; }
.summary .total dt { color: var(--ink); font-weight: 600; }
.summary .total dd { font-size: 1.875rem; font-weight: 650; letter-spacing: -0.02em; }
.summary .fine { margin: 0; }
.book-card { background: var(--white); border-radius: var(--r-card); padding: var(--s6); display: grid; gap: var(--s6); }

#booking-form { display: grid; gap: var(--s6); }
.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.stepper li { display: grid; gap: 8px; font-size: .9375rem; color: var(--slate); font-weight: 500; }
.stepper li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.stepper li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.stepper li[aria-current="step"]::before, .stepper li.done::before { background: var(--blue); }
.step-title { font-size: 1.5rem; }
.step { display: grid; gap: var(--s5); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.row.dt { grid-template-columns: 1fr 140px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--field); border-radius: var(--r-field); background: var(--white); font-size: 1.0625rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%), linear-gradient(135deg, var(--slate) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.err { color: var(--err); font-size: .9375rem; font-weight: 500; display: flex; gap: 8px; align-items: flex-start; }
.err::before { content: "!"; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--err); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.review { display: grid; gap: var(--s4); }
.review section { background: var(--fog); border-radius: 16px; padding: var(--s5); display: grid; gap: 10px; }
.review h4 { margin: 0; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.review h4 button { background: none; border: 0; color: var(--blue); font-weight: 600; cursor: pointer; min-height: 44px; padding: 0 4px; font-size: .9375rem; }
.review dl { display: grid; gap: 6px; font-size: 1rem; }
.review dl div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; }
.review dt { color: var(--slate); }
.review dd { overflow-wrap: anywhere; }

.check { display: flex; gap: 14px; align-items: flex-start; }
.check input { appearance: none; flex: none; width: 28px; height: 28px; margin: 0; border: 1.5px solid var(--field); border-radius: 8px; background: var(--white); cursor: pointer; display: grid; place-content: center; }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { content: ""; width: 7px; height: 13px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check label { cursor: pointer; padding-block: 3px; }
.check.invalid input { border-color: var(--err); }

.form-error { color: var(--err); background: var(--err-bg); border-radius: 12px; padding: 14px 16px; font-weight: 500; }
.form-error a { color: var(--err); font-weight: 600; }
.step-actions { display: flex; gap: var(--s3); justify-content: space-between; align-items: center; flex-wrap: wrap; }
.step-actions .btn-primary { margin-left: auto; min-width: 200px; }

.confirm { display: grid; gap: var(--s5); justify-items: start; padding: var(--s3) 0; }
.confirm:focus { outline: none; }
.confirm h3 { font-size: 2rem; }
.confirm .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.confirm .tick svg { width: 28px; height: 28px; }
.confirm .not { font-weight: 650; font-size: 1.25rem; }
.confirm .ref { background: var(--fog); border-radius: 12px; padding: 12px 18px; font-size: 1rem; }
.confirm .ref strong { font-size: 1.25rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- Condiciones ---------- */
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s8); }
.terms div { display: grid; gap: 6px; align-content: start; }
.terms dt { font-weight: 600; font-size: 1.125rem; }
.terms dd { color: var(--slate); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s8); align-items: start; }
.faq-grid .sec-head { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.125rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--slate); }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s5); }
.contact-item { background: var(--fog); border-radius: var(--r-card); padding: var(--s6); display: grid; gap: 8px; align-content: start; }
.contact-item .label { font-size: .875rem; font-weight: 600; color: var(--slate); }
.contact-item .big { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: anywhere; color: var(--ink); text-decoration: none; }
.contact-item a.big { color: var(--blue); display: inline-flex; align-items: center; min-height: 44px; }
.copy { justify-self: start; background: none; border: 0; padding: 0 2px; min-height: 44px; color: var(--blue); font-weight: 600; cursor: pointer; }

.closing { padding-block: var(--s9); text-align: center; border-top: 1px solid var(--line); }
.closing .wrap { display: grid; gap: var(--s5); justify-items: center; }
.closing p { font-size: var(--t-h3); font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Legal ---------- */
.legal { padding-block: 48px 96px; }
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h1 { font-size: 2.5rem; }
.prose h3 { font-size: 1.125rem; margin-top: 12px; }
.prose p, .prose li { color: var(--slate); }
.prose ul { padding-left: 20px; margin: 0; display: grid; gap: 6px; list-style: disc; }
.prose > div { display: grid; gap: 12px; }
.back { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--fog); padding-block: var(--s8); font-size: .9375rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s6); align-items: start; }
.footer-inner .brand-word { font-size: 1.1875rem; }
.footer-links { display: grid; gap: 0; }
.footer-links a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { text-decoration: underline; }
.small { font-size: .875rem; }

/* ---------- Barra móvil ---------- */
.mobile-bar { display: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1020px) {
  .trip { grid-template-columns: 1fr 1fr; gap: 0; border-radius: 24px; }
  .tf + .tf::before { display: none; }
  .tf { padding: 10px 14px; }
  .tf-model, .tf-price { grid-column: 1 / -1; }
  .tf-price { flex-direction: row; }
  .trip .btn { grid-column: 1 / -1; margin: 6px 4px 4px; min-height: 56px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .summary { grid-column: 1; grid-row: 1; position: static; }
  .book-main { grid-column: 1; grid-row: 2; }
  .faq-grid { grid-template-columns: 1fr; gap: var(--s6); }
  .faq-grid .sec-head { position: static; }
}
@media (max-width: 820px) {
  :root { --header-h: 56px; }
  .section { padding-block: var(--s8); }
  .sec-head { margin-bottom: var(--s6); }
  .fleet, .price-grid, .terms, .checks { grid-template-columns: 1fr; }
  .terms { gap: var(--s5); }
  .footer-inner { grid-template-columns: 1fr; }
  .hero { padding-top: var(--s7); }
  .hero-media { margin-top: var(--s6); }
  .hero-media.wrap { width: 100%; }
  .photo-hero { border-radius: 0; aspect-ratio: 16 / 9; }
  .trip-wrap { margin-top: -32px; }
  .menu-btn { display: block; }
  .hide-sm { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); flex-direction: column; gap: 0; padding: var(--s5) 20px var(--s9);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; overflow-y: auto;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .nav a { font-size: 1.625rem; font-weight: 600; min-height: 60px; opacity: 1; border-bottom: 1px solid var(--line); }
  .book-card, .summary { padding: var(--s5); }
  .row { grid-template-columns: 1fr; }
  .row.dt { grid-template-columns: 1fr 120px; }
  .step-actions .btn { flex: 1; min-width: 0; }
  .step-actions .btn-primary { min-width: 0; }
  .mobile-bar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transition: transform .25s;
  }
  .mobile-bar .btn { flex: 1; }
  .mobile-bar .wa { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--field); display: grid; place-items: center; }
  body.bar-off .mobile-bar { transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  body { padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .rates { gap: var(--s3); }
  .rates dd { font-size: 1.375rem; }
  .steps { grid-template-columns: 1fr; }
  .specs { gap: var(--s5); }
  .review dl div { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
@media (forced-colors: active) {
  .btn-primary { border-color: ButtonText; }
  .stepper li::before { background: GrayText; }
}

/* =====================================================================
   RONDA 2 · pulido visual
   ===================================================================== */
.hero { display: flex; flex-direction: column; padding-top: var(--s7); }
.hero-copy { order: 1; gap: var(--s4); }
.hero-points { order: 2; margin-top: var(--s4); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.hero-media { order: 3; margin-top: var(--s5); }
.trip-wrap { order: 4; margin-top: -40px; padding-bottom: var(--s4); }
.facts { order: 5; padding-block: var(--s5) 0; }
.photo-hero { aspect-ratio: 16 / 4.6; }

/* placeholder con la K de Kovocar */
.photo-ph svg { fill: var(--ink); stroke: none; width: 40px; height: 40px; opacity: .9; }

/* fecha en formato español bajo el selector */
.fmt { font-size: .8125rem; color: var(--slate); min-height: 1.2em; text-transform: capitalize; }
.fmt:empty { display: none; }
.field .fmt { display: block; margin-top: 4px; }

/* oficina única */
.office { margin: 0; padding: 14px 16px; background: var(--fog); border-radius: 12px; color: var(--ink); font-weight: 500; font-size: .9375rem; }

/* autonomía */
.meter { display: block; height: 4px; border-radius: 2px; background: var(--line); margin-top: 6px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--blue); border-radius: 2px; }
.pcard .link-arrow { margin-top: var(--s3); }

@media (max-width: 820px) {
  .hero { padding-top: var(--s5); }
  .hero-copy { order: 1; gap: var(--s3); }
  .hero h1, .hero-copy h1 { font-size: clamp(2rem, 1.4rem + 3.4vw, 2.5rem); }
  .hero-copy .lead { font-size: 1.0625rem; }
  .trip-wrap { order: 2; margin-top: var(--s5); padding-bottom: 0; }
  .trip-note { margin-top: var(--s3); }
  .hero-points { order: 3; margin-top: var(--s4); gap: 6px 18px; }
  .hero-media { order: 4; margin-top: var(--s5); }
  .photo-hero { aspect-ratio: 16 / 7; }
  .facts { order: 5; padding-block: var(--s5) 0; }
  .tf { padding: 6px 12px; }
  .tf-price { padding-block: 6px; }
}

/* =====================================================================
   RONDA 3 · catálogo multimarca
   ===================================================================== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s6); }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--field); background: var(--white); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: .8125rem; font-weight: 600; color: var(--slate); background: var(--fog); padding: 4px 10px; border-radius: 999px; }
.fleet .car[hidden] { display: none; }
.fleet:has(> .car:only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.fleet > p { grid-column: 1 / -1; }
@media (max-width: 820px) { .fleet:has(> .car:only-child) { grid-template-columns: 1fr; } }
