@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@400;500;600;700&display=swap');
/* ═══════════════════════════════════════════════
   FRECUENCIA BOCA — style.css
   ═══════════════════════════════════════════════ */

/* ── TIPOGRAFÍAS FIXTURE (local) ── */
@font-face {
  font-family: 'FixtureExpanded';
  src: url('../assets/fonts/Fixture-Expanded-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixture';
  src: url('../assets/fonts/Fixture-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'FixtureCondensed';
  src: url('../assets/fonts/Fixture-Condensed-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* fallback: Barlow desde Google solo si Fixture no carga */

:root {
  --azul:                  #06163A;
  --azul-mid:              #0B234C;
  --azul-deep:             #03102A;
  --amarillo:              #F5BB00;
  --amarillo-glow:         rgba(245,187,0,0.18);
  --amarillo-border:       rgba(245,187,0,0.30);
  --amarillo-border-hover: rgba(245,187,0,0.70);
  --glass-bg:              rgba(6,22,58,0.78);
  --glass-bg-light:        rgba(11,35,76,0.60);
  --glass-blur:            blur(22px);
  --glass-blur-sm:         blur(12px);
  --blanco:                #FFFFFF;
  --blanco-dim:            rgba(255,255,255,0.78);
  --blanco-muted:          rgba(255,255,255,0.44);
  --nav-h:                 72px;

  /* ── SISTEMA DE GRILLA UNIFICADO ── */
  --grid-max:              1920px;   /* full width hasta 1920 */
  --grid-pad:              48px;     /* gutter lateral */
  --grid-pad-md:           32px;     /* tablets */
  --grid-pad-sm:           20px;     /* mobile */
  --font-display:          'FixtureExpanded', 'Barlow Condensed', sans-serif;
  --font-condensed:        'FixtureCondensed', 'Barlow Condensed', sans-serif;
  --font-body:             'Fixture', 'Barlow', sans-serif;
  --ease-out:              cubic-bezier(0.16,1,0.3,1);
  --ease-in-out:           cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--azul-deep);
  color: var(--blanco);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── CANVAS PARTÍCULAS ── */
#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── BACKGROUND GLOBAL ── */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 15% 5%,  rgba(245,187,0,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 55% 65% at 85% 85%,  rgba(3,52,114,0.45)  0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%,  rgba(6,22,58,0.3)    0%, transparent 100%),
    linear-gradient(160deg, #06163A 0%, #03102A 55%, #040E26 100%);
}

/* ── PAGE TRANSITION OVERLAY — Bandera Boca ── */
#transition-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
#transition-overlay.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
#transition-overlay .flag-stripe-top {
  flex: 1;
  background: #06163A;
  min-height: 33.33%;
}
#transition-overlay .flag-stripe-mid {
  flex: 1;
  background: #F5BB00;
  min-height: 33.33%;
}
#transition-overlay .flag-stripe-bot {
  flex: 1;
  background: #06163A;
  min-height: 33.33%;
}

/* ═══════════════════════════════════════════
   NAV — desktop + mobile
   ═══════════════════════════════════════════ */

/* ── Contenedor ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: #09152C;
  border-bottom: 1px solid rgba(245,187,0,0.12);
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(9,21,44,0.97);
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}

/* ── Inner wrapper (misma grilla que .container) ── */
.nav-inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.nav-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0px 0px 8px rgba(0,0,0,0.45));
  transition: filter 0.3s;
}
.nav-logo:hover img {
  filter: drop-shadow(0px 0px 16px rgba(245,187,0,0.5));
}

/* ── Links — desktop ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Item wrapper (columna para alojar el underline debajo del texto) */
.nav-links li {
  display: flex;
}

/* Cada link: columna con texto + línea */
.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--blanco);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 19px 0 12px;
  position: relative;
  transition: color 0.22s;
}

/* Underline animado — solo el ancho del texto */
.nav-links a::after {
  content: '';
  display: block;
  height: 1px;
  width: 100%;
  background: var(--amarillo);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover         { color: var(--amarillo); }
.nav-links a:hover::after  { transform: scaleX(1); }
.nav-links a.active        { color: var(--amarillo); }
.nav-links a.active::after { transform: scaleX(1); }

/* ── CTA pill "Contacto" ── */
.nav-cta {
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: -0.02em !important;
  color: var(--azul) !important;
  background: var(--amarillo) !important;
  border-radius: 80px !important;
  padding: 8px 20px !important;
  gap: 0 !important;
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: #FFD000 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 24px rgba(245,187,0,0.35) !important;
  color: var(--azul) !important;
}
.nav-cta.active { color: var(--azul) !important; }

/* ── Hamburger — oculto en desktop ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  flex-shrink: 0;
  z-index: 210;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              opacity   0.3s ease,
              background 0.3s ease;
}
/* X al abrir */
.hamburger.open span { background: var(--amarillo); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── PAGES ── */
.page { display: none; position: relative; z-index: 1; }
.page.active { display: block; }

/* ── CONTAINER ── */
/* ── CONTAINER UNIFICADO ── */
.container {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 0 var(--grid-pad);
  width: 100%;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }
.reveal.visible  { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ── GLASS CARD BASE ── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--amarillo-border);
  border-radius: 24px;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35),
              inset 0 1px 0 rgba(245,187,0,0.12);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: -60%; left: -70%;
  width: 55%; height: 220%;
  background: linear-gradient(
    108deg,
    rgba(255,255,255,0)    0%,
    rgba(255,255,255,0.03) 38%,
    rgba(245,187,0,0.05)   50%,
    rgba(255,255,255,0.03) 62%,
    rgba(255,255,255,0)    100%
  );
  transform: rotate(15deg);
  animation: glass-shimmer 22s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glass-shimmer {
  0%   { transform: rotate(15deg) translateX(-100%); opacity: 0; }
  4%   { opacity: 1; }
  18%  { transform: rotate(15deg) translateX(450%);  opacity: 0.7; }
  19%  { opacity: 0; }
  100% { transform: rotate(15deg) translateX(450%);  opacity: 0; }
}

.glass > * { position: relative; z-index: 1; }

/* TOP GLOW LINE */
.glass-top-line::after {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--amarillo), transparent);
  border-radius: 2px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amarillo);
  color: var(--azul);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.28s var(--ease-out);
  box-shadow: 0 6px 28px rgba(245,187,0,0.28);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(245,187,0,0.4); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.btn-secondary:hover {
  border-color: var(--amarillo-border-hover);
  color: var(--amarillo);
  background: rgba(245,187,0,0.06);
  transform: translateY(-2px);
}

/* ── SECTION HEADER ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.section-tag-star { color: var(--amarillo); font-size: 14px; }
.section-tag-text {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amarillo);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--blanco);
}
.section-title em { font-style: normal; color: var(--amarillo); }

.section-sub {
  font-size: 16px;
  line-height: 1.65;
  color: var(--blanco-muted);
  max-width: 520px;
  margin-top: 16px;
}

/* ── STAR STRIP ── */
.star-strip {
  position: relative;
  z-index: 1;
  height: 40px;
  background: #0B234C;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.star-strip-inner {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
  animation: strip-scroll 60s linear infinite;
}

.star-strip-inner span {
  font-family: 'Fixture', 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #F5BB00;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
}

.star-strip-inner .strip-sep {
  color: #F5BB00;
  opacity: 0.55;
  font-size: 13px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
}
@keyframes strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* Imagen de fondo del hero — cargada inline en el HTML via style= para evitar CORS en hosting */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Degradé de izquierda a derecha exacto del Figma */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5,16,41,0.90) 36.87%,
    rgba(5,16,41,0.50) 75.80%,
    rgba(5,16,41,0.40) 100%
  );
  z-index: 1;
}

/* El contenido va encima de ambas capas */
#inicio .hero-inner { position: relative; z-index: 2; }

.hero-inner {
  width: 100%;
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 48px var(--grid-pad) 56px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  animation: badge-in 0.7s var(--ease-out) 0.2s both;
}
@keyframes badge-in {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amarillo);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(245,187,0,0.5); }
  50%     { opacity: 0.6; transform: scale(0.75); box-shadow: 0 0 0 5px rgba(245,187,0,0); }
}
.hero-badge span {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amarillo);
}

.hero-title {
  font-family: 'FixtureExpanded', 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 4.2vw, 68px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: title-in 0.9s var(--ease-out) 0.3s both;
}
@keyframes title-in {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title em {
  font-style: normal;
  color: var(--amarillo);
  display: block;
  text-shadow: 0 0 80px rgba(245,187,0,0.35);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--blanco-dim);
  max-width: 500px;
  margin-bottom: 32px;
  animation: desc-in 0.8s var(--ease-out) 0.5s both;
}
@keyframes desc-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: actions-in 0.8s var(--ease-out) 0.65s both;
}
@keyframes actions-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.09);
  animation: stats-in 0.8s var(--ease-out) 0.8s both;
  flex-wrap: wrap;
}
@keyframes stats-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-stat { cursor: default; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--amarillo);
  line-height: 1;
  transition: text-shadow 0.3s;
}
.hero-stat:hover .hero-stat-num {
  text-shadow: 0 0 30px rgba(245,187,0,0.6);
}
.hero-stat-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blanco-muted);
  margin-top: 5px;
}

/* HERO CARD */
.hero-card {
  animation: card-in 1s var(--ease-out) 0.4s both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(40px) rotateY(-8deg); }
  to   { opacity: 1; transform: translateY(0) rotateY(0); }
}

.hero-glass-card {
  padding: 28px 28px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
}
.live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #EF4444;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.55); }
  50%      { box-shadow: 0 0 0 7px rgba(239,68,68,0); }
}
.live-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EF4444;
}

.match-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.team-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.team-shield {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(245,187,0,0.10);
  border: 2px solid var(--amarillo-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--amarillo);
  transition: all 0.3s;
}
.team-shield:hover {
  background: rgba(245,187,0,0.18);
  border-color: var(--amarillo-border-hover);
}
.team-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blanco);
  text-align: center;
}
.score-display {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 900;
  color: var(--amarillo);
  letter-spacing: -0.03em;
  padding: 0 18px;
  text-shadow: 0 0 50px rgba(245,187,0,0.45);
  animation: score-glow 3s ease-in-out infinite alternate;
}
@keyframes score-glow {
  from { text-shadow: 0 0 40px rgba(245,187,0,0.3); }
  to   { text-shadow: 0 0 70px rgba(245,187,0,0.6); }
}
.score-sep { color: rgba(245,187,0,0.4); }

.match-meta {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.match-meta span {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--blanco-muted);
}
.match-meta strong { color: var(--amarillo); }

.platforms-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blanco-dim);
  text-decoration: none;
  transition: all 0.22s;
}
.platform-pill:hover {
  border-color: var(--amarillo-border);
  color: var(--amarillo);
  background: rgba(245,187,0,0.06);
  transform: translateY(-2px);
}
.platform-pill svg { width: 14px; height: 14px; fill: currentColor; }

/* ══════════════════════════════════════
   TRANSMISIONES
══════════════════════════════════════ */
.page-section { padding: calc(var(--nav-h) + 60px) 0 100px; }

.transmisiones-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 52px;
}

/* CARRUSEL */
.carousel-outer { position: relative; }

.carousel-container { overflow: hidden; border-radius: 20px; }

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

.video-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--glass-bg);
  border: 1px solid var(--amarillo-border);
  border-radius: 20px;
  overflow: hidden;
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  cursor: pointer;
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.45),
              0 0 0 1px var(--amarillo-border-hover);
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--azul-mid);
}
.video-thumb iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

.video-card-info { padding: 22px 26px; }
.video-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amarillo);
  margin-bottom: 7px;
}
.video-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blanco);
  line-height: 1.15;
  margin-bottom: 6px;
}
.video-meta { font-size: 12.5px; color: var(--blanco-muted); }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--amarillo-border);
  color: var(--amarillo);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.22s;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.carousel-btn:hover { background: var(--amarillo); color: var(--azul); transform: scale(1.08); }
.carousel-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.carousel-dots { display: flex; gap: 8px; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(245,187,0,0.22);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.carousel-dot.active { background: var(--amarillo); width: 26px; border-radius: 50px; }

/* ══════════════════════════════════════
   NOSOTROS
══════════════════════════════════════ */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.nosotros-features { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }

.feature-card {
  background: rgba(6,22,58,0.60);
  border: 1px solid var(--amarillo-border);
  border-radius: 16px;
  padding: 22px 26px;
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--amarillo);
  transition: height 0.35s var(--ease-out);
}
.feature-card:hover {
  border-color: var(--amarillo-border-hover);
  transform: translateX(6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}
.feature-card:hover::before { height: 100%; }

.feature-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(245,187,0,0.10);
  border: 1px solid var(--amarillo-border);
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; fill: var(--amarillo); }
.feature-body h3 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 5px;
}
.feature-body p { font-size: 14px; line-height: 1.6; color: var(--blanco-muted); }

/* STATS GRID */
.nosotros-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-glass {
  background: var(--glass-bg);
  border: 1px solid var(--amarillo-border);
  border-radius: 20px;
  padding: 28px 22px;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
  cursor: default;
}
.stat-glass::after {
  content: '';
  position: absolute;
  bottom: -35%; left: 5%;
  width: 90%; height: 65%;
  background: radial-gradient(ellipse, rgba(245,187,0,0.08) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
}
.stat-glass:hover {
  border-color: var(--amarillo-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.35);
}
.stat-glass:hover::after { opacity: 1.5; }
.stat-num {
  font-family: var(--font-display);
  font-size: 46px; font-weight: 900;
  color: var(--amarillo); line-height: 1;
  text-shadow: 0 0 40px rgba(245,187,0,0.3);
  transition: text-shadow 0.3s;
}
.stat-glass:hover .stat-num { text-shadow: 0 0 60px rgba(245,187,0,0.6); }
.stat-label {
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blanco-muted); margin-top: 7px;
}
.stat-platform {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--amarillo); opacity: 0.65; margin-top: 3px;
}

/* ══════════════════════════════════════
   SPONSORS
══════════════════════════════════════ */
.sponsors-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.sponsor-chip {
  background: rgba(6,22,58,0.65);
  border: 1px solid var(--amarillo-border);
  border-radius: 50px;
  padding: 11px 22px;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blanco-dim);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: all 0.22s;
  cursor: default;
}
.sponsor-chip:hover {
  border-color: var(--amarillo-border-hover);
  color: var(--amarillo);
  background: rgba(245,187,0,0.07);
  transform: translateY(-3px);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-top: 40px;
}
.partner-card {
  background: var(--glass-bg);
  border: 1px solid var(--amarillo-border);
  border-radius: 20px;
  padding: 28px 18px;
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  text-align: center;
  transition: all 0.32s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--amarillo), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.partner-card:hover { border-color: var(--amarillo-border-hover); transform: translateY(-5px); box-shadow: 0 20px 52px rgba(0,0,0,0.32); }
.partner-card:hover::before { opacity: 1; }

.partner-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(245,187,0,0.09);
  border: 1px solid var(--amarillo-border);
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
}
.partner-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--amarillo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.partner-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  text-transform: uppercase; color: var(--amarillo);
  margin-bottom: 6px;
}
.partner-desc { font-size: 12px; color: var(--blanco-muted); line-height: 1.5; }

.sponsor-cta-box {
  margin-top: 64px;
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.sponsor-cta-box::after {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 45%; height: 180%;
  background: radial-gradient(ellipse, rgba(245,187,0,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.sponsor-cta-text h3 {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 900;
  text-transform: uppercase; color: var(--blanco);
  margin-bottom: 14px; line-height: 1;
}
.sponsor-cta-text h3 em { font-style: normal; color: var(--amarillo); }
.sponsor-cta-text p { font-size: 16px; color: var(--blanco-muted); max-width: 380px; line-height: 1.65; }

/* ══════════════════════════════════════
   CONTACTO
══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}

.contact-form-card { padding: 40px; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--amarillo); margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px; color: var(--blanco);
  outline: none;
  transition: all 0.22s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--amarillo-border-hover);
  background: rgba(245,187,0,0.04);
  box-shadow: 0 0 0 3px rgba(245,187,0,0.09);
}
.form-input::placeholder { color: var(--blanco-muted); }
textarea.form-input { resize: vertical; min-height: 120px; }

.contact-info-list { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item {
  background: rgba(6,22,58,0.62);
  border: 1px solid var(--amarillo-border);
  border-radius: 16px;
  padding: 22px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex; gap: 16px; align-items: flex-start;
  transition: all 0.22s;
}
.contact-info-item:hover { border-color: var(--amarillo-border-hover); transform: translateX(4px); }
.contact-info-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(245,187,0,0.09);
  border: 1px solid var(--amarillo-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--amarillo); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--amarillo); margin-bottom: 4px;
}
.contact-info-value { font-size: 15px; font-weight: 600; color: var(--blanco); }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6,22,58,0.72);
  border: 1px solid var(--amarillo-border);
  border-radius: 50px; padding: 10px 20px;
  font-size: 13px; font-weight: 700;
  color: var(--blanco-dim); text-decoration: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: all 0.22s;
}
.social-pill:hover {
  color: var(--amarillo); border-color: var(--amarillo-border-hover);
  background: rgba(245,187,0,0.07); transform: translateY(-3px);
}
.social-pill svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  position: relative; z-index: 1;
  background: rgba(0,0,0,0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ── FOOTER TOP ── */
.footer-top {
  border-top: 1px solid var(--amarillo-border);
  padding: 52px 0;
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* CTA block */
.footer-cta-title {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blanco);
  margin-bottom: 4px;
}
.footer-cta-tag {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--amarillo);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.footer-socials {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--amarillo-border);
  background: rgba(245,187,0,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--blanco-dim);
  transition: all 0.22s;
  text-decoration: none;
}
.footer-socials a svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.footer-socials a:hover {
  border-color: var(--amarillo-border-hover);
  background: rgba(245,187,0,0.12);
  color: var(--amarillo);
}

/* Email block */
.footer-email-label {
  display: none;
}
.footer-email-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-email-input {
  width: 100%;
  background: rgba(245,187,0,0.08);
  border: 1px solid var(--amarillo-border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--blanco);
  outline: none;
  transition: all 0.22s;
}
.footer-email-input::placeholder {
  color: var(--blanco-muted);
  font-family: var(--font-display);
}
.footer-email-input:focus {
  border-color: var(--amarillo-border-hover);
  background: rgba(245,187,0,0.10);
}
.footer-email-btn {
  background: var(--azul-mid);
  border: 1px solid var(--amarillo-border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--blanco);
  cursor: pointer;
  transition: all 0.22s;
}
.footer-email-btn:hover {
  background: var(--amarillo);
  color: var(--azul);
  border-color: var(--amarillo);
}

/* Logo block — 40% más chico (72px → 43px) */
.footer-logo-block {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}
.footer-logo-block img {
  height: 43px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(245,187,0,0.25));
}

/* ── FOOTER BOTTOM ── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  color: var(--blanco-muted);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.footer-links a:hover { color: var(--amarillo); }
.footer-copy {
  font-size: 11px;
  color: var(--blanco-muted);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* footer mobile */
@media (max-width: 768px) {
  .footer-top-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-logo-block { justify-content: flex-start; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { gap: 16px; }
}

/* ══════════════════════════════════════
   RESPONSIVO — SISTEMA UNIFICADO
   Breakpoints:
   - Desktop:  > 1024px  → --grid-pad: 48px
   - Tablet:   768–1024px → --grid-pad: 32px
   - Mobile:   < 768px   → --grid-pad: 20px, grilla 1 col
══════════════════════════════════════ */

/* ── TABLET 768–1024px ── */
@media (max-width: 1024px) {
  :root { --grid-pad: var(--grid-pad-md); }

  .nav-inner { padding: 0 var(--grid-pad-md); }

  .hero-inner {
    grid-template-columns: 1fr 380px;
    gap: 40px;
    padding: 40px var(--grid-pad-md) 48px;
  }

  .partners-grid { grid-template-columns: 1fr 1fr; }
  .nosotros-stats { grid-template-columns: 1fr 1fr; }
}

/* ── KEYFRAMES NAV MOBILE ── */
@keyframes menuOverlayIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes menuOverlayOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-12px); }
}
@keyframes menuItemIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes menuItemOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(16px); }
}

/* ── MOBILE < 768px ── */
@media (max-width: 768px) {
  :root { --grid-pad: var(--grid-pad-sm); }

  /* ── NAV MOBILE ── */
  .nav-inner { padding: 0 20px; }
  .hamburger { display: flex; }

  /* Overlay fullscreen — estado cerrado (animable, no display:none) */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    height: calc(100vh - var(--nav-h));
    background: #09152C;
    padding: 40px 20px 40px;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 190;
    border-top: 1px solid rgba(245,187,0,0.15);
    /* invisible por defecto */
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }

  /* Abierto */
  .nav-links.open {
    visibility: visible;
    pointer-events: all;
    animation: menuOverlayIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  /* Cerrando */
  .nav-links.closing {
    visibility: visible;
    pointer-events: none;
    animation: menuOverlayOut 0.22s cubic-bezier(0.55, 0, 1, 0.45) forwards;
  }

  /* Items — estado base invisible */
  .nav-links li {
    width: auto;
    opacity: 0;
    transform: translateY(20px);
    border-bottom: none;
  }
  .nav-links li:last-child {
    border-bottom: none;
    margin-top: 32px;
  }

  /* Stagger apertura */
  .nav-links.open li:nth-child(1) { animation: menuItemIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.07s forwards; }
  .nav-links.open li:nth-child(2) { animation: menuItemIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.13s forwards; }
  .nav-links.open li:nth-child(3) { animation: menuItemIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.19s forwards; }
  .nav-links.open li:nth-child(4) { animation: menuItemIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards; }
  .nav-links.open li:nth-child(5) { animation: menuItemIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.31s forwards; }

  /* Stagger cierre (inverso) */
  .nav-links.closing li:nth-child(5) { animation: menuItemOut 0.18s ease-in 0s    forwards; }
  .nav-links.closing li:nth-child(4) { animation: menuItemOut 0.18s ease-in 0.03s forwards; }
  .nav-links.closing li:nth-child(3) { animation: menuItemOut 0.18s ease-in 0.06s forwards; }
  .nav-links.closing li:nth-child(2) { animation: menuItemOut 0.18s ease-in 0.09s forwards; }
  .nav-links.closing li:nth-child(1) { animation: menuItemOut 0.18s ease-in 0.12s forwards; }

  /* Links mobile — Fixture Expanded, underline solo el ancho de la palabra */
  .nav-links a {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: auto;
    font-family: var(--font-display);   /* FixtureExpanded */
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--blanco);
    padding: 16px 0;
    background: none;
    border-radius: 0;
    transition: color 0.2s;
    white-space: nowrap;
  }

  /* Underline mobile — ancho del texto, de izquierda a derecha */
  .nav-links a::after {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    background: var(--amarillo);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav-links a:hover         { color: var(--amarillo); }
  .nav-links a:hover::after  { transform: scaleX(1); }
  .nav-links a.active        { color: var(--amarillo); }
  .nav-links a.active::after { transform: scaleX(1); }

  /* CTA "Contacto" — pill en mobile */
  .nav-links li:last-child { border-bottom: none; width: auto; }
  .nav-cta {
    font-size: 14px !important;
    padding: 12px 28px !important;
    border-radius: 80px !important;
    display: inline-flex !important;
    width: auto !important;
  }
  .nav-cta::after { display: none !important; }

  /* hero — 1 columna */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px var(--grid-pad-sm) 40px;
  }
  .hero-card { display: none; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }

  /* container */
  .container { padding: 0 var(--grid-pad-sm); }

  /* todas las grillas → 1 col */
  .transmisiones-head { grid-template-columns: 1fr; gap: 24px; }
  .nosotros-grid      { grid-template-columns: 1fr; gap: 40px; }
  .nosotros-stats     { grid-template-columns: 1fr 1fr; }
  .partners-grid      { grid-template-columns: 1fr 1fr; }
  .contact-grid       { grid-template-columns: 1fr; }

  /* carrusel */
  .video-card { flex: 0 0 calc(100vw - 40px); }

  /* sponsor cta */
  .sponsor-cta-box { flex-direction: column; text-align: center; padding: 28px; }
  .sponsor-cta-text p { margin: 0 auto; }

  /* footer — tiene su propio @media en el bloque footer */
}

/* ── MOBILE PEQUEÑO < 480px ── */
@media (max-width: 480px) {
  .partners-grid      { grid-template-columns: 1fr; }
  .nosotros-stats     { grid-template-columns: 1fr 1fr; }
  .nav-links a        { font-size: 20px; }
  .hero-title         { font-size: clamp(30px, 8vw, 44px); }
}


/* ═══════════════════════════════════════════
   TOKENS DERIVADOS (agregados para páginas nuevas)
   ═══════════════════════════════════════════ */
:root {
  --verde:        #4ade80;
  --verde-bg:     rgba(34,197,94,0.16);
  --verde-border: rgba(34,197,94,0.35);
  --rojo:         #f87171;
  --rojo-bg:      rgba(220,38,38,0.16);
  --rojo-border:  rgba(220,38,38,0.38);
  --neutro:       rgba(255,255,255,0.55);
  --neutro-bg:    rgba(255,255,255,0.07);
  --linea:        rgba(245,187,0,0.10);
  --linea-soft:   rgba(255,255,255,0.06);
  --amarillo-soft:rgba(245,187,0,0.06);
  --radio-lg:     22px;
  --radio-md:     16px;
  --radio-sm:     10px;
}

/* ── SIN DESPLAZAMIENTO HORIZONTAL ──
   El scroll del sitio es únicamente vertical. `clip` (a diferencia de
   `hidden`) no crea un contenedor de scroll, así que el sidebar sticky
   sigue funcionando. `overscroll-behavior-x` evita el arrastre lateral. */
html {
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body {
  overflow-x: clip;
  max-width: 100%;
  overscroll-behavior-x: none;
}
.home-grid, .home-main, .home-sidebar, .sb-card, .sec, .page-wrap,
.mc-wrap, .mc-panels, .mc-cols, .mc-block { min-width: 0; }

/* Cualquier tabla ancha scrollea dentro de su propia caja, nunca la página */
.sb-tab-panel, .mc-std-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ── NAV: punto EN VIVO junto al link ── */
.nav-live-dot {
  display: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #EF4444;
  margin-left: 7px;
  vertical-align: middle;
  animation: live-pulse 1.6s ease-in-out infinite;
}
body.partido-activo .nav-live-dot { display: inline-block; }
.nav-links a.has-dot { flex-direction: row; align-items: center; }

/* ── ACCESIBILIDAD ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--amarillo);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Links por defecto (para contenido editorial futuro) */
.rich a { color: var(--amarillo); text-decoration: none; border-bottom: 1px solid var(--amarillo-border); }
.rich a:hover { border-bottom-color: var(--amarillo); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
  }
  #particles-canvas { display: none; }
}

/* ── PRINT (básico) ── */
@media print {
  nav, .sticky-live, #particles-canvas, .ad-slot, #state-panel, footer { display: none !important; }
  body { background: #fff; color: #000; }
}
