/*
  Vértice Motor · referencia "Ashcombe" (web de coche de lujo contada al bajar).
  Escenas negras de estudio con barras de luz, la marca en letra ancha y pesada (Archivo al 125 %),
  titulares grandes y finos (Inter) y etiquetas pequeñas en letra de máquina (mono, mayúsculas).
  Alterna negro de estudio y blanco hueso. Sin color de marca: el color lo ponen las motos.
  Botones en píldora, blancos sobre negro y negros sobre blanco.
*/
:root {
  --night: #050505;
  --ink: #0b0b0b;
  --bone: #f3f2ef;
  --white: #fff;
  --mute: #8b8b8b;
  --mute-d: #5f5f5f;          /* texto secundario sobre blanco: 6,3:1 */
  --line: rgba(255, 255, 255, 0.14);
  --line-d: rgba(11, 11, 11, 0.12);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --wide: "Archivo", "Arial Black", sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  --pad: clamp(16px, 3.4vw, 48px);
  --top-h: 64px;
}
@media (max-width: 900px) { :root { --top-h: 104px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 8px); }
body { margin: 0; background: var(--night); color: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--white); color: var(--night); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Letras ---------- */
.mono { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.wordmark { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: clamp(54px, 13.5vw, 230px); line-height: 0.9; letter-spacing: -0.015em; text-transform: uppercase; text-shadow: 0 0 48px rgba(255, 255, 255, 0.28); }
.h-scene { font-weight: 600; font-size: clamp(32px, 4.8vw, 66px); line-height: 1; letter-spacing: -0.035em; }
.h-scene--xl { font-size: clamp(40px, 6.4vw, 96px); }
.h-sec { font-weight: 400; font-size: clamp(36px, 5vw, 72px); line-height: 1.02; letter-spacing: -0.04em; }

/* ---------- Botones ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; transition: opacity 200ms ease, transform 200ms var(--ease); }
.pill:active { transform: scale(0.97); }
.pill--light { background: var(--white); color: var(--night); }
.pill--dark { background: var(--ink); color: var(--white); }
.pill--full { width: 100%; }
@media (hover: hover) and (pointer: fine) { .pill:hover { opacity: 0.82; } }
.link-u { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Barra de demostración ---------- */
.demo-bar { position: relative; z-index: 60; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; padding: 10px 16px; background: #000; color: var(--mute); font-size: 12px; text-align: center; }
.demo-bar a { display: inline-block; padding-block: 14px; margin-block: -14px; color: var(--white); }
.is-embed .demo-bar { display: none; }

/* ---------- Barra superior: blanca sobre negro, negra sobre blanco ---------- */
.top { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--top-h); margin-bottom: calc(-1 * var(--top-h)); padding-inline: var(--pad); color: var(--white); transition: color 300ms ease, background-color 300ms ease; }
.top.is-solid { background: rgba(5, 5, 5, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top[data-ink="dark"] { color: var(--ink); background: rgba(243, 242, 239, 0.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top[data-ink="dark"] .top__cart { background: var(--ink); color: var(--white); }
.brand { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.top__nav { display: flex; gap: 4px; }
.top__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 10px; font-size: 13px; font-weight: 500; text-decoration: none; opacity: 0.78; transition: opacity 200ms ease; }
@media (hover: hover) and (pointer: fine) { .top__nav a:hover { opacity: 1; } }
.top__cart { justify-self: end; min-height: 44px; padding-inline: 18px; }
.top__cart b { font-weight: 600; font-variant-numeric: tabular-nums; }
.top__cart.is-bump { animation: bump 400ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.1); } }
/* Móvil: las secciones bajan a una segunda fila que se desliza de lado */
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr auto; grid-template-rows: 60px 44px; row-gap: 0; align-content: start; }
  .top__nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding-inline: calc(var(--pad) - 10px); scrollbar-width: none; }
  .top__nav::-webkit-scrollbar { display: none; }
  .top__nav { justify-content: space-between; }
  .top__nav a { flex: none; padding-inline: 6px; opacity: 0.85; }
}

/* ---------- Portada en escenas ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--night); }
.scene { position: absolute; inset: 0; opacity: 0; }
.scene.is-on { opacity: 1; }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.15) 35%, rgba(5, 5, 5, 0.25) 65%, rgba(5, 5, 5, 0.85) 100%), linear-gradient(90deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0) 55%); pointer-events: none; }
.scene--0::after { background: linear-gradient(0deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.82) 22%, rgba(5, 5, 5, 0) 48%), radial-gradient(ellipse 70% 60% at 50% 55%, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.7) 100%), linear-gradient(180deg, rgba(5, 5, 5, 0.7) 0%, rgba(5, 5, 5, 0) 40%); }
/* Oferta y botones abajo, sobre la franja oscura: no se pisan con la moto */
.scene__foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(56px, 9vh, 96px); display: grid; justify-items: center; gap: 14px; padding-inline: var(--pad); text-align: center; }
.scene__foot .hero__offer { max-width: 46ch; text-wrap: balance; margin-top: 0; color: #fff; font-size: clamp(16px, 1.4vw, 19px); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 0, 0, 0.8); }
.scene__copy { position: absolute; z-index: 2; left: var(--pad); top: 22%; max-width: min(640px, 86vw); display: grid; gap: 16px; }
.scene__copy--center { left: 0; right: 0; top: calc(var(--top-h) + 9vh); max-width: none; justify-items: center; text-align: center; gap: 10px; }
.scene__copy--low { top: auto; bottom: 9%; }
.scene__text { max-width: 44ch; color: rgba(255, 255, 255, 0.78); font-size: 16px; }
.hero__offer { max-width: 40ch; margin-top: 10px; color: rgba(255, 255, 255, 0.86); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.45; text-shadow: 0 1px 18px rgba(0, 0, 0, 0.6); animation: rise 1000ms 1200ms var(--ease) both; }
.scene__ctas--center { justify-content: center; animation: rise 1000ms 1350ms var(--ease) both; }
.scene__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 6px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 18px; }
.stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.stats dd { font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.stats dt { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }

/* Barras de luz del techo del estudio: se encienden al llegar */
.lights { position: absolute; z-index: 3; inset: calc(var(--top-h) + 4vh) 0 auto; display: flex; justify-content: center; gap: 4vw; pointer-events: none; }
.lights i { width: 24vw; height: 3px; border-radius: 3px; background: #fff; box-shadow: 0 6px 22px 2px rgba(255, 255, 255, 0.45); transform: scaleX(0); animation: light-on 900ms var(--ease) forwards; }
.lights i:nth-child(1) { animation-delay: 200ms; transform-origin: right; }
.lights i:nth-child(2) { animation-delay: 420ms; }
.lights i:nth-child(3) { animation-delay: 640ms; transform-origin: left; }
@keyframes light-on { 0% { transform: scaleX(0); opacity: 0; } 30% { opacity: 1; } 45% { opacity: 0.3; } 60% { opacity: 1; } 100% { transform: scaleX(1); opacity: 1; } }
.scene--0 .scene__img { animation: ignite 1800ms 500ms var(--ease) both; }
@keyframes ignite { from { filter: brightness(0.08) saturate(0.4); transform: scale(1.06); } to { filter: none; transform: none; } }
.scene--0 .wordmark { animation: rise 1200ms 900ms var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* Escena 1: el motor "por rayos X" */
.scene--1 { background: #02060a; }
.scene__img--xray { filter: grayscale(1) invert(1) contrast(1.5) brightness(0.7); mix-blend-mode: screen; opacity: 0.55; }
.xray-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(150, 200, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 200, 255, 0.07) 1px, transparent 1px); background-size: 64px 64px; }
/* Escena 1: contador gigante de los puntos de la revisión */
.count { position: absolute; z-index: 2; right: var(--pad); bottom: 6%; display: flex; align-items: baseline; gap: 8px; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: clamp(76px, 15vw, 250px); line-height: 0.85; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.count small { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }

.hero__steps { position: absolute; z-index: 4; right: var(--pad); top: 50%; display: grid; gap: 8px; translate: 0 -50%; }
.hero__steps li { width: 3px; height: 22px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); transition: background-color 300ms ease, height 300ms var(--ease); }
.hero__steps li.is-on { height: 40px; background: var(--white); }
.hero__hint { position: absolute; z-index: 4; left: 50%; bottom: 22px; translate: -50% 0; color: rgba(255, 255, 255, 0.6); animation: hint 2.4s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(5px); opacity: 0.4; } }

/* ---------- Secciones claras ---------- */
.models, .sheet, .parts, .visit { background: var(--bone); color: var(--ink); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 16px 48px; margin-bottom: 40px; }
.sec-head__text { max-width: 44ch; justify-self: end; color: var(--mute-d); font-size: 15px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; margin-bottom: 28px; } .sec-head__text { justify-self: start; } }

/* ---------- Tres motos: paneles que se ensanchan ---------- */
.models { padding-block: clamp(88px, 12vw, 160px) clamp(72px, 9vw, 120px); }
.panels { display: flex; gap: 8px; height: clamp(440px, 64vh, 660px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 6px; background: var(--night); color: var(--white); transition: flex-grow 750ms var(--ease); }
.panel.is-open { flex-grow: 2.6; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1200ms var(--ease), filter 600ms ease; }
.panel:not(.is-open) img { filter: brightness(0.55) saturate(0.7); }
.panel.is-open img { transform: none; }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, 0.35) 0%, rgba(5, 5, 5, 0) 30%, rgba(5, 5, 5, 0) 50%, rgba(5, 5, 5, 0.85) 100%); pointer-events: none; }
.panel__hit { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 18px 20px; border: 0; background: none; text-align: left; cursor: pointer; }
.panel.is-open .panel__hit { pointer-events: none; }
.panel__name { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: clamp(22px, 2.6vw, 38px); line-height: 1; text-transform: uppercase; transition: opacity 300ms ease; }
.panel.is-open .panel__name { opacity: 0; }
.panel__info { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity 300ms ease, transform 500ms var(--ease); pointer-events: none; }
.panel.is-open .panel__info { opacity: 1; transform: none; transition-delay: 300ms; pointer-events: auto; }
.panel__info h3 { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: clamp(28px, 3.4vw, 52px); line-height: 0.95; text-transform: uppercase; }
.specs { display: flex; gap: 28px; }
.specs div { display: flex; align-items: baseline; gap: 5px; }
.specs dd { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.specs dt { order: 2; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.panel__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.pill:disabled { opacity: 0.55; cursor: default; }
.panel__price { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
@media (max-width: 760px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 96px; transition: height 650ms var(--ease); }
  .panel.is-open { height: 460px; }
}

/* ---------- Taller: hexágono que se abre y capítulos 01-02-03 ---------- */
.craft { position: relative; background: var(--bone); color: var(--ink); }
.craft__stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.craft__frame { position: absolute; left: 50%; top: 50%; width: min(52vw, 640px); height: min(34vw, 420px); translate: -50% -50%; overflow: hidden; background: var(--night); clip-path: polygon(22% 0%, 78% 0%, 100% 50%, 78% 100%, 22% 100%, 0% 50%); }
.chapter { position: absolute; inset: 0; opacity: 0; }
.chapter.is-on { opacity: 1; }
.chapter img { width: 100%; height: 100%; object-fit: cover; }
.craft__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.1) 45%, rgba(5, 5, 5, 0.8) 100%); }
.craft__title { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; translate: 0 -50%; color: var(--white); text-align: center; font-weight: 600; font-size: clamp(28px, 4.2vw, 64px); letter-spacing: -0.035em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45); }
.ccopies { position: absolute; z-index: 3; inset: 0; pointer-events: none; color: var(--white); }
.ccopy { position: absolute; left: var(--pad); right: var(--pad); bottom: max(8%, 104px); display: grid; gap: 10px; opacity: 0; }
.ccopy > :not(.bignum) { max-width: 460px; }
.ccopy h3 { font-weight: 600; font-size: clamp(28px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.035em; }
.ccopy p:not(.mono) { color: rgba(255, 255, 255, 0.82); }
.bignum { position: absolute; right: 0; bottom: -0.2em; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: clamp(110px, 19vw, 320px); line-height: 1; letter-spacing: -0.04em; }
@media (max-width: 760px) { .craft__frame { width: 84vw; height: 56vw; } .ccopy { bottom: 20%; } .bignum { bottom: auto; top: -1.1em; } }

/* ---------- Hoja de pedido ---------- */
.sheet { padding-block: clamp(88px, 11vw, 150px); }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.sheet__view { position: relative; display: grid; align-content: center; min-height: clamp(360px, 46vw, 620px); overflow: hidden; border-radius: 6px; background: radial-gradient(ellipse 70% 50% at 50% 70%, #1d1d1d 0%, #050505 70%); color: var(--white); }
.sheet__view::before { content: ""; position: absolute; z-index: 2; left: 12%; right: 12%; top: 26px; height: 2px; border-radius: 2px; background: #fff; box-shadow: 0 0 16px 3px rgba(255, 255, 255, 0.5); }
.sheet__view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0) 30%, rgba(5, 5, 5, 0) 70%, rgba(5, 5, 5, 0.7) 100%); pointer-events: none; }
.sheet__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 400ms ease; }
.sheet__view img.is-fading { opacity: 0; }
.sheet__tag { position: absolute; z-index: 2; left: 20px; right: 20px; top: 44px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, 0.8); }
.sheet__view figcaption { position: absolute; z-index: 2; left: 20px; bottom: 18px; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: clamp(20px, 2.4vw, 34px); text-transform: uppercase; }
.sheet__opts { display: grid; }
.opt { display: grid; gap: 12px; padding-block: 18px; border-top: 1px solid var(--line-d); }
.opt[hidden] { display: none; }
.opt legend { float: left; width: 100%; padding: 0 0 12px; font-size: 15px; font-weight: 500; }
.opt legend .mono { margin-right: 10px; color: var(--mute-d); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.chips--center { justify-content: center; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-d); border-radius: 999px; font-size: 14px; font-weight: 500; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chips label:hover span { border-color: var(--ink); } }
.swatches { display: flex; gap: 10px; clear: both; }
.swatch { width: 40px; height: 40px; transition: transform 200ms var(--ease); border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); cursor: pointer; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 3px; transform: scale(1.08); }
.sheet__total { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line-d); }
.sheet__total p { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sheet__total .mono { color: var(--mute-d); }
.sheet__note { color: var(--mute-d); font-size: 14px; }
.sheet__total strong { font-family: var(--wide); font-stretch: 125%; font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .sheet__grid { grid-template-columns: 1fr; } .sheet__view { min-height: 300px; } }

/* ---------- Track day: la ruta que se dibuja ---------- */
.route { background: #060606; color: var(--white); }
.route__stage { position: relative; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); align-items: center; gap: 32px; min-height: 100svh; padding: 96px var(--pad) 120px; overflow: hidden; }
.route__copy { display: grid; gap: 16px; justify-items: start; }
.route__map { width: 100%; height: auto; overflow: visible; }
.route__grid { stroke: rgba(255, 255, 255, 0.11); stroke-width: 1; fill: none; }
.route__ghost { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 2; stroke-dasharray: 2 6; }
.route__line { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7)); }
.wp { opacity: 0.28; transition: opacity 400ms ease; }
.wp.is-on { opacity: 1; }
.wp circle { fill: #fff; }
.wp text { fill: rgba(255, 255, 255, 0.9); font-family: var(--mono); font-size: 17px; letter-spacing: 0.06em; }
.wp--end text { font-size: 20px; font-weight: 600; fill: #fff; }
.route__head circle { fill: #fff; }
.route__head .route__halo { fill: rgba(255, 255, 255, 0.18); transform-box: fill-box; transform-origin: center; animation: halo 1.6s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.6); opacity: 0.35; } }
.route__list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.route__list li { display: flex; gap: 14px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 15px; }
.route__list b { min-width: 48px; font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.route__km { position: absolute; right: var(--pad); bottom: 28px; display: flex; align-items: baseline; gap: 12px; }
.route__km .mono { color: rgba(255, 255, 255, 0.6); }
.route__km b { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: clamp(56px, 8vw, 120px); line-height: 0.9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.route__km small { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
@media (max-width: 860px) {
  .route__stage { grid-template-columns: 1fr; align-content: start; padding-top: 104px; padding-bottom: 150px; }
  .wp text { display: none; }
  .route__list { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; }
}

/* ---------- Recambios ---------- */
.parts { padding-block: clamp(88px, 11vw, 150px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-d); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .filters button:hover { border-color: var(--ink); } }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 12px; }
.tile { display: grid; gap: 4px; align-content: start; }
.tile[hidden] { display: none; }
.js .tile { opacity: 0; transform: translateY(14px); }
.js .tile.is-shown { opacity: 1; transform: none; transition: opacity 500ms ease, transform 700ms var(--ease); transition-delay: calc(var(--k, 0) * 60ms); }
.tile__img { position: relative; overflow: hidden; margin-bottom: 10px; border-radius: 6px; background: #e4e3df; }
.tile__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 900ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile__img img { transform: scale(1.04); } }
.tile__tag { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.tile__brand { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-d); }
.tile h3 { font-size: 16px; font-weight: 500; line-height: 1.35; }
.tile__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.tile__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.tile__add { min-height: 44px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; font-size: 13px; font-weight: 500; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.tile__add.is-added, .tile__add:active { background: var(--ink); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .tile__add:hover { background: var(--ink); color: var(--white); } }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; } }

/* ---------- Cita ---------- */
.visit { padding-block: clamp(96px, 12vw, 170px); border-top: 1px solid var(--line-d); }
.visit__inner { display: grid; justify-items: center; gap: 16px; text-align: center; }
.visit__inner .sec-head__text { justify-self: center; }
.visit__form { display: grid; gap: 22px; width: min(100%, 520px); margin-top: 24px; }
.field { display: grid; gap: 6px; text-align: left; }
.field > label, .field > legend { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-d); }
.field input { min-height: 46px; padding: 0 2px; border: 0; border-bottom: 1px solid rgba(11, 11, 11, 0.3); background: transparent; font-size: 17px; }
.field input:focus { outline: none; border-bottom: 2px solid var(--ink); }
.field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.field input[aria-invalid="true"] { border-bottom-color: #b3261e; }
.field__err { color: #b3261e; font-size: 14px; }
.field--chips { text-align: center; }
.field--chips legend { width: 100%; margin-bottom: 12px; text-align: center; }
.visit__form .pill { justify-self: center; min-width: 200px; }
.visit__note { color: var(--mute-d); }
.visit__note.is-ok { color: var(--ink); font-weight: 500; }
.visit__note a { color: inherit; }
.visit__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 32px; width: min(100%, 900px); margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-d); text-align: left; }
.visit__facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute-d); }
.visit__facts dd { margin-top: 4px; font-size: 15px; }
@media (max-width: 760px) { .visit__facts { grid-template-columns: 1fr; } }

/* ---------- Pie con la palabra gigante ---------- */
.foot { position: relative; overflow: hidden; padding-top: 48px; background: var(--night); color: rgba(255, 255, 255, 0.75); font-size: 14px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); text-decoration: none; }
.foot p a { display: inline; }
.foot__word { margin: 36px 0 -0.16em; font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 17.5vw; line-height: 1; letter-spacing: -0.03em; text-transform: uppercase; text-align: center; color: var(--white); white-space: nowrap; }

/* ---------- Carrito ---------- */
.cart { width: min(440px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: #0d0d0d; color: var(--white); }
.cart::backdrop { background: rgba(0, 0, 0, 0.6); }
.cart[open] { display: flex; flex-direction: column; animation: slide-in 400ms var(--ease); }
@keyframes slide-in { from { transform: translateX(100%); } }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-family: var(--wide); font-stretch: 125%; font-weight: 800; font-size: 18px; text-transform: uppercase; }
.cart__x { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; cursor: pointer; }
.cart__view { display: flex; flex-direction: column; flex: 1; gap: 14px; padding: 20px; overflow: auto; }
.cart__list { display: grid; gap: 14px; }
.cart__list li { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; }
.cart__list img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; }
.cart__list p { font-size: 14px; }
.cart__list small { display: block; color: var(--mute); }
.cart__rm { min-height: 44px; border: 0; background: none; color: var(--mute); font-size: 13px; text-decoration: underline; cursor: pointer; }
.cart__empty { display: grid; gap: 16px; color: var(--mute); }
.cart__empty[hidden], .cart__undo[hidden], .cart__view[hidden], .cart__foot[hidden] { display: none; }
.cart__go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.cart__undo { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 14px; border-radius: 10px; background: #1b1b1b; font-size: 14px; }
.cart__undo .link-u { border: 0; background: none; cursor: pointer; }
.cart__sum { display: grid; gap: 10px; }
.cart__sum li { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.cart [data-back] { justify-self: center; border: 0; background: none; cursor: pointer; }
.opt--dark { border-top-color: var(--line); }
.chips--dark span { border-color: var(--line); }
.chips--dark input:checked + span { background: var(--white); border-color: var(--white); color: var(--night); }
.cart__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 18px; }
.cart__note { color: var(--mute); font-size: 13px; }
.cart__done { font-size: 28px; font-weight: 600; letter-spacing: -0.03em; }

.toast { position: fixed; left: 50%; top: 76px; z-index: 70; translate: -50% -12px; padding: 12px 20px; border-radius: 999px; background: var(--white); color: var(--night); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 250ms ease, translate 350ms var(--ease); max-width: calc(100vw - 32px); width: max-content; text-align: center; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25); }
.toast.is-on { opacity: 1; translate: -50% 0; }

/* Botón de AtelierWeb */
.demo-cta { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: 8px 18px; border-radius: 14px; background: var(--white); color: var(--mute-d); font-size: 12px; line-height: 1.3; text-decoration: none; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); transition: opacity 300ms ease, translate 300ms var(--ease); }
.demo-cta strong { color: var(--night); font-size: 15px; font-weight: 600; }
.demo-cta.is-tucked { opacity: 0; translate: 0 12px; pointer-events: none; }
.is-embed .demo-cta { display: none; }
@media (max-width: 480px) { .demo-cta { left: 8px; bottom: 8px; } }

/* ---------- Sin escenas fijas (movimiento reducido, vista previa o sin GSAP) ----------
   Cada escena se convierte en un bloque a pantalla completa, uno debajo de otro. */
.no-pin .hero { height: auto; overflow: visible; }
.no-pin .scene { position: relative; height: 100svh; min-height: 560px; opacity: 1; overflow: hidden; }
.no-pin .hero__steps, .no-pin .hero__hint, .no-pin .lights { display: none; }
.no-pin .craft__stage { height: auto; min-height: 0; overflow: visible; padding-bottom: 64px; }
.no-pin .craft__frame { position: relative; left: auto; top: auto; translate: none; width: 100%; height: 70svh; clip-path: none; }
.no-pin .ccopies { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 48px var(--pad) 0; color: var(--ink); pointer-events: auto; }
.no-pin .ccopy { position: relative; left: auto; right: auto; bottom: auto; opacity: 1; }
.no-pin .ccopy p:not(.mono) { color: var(--mute-d); }
.no-pin .bignum { display: none; }
.no-pin .wp { opacity: 1; }
@media (max-width: 760px) { .no-pin .ccopies { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .lights i, .scene--0 .scene__img, .scene--0 .wordmark, .scene--0 .mono, .hero__hint { animation: none; transform: none; }
  .panel, .panel img, .panel__info, .tile { transition: none; }
  .route__head .route__halo { animation: none; }
}
