/* =========================================================================
   CLUNG SKATEBOARDING — sistema base
   Dirección: "CONCRETO + GLITCH" — editorial de skatepark, glitch como firma.
   Reglas aplicadas: T-01..T-13, G-01..G-14, X-01..X-10, E-01..E-10, F-01..F-12, M-01..M-20
   ========================================================================= */

/* ---------- 1. TOKENS ---------- */
:root {
  color-scheme: light dark;

  /* superficies (claro por defecto: las fotos de producto son sobre lila/blanco) */
  --bg:            #F4F2F8;
  --surface:       #FFFFFF;
  --surface-2:     #EAE6F3;
  --surface-3:     #E0DBEE;
  --ink:           #14131A;
  --ink-2:         #4E4B60;
  --ink-3:         #6E6A80;
  --line:          #DCD7E9;
  --line-strong:   #C4BDD8;

  /* acento: naranja señal (F-01) — no es color de producto */
  --accent:        #C4360B;
  --accent-hi:     #FF5A1F;
  --accent-soft:   rgba(196, 54, 11, .10);
  --on-accent:     #FFFFFF;

  /* glitch (F-06, M-18) */
  --glitch-r:      #FF3B1F;
  --glitch-c:      #7B2FF7;   /* en claro el cyan no alcanza 3:1 -> violeta (F-07) */
  --glitch-c-dark: #00E5FF;

  /* superficie oscura FIJA: hero, pie y CTA final son siempre oscuros.
     var(--ink) voltea con el tema, asi que no sirve para esto. */
  --oscuro:       #14131A;
  --sobre-oscuro: #F4F2F8;
  --sobre-oscuro-2: rgba(244,242,248,.72);
  --sobre-oscuro-3: rgba(244,242,248,.55);
  --linea-oscura: rgba(244,242,248,.16);
  --linea-oscura-2: rgba(244,242,248,.28);

  /* producto: gum y lima son acentos de superficie, nunca de texto (F-05) */
  --gum:           #C97A3C;
  --lime:          #C8FF00;

  /* tipografía */
  --display: "Archivo", "Archivo Expanded", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* escala fluida (T-06) */
  --t-display-xl: clamp(2.5rem, 1.1rem + 5.2vw, 5.5rem);
  --t-h2:         clamp(1.75rem, 1.2rem + 2.4vw, 3.25rem);
  --t-h3:         clamp(1.375rem, 1.15rem + 1.05vw, 2.125rem);
  --t-h4:         clamp(1.125rem, 1.05rem + 0.35vw, 1.5rem);
  --t-body-lg:    clamp(1rem, 0.958rem + 0.185vw, 1.125rem);
  --t-body:       clamp(0.9375rem, 0.917rem + 0.093vw, 1rem);
  --t-small:      clamp(0.8125rem, 0.792rem + 0.093vw, 0.875rem);
  --t-label:      clamp(0.75rem, 0.73rem + 0.093vw, 0.8125rem);
  --t-price-lg:   clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);

  /* espaciado: múltiplos de 8 (G-02) */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  /* grilla (G-01) */
  --gutter: 24px;
  --margin: 32px;
  --maxw: 1440px;

  /* motion (M-01, M-02) */
  --t-fast: 120ms;
  --t-micro: 200ms;
  --t-state: 320ms;
  --t-reveal: 500ms;
  --e-out:  cubic-bezier(.16, 1, .3, 1);
  --e-in:   cubic-bezier(.7, 0, .84, 0);
  --e-both: cubic-bezier(.65, 0, .35, 1);
  --e-press: cubic-bezier(.4, 0, .2, 1);

  /* radios y bordes */
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --shadow-paper: 0 1px 2px rgba(20,19,26,.05), 0 8px 24px -14px rgba(20,19,26,.16);
  --shadow-lift: 0 2px 4px rgba(20,19,26,.07), 0 16px 36px -18px rgba(20,19,26,.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #0E0E10;
    --surface:     #16161B;
    --surface-2:   #1E1E25;
    --surface-3:   #26262E;
    --ink:         #F5F3F8;
    --ink-2:       #A5A2B4;
    --ink-3:       #8E8B9E;
    --line:        #2A2A33;
    --line-strong: #3B3B46;
    --accent:      #FF5A1F;
    --accent-hi:   #FF7A45;
    --accent-soft: rgba(255, 90, 31, .14);
    --on-accent:   #0E0E10;
    --glitch-r:    #FF3B1F;
    --glitch-c:    #00E5FF;
    --gum:         #D08A4A;
    --shadow-paper: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px -14px rgba(0,0,0,.7);
    --shadow-lift: 0 2px 4px rgba(0,0,0,.6), 0 16px 36px -18px rgba(0,0,0,.8);
  }
}

/* override manual de tema (E-03):[data-tema="light"] / [data-tema="dark"] */
:root[data-tema="light"] {
  color-scheme: light;
  --bg:#F4F2F8; --surface:#FFFFFF; --surface-2:#EAE6F3; --surface-3:#E0DBEE;
  --ink:#14131A; --ink-2:#4E4B60; --ink-3:#6E6A80; --line:#DCD7E9; --line-strong:#C4BDD8;
  --accent:#C4360B; --accent-hi:#FF5A1F; --accent-soft:rgba(196,54,11,.10); --on-accent:#FFFFFF;
  --glitch-r:#FF3B1F; --glitch-c:#7B2FF7;
  --gum:#C97A3C; --lime:#C8FF00;
  --shadow-paper:0 1px 2px rgba(20,19,26,.05), 0 8px 24px -14px rgba(20,19,26,.16);
  --shadow-lift:0 2px 4px rgba(20,19,26,.07), 0 16px 36px -18px rgba(20,19,26,.22);
}
:root[data-tema="dark"] {
  color-scheme: dark;
  --bg:#0E0E10; --surface:#16161B; --surface-2:#1E1E25; --surface-3:#26262E;
  --ink:#F5F3F8; --ink-2:#A5A2B4; --ink-3:#8E8B9E; --line:#2A2A33; --line-strong:#3B3B46;
  --accent:#FF5A1F; --accent-hi:#FF7A45; --accent-soft:rgba(255,90,31,.14); --on-accent:#0E0E10;
  --glitch-r:#FF3B1F; --glitch-c:#00E5FF;
  --gum:#D08A4A; --lime:#C8FF00;
  --shadow-paper:0 1px 2px rgba(0,0,0,.5), 0 8px 24px -14px rgba(0,0,0,.7);
  --shadow-lift:0 2px 4px rgba(0,0,0,.6), 0 16px 36px -18px rgba(0,0,0,.8);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--t-body);
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure, figcaption { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; }

/* ---------- 3. GRANO GLOBAL (X-02) ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: .055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { body::after { opacity: .09; } }

/* ---------- 4. TIPOGRAFÍA ---------- */
.display {
  font-variation-settings: "wdth" 78;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: .92;
  text-transform: uppercase;
}
h1, .h1 { font-size: var(--t-display-xl); font-variation-settings: "wdth" 78; font-weight: 800; letter-spacing: -.03em; line-height: .92; text-transform: uppercase; }
h2, .h2 { font-size: var(--t-h2); font-variation-settings: "wdth" 82; font-weight: 800; letter-spacing: -.025em; line-height: 1; text-transform: uppercase; }
h3, .h3 { font-size: var(--t-h3); font-variation-settings: "wdth" 88; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
h4, .h4 { font-size: var(--t-h4); font-variation-settings: "wdth" 92; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.label {
  font-family: var(--mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1.3;
}
.mono { font-family: var(--mono); font-size: var(--t-small); letter-spacing: 0; }
.price { font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 88; font-weight: 700; }
.lead { font-size: var(--t-body-lg); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.prosa { max-width: 65ch; color: var(--ink-2); }
.prosa a { text-decoration: underline; text-underline-offset: 3px; }
.prosa a:hover { color: var(--accent); }
.tabular { font-variant-numeric: tabular-nums; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 5. FOCUS (F-10) ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--ink); color: var(--bg); padding: 12px 20px; font-family: var(--mono);
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- 6. LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.seccion { padding-block: clamp(64px, 6vw, 128px); }
.seccion--aire { padding-block: clamp(48px, 4vw, 80px); }
.seccion--oscura { background: var(--surface); }
.seccion--hundida { background: var(--surface-2); }
.stack > * + * { margin-top: var(--s-2); }
.stack-3 > * + * { margin-top: var(--s-3); }
.stack-4 > * + * { margin-top: var(--s-4); }
.stack-5 > * + * { margin-top: var(--s-5); }

@media (max-width: 1023px) { :root { --gutter: 20px; --margin: 24px; } .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (max-width: 599px)  { :root { --gutter: 16px; --margin: 16px; } .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 7. GLITCH RGB-SPLIT (M-16..M-20) ----------
   Regla clave: el canal RGB se compone con `screen` sobre fondo oscuro y con
   `multiply` sobre fondo claro. Con `screen` en claro, el rojo+violeta se
   mezclan y la palabra sale lavada/magenta: ilegible y fuera de sistema.
   Por eso el modo claro usa `multiply` (oscurece, no tiñe) y offsets de 1px. */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.glitch::before {
  color: var(--glitch-r);
  transform: translate3d(-1.5px, 0, 0);
  mix-blend-mode: multiply;
  opacity: .78;
}
.glitch::after {
  color: var(--glitch-c);
  transform: translate3d(1.5px, 0, 0);
  mix-blend-mode: multiply;
  opacity: .62;
}
.glitch--quiet::before, .glitch--quiet::after { transform: none; opacity: .45; }

/* en oscuro el RGB se reconstruye con `screen` (aditivo) */
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="light"]) .glitch::before,
  :root:not([data-tema="light"]) .glitch::after { mix-blend-mode: screen; opacity: .85; }
}
:root[data-tema="dark"] .glitch::before,
:root[data-tema="dark"] .glitch::after { mix-blend-mode: screen; opacity: .85; }

/* pulso unico de 300 ms, disparo por JS con .glitch--hit */
@keyframes glitch-pulse {
  0%   { transform: translate3d(0,0,0); clip-path: inset(0 0 0 0); }
  20%  { transform: translate3d(-3px,0,0); clip-path: inset(12% 0 62% 0); }
  40%  { transform: translate3d(2px,0,0);  clip-path: inset(48% 0 22% 0); }
  60%  { transform: translate3d(-2px,0,0); clip-path: inset(74% 0 8% 0); }
  80%  { transform: translate3d(3px,0,0);  clip-path: inset(30% 0 52% 0); }
  100% { transform: translate3d(0,0,0);   clip-path: inset(0 0 0 0); }
}
.glitch--hit::before { animation: glitch-pulse 300ms steps(2, end) 1; }
.glitch--hit::after  { animation: glitch-pulse 300ms steps(2, end) 1; }

/* el logotipo de la cabecera lleva su propio tratamiento: solo el glifo,
   nunca el texto corrido (M-17) */

/* ---------- 8. LOGOTIPO / WORDMARK ---------- */
.marca { display: inline-flex; align-items: center; gap: 10px; }
.marca__glifo {
  width: 34px; height: 34px; flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.marca__glifo::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 0 22%, currentColor 22% 30%, transparent 30% 52%, currentColor 52% 60%, transparent 60% 100%);
  opacity: .55;
}
.marca__glifo::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 50%;
  height: 3px; background: currentColor; transform: translateY(-50%) rotate(-8deg);
}
.marca__texto {
  font-variation-settings: "wdth" 88;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
}
.marca__texto small {
  display: block;
  font-family: var(--mono);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .22em;
  color: var(--ink-3);
  margin-top: 3px;
}
.marca--grande .marca__glifo { width: 52px; height: 52px; }
.marca--grande .marca__texto { font-size: 1.6rem; }

/* ---------- 9. CABECERA ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 500;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
/* la cabecera al hacer scroll: se separa del contenido con una linea */
.cabecera--scrolled {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(20,19,26,.45);
}
:root[data-tema="dark"] .cabecera--scrolled {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.7);
}

.cabecera__barra {
  background: var(--oscuro);
  color: var(--sobre-oscuro);
  font-family: var(--mono);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  overflow: hidden;
}
.cabecera__barra .wrap { display: flex; gap: var(--s-4); align-items: center; height: 38px; }
.cabecera__barra b { color: #FF7A45; font-weight: 600; }
.cabecera__barra span { white-space: nowrap; }
.cabecera__barra span + span::before { content: "·"; margin-right: var(--s-4); opacity: .45; }
@media (max-width: 767px) { .cabecera__barra span:nth-child(n+3) { display: none; } }

.cabecera__cuerpo {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: 68px;
}
.cabecera__nav { display: flex; gap: var(--s-3); margin-left: var(--s-3); }
.cabecera__nav a {
  font-family: var(--mono); font-size: .84rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-2);
  padding: 8px 0; position: relative;
  transition: color var(--t-micro) var(--e-press);
}
.cabecera__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 1.5px; background: var(--accent);
  transition: right var(--t-state) var(--e-out);
}
.cabecera__nav a:hover { color: var(--ink); }
.cabecera__nav a:hover::after { right: 0; }
.cabecera__nav a[aria-current="page"] { color: var(--ink); }
.cabecera__nav a[aria-current="page"]::after { right: 0; }
.cabecera__acciones { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }

.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 10px 16px; border-radius: var(--r-sm);
  transition: transform var(--t-fast) var(--e-press), background var(--t-micro) var(--e-press);
}
.btn-wa svg { width: 15px; height: 15px; flex: 0 0 auto; }
.btn-wa:hover { background: var(--accent-hi); color: var(--on-accent); }
:root[data-tema="dark"] .btn-wa:hover { background: #E2480C; }
@media (prefers-color-scheme: dark) {
  :root:not([data-tema="light"]) .btn-wa:hover { background: #E2480C; }
}
.btn-wa:active { transform: scale(.97); }

.icono-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  line-height: 0;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink-2);
  transition: border-color var(--t-micro) var(--e-press), color var(--t-micro) var(--e-press);
}
.icono-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.icono-btn svg { width: 18px; height: 18px; }
.cabecera__acciones .icono-btn { flex: 0 0 auto; }

.burger { display: none; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }

@media (max-width: 1023px) {
  .cabecera__nav { display: none; }
  .burger { display: grid; }
  .cabecera__cuerpo { justify-content: space-between; }
  .cabecera__acciones { margin-left: 0; }
}
@media (max-width: 479px) { .btn-wa span { display: none; } .btn-wa { padding: 10px 12px; } }

/* ---------- 10. MENÚ MÓVIL ---------- */
.menu-movil {
  position: fixed; inset: 0; z-index: 600;
  background: var(--bg);
  padding: var(--s-4);
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  /* cerrado: no debe interceptar los clicks de la pagina que hay debajo */
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--t-state) var(--e-out), visibility 0s linear var(--t-state);
}
.menu-movil[data-abierto="1"] {
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: transform var(--t-state) var(--e-out), visibility 0s;
}
.menu-movil__nav { display: flex; flex-direction: column; margin-top: var(--s-4); }
.menu-movil__nav a {
  font-variation-settings: "wdth" 85; font-weight: 700; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: -.01em;
  padding: var(--s-2) 0; border-bottom: 1px solid var(--line);
}
.menu-movil__nav a[aria-current="page"] { color: var(--accent); }
.menu-movil__cerrar { align-self: flex-end; }

/* ---------- 11. BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-size: .82rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 14px 26px; min-height: 48px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform var(--t-fast) var(--e-press), background var(--t-micro) var(--e-press),
              border-color var(--t-micro) var(--e-press), color var(--t-micro) var(--e-press);
}
.btn:active { transform: scale(.97); }
.btn--primario { background: var(--accent); color: var(--on-accent); }
.btn--primario:hover { background: var(--accent-hi); }
.btn--linea { border-color: var(--line-strong); color: var(--ink); }
.btn--linea:hover { border-color: var(--ink); background: var(--surface); }
.btn--fantasma { color: var(--ink-2); padding-inline: 0; min-height: 0; }
.btn--fantasma:hover { color: var(--ink); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- 12. TARJETA DE SERVICIO (barra de confianza) ---------- */
.servicios { border-block: 1px solid var(--line); background: var(--surface); }
.servicios .wrap {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.servicios__item {
  padding: var(--s-3) var(--s-2);
  border-right: 1px solid var(--line);
  display: flex; gap: 12px; align-items: flex-start;
}
.servicios__item:last-child { border-right: 0; }
.servicios__item svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.servicios__item b { display: block; font-size: .875rem; font-weight: 700; letter-spacing: -.005em; }
.servicios__item span { display: block; font-family: var(--mono); font-size: .78rem; color: var(--ink-2); margin-top: 3px; line-height: 1.45; }
@media (max-width: 899px) {
  .servicios .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .servicios__item:nth-child(2) { border-right: 0; }
  .servicios__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 479px) {
  .servicios .wrap { grid-template-columns: 1fr; }
  .servicios__item { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 13. TICKER (glitch vive aquí, una vez — M-16) ---------- */
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--line);
  background: var(--bg);
  padding-block: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__pista { display: flex; width: max-content; animation: ticker 42s linear infinite; }
/* el corte no debe partir palabras: se separa con espacio y no hay item
   pegado al borde inicial */
.ticker__grupo { padding-inline: 6px; }
.ticker__grupo { display: flex; align-items: center; }
/* ticker contenido: informa, no compite */
.ticker__item {
  font-variation-settings: "wdth" 86; font-weight: 600;
  font-size: clamp(.95rem, 1.4vw, 1.25rem);
  text-transform: uppercase; letter-spacing: -.02em;
  color: var(--ink-2);
  padding-inline: var(--s-3);
  white-space: nowrap;
}
/* pausa el marquee al pasar el mouse: permite leerlo (regla M-05) */
.ticker:hover .ticker__pista { animation-play-state: paused; }
.ticker__item:nth-child(even) { color: var(--ink-3); }
.ticker__sep { color: var(--accent); font-size: .62rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__pista { animation: none; } }

/* ---------- 14. FOOTER ---------- */
.pie { background: var(--oscuro); color: var(--sobre-oscuro); margin-top: var(--s-7); }
.pie a { color: var(--sobre-oscuro); }
/* el boton de WhatsApp conserva su texto de contraste propio */
.pie .btn-wa, .pie .btn-wa:hover { color: var(--on-accent); }
.pie__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s-5); padding-block: var(--s-6);
}
.pie h4 { color: var(--sobre-oscuro); font-family: var(--mono); font-size: var(--t-label); letter-spacing: .12em; text-transform: uppercase; font-weight: 500; opacity: .55; margin-bottom: var(--s-2); }
.pie__links li + li { margin-top: 10px; }
.pie__links a { font-size: .9rem; color: var(--sobre-oscuro-2); transition: color var(--t-micro) var(--e-press); }
.pie__links a:hover { color: var(--sobre-oscuro); text-decoration: underline; text-underline-offset: 3px; }
.pie__marca .marca__glifo { color: var(--sobre-oscuro); }
.pie__marca .marca__texto small { color: var(--sobre-oscuro-3); }
.pie__legal {
  border-top: 1px solid var(--linea-oscura);
  padding-block: var(--s-3);
  display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap;
  font-family: var(--mono); font-size: .72rem; color: rgba(244,242,248,.55);
}
@media (max-width: 899px) { .pie__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .pie__grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ---------- 15. REVEAL (M-08..M-12) ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.visible {
  opacity: 1; transform: none;
  transition: opacity var(--t-reveal) var(--e-out), transform var(--t-reveal) var(--e-out);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 16. UTILIDADES ---------- */
.oculto { display: none !important; }
.centro { text-align: center; }
.entre { justify-content: space-between; }
.fila { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.fila--fin { justify-content: flex-end; }
.solo-lectores { position: absolute; left: -9999px; }
.nota {
  font-family: var(--mono); font-size: .8rem; line-height: 1.6;
  color: var(--ink-2);
  border-left: 2px solid var(--line-strong);
  padding-left: 12px;
}

/* ---------- area tactil ----------
   Regla de accesibilidad: todo control por icono mide al menos 44x44.
   Se aplica al icono, pero el area clicable es mayor (padding). */
.icono-btn, .btn-icono, .tema-btn {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- objetivo tactil global (WCAG 2.5.8 AA) ----------
   Todo control de bloque (boton, enlace de boton, input, select) debe
   medir al menos 44x44 CSS px. Los enlaces en linea de texto se exceptuan
   por norma: no se estiran porque romperian el interlineado del parrafo. */
button, .btn, .btn-wa, .chip, input[type="text"], input[type="number"],
input[type="email"], input[type="tel"], input[type="url"], input[type="search"],
select, textarea {
  min-height: 44px;
}
input[type="color"] { min-height: 44px; min-width: 44px; }
.burger { min-width: 44px; min-height: 44px; }
.marca { display: inline-flex; align-items: center; min-height: 44px; }
