/* TEIXIDÓ · teixido.co — sitio minimalista tipográfico
   Desktop 1440 → 8×8 · Tablet → 4×16 · Mobile 390 → 3×21 */

@font-face { font-family: "TypeXD"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/typexd-300.woff") format("woff"); }
@font-face { font-family: "TypeXD"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/typexd-400.woff") format("woff"); }
@font-face { font-family: "TypeXD"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/typexd-500.woff") format("woff"); }

:root {
  /* tokens (mismos nombres que el diseño: txd.*) */
  --txd-ink: #16171C;
  --txd-canvas: #F3F4F4;
  --txd-yellow: #F4FF75;
  --txd-lilac: #D1B5F7;
  --txd-ink-500: #4A4D57;
  --txd-ink-200: #A6AAB4;
  --muted: #5E6470;
  --hair: #16171C24;
  --hair-soft: #16171C1F;
  --hair-dark: #F3F4F41F;

  --font-family: "TypeXD", "TypeXD Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --w-light: 300; --w-regular: 400; --w-medium: 500;

  --expo: cubic-bezier(0.16, 1, 0.3, 1);
  --content: 1312px;
  --gutter: clamp(20px, 4.45vw, 64px);
  --pad-x: max(var(--gutter), calc((100% - var(--content)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--txd-ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--txd-ink-500) var(--txd-ink); }
body { margin: 0; background: var(--txd-canvas); color: var(--txd-ink); font-family: var(--font-family); font-weight: var(--w-regular); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
p, h1, h2, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; text-underline-offset: 3px; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; }
::selection { background: var(--txd-yellow); color: var(--txd-ink); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.mono { font-family: var(--font-mono); font-size: 12px; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.sep { display: inline-block; margin: 0 0.7em; opacity: 0.7; }
.lbl { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--txd-yellow); color: var(--txd-ink); font: var(--w-medium) 14px/1 var(--font-family); }
.skip:focus { top: 12px; }

/* Fondos con grano calibrado */
.light { position: relative; background-color: var(--txd-canvas); isolation: isolate; }
.light::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/grain-light.png") 0 0 / 320px 320px; opacity: .42; pointer-events: none; }
.dark { position: relative; background-color: var(--txd-ink); color: var(--txd-canvas); isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/grain-dark.png") 0 0 / 320px 320px; opacity: .6; pointer-events: none; }

/* Variantes mínimas solo para controles de cabecera / botón copiar móvil (corte en 720 px) */
@media (min-width: 721px) { .only-narrow { display: none !important; } }
@media (max-width: 720px) { .only-wide { display: none !important; } }

/* ── Botones ─────────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--txd-ink); color: var(--txd-canvas); font: var(--w-medium) 14px/1 var(--font-family); white-space: nowrap; cursor: pointer;
  transition: background-color 150ms var(--expo), color 150ms var(--expo), transform 100ms var(--expo); }
.btn i, .pill i { font-style: normal; display: inline-block; transition: transform 150ms var(--expo); }
.btn-lg { height: 52px; padding: 0 26px; }
.btn-block { display: flex; width: 100%; height: 48px; }
.btn-outline { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 18px; border-radius: 999px; background: transparent; border: 1px solid var(--txd-ink); color: var(--txd-ink); font: var(--w-medium) 14px/1 var(--font-family); cursor: pointer; transition: background-color 150ms var(--expo), color 150ms var(--expo), transform 100ms var(--expo); }
.btn-outline.ok { background: var(--txd-yellow); color: var(--txd-ink); }
.btn-outline:active { transform: scale(.985); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: var(--txd-yellow); border: 1px solid var(--txd-ink); color: var(--txd-ink); font: var(--w-medium) 14px/1 var(--font-family); white-space: nowrap; transition: background-color 150ms var(--expo), color 150ms var(--expo); }
@media (hover: hover) {
  .btn:hover { background: var(--txd-yellow); color: var(--txd-ink); }
  .btn:hover i { transform: translateX(3px); }
  .pill:hover { background: var(--txd-ink); color: var(--txd-yellow); }
  .pill:hover i { transform: translate(2px, -2px); }
  .nav-link:hover, .contacto a:hover:not(.btn):not(.mail), .footer-top .up:hover { text-decoration: underline; }
}
.btn:active { transform: scale(.98); }

/* Foco = caja de selección con 4 manijas */
:focus { outline: none; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
.btn, .pill, .mail, .btn-outline { position: relative; }
.btn:focus-visible::after, .pill:focus-visible::after, .mail:focus-visible::after, .btn-outline:focus-visible::after {
  content: ""; position: absolute; inset: -9px; pointer-events: none;
  --k: var(--txd-ink);
  background:
    linear-gradient(#fff, #fff) 1px 1px / 6px 6px, linear-gradient(#fff, #fff) calc(100% - 1px) 1px / 6px 6px,
    linear-gradient(#fff, #fff) 1px calc(100% - 1px) / 6px 6px, linear-gradient(#fff, #fff) calc(100% - 1px) calc(100% - 1px) / 6px 6px,
    linear-gradient(var(--k), var(--k)) 0 0 / 8px 8px, linear-gradient(var(--k), var(--k)) 100% 0 / 8px 8px,
    linear-gradient(var(--k), var(--k)) 0 100% / 8px 8px, linear-gradient(var(--k), var(--k)) 100% 100% / 8px 8px;
  background-repeat: no-repeat; }
.btn:focus-visible, .pill:focus-visible, .btn-outline:focus-visible { outline-color: var(--txd-ink); }
.dark :focus-visible { outline-color: var(--txd-yellow); }

/* ── Header ──────────────────────────────────────────── */
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 80px; padding: 0 var(--pad-x); border-bottom: 1px solid var(--hair-soft); }
.brand { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; color: var(--txd-ink); }
.brand-mark { position: relative; display: block; width: 70px; height: 34px; }
.brand-mark svg { position: absolute; display: block; fill: currentColor; overflow: visible; }
.brand-letters { inset: 0; width: 100%; height: 100%; }
/* La corona ocupa su caja exacta dentro del monograma (viewBox 0 2.14 315.4 155.24) */
.brand-crown { left: 34.718%; top: 0; width: 30.564%; height: 25.509%; transform-origin: 50% 50%; }
.brand-crown.is-spinning { animation: crownAxis 1400ms cubic-bezier(.4, 0, .2, 1) 1 both; }
/* Spec 01: giro axial de 360° (efecto moneda) en 1,4 s, disparado por temporizador cada 300 s o gesto */
@keyframes crownAxis {
  0% { transform: perspective(200px) rotateY(0deg); }
  100% { transform: perspective(200px) rotateY(360deg); }
}
.header-meta { justify-self: center; color: var(--muted); white-space: nowrap; }
.header-nav { justify-self: end; display: flex; align-items: center; gap: 24px; }
.nav-link { display: inline-flex; align-items: center; min-height: 36px; padding: 0 4px; font-size: 14px; line-height: 1.2; white-space: nowrap; }

/* ── Hero ────────────────────────────────────────────── */
.hero { display: flex; flex-direction: column; gap: 52px; padding: 76px var(--pad-x) 72px; overflow-x: clip; }
.hero-claim { display: flex; flex-direction: column; gap: 40px; }
.claim { display: grid; row-gap: 0.08em; font-size: clamp(36px, 6.7vw, 96px); line-height: 1.02; letter-spacing: -0.036em; font-weight: var(--w-light); }
.claim b { font-weight: var(--w-medium); }
.claim > span { display: block; }
.claim .l2 { padding-left: 1.08em; }
.claim .l3 { padding-left: 2.02em; margin-top: max(0.24em, 26px); }
.hl { position: relative; isolation: isolate; display: inline-block; padding: 0.02em 0.16em 0.06em; font-weight: var(--w-medium); }
.hl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--txd-yellow); }
.bajada { max-width: 44ch; font-size: clamp(18px, 1.65vw, 24px); line-height: 1.42; letter-spacing: -0.015em; font-weight: var(--w-regular); color: var(--txd-ink-500); text-wrap: pretty; }

.hero-bar { display: grid; grid-template-columns: 450fr 450fr 412fr; border-block: 1px solid var(--hair); }
.bar-col { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 28px 36px; border-right: 1px solid var(--hair-soft); }
.bar-col:first-child { padding-left: 0; }
.bar-col:last-child { padding-right: 0; border-right: 0; }
.bar-col p:not(.lbl) { font-size: 16px; line-height: 1.55; max-width: 42ch; text-wrap: pretty; }
.bar-col .list { display: flex; flex-direction: column; gap: 4px; font-size: 16px; line-height: 1.5; }
.bar-cta { gap: 18px; }
.quiet { color: var(--txd-ink-500); }

/* ── Artefacto: caja de selección ─────────────────── */
.sel { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; contain: layout style; --c: var(--txd-ink); --hf: #fff; --on: var(--txd-canvas); }
.sel.yellow { --c: var(--txd-yellow); --hf: var(--txd-canvas); --on: var(--txd-ink); }
.sel .e { position: absolute; background: var(--c); }
.sel .et { left: 0; right: 0; top: 0; height: 1px; transform-origin: left; }
.sel .el { top: 0; bottom: 0; left: 0; width: 1px; transform-origin: top; }
.sel .er { top: 0; bottom: 0; right: 0; width: 1px; transform-origin: top; }
.sel .eb { left: 0; right: 0; bottom: 0; height: 1px; transform-origin: left; }
.sel .h { position: absolute; width: 8px; height: 8px; background: var(--hf); border: 1px solid var(--c); }
.sel .h1 { left: -4px; top: -4px; } .sel .h2 { right: -4px; top: -4px; } .sel .h3 { left: -4px; bottom: -4px; } .sel .h4 { right: -4px; bottom: -4px; }
.sel-label { position: absolute; left: -4px; bottom: calc(100% + 7px); white-space: nowrap; font: var(--w-medium) 12px/16px var(--font-family); color: var(--c); }
.sel-size { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; padding: 3px 7px; font: var(--w-medium) 11px/1.2 var(--font-family); font-variant-numeric: tabular-nums; background: var(--c); color: var(--on); }
.sel-size:empty { display: none; }
.cursor { position: absolute; left: calc(100% - 3px); top: calc(100% - 3px); width: 56px; height: 36px; }
.cursor svg { position: absolute; left: 0; top: 0; width: 18px; height: 18px; fill: var(--c); }
.cursor b { position: absolute; left: 14px; top: 16px; padding: 3px 7px; font: var(--w-medium) 11px/1.2 var(--font-family); background: var(--c); color: var(--on); }
.cursor-txd { left: auto; right: 64px; top: 22px; }
.cursor-txd svg { fill: var(--txd-lilac); }
.cursor-txd b { background: var(--txd-lilac); color: var(--txd-ink); }
@media (hover: none) { .cursor { display: none; } }

/* Entrada autoral del hero (Spec 04): 1,2 s, una vez por sesión */
.play .hero .sel .et, .play .hero .sel .eb { animation: trace 220ms var(--expo) 300ms both; }
.play .hero .sel .el, .play .hero .sel .er { --from: scaleY(0); animation: trace 220ms var(--expo) 300ms both; }
.play .hero .sel .er, .play .hero .sel .eb { animation-delay: 400ms; }
.play .hero .sel .h1 { animation: pop 120ms var(--expo) 300ms both; }
.play .hero .sel .h2, .play .hero .sel .h3 { animation: pop 120ms var(--expo) 480ms both; }
.play .hero .sel .h4 { animation: pop 120ms var(--expo) 600ms both; }
.play .hero .sel-label { animation: wipe 340ms var(--expo) 540ms both; }
.play .hero .hl::before { animation: wipe 320ms var(--expo) 780ms both; }
.play .hero .sel-size { animation: rise 180ms var(--expo) 1000ms both; }
.play .hero .cursor { animation: arrive 600ms var(--expo) 600ms both; }
@keyframes trace { from { transform: var(--from, scaleX(0)); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, -4px); } }
@keyframes arrive { from { opacity: 0; transform: translate(120px, 84px); } }
@keyframes fade { from { opacity: 0; } }

/* Pulso de llegada al saltar desde #slot a #contacto */
.sel.pulse .e { animation: mailPulse 640ms var(--expo) 1; }
@keyframes mailPulse {
  0%, 100% { background: var(--c); }
  35% { background: var(--txd-yellow); box-shadow: 0 0 0 1px var(--txd-ink); }
}

/* ── Section heads ───────────────────────────────────── */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.title { font-size: clamp(32px, 4vw, 56px); line-height: 1.15; letter-spacing: -0.036em; font-weight: var(--w-medium); text-wrap: balance; }
.t-light { font-weight: var(--w-light); }

/* ── Marcas ──────────────────────────────────────────── */
.marcas { display: flex; flex-direction: column; gap: 48px; padding: 96px var(--pad-x); overflow-x: clip; }
.marcas .title { color: var(--txd-canvas); }
.sectores { color: var(--txd-ink-200); line-height: 1.75; white-space: nowrap; text-align: right; }
.matrix-wrap { position: relative; }
.matrix { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-auto-rows: 144px; border-top: 1px solid var(--hair-dark); border-left: 1px solid var(--hair-dark); }
.cell, .slot { border-right: 1px solid var(--hair-dark); border-bottom: 1px solid var(--hair-dark); }
.cell { position: relative; display: grid; place-items: center; padding: 24px 12px; background-color: transparent; transition: background-color 150ms var(--expo); }
/* Normalización óptica por proporción de logo */
.cell img { width: 100%; max-width: 118px; height: 42px; object-fit: contain; opacity: .9; transition: opacity 150ms var(--expo), filter 150ms var(--expo); }
.cell .logo-wide { max-width: 136px; height: 40px; }
.cell .logo-mid { max-width: 98px; height: 40px; }
.cell .logo-compact { max-width: 60px; height: 42px; }
.cell .logo-nike { max-width: 88px; height: 36px; }
/* Hover / foco / tap: inversión limpio claro↔oscuro sin mover el logo */
@media (hover: hover) {
  .cell:hover { background-color: var(--txd-canvas); z-index: 4; }
  .cell:hover img { opacity: 1; filter: brightness(0.09); }
  .cell:hover .cell-tip { opacity: 1; }
}
.cell:focus-visible, .cell.is-active { background-color: var(--txd-canvas); z-index: 4; }
.cell:focus-visible img, .cell.is-active img { opacity: 1; filter: brightness(0.09); }
.cell:focus-visible .cell-tip, .cell.is-active .cell-tip { opacity: 1; }
.cell:focus-visible { outline: 1px solid var(--txd-yellow); outline-offset: -1px; }
.cell-tip { position: absolute; left: -1px; bottom: calc(100% + 1px); z-index: 5; pointer-events: none; opacity: 0; display: inline-flex; align-items: baseline; gap: 6px; width: max-content; max-width: calc(100vw - 40px); padding: 4px 9px; background: var(--txd-ink); border: 1px solid var(--hair-dark); color: var(--txd-canvas); font: var(--w-medium) 12px/1.3 var(--font-family); white-space: nowrap; transition: opacity 140ms var(--expo); }
.cell-tip.flip { left: auto; right: -1px; }
.cell-tip.center { left: 50%; right: auto; transform: translateX(-50%); }
.cell-tip-country { font: 400 10.5px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--txd-yellow); }
.cell-tip-country::before { content: "·"; margin-right: 6px; color: var(--txd-ink-200); }
.slot { grid-column: span 3; background: #F4FF7512; border-color: #F4FF7555; transition: background-color 150ms var(--expo); }
.slot-link { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; width: 100%; height: 100%; padding: 24px 28px; color: var(--txd-canvas); }
.slot-head { display: flex; align-items: center; justify-content: space-between; color: var(--txd-yellow); }
.slot-head i { font-style: normal; transition: transform 150ms var(--expo); }
.slot-copy { font-size: 16px; line-height: 1.5; letter-spacing: 0.005em; text-wrap: pretty; }
@media (hover: hover) {
  .slot:hover { background: #F4FF751E; }
  .slot:hover .slot-head i { transform: translateY(3px); }
}
.slot-link:focus-visible { outline: 1px solid var(--txd-yellow); outline-offset: -2px; }
.matrix-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: -8px; color: var(--txd-ink-200); font-size: 14px; line-height: 1.5; letter-spacing: 0.005em; }
.matrix-note .mono { white-space: nowrap; }

/* ── Contacto ────────────────────────────────────────── */
.contacto { display: flex; flex-direction: column; gap: 40px; padding: 108px var(--pad-x); overflow-x: clip; }
.mailrow { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 48px 28px; padding: 36px 0; border-block: 2px solid var(--txd-ink); }
.mail { display: inline-flex; align-items: center; padding: 0.04em 0.14em 0.08em; font-size: clamp(32px, 5.8vw, 84px); line-height: 1.15; letter-spacing: -0.036em; font-weight: var(--w-light); }
.mail-side { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.chip { pointer-events: auto; cursor: pointer; border: 0; min-height: 26px; padding: 4px 10px; font: var(--w-medium) 11px/1.2 var(--font-family); font-variant-numeric: tabular-nums; transition: background-color 150ms var(--expo), color 150ms var(--expo), transform 100ms var(--expo); }
.chip::before { content: ""; position: absolute; inset: -9px -8px; }
.chip:active { transform: translateX(-50%) scale(.96); }
.chip.ok { background: var(--txd-yellow); color: var(--txd-ink); outline: 1px solid var(--txd-ink); }
.chip.err { background: var(--txd-ink); color: var(--txd-yellow); outline: 1px solid var(--txd-ink); }
.mail-actions-m { margin-top: -16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-col { display: flex; flex-direction: column; gap: 10px; padding: 0 28px; }
.contact-col:first-child { padding-left: 0; border-right: 1px solid var(--hair-soft); }
.contact-col:last-child { padding-right: 0; }
.contact-col .big { font-size: 22px; line-height: 1.3; letter-spacing: -0.025em; font-weight: var(--w-medium); }
.canales-wide { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.canales-wide a { display: inline-flex; align-items: center; min-height: 32px; }
.contact-col .quiet { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ── Footer ──────────────────────────────────────────── */
.site-footer { display: flex; flex-direction: column; gap: 44px; padding: 40px var(--pad-x) 48px; border-top: 3px solid var(--txd-yellow); overflow-x: clip; }
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid var(--hair-dark); color: var(--txd-ink-200); }
.footer-years { justify-self: center; }
.footer-top .up { justify-self: end; display: inline-flex; align-items: center; min-height: 32px; padding: 0 4px; color: var(--txd-yellow); }
.wordmark { position: relative; color: var(--txd-yellow); }
.wordmark-letters { display: block; width: 100%; height: auto; fill: var(--txd-canvas); }
/* Corona sobre la X: caja exacta 244.27..340.67 × 2.14..41.74 del viewBox 595.51 × 155.24 */
.wordmark txd-corona { position: absolute; left: 41.019%; top: 0; width: 16.188%; aspect-ratio: 96.4 / 39.6; display: block; line-height: 0; cursor: pointer; --corona-fondo: #16171C; }
.footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--hair-dark); color: var(--txd-ink-200); }

/* ── Tablet ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .site-header { display: flex; flex-wrap: wrap; justify-content: space-between; height: auto; padding-block: 14px; row-gap: 10px; }
  .header-meta { order: 3; flex: 1 0 100%; padding-top: 10px; border-top: 1px solid var(--hair-soft); }
  .hero { gap: 48px; padding-top: 68px; padding-bottom: 68px; }
  .hero-bar { grid-template-columns: 1fr 1fr; }
  .bar-col:nth-child(2) { border-right: 0; padding-right: 0; }
  .bar-cta { grid-column: 1 / -1; padding: 28px 0; border-top: 1px solid var(--hair-soft); }
  .bar-cta .quiet { max-width: 56ch; }
  .section-head { flex-wrap: wrap; }
  .sectores { text-align: left; }
  .matrix { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 132px; }
  .marcas { padding-top: 80px; padding-bottom: 80px; }
  .contacto { padding-top: 88px; padding-bottom: 88px; }
  #selCrown .cursor { left: calc(100% + 6px); top: -8px; }
}

@media (max-width: 960px) {
  #selCrown .sel-size { display: none; }
}

/* ── Mobile (diseño 390 — mismo contenido, bajada y textos que desktop) ── */
@media (max-width: 720px) {
  .site-header { padding: 10px 20px 12px; row-gap: 8px; }
  .header-meta { font-size: 11px; padding-top: 8px; }
  .brand-mark { width: 56px; height: 28px; }
  .header-nav { gap: 8px; }
  .nav-link { height: 44px; padding: 0 8px; }
  .pill { height: 44px; }

  .hero { gap: 32px; padding: 44px 20px 44px; }
  .hero-claim { gap: 22px; }
  .claim { row-gap: 6px; font-size: clamp(32px, 9.6vw, 44px); line-height: 1.02; }
  .claim .l2 { padding-left: 0; }
  .claim .l3 { padding-left: 0; margin-top: 22px; }
  .hl { padding: 0.03em 0.2em 0.06em; }
  .bajada { font-size: 17px; line-height: 1.48; letter-spacing: 0; }
  .hero-bar { grid-template-columns: 1fr; }
  .bar-col { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--hair-soft); gap: 10px; }
  .bar-col:last-child { border-bottom: 0; padding-bottom: 22px; }
  .bar-col p:not(.lbl), .bar-col .list { font-size: 15px; }
  .bar-cta { border-top: 0; padding-top: 20px; gap: 14px; }
  .bar-cta .btn { width: 100%; height: 48px; }
  #selHero .sel-size, #selHero .cursor { display: none; }
  #selHero .sel-label { font-size: 11px; bottom: calc(100% + 5px); }

  .title { font-size: 32px; line-height: 1.1; letter-spacing: -0.036em; }
  .section-head { gap: 16px; }
  .sectores { white-space: normal; line-height: 1.6; }

  .marcas { gap: 24px; padding: 48px 20px; }
  .matrix { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(88px, auto); }
  .cell { padding: 14px 10px; }
  .cell img { max-width: 80px; height: 34px; }
  .cell .logo-wide { max-width: 90px; height: 32px; }
  .cell .logo-mid { max-width: 70px; height: 32px; }
  .cell .logo-compact { max-width: 48px; height: 34px; }
  .cell .logo-nike { max-width: 60px; height: 30px; }
  .slot { grid-column: span 2; }
  .slot-link { padding: 14px 16px; gap: 8px; }
  .slot-copy { font-size: 13.5px; line-height: 1.38; }
  .matrix-note { flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 0; }
  .cursor-txd, #selRow .sel-size { display: none; }
  .cell-tip { white-space: normal; flex-wrap: wrap; }

  .contacto { gap: 28px; padding: 48px 20px; }
  .mailrow { flex-direction: column; align-items: flex-start; padding: 36px 0 22px; gap: 20px; }
  .mail { min-height: 44px; padding: 0.04em 0.1em; font-size: clamp(28px, 8.4vw, 38px); letter-spacing: -0.036em; }
  .mail-side { flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
  .mail-side .btn-lg { width: 100%; height: 48px; }
  .mail-actions-m { margin-top: -12px; }
  #selMail .sel-size { display: none; }
  #selMail .sel-label { font-size: 11px; bottom: calc(100% + 5px); }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-col { padding: 0; }
  .contact-col:first-child { border-right: 0; padding-bottom: 24px; border-bottom: 1px solid var(--hair-soft); }
  .contact-col .big { font-size: 18px; }
  .canales-wide { gap: 4px 12px; margin-left: -8px; }
  .canales-wide a { justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; }

  .site-footer { gap: 32px; padding: 28px 20px calc(32px + env(safe-area-inset-bottom)); }
  .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding-bottom: 16px; }
  .footer-org { flex: 1 1 100%; }
  .footer-top .up { min-height: 44px; padding: 0 6px; margin-right: -6px; }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 16px; line-height: 1.55; }
  #selCrown .sel-size, #selCrown .cursor { display: none; }
  #selCrown .sel-label { font-size: 11px; bottom: calc(100% + 5px); }
  #selCrown .h { width: 5px; height: 5px; }
  #selCrown .h1 { left: -2.5px; top: -2.5px; } #selCrown .h2 { right: -2.5px; top: -2.5px; }
  #selCrown .h3 { left: -2.5px; bottom: -2.5px; } #selCrown .h4 { right: -2.5px; bottom: -2.5px; }
}

/* ── Movimiento reducido: sin trazo, viaje ni giros; feedback de estado intacto ── */
@media (prefers-reduced-motion: reduce) {
  .play .hero .sel *, .play .hero .hl::before { animation: none !important; }
  .play .hero .sel { animation: fade 150ms linear both; }
  .sel.pulse .e { animation: none; }
  .btn, .btn i, .pill, .pill i, .btn-outline, .slot, .slot-head i, .cell, .cell img, .cell-tip { transition: background-color 150ms linear, color 150ms linear, opacity 150ms linear, filter 150ms linear; }
  .btn:hover i, .pill:hover i, .slot:hover .slot-head i, .btn:active, .btn-outline:active, .chip:active { transform: none; }
  .brand-crown.is-spinning { animation: none; }
}
