/* =============================================================================
   MARKETSHOURS — styles.css
   1. Tokens · 2. Reset · 3. Utilidades · 4. Tipografía · 5. Componentes
   6. Escena 3D · 7. Secciones · 8. Efectos · 9. Responsive · 10. Reduced motion
   ============================================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
/* Tema claro por defecto. El oscuro se activa con data-theme="dark" en <html>;
   un script en línea lo aplica antes del primer pintado para que no parpadee. */
:root {
  --bg-deep:   #f2f6fb;
  --bg-soft:   #ffffff;
  --bg-card:   rgba(16, 32, 54, 0.045);
  --bg-card-2: rgba(16, 32, 54, 0.085);

  /* Los tonos claros están calculados para pasar 4.5:1 sobre #f2f6fb,
     que es el mínimo AA para texto pequeño. */
  --text:      #0d1622;                 /* 16.8:1 */
  --text-mute: rgba(13, 22, 34, 0.68);  /*  6.1:1 */
  --text-dim:  rgba(13, 22, 34, 0.60);  /*  4.5:1 */

  --accent:      #96620f;   /* ámbar oscurecido — 4.8:1 */
  --accent-fill: #f0b03a;   /* el ámbar original, solo como relleno */
  --on-accent:   #241804;
  --accent-2:    #0a7a58;   /* verde, abierto — 4.9:1 */
  --accent-3:    #3663c4;   /* azul, dato neutro — 5.2:1 */
  --warn:        #a8420f;   /*  5.6:1 */

  --line:      rgba(16, 32, 54, 0.16);
  --line-soft: rgba(16, 32, 54, 0.09);

  /* Superficies y capas dependientes del tema */
  --panel:      rgba(255, 255, 255, 0.88);
  --panel-firm: rgba(255, 255, 255, 0.96);
  --shadow-lg:  0 16px 40px rgba(16, 32, 54, .16);
  --text-halo:  none;
  --scrim-col:  rgba(242, 246, 251, .34);
  --vig-mid:    rgba(242, 246, 251, .30);
  --vig-edge:   rgba(242, 246, 251, .78);
  --vig-top:    rgba(242, 246, 251, .70);
  --grain-op:   .022;
  --grain-mode: multiply;
  --dial-scrim: #f2f6fb;
  --select-bg:  #ffffff;
  --star-op:    0;          /* sin estrellas sobre fondo claro */

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --gutter: clamp(1.15rem, 4vw, 3.5rem);
  --maxw: 1240px;
  --radius: 14px;
}

[data-theme="dark"] {
  --bg-deep:   #04060a;
  --bg-soft:   #070b12;
  --bg-card:   rgba(148, 178, 208, 0.055);
  --bg-card-2: rgba(148, 178, 208, 0.09);

  --text:      #e9eff8;
  --text-mute: rgba(233, 239, 248, 0.64);
  --text-dim:  rgba(233, 239, 248, 0.38);

  --accent:      #f2b544;
  --accent-fill: #f2b544;
  --on-accent:   #06090f;
  --accent-2:    #38e2b0;
  --accent-3:    #7aa2ff;
  --warn:        #ff8a5b;

  --line:      rgba(148, 178, 208, 0.16);
  --line-soft: rgba(148, 178, 208, 0.09);

  --panel:      rgba(6, 10, 16, .74);
  --panel-firm: rgba(6, 11, 18, .97);
  --shadow-lg:  0 16px 40px rgba(0, 0, 0, .6);
  --text-halo:  0 2px 30px rgba(4, 6, 10, .9), 0 1px 4px rgba(4, 6, 10, .9);
  --scrim-col:  rgba(4, 6, 10, .30);
  --vig-mid:    rgba(4, 6, 10, .46);
  --vig-edge:   rgba(4, 6, 10, .88);
  --vig-top:    rgba(4, 6, 10, .72);
  --grain-op:   .045;
  --grain-mode: overlay;
  --dial-scrim: #04060a;
  --select-bg:  #0a1018;
  --star-op:    1;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.04; letter-spacing: -0.015em; font-weight: 400; }
::selection { background: var(--accent-fill); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilidades
   ============================================================= */
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--accent-fill); color: var(--on-accent);
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   4. Tipografía
   ============================================================= */
.kicker {
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.1rem;
}
em { font-family: var(--serif); font-style: italic; color: var(--accent); }

/* =============================================================
   5. Componentes
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .82rem 1.5rem; border-radius: 100px;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  transition: transform .35s var(--ease-out), background .35s var(--ease-out),
              border-color .35s var(--ease-out), color .35s var(--ease-out);
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent-fill); color: var(--on-accent); font-weight: 600; }
.btn-primary:hover { transform: translateY(-2px); background: #ffc75f; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--bg-card); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .58rem 1.1rem; font-size: .84rem; }

.btn-mini {
  padding: .42rem .7rem; border: 1px solid var(--line); border-radius: 9px;
  font-family: var(--mono); font-size: .78rem; color: var(--text-mute);
  transition: border-color .3s var(--ease-out), color .3s var(--ease-out);
}
.btn-mini:hover { border-color: var(--accent); color: var(--accent); }

.chip {
  padding: .42rem .85rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: .8rem; color: var(--text-mute); white-space: nowrap;
  transition: all .3s var(--ease-out);
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-on { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); font-weight: 600; }

.field {
  width: 100%; padding: .72rem .9rem;
  background: var(--select-bg); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--mono); font-size: .88rem;
  transition: border-color .3s var(--ease-out);
}
.field:hover, .field:focus { border-color: var(--accent); }
select.field { cursor: pointer; appearance: none; padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mute) 50%),
                    linear-gradient(135deg, var(--text-mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
select.field option { background: var(--select-bg); color: var(--text); }
.field-sm { padding: .55rem .75rem; font-size: .82rem; }
.field-label {
  display: block; font-size: .72rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: .5rem;
}
.field-hint { font-size: .78rem; color: var(--text-dim); }
.field-row { display: flex; gap: .5rem; align-items: center; }
.field-row-toggles { justify-content: space-between; margin-top: .6rem; }

/* =============================================================
   6. Escena 3D + capas de contraste
   ============================================================= */
.stage { position: fixed; inset: 0; z-index: 0; }
#globe-canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s var(--ease-out); }
#globe-canvas.is-live { opacity: 1; }
.stage-fallback {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 68% 38%, rgba(90,150,200,.16) 0%, transparent 62%),
    radial-gradient(50% 45% at 22% 72%, rgba(240,176,58,.10) 0%, transparent 65%),
    radial-gradient(90% 80% at 50% 50%, transparent 0%, var(--bg-deep) 78%);
  opacity: 1; transition: opacity 1.2s var(--ease-out);
}
.stage.is-3d .stage-fallback { opacity: .22; }
/* Sobre fondo claro la Tierra pesa demasiado detrás del texto: se atenúa. */
:root:not([data-theme="dark"]) #globe-canvas.is-live { opacity: .5; }

/* Control del globo — solo aparece si la escena 3D ha arrancado */
.globe-ctl { display: none; margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.has-globe .globe-ctl { display: block; }
.globe-ctl .field-hint { display: block; margin-top: .6rem; line-height: 1.5; }

.globe-labels { position: absolute; inset: 0; pointer-events: none; }
.globe-label {
  position: absolute; top: 0; left: 0; opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-2);
  padding: .14rem .42rem; margin: -30px 0 0 12px;
  background: var(--panel-firm); border: 1px solid var(--accent-2);
  border-radius: 4px; white-space: nowrap;
  box-shadow: var(--shadow-lg);
  transition: opacity .5s var(--ease-out);
}
.globe-label::before {
  content: ""; position: absolute; left: -12px; bottom: -6px;
  width: 12px; height: 12px;
  border-left: 1px solid rgba(56, 226, 176, .35);
  border-bottom: 1px solid rgba(56, 226, 176, .35);
}

.scrim { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: var(--scrim-col); }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 26%, var(--vig-mid) 68%, var(--vig-edge) 100%),
    linear-gradient(180deg, var(--vig-top) 0%, transparent 22%, transparent 62%, var(--vig-edge) 100%);
}
.grain {
  position: fixed; inset: 0; z-index: 2; pointer-events: none;
  opacity: var(--grain-op); mix-blend-mode: var(--grain-mode);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   7. Splash
   ============================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9000;
  display: grid; place-items: center; background: var(--bg-deep);
  animation: splashSafety .01s 4.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; transition: opacity .7s var(--ease-out); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; visibility: hidden; } }
.splash-mark { display: grid; place-items: center; gap: 1.2rem; }
.splash-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(242,181,68,.28); border-top-color: var(--accent);
  animation: splashSpin 1.1s linear infinite;
}
@keyframes splashSpin { to { transform: rotate(360deg); } }
.splash-name {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .5em;
  color: var(--accent); padding-left: .5em;
}

/* =============================================================
   8. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1rem var(--gutter);
  transition: background .5s var(--ease-out), border-color .5s var(--ease-out),
              backdrop-filter .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: var(--panel-firm);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.nav-brand { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.nav-right { display: flex; align-items: center; gap: .9rem; flex: 0 0 auto; }

/* Marca: una esfera de reloj, la misma figura que el favicon */
.nav-mark { width: 20px; height: 20px; flex: 0 0 auto; overflow: visible; }
.nm-ring { fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .34; }
.nm-hand { fill: none; stroke-width: 2.1; stroke-linecap: round; }
.nm-h { stroke: var(--accent); }
.nm-m { stroke: var(--accent-2); }
.nm-pin { fill: var(--accent); }

/* Interruptor claro / oscuro */
.theme-toggle {
  position: relative; flex: 0 0 auto;
  width: 52px; height: 27px; padding: 0;
  border: 1px solid var(--line); border-radius: 100px;
  background: var(--bg-card);
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.theme-toggle:hover { border-color: var(--accent); }
.theme-toggle-knob {
  position: absolute; top: 2px; left: 2px;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--accent-fill);
  display: grid; place-items: center;
  transition: transform .38s var(--ease-out), background .38s var(--ease-out);
}
[data-theme="dark"] .theme-toggle-knob {
  transform: translateX(25px);
  background: #cfd9e6;
}
/* Aviso de primera visita señalando el interruptor */
.coach {
  position: fixed; z-index: 700; max-width: 272px;
  padding: .85rem 1rem .75rem; border-radius: 12px;
  background: var(--panel-firm);
  border: 1px solid var(--accent-fill);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-6px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.coach[hidden] { display: none; }
.coach.is-in { opacity: 1; transform: none; }
.coach::before {                       /* flecha apuntando al botón */
  content: ""; position: absolute; top: -7px; left: var(--coach-arrow, 24px);
  width: 12px; height: 12px; transform: rotate(45deg);
  background: var(--panel-firm);
  border-left: 1px solid var(--accent-fill);
  border-top: 1px solid var(--accent-fill);
}
.coach-text { font-size: .84rem; line-height: 1.45; color: var(--text-mute); margin-bottom: .55rem; }
.coach-text b { color: var(--text); font-weight: 600; }
.coach-close {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  padding: .15rem 0; border-bottom: 1px solid currentColor;
}
.theme-toggle.is-hinted { border-color: var(--accent-fill); }
.theme-toggle.is-hinted::after {
  content: ""; position: absolute; inset: -1px; border-radius: 100px;
  animation: coachPulse 2.1s var(--ease-out) 3;
}
@keyframes coachPulse {
  0%   { box-shadow: 0 0 0 0 rgba(240, 176, 58, .5); }
  70%  { box-shadow: 0 0 0 11px rgba(240, 176, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 176, 58, 0); }
}

.theme-toggle svg { width: 13px; height: 13px; display: block; }
.theme-toggle .ico-sun { color: #6b4a08; }
.theme-toggle .ico-moon { color: #10161f; display: none; }
[data-theme="dark"] .theme-toggle .ico-sun { display: none; }
[data-theme="dark"] .theme-toggle .ico-moon { display: block; }
.nav-word { font-family: var(--mono); font-size: .86rem; letter-spacing: .28em; font-weight: 700; }
.nav-links { display: none; gap: 1.8rem; font-size: .88rem; color: var(--text-mute); }
.nav-links a { position: relative; padding: .2rem 0; transition: color .3s var(--ease-out); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: var(--accent); transition: width .4s var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-clock { text-align: right; line-height: 1.25; }
.nav-time { display: block; font-size: .95rem; font-weight: 500; color: var(--text); }
.nav-tz { display: block; font-size: .66rem; color: var(--text-dim); letter-spacing: .1em; }

/* =============================================================
   9. Layout de secciones
   ============================================================= */
main { position: relative; z-index: 3; }
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8.5rem) var(--gutter);
}
.section-head { max-width: 720px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head h2 {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
  margin-bottom: 1.1rem;
}
.section-lead { color: var(--text-mute); font-size: clamp(.98rem, 1.5vw, 1.08rem); max-width: 62ch; }

/* --- Entrada: el reloj es lo primero que se ve ------------------ */
.section-clock { padding-top: clamp(4.9rem, 6vw, 5.6rem); }
.clock-intro {
  display: grid; gap: 1.5rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.2rem);
}
.ci-copy { min-width: 0; }
.ci-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.95rem, 3.4vw, 2.9rem);
  line-height: 1.04; max-width: 22ch; margin-bottom: .8rem;
  text-shadow: var(--text-halo);
}
.ci-copy .section-lead { text-shadow: var(--text-halo); }

.live-strip {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 1.2rem 1.5rem;
  padding: 1.1rem 1.3rem; align-self: start;
  background: var(--panel);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ls-block { display: flex; flex-direction: column; justify-content: center; gap: .2rem; min-width: 0; }
/* La frase en vivo ocupa su propia fila: si comparte línea con las cifras,
   el bloque envuelve de forma desordenada en cuanto el texto crece. */
.ls-block-wide {
  flex: 1 1 100%; min-width: 0;
  padding-top: .85rem; border-top: 1px solid var(--line-soft);
}
.ls-sep { width: 1px; background: var(--line-soft); }
.ls-sep:last-of-type { display: none; }
.ls-num { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 500; color: var(--accent-2); line-height: 1; }
.ls-lab { font-size: .72rem; color: var(--text-dim); letter-spacing: .05em; line-height: 1.35; }
.ls-lab-top { text-transform: uppercase; letter-spacing: .16em; margin-bottom: .3rem; }
.ls-live { font-size: .86rem; color: var(--text-mute); }
.ls-live b { color: var(--text); font-weight: 500; }

/* --- Reloj radial --------------------------------------------- */
.clock-grid { display: grid; gap: 2.5rem; }
.dial-wrap { position: relative; margin: 0; min-width: 0; }

.dial-tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem;
  margin-bottom: 1rem;
}
.dial-tools .field-label { margin-bottom: 0; }
.dial-sets { display: flex; flex-wrap: wrap; gap: .4rem; }
.dial-sets .chip { font-size: .76rem; padding: .34rem .72rem; }

/* El degradado va como atributo en el SVG; CSS gana y lo hace tematizable. */
#dialScrim stop { stop-color: var(--dial-scrim); }
.dial-stack { position: relative; }
.dial { width: 100%; height: auto; display: block; }

.dial-tick { stroke: var(--line); stroke-width: 1; }
.dial-tick-major { stroke: var(--text-dim); stroke-width: 1.5; }
.dial-hour {
  fill: var(--text-dim); font-family: var(--mono); font-size: 12px;
  letter-spacing: .04em;
}
.dial-hour.is-major { fill: var(--text-mute); font-weight: 500; }

.dial-arc { transition: opacity .25s var(--ease-out), filter .25s var(--ease-out); }
.dial-arc.is-live { filter: drop-shadow(0 0 6px currentColor); }
.dial-ring { transition: opacity .25s var(--ease-out); cursor: pointer; }
.dial.is-focused .dial-ring { opacity: .22; }
.dial.is-focused .dial-ring.is-on { opacity: 1; }
.dial.is-focused .dial-chip { opacity: .25; }
.dial.is-focused .dial-chip.is-on { opacity: 1; }

.dial-chip { pointer-events: none; transition: opacity .25s var(--ease-out); }
.dial-chip.is-faint { opacity: .82; }
.dial-chip-t {
  font-family: var(--mono); font-size: 8.5px; font-weight: 700;
  letter-spacing: .06em;
}

.dial-wedge { fill: rgba(242,181,68,.055); }
.dial-wedge.is-live { fill: rgba(56,226,176,.075); }
.dial-wedge-edge { stroke: rgba(242,181,68,.30); stroke-width: 1; stroke-dasharray: 3 4; }
.dial-wedge-edge.is-live { stroke: rgba(56,226,176,.45); }

.dial-needle { stroke: var(--accent); stroke-width: 1.5; opacity: .9; }
.dial-needle-dot { fill: var(--accent); }

.dial-center {
  position: absolute; inset: 0; display: grid; place-content: center;
  text-align: center; pointer-events: none; gap: .1rem;
}
.dial-time { font-size: clamp(1.9rem, 5.4vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.dial-sec { font-size: .85rem; color: var(--accent); letter-spacing: .1em; }
.dial-open { font-size: .72rem; color: var(--text-mute); margin-top: .45rem; }
.dial-open b { color: var(--accent-2); font-weight: 600; font-size: .9rem; }

.dial-meta {
  text-align: center; margin-top: .9rem;
  font-size: .74rem; color: var(--text-dim);
}
.dial-meta [data-dial-day] { text-transform: uppercase; letter-spacing: .1em; }

/* Globo de detalle */
.dial-tip {
  position: absolute; z-index: 6; width: 216px; pointer-events: none;
  padding: .7rem .8rem; border-radius: 10px;
  background: var(--panel-firm); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.dial-tip[hidden] { display: none; }
.tip-name { font-size: .86rem; font-weight: 500; }
.tip-city { font-size: .7rem; color: var(--text-dim); margin-bottom: .5rem; }
.tip-row { display: flex; justify-content: space-between; gap: .6rem; font-size: .72rem; color: var(--text-mute); }
.tip-row b { color: var(--text); font-weight: 400; font-size: .72rem; }
.tip-state { margin-top: .5rem; font-size: .72rem; color: var(--text-dim); }
.tip-state.is-live { color: var(--accent-2); }

/* Leyenda sincronizada */
.dial-key { display: grid; gap: 1px; margin-top: 1.3rem; }
.key-row {
  display: grid; grid-template-columns: 10px 1fr auto auto;
  align-items: center; gap: .6rem; width: 100%; text-align: left;
  padding: .42rem .55rem; border-radius: 7px;
  transition: background .25s var(--ease-out);
}
.key-row:hover, .key-row.is-on { background: var(--bg-card-2); }
.key-dot { width: 10px; height: 10px; border-radius: 3px; display: block; }
.key-name { font-size: .8rem; color: var(--text-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.key-row.is-live .key-name { color: var(--text); }
.key-tag {
  font-family: var(--mono); font-size: .56rem; letter-spacing: .1em;
  color: var(--text-dim); border: 1px solid var(--line); border-radius: 3px;
  padding: 0 .22rem; vertical-align: 1px;
}
.key-hours {
  font-size: .72rem; color: var(--text-dim); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 15ch;
}
.key-state {
  font-family: var(--mono); font-size: .56rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-dim); white-space: nowrap;
  min-width: 8px; text-align: right;
}
.key-state.holiday { color: var(--warn); }
.key-state.soon { color: var(--accent); }
.key-row.is-live .key-hours { color: var(--accent-2); }
.key-row.is-live .key-dot { box-shadow: 0 0 0 3px rgba(56,226,176,.14); }

/* --- Panel lateral -------------------------------------------- */
.panel { display: grid; gap: 1.3rem; align-content: start; }
.panel-block {
  padding: 1.2rem 1.3rem;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.panel-title {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: .85rem;
}
.open-list, .next-list { list-style: none; padding: 0; display: grid; gap: .5rem; }
.open-empty { color: var(--text-dim); font-size: .85rem; }
.open-row, .next-row {
  display: flex; align-items: center; gap: .6rem; font-size: .87rem;
  padding-bottom: .5rem; border-bottom: 1px solid var(--line-soft);
}
.open-row:last-child, .next-row:last-child { border-bottom: 0; padding-bottom: 0; }
.open-flag { font-size: 1rem; flex: 0 0 auto; }
.open-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.open-left { font-family: var(--mono); font-size: .78rem; color: var(--accent-2); flex: 0 0 auto; }
.next-left { font-family: var(--mono); font-size: .78rem; color: var(--accent); flex: 0 0 auto; }
.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(56,226,176,.55); animation: pulseDot 2.4s infinite; flex: 0 0 auto;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(56,226,176,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(56,226,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(56,226,176,0); }
}

/* --- Línea de tiempo ------------------------------------------ */
.tl-controls {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; margin-bottom: 1.4rem;
}
.tl-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.tl-daynav { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--text-mute); }
.tl-scroll { overflow-x: auto; overflow-y: visible; padding-bottom: .6rem; }
.tl { position: relative; min-width: 760px; }
.tl-axis { position: relative; height: 24px; margin-left: 148px; border-bottom: 1px solid var(--line-soft); }
.tl-hour {
  position: absolute; top: 0; transform: translateX(-50%);
  font-family: var(--mono); font-size: .68rem; color: var(--text-dim);
}
.tl-grid-line { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-soft); }
.tl-density {
  position: relative; height: 34px; margin-left: 148px; margin-bottom: .5rem;
  display: flex; align-items: flex-end; gap: 0; border-bottom: 1px solid var(--line-soft);
}
.tl-den-bar { flex: 1 1 0; background: linear-gradient(180deg, var(--accent-3), rgba(122,162,255,.18)); opacity: .55; }
.tl-den-bar.is-peak { background: linear-gradient(180deg, var(--accent), rgba(242,181,68,.2)); opacity: .95; }
.tl-rows { display: grid; gap: 4px; position: relative; }
.tl-row { display: flex; align-items: center; gap: 0; height: 26px; }
.tl-row:hover .tl-label { color: var(--text); }
.tl-label {
  flex: 0 0 148px; width: 148px; position: sticky; left: 0; z-index: 3;
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; color: var(--text-mute); padding-right: .7rem;
  background: linear-gradient(90deg, var(--bg-deep) 76%, rgba(4,6,10,0));
  white-space: nowrap; overflow: hidden;
}
.tl-label span.n { overflow: hidden; text-overflow: ellipsis; }
.tl-track {
  position: relative; flex: 1 1 auto; height: 18px;
  background: var(--bg-card); border-radius: 5px;
}
.tl-bar {
  position: absolute; top: 0; bottom: 0; border-radius: 5px;
  background: var(--accent-3); opacity: .82;
  transition: opacity .3s var(--ease-out), filter .3s var(--ease-out);
}
.tl-bar:hover { opacity: 1; filter: brightness(1.25); }
.tl-bar.is-open { box-shadow: 0 0 14px rgba(56,226,176,.45); }
.tl-bar.is-half::after {
  content: ""; position: absolute; inset: 0; border-radius: 5px;
  background: repeating-linear-gradient(45deg, rgba(4,6,10,.35) 0 4px, transparent 4px 8px);
}
.tl-now { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--accent); z-index: 4; pointer-events: none; }
.tl-now-tag {
  position: absolute; top: -4px; left: 4px; font-size: .6rem;
  color: var(--accent); letter-spacing: .1em; text-transform: uppercase;
}
.tl-foot { margin-top: 1rem; font-size: .82rem; color: var(--text-dim); }
.tl-foot a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --- Solapamientos -------------------------------------------- */
.ov-grid { display: grid; gap: 1.1rem; margin-bottom: 3.5rem; }
.ov-card {
  padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-soft);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease-out), border-color .5s var(--ease-out);
}
.ov-card:hover { transform: translateY(-4px); border-color: rgba(242,181,68,.4); }
.ov-card.is-live { border-color: rgba(56,226,176,.45); box-shadow: 0 0 40px rgba(56,226,176,.09); }
.ov-tag { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.ov-card h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: .5rem; }
.ov-win { font-size: 1.02rem; color: var(--accent-2); margin-bottom: .9rem; }
.ov-text { font-size: .89rem; color: var(--text-mute); margin-bottom: 1rem; }
.ov-pairs { font-size: .74rem; color: var(--text-dim); letter-spacing: .04em; }
.ov-live-badge {
  display: inline-flex; align-items: center; gap: .4rem; margin-left: .6rem;
  font-family: var(--mono); font-size: .64rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--accent-2);
}

/* --- Mapa de calor por hora ----------------------------------- */
.heat {
  padding: 1.7rem 1.6rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-soft);
}
.heat-head h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: .3rem; }
.heat-head p { font-size: .86rem; color: var(--text-mute); margin-bottom: 1.4rem; }
.heat-bars { display: flex; align-items: flex-end; gap: 3px; height: 130px; }
.heat-bar { flex: 1 1 0; position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.heat-fill {
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent-3), rgba(122,162,255,.22));
  transition: height .8s var(--ease-out);
}
.heat-bar.is-peak .heat-fill { background: linear-gradient(180deg, var(--accent), rgba(242,181,68,.25)); }
.heat-bar.is-now .heat-fill { background: linear-gradient(180deg, var(--accent-2), rgba(56,226,176,.25)); }
.heat-h { font-family: var(--mono); font-size: .58rem; color: var(--text-dim); text-align: center; margin-top: .35rem; }
.heat-note { margin-top: 1.1rem; font-size: .86rem; color: var(--text-mute); }
.heat-note b { color: var(--accent); font-weight: 500; }

/* --- Catálogo de mercados ------------------------------------- */
.mk-controls {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  align-items: center; margin-bottom: 1.6rem;
}
.field-search { max-width: 340px; }
.mk-sort { display: flex; gap: .45rem; flex-wrap: wrap; }
.mk-grid { display: grid; gap: .9rem; }
.mk-card {
  padding: 1.15rem 1.25rem; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--line-soft);
  transition: transform .45s var(--ease-out), border-color .45s var(--ease-out), background .45s var(--ease-out);
}
.mk-card:hover { transform: translateY(-3px); border-color: var(--line); background: var(--bg-card-2); }
.mk-card.is-open { border-color: rgba(56,226,176,.34); }
.mk-top { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .8rem; }
.mk-flag { font-size: 1.35rem; line-height: 1; }
.mk-id { flex: 1 1 auto; min-width: 0; }
.mk-name { font-size: .98rem; font-weight: 500; }
.mk-city { font-size: .76rem; color: var(--text-dim); }
.mk-state {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .22rem .5rem; border-radius: 100px; white-space: nowrap;
  border: 1px solid var(--line);  color: var(--text-dim);
}
.mk-state.open { color: var(--accent-2); border-color: rgba(56,226,176,.4); background: rgba(56,226,176,.08); }
.mk-state.soon { color: var(--accent); border-color: rgba(242,181,68,.4); background: rgba(242,181,68,.08); }
.mk-state.holiday { color: var(--warn); border-color: rgba(255,138,91,.4); background: rgba(255,138,91,.08); }
.mk-meta { display: grid; gap: .3rem; font-size: .78rem; color: var(--text-mute); }
.mk-meta-row { display: flex; justify-content: space-between; gap: 1rem; }
.mk-meta-row b { font-family: var(--mono); font-weight: 400; color: var(--text); }
.mk-note { margin-top: .7rem; font-size: .74rem; color: var(--text-dim); font-style: italic; }
.mk-bar { height: 3px; border-radius: 2px; background: var(--bg-card-2); margin-top: .9rem; overflow: hidden; }
.mk-bar i { display: block; height: 100%; background: var(--accent-2); width: 0; transition: width .8s var(--ease-out); }

/* --- Herramientas --------------------------------------------- */
.tools-grid { display: grid; gap: 1.1rem; }
.tool-card {
  padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: .6rem;
}
.tool-kicker { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.tool-card h3 { font-family: var(--serif); font-size: 1.42rem; }
.tool-text { font-size: .87rem; color: var(--text-mute); }
.tool-big { font-size: clamp(1.9rem, 5vw, 2.6rem); color: var(--accent-2); line-height: 1; letter-spacing: -.02em; }
.tool-sub { font-size: .8rem; color: var(--text-dim); }
.tool-row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .8rem; }
.tool-row .field { flex: 1 1 160px; }
.world-list { list-style: none; padding: 0; display: grid; gap: .4rem; max-height: 210px; overflow-y: auto; }
.world-row { display: flex; justify-content: space-between; gap: .8rem; font-size: .82rem; border-bottom: 1px solid var(--line-soft); padding-bottom: .35rem; }
.world-row span:last-child { font-family: var(--mono); color: var(--text); }

/* --- Publicidad ------------------------------------------------ */
.ad-slot { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter) 1rem; }
.ad-tag { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: .5rem; }

/* --- FAQ ------------------------------------------------------- */
.faq { display: grid; gap: .6rem; max-width: 860px; }
.faq-item {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--panel); padding: 1.05rem 1.3rem;
}
.faq-item summary {
  cursor: pointer; list-style: none; font-size: 1rem; font-weight: 500;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--accent); font-family: var(--mono); font-size: 1.2rem; flex: 0 0 auto; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: .8rem; font-size: .9rem; color: var(--text-mute); }

/* --- CTA / patrocinio ------------------------------------------ */
.section-cta { padding-bottom: clamp(4rem, 9vw, 7rem); }
.cta-inner { display: grid; gap: 2rem; }
.cta-copy h2 { font-size: clamp(1.9rem, 4.6vw, 3rem); margin-bottom: 1rem; }
.cta-copy > p { color: var(--text-mute); max-width: 54ch; margin-bottom: 1.7rem; }
.cta-fine { margin-top: 1rem; font-size: .74rem; color: var(--text-dim); max-width: 46ch; }
.cta-fine a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cta-sponsor { align-self: start; }
.sponsor-box {
  padding: 1.6rem 1.5rem; border-radius: var(--radius);
  border: 1px solid rgba(242,181,68,.28); background: rgba(242,181,68,.05);
}
/* Variante neutra: la caja ámbar era para una oferta comercial, no para datos */
.sponsor-box.is-info { border-color: var(--line); background: var(--bg-card); }
.source-list { list-style: none; padding: 0; display: grid; gap: .7rem; }
.source-list li {
  font-size: .82rem; color: var(--text-mute); line-height: 1.5;
  padding-left: .9rem; position: relative;
}
.source-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 4px; height: 4px; border-radius: 50%; background: var(--accent);
}
.source-list b { color: var(--text); font-weight: 500; }

/* --- Footer ---------------------------------------------------- */
.footer {
  position: relative; z-index: 3;
  border-top: 1px solid var(--line-soft); background: var(--panel-firm);
  padding: 3rem var(--gutter) 2rem;
}
.foot-grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2rem; }
.foot-name { font-family: var(--mono); letter-spacing: .28em; font-weight: 700; margin-top: .7rem; }
.foot-tag { font-size: .84rem; color: var(--text-dim); }
.foot-links { display: grid; gap: .5rem; font-size: .86rem; color: var(--text-mute); }
.foot-links a:hover { color: var(--accent); }
.foot-disclaimer { font-size: .76rem; color: var(--text-dim); max-width: 46ch; }
.foot-legal {
  max-width: var(--maxw); margin: 2.4rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft); font-size: .7rem; color: var(--text-dim);
}

/* --- Consentimiento -------------------------------------------- */
.consent {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: 1rem; z-index: 8000;
  max-width: 640px; margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--panel-firm); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.consent[hidden] { display: none; }
.consent p { font-size: .8rem; color: var(--text-mute); flex: 1 1 280px; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: .5rem; align-items: center; }

/* =============================================================
   Reveals
   ============================================================= */
/* Entrada de la portada. Sustituye a GSAP (71 KB) y a ScrollTrigger (42 KB),
   que estaba cargado sin registrar una sola animación.
   Se usa fill-mode "backwards", no "both": si el navegador no ejecutase la
   animación, el elemento se queda en su estado natural, que es visible. */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.anim-in { animation: riseIn .95s var(--ease-out) backwards; }
.anim-in.d1 { animation-delay: .30s; }
.anim-in.d2 { animation-delay: .37s; }
.anim-in.d3 { animation-delay: .44s; }
.anim-in.d4 { animation-delay: .51s; }
.anim-in.d5 { animation-delay: .58s; }
.anim-in.d6 { animation-delay: .65s; }
@media (prefers-reduced-motion: reduce) { .anim-in { animation: none; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   9. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .ov-grid { grid-template-columns: repeat(2, 1fr); }
  .mk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .clock-intro { grid-template-columns: minmax(0, 1fr) minmax(452px, 1.02fr); gap: 2.2rem; align-items: end; }
  .clock-grid { grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr); align-items: start; gap: 2.6rem; }
  .dial-key { grid-template-columns: 1fr 1fr; gap: 1px .8rem; }
  .ov-grid { grid-template-columns: repeat(3, 1fr); }
  .mk-grid { grid-template-columns: repeat(3, 1fr); }
  .tools-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr); gap: 3rem; }
  .foot-grid { grid-template-columns: 1.1fr .8fr 1.1fr; }
}
@media (min-width: 1280px) {
  .mk-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 720px) {
  .ls-sep { display: none; }
  .live-strip { gap: .9rem 1.4rem; padding: .9rem 1.1rem; }
  /* La frase resumen se cae en móvil: ocupa cuatro líneas y empuja el reloj
     fuera de pantalla. La misma información está en «Abiertos ahora». */
  .ls-block-wide { display: none; }
  .ci-title { margin-bottom: .6rem; }
  .section-clock { padding-top: 4.6rem; }
  .heat-bars { height: 96px; gap: 2px; }
  .heat-h { font-size: .5rem; }

  /* Reloj compacto: menos anillos, sin etiquetas dentro y horas más grandes.
     Quién es cada anillo se lee en la leyenda de debajo. */
  .dial.is-compact .dial-chip { display: none; }
  .dial.is-compact .dial-hour { font-size: 21px; }
  .dial-time { font-size: 1.55rem; }
  .dial-sec { font-size: .7rem; }
  .dial-open { display: none; }
  .dial-stack { margin-inline: calc(var(--gutter) * -0.55); }
  .key-hours { max-width: 12ch; }
}

/* =============================================================
   Páginas de documento (guía, privacidad)
   ============================================================= */
.doc-body {
  background:
    radial-gradient(70% 45% at 78% -5%, rgba(45,110,150,.20) 0%, transparent 60%),
    radial-gradient(50% 40% at 8% 12%, rgba(242,181,68,.07) 0%, transparent 62%),
    var(--bg-deep);
  background-attachment: fixed;
}
.doc {
  max-width: 900px; margin: 0 auto;
  padding: 7.5rem var(--gutter) 4rem;
}
.doc h1 {
  font-family: var(--serif); font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin-bottom: 1.2rem;
}
.doc h2 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin: 3.2rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
}
.doc h3 { font-size: 1.05rem; font-weight: 600; margin: 2rem 0 .8rem; color: var(--accent); }
.doc p { color: var(--text-mute); margin-bottom: 1rem; max-width: 72ch; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc-lede { font-size: clamp(1.02rem, 1.9vw, 1.2rem); color: var(--text) !important; margin-bottom: 2rem !important; }
.doc-toc {
  display: flex; flex-wrap: wrap; gap: .45rem;
  padding: 1rem 0 0; border-top: 1px solid var(--line-soft);
}
.doc-toc a {
  padding: .38rem .8rem; border: 1px solid var(--line); border-radius: 100px;
  font-size: .8rem; text-decoration: none; color: var(--text-mute);
  transition: all .3s var(--ease-out);
}
.doc-toc a:hover { border-color: var(--accent); color: var(--accent); }
.table-wrap { overflow-x: auto; overflow-y: visible; margin: 1.2rem 0 1.6rem; }
.doc-table {
  width: 100%; min-width: 620px; border-collapse: collapse; font-size: .86rem;
}
.doc-table th {
  text-align: left; font-weight: 500; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim);
  padding: .6rem .8rem; border-bottom: 1px solid var(--line);
}
.doc-table td {
  padding: .68rem .8rem; border-bottom: 1px solid var(--line-soft); color: var(--text-mute);
  vertical-align: top;
}
.doc-table tbody tr:hover td { background: var(--bg-card); color: var(--text); }
.doc-table td:first-child { color: var(--text); font-weight: 500; }
.doc-table td:nth-child(4) { font-family: var(--mono); color: var(--accent-2); white-space: nowrap; }
.tag {
  display: inline-block; margin-left: .4rem; padding: .06rem .38rem;
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 4px; color: var(--text-dim);
}
.doc-list { margin: 1rem 0 1.4rem 1.1rem; color: var(--text-mute); display: grid; gap: .75rem; max-width: 72ch; }
.doc-list b { color: var(--text); font-weight: 500; }
.doc-dl { display: grid; gap: .2rem; max-width: 72ch; }
.doc-dl dt { color: var(--accent); font-weight: 500; margin-top: 1rem; }
.doc-dl dd { color: var(--text-mute); margin: 0; }
.doc-note {
  font-size: .82rem !important; color: var(--text-dim) !important;
  border-left: 2px solid var(--line); padding-left: 1rem; margin: 1.4rem 0 !important;
}
.doc-cta { margin: 2.4rem 0; }

/* Respuesta directa con reloj en vivo: lo que un artículo estático no tiene */
.answer-box {
  display: grid; gap: 1.6rem; margin: 2rem 0 2.6rem;
  padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--panel); border: 1px solid rgba(242, 181, 68, .26);
}
.ab-label { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.ab-time {
  font-size: clamp(2.2rem, 6vw, 3.2rem); line-height: 1;
  color: var(--accent-2); letter-spacing: -.02em; margin: .35rem 0 .5rem;
}
.ab-sub { font-size: .9rem; color: var(--text-mute) !important; margin: 0 !important; }
.ab-side .field-row { display: flex; gap: .5rem; }
@media (min-width: 720px) {
  .answer-box { grid-template-columns: minmax(0, 1.1fr) minmax(240px, .9fr); align-items: center; }
}

/* =============================================================
   10. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot-live { animation: none; }
  .grain { display: none; }
}
