/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:         #DA291C;
  --red-dark:    #9D1E14;
  --red-deeper:  #6D150E;
  --red-light:   #E95C52;
  --black:       #0D0D0D;
  --black-soft:  #1A1A1A;
  --black-mid:   #262626;
  --white:       #FFFFFF;
  --off-white:   #F7F5F5;
  --gray-100:    #EDEBEB;
  --gray-300:    #C8C4C4;
  --gray-400:    #9B9898;
  --gray-700:    #3D3A3A;
  --text:        #111111;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 48px rgba(0,0,0,.22);
  --transition:  .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-tag--light { color: rgba(255,255,255,.6); }

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}
.section-title--white { color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218,41,28,.35);
}

.btn--outline {
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--black); }

.btn--outline-dark {
  border-color: var(--red);
  color: var(--red);
}
.btn--outline-dark:hover { background: var(--red); color: var(--white); }

.btn--nav {
  background: var(--red);
  color: var(--white);
  padding: 9px 20px;
  font-size: .82rem;
}
.btn--nav:hover { background: var(--red-light); }

.btn--full { width: 100%; }
.btn--sm { padding: 10px 20px; font-size: .82rem; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0 40px;
}
.nav.scrolled {
  background: rgba(218,41,28,.97);
  backdrop-filter: blur(14px);
}

/* Logo a la izquierda, links centrados en el espacio restante */
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 100px;
}

/* Logo fijo a la izquierda, más grande y sin sombra */
.nav__logo {
  flex-shrink: 0;
  line-height: 0;
}
.nav__logo img {
  height: 92px;
  width: auto;
  transition: transform var(--transition);
}
.nav__logo img:hover {
  transform: scale(1.06);
}

/* Links centrados en el espacio disponible junto al logo */
.nav__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 1;
}

.nav__links a:not(.btn) {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav__links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__social {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  transition: color var(--transition), transform var(--transition);
}
.nav__social:hover {
  color: var(--white);
  transform: scale(1.1);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 3;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__mobile {
  display: none;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px 24px;
}
.nav__mobile ul { display: flex; flex-direction: column; gap: 16px; }
.nav__mobile a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 1rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
}

/* Foto de fondo */
.hero__bg {
  position: absolute;
  inset: 0;
  background: url('IMAGENES/SITIO/hero.jpg') center center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero__bg { transform: scale(1); }

/* Capa de color: oscurece + tinte rojo sutil a la derecha */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(0,0,0,.88) 0%,
      rgba(10,0,0,.75) 45%,
      rgba(100,0,0,.35) 75%,
      rgba(0,0,0,.5) 100%
    );
}

/* Línea roja decorativa en el borde inferior del hero */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  z-index: 3;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px 100px;
  width: 100%;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.hero__tag::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
  text-shadow: 0 4px 32px rgba(0,0,0,.5);
  text-transform: uppercase;
}
.hero__title span {
  color: var(--red);
  display: block;
}

.hero__stripe {
  width: 4px;
  height: 60px;
  background: var(--red);
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  max-width: 560px;
  line-height: 1.4;
  margin-bottom: 44px;
}

.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  margin: 0 auto;
  animation: scrollAnim 1.8s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .3; transform: scaleY(.55); }
}

/* ===== FIXTURES ===== */
.fixtures {
  background: #DCDCDC;
  padding: 24px;
}

.fixtures__grid {
  display: flex;
  gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) transparent;
}
.fixtures__grid::-webkit-scrollbar { height: 8px; }
.fixtures__grid::-webkit-scrollbar-track { background: transparent; }
.fixtures__grid::-webkit-scrollbar-thumb { background: var(--red); border-radius: 999px; }

.fixtures__grid .fcard {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* ---- Base card ---- */
.fcard {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px 24px;
  gap: 12px;
  border-radius: 14px;
  min-height: 320px;
}

/* Marca de agua centrada */
.fcard__wm {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  pointer-events: none;
  z-index: 0;
}
.fcard__wm img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: .08;
}

/* Todo el contenido sobre la marca de agua */
.fcard > *:not(.fcard__wm) { position: relative; z-index: 1; }

/* ---- Card resultado (oscura) ---- */
.fcard--result {
  background: #1c1c1c;
  /* patrón de rombos igual a la referencia */
  background-image:
    repeating-linear-gradient( 45deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.04) 0, rgba(255,255,255,.04) 1px, transparent 1px, transparent 14px);
}
.fcard--result .fcard__wm img { opacity: .12; }

/* Etiqueta competición */
.fcard__comp {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  text-align: center;
  width: 100%;
}
.fcard__comp--dark { color: var(--gray-400); }

/* Nombres grandes en card resultado */
.fcard__result-names {
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--white);
}

/* Fila de escudos */
.fcard__matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  margin: 4px 0;
}

.fcard__logo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}
.fcard__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fcard__vs {
  font-size: .78rem;
  font-weight: 800;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* Scores */
.fcard__scores {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}
.fcard__score {
  font-weight: 900;
  font-size: 2rem;
  color: var(--white);
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 10px 20px;
  line-height: 1;
  flex: 1;
  text-align: center;
}
.fcard__score--win { background: var(--red); }

/* ---- Card próximo (clara) ---- */
.fcard--upcoming { background: var(--white); }

/* Badge "URBA Top 14" arriba (equivalente a CANAL+) */
.fcard__broadcast {
  display: inline-block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--black);
  border: 2px solid var(--black);
  padding: 3px 10px;
  border-radius: 3px;
  align-self: center;
}

/* Fecha grande */
.fcard__date-big {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

/* Fila escudos + hora en cards próximas */
.fcard__matchup--upcoming {
  justify-content: center;
  gap: 12px;
}
.fcard__time {
  font-weight: 800;
  font-size: .92rem;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1.5px solid var(--gray-300);
  border-radius: 6px;
  padding: 8px 14px;
  text-align: center;
  letter-spacing: .04em;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Nombres equipos en cards próximas */
.fcard__names {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--black);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: .01em;
  margin-top: auto;
  text-align: center;
  width: 100%;
}

.fcard__names-vs {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: .08em;
  margin: 2px 0;
}

/* ---- Botones ---- */
.fcard__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 8px;
  transition: var(--transition);
  width: 100%;
}
.fcard__btn--ghost {
  background: rgba(255,255,255,.12);
  color: var(--white);
}
.fcard__btn--ghost:hover { background: rgba(255,255,255,.2); }

.fcard__btn--gray {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}
.fcard__btn--gray:hover { background: var(--gray-300); color: var(--black); }

/* ===== STATS ===== */
.stats {
  background: var(--red);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.stats::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--black);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stat { position: relative; }
.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,.25);
}
.stat__prefix {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(255,255,255,.75);
  margin-bottom: 2px;
}
.stat__number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1;
}
.stat__label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.65);
}

/* ===== ABOUT ===== */
.about {
  padding: 112px 24px;
  background: var(--off-white);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__img-wrap {
  position: relative;
  height: 480px;
}
.about__img-block {
  position: absolute;
  border-radius: 2px;
}
.about__img-block--1 {
  width: 100%; height: 100%;
  top: 0; left: 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.about__img-block--1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .12em;
  padding: 10px 24px;
  border-radius: 2px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  z-index: 2;
  border-left: 4px solid var(--red);
}

.about__text p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__highlight {
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--red);
  margin-top: 8px;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.about__values li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.about__values li span { font-size: 1.1rem; }

/* ===== TEAMS ===== */
.info-section {
  padding: 112px 24px;
  position: relative;
  overflow: hidden;
  background: url('IMAGENES/GALERIA/2026-08-15/20260815_014.jpg') center 30% / cover no-repeat;
}
.info-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109,21,14,.94) 0%, rgba(218,41,28,.88) 45%, rgba(15,10,10,.94) 100%);
  pointer-events: none;
}
.info-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 60%, rgba(0,0,0,.15) 100%);
  pointer-events: none;
}
.info-section .container { position: relative; z-index: 1; }

.info-header {
  text-align: center;
  margin-bottom: 56px;
}
.info-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--white);
  margin-bottom: 12px;
}
.info-subtitle {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.85);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.info-card {
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 40px 28px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.5);
  background: rgba(0,0,0,.5);
}
.info-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
  line-height: 1.25;
}
.info-card__role {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red-light);
  margin-bottom: 18px;
}
.info-card__contact {
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.78);
  letter-spacing: .02em;
}
.info-card__contact--link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: color var(--transition);
}
.info-card__contact--link svg { color: #25D366; flex-shrink: 0; }
.info-card__contact--link:hover { color: var(--white); }

/* ===== MATCHES ===== */
.matches {
  padding: 112px 24px;
  background: var(--off-white);
}
.matches__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.match-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-radius: 2px;
  padding: 22px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  border-left: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
}
.match-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.match-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--black);
  color: var(--white);
  border-radius: 2px;
  padding: 12px 16px;
  min-width: 64px;
  text-align: center;
  flex-shrink: 0;
}
.match-date__day {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1;
}
.match-date__month {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--red);
  text-transform: uppercase;
}

.match-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.match-info__category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
}
.match-info__teams {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--black);
  text-transform: uppercase;
}
.match-info__vs {
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-400);
  padding: 2px 8px;
  background: var(--gray-100);
  border-radius: 2px;
  letter-spacing: .05em;
}
.match-info__place {
  font-size: .78rem;
  color: var(--gray-400);
}

.match-tag {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 6px 14px;
  border-radius: 2px;
  flex-shrink: 0;
}
.match-tag--local { background: #DA291C15; color: var(--red); border: 1px solid rgba(218,41,28,.2); }
.match-tag--visitante { background: #11111110; color: var(--gray-700); border: 1px solid rgba(0,0,0,.1); }

/* ===== GALLERY (estilo LPRC) ===== */
.gallery {
  padding: 112px 0;
  background: var(--black);
}

.gallery .container { max-width: 1280px; }

.gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}
.gallery .section-tag { color: var(--red-light); }
.gallery .section-title { color: var(--white); }
.gallery .text-accent { color: var(--red); }

.gallery__count {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.gallery__count svg { color: var(--red-light); flex-shrink: 0; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery__item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--black-mid);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.08); }

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 45%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery__item:hover::after { opacity: 1; }

.gallery__badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.gallery__expand {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0,0,0,.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}
.gallery__item:hover .gallery__expand { opacity: 1; }

.gallery__pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.gallery__pagination-info {
  color: rgba(255,255,255,.55);
  font-size: .82rem;
}
.gallery__pagination-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery__page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.gallery__page-btn:hover:not(:disabled) {
  border-color: var(--red);
  color: var(--white);
}
.gallery__page-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.gallery__page-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.gallery__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 20px;
  color: rgba(255,255,255,.5);
  font-size: .95rem;
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 12px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }

.lightbox__figure {
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox__counter {
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  letter-spacing: .05em;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background var(--transition);
}
.lightbox__nav:hover { background: var(--red); border-color: var(--red); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

@media (max-width: 900px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .sponsors__row--4 { grid-template-columns: repeat(2, 1fr); }
  .sponsors__row--5 { grid-template-columns: repeat(3, 1fr); }
  .sponsors__row--6 { grid-template-columns: repeat(3, 1fr); }
  .sponsor-logo { min-height: 88px; }
  .sponsor-logo img { max-height: 88px; }
  .sponsors__row--6 .sponsor-logo { min-height: 60px; }
  .sponsors__row--6 .sponsor-logo img { max-height: 60px; }
}
@media (max-width: 520px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__prev { left: 10px; }
  .lightbox__next { right: 10px; }
  .hero__title { font-size: clamp(2.2rem, 11vw, 3rem); }
}

/* ===== JOIN ===== */
.join {
  background: var(--black);
  padding: 112px 24px;
  position: relative;
  overflow: hidden;
}
.join::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}
.join::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 60px solid rgba(218,41,28,.06);
  pointer-events: none;
}

.join__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.join__text p {
  color: rgba(255,255,255,.65);
  line-height: 1.8;
  margin-bottom: 28px;
}
.join__perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.join__perks li {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 600;
}

.join__form {
  background: var(--white);
  border-radius: 4px;
  padding: 40px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 4px solid var(--red);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.form-group input,
.form-group select {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: 2px;
  font-size: .93rem;
  font-family: inherit;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  background: var(--white);
}
.form-group select { appearance: none; cursor: pointer; }

.form-note {
  text-align: center;
  font-size: .78rem;
  color: var(--gray-400);
  margin-top: -8px;
}

/* ===== CONTACT ===== */
.contact {
  padding: 112px 24px;
  position: relative;
  background:
    linear-gradient(160deg, rgba(255,255,255,.95) 0%, rgba(240,238,238,.93) 100%),
    url('IMAGENES/GALERIA/2026-08-22/20260822_117.jpg') center 25% / cover no-repeat;
}
.contact .section-tag { color: var(--red); }
.contact .section-title { color: var(--black); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact__addresses {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0 32px;
}
.contact__address-block strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 4px;
}
.contact__address-block p {
  color: var(--gray-700);
  font-size: .92rem;
  line-height: 1.6;
}

.contact__schedule {
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.12);
}
.contact__schedule strong {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 10px;
}
.contact__schedule ul { list-style: none; }
.contact__schedule li {
  font-size: .92rem;
  color: var(--gray-700);
  line-height: 1.8;
}
.contact__schedule li span {
  display: inline-block;
  min-width: 130px;
  font-weight: 700;
  color: var(--black);
}

.contact__quicklinks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.12);
}
.contact__quicklink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: color var(--transition);
}
.contact__quicklink svg { color: var(--red); flex-shrink: 0; }
.contact__quicklink:hover { color: var(--red); }

.contact__social { display: flex; gap: 10px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 2px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--red); transform: translateY(-3px); }

.contact__maps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__map-item {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--red);
}
.contact__map-label {
  display: block;
  background: var(--black-soft);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 18px;
}
.contact__map-frame {
  position: relative;
  width: 100%;
  height: 260px;
}
.contact__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== SPONSORS ===== */
.sponsors {
  background: var(--red);
  padding: 72px 24px;
}
.sponsors__row {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  gap: 48px 32px;
}
.sponsors__row--4 {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 48px;
}
.sponsors__row--5 {
  grid-template-columns: repeat(5, 1fr);
}
.sponsors__row--6 {
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 48px;
}
.sponsors__row--6:last-child { margin-bottom: 0; }
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  min-height: 70px;
}
.sponsors__row--6 .sponsor-logo { min-height: 44px; }
.sponsor-logo img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.sponsors__row--6 .sponsor-logo img { max-height: 44px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--white);
  padding: 28px 24px;
  border-top: 3px solid var(--red);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer__brand img { height: 36px; width: auto; }
.footer__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a {
  color: var(--gray-700);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--red); }

.footer__copy {
  color: var(--gray-400);
  font-size: .75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid,
  .join__inner,
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__img-wrap { height: 320px; order: -1; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .fixtures__grid .fcard { flex: 0 0 240px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.open { display: block; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .match-card { flex-wrap: wrap; }
  .match-tag { margin-left: auto; }
  .join__form { padding: 28px 20px; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== CLUB PAGE (subpágina club.html) ===== */
.nav--solid {
  background: rgba(218,41,28,.97);
  backdrop-filter: blur(14px);
}
body.page-sub { padding-top: 100px; }

.club-tabs {
  position: sticky;
  top: 100px;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 24px;
}
.club-tabs__row {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.club-tab {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-700);
  background: var(--off-white);
  border: 2px solid transparent;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.club-tab:hover { color: var(--black); border-color: var(--gray-300); }
.club-tab.is-active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.club-panel { display: none; }
.club-panel.is-active { display: block; }

/* Historia */
.historia {
  padding: 88px 24px;
  background: var(--white);
}
.historia__inner {
  max-width: 760px;
  margin: 0 auto;
}
.historia__inner p {
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 20px;
  font-size: 1rem;
}
.historia__inner p:first-of-type {
  font-size: 1.15rem;
  color: var(--black);
  font-weight: 600;
}

/* Comisión Directiva */
.committee {
  padding: 88px 24px;
  background: var(--off-white);
}
.committee__intro {
  text-align: center;
  margin-bottom: 56px;
}
.committee__current {
  display: inline-block;
  margin-top: 10px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: .02em;
}
.committee__current strong { color: var(--red); }

.committee__group {
  max-width: 1100px;
  margin: 0 auto 48px;
}
.committee__group:last-child { margin-bottom: 0; }
.committee__group-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red);
  margin-bottom: 20px;
  text-align: center;
}
.committee__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.member-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: 10px;
  padding: 20px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.member-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow-lg);
}
.member-card__name {
  font-weight: 800;
  font-size: .95rem;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: .01em;
  margin-bottom: 6px;
  line-height: 1.3;
}
.member-card__role {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--red);
}

/* Presidentes / Capitanes (listas) */
.roster {
  padding: 88px 24px;
  background: var(--off-white);
}
.roster__inner {
  max-width: 720px;
  margin: 0 auto;
}
.roster__list { list-style: none; }
.roster__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--gray-100);
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .01em;
}
.roster__list li:last-child { border-bottom: none; }
.roster__years {
  flex-shrink: 0;
  min-width: 100px;
  color: var(--red);
  font-weight: 800;
  font-size: .85rem;
}
.roster__index {
  flex-shrink: 0;
  min-width: 28px;
  color: var(--gray-400);
  font-weight: 800;
  font-size: .85rem;
}

/* Cuotas placeholder */
.cuotas-placeholder {
  padding: 120px 24px;
  background: var(--white);
  text-align: center;
}
.cuotas-placeholder p {
  color: var(--gray-700);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 16px auto 0;
}

@media (max-width: 768px) {
  .club-tabs { top: 100px; padding: 16px; }
  .club-tab { padding: 10px 16px; font-size: .74rem; }
  .roster__list li { flex-wrap: wrap; }
}

/* Cuotas (tablas) */
.cuotas {
  padding: 88px 24px;
  background: var(--white);
}
.cuotas .section-header { margin-bottom: 40px; }
.cuotas__table-wrap {
  max-width: 720px;
  margin: 0 auto 40px;
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.cuotas__table-wrap:last-child { margin-bottom: 0; }
.cuotas__table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.cuotas__table thead th {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .78rem;
  padding: 14px 18px;
  text-align: left;
}
.cuotas__table thead th:not(:first-child) { text-align: right; }
.cuotas__table tbody td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--black);
  font-weight: 600;
}
.cuotas__table tbody td:not(:first-child) { text-align: right; color: var(--gray-700); }
.cuotas__table tbody tr:last-child td { border-bottom: none; }
.cuotas__table tbody tr:nth-child(even) { background: var(--off-white); }

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
}
@media (max-width: 520px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
}

/* Accesible para lectores de pantalla / SEO, oculto visualmente */
.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;
}
