/* WBE RENT – portada de elección */
:root {
  --ink: #14181f; --ink-2: #4b5563; --paper: #eef0f3; --card: #fff; --line: #d5dae1;
  --dark: #0e0e10; --accent: #d71920; --accent-dark: #b3141a; --green: #1f8a43; --focus: #1a5fd0;
  --radius: 16px; --maxw: 1160px; --shadow: 0 10px 30px rgba(14,14,16,.14);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  margin: 0; background: var(--paper); color: var(--ink); line-height: 1.6;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 800px) { .container { padding: 0 24px; } }

/* ---------- Barra superior ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--dark); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.topbar-in { max-width: var(--maxw); margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .04em; }
.brand img { border-radius: 8px; }
.langs { display: flex; gap: 6px; }
.langs a { min-width: 44px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; text-decoration: none; font-weight: 700; font-size: .875rem; }
.langs a[aria-current="true"] { background: #fff; color: var(--dark); border-color: #fff; }
.langs a:hover { background: rgba(255,255,255,.15); }
.langs a[aria-current="true"]:hover { background: #fff; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 10px; border: 2px solid transparent; font-weight: 800; font-size: 1rem; text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s; }
.btn span { transition: transform .2s; }
.btn:hover span { transform: translateX(5px); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn-red { background: var(--accent); color: #fff; }
.btn-red:hover { background: var(--accent-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2a2a30; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #f1f1f1; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--dark); min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform-origin: 60% 50%; will-change: opacity, transform; animation: heroFade 18s linear infinite; }
.hero-slide:nth-child(1) { animation-name: heroFade1; opacity: .6; }
.hero-slide:nth-child(2) { animation-delay: 6s; }
.hero-slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade { 0% { opacity: 0; transform: scale(1); } 8% { opacity: .6; } 33% { opacity: .6; } 41% { opacity: 0; } 50% { transform: scale(1.12); } 100% { opacity: 0; transform: scale(1.12); } }
@keyframes heroFade1 { 0% { opacity: .6; transform: scale(1); } 33% { opacity: .6; } 41% { opacity: 0; } 50% { transform: scale(1.12); } 92% { opacity: 0; transform: scale(1.12); } 93% { transform: scale(1); } 100% { opacity: .6; transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,14,16,.6) 0%, rgba(14,14,16,.25) 45%, rgba(14,14,16,.9) 100%); }
.hero-in { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 56px 16px 110px; }
@media (min-width: 800px) { .hero-in { padding: 80px 24px 130px; } }
.kicker { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero h1 { max-width: 14ch; margin-bottom: 14px; font-size: clamp(2.5rem, 9vw, 5.25rem); font-weight: 800; letter-spacing: -.02em; }
.hero-lead { max-width: 44ch; margin-bottom: 30px; font-size: clamp(1.0625rem, 2.6vw, 1.375rem); color: rgba(255,255,255,.9); }
.kicker, .hero h1, .hero-lead, .choice { animation: riseIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .1s; } .hero-lead { animation-delay: .22s; } .choice { animation-delay: .36s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Los dos botones grandes de elección */
.choice { display: grid; gap: 14px; max-width: 820px; }
@media (min-width: 700px) { .choice { grid-template-columns: 1fr 1fr; } }
.choice-btn {
  position: relative; display: grid; gap: 2px; padding: 20px 64px 20px 22px; border-radius: var(--radius);
  text-decoration: none; overflow: hidden; border: 2px solid transparent;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.choice-btn::before { /* destello que cruza el botón */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg);
  animation: shine 5s ease-in-out 1.5s infinite;
}
@keyframes shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.choice-btn--es { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(215,25,32,.45); }
.choice-btn--ww { background: #fff; color: var(--dark); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.choice-btn:hover { transform: translateY(-5px) scale(1.01); }
.choice-btn--es:hover { background: var(--accent-dark); }
.choice-btn--ww:hover { background: #f4f4f4; }
.choice-tag { font-size: .75rem; font-weight: 800; letter-spacing: .16em; opacity: .85; }
.choice-title { font-size: clamp(1.1875rem, 3.4vw, 1.5rem); font-weight: 800; line-height: 1.2; }
.choice-sub { font-size: .9375rem; opacity: .85; }
.choice-arrow { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.75rem; font-weight: 800; transition: transform .25s; }
.choice-btn:hover .choice-arrow { transform: translate(6px, -50%); }

.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; color: #fff; text-decoration: none; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.scroll-cue i { width: 18px; height: 18px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(8px) rotate(45deg); } }
@media (max-width: 520px) { .scroll-cue span { display: none; } }

/* ---------- Secciones ---------- */
.section { padding: 64px 0; }
@media (min-width: 800px) { .section { padding: 96px 0; } }
.section--white { background: #fff; }
.section-head { max-width: 62ch; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--ink-2); font-size: 1.125rem; margin: 0; }

.cards { display: grid; gap: 24px; }
@media (min-width: 900px) { .cards { grid-template-columns: 1fr 1fr; gap: 32px; } }
.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(14,14,16,.2); }
.card-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #dfe2e7; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.card:hover .card-img img { transform: scale(1.07); }
.card-tag { position: absolute; left: 16px; top: 16px; background: var(--dark); color: #fff; padding: 6px 14px; border-radius: 999px; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.card--es .card-tag { background: var(--accent); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-body h3 { font-size: 1.625rem; font-weight: 800; margin-bottom: 8px; }
.card-body > p { color: var(--ink-2); }
.ticks { list-style: none; margin: 4px 0 24px; padding: 0; display: grid; gap: 10px; flex: 1; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 3px); width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.card-body .btn { align-self: flex-start; }

/* ---------- Cifras ---------- */
.stats { background: var(--dark); color: #fff; padding: 40px 0; }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 800px) { .stats-in { grid-template-columns: repeat(4, 1fr); } }
.stat strong { display: block; font-size: clamp(2.25rem, 7vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.stat span:last-child { color: rgba(255,255,255,.8); font-size: .9375rem; }

/* ---------- Motos (carrusel infinito) ---------- */
.marquee { overflow: hidden; padding: 8px 0 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; margin: 0; padding: 0 9px; list-style: none; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee:focus .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.bike { flex: none; width: 260px; }
.bike a { display: block; height: 100%; text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 18px; transition: transform .25s, box-shadow .25s, background .25s; }
.bike a:hover, .bike a:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.bike-img { display: grid; place-items: center; aspect-ratio: 13 / 9; margin-bottom: 10px; }
.bike-img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s; }
.bike a:hover .bike-img img { transform: scale(1.08) translateX(6px); }
.bike-name { display: block; font-weight: 800; }
.bike-price { display: block; font-size: .9rem; color: var(--ink-2); }
.bike-price strong { color: var(--accent); font-size: 1.125rem; }
.fine { text-align: center; font-size: .875rem; color: var(--ink-2); margin: 8px 0 20px; }
.center { text-align: center; }

/* ---------- Pasos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .25s, box-shadow .25s; }
.steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.125rem; }
.steps h3 { font-size: 1.1875rem; font-weight: 800; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--ink-2); }

/* ---------- Cierre ---------- */
.final { position: relative; overflow: hidden; background: var(--dark); color: #fff; padding: 80px 0; text-align: center; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.12); } }
.final::after { content: ""; position: absolute; inset: 0; background: rgba(14,14,16,.55); }
.final-in { position: relative; z-index: 1; max-width: 780px; }
.final h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); font-weight: 800; margin-bottom: 14px; }
.final p { color: rgba(255,255,255,.88); font-size: 1.125rem; margin-bottom: 28px; }
.choice--small { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: none; animation: none; }

/* ---------- Pie ---------- */
.footer { background: var(--dark); color: rgba(255,255,255,.85); }
.footer-in { max-width: var(--maxw); margin: 0 auto; padding: 44px 16px 28px; display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-in { grid-template-columns: 1.1fr 1.6fr 1fr; padding: 56px 24px 32px; } }
.footer .brand { color: #fff; }
.footer h2 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 16px; text-align: center; font-size: .875rem; color: rgba(255,255,255,.65); }

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(36px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slide, .choice-btn::before, .scroll-cue i, .final-bg { animation: none !important; }
  .hero-slide:nth-child(n+2) { display: none; }
  .kicker, .hero h1, .hero-lead, .choice { animation: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none !important; }
  .bike[aria-hidden="true"] { display: none; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Gestor de cookies ---------- */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.cc[hidden] { display: none; }
.cc-box { max-width: 880px; margin: 0 auto; background: var(--dark); color: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 12px 40px rgba(0,0,0,.45); max-height: calc(100vh - 24px); overflow-y: auto; }
.cc h2 { font-size: 1.0625rem; margin: 0 0 8px; }
.cc p { margin: 0 0 12px; font-size: .9rem; line-height: 1.55; color: #d6d9de; }
.cc a { color: #fff; text-decoration: underline; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cc-actions .btn { flex: 1 1 140px; border: 1px solid rgba(255,255,255,.45); background: #2a2a30; }
.cc-actions .btn:hover { background: #3a3a42; }
.cc [hidden] { display: none; }
.cc-cat { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.cc-cat p { margin: 6px 0 0; }
.cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cc-on { font-size: .8rem; font-weight: 700; color: #7be0a1; }
.cc-switch { position: relative; display: inline-block; width: 48px; height: 28px; flex: none; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.cc-slider { position: absolute; inset: 0; border-radius: 28px; background: #5b6068; transition: background .15s; }
.cc-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cc-switch input:checked + .cc-slider { background: var(--green); }
.cc-switch input:checked + .cc-slider::after { transform: translateX(20px); }
.cc-switch input:focus-visible + .cc-slider, .cc button:focus-visible, .cc a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.footer-bottom .link-btn, .link-btn { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.cookie-table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .9rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap { overflow-x: auto; }
.footer-legal { display: block; margin-top: 6px; }
.footer-bottom a, .footer-bottom .link-btn { color: inherit; }

/* ---------- Páginas legales ---------- */
.legal-hero { background: var(--dark); color: #fff; padding: 48px 0 40px; }
.legal-hero h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.375rem; font-weight: 800; margin: 1.8em 0 .5em; }
.prose .lead { font-size: 1.125rem; color: var(--ink-2); }
.prose p .btn { margin: 0 8px 8px 0; }

.cta-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
