/* STAGE Fajas — generated from tokens.json */
:root, [data-theme="light"] {
  --carbon: #363636;
  --stage-blue: #00A0D2;
  --stage-green: #00BA76;
  --surface: #FFFFFF;
  --surface-alt: #F4F5F6;
  --surface-raised: #FFFFFF;
  --photo-ground: #F4F5F6;
  --surface-inverse: #363636;
  --ink: #363636;
  --ink-muted: #6B6E73;
  --on-inverse: #FFFFFF;
  --line: #E2E4E7;
  --line-strong: #8C9096;
  --track: #D5D8DC;
  --s1-soft: #E5F5FB;
  --s1-ink: #006E91;
  --s2-soft: #E3F6EE;
  --s2-ink: #00784C;
  --s3-deep: #0E3A4C;
  --s3-ink: #8FD3EA;
  --focus: #006E91;
  --danger: #C2362B;
  --link: var(--ink);
  --shadow-hover: 0 12px 32px rgba(20,22,25,0.10);
}
[data-theme="dark"] {
  --surface: #121314;
  --surface-alt: #1B1C1E;
  --surface-raised: #222326;
  --photo-ground: #E9EBED;
  --surface-inverse: #26272A;
  --ink: #F2F3F4;
  --ink-muted: #A3A6AB;
  --on-inverse: #F2F3F4;
  --line: #2E3034;
  --line-strong: #6E7277;
  --track: #3A3C40;
  --s1-soft: #0B2A36;
  --s1-ink: #5CC8EA;
  --s2-soft: #0A2C20;
  --s2-ink: #4FD69F;
  --s3-deep: #10506A;
  --s3-ink: #BDE6F4;
  --focus: #5CC8EA;
  --danger: #FF8A7F;
  --link: var(--ink);
  --shadow-hover: 0 12px 32px rgba(0,0,0,0.45);
  color-scheme: dark;
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --stage-angle: 19deg;
  --container: 1200px;
  --container-text: 680px;
  --header-h: 64px;
  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-script: "Mr Dafoe", "Brush Script MT", cursive;
}
.display-xl { font-family: var(--font-display); font-size: 72px; line-height: 72px; font-weight: 800; letter-spacing: -0.02em; }
.display-l { font-family: var(--font-display); font-size: 52px; line-height: 56px; font-weight: 800; letter-spacing: -0.015em; }
.display-m { font-family: var(--font-display); font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.01em; }
.numeral { font-family: var(--font-display); font-size: 96px; line-height: 88px; font-weight: 800; letter-spacing: -0.03em; }
.title { font-family: var(--font-sans); font-size: 24px; line-height: 30px; font-weight: 700; }
.subtitle { font-family: var(--font-sans); font-size: 19px; line-height: 28px; font-weight: 600; }
.body-l { font-family: var(--font-sans); font-size: 18px; line-height: 28px; font-weight: 400; }
.body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; }
.small { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; }
.eyebrow { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.14em; }
.button { font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; }
.ref { font-family: var(--font-mono); font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: 0.02em; }
.script { font-family: var(--font-script); font-size: 44px; line-height: 44px; font-weight: 400; }

/* Fuentes de la guía de diseño servidas desde el propio dominio (decisión del 17-10-2026): Archivo (variable, con eje de ancho),
   IBM Plex Mono 500 y 600, y Mr Dafoe. Licencia SIL Open Font License 1.1: ver /fuentes/LICENCIA_*.txt. Solo el subconjunto latino,
   que cubre inglés y español. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url("/fuentes/archivo-variable-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fuentes/ibm-plex-mono-500-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fuentes/ibm-plex-mono-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Mr Dafoe"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fuentes/mr-dafoe-latin.woff2") format("woff2"); }


/* STAGE Fajas — component styles. Every value comes from tokens.css. Prefix: st- */

/* Base ------------------------------------------------------------------ */
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 24px; background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }
.display-xl, .display-l, .display-m, .numeral { font-stretch: 118%; font-variation-settings: "wdth" 118; text-wrap: balance; }
.eyebrow { text-transform: uppercase; }
.script { font-weight: 400; }
.st-container { max-width: var(--container); margin: 0 auto; padding-left: max(var(--space-4), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-4), env(safe-area-inset-right, 0px)); }
@media (min-width: 768px) { .st-container { padding-left: var(--space-5); padding-right: var(--space-5); } }
.st-section { padding-block: var(--space-7); }
@media (min-width: 900px) { .st-section { padding-block: var(--space-9); } }
.st-muted { color: var(--ink-muted); }
.st-pad { padding: var(--space-5); }
.st-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.st-stack { display: grid; gap: var(--space-3); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Stage scoping: set data-stage="1|2|3" on any ancestor ------------------- */
[data-stage="1"] { --st-accent: var(--stage-blue); --st-ink: var(--s1-ink); --st-soft: var(--s1-soft); --st-fill: 1; }
[data-stage="2"] { --st-accent: var(--stage-green); --st-ink: var(--s2-ink); --st-soft: var(--s2-soft); --st-fill: 2; }
[data-stage="3"] { --st-accent: var(--stage-blue); --st-ink: var(--s1-ink); --st-soft: var(--s3-deep); --st-fill: 3; }

/* Logo (theme-aware pair of <img>) ---------------------------------------- */
.st-logo { display: inline-block; line-height: 0; }
.st-logo img { display: block; width: 100%; height: auto; }
.st-logo .on-dark { display: none; }
[data-theme="dark"] .st-logo .on-light { display: none; }
[data-theme="dark"] .st-logo .on-dark { display: block; }
.st-logo--invert .on-light { display: none; }
.st-logo--invert .on-dark { display: block; }

/* Buttons ---------------------------------------------------------------- */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 1.5px solid var(--carbon); background: var(--carbon); color: #FFFFFF; font: 600 15px/20px var(--font-sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.st-btn:hover { transform: translateY(-1px); }
.st-btn:active { transform: none; }
[data-theme="dark"] .st-btn { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.st-btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
[data-theme="dark"] .st-btn--secondary { background: transparent; color: var(--ink); }
.st-btn--ghost { background: transparent; border-color: transparent; color: var(--ink); padding: 0 var(--space-2); text-decoration: underline; text-underline-offset: 4px; }
[data-theme="dark"] .st-btn--ghost { background: transparent; border-color: transparent; color: var(--ink); }
.st-btn--sm { height: 36px; padding: 0 var(--space-4); font-size: 14px; }
.st-btn--block { width: 100%; }
.st-btn svg { width: 18px; height: 18px; flex: none; }
/* The arrow cut: a slanted chevron at the stage angle */
.st-arrow { display: inline-block; width: 10px; height: 14px; vertical-align: -2px; flex: none; }
.st-stagecard__foot span { display: inline-flex; align-items: center; gap: var(--space-2); }

/* Progress capsule ----------------------------------------------------------- */
.st-progress { --h: 10px; display: flex; gap: 3px; width: 96px; height: var(--h); border-radius: var(--radius-pill); overflow: hidden; flex: none; }
.st-progress i { flex: 1; background: var(--track); transform: skewX(calc(-1 * var(--stage-angle))); }
.st-progress i:first-child { margin-left: -6px; padding-left: 6px; }
.st-progress i:last-child { margin-right: -6px; padding-right: 6px; }
.st-progress i.on { background: var(--st-accent, var(--carbon)); }
.st-progress--lg { --h: 20px; width: 220px; gap: 5px; }
.st-progress--sm { --h: 6px; width: 48px; gap: 2px; }

/* Stage bars (the E) -------------------------------------------------------- */
.st-bars { display: inline-grid; gap: 3px; width: 28px; flex: none; }
.st-bars i { display: block; height: 5px; background: var(--track); clip-path: polygon(var(--o) 0, 100% 0, 100% 100%, calc(var(--o) - 1.7px) 100%); }
.st-bars i:nth-child(1) { --o: 9px; }
.st-bars i:nth-child(2) { --o: 6.3px; }
.st-bars i:nth-child(3) { --o: 3.6px; }
.st-bars i.on { background: var(--st-accent, var(--carbon)); }
.st-bars--lg { width: 64px; gap: 7px; }
.st-bars--lg i { height: 12px; }
.st-bars--lg i:nth-child(1) { --o: 21px; } .st-bars--lg i:nth-child(2) { --o: 14.5px; } .st-bars--lg i:nth-child(3) { --o: 8px; }
.st-bars--lg i { clip-path: polygon(var(--o) 0, 100% 0, 100% 100%, calc(var(--o) - 4.1px) 100%); }

/* Stage badge ------------------------------------------------------------- */
.st-badge { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 12px 0 10px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: 700 12px/16px var(--font-sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.st-badge b { font-weight: 800; }
.st-badge span { color: var(--ink-muted); font-weight: 600; }
.st-badge--solid { background: var(--carbon); border-color: var(--carbon); color: #FFFFFF; }
.st-badge--solid span { color: #C9CCD1; }
.st-badge--solid .st-progress i:not(.on) { background: #5A5C60; }

/* Header ------------------------------------------------------------------ */
.st-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.st-header__in { display: flex; align-items: center; gap: var(--space-5); height: var(--header-h); }
.st-header__brand { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; color: var(--ink); font: 800 15px/1 var(--font-display); font-stretch: 118%; letter-spacing: .02em; }
.st-header__brand em { font: 400 22px/1 var(--font-script); letter-spacing: 0; color: var(--ink); }
.st-nav { display: flex; gap: var(--space-1); margin-left: auto; align-items: center; }
.st-nav a { display: inline-flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 12px; border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.st-nav a:hover { background: var(--surface-alt); }
.st-nav a.st-btn { color: #FFFFFF; background: var(--carbon); }
[data-theme="dark"] .st-nav a.st-btn { color: var(--surface); background: var(--ink); }
.st-nav a[aria-current="page"] { background: var(--surface-alt); font-weight: 700; }
.st-nav__cta { margin-left: var(--space-2); }
.st-burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); border-radius: var(--radius-pill); }
@media (max-width: 760px) { .st-nav { display: none; } .st-burger { display: inline-grid; place-items: center; } }

/* Stage card (home) ----------------------------------------------------- */
.st-stagecard { display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--st-soft); color: var(--ink); text-decoration: none; min-height: 420px; position: relative; overflow: hidden; }
.st-stagecard[data-stage="3"] { color: var(--on-inverse); }
.st-stagecard__num { font: 800 120px/0.85 var(--font-display); font-stretch: 118%; letter-spacing: -0.04em; color: var(--st-accent); }
.st-stagecard[data-stage="3"] .st-stagecard__num { color: var(--s3-ink); }
.st-stagecard__eyebrow { font: 700 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--st-ink); }
.st-stagecard[data-stage="3"] .st-stagecard__eyebrow { color: var(--s3-ink); }
.st-stagecard h3 { margin: var(--space-2) 0 var(--space-2); font: 700 26px/32px var(--font-display); font-stretch: 112%; }
.st-stagecard p { margin: 0; max-width: 34ch; }
.st-stagecard[data-stage="3"] p { color: #D3E3EA; }
.st-stagecard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); font-weight: 600; }
.st-stagecard[data-stage="3"] .st-progress i:not(.on) { background: #2A5568; }

/* Product card ------------------------------------------------------------- */
.st-card { display: grid; gap: var(--space-4); color: var(--ink); text-decoration: none; }
.st-card__media { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-lg); background: var(--photo-ground); overflow: hidden; display: grid; place-items: center; transition: box-shadow .2s ease; }
.st-card:hover .st-card__media { box-shadow: var(--shadow-hover); }
.st-card__media > svg, .st-card__media > img { width: 78%; height: auto; max-height: 88%; }
.st-card__logo { position: absolute; top: var(--space-4); left: var(--space-4); width: 96px; }
.st-card__body { display: grid; gap: 6px; }
.st-card__name { font: 600 17px/24px var(--font-sans); }
.st-card__ref { font: 500 12px/16px var(--font-mono); letter-spacing: .04em; color: var(--ink-muted); }
.st-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); }
.st-card__price { font: 700 16px/24px var(--font-sans); font-variant-numeric: tabular-nums; }
.st-card__dots { display: flex; gap: 6px; }

/* Swatches and size chips ---------------------------------------------------- */
.st-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--c); }
.st-swatches, .st-sizes { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; border: 0; }
.st-swatch { display: inline-flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 14px 0 8px; border-radius: var(--radius-pill); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 500 14px/1 var(--font-sans); cursor: pointer; }
.st-swatch::before { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.st-swatch[aria-pressed="true"] { border-color: var(--ink); }
.st-size { min-width: 52px; height: 44px; padding: 0 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 500 14px/1 var(--font-mono); cursor: pointer; }
.st-size[aria-pressed="true"] { background: var(--carbon); border-color: var(--carbon); color: #FFFFFF; }
[data-theme="dark"] .st-size[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.st-size:disabled { color: var(--ink-muted); text-decoration: line-through; border-style: dashed; cursor: not-allowed; }

/* Spec table --------------------------------------------------------------- */
.st-spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.st-spec caption { text-align: left; font: 700 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-bottom: var(--space-3); }
.st-spec th, .st-spec td { text-align: left; padding: 14px 0; border-top: 1px solid var(--line); vertical-align: top; }
.st-spec th { width: 38%; font-weight: 500; color: var(--ink-muted); padding-right: var(--space-4); }
.st-spec td { font-weight: 500; }
.st-spec td code { font: 500 13px/20px var(--font-mono); }
.st-spec tr:last-child th, .st-spec tr:last-child td { border-bottom: 1px solid var(--line); }
.st-sizetable { width: 100%; border-collapse: collapse; font: 500 13px/20px var(--font-mono); font-variant-numeric: tabular-nums; }
.st-sizetable th, .st-sizetable td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.st-sizetable thead th { font-family: var(--font-sans); font-weight: 700; font-size: 12px; letter-spacing: .1em; color: var(--ink-muted); }
.st-sizetable tbody th { text-align: left; font-family: var(--font-sans); font-weight: 600; }
.st-scroll { overflow-x: auto; }

/* Order panel ------------------------------------------------------------- */
.st-order { display: grid; gap: var(--space-5); }
.st-order__price { font: 700 28px/32px var(--font-sans); font-variant-numeric: tabular-nums; }
.st-order__price small { font: 500 13px/20px var(--font-mono); color: var(--ink-muted); margin-left: var(--space-2); }
.st-order__label { display: flex; gap: 4px; font: 600 14px/20px var(--font-sans); margin-bottom: var(--space-2); }
.st-order__label a { color: var(--ink); font-weight: 500; margin-left: auto; }
.st-order__actions { display: grid; gap: var(--space-2); }
.st-order__contact { display: grid; gap: 4px; padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-alt); font-size: 14px; }
.st-order__contact b { font-weight: 600; }
.st-order__contact span { font-family: var(--font-mono); font-size: 13px; user-select: all; }

/* Footer ----------------------------------------------------------------- */
.st-footer { background: var(--surface-inverse); color: var(--on-inverse); }
.st-footer__in { display: grid; gap: var(--space-6); padding-block: var(--space-8) var(--space-6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.st-footer h4 { margin: 0 0 var(--space-3); font: 700 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #B9BCC1; }
.st-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.st-footer a { color: var(--on-inverse); text-decoration: none; }
.st-footer a:hover { text-decoration: underline; }
.st-footer__logos { display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (min-width: 900px) { .st-footer__in { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.st-footer__legal { border-top: 1px solid rgba(255,255,255,.14); padding-block: var(--space-4); font-size: 13px; color: #B9BCC1; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); justify-content: space-between; }

/* Stage band and pattern ------------------------------------------------------ */
.st-band { background: var(--st-soft, var(--surface-alt)); }
.st-band[data-stage="3"] { color: var(--on-inverse); }
.st-trama { background-image: repeating-linear-gradient(calc(90deg + var(--stage-angle)), transparent 0 15px, color-mix(in srgb, var(--ink) 9%, transparent) 15px 16px); }
.st-cut { position: relative; }
.st-cut::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: var(--st-accent, var(--carbon)); clip-path: polygon(calc(var(--stage-angle) * 2.4) 0, 100% 0, 100% 100%, 0 100%); opacity: .12; pointer-events: none; }

/* Placeholder photo frame ------------------------------------------------- */
.st-photo { position: relative; display: grid; place-items: center; background: var(--photo-ground); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; }
.st-photo > svg { width: 72%; height: auto; }
.st-photo__note { position: absolute; bottom: var(--space-3); right: var(--space-3); font: 500 11px/16px var(--font-mono); color: var(--ink-muted); background: var(--surface); padding: 2px 8px; border-radius: var(--radius-pill); }

/* STAGE Fajas — maquetación de las páginas del sitio, sobre tokens.css y stage.css de la guía de diseño.
   Sale de los mockups home.html y ficha-producto.html de la guía, con estos cambios (decisión del 17-10-2026):
   solo el logo a color (sobre fondo oscuro va sobre una placa blanca), menú del celular sin JavaScript (<details>),
   fotos reales en vez de siluetas y barra de compra fija en el celular. Cada color y medida sale de los tokens. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
img { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--space-4); top: -60px; z-index: 50; background: var(--carbon); color: #FFFFFF; padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); text-decoration: none; }
.skip:focus { top: var(--space-2); }
.aviso-vista-previa { background: #FFF4D6; color: #5C4400; text-align: center; font: 600 13px/20px var(--font-sans); padding: 6px var(--space-4); }
.sin-arriba { padding-top: 0 !important; }
.cifra { font-variant-numeric: tabular-nums; }
.title { font-family: var(--font-sans); font-size: 24px; line-height: 30px; font-weight: 700; }

/* Tipografía en celular: la escala móvil de la guía */
@media (max-width: 760px) {
  .display-xl { font-size: 44px; line-height: 48px; }
  .display-l { font-size: 36px; line-height: 40px; }
  .display-m { font-size: 28px; line-height: 32px; }
}

/* Logo: archivo SVG a color, nunca recreado */
.st-logo-img { display: block; height: auto; max-width: 100%; }

/* Cabecera y menú del celular ------------------------------------------------ */
.st-header__brand .st-progress { margin-right: 2px; }
.menu-movil { display: none; margin-left: auto; position: relative; }
.menu-movil summary { list-style: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill); cursor: pointer; color: var(--ink); }
.menu-movil summary::-webkit-details-marker { display: none; }
.menu-movil[open] summary { background: var(--surface-alt); }
.menu-movil nav { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-hover); padding: var(--space-2); display: grid; gap: 2px; }
.menu-movil nav a { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-movil nav a:hover, .menu-movil nav a[aria-current="page"] { background: var(--surface-alt); }
@media (max-width: 960px) { .st-nav { display: none; } .menu-movil { display: block; } }

/* Ruta (migas) ---------------------------------------------------------------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: var(--space-5) 0; font-size: 13px; color: var(--ink-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--space-2); }
.crumbs a { color: var(--ink-muted); }

/* Inicio ---------------------------------------------------------------------- */
.hero { text-align: center; padding-block: var(--space-8) var(--space-7); }
@media (min-width: 900px) { .hero { padding-block: var(--space-9) var(--space-8); } }
.triad { display: flex; justify-content: center; align-items: center; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-7); }
.triad a { display: block; padding: 8px; border-radius: var(--radius-md); }
.triad img { width: 180px; }
@media (max-width: 760px) { .triad { gap: var(--space-2); flex-wrap: nowrap; } .triad a { padding: 4px; } .triad img { width: 92px; } }
@media (max-width: 340px) { .triad { flex-wrap: wrap; } }
.triad--izquierda { justify-content: flex-start; margin-bottom: var(--space-6); }
.triad--izquierda img { width: 140px; }
.hero h1 { margin: var(--space-3) auto var(--space-4); max-width: 16ch; }
.hero .bajada { margin: 0 auto var(--space-6); max-width: 52ch; color: var(--ink-muted); }
.hero-acciones { justify-content: center; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-5); margin-bottom: var(--space-7); flex-wrap: wrap; }
.sec-head h2 { margin: var(--space-2) 0 0; }
.sec-head__texto { max-width: 40ch; margin: 0; }
.echo { font-family: var(--font-script); font-size: 48px; line-height: 1; font-weight: 400; letter-spacing: 0; }
.grid3 { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid4 { display: grid; gap: var(--space-6) var(--space-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.st-stagecard { min-height: 380px; }
@media (max-width: 760px) { .st-stagecard { min-height: 0; padding: var(--space-5); } .st-stagecard__num { font-size: 88px; } }
.comparar { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.comparar th, .comparar td { text-align: left; vertical-align: top; padding: 14px var(--space-3) 14px 0; border-top: 1px solid var(--line); }
.comparar thead th { font: 700 13px/18px var(--font-sans); letter-spacing: .06em; border-top: 0; white-space: nowrap; }
.comparar thead th .st-bars { vertical-align: middle; margin-right: 6px; }
.comparar tbody th { width: 18%; color: var(--ink-muted); font-weight: 500; }
.comparar tr:last-child th, .comparar tr:last-child td { border-bottom: 1px solid var(--line); }
.nota-precio { margin-top: var(--space-3); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-6); border-top: 1px solid var(--line); padding-top: var(--space-7); }
.trust div { display: grid; gap: 4px; }
.trust b { font: 700 17px/24px var(--font-sans); }
.trust span { color: var(--ink-muted); font-size: 15px; }
.aviso-medico { margin-top: var(--space-6); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-alt); font-size: 14px; line-height: 20px; }

/* Tarjeta de producto con foto real ------------------------------------------- */
.st-card__media--foto { place-items: end center; }
.st-card__media--foto, .thumb { grid-template-rows: 100%; }
/* la foto deja arriba el alto del logo (96 px de ancho = 47 px de alto) más su margen y su área de protección: 16 + 47 + 13 = 76 px */
.st-card__media--foto > img { width: 100%; height: calc(100% - 76px); max-height: none; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
@media (max-width: 760px) { .st-card__media--foto > img { height: calc(100% - 72px); } }
.st-card__logo { width: 96px; z-index: 1; }
.st-card__logo img { width: 96px; }
@media (max-width: 760px) { .st-card__logo { top: var(--space-3); left: var(--space-3); } }
.st-card__name { font-size: 16px; line-height: 22px; }

/* Página de línea --------------------------------------------------------------- */
.banda-linea { display: grid; grid-template-columns: auto 1fr; gap: var(--space-7); align-items: center; padding: var(--space-8) var(--space-7); border-radius: var(--radius-lg); }
@media (max-width: 900px) { .banda-linea { grid-template-columns: 1fr; gap: var(--space-5); padding: var(--space-6) var(--space-5); } }
.banda-linea__logo, .marca__logo, .gallery__logo { background: var(--surface); border-radius: var(--radius-md); padding: 18px; width: max-content; }
.banda-linea__logo img { width: 160px; }
.banda-linea__eyebrow, .stageband__eyebrow { color: var(--st-ink); }
.banda-linea h1 { margin: var(--space-2) 0 var(--space-3); }
.banda-linea .body-l { max-width: 60ch; }
.banda-linea__progreso { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-5); }
.st-band[data-stage="3"] .banda-linea__eyebrow, .st-band[data-stage="3"] .stageband__eyebrow { color: var(--s3-ink); }
.st-band[data-stage="3"] .ref, .st-band[data-stage="3"] p { color: #D3E3EA; }
.st-band[data-stage="3"] .st-progress i:not(.on) { background: #2A5568; }
.st-band[data-stage="3"] .st-btn--secondary { color: var(--on-inverse); border-color: var(--on-inverse); }
.comunes { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .comunes { grid-template-columns: 1fr; gap: var(--space-6); } }
.comunes h2 { margin-bottom: var(--space-4); }
.comunes__siguiente { display: grid; gap: var(--space-3); }

/* Ficha de producto ------------------------------------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: var(--space-6); } }
.gallery { display: grid; gap: var(--space-3); }
.gallery__logo { padding: 0 0 var(--space-2); }
.gallery__logo img { width: 150px; }
.main-photo { aspect-ratio: 4 / 5; }
.main-photo > img { height: 96%; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.thumb { aspect-ratio: 4 / 5; border-radius: var(--radius-md); background: var(--photo-ground); display: grid; place-items: end center; overflow: hidden; }
.thumb img { width: 100%; height: 92%; object-fit: contain; object-position: center bottom; mix-blend-mode: multiply; }
.info { position: sticky; top: calc(var(--header-h) + var(--space-5)); display: grid; gap: var(--space-5); }
@media (max-width: 900px) { .info { position: static; } }
.ficha-h1 { font-size: 34px; line-height: 40px; }
@media (max-width: 760px) { .ficha-h1 { font-size: 28px; line-height: 34px; } }
.benefits { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-2); }
.benefits li { display: flex; gap: var(--space-3); align-items: baseline; }
.benefits li::before { content: ""; flex: none; width: 10px; height: 8px; background: var(--st-accent, var(--carbon)); clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%); transform: translateY(-1px); }
.st-order__actions .st-btn { white-space: normal; text-align: center; height: auto; min-height: 52px; padding-block: 10px; }
.st-order__contact a { color: var(--ink); }
.st-swatch:disabled { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.err { color: var(--danger); font-size: 13px; margin-top: var(--space-2); }
.stageband { border-radius: var(--radius-lg); padding: var(--space-8) var(--space-7); display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-7); align-items: center; }
@media (max-width: 900px) { .stageband { grid-template-columns: 1fr; padding: var(--space-6) var(--space-5); gap: var(--space-4); } }
.stageband .numeral { color: var(--st-accent); }
.st-band[data-stage="3"] .numeral { color: var(--s3-ink); }
.stageband h2 { margin: var(--space-2) 0; }
.stageband p { max-width: 52ch; }
.next { display: grid; gap: var(--space-3); justify-items: start; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--space-8); align-items: start; padding-bottom: var(--space-8); }
.tallas-titulo { margin: 0 0 var(--space-3); }
.lista-tallas { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0 0 var(--space-3); padding: 0; }
.lista-tallas li { min-width: 52px; height: 36px; display: grid; place-items: center; padding: 0 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); font: 500 14px/1 var(--font-mono); }
.lista-tallas li.agotada { color: var(--ink-muted); border-style: dashed; text-decoration: line-through; }
.actualizado { margin-top: var(--space-4); }
.barra-de-compra { display: none; }
@media (max-width: 900px) {
  .barra-de-compra { position: sticky; bottom: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) max(var(--space-4), env(safe-area-inset-right, 0px)) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)) max(var(--space-4), env(safe-area-inset-left, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .barra-de-compra__precio { font: 700 18px/24px var(--font-sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .barra-de-compra .st-btn { height: 44px; padding: 0 var(--space-4); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* Páginas de texto -------------------------------------------------------------- */
.pagina-texto { max-width: var(--container-text); padding-bottom: var(--space-9); display: grid; gap: var(--space-4); }
.pagina-texto h1 { margin-bottom: var(--space-2); }
.pagina-texto h2 { margin-top: var(--space-6); }
.pasos { margin: 0; padding-left: var(--space-5); display: grid; gap: var(--space-4); }
.pasos li { display: grid; gap: 2px; }
.pasos b { font-weight: 700; }
.lista-simple { margin: 0; padding-left: var(--space-5); display: grid; gap: var(--space-2); }
/* la parte en español de la 404 de la raíz (CloudFront sirve esa 404 también bajo /es/) */
.otro-idioma { margin: var(--space-5) 0 var(--space-6); padding: var(--space-4); border-radius: var(--radius-md); background: var(--surface-alt); }
.otro-idioma p { margin: var(--space-2) 0 var(--space-3); }
.marcas { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: var(--container); }
.marca { display: grid; gap: var(--space-3); align-content: start; padding: var(--space-5); background: var(--surface-alt); border-radius: var(--radius-lg); }
.marca__logo { padding: 14px; }
.marca__logo img { width: 160px; }
@media (min-width: 900px) { .pagina-texto:has(.marcas) { max-width: var(--container); } }

/* Pie --------------------------------------------------------------------------- */
.st-footer__marcas { background: var(--surface-alt); border-top: 1px solid var(--line); }
.st-footer__marcas-in { display: flex; justify-content: center; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding-block: var(--space-6); }
.st-footer__marcas img { width: 120px; }
@media (max-width: 760px) { .st-footer__marcas-in { gap: var(--space-3); } .st-footer__marcas img { width: 96px; } }
.pie-texto { color: #C9CCD1; max-width: 36ch; }
.pie-titulo { margin: 0 0 var(--space-3); font: 700 12px/16px var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: #B9BCC1; }
.st-footer li { overflow-wrap: anywhere; }
.st-header__brand em { font-style: normal; }

/* Corrección a la guía: la regla «.st-stagecard__foot span» de stage.css también alcanza a la cápsula de progreso, le pone
   align-items: center y deja sus segmentos en 0 px de alto (tampoco se ve en el mockup home.html de la guía). Se le devuelve su forma. */
.st-stagecard__foot .st-progress { display: flex; align-items: stretch; gap: 3px; }
.st-stagecard__foot > span:last-child { white-space: nowrap; }

/* En celular ningún bloque puede empujar el ancho de la página: los botones largos parten su texto y las columnas de la rejilla
   se pueden achicar por debajo de su contenido. */
.stageband > *, .banda-linea > *, .pdp > *, .comunes > *, .specs > * { min-width: 0; }
.next .st-btn, .comunes__siguiente .st-btn { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; text-align: left; }
@media (max-width: 900px) { .stageband { grid-template-columns: minmax(0, 1fr); } .banda-linea { grid-template-columns: minmax(0, 1fr); } }
.pagina-texto { grid-template-columns: minmax(0, 1fr); }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 400px) {
  .display-xl { font-size: 36px; line-height: 40px; }
  .display-l { font-size: 30px; line-height: 34px; }
  .ficha-h1 { font-size: 26px; line-height: 32px; }
  .echo { font-size: 40px; }
}
.pagina-texto .st-btn { white-space: normal; height: auto; min-height: 48px; padding-block: 10px; text-align: left; }
.specs { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.st-spec .st-badge { white-space: normal; height: auto; min-height: 28px; padding-block: 4px; flex-wrap: wrap; }
.info .st-badge { white-space: normal; height: auto; min-height: 28px; padding-block: 4px; flex-wrap: wrap; max-width: 100%; }
.banda-linea__progreso { flex-wrap: wrap; }
.st-progress--lg { max-width: 100%; }

/* Revisión adversaria del 17-10-2026 ---------------------------------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--header-h) + 16px); }
@media (max-width: 900px) { html:has(.barra-de-compra) { scroll-padding-bottom: 96px; } }
/* El botón de la cabecera es secundario: no compra, lleva a las tres líneas. stage.css fuerza el fondo carbón en .st-nav a.st-btn. */
.st-nav a.st-btn.st-btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
/* Corrección a la guía: el foco #006E91 da 2,09:1 sobre el pie #363636 y 2,11:1 sobre la banda de STAGE 3 #0E3A4C (WCAG 1.4.11 pide 3:1).
   Sobre esos fondos el anillo va en blanco (12:1). */
.st-footer :focus-visible, .st-band[data-stage="3"] :focus-visible, .st-stagecard[data-stage="3"]:focus-visible { outline-color: var(--on-inverse); }
/* En celular el botón de la barra de compra parte el texto en dos líneas en vez de cortarlo */
@media (max-width: 900px) {
  .barra-de-compra .st-btn { min-width: 0; height: auto; min-height: 44px; padding: 6px var(--space-4); font-size: 14px; line-height: 18px; white-space: normal; text-align: center; overflow: visible; text-overflow: clip; }
}
.st-stagecard__titulo { margin: var(--space-2) 0; font: 700 26px/32px var(--font-display); font-stretch: 112%; }
.sin-margen { margin: 0 0 var(--space-5); }
.st-size[aria-disabled="true"] { color: var(--ink-muted); border-style: dashed; text-decoration: line-through; }

