/* =========================================================
   Liga Estudiantil Chilena — Esports landing
   styles.css
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg-0: #060616;
  --bg-1: #0b0a23;
  --bg-2: #120a3a;

  --c-cyan:    #00e0ff;
  --c-blue:    #2a6bff;
  --c-purple:  #7b2cff;
  --c-magenta: #ff2e88;
  --c-orange:  #ff8a3d;

  --text:      #eaeaff;
  --muted:     #a7a7c8;
  --line:      rgba(255,255,255,.08);

  --radius: 18px;
  --radius-sm: 12px;

  --shadow-glow: 0 10px 40px rgba(123, 44, 255, .35),
                 0 0 80px rgba(0, 224, 255, .15);

  --grad-primary: linear-gradient(135deg, var(--c-cyan), var(--c-purple) 50%, var(--c-magenta));
  --grad-pill:    linear-gradient(135deg, rgba(0,224,255,.15), rgba(255,46,136,.15));
  --grad-card:    linear-gradient(160deg, rgba(20,16,60,.85), rgba(8,6,28,.85));
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* compensa el nav fijo al saltar a anclas */
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: 'Rajdhani', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--c-magenta); color: #fff; }

/* ---------- Background fx ---------- */
.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.04) calc(100% - 1px)),
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(255,255,255,.04) calc(100% - 1px));
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  pointer-events: none;
  z-index: -2;
}

.bg-glow {
  position: fixed;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .55;
  pointer-events: none;
  z-index: -1;
  animation: floatGlow 18s ease-in-out infinite;
  will-change: transform;
}
.bg-glow-1 { background: var(--c-purple);  top: -200px; left: -200px; }
.bg-glow-2 { background: var(--c-magenta); top: 30%;    right: -250px; animation-delay: -6s; }
.bg-glow-3 { background: var(--c-cyan);    bottom: -200px; left: 25%; animation-delay: -12s; }

@keyframes floatGlow {
  0%, 100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(40px,-30px) scale(1.1); }
}

/* ---------- Layout helpers ---------- */
.container { width: min(1200px, 92%); margin: 0 auto; }

.section { padding: 120px 0; position: relative; }
.section__head { text-align: center; margin-bottom: 60px; }
.section__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: .02em;
  margin: 10px 0 0;
  line-height: 1.05;
}
.section__title em {
  font-style: normal;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__lead {
  margin: 18px auto 0; max-width: 680px; color: var(--muted);
  font-size: 1.05rem;
}
.kicker {
  display: inline-block;
  font-family: 'Orbitron', monospace;
  font-size: .8rem;
  letter-spacing: .25em;
  color: var(--c-cyan);
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(0,224,255,.3);
  border-radius: 999px;
  background: rgba(0,224,255,.05);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6,6,22,.55);
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.nav__inner {
  width: min(1300px, 94%);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo-img {
  height: 50px;
  width: auto;
  display: block;
  /* Glow sutil que combina con los colores neón de la página */
  filter:
    drop-shadow(0 0 6px rgba(255, 46, 136, .35))
    drop-shadow(0 0 14px rgba(0, 224, 255, .25))
    drop-shadow(0 4px 8px rgba(0, 0, 0, .6));
  transition: transform .25s ease, filter .25s ease;
}
.nav__brand:hover .nav__logo-img {
  transform: translateY(-1px) scale(1.03);
  filter:
    drop-shadow(0 0 10px rgba(255, 46, 136, .6))
    drop-shadow(0 0 22px rgba(0, 224, 255, .45))
    drop-shadow(0 4px 8px rgba(0, 0, 0, .6));
}
/* Visually-hidden (sr-only) para accesibilidad */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav__links {
  display: flex; gap: 28px;
  font-weight: 600; font-size: .95rem; letter-spacing: .08em;
  text-transform: uppercase;
}
.nav__links a { position: relative; padding: 6px 0; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad-primary);
  transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  background: none; border: 0;
  width: 44px; height: 44px;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 120px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute; inset: -10%;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(123,44,255,.45), transparent 60%),
    radial-gradient(40% 40% at 80% 70%, rgba(255,46,136,.3), transparent 60%),
    radial-gradient(40% 50% at 15% 80%, rgba(0,224,255,.3), transparent 60%);
  z-index: -1;
}
.hero__scanlines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.04) 0px,
    rgba(255,255,255,.04) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: overlay;
  opacity: .35;
  pointer-events: none;
}

.hero__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo-wrap {
  position: relative;
  display: block;
  width: clamp(320px, 60vw, 720px);
  margin: 0 auto 36px;
  animation: fadeUp .9s .2s both;
  isolation: isolate;
}
.hero__logo-glow {
  position: absolute; inset: -25% -15%;
  background:
    radial-gradient(60% 60% at 30% 50%, rgba(255, 46, 136, .55), transparent 65%),
    radial-gradient(60% 60% at 70% 50%, rgba(0, 224, 255, .55), transparent 65%),
    radial-gradient(50% 50% at 50% 50%, rgba(255, 138, 61, .35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  animation: logoGlowPulse 5s ease-in-out infinite;
}
@keyframes logoGlowPulse {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
.hero__logo-img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 18px rgba(255, 46, 136, .55))
    drop-shadow(0 0 36px rgba(0, 224, 255, .35))
    drop-shadow(0 12px 30px rgba(0, 0, 0, .5));
  transition: transform .4s ease;
}
.hero__logo-wrap:hover .hero__logo-img {
  transform: scale(1.02);
}

.hero__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: .95;
  letter-spacing: .02em;
  margin: 0 0 18px;
  animation: fadeUp .9s .2s both;
}
.hero__title .glitch {
  display: block;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  filter: drop-shadow(0 0 24px rgba(123,44,255,.45));
}
.hero__title-accent {
  display: block;
  font-family: 'Russo One', sans-serif;
  font-size: .55em;
  letter-spacing: .35em;
  color: #fff;
  margin-top: 8px;
  text-shadow: 0 0 30px rgba(0,224,255,.4);
}

/* Glitch hover */
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0; pointer-events: none;
}
.hero:hover .glitch::before {
  animation: glitchA 1.2s infinite;
  opacity: .8;
  text-shadow: 2px 0 var(--c-magenta);
}
.hero:hover .glitch::after {
  animation: glitchB 1.5s infinite;
  opacity: .8;
  text-shadow: -2px 0 var(--c-cyan);
}
@keyframes glitchA {
  0%,100%{ transform: translate(0,0); }
  20%{ transform: translate(-2px,1px); }
  40%{ transform: translate(2px,-1px); }
  60%{ transform: translate(-1px,2px); }
}
@keyframes glitchB {
  0%,100%{ transform: translate(0,0); }
  20%{ transform: translate(2px,-1px); }
  40%{ transform: translate(-2px,1px); }
  60%{ transform: translate(1px,-2px); }
}

.hero__tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto 22px;
  animation: fadeUp .9s .35s both;
}
.hero__tagline-line {
  flex: 1;
  height: 1px;
  max-width: 80px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 224, 255, .45),
    rgba(255, 46, 136, .45),
    transparent
  );
}
.hero__subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(.9rem, 1.7vw, 1.15rem);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
  text-align: center;
  white-space: nowrap;
}
.hero__subtitle em {
  font-style: normal;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.hero__lead {
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  animation: fadeUp .9s .5s both;
}
.hero__lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  animation: fadeUp .9s .65s both;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700; letter-spacing: .15em;
  font-size: .85rem;
  text-transform: uppercase;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content:'';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s ease;
  z-index: -1;
}
.btn:hover::before { transform: translateX(100%); }
.btn--primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 50px rgba(255,46,136,.5); }
.btn--ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: rgba(255,255,255,.18);
}
.btn--ghost:hover {
  border-color: var(--c-cyan);
  background: rgba(0,224,255,.08);
  transform: translateY(-2px);
}
.btn .arrow {
  width: 18px; height: 2px; background: currentColor; position: relative;
}
.btn .arrow::after {
  content:'';
  position: absolute; right: -1px; top: -3px;
  width: 8px; height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* Hero marquee */
.hero__marquee {
  margin-top: 60px;
  border-block: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
  animation: fadeUp .9s .8s both;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hero__marquee-track {
  display: flex;
  width: max-content;
  gap: 26px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700; letter-spacing: .25em;
  font-size: .9rem;
  color: var(--muted);
  text-transform: uppercase;
  will-change: transform;
}
.hero__marquee-track span:nth-child(odd) { color: var(--text); }

@keyframes marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* hero scroll arrow */
.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 8px;
  background: var(--c-cyan);
  border-radius: 2px;
  animation: scrollDot 1.4s infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80%, 100% { transform: translateY(20px); opacity: 0; }
}

/* ---------- ABOUT ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.about__copy p { color: var(--muted); margin: 0 0 18px; font-size: 1.05rem; }
.about__copy strong { color: var(--text); }
.about__bullets {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: grid; gap: 12px;
}
.about__bullets li {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.about__bullets li:hover {
  background: rgba(255,255,255,.06);
  transform: translateX(4px);
  transition: transform .2s ease, background .2s ease;
}
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 10px currentColor; }
.dot--cyan    { background: var(--c-cyan);    color: var(--c-cyan); }
.dot--magenta { background: var(--c-magenta); color: var(--c-magenta); }
.dot--purple  { background: var(--c-purple);  color: var(--c-purple); }
.dot--blue    { background: var(--c-blue);    color: var(--c-blue); }

/* About visual card */
.about__card {
  position: relative;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-purple), var(--c-magenta));
  background-size: 200% 200%;
  animation: borderShift 6s linear infinite;
}
@keyframes borderShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}
.about__card-inner {
  background: linear-gradient(160deg, #0d0a2c, #08061a);
  border-radius: 22px;
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.about__card-glow {
  position: absolute; inset: -40%;
  background: radial-gradient(circle, rgba(0,224,255,.25), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.about__badge {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: .75rem;
  letter-spacing: .3em;
  color: var(--c-cyan);
  border: 1px solid rgba(0,224,255,.3);
  background: rgba(0,224,255,.05);
  padding: 6px 12px;
  border-radius: 999px;
}
.about__games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 30px;
}
.about__game {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 16, 60, .6), rgba(8, 6, 28, .6));
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s ease, border-color .3s ease;
}
.about__game::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 70% at 50% 50%, rgba(0, 224, 255, .18), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.about__game:nth-child(2)::before {
  background: radial-gradient(60% 70% at 50% 50%, rgba(255, 46, 136, .22), transparent 70%);
}
.about__game img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter:
    brightness(1)
    drop-shadow(0 0 10px rgba(0, 224, 255, .25))
    drop-shadow(0 4px 12px rgba(0, 0, 0, .5));
  transition: filter .35s ease, transform .35s ease;
}
.about__game:nth-child(2) img {
  filter:
    brightness(1)
    drop-shadow(0 0 10px rgba(255, 46, 136, .3))
    drop-shadow(0 4px 12px rgba(0, 0, 0, .5));
}
.about__game:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 224, 255, .45);
}
.about__game:nth-child(2):hover {
  border-color: rgba(255, 46, 136, .45);
}
.about__game:hover::before { opacity: 1; }
.about__game:hover img {
  transform: scale(1.06);
  filter:
    brightness(1.15)
    drop-shadow(0 0 16px rgba(0, 224, 255, .55))
    drop-shadow(0 0 28px rgba(123, 44, 255, .35));
}
.about__game:nth-child(2):hover img {
  filter:
    brightness(1.15)
    drop-shadow(0 0 16px rgba(255, 46, 136, .6))
    drop-shadow(0 0 28px rgba(255, 138, 61, .35));
}
.about__meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.about__meta > div {
  display: flex; flex-direction: column; gap: 4px;
  border-left: 2px solid var(--c-cyan);
  padding-left: 12px;
}
.about__meta-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700; font-size: 1.2rem;
}
.about__meta-lbl { color: var(--muted); font-size: .85rem; }

/* ---------- STATS ---------- */
.stats__group + .stats__group { margin-top: 8px; }
.stats__group-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 22px;
  flex-wrap: wrap;
}
.stats__group-tag {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}
.stats__group-tag--secundario {
  color: var(--c-cyan);
  border-color: rgba(0, 224, 255, .45);
  box-shadow: 0 0 18px rgba(0, 224, 255, .2);
}
.stats__group-tag--universitario {
  color: var(--c-magenta);
  border-color: rgba(255, 46, 136, .45);
  box-shadow: 0 0 18px rgba(255, 46, 136, .2);
}
.stats__group-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .05em;
  margin: 0;
  color: var(--text);
}
.stats__divider {
  height: 1px;
  width: 100%;
  margin: 44px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 224, 255, .35),
    rgba(123, 44, 255, .45),
    rgba(255, 46, 136, .35),
    transparent
  );
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  position: relative;
  padding: 32px 22px;
  border-radius: var(--radius);
  background: var(--grad-card);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}
.stat::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
  filter: blur(40px);
}
.stat:hover {
  transform: translateY(-6px);
  border-color: rgba(0,224,255,.4);
}
.stat:hover::before { opacity: .15; }
.stat__num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative; z-index: 1;
  line-height: 1;
}
.stat__label {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  position: relative; z-index: 1;
}

/* ---------- EXPERIENCES grid ---------- */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.exp-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  min-height: 320px;
  isolation: isolate;
  border: 1px solid var(--line);
  background: #0a0820;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
}

/* layout: 5 tarjetas en patrón asimétrico */
.exp-card:nth-child(1) { grid-column: span 4; min-height: 380px; }
.exp-card:nth-child(2) { grid-column: span 2; }
.exp-card:nth-child(3) { grid-column: span 2; }
.exp-card:nth-child(4) { grid-column: span 2; }
.exp-card:nth-child(5) { grid-column: span 2; }

.exp-card__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .4s ease;
  filter: saturate(1.1) brightness(.7);
}
.exp-card__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,22,0) 30%, rgba(6,6,22,.95) 100%),
    linear-gradient(135deg, rgba(123,44,255,.35), rgba(0,224,255,.0) 60%, rgba(255,46,136,.35));
  mix-blend-mode: normal;
  z-index: 1;
}
.exp-card__border {
  position: absolute; inset: 0;
  border-radius: 22px;
  pointer-events: none;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  transition: box-shadow .3s ease;
}
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(123,44,255,.35);
}
.exp-card:hover .exp-card__img {
  transform: scale(1.08);
  filter: saturate(1.3) brightness(.85);
}
.exp-card:hover .exp-card__border {
  box-shadow: inset 0 0 0 1px rgba(0,224,255,.6),
              0 0 50px rgba(0,224,255,.2);
}
.exp-card__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  z-index: 3;
  transform: translateY(20px);
  transition: transform .35s ease;
}
.exp-card:hover .exp-card__content { transform: translateY(0); }
.exp-card__tag {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: .7rem;
  letter-spacing: .25em;
  color: #fff;
  background: rgba(255,46,136,.85);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.exp-card__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  margin: 0 0 8px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.exp-card__desc {
  color: rgba(234,234,255,.85);
  font-size: .98rem;
  margin: 0 0 14px;
  max-width: 560px;
}
.exp-card__cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700; letter-spacing: .15em;
  font-size: .8rem; text-transform: uppercase;
  color: var(--c-cyan);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.exp-card:hover .exp-card__cta { opacity: 1; transform: translateY(0); }
.exp-card__cta::after {
  content: '→';
  transition: transform .25s ease;
}
.exp-card:hover .exp-card__cta::after { transform: translateX(6px); }

/* ---------- SPONSORS ---------- */
.sponsors {
  position: relative;
}
.sponsors::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 20% 50%, rgba(0, 224, 255, .08), transparent 60%),
    radial-gradient(50% 50% at 80% 50%, rgba(255, 46, 136, .08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.sponsor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 50px 30px;
  border-radius: var(--radius);
  background: var(--grad-card);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  min-height: 220px;
  transition: transform .3s ease, border-color .3s ease;
}
.sponsor-card__glow {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 50%, rgba(0, 224, 255, .35), transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(255, 46, 136, .35), transparent 55%);
  filter: blur(50px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.sponsor-card img {
  max-height: 130px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  /* Logos blancos: brillan ligeramente desde el estado base */
  filter:
    brightness(1)
    drop-shadow(0 0 12px rgba(0, 224, 255, .25))
    drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
  transition: filter .35s ease, transform .35s ease;
}
.sponsor-card__name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s ease;
}

/* Borde animado al hover (gradiente conic) */
.sponsor-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--c-cyan) 90deg,
    var(--c-purple) 180deg,
    var(--c-magenta) 270deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  animation: sponsorBorder 4s linear infinite;
  z-index: -1;
}
@keyframes sponsorBorder {
  to { transform: rotate(360deg); }
}

.sponsor-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}
.sponsor-card:hover::before { opacity: 1; }
.sponsor-card:hover .sponsor-card__glow { opacity: 1; }
.sponsor-card:hover img {
  filter:
    brightness(1.1)
    drop-shadow(0 0 16px rgba(0, 224, 255, .55))
    drop-shadow(0 0 28px rgba(255, 46, 136, .35));
  transform: scale(1.04);
}
.sponsor-card:hover .sponsor-card__name { color: var(--text); }


/* ---------- SCHOOLS ---------- */
.schools {
  position: relative;
}
.schools::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 50% at 15% 30%, rgba(123, 44, 255, .08), transparent 60%),
    radial-gradient(45% 50% at 85% 70%, rgba(0, 224, 255, .08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.schools__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.school-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 30px 22px 24px;
  border-radius: var(--radius);
  background: var(--grad-card);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  min-height: 240px;
  transition: transform .3s ease, border-color .3s ease;
}
.school-card__glow {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 44, 255, .35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(0, 224, 255, .35), transparent 55%);
  filter: blur(50px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}
.school-card__media {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.school-card img {
  max-height: 120px;
  max-width: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter:
    brightness(1)
    drop-shadow(0 0 12px rgba(0, 224, 255, .25))
    drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
  transition: filter .35s ease, transform .35s ease;
}
.school-card__name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  transition: color .3s ease;
}

.school-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    var(--c-purple) 90deg,
    var(--c-cyan) 180deg,
    var(--c-magenta) 270deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s ease;
  animation: sponsorBorder 4s linear infinite;
  z-index: -1;
}

.school-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
}
.school-card:hover::before { opacity: 1; }
.school-card:hover .school-card__glow { opacity: 1; }
.school-card:hover img {
  filter:
    brightness(1.15)
    drop-shadow(0 0 18px rgba(0, 224, 255, .6))
    drop-shadow(0 0 28px rgba(123, 44, 255, .4));
  transform: scale(1.05);
}
.school-card:hover .school-card__name { color: var(--text); }

@media (max-width: 1080px) {
  .schools__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .schools__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 60px 0 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(11,10,35,.6));
}
.footer__inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 40px; align-items: start;
}
.footer__brand {
  display: flex; align-items: center; gap: 16px;
}
.footer__logo-img {
  height: 64px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 0 8px rgba(255, 46, 136, .35))
    drop-shadow(0 0 18px rgba(0, 224, 255, .25))
    drop-shadow(0 6px 12px rgba(0, 0, 0, .6));
  transition: transform .3s ease;
}
.footer__brand:hover .footer__logo-img { transform: scale(1.04); }
.footer__brand strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  letter-spacing: .12em;
}
.footer__brand span { color: var(--muted); font-size: .92rem; }

.footer__cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: .85rem;
  letter-spacing: .25em;
  color: var(--c-cyan);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.footer__col p { color: var(--muted); font-size: .98rem; line-height: 1.7; margin: 0; }
.footer__col span { color: rgba(167,167,200,.7); font-size: .85rem; }
.footer__col a:hover { color: var(--c-cyan); }

.footer__social {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}
.footer__social-link svg { display: block; }
.footer__social-link:hover {
  color: var(--text);
  transform: translateY(-2px);
}
.footer__social-link[aria-label^="Instagram"]:hover {
  border-color: rgba(255, 46, 136, .55);
  background: rgba(255, 46, 136, .08);
  box-shadow: 0 0 18px rgba(255, 46, 136, .25);
}
.footer__social-link[aria-label^="YouTube"]:hover {
  border-color: rgba(255, 80, 80, .55);
  background: rgba(255, 80, 80, .08);
  box-shadow: 0 0 18px rgba(255, 80, 80, .25);
  color: #ff5050;
}

.footer__bar {
  margin-top: 50px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  width: min(1200px, 92%); margin-left: auto; margin-right: auto;
  flex-wrap: wrap; gap: 12px;
  color: var(--muted);
  font-size: .9rem;
}
.footer__tag i {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  font-weight: 700;
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
}
.modal.is-open { display: block; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(4,3,15,.85);
  backdrop-filter: blur(8px);
  animation: fadeIn .25s ease;
}
.modal__panel {
  position: relative;
  width: min(960px, 94%);
  max-height: 90vh;
  margin: 5vh auto;
  background: linear-gradient(160deg, #0e0a2e, #06051a);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 100px rgba(0,0,0,.6), 0 0 80px rgba(123,44,255,.25);
  animation: panelIn .4s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
@keyframes panelIn {
  from { transform: translateY(40px) scale(.97); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.modal__close {
  position: absolute; top: 16px; right: 18px; z-index: 10;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.modal__close:hover {
  background: var(--c-magenta);
  transform: rotate(90deg);
}

.modal__hero {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.modal__hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05);
  animation: zoomIn 8s linear infinite alternate;
}
@keyframes zoomIn { to { transform: scale(1.15); } }
.modal__hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,5,26,.2) 0%, rgba(6,5,26,.95) 100%),
    linear-gradient(135deg, rgba(123,44,255,.4), rgba(0,224,255,.0) 50%, rgba(255,46,136,.4));
}
.modal__hero-text {
  position: absolute; left: 30px; right: 30px; bottom: 24px;
}
.modal__hero-text h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 8px 0 0;
  letter-spacing: .02em;
}

.modal__body {
  padding: 30px;
  overflow-y: auto;
}
.modal__body p {
  color: var(--muted); font-size: 1.02rem; margin: 0 0 22px;
}
.modal__sub {
  font-family: 'Orbitron', sans-serif;
  font-size: .85rem; letter-spacing: .25em;
  color: var(--c-cyan);
  text-transform: uppercase;
  margin: 24px 0 12px;
}
.modal__bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.modal__bullets li {
  position: relative;
  padding: 12px 14px 12px 36px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
}
.modal__bullets li::before {
  content: '';
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px;
  background: var(--grad-primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,224,255,.5);
}

.modal__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.modal__gallery .gimg {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease;
  cursor: zoom-in;
  padding: 0;
  font: inherit;
  color: inherit;
}
.modal__gallery .gimg::before {
  content: '⤢';
  position: absolute;
  top: 10px; right: 10px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(6, 6, 22, .7);
  color: var(--c-cyan);
  border: 1px solid rgba(0, 224, 255, .35);
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: 'Orbitron', sans-serif;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 2;
}
.modal__gallery .gimg:hover::before { opacity: 1; }
#modalHeroImg { cursor: zoom-in; }
.modal__gallery .gimg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(123,44,255,.15), rgba(255,46,136,.15));
  opacity: 0; transition: opacity .3s ease;
}
.modal__gallery .gimg:hover {
  transform: scale(1.03);
  border-color: var(--c-cyan);
}
.modal__gallery .gimg:hover::after { opacity: 1; }

.modal__actions {
  margin-top: 28px;
  display: flex; justify-content: center;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .6; }
}

/* reveal: visible por defecto. JS añade .has-io a <html> para activar la animación.
   Esto evita ver secciones en blanco si el JS aún no corre / no soporta IO. */
.reveal { opacity: 1; transform: none; }
html.has-io .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
html.has-io .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Lock body when modal is open */
body.no-scroll { overflow: hidden; }

/* ---------- Responsive ---------- */

/* Tablets / small laptops */
@media (max-width: 1024px) {
  .stats__grid     { grid-template-columns: repeat(2, 1fr); }
  .exp-grid        { grid-template-columns: repeat(2, 1fr); }
  .exp-card,
  .exp-card:nth-child(n) { grid-column: span 1; min-height: 300px; }
  .about__grid     { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner   { grid-template-columns: 1fr; }
  .modal__bullets  { grid-template-columns: 1fr; }
}

/* Tablets verticales / móviles grandes */
@media (max-width: 720px) {
  html                { scroll-padding-top: 80px; }
  .section            { padding: 70px 0; }
  .section__head      { margin-bottom: 40px; }
  .container          { width: min(1200px, 94%); }

  .nav__inner         { padding: 12px 0; }
  .nav__logo-img      { height: 40px; }
  .nav__links         { display: none; }
  .nav__toggle        { display: flex; }
  .nav.menu-open .nav__links {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: rgba(6,6,22,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 20px 5%;
    gap: 16px;
  }
  .nav__links a       { padding: 10px 0; font-size: 1rem; }

  .hero               { padding: 110px 18px 90px; min-height: 92vh; }
  .hero__lead         { font-size: 1rem; }
  .hero__subtitle     { font-size: .85rem; letter-spacing: .12em; white-space: normal; }
  .hero__tagline      { gap: 10px; max-width: 100%; }
  .hero__tagline-line { max-width: 30px; }
  .hero__actions      { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero__marquee      { margin-top: 40px; }
  .hero__marquee-track{ animation-duration: 22s; font-size: .78rem; gap: 18px; }
  .hero__scroll       { display: none; }

  .about__card-inner  { padding: 26px; }
  .about__games       { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about__game        { min-height: 90px; padding: 16px; }
  .about__game img    { max-height: 56px; }
  .about__meta        { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about__meta-num    { font-size: 1rem; }
  .about__meta-lbl    { font-size: .72rem; line-height: 1.3; }

  .stats__grid          { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .stat                 { padding: 18px 8px; }
  .stat__num            { font-size: 1.4rem; }
  .stat__label          { font-size: .68rem; letter-spacing: .04em; }
  .stats__group-head    { gap: 10px; margin-bottom: 16px; }
  .stats__group-title   { font-size: .9rem; }
  .stats__group-tag     { font-size: .62rem; padding: 5px 11px; }
  .stats__divider       { margin: 32px 0; }

  .footer__cols       { grid-template-columns: 1fr; gap: 24px; }
  .footer              { padding: 40px 0 0; }
  .footer__inner       { padding-top: 0; }
  .footer__bar        { padding: 18px 0; font-size: .82rem; text-align: center; justify-content: center; }
  .footer__tag         { display: none; }

  .modal__gallery     { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .modal__panel       { margin: 2vh auto; max-height: 96vh; border-radius: 16px; }
  .modal__hero        { height: 200px; }
  .modal__body        { padding: 24px 18px; }
  .modal__close       { top: 12px; right: 12px; width: 38px; height: 38px; }

  .exp-grid           { grid-template-columns: 1fr; gap: 16px; }
  .exp-card,
  .exp-card:nth-child(n) { min-height: 260px; }
  .exp-card__title    { font-size: 1.2rem; }

  .sponsors__grid     { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .sponsor-card       { min-height: 130px; padding: 22px 10px; gap: 10px; }
  .sponsor-card img   { max-height: 60px; }
  .sponsor-card__name { font-size: .54rem; letter-spacing: .14em; }

  .schools__grid      { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .school-card        { min-height: 160px; padding: 16px 10px 14px; gap: 10px; }
  .school-card__media { height: 80px; }
  .school-card img    { max-height: 76px; max-width: 92%; }
  .school-card__name  { font-size: .55rem; letter-spacing: .1em; line-height: 1.3; }

  .lightbox           { padding: 14px; }
  .lightbox__close    { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 1.5rem; }
}

/* Móviles pequeños (≤480px) */
@media (max-width: 480px) {
  body                { font-size: 16px; }
  .section            { padding: 56px 0; }
  .section__head      { margin-bottom: 32px; }
  .section__title     { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .kicker             { font-size: .68rem; padding: 5px 10px; letter-spacing: .2em; }

  .hero               { padding: 100px 14px 70px; min-height: 90vh; }
  .hero__logo-wrap    { width: clamp(240px, 80vw, 360px); margin-bottom: 24px; }
  .hero__subtitle     { font-size: .72rem; letter-spacing: .1em; padding: 0 4px; }
  .hero__tagline-line { display: none; }
  .hero__lead         { font-size: .95rem; padding: 0 6px; }
  .hero__marquee-track{ font-size: .7rem; gap: 14px; }

  .about__card-inner  { padding: 22px; border-radius: 18px; }
  .about__badge       { font-size: .65rem; letter-spacing: .22em; }

  .stats__grid        { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .stat               { padding: 14px 4px; min-height: auto; }
  .stat__num          { font-size: 1.1rem; }
  .stat__label        { font-size: .56rem; letter-spacing: .02em; line-height: 1.25; }

  .sponsors__grid     { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sponsor-card       { min-height: 110px; padding: 16px 6px; }
  .sponsor-card img   { max-height: 48px; }
  .sponsor-card__name { font-size: .48rem; letter-spacing: .1em; }

  .schools__grid      { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .school-card        { min-height: 130px; padding: 12px 6px 10px; gap: 8px; }
  .school-card__media { height: 64px; }
  .school-card img    { max-height: 60px; max-width: 92%; }
  .school-card__name  { font-size: .48rem; letter-spacing: .06em; line-height: 1.25; }

  .modal__hero        { height: 160px; }
  .modal__hero-text h3{ font-size: 1.2rem; }
  .modal__gallery     { grid-template-columns: 1fr; }

  .footer__social     { justify-content: center; }
  .footer__col        { text-align: center; }
  .footer__col h4     { text-align: center; }

  .btn                { padding: 12px 22px; font-size: .9rem; }
}

/* Reducir movimiento si el usuario lo solicita */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(2, 2, 12, .92);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  cursor: zoom-out;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox__img {
  max-width: 95vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow:
    0 0 60px rgba(0, 224, 255, .25),
    0 0 100px rgba(123, 44, 255, .25),
    0 20px 60px rgba(0, 0, 0, .8);
  animation: lbZoomIn .25s ease;
  cursor: default;
}
@keyframes lbZoomIn {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.lightbox__close {
  position: absolute;
  top: 22px; right: 24px;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(10, 10, 26, .8);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.lightbox__close:hover {
  transform: scale(1.08);
  border-color: var(--c-magenta);
  color: var(--c-magenta);
}
