/* ================================================
   CLUB GUINIGUADA — CANTERA · DESIGN SYSTEM
   Tema claro premium (basado en la web del Femenino)
   Tipos: Bebas Neue (display) · Inter (texto) · Rajdhani (labels)
   ================================================ */

/* ── VARIABLES ── */
:root {
  /* Colores del club (tomados de los escudos) */
  --red:        #E0394A;  /* Apolinario / club */
  --red-dark:   #A8202C;
  --red-light:  #F06A76;
  --green:      #1C9A43;  /* Atlántico */
  --green-dark: #0E6B2C;
  --gold:       #C2A23D;  /* Fundación */
  --gold-dark:  #8A6F22;
  --yellow:     #F5C400;  /* Atlántico (corona / cinta) */

  /* Acento activo (el hub = Apolinario, en rojo; cada equipo lo sobreescribe) */
  --accent:       #E0394A;
  --accent-dark:  #A8202C;
  --accent-light: #F06A76;
  --accent-rgb:   224, 57, 74;

  /* Superficies claras */
  --bg-0: #FAFAFA;
  --bg-1: #F5F0F0;
  --bg-2: #FFFFFF;
  --bg-3: #FDF5F5;
  --bg-4: #F5EAEA;

  --glass:        rgba(255, 255, 255, 0.92);
  --glass-border: rgba(26, 8, 8, 0.09);

  /* Texto (oscuro sobre claro) */
  --text-1: #1A0808;
  --text-2: #6B4A4A;
  --text-3: #A89090;

  --r-sm:  6px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-full: 9999px;

  --sh-card:   0 4px 24px rgba(26,8,8,.09);
  --sh-accent: 0 8px 32px rgba(var(--accent-rgb), .22);

  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 78px;
  --max-w: 1340px;
}

/* Temas por equipo */
.tema-apolinario { --accent:#E0394A; --accent-dark:#A8202C; --accent-light:#F06A76; --accent-rgb:224,57,74; }
.tema-fundacion  { --accent:#C2A23D; --accent-dark:#8A6F22; --accent-light:#D8BC5A; --accent-rgb:194,162,61; }
.tema-atlantico  { --accent:#1C9A43; --accent-dark:#0E6B2C; --accent-light:#36BE5C; --accent-rgb:28,154,67; --gold:#F5C400; --gold-dark:#C79A00; }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
em { font-style: normal; color: var(--text-3); }

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: var(--accent);
}
.section-label--center { justify-content: center; }
.section-label--center::after {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.03em;
}
.section-sub {
  color: var(--text-2);
  max-width: 560px;
  margin-top: .9rem;
  line-height: 1.75;
}
.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: rgba(var(--accent-rgb), .08);
  border: 1.5px solid rgba(var(--accent-rgb), .25);
  color: var(--accent);
}
.tag .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(var(--accent-rgb), .6);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(.8);} }

.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--r-full);
  transition: all 0.3s var(--ease-smooth);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.4);
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--accent-rgb), 0.5);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #D9952A);
  color: #2A1A00;
  font-weight: 800;
  box-shadow: var(--sh-gold, 0 4px 20px rgba(201,168,76,.35));
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,.5); }
.btn-outline-dark {
  border: 1.5px solid rgba(26,8,8,.22);
  color: var(--text-1);
  background: rgba(255,255,255,.6);
}
.btn-outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 18px 40px; font-size: 1rem; }

/* ─────────────────────────────────────────
   HEADER / NAVIGATION (claro)
───────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(26,8,8,.08), 0 4px 20px rgba(26,8,8,.07);
}
.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 2rem;
}
.nav__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__logo-img { width: 50px; height: 50px; border-radius: 50%; background: #fff; object-fit: cover; }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }

/* El escudo del Apolinario/club está descentrado a la derecha en el archivo:
   lo recolocamos para que quede centrado en el recorte circular */
.nav__logo-img[src*="escudo-apolinario"], .nav__logo-img[src*="escudo-club"],
.team-card--apolinario .team-card__crest,
.hero-crest--left .hero-crest__img,
.tema-apolinario .page-hero__crest,
.about-crest,
.footer__logo-img[src*="escudo-apolinario"], .footer__logo-img[src*="escudo-club"] {
  object-position: 92% 50%;
}

/* Escudo de "Quiénes somos": centrado en el recorte */
.about-crest { object-fit: cover; border-radius: 50%; background: #fff; }
.nav__logo-text .club-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--text-1);
}
.nav__logo-text .club-sub {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.nav__links { display: flex; align-items: center; gap: 0.25rem; margin: 0 auto; }
.nav__link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav__link:hover, .nav__link.active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), .06);
}
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; }
.nav__hamburger span { display: block; height: 2px; background: var(--text-1); border-radius: 2px; transition: all 0.3s; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.3rem;
  letter-spacing: 0.06em;
  color: var(--text-2);
  transition: color 0.2s;
  padding: 0.4rem 1rem;
}
.mobile-menu__link:hover { color: var(--accent); }

/* ─────────────────────────────────────────
   HERO LANDING (claro, dos columnas)
───────────────────────────────────────── */
.hero-cantera {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background:
    radial-gradient(ellipse 70% 60% at 82% 35%, rgba(204,17,34,.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 15% 75%, rgba(0,165,80,.05) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 60% 95%, rgba(0,119,200,.05) 0%, transparent 70%),
    var(--bg-0);
}
.hero-cantera__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(204,17,34,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,17,34,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-cantera__container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 4.5rem;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-cantera__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.hero-cantera__location {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-cantera__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.6rem, 7.5vw, 7rem);
  line-height: .94;
  letter-spacing: .02em;
  margin-bottom: 1.6rem;
}
.hero-cantera__title span { display: block; }
.hero-cantera__title .accent { color: var(--accent); }
.hero-cantera__desc {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.4rem;
}
.hero-cantera__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.hero-cantera__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--glass-border);
  flex-wrap: wrap;
}
.hero-cantera__stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
}
.hero-cantera__stat-lbl {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}
.hero-cantera__stat-sep { width: 1px; height: 38px; background: var(--glass-border); }

/* Columna derecha: escudo con anillos */
.hero-cantera__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}
.crest-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.crest-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--accent-rgb), .12);
  animation: crestRingPulse 4s ease-in-out infinite;
}
.crest-ring--outer { width: 420px; height: 420px; }
.crest-ring--inner { width: 300px; height: 300px; border-color: rgba(var(--accent-rgb), .2); animation-delay: -2s; }
@keyframes crestRingPulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50%     { transform: scale(1.04); opacity: 1; }
}
.crest-img {
  position: relative;
  z-index: 2;
  width: 230px;
  filter: drop-shadow(0 12px 40px rgba(var(--accent-rgb), .25));
  animation: crestFloat 5s ease-in-out infinite;
}
@keyframes crestFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* Tarjetas flotantes */
.float-card {
  position: absolute;
  background: #fff;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(26,8,8,.10);
  z-index: 5;
  min-width: 200px;
}
.float-card--bl { bottom: 8%; left: -10px; }
.float-card--tr { top: 10%; right: -6px; text-align: center; min-width: 0; }
.float-card__label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.float-card__main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .04em;
  color: var(--text-1);
  line-height: 1.2;
}
.float-card__sub {
  font-size: .72rem;
  color: var(--text-3);
  font-weight: 600;
  margin-top: 4px;
}

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero__scroll-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero__scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(26,8,8,0.25), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine { 0%,100%{transform:scaleY(1);opacity:1;} 50%{transform:scaleY(.55);opacity:.5;} }

/* ─────────────────────────────────────────
   TARJETAS DE LOS 3 EQUIPOS
───────────────────────────────────────── */
.teams-showcase { position: relative; z-index: 10; }
.teams-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.team-card {
  --tc: 204, 17, 34;
  position: relative;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 2.8rem 1.8rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: transform .4s var(--ease-spring), box-shadow .35s, border-color .35s;
}
.team-card--apolinario { --tc: 224, 57, 74; }
.team-card--fundacion  { --tc: 194, 162, 61; }
.team-card--atlantico  { --tc: 28, 154, 67; }
.team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgb(var(--tc)), transparent);
}
.team-card::after {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 200px;
  background: radial-gradient(ellipse, rgba(var(--tc), .10), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.team-card:hover {
  transform: translateY(-10px) scale(1.01);
  border-color: rgba(var(--tc), .45);
  box-shadow: 0 20px 50px rgba(26,8,8,.12), 0 0 35px rgba(var(--tc), .15);
}
.team-card:hover::after { opacity: 1; }
.team-card__crest {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  filter: drop-shadow(0 12px 24px rgba(var(--tc), .25));
  transition: transform .4s var(--ease-spring);
}
.team-card:hover .team-card__crest { transform: scale(1.08) rotate(-2deg); }
.team-card__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: .04em;
  margin-top: 1.3rem;
  line-height: 1.05;
}
.team-card__cat {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: .4rem;
}
.team-card__desc {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-top: .9rem;
}
.team-card__btn {
  margin-top: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(var(--tc));
  border: 1.5px solid rgba(var(--tc), .4);
  padding: 11px 26px;
  border-radius: var(--r-full);
  transition: all .3s var(--ease-smooth);
}
.team-card:hover .team-card__btn {
  background: rgb(var(--tc));
  color: #fff;
  box-shadow: 0 8px 24px rgba(var(--tc), .4);
}

/* ─────────────────────────────────────────
   SECCIÓN QUIÉNES SOMOS (split)
───────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--bg-3), var(--bg-4));
  border: 1.5px solid var(--glass-border);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-card);
}
.about-split__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
.about-split__media > div { position: relative; text-align: center; padding: 2rem; }
.about-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--text-1);
  line-height: 1.25;
  margin-top: 1.2rem;
}
.about-quote em { color: var(--accent); }
.about-split__body p { color: var(--text-2); line-height: 1.8; margin-bottom: 1.1rem; }

/* Mini-stats en about */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}
.mini-stat {
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 1.3rem .8rem;
  text-align: center;
  transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.mini-stat:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .3); box-shadow: var(--sh-card); }
.mini-stat b {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 2.3rem;
  line-height: 1;
  color: var(--accent);
}
.mini-stat span {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ─────────────────────────────────────────
   BANDA DE ESTADÍSTICAS (color sólido)
───────────────────────────────────────── */
.stats-band {
  background: var(--accent);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.2rem 2rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-item:last-child { border-right: none; }
.stat-item__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.25rem;
}
.stat-item__number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item__label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 6px;
}

/* ─────────────────────────────────────────
   NOTICIAS (lista horizontal)
───────────────────────────────────────── */
.news-list { display: flex; flex-direction: column; gap: 1.25rem; }
.news-list-item {
  display: flex;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .35s;
  position: relative;
}
.news-list-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-card);
  border-color: rgba(var(--accent-rgb), .25);
}
.news-list-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity .3s;
}
.news-list-item:hover::before { opacity: 1; }
.news-list-item__img {
  width: 250px;
  min-height: 175px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}
.news-list-item__cat {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.92);
  color: var(--accent);
  border: 1px solid var(--glass-border);
}
.news-list-item__body {
  flex: 1;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
  min-width: 0;
}
.news-list-item__title {
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  transition: color .2s;
}
.news-list-item:hover .news-list-item__title { color: var(--accent); }
.news-list-item__excerpt {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.65;
}
.news-list-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .6rem;
  border-top: 1px solid var(--glass-border);
  margin-top: auto;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  color: var(--text-3);
}
.news-list-item__read {
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap .2s;
}
.news-list-item:hover .news-list-item__read { gap: 9px; }

/* ─────────────────────────────────────────
   INSTALACIONES
───────────────────────────────────────── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.facilities-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.facility-card {
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .35s;
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card);
  border-color: rgba(var(--accent-rgb), .25);
}
.facility-card__img {
  height: 170px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  border-bottom: 1.5px solid var(--glass-border);
}
.facility-card__body { padding: 1.5rem; }
.facility-card__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: .04em;
}
.facility-card__desc { font-size: .9rem; color: var(--text-2); margin-top: .5rem; line-height: 1.65; }
.facility-card__img i { color: var(--accent); }
.facility-card__map {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: .6rem;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--accent);
  transition: gap .2s;
}
.facility-card__map:hover { gap: .8rem; text-decoration: underline; }

/* ─────────────────────────────────────────
   ESCUELA / PASOS
───────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: paso;
}
.step-card {
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.step-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .3); box-shadow: var(--sh-card); }
.step-card::after {
  counter-increment: paso;
  content: "0" counter(paso);
  position: absolute;
  right: .8rem; top: .2rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.4rem;
  line-height: 1;
  color: rgba(var(--accent-rgb), .07);
  pointer-events: none;
}
.step-card__num {
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), .3);
}
.step-card__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .04em;
  margin-bottom: .35rem;
}
.step-card__desc { color: var(--text-2); font-size: .9rem; line-height: 1.65; }

/* ─────────────────────────────────────────
   CTA BAND (inscríbete)
───────────────────────────────────────── */
.cta-band {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent));
  border-radius: var(--r-lg);
  padding: 3.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-accent);
}
.cta-band::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 40px solid rgba(255,255,255,.08);
}
.cta-band__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: .03em;
  color: #fff;
  line-height: 1;
}
.cta-band__sub { color: rgba(255,255,255,.75); margin-top: .6rem; max-width: 480px; }
.cta-band .btn-gold { position: relative; z-index: 2; }

/* ─────────────────────────────────────────
   PATROCINADORES
───────────────────────────────────────── */
.sponsors-strip {
  background: var(--bg-1);
  border-top: 1.5px solid var(--glass-border);
  border-bottom: 1.5px solid var(--glass-border);
}
.sponsors__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  opacity: 0.65;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  min-width: 150px;
  min-height: 68px;
}
.sponsor-logo:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--sh-card); }
.sponsor-logo__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--text-2);
}

/* ─────────────────────────────────────────
   CONTACTO
───────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
  transition: border-color .25s, transform .25s;
}
.contact-info__item:hover { border-color: rgba(var(--accent-rgb), .3); transform: translateX(4px); }
.contact-info__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .2);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-info__item b { display: block; font-size: .92rem; }
.contact-info__item p { font-size: .85rem; color: var(--text-2); }

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--sh-card);
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: .95rem 1.15rem;
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  font: inherit;
  font-size: .92rem;
  background: var(--bg-0);
  color: var(--text-1);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-3); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .14);
}

/* ── Formulario de inscripción ── */
.form-team-banner {
  display: flex; align-items: center; gap: .6rem;
  background: rgba(var(--accent-rgb), .08);
  border: 1.5px solid rgba(var(--accent-rgb), .28);
  color: var(--accent); border-radius: var(--r-md);
  padding: .9rem 1.15rem; font-weight: 700; font-size: .95rem;
}
.form-legend {
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; font-size: .76rem;
  color: var(--accent); margin-top: .5rem; padding-bottom: .5rem;
  border-bottom: 1.5px solid var(--glass-border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .85rem; color: var(--text-2); line-height: 1.5;
}
.form-check input { width: auto; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────
   PAGE HERO (páginas de equipo)
───────────────────────────────────────── */
.page-hero {
  padding: calc(var(--header-h) + 70px) 0 70px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 30%, rgba(var(--accent-rgb), .08), transparent 70%),
    var(--bg-1);
  border-bottom: 1.5px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}
.page-hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb),0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb),0.05) 1px, transparent 1px);
  background-size: 70px 70px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 40%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 90% at 60% 40%, #000 30%, transparent 80%);
}
.page-hero__inner {
  display: flex;
  align-items: center;
  gap: 2.8rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.page-hero__crest-wrap {
  position: relative;
  width: 190px; height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-hero__crest-wrap .crest-ring--outer { width: 210px; height: 210px; }
.page-hero__crest-wrap .crest-ring--inner { width: 155px; height: 155px; }
.page-hero__crest {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 12px 32px rgba(var(--accent-rgb), .3));
  animation: crestFloat 5s ease-in-out infinite;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: .8rem;
}
.page-hero__breadcrumb a:hover { color: var(--accent); }
.page-hero__breadcrumb span { color: var(--accent); }
.page-hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.2rem);
  letter-spacing: 0.03em;
  line-height: .95;
}
.page-hero__desc { color: var(--text-2); max-width: 560px; margin-top: 1rem; line-height: 1.75; }
.page-hero__tags { display: flex; gap: .6rem; margin-top: 1.1rem; flex-wrap: wrap; }

/* ─────────────────────────────────────────
   PLANTILLA (fichas de jugador)
───────────────────────────────────────── */
.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1.25rem;
}
.player-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 2px solid rgba(var(--accent-rgb), .35);
  cursor: pointer;
  transition: transform .4s var(--ease-spring), box-shadow .35s, border-color .35s;
}
.player-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent);
  box-shadow:
    0 0 0 2px rgba(var(--accent-rgb), .5),
    0 0 20px rgba(var(--accent-rgb), .55),
    0 0 45px rgba(var(--accent-rgb), .28);
  z-index: 2;
}
.player-card__photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s var(--ease-smooth);
}
.player-card:hover .player-card__photo { transform: scale(1.06); }
.player-card__initials {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.6rem;
  color: rgba(var(--accent-rgb), .22);
}
.player-card__num {
  position: absolute;
  top: 8px; right: 14px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(var(--accent-rgb), .12);
  pointer-events: none;
  z-index: 1;
}
.player-card__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(
    to top,
    rgba(var(--accent-rgb), .96) 0%,
    rgba(var(--accent-rgb), .82) 45%,
    rgba(var(--accent-rgb), .35) 75%,
    transparent 100%
  );
  padding: 2.6rem 1.15rem 1.15rem;
  z-index: 2;
}
.player-card__pos {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .63rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.player-card__pos::before {
  content: '';
  display: block;
  width: 14px; height: 1.5px;
  background: var(--gold);
}
.player-card__name {
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.2;
  color: #fff;
}
.player-card__dorsal-lbl {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
}

/* ─────────────────────────────────────────
   CUERPO TÉCNICO
───────────────────────────────────────── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.25rem;
}
.staff-card {
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.9rem 1.4rem;
  text-align: center;
  transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.staff-card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .3); box-shadow: var(--sh-card); }
.staff-card__avatar {
  width: 78px; height: 78px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: linear-gradient(150deg, var(--accent), var(--accent-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), .3);
}
.staff-card__name { font-weight: 700; font-size: .98rem; }
.staff-card__role {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .3rem;
}

/* ─────────────────────────────────────────
   CALENDARIO (fixture rows)
───────────────────────────────────────── */
.fixtures-list { display: flex; flex-direction: column; gap: .75rem; }
.fixture-row {
  display: grid;
  grid-template-columns: 110px 1fr auto 1fr 120px;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-md);
  transition: border-color 0.2s, transform 0.2s, box-shadow .25s;
}
.fixture-row:hover {
  border-color: rgba(var(--accent-rgb), .3);
  transform: translateX(5px);
  box-shadow: var(--sh-card);
}
.fixture-row__date {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.35;
}
.fixture-row__date .day { display: block; font-size: 1.15rem; color: var(--text-1); }
.fixture-row__team {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: .95rem;
}
.fixture-row__team--away { justify-content: flex-end; text-align: right; }
.fixture-row__crest {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1.5px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: .85rem;
}
.fixture-row__crest img { width: 28px; height: 34px; object-fit: contain; }
.fixture-row__center { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.fixture-row__score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.1em;
}
.fixture-row__score--win  { color: var(--green); }
.fixture-row__score--draw { color: var(--gold-dark); }
.fixture-row__score--loss { color: var(--red); }
.fixture-row__time {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
}
.fixture-row__comp {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.fixture-row__result-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-left: auto;
}
.fixture-row__result-badge--w { background: rgba(0,165,80,.14); color: var(--green); }
.fixture-row__result-badge--d { background: rgba(201,168,76,.18); color: var(--gold-dark); }
.fixture-row__result-badge--l { background: rgba(204,17,34,.12); color: var(--red); }
.fixture-row__next {
  margin-left: auto;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .08);
  border: 1px solid rgba(var(--accent-rgb), .25);
  padding: 5px 12px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fixture-row__next .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.8s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   GALERÍA
───────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-4));
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--text-3);
  transition: transform .35s var(--ease-smooth), border-color .3s;
}
.gallery-item:hover { transform: scale(1.025); border-color: rgba(var(--accent-rgb), .35); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(var(--accent-rgb), 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s;
}
.gallery-item:hover .gallery-item__overlay { background: rgba(var(--accent-rgb), .22); }
.gallery-item__icon {
  opacity: 0;
  font-size: 1.4rem;
  color: #fff;
  transform: scale(.5);
  transition: opacity .3s, transform .3s;
}
.gallery-item:hover .gallery-item__icon { opacity: 1; transform: scale(1); }

/* ── Fotos reales (jugadores, staff, galería) ── */
.player-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.player-card:hover .player-card__img { transform: scale(1.05); }
.staff-card__avatar { overflow: hidden; }
.staff-card__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-smooth); }
.gallery-item:hover .gallery-item__img { transform: scale(1.06); }

/* ════════════════════════════════════════
   PÁGINAS LEGALES + BANNER DE COOKIES
   ════════════════════════════════════════ */
.legal-hero {
  padding: calc(var(--header-h) + 46px) 0 40px;
  background: radial-gradient(ellipse 60% 90% at 85% 20%, rgba(var(--accent-rgb),.07), transparent 70%), var(--bg-1);
  border-bottom: 1.5px solid var(--glass-border);
}
.legal-hero__breadcrumb { font-family:'Rajdhani',sans-serif; font-weight:600; font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; color:var(--text-3); margin-bottom:.7rem; }
.legal-hero__breadcrumb a:hover { color: var(--accent); }
.legal-hero h1 { font-family:'Bebas Neue',sans-serif; font-size:clamp(2.2rem,5vw,3.6rem); letter-spacing:.03em; line-height:1; }
.legal-hero p { color: var(--text-2); margin-top:.6rem; }
.legal { padding: 3rem 0 4.5rem; }
.legal__wrap { max-width: 840px; margin: 0 auto; }
.legal h2 { font-family:'Bebas Neue',sans-serif; font-size:1.7rem; letter-spacing:.03em; color:var(--accent); margin:2.2rem 0 .8rem; }
.legal h3 { font-size:1.05rem; margin:1.3rem 0 .4rem; color:var(--text-1); }
.legal p, .legal li { color: var(--text-2); line-height:1.8; margin-bottom:.8rem; }
.legal ul, .legal ol { padding-left:1.4rem; margin-bottom:1rem; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal strong { color: var(--text-1); }
.legal .fill { background:#fff3cd; border:1px solid #ffe08a; color:#7a5b00; padding:.02rem .4rem; border-radius:5px; font-weight:700; }
.legal__note { background: var(--bg-2); border:1.5px solid var(--glass-border); border-left:4px solid var(--accent); border-radius: var(--r-md); padding:1.1rem 1.4rem; margin:1.6rem 0; }
.legal__note p:last-child { margin-bottom:0; }
.legal__updated { color: var(--text-3); font-size:.85rem; margin-top:1.5rem; }
.legal-simple-top { position: sticky; top:0; z-index:50; background: rgba(250,250,250,.9); backdrop-filter: blur(12px); border-bottom:1.5px solid var(--glass-border); }
.legal-simple-top .container { display:flex; align-items:center; justify-content:space-between; height: var(--header-h); }

/* Formulario imprimible (autorización de imagen) */
.print-field { border-bottom:1.5px solid var(--text-3); min-height:1.6rem; display:inline-block; min-width:180px; }
.sign-row { display:flex; gap:2rem; flex-wrap:wrap; margin-top:2.5rem; }
.sign-box { flex:1 1 240px; }
.sign-box .line { border-top:1.5px solid var(--text-2); margin-top:3rem; padding-top:.4rem; color:var(--text-3); font-size:.85rem; }
.print-btn-wrap { margin:1.5rem 0; }
@media print {
  .legal-simple-top, .footer, .cookie-banner, .print-btn-wrap, .no-print { display:none !important; }
  body { background:#fff; }
  .legal-hero { padding-top: 1rem; }
}

/* Banner de cookies */
.cookie-banner {
  position: fixed; left:1rem; right:1rem; bottom:1rem; z-index:3000;
  background: var(--text-1); color:#fff; border-radius: var(--r-md);
  padding:1.1rem 1.3rem; box-shadow: 0 14px 44px rgba(0,0,0,.35);
  max-width: 920px; margin:0 auto;
  display:flex; gap:1rem 1.5rem; align-items:center; justify-content:space-between; flex-wrap:wrap;
  animation: cookieUp .5s var(--ease-smooth);
}
@keyframes cookieUp { from { opacity:0; transform: translateY(20px); } to { opacity:1; transform:none; } }
.cookie-banner p { font-size:.9rem; margin:0; flex:1 1 340px; line-height:1.6; color: rgba(255,255,255,.85); }
.cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-banner__btns { display:flex; gap:.6rem; }
.cookie-banner button {
  border:none; border-radius:999px; padding:.65rem 1.4rem; cursor:pointer;
  font-family:'Rajdhani',sans-serif; font-weight:700; letter-spacing:.05em; text-transform:uppercase; font-size:.82rem;
}
.cookie-banner .c-accept { background: var(--accent); color:#fff; }
.cookie-banner .c-reject { background: rgba(255,255,255,.14); color:#fff; }
.cookie-banner .c-reject:hover { background: rgba(255,255,255,.22); }

/* Enlaces legales del footer */
.footer__legal { display:flex; gap:1.1rem; flex-wrap:wrap; }
.footer__legal a { color: rgba(255,255,255,.6); }
.footer__legal a:hover { color:#fff; }

/* ─────────────────────────────────────────
   FOOTER (oscuro)
───────────────────────────────────────── */
.footer {
  background: #170A0A;
  padding: 70px 0 0;
  color: rgba(255,255,255,.6);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green), var(--yellow));
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand { max-width: 320px; }
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }
.footer__logo-img { width: 54px; height: 54px; border-radius: 50%; background: #fff; object-fit: cover; }
.footer__logo .club-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.25rem; letter-spacing: .06em; color: #fff; }
.footer__logo .club-sub {
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); display: block;
}
.footer__desc { font-size: 0.88rem; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: 8px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: 0.9rem;
  transition: all 0.25s;
}
.footer__social a:hover { color: #fff; background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer__col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__col ul li a::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  flex-shrink: 0;
}
.footer__col ul li a:hover { color: #fff; }
.footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,.4);
}

/* ─────────────────────────────────────────
   ANIMACIONES REVEAL
───────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-smooth), transform .7s var(--ease-smooth); }
.reveal.show { opacity: 1; transform: none; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
/* Menú compacto para que quepan todos los enlaces */
.nav__links { gap: .1rem; }
.nav__link { padding: .5rem .72rem; font-size: .82rem; letter-spacing: .04em; }

/* Con muchos enlaces (páginas de equipo) el menú se colapsa antes al botón */
@media (max-width: 1200px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; margin-left: auto; }
  .nav__actions .btn { display: none; }
}
@media (max-width: 900px) {
  .hero-cantera__container { grid-template-columns: 1fr; padding-top: 2rem; }
  .hero-cantera__right { min-height: 340px; order: -1; }
  .crest-img { width: 165px; }
  .crest-ring--outer { width: 280px; height: 280px; }
  .crest-ring--inner { width: 205px; height: 205px; }
  .float-card--bl { left: 0; bottom: 0; }
  .float-card--tr { right: 0; top: 0; }
  .teams-showcase__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .about-split { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .stats-band__grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .news-list-item { flex-direction: column; }
  .news-list-item__img { width: 100%; min-height: 190px; }
  .fixture-row { grid-template-columns: 1fr; text-align: center; gap: .6rem; padding: 1.2rem; }
  .fixture-row__team, .fixture-row__team--away { justify-content: center; text-align: center; }
  .fixture-row__result-badge, .fixture-row__next { margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
}
@media (max-width: 560px) {
  .facilities-grid, .steps-grid, .mini-stats, .footer__top, .stats-band__grid { grid-template-columns: 1fr; }
  .stat-item, .stat-item:nth-child(odd) { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-item:last-child { border-bottom: none; }
  .section-pad { padding: 64px 0; }
  .cta-band { padding: 2.5rem 1.8rem; }
  .hero-cantera__title { font-size: 3.4rem; }
  .hero-cantera__stats { gap: 1.25rem; }
  .hero-cantera__stat-sep { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-item:nth-child(1) { grid-column: span 1; }
}

/* ════════════════════════════════════════
   HERO CINEMÁTICO (landing)
   Escudos vuelan desde los lados → el título
   se une → aparece el menú → flecha con pulso
   ════════════════════════════════════════ */

/* Header oculto hasta que termina la intro */
.header--intro {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .65s var(--ease-smooth), opacity .55s ease,
              background 0.4s ease, box-shadow 0.4s ease;
}
.header--intro.header--show { transform: translateY(0); opacity: 1; }

.hero-cinema {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 100svh;
}
.hero-cinema__stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 5.5rem;
}

/* ── Escudos voladores y clicables ── */
.hero-crests {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(1.2rem, 6vw, 5rem);
  margin-bottom: clamp(1.6rem, 3.5vh, 2.8rem);
}
.hero-crest {
  --tc: 204, 17, 34;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  opacity: 0;
  cursor: pointer;
}
.hero-crest--left  { animation: crestFromLeft 1.15s cubic-bezier(.2, 1, .35, 1) .35s forwards; }
.hero-crest--top   { animation: crestFromTop  1.15s cubic-bezier(.2, 1, .35, 1) .55s forwards; }
.hero-crest--right { animation: crestFromRight 1.15s cubic-bezier(.2, 1, .35, 1) .35s forwards; }
@keyframes crestFromLeft {
  0%   { opacity: 0; transform: translate(-70vw, -18vh) rotate(-28deg) scale(.55); }
  62%  { opacity: 1; transform: translate(14px, 0) rotate(4deg) scale(1.05); }
  82%  { transform: translate(-5px, 0) rotate(-1.5deg) scale(.99); }
  100% { opacity: 1; transform: none; }
}
@keyframes crestFromTop {
  0%   { opacity: 0; transform: translateY(-75vh) rotate(8deg) scale(.55); }
  62%  { opacity: 1; transform: translateY(12px) rotate(-2deg) scale(1.06); }
  82%  { transform: translateY(-5px) rotate(1deg) scale(.99); }
  100% { opacity: 1; transform: none; }
}
@keyframes crestFromRight {
  0%   { opacity: 0; transform: translate(70vw, -18vh) rotate(28deg) scale(.55); }
  62%  { opacity: 1; transform: translate(-14px, 0) rotate(-4deg) scale(1.05); }
  82%  { transform: translate(5px, 0) rotate(1.5deg) scale(.99); }
  100% { opacity: 1; transform: none; }
}

.hero-crest__ring-wrap {
  position: relative;
  width: clamp(112px, 13vw, 172px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
/* Aro punteado que gira: "esto se pulsa" */
.hero-crest__dial {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--tc), .4);
  animation: dialSpin 22s linear infinite;
  transition: border-color .3s, inset .3s;
}
@keyframes dialSpin { to { transform: rotate(360deg); } }
/* Ondas de pulso tipo radar */
.hero-crest__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--tc), .45);
  animation: ringPulse 2.6s ease-out infinite;
  animation-delay: 1.6s;
  opacity: 0;
  pointer-events: none;
}
.hero-crest__pulse--2 { animation-delay: 2.9s; }
@keyframes ringPulse {
  0%   { opacity: 0; transform: scale(.82); }
  18%  { opacity: .85; }
  100% { opacity: 0; transform: scale(1.45); }
}
.hero-crest__img-wrap {
  display: block;
  width: 72%;
  transition: transform .35s var(--ease-spring), filter .3s;
}
.hero-crest__img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  filter: drop-shadow(0 14px 28px rgba(var(--tc), .3));
  animation: crestFloat 5s ease-in-out infinite;
  animation-delay: 1.7s;
}
.hero-crest__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: .08em;
  line-height: 1.05;
  color: var(--text-1);
  transition: color .25s;
  max-width: 9.5rem;
  text-align: center;
  text-wrap: balance;
}
.hero-crest__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgb(var(--tc));
  border: 1.5px solid rgba(var(--tc), .35);
  padding: 5px 14px;
  border-radius: var(--r-full);
  transition: all .3s var(--ease-smooth);
}
/* Hover: todo se enciende */
.hero-crest:hover .hero-crest__img-wrap { transform: scale(1.12); }
.hero-crest:hover .hero-crest__dial {
  border-color: rgba(var(--tc), .85);
  border-style: solid;
  inset: -11px;
  animation-duration: 7s;
}
.hero-crest:hover .hero-crest__name { color: rgb(var(--tc)); }
.hero-crest:hover .hero-crest__cta {
  background: rgb(var(--tc));
  color: #fff;
  box-shadow: 0 8px 22px rgba(var(--tc), .4);
}

/* ── Título que se une ── */
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  line-height: .96;
  letter-spacing: .02em;
}
.hero-title span { display: block; opacity: 0; }
.hero-title__l1 { animation: lineFromLeft  .75s var(--ease-smooth) 1.5s forwards; }
.hero-title__l2 { color: var(--accent); animation: lineZoom .8s var(--ease-smooth) 1.72s forwards; }
.hero-title__l3 { animation: lineFromRight .75s var(--ease-smooth) 1.94s forwards; }
@keyframes lineFromLeft {
  from { opacity: 0; transform: translateX(-70px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes lineFromRight {
  from { opacity: 0; transform: translateX(70px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes lineZoom {
  from { opacity: 0; transform: scale(1.55); filter: blur(8px); }
  to   { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Meta + descripción */
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-meta__sep { color: var(--text-3); }
.hero-desc {
  margin-top: 1rem;
  max-width: 520px;
  color: var(--text-2);
  line-height: 1.75;
}
.hero-fade { opacity: 0; }
.hero-fade--1 { animation: heroFadeUp .7s var(--ease-smooth) 2.25s forwards; }
.hero-fade--2 { animation: heroFadeUp .7s var(--ease-smooth) 2.4s forwards; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ── Flecha con pulso ── */
.hero-scroll-btn {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
  opacity: 0;
  animation: heroScrollIn .7s var(--ease-smooth) 2.7s forwards;
}
@keyframes heroScrollIn {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to   { opacity: 1; transform: translateX(-50%); }
}
.hero-scroll-btn__circle {
  position: relative;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--accent-rgb), .45);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: .9rem;
  transition: background .25s, color .25s, border-color .25s;
}
.hero-scroll-btn__circle i { animation: chevronBob 1.7s ease-in-out infinite; }
@keyframes chevronBob {
  0%, 100% { transform: translateY(-2px); opacity: .75; }
  50%      { transform: translateY(4px); opacity: 1; }
}
.hero-scroll-btn__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--accent-rgb), .5);
  animation: ringPulse 2.2s ease-out infinite;
  animation-delay: 3s;
  opacity: 0;
  pointer-events: none;
}
.hero-scroll-btn:hover .hero-scroll-btn__circle {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hero-scroll-btn__text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Responsive intro */
@media (max-width: 640px) {
  .hero-crests { gap: 1rem; align-items: flex-end; }
  .hero-crest__ring-wrap { width: clamp(86px, 24vw, 112px); }
  .hero-crest__cta { display: none; }
  .hero-title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero-cinema__stage { padding-bottom: 6.5rem; }
}

/* ════════════════════════════════════════
   CATEGORÍAS POR EQUIPO
   (Benjamín · Alevín · Infantil · Cadete · Juvenil)
   ════════════════════════════════════════ */

/* Tarjetas de categoría */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  margin-top: 2.2rem;
}
.cat-card {
  position: relative;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.7rem 1.1rem 1.5rem;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform .3s var(--ease-spring), border-color .3s, box-shadow .3s;
}
.cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s var(--ease-smooth);
}
.cat-card:hover, .cat-card.active {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), .4);
  box-shadow: var(--sh-card);
}
.cat-card.active::before, .cat-card:hover::before { transform: scaleX(1); }
.cat-card.active { border-color: var(--accent); }
.cat-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto .9rem;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .08);
  border: 1.5px solid rgba(var(--accent-rgb), .22);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  transition: background .25s, color .25s, transform .25s;
}
.cat-card:hover .cat-card__icon, .cat-card.active .cat-card__icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.cat-card__name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.45rem;
  letter-spacing: .05em;
  line-height: 1;
}
.cat-card__ages {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: .35rem;
}
.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: .8rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s, transform .25s;
}
.cat-card:hover .cat-card__link, .cat-card.active .cat-card__link { opacity: 1; transform: none; }

/* Fila de equipos de una categoría (Benjamín A / B / C) */
.teams-row { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.4rem; }
.teams-row:empty { display: none; }
.teams-row::before {
  content: "Equipos:"; align-self: center;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-right: .2rem;
}

/* Pestañas de filtro de categoría */
.filter-tabs {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-tab {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--glass-border);
  background: var(--bg-2);
  color: var(--text-2);
  transition: all .25s var(--ease-smooth);
}
.filter-tab small {
  font-size: .68rem;
  font-weight: 600;
  color: var(--text-3);
  margin-left: 5px;
  letter-spacing: .04em;
  text-transform: none;
}
.filter-tab:hover { border-color: rgba(var(--accent-rgb), .45); color: var(--accent); transform: translateY(-2px); }
.filter-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), .35);
}
.filter-tab.active small { color: rgba(255,255,255,.75); }

/* Chip de categoría activa en cabeceras de sección */
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), .08);
  border: 1.5px solid rgba(var(--accent-rgb), .25);
  padding: 6px 15px;
  border-radius: var(--r-full);
}
.cat-chip .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

/* Transición suave al cambiar de categoría */
.cat-swap { animation: catSwap .4s var(--ease-smooth); }
@keyframes catSwap {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 1024px) { .cats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .cats-grid { grid-template-columns: repeat(2, 1fr); } .filter-tab small { display: none; } }
@media (max-width: 400px)  { .cats-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════
   COMPETICIÓN: Calendario · Clasificación · Resultados
   ════════════════════════════════════════ */

/* Selector de vista (segmented control) */
.view-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-full);
  padding: 5px;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.view-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--r-full);
  color: var(--text-2);
  transition: all .25s var(--ease-smooth);
}
.view-tab:hover { color: var(--accent); }
.view-tab.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), .35);
}

/* Tabla de clasificación */
.standings-wrap {
  overflow-x: auto;
  background: var(--bg-2);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
}
table.standings {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
table.standings th {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  padding: .95rem .7rem;
  border-bottom: 1.5px solid var(--glass-border);
  background: var(--bg-1);
}
table.standings th:nth-child(2) { text-align: left; }
table.standings td {
  padding: .8rem .7rem;
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
  font-size: .92rem;
  color: var(--text-2);
}
table.standings tbody tr { transition: background .2s; }
table.standings tbody tr:hover { background: rgba(var(--accent-rgb), .03); }
table.standings tbody tr:last-child td { border-bottom: 0; }

.standings__pos {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--text-1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.standings__zone {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.standings__zone--up   { background: var(--green); box-shadow: 0 0 6px rgba(0,165,80,.5); }
.standings__zone--down { background: var(--red);   box-shadow: 0 0 6px rgba(204,17,34,.5); }
.standings__zone--none { background: transparent; }

.standings__team {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-weight: 600;
  color: var(--text-1);
}
.standings__crest {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  font-size: .72rem;
}
.standings__crest img { width: 22px; height: 26px; object-fit: contain; }
.standings__pts {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--text-1);
}

/* Fila de nuestro equipo */
table.standings tr.standings--me {
  background: rgba(var(--accent-rgb), .07);
  box-shadow: inset 3px 0 0 var(--accent);
}
table.standings tr.standings--me:hover { background: rgba(var(--accent-rgb), .1); }
table.standings tr.standings--me td { font-weight: 700; color: var(--text-1); }
table.standings tr.standings--me .standings__pts { color: var(--accent); font-size: 1.35rem; }

/* Leyenda */
.standings-legend {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.standings-legend span { display: inline-flex; align-items: center; gap: 7px; }

/* Chip Casa/Fuera en calendario */
.fixture-row__venue {
  margin-left: auto;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1.5px solid var(--glass-border);
  padding: 5px 12px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  table.standings .col-gf, table.standings .col-gc { display: none; }
  .view-tab { padding: 9px 14px; font-size: .74rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-crest, .hero-title span, .hero-fade, .hero-scroll-btn { opacity: 1 !important; transform: none !important; filter: none !important; }
  .header--intro { transform: none; opacity: 1; }
}
