/* ==========================================================================
   F7 MARKETT — hoja de estilos
   Rojo y negro. Titulares condensados en mayúsculas, esquinas cortadas,
   franja diagonal roja detrás de la zapatilla.
   --------------------------------------------------------------------------
   Índice
     0. Tokens
     1. Reset y base
     2. Preloader (aro + contador + telón en dos mitades)
     3. Franja superior y header
     4. Controles
     5. Hero
     6. Cruce de bandas
     7. Catálogo
     8. Cómo pedir
     9. Footer, barra móvil, diálogo
    10. Keyframes
    11. Responsive
    12. Movimiento reducido
   ========================================================================== */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: italic; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url('../fonts/archivo-latin-wdth-italic.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('../fonts/figtree-latin-wght-normal.woff2') format('woff2'); }

/* ==========================================================================
   0. TOKENS
   ========================================================================== */
@property --accent { syntax: '<color>'; inherits: true; initial-value: #ffffff; }
@property --cnt { syntax: '<integer>'; inherits: false; initial-value: 0; }

:root {
  color-scheme: dark;
  --bg-0: #070707;
  --bg-1: #0f0f0f;
  --bg-2: #171717;
  --ink: #f5f3f0;
  --ink-2: rgb(245 243 240 / .70);
  --ink-3: rgb(245 243 240 / .42);
  --line: rgb(255 255 255 / .12);
  --line-strong: rgb(255 255 255 / .34);
  --red: #e10b1b;
  --red-hi: #ff2b3a;
  --red-deep: #6e0209;

  --accent: #ffffff;

  --font-display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(1.1rem, 4vw, 3.5rem);
  --header-h: 72px;
  --cut: 14px;                      /* esquina cortada */

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-inout: cubic-bezier(.76, 0, .24, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

/* Titulares: condensado, grueso, mayúsculas */
.cond {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: 66%;
  text-transform: uppercase; letter-spacing: .005em; line-height: .88;
}

/* ==========================================================================
   1. RESET Y BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh; background: var(--bg-0); color: var(--ink);
  font: 400 1rem/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ol { list-style: none; padding: 0; }
h1, h2, h3 { font-weight: inherit; }
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }

.skip {
  position: fixed; top: .6rem; left: .6rem; z-index: 200; padding: .6rem 1rem;
  background: var(--red); color: #fff; font-weight: 700;
  translate: 0 -200%; transition: translate .25s var(--ease-out);
}
.skip:focus { translate: 0 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-stretch: 80%; font-weight: 800;
  font-size: .82rem; letter-spacing: .28em; text-transform: uppercase; color: var(--red-hi);
}
.eyebrow::before { content: ''; width: 2.2rem; height: 2px; background: currentColor; }

.h2 {
  font-family: var(--font-display); font-weight: 900; font-stretch: 66%;
  text-transform: uppercase; line-height: .86; letter-spacing: .005em;
  font-size: clamp(3.4rem, 9vw, 7.4rem);
}

/* ==========================================================================
   2. PRELOADER
   ========================================================================== */
.pre {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  pointer-events: none;
}
.pre__half {
  position: absolute; left: 0; right: 0; height: 50.2%; background: var(--bg-0);
  transition: transform .9s var(--ease-inout) .35s;
}
.pre__half--t { top: 0; border-bottom: 2px solid var(--red); }
.pre__half--b { bottom: 0; border-top: 2px solid var(--red); }
.pre__half--t::after, .pre__half--b::after {       /* cuadrícula tenue de fondo */
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(closest-side at 50% 100%, #000, transparent);
}
.pre__half--b::after { mask-image: radial-gradient(closest-side at 50% 0, #000, transparent); }

.pre__core {
  position: relative; z-index: 2; display: grid; justify-items: center; gap: 1.3rem;
  transition: opacity .35s ease, scale .45s var(--ease-inout);
}
.pre__badge { position: relative; width: clamp(170px, 34vmin, 260px); aspect-ratio: 1; display: grid; place-items: center; }
.pre__ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.pre__ring circle {
  fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: ring-draw 2.3s cubic-bezier(.6, 0, .2, 1) .15s forwards;
}
.pre__ring--2 circle { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: .02 .018; stroke-dashoffset: 0; animation: none; opacity: .7; }
.pre__ring--2 { animation: spin 14s linear infinite; }
.pre__logo {
  width: 78%; height: auto; aspect-ratio: 1; border-radius: 50%;
  clip-path: inset(100% 0 0 0);
  animation: logo-wipe 1s var(--ease-out) .25s forwards, logo-pulse 1.8s ease-in-out 1.3s infinite;
}
.pre__count {
  display: flex; align-items: baseline; gap: .15rem; color: var(--ink);
  font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: clamp(2.4rem, 8vmin, 3.6rem); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pre__count i { font-style: normal; color: var(--red-hi); font-size: .6em; }
.pre__num { counter-reset: n var(--cnt); animation: count 2.3s cubic-bezier(.55, 0, .25, 1) .15s forwards; display: inline-block; min-width: 2.3ch; text-align: right; }
.pre__num::after { content: counter(n); }
.pre__tag {
  font-family: var(--font-display); font-stretch: 80%; font-weight: 700; font-size: .8rem;
  letter-spacing: .42em; text-transform: uppercase; color: var(--ink-3);
  opacity: 0; animation: fade-in .6s ease .7s forwards;
}
.pre__tag span { color: var(--red-hi); }
.pre__tag b { display: inline-block; width: 4px; height: 4px; background: var(--red); margin: 0 .55em .22em; rotate: 45deg; }

body.is-ready .pre__core { opacity: 0; scale: .86; }
body.is-ready .pre__half--t { transform: translateY(-101%); }
body.is-ready .pre__half--b { transform: translateY(101%); }
body.is-ready .pre { animation: pre-gone 0s linear 1.4s forwards; }

/* ==========================================================================
   3. FRANJA SUPERIOR Y HEADER
   ========================================================================== */
.strip { background: var(--red); color: #fff; overflow: hidden; height: 30px; display: flex; align-items: center; }
.strip__track { display: flex; flex: none; gap: 2.4rem; padding-right: 2.4rem; width: max-content; animation: marquee 38s linear infinite;
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; }
.strip__track span { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; }
.strip__track span::after { content: ''; width: 6px; height: 6px; background: #fff; rotate: 45deg; }

.site-header {
  position: sticky; top: 0; z-index: 80;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem;
  height: var(--header-h); padding: 0 var(--gutter);
  background: rgb(7 7 7 / .72); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.site-header.is-stuck { background: rgb(7 7 7 / .93); border-bottom-color: var(--red); }

.brand { display: flex; align-items: center; gap: .8rem; }
.brand__logo { width: 46px; height: 46px; border-radius: 50%; transition: rotate .8s var(--ease-spring); }
.brand:hover .brand__logo { rotate: 360deg; }
.brand__text { display: grid; line-height: 1.05; }
.brand__text strong { font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; }
.brand__text small { font-size: .74rem; color: var(--ink-3); letter-spacing: .06em; }

.nav { display: flex; justify-content: center; gap: clamp(1rem, 2.6vw, 2.4rem); }
.nav a {
  position: relative; display: inline-flex; align-items: baseline; gap: .4rem; padding: .4rem 0;
  font-family: var(--font-display); font-weight: 700; font-stretch: 78%; font-size: .92rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2);
  transition: color .25s;
}
.nav a i { font-style: normal; font-size: .62rem; color: var(--red-hi); letter-spacing: .06em; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

/* ==========================================================================
   4. CONTROLES
   ========================================================================== */
.seg {
  position: relative; display: inline-grid; grid-template-columns: repeat(var(--n, 3), 1fr);
  border: 1px solid var(--line-strong); background: rgb(0 0 0 / .4);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
}
.seg button {
  position: relative; z-index: 1; min-height: 40px; padding: 0 1.15rem;
  font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: .86rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
  transition: color .25s;
}
.seg button[aria-checked='true'] { color: #fff; }
.seg__thumb {
  position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: calc(100% / var(--n, 3));
  background: var(--red); translate: calc(var(--idx, 0) * 100%) 0;
  transition: translate .5s var(--ease-out);
}
.seg--sm button { min-height: 32px; padding: 0 .8rem; font-size: .76rem; }

/* Botón WhatsApp: rojo, esquina cortada, barrido de brillo */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 54px; padding: 0 1.7rem; background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 900; font-stretch: 78%; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color .25s, translate .3s var(--ease-spring);
}
.cta svg { width: 22px; height: 22px; flex: none; }
.cta::before {                                    /* brillo que cruza el botón */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .38) 50%, transparent 70%);
  translate: -120% 0; animation: sheen 3.8s ease-in-out 2.5s infinite;
}
.cta:hover { background: var(--red-hi); translate: 0 -3px; }
.cta:active { translate: 0 0; }
.cta--sm { min-height: 44px; padding: 0 1.15rem; font-size: .92rem; }
.cta--block { width: 100%; }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
  grid-template-areas: 'info stage' 'rail rail';
  column-gap: clamp(1rem, 3vw, 3rem); row-gap: 0;
  align-items: center;
  padding: clamp(1rem, 3vh, 2.2rem) var(--gutter) 0;
  min-height: calc(100svh - var(--header-h) - 30px);
  overflow: clip;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgb(225 11 27 / .12), transparent 70%),
    var(--bg-0);
}

/* Franja diagonal roja */
.hero__slab {
  position: absolute; z-index: 0; top: 0; bottom: 0; right: 0; width: 66%;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  background:
    repeating-linear-gradient(112deg, rgb(0 0 0 / .0) 0 22px, rgb(0 0 0 / .08) 22px 24px),
    linear-gradient(160deg, var(--red-hi) 0%, var(--red) 38%, var(--red-deep) 100%);
}
.hero__slab::after {                              /* destello al cambiar de modelo */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .34) 50%, transparent 62%);
  translate: -110% 0;
}
.hero:has(.is-leaving) .hero__slab::after { translate: 110% 0; transition: translate .75s var(--ease-inout); }

/* Texto de contorno gigante */
.hero__watermark {
  position: absolute; z-index: 1; inset: 0 0 0 40%; display: grid; align-items: center; justify-items: end;
  pointer-events: none; user-select: none; overflow: hidden;
  translate: calc(var(--px, 0) * -26px) calc(var(--py, 0) * -14px);
  transition: translate .8s var(--ease-out);
}
.hero__watermark span {
  display: block; max-width: 100%;
  font-family: var(--font-display); font-weight: 900; font-stretch: 66%;
  font-size: clamp(7rem, 17vw, 19rem); line-height: .78; letter-spacing: .01em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 2px rgb(255 255 255 / .26);
  padding-right: 1vw; margin-top: -6vh;
  transition: opacity .4s var(--ease-out), translate .6s var(--ease-out);
}
.hero__watermark.is-swapping span { opacity: 0; translate: 0 22px; transition-duration: .22s; }

/* Etiqueta vertical */
.hero__tick {
  position: absolute; z-index: 3; right: calc(var(--gutter) * .35); top: 50%; translate: 0 -62%;
  display: flex; gap: 1.1rem; writing-mode: vertical-rl;
  font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: .72rem; letter-spacing: .5em; text-transform: uppercase; color: rgb(255 255 255 / .75);
}
.hero__tick span:first-child { color: #fff; }

/* --- Escenario ------------------------------------------------------------ */
.stage {
  grid-area: stage; position: relative; z-index: 2;
  height: clamp(360px, 64vh, 700px);
  cursor: grab; touch-action: pan-y; user-select: none; perspective: 1200px;
}
.stage.is-dragging { cursor: grabbing; }
.corner { position: absolute; width: 34px; height: 34px; border: 0 solid #fff; opacity: .9; }
.corner--tl { top: 2%; left: 4%; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: 2%; right: 7%; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: 8%; left: 4%; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: 8%; right: 7%; border-bottom-width: 2px; border-right-width: 2px; }

.stage__glow {
  position: absolute; inset: 14% 8% 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .42), transparent 72%);
}
.stage__glow::after {                              /* toque del color de cada zapatilla */
  content: ''; position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%);
  filter: blur(26px); opacity: .55;
}
.stage__floor {
  position: absolute; left: 12%; right: 14%; bottom: 14%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(0 0 0 / .85), transparent);
  filter: blur(10px); animation: floor-pulse 5s ease-in-out infinite;
}

.shoe-wrap {
  --dirv: 1;
  position: absolute; inset: 0; display: grid; place-items: center;
  transition: transform .6s var(--ease-out), opacity .45s ease, filter .45s ease;
}
.shoe-wrap[data-dir='prev'] { --dirv: -1; }
.shoe-wrap.is-leaving {
  opacity: 0; filter: blur(7px);
  transform: translateX(calc(var(--dirv) * -110px)) skewX(calc(var(--dirv) * 12deg));
  transition: transform .3s cubic-bezier(.6, 0, 1, .6), opacity .28s ease, filter .28s ease;
}
.shoe-wrap.is-entering {
  opacity: 0; filter: blur(7px); transition: none;
  transform: translateX(calc(var(--dirv) * 130px)) skewX(calc(var(--dirv) * -12deg));
}
.shoe {
  width: min(74%, 620px); height: auto; max-height: 100%; object-fit: contain;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1));
  transition: transform .55s var(--ease-out);
  filter: drop-shadow(0 34px 30px rgb(0 0 0 / .55));
  animation: float 6.5s ease-in-out infinite;
  will-change: transform;
}
.stage.is-dragging .shoe { transition: none; }

.stage__hint {
  position: absolute; left: 6%; bottom: 3%; display: flex; align-items: center; gap: .55rem;
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: rgb(255 255 255 / .8);
}
.stage__hint svg { width: 28px; animation: wobble 2.4s ease-in-out infinite; }

.arrows { position: absolute; right: 7%; bottom: 3%; display: flex; gap: .5rem; z-index: 4; }
.arrow {
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--bg-0); color: #fff; border: 1px solid rgb(255 255 255 / .5);
  transition: background-color .25s, border-color .25s, translate .3s var(--ease-spring);
}
.arrow svg { width: 22px; height: 22px; }
.arrow:hover { background: #fff; color: var(--red); border-color: #fff; }
.arrow--prev:hover { translate: -3px 0; }
.arrow--next:hover { translate: 3px 0; }

/* --- Riel de miniaturas (ancho completo) ---------------------------------- */
.rail-wrap {
  grid-area: rail; position: relative; z-index: 3;
  display: flex; align-items: center; gap: 1.2rem; min-width: 0;
  margin: 0 calc(var(--gutter) * -1); padding: .8rem var(--gutter);
  background: rgb(7 7 7 / .9); border-top: 1px solid var(--line);
}
.counter {
  flex: none; display: flex; align-items: baseline; gap: .35rem;
  font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-variant-numeric: tabular-nums; color: var(--ink-3);
}
.counter b { font-size: 2.6rem; line-height: 1; color: #fff; min-width: 2ch; display: inline-block; }
.counter span:nth-child(2) { color: var(--red-hi); }
.counter b.is-ticking { animation: tick .5s var(--ease-out); }

.rail {
  display: flex; gap: .55rem; min-width: 0; padding: .35rem .2rem;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}
.rail::-webkit-scrollbar { display: none; }
.rail button {
  position: relative; flex: none; width: 88px; height: 60px; padding: 6px; scroll-snap-align: center;
  background: var(--bg-2); border: 1px solid var(--line); opacity: .6;
  transition: opacity .3s, border-color .3s, background-color .3s, translate .35s var(--ease-spring);
}
.rail button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.rail button img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease-spring); }
.rail button:hover { opacity: 1; translate: 0 -3px; }
.rail button:hover img { transform: scale(1.1); }
.rail button[aria-current='true'] { opacity: 1; border-color: var(--red); background: rgb(225 11 27 / .14); translate: 0 -3px; }
.rail button[aria-current='true']::after { transform: scaleX(1); }

/* --- Información (columna izquierda) -------------------------------------- */
.info {
  grid-area: info; position: relative; z-index: 3;
  display: grid; gap: .85rem; align-content: center; justify-items: start;
  padding: .6rem 0 1rem;
}
.info__row { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .28rem .75rem;
  font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  background: #fff; color: #0a0a0a;
}
.pill--stock { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.pill--stock::before { content: ''; width: 7px; height: 7px; background: #3ddc84; border-radius: 50%; animation: ping 2s ease-out infinite; }

.title {
  font-family: var(--font-display); font-weight: 900; font-stretch: 66%; text-transform: uppercase;
  font-size: clamp(2.8rem, 5.3vw, 5.2rem); line-height: .86; letter-spacing: .004em; margin-block: .1rem 0;
}
.title span { display: block; }
.title span:last-child::after {                  /* barra roja inclinada bajo el nombre */
  content: ''; display: block; width: 4.2rem; height: .3rem; margin-top: .7rem; background: var(--red); transform: skewX(-24deg);
}
.colorway {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-display); font-weight: 700; font-stretch: 80%; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.colorway::before { content: ''; width: 10px; height: 10px; background: var(--red); rotate: 45deg; flex: none; }
.desc { max-width: 40ch; color: var(--ink-2); font-size: 1rem; }

.sizes { display: grid; gap: .6rem; width: 100%; max-width: 440px; }
.sizes__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.sizes__head > span { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: .86rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.sizes__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .4rem; }
.size {
  min-height: 48px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-stretch: 84%; font-size: 1.05rem; font-variant-numeric: tabular-nums;
  border: 1px solid var(--line-strong); background: rgb(0 0 0 / .35);
  transition: background-color .22s, color .22s, border-color .22s, translate .3s var(--ease-spring);
}
.size:hover { border-color: #fff; translate: 0 -2px; }
.size[aria-checked='true'] { background: var(--red); border-color: var(--red); color: #fff; }
.size.is-flip { animation: flip .5s var(--ease-out) backwards; }

.buy { display: grid; gap: .8rem; width: 100%; max-width: 440px; margin-top: .3rem; }
.price { display: flex; align-items: flex-end; gap: .9rem; }
.price span { font-family: var(--font-display); font-weight: 700; font-stretch: 80%; font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); padding-bottom: .55rem; }
.price strong { font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: .95; font-variant-numeric: tabular-nums; }
.note { font-size: .8rem; line-height: 1.35; color: var(--ink-3); max-width: 40ch; }
.seg--rail { flex: none; margin-left: auto; }

/* ==========================================================================
   6. CRUCE DE BANDAS
   ========================================================================== */
.cross { position: relative; height: clamp(120px, 14vw, 170px); overflow: hidden; background: var(--bg-0); }
.cross__a, .cross__b { position: absolute; left: -5%; right: -5%; top: 50%; overflow: hidden; display: flex; align-items: center; height: 54px; }
.cross__a { background: var(--red); color: #fff; rotate: -2.2deg; translate: 0 -50%; z-index: 2; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .8); }
.cross__b { background: #fff; color: #0a0a0a; rotate: 2.2deg; translate: 0 -50%; z-index: 1; }
.cross__track { display: flex; flex: none; width: max-content; gap: 2.4rem; padding-right: 2.4rem; animation: marquee 36s linear infinite;
  font-family: var(--font-display); font-weight: 900; font-stretch: 66%; font-size: 1.9rem; letter-spacing: .06em; text-transform: uppercase; }
.cross__track--rev { animation-direction: reverse; animation-duration: 44s; }
.cross__track span { display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap; }
.cross__track span::after { content: '✦'; font-size: .8em; opacity: .8; }

/* ==========================================================================
   7. CATÁLOGO
   ========================================================================== */
.catalog { padding: clamp(3.5rem, 8vw, 7rem) var(--gutter) clamp(3rem, 7vw, 6rem); max-width: 1500px; margin-inline: auto; }
.catalog__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.4rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.catalog__title { display: grid; gap: .7rem; }
.catalog__count { font-family: var(--font-display); font-weight: 700; font-stretch: 80%; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-size: .86rem; }

.grid { counter-reset: card; display: grid; gap: clamp(.7rem, 1.4vw, 1.1rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.card {
  --cut2: 22px;
  counter-increment: card;
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: .3rem;
  padding: 1.1rem 1.1rem 1rem; min-height: 340px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - var(--cut2)) 0, 100% var(--cut2), 100% 100%, 0 100%);
  transition: border-color .3s, background-color .3s, translate .45s var(--ease-spring);
  isolation: isolate;
}
.card::before {                                  /* número de orden */
  content: counter(card, decimal-leading-zero);
  position: absolute; top: .8rem; left: 1rem; z-index: 2;
  font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: 1rem; letter-spacing: .08em; color: var(--ink-3);
  transition: color .3s;
}
.card::after {                                   /* franja roja que sube al pasar el cursor */
  content: ''; position: absolute; inset: auto 0 0 0; height: 100%; z-index: -1;
  background: linear-gradient(0deg, var(--red) 0, rgb(225 11 27 / .55) 40%, transparent 100%);
  opacity: 0; translate: 0 40%; transition: opacity .4s var(--ease-out), translate .5s var(--ease-out);
}
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin-top: .9rem; filter: drop-shadow(0 18px 14px rgb(0 0 0 / .55)); transition: transform .55s var(--ease-spring); }
.card h3 { align-self: end; font-family: var(--font-display); font-weight: 900; font-stretch: 66%; font-size: 1.7rem; line-height: .94; text-transform: uppercase; letter-spacing: .01em; }
.card__color { font-size: .84rem; letter-spacing: .06em; color: var(--ink-3); transition: color .3s; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .5rem; padding-top: .7rem; border-top: 1px solid var(--line); transition: border-color .3s; }
.card__price { font-family: var(--font-display); font-weight: 900; font-stretch: 72%; font-size: 1.55rem; font-variant-numeric: tabular-nums; }
.card__go { width: 38px; height: 38px; display: grid; place-items: center; background: var(--red); color: #fff; transition: rotate .4s var(--ease-spring), background-color .3s, color .3s; }
.card__go svg { width: 18px; height: 18px; }
.card:hover { border-color: var(--red); translate: 0 -5px; }
.card:hover::after { opacity: .9; translate: 0 0; }
.card:hover .card__img { transform: scale(1.1) rotate(-5deg) translateY(-6px); }
.card:hover::before, .card:hover .card__color { color: #fff; }
.card:hover .card__foot { border-color: rgb(255 255 255 / .35); }
.card:hover .card__go { background: #fff; color: var(--red); rotate: -45deg; }
.card[aria-current='true'] { border-color: var(--red); background: linear-gradient(180deg, rgb(225 11 27 / .16), var(--bg-1)); }

/* Entrada al hacer scroll */
.reveal { opacity: 0; translate: 0 36px; clip-path: inset(0 0 14% 0); transition: opacity .7s var(--ease-out), translate .8s var(--ease-out), clip-path .8s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-in { opacity: 1; translate: 0 0; }
.card.reveal { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); scale: .94; transition: opacity .7s var(--ease-out), translate .8s var(--ease-out), scale .8s var(--ease-out), border-color .3s, background-color .3s; transition-delay: calc(var(--i, 0) * 60ms), calc(var(--i, 0) * 60ms), calc(var(--i, 0) * 60ms), 0s, 0s; }
.card.reveal.is-in { scale: 1; }
.step.reveal.is-in { clip-path: inset(0 0 -10% 0); }

/* ==========================================================================
   8. CÓMO PEDIR
   ========================================================================== */
.how {
  position: relative; display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: start;
  padding: clamp(3.5rem, 8vw, 7rem) var(--gutter); max-width: 1500px; margin-inline: auto;
  border-top: 1px solid var(--line);
}
.how__head { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1rem; justify-items: start; }
.how__logo { width: clamp(120px, 14vw, 190px); height: auto; border-radius: 50%; margin-top: 1rem; box-shadow: 0 0 0 3px var(--red), 0 24px 40px -18px rgb(225 11 27 / .6); }
.steps { display: grid; }
.step {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.4rem); align-items: center;
  padding: clamp(1.2rem, 3vw, 2rem) 0; border-bottom: 1px solid var(--line);
}
.step:first-child { border-top: 1px solid var(--line); }
.step::before { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); transition: width 1s var(--ease-out) .3s; }
.step.is-in::before { width: 100%; }
.step__n {
  font-family: var(--font-display); font-weight: 900; font-stretch: 66%; font-size: clamp(5rem, 11vw, 9rem); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px var(--red); min-width: .7em; text-align: center;
  transition: color .4s, -webkit-text-stroke-color .4s;
}
.step:hover .step__n { color: var(--red); }
.step h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: .95; text-transform: uppercase; margin-bottom: .45rem; }
.step p { color: var(--ink-2); max-width: 46ch; }

/* ==========================================================================
   9. FOOTER, BARRA MÓVIL, DIÁLOGO
   ========================================================================== */
.footer { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: clamp(2.4rem, 5vw, 4rem) var(--gutter) 0; }
.footer__inner { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__brand img { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 3px #fff; }
.footer__brand strong { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: 1.7rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1; }
.footer__brand small { color: rgb(255 255 255 / .82); }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.footer__links a { font-family: var(--font-display); font-weight: 800; font-stretch: 80%; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; border-bottom: 2px solid rgb(255 255 255 / .4); padding-bottom: 2px; transition: border-color .25s; }
.footer__links a:hover { border-color: #fff; }
.footer .cta { background: #0a0a0a; }
.footer .cta:hover { background: #000; }
.footer__giant {
  position: relative; z-index: 1; margin: clamp(1rem, 3vw, 2.4rem) 0 0; text-align: center; white-space: nowrap; user-select: none;
  font-family: var(--font-display); font-weight: 900; font-stretch: 66%; line-height: .74; text-transform: uppercase;
  font-size: clamp(3.4rem, 15.4vw, 22rem); color: transparent; -webkit-text-stroke: 2px rgb(0 0 0 / .55);
  translate: 0 12%;
}

/* Barra de pedido móvil */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; gap: .8rem; padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
  background: rgb(7 7 7 / .95); backdrop-filter: blur(12px); border-top: 2px solid var(--red);
  translate: 0 110%; transition: translate .5s var(--ease-out);
}
.dock.is-visible { translate: 0 0; }
.dock img { width: 58px; height: 42px; object-fit: contain; flex: none; }
.dock__text { display: grid; min-width: 0; flex: 1; line-height: 1.15; }
.dock__text strong { font-family: var(--font-display); font-weight: 900; font-stretch: 70%; font-size: 1.15rem; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__text span { font-size: .8rem; color: var(--ink-2); }

/* Diálogo de encargo */
.order {
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); width: min(94vw, 460px); max-height: 94dvh; overflow: visible;
}
.order::backdrop { background: rgb(0 0 0 / .78); backdrop-filter: blur(5px); opacity: 0; transition: opacity .3s; }
.order.is-open::backdrop { opacity: 1; }
.order__panel {
  position: relative; display: grid; gap: .95rem; padding: 1.6rem 1.5rem 1.5rem;
  background: var(--bg-1); border: 1px solid var(--line-strong); border-top: 4px solid var(--red);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  opacity: 0; translate: 0 40px; transition: opacity .3s, translate .45s var(--ease-out);
}
.order.is-open .order__panel { opacity: 1; translate: 0 0; }
.order__close { position: absolute; top: .7rem; right: .9rem; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ink-2); transition: color .2s, rotate .35s var(--ease-spring); }
.order__close svg { width: 20px; height: 20px; }
.order__close:hover { color: var(--red-hi); rotate: 90deg; }
.order__shoe { height: 130px; display: grid; place-items: center; background: radial-gradient(closest-side, rgb(225 11 27 / .45), transparent); }
.order__shoe img { height: auto; max-height: 130px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 12px rgb(0 0 0 / .6)); }
.order h2 { font-family: var(--font-display); font-weight: 900; font-stretch: 66%; font-size: 2.4rem; line-height: .9; text-transform: uppercase; }
.order__lead { color: var(--ink-2); margin-top: -.5rem; }
.order__rows { display: grid; border: 1px solid var(--line); }
.order__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem .9rem; }
.order__rows > div + div { border-top: 1px solid var(--line); }
.order__rows dt { font-family: var(--font-display); font-weight: 700; font-stretch: 80%; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--ink-3); align-self: center; }
.order__rows dd { font-weight: 700; text-align: right; }
.field { display: grid; gap: .4rem; font-family: var(--font-display); font-weight: 700; font-stretch: 80%; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: var(--ink-2); }
.field input { min-height: 50px; padding: 0 .9rem; background: #000; border: 1px solid var(--line-strong); color: var(--ink); font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: 0; border-color: var(--red-hi); box-shadow: 0 0 0 3px rgb(225 11 27 / .3); }

/* ==========================================================================
   10. KEYFRAMES Y COREOGRAFÍA DE ENTRADA
   ========================================================================== */
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
@keyframes logo-wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes logo-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.035; } }
@keyframes count { to { --cnt: 100; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes pre-gone { to { visibility: hidden; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes sheen { 0%, 55% { translate: -120% 0; } 100% { translate: 120% 0; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes floor-pulse { 0%, 100% { scale: 1; opacity: .95; } 50% { scale: .84 .9; opacity: .6; } }
@keyframes wobble { 0%, 100% { rotate: 0deg; } 50% { rotate: 14deg; } }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 8px rgb(61 220 132 / 0); } }
@keyframes tick { from { translate: 0 60%; opacity: 0; } }
@keyframes flip { 0% { rotate: x 90deg; opacity: 0; } 100% { rotate: x 0deg; opacity: 1; } }

@keyframes slab-in   { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }
@keyframes wm-in     { from { opacity: 0; translate: 6% 0; } }
@keyframes shoe-in   { from { opacity: 0; transform: translateX(160px) skewX(-14deg); filter: blur(10px); } }
@keyframes corner-in { from { opacity: 0; scale: .3; } }
@keyframes line-up   { from { opacity: 0; translate: 0 70%; clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -20% 0); } }
@keyframes swap-in   { from { opacity: 0; translate: -22px 0; } }
@keyframes rise      { from { opacity: 0; translate: 0 -16px; } }

/* Estado inicial (mientras carga) */
body.is-loading .hero__slab, body.is-loading .hero__watermark span, body.is-loading .shoe-wrap, body.is-loading .corner,
body.is-loading .arrows, body.is-loading .stage__hint, body.is-loading .rail-wrap, body.is-loading .hero__tick,
body.is-loading .site-header, body.is-loading .strip { opacity: 0; }

body.is-ready .strip       { animation: rise .7s var(--ease-out) .7s backwards; }
body.is-ready .site-header { animation: rise .7s var(--ease-out) .8s backwards; }
body.is-ready .hero__slab  { animation: slab-in 1.1s var(--ease-inout) .55s backwards; }
body.is-ready .hero__watermark span { animation: wm-in 1.2s var(--ease-out) 1.05s backwards; }
body.is-ready .hero__tick  { animation: fade-in .8s ease 1.5s backwards; }
body.is-ready .corner      { animation: corner-in .6s var(--ease-spring) 1.15s backwards; }
body.is-ready .shoe-wrap   { animation: shoe-in 1.1s var(--ease-out) .95s backwards; }
body.is-ready .arrows, body.is-ready .stage__hint { animation: fade-in .7s ease 1.7s backwards; }
body.is-ready .rail-wrap   { animation: rise .8s var(--ease-out) 1.2s backwards; }

/* Texto del producto: se reanima en cada cambio de modelo (JS alterna .is-in) */
.info:not(.is-in) [data-swap], .info:not(.is-in) .title span { opacity: 0; }
.info.is-in [data-swap] { animation: swap-in .6s var(--ease-out) calc(var(--d, 0ms) + var(--i, 0) * 70ms) backwards; }
.info.is-in .title span { animation: line-up .75s var(--ease-out) calc(var(--d, 0ms) + 140ms + var(--l, 0) * 110ms) backwards; }
.info.is-in .title span:last-child::after { animation: slab-in .6s var(--ease-out) calc(var(--d, 0ms) + 420ms) backwards; }

/* ==========================================================================
   11. RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
  .nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'stage' 'rail' 'info'; min-height: 0; padding-top: 0; }
  .hero__slab { width: 100%; height: 62vw; min-height: 340px; max-height: 520px; bottom: auto; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 82%); }
  .hero__watermark { inset: 0 0 auto 0 !important; height: 62vw; min-height: 340px; max-height: 520px; justify-items: center; }
  .hero__watermark span { font-size: clamp(6rem, 30vw, 14rem); margin-top: 0; padding: 0; }
  .hero__tick { display: none; }
  .seg--rail { display: none; }
  .stage { height: clamp(300px, 62vw, 520px); }
  .shoe { width: min(80%, 480px); }
  .corner--tr, .corner--br { right: 4%; }
  .arrows { right: 4%; }
  .info { padding: 1.6rem 0 2.2rem; justify-items: stretch; }
  .title { font-size: clamp(3rem, 14vw, 5.4rem); }
  .sizes, .buy { max-width: none; }
  .how { grid-template-columns: 1fr; }
  .how__head { position: static; }
  .how__logo { display: none; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; --cut: 12px; }
  .cta--head span { display: none; }
  .cta--head { min-width: 44px; padding: 0 .8rem; }
  .brand__text strong { font-size: 1.25rem; }
  .rail button { width: 74px; height: 54px; }
  .counter b { font-size: 2rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card { min-height: 300px; padding: .9rem .8rem .8rem; }
  .card h3 { font-size: 1.35rem; }
  .card__price { font-size: 1.25rem; }
  .card__go { width: 32px; height: 32px; }
  .step { grid-template-columns: 1fr; gap: .4rem; }
  .step__n { text-align: left; font-size: 5rem; }
  .cross__track { font-size: 1.5rem; }
  .cross__a, .cross__b { height: 46px; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: 5.5rem; }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}
@media (min-width: 1001px) { .dock { display: none; } }

/* ==========================================================================
   12. MOVIMIENTO REDUCIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .strip__track, .cross__track { animation: none !important; }
  .pre__num { --cnt: 100; }
}
