:root {
  --bg: #07080b;
  --fg: #f2f2f4;
  --muted: #9a9aa2;
  --accent: #ff3b1f;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }


.track { height: 600vh; position: relative; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden; background: #0a0a0c; }
.layers { position: absolute; inset: 0; }
.layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: transform, opacity; }
.glow {
  position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0,0,0,.45), transparent 45%);
}
.vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 60% 50%, transparent 55%, rgba(0,0,0,.55) 100%);
}
#hud { position: absolute; inset: 0; pointer-events: none; transition: opacity .3s; }
#hud a { pointer-events: auto; }
#hud h1, #hud .tagline { transition: opacity .26s, transform .26s; }
#hud .out { opacity: 0; transform: translateY(10px); }
.titleblock { position: absolute; left: max(16px, 5vw); top: 21vh; }
.year { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
h1 { font-size: clamp(38px, 5.6vw, 80px); line-height: 1; font-weight: 600; letter-spacing: -.03em; }
.pricebox { position: absolute; right: max(16px, 5vw); top: 21vh; display: flex; gap: 28px; align-items: center; }
.price { font-size: 20px; font-weight: 600; }
.price small { font-size: 11px; vertical-align: super; margin-right: 2px; }
.price span { display: block; font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.outline { border: 1.5px solid #fff; border-radius: 6px; padding: 14px 24px; font-size: 14px; font-weight: 600; }
.outline:hover { background: #fff; color: #000; }
.tagline { position: absolute; left: max(16px, 5vw); bottom: 18vh; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -.02em; }
.discover { position: absolute; left: max(16px, 5vw); bottom: 7vh; display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; }
.circ { width: 56px; height: 56px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; font-size: 20px; }
.counter { position: absolute; right: max(60px, 9vw); bottom: 7vh; display: flex; align-items: center; gap: 28px; font-size: 22px; }
.counter b { font-weight: 400; }
.track-line { width: 150px; height: 2px; background: rgba(255,255,255,.25); }
#fill { height: 100%; background: #fff; transform-origin: left; transform: scaleX(.12); }
.social { position: absolute; right: max(16px, 3vw); top: 50%; display: grid; gap: 22px; }
.social i { width: 14px; height: 14px; border-radius: 50%; background: #d9d9de; display: block; }
.scrollhint { position: absolute; right: max(16px, 3vw); bottom: 6vh; display: grid; justify-items: center; gap: 14px; }
.scrollhint span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .2em; color: var(--muted); }
.mouse { width: 18px; height: 26px; border: 1.5px solid #fff; border-radius: 9px; }

.btn {
  display: inline-block; margin-top: 22px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  background: var(--accent); color: #fff; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); background: #ff5238; }
.btn.small { margin: 0; padding: 8px 18px; font-size: 13px; }
.btn.ghost { background: transparent; border-color: #3a3b42; color: var(--fg); }
.btn.ghost:hover { background: var(--accent); border-color: var(--accent); }

main { position: relative; z-index: 2; background: var(--bg); }
/* */ .cats, .contact { padding: 120px max(16px, 5vw); }
.cats h2 { margin-bottom: 48px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
article {
  padding: 32px; border: 1px solid #1f2026; border-radius: 20px;
  background: linear-gradient(160deg, #121319, #0a0b0e);
  transition: transform .3s, border-color .3s;
}
article:hover { transform: translateY(-6px); border-color: var(--accent); }
article span { color: var(--accent); font-size: 13px; letter-spacing: .2em; }
article h3 { font-size: 26px; margin: 40px 0 12px; }
article p { color: var(--muted); line-height: 1.55; }
.contact { text-align: center; border-top: 1px solid #1a1b20; }
.contact p { color: var(--muted); margin-top: 12px; }
footer { padding: 28px; text-align: center; color: #5d5e66; font-size: 13px; }

@media (max-width: 760px) {
  .pricebox, .social, .counter, .scrollhint,   .titleblock { top: 14vh; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.how { padding: 120px max(16px, 5vw) 40px; }
.how h2 { margin-bottom: 48px; max-width: 640px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.steps li { padding: 28px; border: 1px solid #1f2026; border-radius: 20px; background: linear-gradient(160deg, #121319, #0a0b0e); transition: transform .3s, border-color .3s; }
.steps li:hover { transform: translateY(-6px); border-color: var(--accent); }
.steps span { color: var(--accent); font-size: 13px; letter-spacing: .2em; }
.steps h3 { font-size: 22px; margin: 28px 0 10px; }
.steps p { color: var(--muted); line-height: 1.55; font-size: 14px; }


.about { padding: 120px max(16px, 5vw) 40px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.about h2 { font-size: clamp(30px, 4.5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.about-body > p { color: #b4b4bb; line-height: 1.7; font-size: 17px; margin-bottom: 26px; }
.about ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.about li { padding: 18px 20px; border: 1px solid #1f2026; border-radius: 16px; background: linear-gradient(160deg, #121319, #0a0b0e); transition: border-color .3s, transform .3s; }
.about li:hover { border-color: var(--accent); transform: translateX(4px); }
.about li b { display: block; font-size: 16px; margin-bottom: 4px; }
.about li span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 24px; padding-top: 64px; } }

/* Tipos de vehículo */
.types { padding: 110px max(16px, 5vw) 20px; }
.types h2 { font-size: clamp(32px, 5vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin-bottom: 32px; }
.type-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.type { display: block; border: 1px solid #1f2026; border-radius: 20px; background: linear-gradient(160deg, #121319, #0a0b0e); overflow: hidden; text-align: center; transition: transform .3s, border-color .3s; }
.type img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .5s; }
.type span { display: block; padding: 6px 8px 18px; font-size: 18px; font-weight: 500; }
.type:hover { transform: translateY(-6px); border-color: var(--accent); }
.type:hover img { transform: scale(1.06); }
.type:hover span { color: var(--accent); }

/* Listos hoy (carrusel) */
.ready { padding: 70px 0 20px max(16px, 5vw); }
.ready-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 max(16px, 5vw) 28px 0; flex-wrap: wrap; }
.ready h2 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
.ready h2 u { text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.ready-tools { display: flex; align-items: center; gap: 10px; }
.outline-btn { border: 1.5px solid #3a3b42; border-radius: 14px; padding: 13px 22px; font-weight: 600; font-size: 15px; transition: all .2s; }
.outline-btn:hover { background: var(--accent); border-color: var(--accent); }
.arrow { width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid #3a3b42; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.arrow:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
.arrow:disabled { opacity: .3; cursor: default; }
.ready-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, 5vw) 14px 0; scrollbar-width: none; }
.ready-track::-webkit-scrollbar { display: none; }
.rcard { position: relative; flex: 0 0 calc((100% - 4 * 16px) / 4.6); scroll-snap-align: start; }
.rphoto { position: relative; display: block; border-radius: 22px; overflow: hidden; border: 1px solid #1f2026; }
.rphoto img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; display: block; transition: transform .5s; }
.rcard:hover .rphoto img { transform: scale(1.05); }
.rbadge { position: absolute; top: 12px; left: 12px; font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(7,8,11,.7); border: 1px solid #3a3b42; backdrop-filter: blur(6px); }
.rbadge.new { background: var(--accent); border-color: var(--accent); }
.rheart { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(7,8,11,.6); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; }
.rheart svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.rheart:hover { transform: scale(1.1); }
.rheart.on { background: var(--accent); }
.rheart.on svg { fill: #fff; }
.rcard h3 { font-size: 18px; margin: 14px 0 4px; letter-spacing: -.01em; }
.rmeta { color: var(--muted); font-size: 14px; }
.rnow { color: var(--muted); font-size: 14px; margin-top: 3px; }
.rnow b { color: #fff; font-weight: 600; }
.rprice { font-weight: 600; margin-top: 8px; }

@media (max-width: 1100px) {
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .rcard { flex-basis: calc((100% - 2 * 16px) / 3.2); }
}
@media (max-width: 760px) {
  .types { padding-top: 64px; }
  .types h2 { margin-bottom: 20px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .type span { font-size: 16px; padding-bottom: 14px; }
  .ready { padding-top: 48px; }
  .arrow { display: none; }
  .ready-head { margin-bottom: 18px; }
  .rcard { flex-basis: 74%; }
}

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 24px; }
.about-stats div { padding: 22px 24px; border: 1px solid #1f2026; border-radius: 18px; background: linear-gradient(160deg, #121319, #0a0b0e); }
.about-stats b { display: block; font-size: clamp(34px, 4vw, 52px); line-height: 1; font-weight: 800; letter-spacing: -.03em; color: var(--accent); }
.about-stats span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
