/* HCC Sport Cars — web nueva (demo)
   Layout: cabecera fija, secciones a 1240px máx., tarjetas sobre fondo asfalto; móvil con barra de acción inferior.
   Tema único oscuro (deliberado). */
:root {
  --bg: #0D0D0F;
  --surface: #17171B;
  --surface-2: #1F1F25;
  --line: #2A2A30;
  --line-strong: #3A3A42;
  --fg: #F2F0EC;
  --fg-soft: #D6D3CD;
  --muted: #A9A6A0;
  --faint: #77746F;
  --red: #D8261C;
  --red-hover: #B51E15;
  --red-text: #FF6A5F;
  --red-tint: #2A1210;
  --ok: #1E7A45;
  --ok-tint: #12261A;
  --ok-text: #B9F0CB;
  --blue: #1F4E8C;
  --warn-tint: #2A2312;
  --warn-line: #6B5A1F;
  --warn-text: #F3E3B5;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --body: 'Barlow', 'Segoe UI', Helvetica, sans-serif;
  --radius: 8px;
  --wrap: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--red-text); }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1; margin: 0; text-wrap: balance; letter-spacing: .01em; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 32px; }
@media (max-width: 640px) { .wrap { padding-inline: 16px; } }

/* ---------- Demo strip ---------- */
.demo-strip { background: var(--warn-tint); color: var(--warn-text); border-bottom: 1px solid var(--warn-line); font-size: 13px; text-align: center; padding: 6px 16px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(13,13,15,.9); backdrop-filter: blur(10px); border-bottom: 1px solid #222228; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; }
.logo img { height: 40px; width: auto; }
@media (max-width: 640px) { .logo img { height: 32px; } }
.logo b { font-family: var(--display); font-weight: 700; font-style: italic; font-size: 30px; letter-spacing: .04em; }
.logo span { font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: .3em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; }
.nav a[aria-current="page"] { color: var(--red-text); }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: 6px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 1100px) {
  .menu-btn { display: flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: 4px; padding: 14px 26px; min-height: 44px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: background .2s ease; }
.btn:hover { background: var(--red-hover); color: #fff; }
.btn.sm { padding: 9px 20px; font-size: 16px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--red-text); font-weight: 600; }

/* ---------- Type helpers ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red-text); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--red); }
.h-xl { font-size: clamp(36px, 8.6vw, 92px); line-height: .94; }
.h-l { font-size: clamp(38px, 5vw, 58px); }
.h-m { font-size: 30px; }
.h-s { font-size: 24px; }
.lead { font-size: 19px; color: var(--fg-soft); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.section { padding-block: 88px 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head > div { display: flex; flex-direction: column; gap: 8px; }
.page-head { padding-block: 56px 8px; display: flex; flex-direction: column; gap: 12px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center; }
.hero > img, .hero-media { position: absolute; inset: 0; }
.hero > img, .hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,15,.94) 0%, rgba(13,13,15,.6) 45%, rgba(13,13,15,.05) 80%); }
.hero .wrap { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; padding-block: 96px; width: 100%; }
.hero h1 { max-width: 780px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-note { position: absolute; right: 24px; bottom: 18px; z-index: 1; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 640px) { .hero { min-height: 520px; } .hero::after { background: linear-gradient(0deg, rgba(13,13,15,.96) 25%, rgba(13,13,15,.3) 85%); } .hero .wrap { justify-content: flex-end; padding-block: 48px 32px; } .hero-note { display: none; } }

/* ---------- Strip of facts ---------- */
.facts { border-bottom: 1px solid #222228; }
/* 4 columnas iguales con el texto centrado: cada frase queda en el centro de su columna */
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; padding-block: 26px; align-items: start; text-align: center; }
@media (max-width: 900px) { .facts .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts b { display: block; font-family: var(--display); font-size: 32px; line-height: 1.1; }
.facts span { color: var(--muted); font-size: 15px; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid.five { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s ease; }
.card:hover { border-color: var(--red); color: var(--fg); }
.card .media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .media img { transform: scale(1.05); }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card h3 { font-weight: 600; font-size: 28px; line-height: 1.05; }
.card .desc { color: var(--muted); font-size: 15px; flex-grow: 1; }
.card .foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; }
.price { font-family: var(--display); font-weight: 700; font-size: 32px; color: var(--fg); font-variant-numeric: tabular-nums; }
.tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .12em; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; }
.tag.light { background: var(--fg); color: var(--bg); }

.car { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.car img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.car:hover img { transform: scale(1.05); }
.car .cap { position: absolute; inset: auto 0 0 0; padding: 48px 18px 16px; background: linear-gradient(0deg, rgba(0,0,0,.88), rgba(0,0,0,0)); }
.car .cap b { display: block; font-family: var(--display); font-weight: 700; font-size: 26px; text-transform: uppercase; color: #fff; }
.car .cap span { font-size: 14px; color: var(--fg-soft); }
.car .pill { position: absolute; top: 12px; right: 12px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--surface-2); color: var(--fg-soft); border: 1px solid var(--line-strong); }
.pill.ok { background: var(--ok-tint); color: var(--ok-text); border-color: var(--ok); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 640px) { .panel { padding: 20px; } }

/* ---------- Steps (cómo funciona) ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: s; }
.step { border-top: 2px solid var(--red); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--red-text); }

/* ---------- Sedes ---------- */
.sede { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sede img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.sede .body { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.sede .row { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .sede { grid-template-columns: 1fr; } .sede img { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- Chips / options ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { background: var(--bg); border: 2px solid var(--line); border-radius: 6px; padding: 10px 16px; min-height: 44px; cursor: pointer; text-align: left; transition: border-color .2s ease, background .2s ease; }
.opt:hover { border-color: var(--red); }
.opt[aria-pressed="true"] { background: var(--red-tint); border-color: var(--red); }
.opt .t { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.opt .s { display: block; font-size: 13px; color: var(--muted); }
.opt.media { padding: 0; overflow: hidden; }
.opt.media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.opt.media .t { padding: 10px 14px; font-size: 20px; }
.opt-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
.opt-grid.cars { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.opt-grid.km { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.opt-grid.km .opt { text-align: center; padding: 8px 4px; }
.opt[hidden] { display: none; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px; color: var(--fg); padding: 12px 14px; min-height: 46px; font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field.full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--fg-soft); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: 0 0 auto; }
.note-ok { display: flex; align-items: center; gap: 10px; background: var(--ok-tint); border: 1px solid var(--ok); border-radius: 6px; padding: 12px 14px; font-size: 15px; color: var(--ok-text); }
.note-warn { background: var(--warn-tint); border: 1px solid var(--warn-line); border-radius: 6px; padding: 14px; font-size: 15px; color: var(--warn-text); }
.note-red { font-size: 14px; color: #FFB4AD; }

/* ---------- Two column layouts ---------- */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split > .main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > .side { flex: 1 1 320px; min-width: 0; }
.sticky-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
@media (max-width: 960px) { .sticky-side { position: static; } }

/* ---------- Summary ---------- */
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.summary .body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.kv { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { text-align: right; }

/* ---------- Calendar ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head b { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .08em; }
.icon-btn { width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong); border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.cal .dow { font-size: 13px; color: var(--muted); }
.day { height: 44px; border-radius: 6px; border: 1px solid transparent; background: none; font-weight: 600; font-size: 15px; color: var(--faint); font-variant-numeric: tabular-nums; }
.day.free { background: var(--ok); border-color: var(--ok); color: #fff; cursor: pointer; }
.day.free:hover { border-color: #fff; }
.day.full { border-color: var(--line-strong); color: var(--faint); text-decoration: line-through; }
.day.other { background: var(--blue); border-color: var(--blue); color: #fff; }
.day.sel { background: #2FA35F; border: 2px solid #fff; color: #fff; box-shadow: 0 0 0 2px var(--ok); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hours .opt { text-align: center; }

/* ---------- Spec table ---------- */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs div { background: var(--surface); padding: 16px 18px; }
.specs span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.specs b { font-family: var(--display); font-size: 26px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 28px; color: var(--red-text); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { padding: 0 4px 18px; color: var(--muted); max-width: 70ch; }

/* ---------- Pay methods ---------- */
.pay-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pay-tabs .opt { text-align: center; }

/* ---------- Ticket (confirmación) ---------- */
.ticket { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; max-width: 760px; }
.ticket .top { background: var(--red); color: #fff; padding: 22px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.ticket .code { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ticket .body { padding: 26px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; background: #08080A; border-top: 3px solid var(--red); }
.site-footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 52px 28px; }
.site-footer .col { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-footer .col b { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.site-footer .legal { border-top: 1px solid #1C1C21; padding-block: 18px 28px; font-size: 13px; color: var(--faint); }

/* ---------- Mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 640px) {
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: rgba(13,13,15,.96); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1 1 auto; padding: 12px; font-size: 17px; }
  .mbar .wa { flex: 0 0 52px; background: var(--ok); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #fff; }
  body { padding-bottom: 76px; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 6px; font-weight: 600; z-index: 80; }

/* ---------- v2 ---------- */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fgroup { display: flex; flex-direction: column; gap: 10px; }
.big-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.big-photo img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumbs img { aspect-ratio: 16 / 10; }
.list { margin: 0; padding-left: 18px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg .opt { font-weight: 600; }
.opt.static { cursor: default; text-align: center; }
.opt.static:hover { border-color: var(--line); }
.tramo { display: flex; flex-direction: column; gap: 8px; }
.tramo + .tramo { margin-top: 14px; }
.tramo-n { font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .06em; }
.tramo-full { color: var(--faint); font-size: 15px; padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: 6px; }
.day.full { background: var(--red-tint); border-color: var(--red); color: #FFB4AD; text-decoration: none; }
.dia-txt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 6px; background: var(--ok-tint); border: 1px solid var(--ok); font-size: 15px; }
.dia-txt b { text-transform: capitalize; }
.dia-txt span { color: var(--ok-text); }
.dia-txt.full { background: var(--red-tint); border-color: var(--red); }
.dia-txt.full span { color: #FFB4AD; }
.dudas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-left: 0; border-radius: var(--radius); padding: 24px 28px; box-shadow: inset 0 3px 0 var(--red); }
.dudas.compact { padding: 18px 20px; }
.dudas-t { display: flex; gap: 14px; align-items: flex-start; min-width: 0; flex: 1 1 260px; }
.dudas-ico { color: var(--red-text); margin-top: 4px; }
.dudas-b { display: flex; flex-wrap: wrap; gap: 10px; }
.dudas.compact .dudas-b { width: 100%; }
.grupos { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 380px; }
.grupos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grupos::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,15,.95) 0%, rgba(13,13,15,.7) 50%, rgba(13,13,15,.15) 100%); }
.grupos-t { position: relative; z-index: 1; padding: 48px; display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.grupos:hover { color: var(--fg); }
@media (max-width: 640px) { .grupos-t { padding: 28px 20px; } }
@media (max-width: 640px) { .facts b { font-size: 24px; } }
.aviso-legal { background: #8E140E; color: #fff; border-radius: 6px; padding: 12px 16px; font-size: 15px; line-height: 1.45; text-align: center; }
.aviso-legal b { color: #fff; }
.aviso-check { background: var(--red-tint); border: 1px solid var(--red); border-radius: 6px; padding: 14px; }

/* ---------- v4: animaciones, parallax, FAQ ---------- */
.hero-media[data-parallax], .grupos img[data-parallax] { will-change: transform; transform-origin: center; }
.btn { position: relative; overflow: hidden; isolation: isolate; transition: background .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(216,38,28,.75); background: linear-gradient(135deg, #E8372B, #A5170F); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn[disabled]:hover { transform: none; box-shadow: none; }
.card { position: relative; transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease; }
.card::before { content: ''; position: absolute; inset: 0; top: auto; height: 0; z-index: 1; pointer-events: none; background: linear-gradient(165deg, rgba(216,38,28,.32) 0%, rgba(216,38,28,.10) 45%, rgba(216,38,28,0) 75%); opacity: 0; transition: opacity .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(216,38,28,.55); }
.card:hover::before { opacity: 1; }
.card .tag { z-index: 2; }
.opt { transition: border-color .25s ease, background .25s ease, transform .2s ease; }
.opt:hover { background: linear-gradient(135deg, rgba(216,38,28,.42), rgba(216,38,28,.08)); border-color: var(--red); }
.opt:hover:not(.static):not(.media) { transform: translateY(-1px); }
.opt.static:hover { background: var(--bg); transform: none; }
.panel[href] { transition: border-color .25s ease, background .25s ease; }
.panel[href]:hover { border-color: var(--red); background: linear-gradient(160deg, rgba(216,38,28,.22), var(--surface) 60%); color: var(--fg); }
.dudas-ico svg { width: 26px; height: 26px; }
.faq-tools { display: flex; flex-direction: column; gap: 16px; margin: 24px 0 8px; }
.faq-search { max-width: 520px; }
.faq-sec { padding-top: 40px; scroll-margin-top: 90px; }
.faq-sec h2 { margin-bottom: 14px; }
.faq-a { padding: 0 4px 20px; color: var(--fg-soft); max-width: 75ch; }
.faq-a > .pasos, .faq-a > .aviso, .faq-a > .btnres, .faq-a > .faq-fechas { margin-top: 12px; }
.faq-a b { color: var(--fg); }
.faq-a a:not(.btnres):not(.pill) { color: var(--red-text); text-decoration: underline; }
.faq-a .pasos { margin: 4px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.faq-a .aviso { background: #8E140E; color: #fff; border-radius: 6px; padding: 12px 14px; font-size: 15px; }
.faq-a .aviso b { color: #fff; }
.faq-a .peq { font-size: 14px; color: var(--muted); }
.faq-a .btnres { display: inline-flex; background: var(--red); color: #fff; padding: 10px 18px; border-radius: 4px; font-family: var(--display); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background .25s ease, transform .25s ease; }
.faq-a .btnres:hover { background: linear-gradient(135deg, #E8372B, #A5170F); transform: translateY(-2px); color: #fff; }
.faq-fechas { display: flex; flex-direction: column; gap: 14px; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .card:hover { transform: none; } }
.lang { display: flex; gap: 4px; margin-left: 6px; }
.lang button { background: none; border: 1px solid var(--line-strong); color: var(--muted); border-radius: 4px; padding: 6px 8px; min-height: 32px; font: 600 13px var(--body); letter-spacing: .06em; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.lang button:hover { background: linear-gradient(135deg, rgba(216,38,28,.45), rgba(216,38,28,.1)); color: var(--fg); border-color: var(--red); }
.lang button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 1100px) { .lang { margin: 14px 0 0; } .lang button { min-height: 40px; padding: 8px 14px; } }

/* ---------- v8: luces de la portada (PC) ---------- */
.hero-fx { position: absolute; pointer-events: none; }
.fx { position: absolute; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; mix-blend-mode: screen; animation: var(--d) infinite var(--dl, 0s); }
.fx.farola { width: var(--s); height: var(--s); background: radial-gradient(circle, rgba(255,226,160,.95) 0%, rgba(255,190,100,.45) 28%, rgba(255,160,60,0) 70%); animation-name: farola; }
.fx.avion { width: .5em; height: .5em; background: radial-gradient(circle, #fff 0%, #ff3b2f 35%, rgba(255,40,30,0) 72%); box-shadow: 0 0 .6em .2em rgba(255,40,30,.55); opacity: 0; animation-name: avion; animation-timing-function: steps(1, end); }
.fx.avion.blanco { background: radial-gradient(circle, #fff 0%, #dff2ff 40%, rgba(255,255,255,0) 75%); box-shadow: 0 0 .9em .3em rgba(220,240,255,.7); animation-name: estrobo; }
.fx.ventana { width: .32em; height: .32em; background: #ffd98a; box-shadow: 0 0 .35em .1em rgba(255,200,110,.7); opacity: 0; animation-name: ventana; }
@keyframes farola { 0%, 100% { opacity: .55; } 18% { opacity: .7; } 40% { opacity: .6; } 41% { opacity: .3; } 43% { opacity: .68; } 70% { opacity: .5; } 85% { opacity: .72; } }
@keyframes avion { 0% { opacity: 1; } 45% { opacity: 0; } 100% { opacity: 0; } }
@keyframes estrobo { 0% { opacity: 1; } 6% { opacity: 0; } 14% { opacity: 1; } 20% { opacity: 0; } 100% { opacity: 0; } }
@keyframes ventana { 0%, 100% { opacity: 0; } 15%, 55% { opacity: .9; } 70% { opacity: 0; } }
@media (max-width: 640px), (prefers-reduced-motion: reduce) { .hero-fx { display: none; } }

/* v9: portada más alta en PC para que no se corten los coches */
@media (min-width: 641px) { .hero { min-height: 0; height: clamp(520px, 40vw, 85vh); } }
@media (min-width: 641px) {
  .hero { align-items: flex-start; }
  .hero .wrap { padding-block: clamp(40px, 6vw, 88px) 48px; gap: 18px; }
  .hero::after { background: linear-gradient(180deg, rgba(13,13,15,.82) 0%, rgba(13,13,15,.45) 38%, rgba(13,13,15,0) 58%, rgba(13,13,15,0) 85%, rgba(13,13,15,.55) 100%), linear-gradient(90deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,0) 45%); }
  .hero h1 { font-size: clamp(44px, 5.4vw, 84px); max-width: 1000px; }
}
/* v11: botones de contorno con fondo gris translúcido (legibles sobre fotos) */
/* Botón de contorno: gris translúcido que se rellena de rojo de izquierda a derecha */
.btn.ghost { border: 1px solid rgba(255,255,255,.6); background-color: rgba(70,70,78,.55); background-image: linear-gradient(135deg, #E8372B, #A5170F); background-repeat: no-repeat; background-position: left center; background-size: 0% 100%; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-size .35s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.btn.ghost:hover { background-size: 100% 100%; border-color: var(--red); background-color: rgba(70,70,78,.55); }

/* ---------- v16: FAQ con paneles, títulos ámbar y temas como botones ---------- */
:root { --amber: #F2C46D; --amber-soft: rgba(242,196,109,.14); }
.faq-temas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 10px; }
.faq-tema { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; min-height: 52px; border-radius: 10px; border: 1px solid #34343C; background: linear-gradient(145deg, #26262D 0%, #17171B 100%); color: var(--fg); font-weight: 600; font-size: 15px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.8); transition: transform .2s ease, border-color .25s ease, background .3s ease, box-shadow .25s ease; }
.faq-tema b { flex: 0 0 auto; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--amber); background: var(--amber-soft); }
.faq-tema:hover { color: #fff; transform: translateY(-2px); border-color: var(--red); background: linear-gradient(145deg, rgba(216,38,28,.45) 0%, rgba(216,38,28,.12) 55%, #17171B 100%); box-shadow: 0 12px 24px -12px rgba(216,38,28,.6); }
.faq-sec { margin-top: 28px; padding: 26px 28px 10px; border: 1px solid #2A2A30; border-radius: 14px; background: linear-gradient(160deg, #1C1C22 0%, #141418 55%, #111114 100%); }
@media (max-width: 640px) { .faq-sec { padding: 20px 16px 6px; } }
.faq-sec h2 { color: var(--amber); display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.faq-sec h2::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--red), var(--amber)); }
.faq-sec .faq { border-top: 0; }
.faq-sec details { border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 8px; transition: background .3s ease; }
.faq-sec details:last-child { border-bottom: 0; }
.faq-sec summary { padding: 16px 12px; border-radius: 8px; transition: background .25s ease, color .25s ease; }
.faq-sec summary:hover { background: linear-gradient(90deg, rgba(216,38,28,.22), rgba(216,38,28,0) 75%); }
.faq-sec summary::after { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; border: 1px solid rgba(255,106,95,.45); transition: background .25s ease, color .25s ease; }
.faq-sec summary:hover::after { background: var(--red); color: #fff; border-color: var(--red); }
.faq-sec details[open] { background: linear-gradient(180deg, rgba(242,196,109,.07), rgba(242,196,109,0) 80%); }
.faq-sec details[open] summary { color: var(--amber); }
.faq-sec .faq-a { padding: 0 12px 20px; }
/* v17: botones de temas FAQ en petróleo */
.faq-tema { background: linear-gradient(145deg, #0F3A3F 0%, #071A1D 100%); border-color: #1A5960; }
.faq-tema:hover { border-color: #fff; filter: brightness(1.35); background: linear-gradient(145deg, #0F3A3F 0%, #071A1D 100%); }
.faq-tema, .faq-tema:hover { color: var(--amber); }
.dudas-b .btn.ghost { color: #F5D58E; } .dudas-b .btn.ghost:hover { color: #fff; }

/* Caja "regalo sorpresa" del paso 5 (como en la web antigua) */
.regalo-box { display: flex; gap: 18px; align-items: flex-start; background: var(--warn-tint); border: 1px solid var(--warn-line); border-radius: 14px; padding: 18px 20px; }
.regalo-ico { flex: 0 0 auto; margin-top: 2px; }
.regalo-txt { display: flex; flex-direction: column; gap: 6px; color: var(--warn-text); font-size: 15px; }
.regalo-tit { color: var(--amber); font-size: 18px; }
.regalo-txt .check { margin-top: 6px; color: var(--warn-text); }
@media (max-width: 480px) { .regalo-box { padding: 14px; gap: 12px; } .regalo-ico { width: 40px; height: 40px; } }

/* Resumen de próximas fechas (como el FAQ antiguo) */
.resumen { display: flex; flex-direction: column; gap: 10px; }
.res-sede { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.res-sede[open] { border-color: var(--amber); }
.res-sede > summary { cursor: pointer; padding: 14px 16px; list-style: none; display: flex; align-items: baseline; gap: 8px; }
.res-sede > summary::-webkit-details-marker { display: none; }
.res-sede > summary::before { content: '▸'; color: var(--amber); transition: transform .2s; }
.res-sede[open] > summary::before { transform: rotate(90deg); }
.res-lista { display: flex; flex-direction: column; }
.res-fila { display: grid; grid-template-columns: minmax(110px, 1fr) 1fr; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); color: var(--fg-soft); }
.res-fila b { color: var(--fg); }
.res-fila:hover { background: var(--amber-soft); }
.res-vacia { padding: 10px 16px 14px; }

/* Paso 3: km agrupados (Bautizos · Rutas · Extra largas) */
.km-grupos { display: flex; flex-direction: column; gap: 14px; }
.km-grupo { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; }
.km-tit { font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--amber); }
@media (max-width: 560px) { .km-grupo { grid-template-columns: 1fr; gap: 6px; } }

/* Paso 3: botón de vehículo con la foto entera y el nombre encima (fondo 20 % transparente) */
.opt-grid.cars .opt.media { position: relative; }
.opt-grid.cars .opt.media img { aspect-ratio: 16 / 9; display: block; transition: transform .35s ease; }
.opt-grid.cars .opt.media:hover img { transform: scale(1.04); }
.opt-grid.cars .opt.media .t { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(14, 14, 16, .8); color: #fff; }
.opt-grid.cars .opt.media[aria-pressed="true"] .t { background: rgba(216, 38, 28, .8); }

/* Tarjetas: al pasar el ratón se ilumina el panel de texto en rojo, la foto no */
.card::before { display: none; }
.card .body { position: relative; }
.card .body::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(165deg, rgba(216,38,28,.32) 0%, rgba(216,38,28,.10) 45%, rgba(216,38,28,0) 75%); opacity: 0; transition: opacity .35s ease; }
.card:hover .body::before { opacity: 1; }
.card .body > * { position: relative; }

/* Botón Reservar del menú: texto amarillo suave */
.nav .btn.nav-res { color: #FFE14D; }

/* Portada: texto bajo el titular, un punto más grande y más blanco */
.hero .lead { font-size: 20px; color: #F4F4F6; text-shadow: 0 1px 14px rgba(0,0,0,.65); }

/* Bloque de reseñas (portada) */
.resenas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 28px; padding: 16px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--fg); text-align: center; transition: border-color .25s ease; }
.resenas:hover { border-color: var(--amber); }
.resenas b { font-size: 20px; }
.resenas-txt { color: var(--fg-soft); }
.estrellas { position: relative; display: inline-block; font-size: 22px; line-height: 1; letter-spacing: 2px; }
.estrellas .e-fondo { color: #3A3A42; }
.estrellas .e-llenas { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: #F2C46D; }

/* Reseñas: brillo verde suave */
.resenas { border-color: rgba(46, 139, 87, .65); box-shadow: 0 0 28px rgba(46, 139, 87, .30), inset 0 0 22px rgba(46, 139, 87, .08); transition: border-color .25s ease, box-shadow .25s ease; }
.resenas:hover { border-color: rgba(60, 170, 105, .95); box-shadow: 0 0 40px rgba(46, 139, 87, .50), inset 0 0 26px rgba(46, 139, 87, .12); }

/* WhatsApp: texto e icono verde oscuro, sin brillo */
.btn.wa-btn, .dudas-b .btn.ghost.wa-btn { color: #2E8B57; }
.btn.wa-btn:hover, .dudas-b .btn.ghost.wa-btn:hover { color: #fff; }
.btn svg { vertical-align: -4px; }
@media (max-width: 640px) { .mbar .wa { background: var(--surface); border: 1px solid rgba(46, 139, 87, .55); color: #2E8B57; } }

/* Paso 3: descripción a la derecha de cada grupo de km y aviso de ampliación */
.km-fila { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.km-desc { color: var(--fg-soft); font-size: 14px; font-style: italic; }
.km-amplia { margin: 4px 0 0; padding: 10px 14px; border-left: 3px solid var(--amber); background: var(--amber-soft); border-radius: 0 6px 6px 0; font-size: 14px; color: var(--fg-soft); }

/* Pago: extra del vídeo */
.extra-video { padding: 14px; border: 1px solid var(--warn-line); background: var(--warn-tint); border-radius: 8px; }
.extra-precio { color: #F5D58E; font-weight: 700; }
.extra-oferta { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 99px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------- carrito (v42) ---------- */
.nav-cart { position: relative; display: inline-flex; align-items: center; gap: 6px; color: var(--fg); }
.nav-cart[hidden] { display: none; }
.nav-cart b { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 13px; line-height: 22px; text-align: center; letter-spacing: 0; }
.cart-linea { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto 32px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-linea img { width: 96px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.cart-info { display: flex; flex-direction: column; gap: 6px; }
.cart-info .check { font-size: 14px; }
.cart-cant { display: inline-flex; align-items: center; gap: 10px; }
.cart-cant .icon-btn { width: 36px; height: 36px; font-size: 20px; color: var(--fg); }
.cart-cant b { min-width: 18px; text-align: center; }
.cart-imp { font-family: var(--display); font-size: 22px; white-space: nowrap; }
.cart-x { width: 32px; height: 32px; background: none; border: 0; color: var(--faint); font-size: 24px; cursor: pointer; border-radius: 6px; }
.cart-x:hover { color: var(--red-text); }
@media (max-width: 640px) {
  .cart-linea { grid-template-columns: 72px minmax(0, 1fr) 32px; gap: 10px 12px; }
  .cart-linea img { width: 72px; grid-column: 1; grid-row: 1 / 3; align-self: start; }
  .cart-info { grid-column: 2; grid-row: 1; }
  .cart-cant { grid-column: 2; grid-row: 2; }
  .cart-imp { grid-column: 2 / 4; grid-row: 2; justify-self: end; font-size: 20px; }
  .cart-x { grid-column: 3; grid-row: 1; align-self: start; }
}
.cupon-fila { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cupon-fila .code { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .08em; color: var(--fg); min-width: 15ch; }

/* ---------- código de descuento (v45) ---------- */
.desc-box { display: flex; gap: 8px; }
.desc-box input { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-strong); border-radius: 6px; color: var(--fg); padding: 10px 12px; min-height: 42px; font-size: 15px; text-transform: uppercase; }
.desc-box input::placeholder { text-transform: none; }
.desc-box input:disabled { opacity: .7; }
.ok-txt { color: #5BD08A; }
.err-txt { color: var(--red-text); }
