* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f4f4;
}

/* BARRA */

.navbar {
  display: flex;
  align-items: center;
  background-color: #333;
  padding: 1rem 2rem;
}

/* LOGO */

.logo img {
  width: 60px;
}

/* LINKS */

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin-left: 30px;
}

.nav-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
}

/* SUBRAYADO */

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background-color: #9b9b9b;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #9b9b9b;
}

.nav-links a:hover::after {
  width: 100%;
}

/* SECCION ACTIVA */
.nav-links a.active {
  color: #9b9b9b;
}

.nav-links a.active::after {
  width: 100%;
}

/* MANTENER ACTIVA AL ABRIR DROPDOWN */
.dropdown:hover > a {
  color: #9b9b9b;
}

.dropdown:hover > a::after {
  width: 100%;
}

/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown:hover > a {
  color: #9b9b9b;
}

.dropdown:hover > a::after {
  width: 100%;
}

/* MENU */

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  background: rgba(38, 38, 38, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 100;
}

/* PUENTE INVISIBLE QUE EVITA QUE SE CIERRE AL MOVER EL CURSOR */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 28px;
  background: transparent;
  pointer-events: auto;
}

/* CONTENIDO */

.dropdown-content {
  display: flex;
  gap: 40px;
  padding: 10px 28px;
}

/* COLUMNAS */

.col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.col h4 {
  font-size: 12px;
  color: #9b9b9b;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.col a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s, background-color 0.2s;
}

/* SUBRAYADO DROPDOWN */

.col a::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #028A0F;
  transition: 0.3s;
}

.col a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.col a:hover::after {
  width: calc(100% - 12px);
}

/* MOSTRAR */

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown:hover .col h4,
.dropdown:focus-within .col h4 {
  opacity: 1;
  transform: translateY(0);
}

.dropdown:hover .col a,
.dropdown:focus-within .col a {
  opacity: 1;
  transform: translateX(0);
}

.dropdown:hover .col a:nth-child(1),
.dropdown:focus-within .col a:nth-child(1) { transition-delay: 0.04s; }
.dropdown:hover .col a:nth-child(2),
.dropdown:focus-within .col a:nth-child(2) { transition-delay: 0.09s; }
.dropdown:hover .col a:nth-child(3),
.dropdown:focus-within .col a:nth-child(3) { transition-delay: 0.14s; }
.dropdown:hover .col a:nth-child(4),
.dropdown:focus-within .col a:nth-child(4) { transition-delay: 0.19s; }

/*CHICAGO*/

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO FONDO */
.background-video {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  z-index: -2;
}

/* CAPA OSCURA */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);

  z-index: -1;
}

/* CONTENIDO */
.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #028A0F;
  animation: heroTeamEntrance 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroTeamEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* TITULO */
.hero-content h1 {
  font-size: 8rem;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

/* BOTON */
.hero-btn {
  margin-top: 30px;
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  border-bottom: 2px solid #028A0F;
  padding-bottom: 10px;
  transition: 0.3s;
}

/* BOTON VOLVER AL INICIO */
.back-btn {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(30, 30, 30, 0.85);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid #555;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #444444;
  border-color: #9b9b9b;
  color: #9b9b9b;
  transform: translateX(-3px);
}

/* =========================================
   SECCION PLANTEL PROFESIONAL & CARRUSEL (CHICAGO)
   ========================================= */

:root {
  --team-accent: #028A0F;
  --team-accent-glow: rgba(2, 138, 15, 0.4);
}

.squad-section {
  position: relative;
  background: #111111;
  padding: 90px 5% 100px;
  color: #ffffff;
  overflow: hidden;
}

.squad-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.squad-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d1d5db;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.squad-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--team-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--team-accent);
}

.squad-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.team-highlight {
  color: var(--team-accent);
  text-shadow: 0 0 25px var(--team-accent-glow);
}

.squad-subtitle {
  font-size: 1.05rem;
  color: #a3a3a3;
  line-height: 1.6;
}

/* BANNER DESTACADO */
.team-banner-card {
  max-width: 1100px;
  margin: 0 auto 50px;
  background: #1c1c1c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-banner-card:hover {
  transform: translateY(-4px);
  border-color: var(--team-accent);
}

.team-banner-img-wrap {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.team-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-banner-card:hover .team-banner-img {
  transform: scale(1.04);
}

.banner-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, #1c1c1c 100%);
}

.team-banner-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 14px;
}

.banner-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(2, 138, 15, 0.12);
  color: var(--team-accent);
  border: 1px solid var(--team-accent);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-banner-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.team-banner-info p {
  font-size: 0.95rem;
  color: #b0b0b0;
  line-height: 1.6;
}

/* CARRUSEL CONTENEDOR */
.squad-carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 40px;
}

.squad-carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 5px 30px;
}

.squad-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.squad-carousel-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

/* TARJETA JUGADOR */
.player-card {
  position: relative;
  width: 270px;
  background: rgba(22, 22, 22, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.player-card:hover {
  transform: translateY(-8px);
  border-color: var(--team-accent);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px var(--team-accent-glow);
  background: rgba(30, 30, 30, 0.98);
}

.player-number-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  padding: 3px 9px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  z-index: 3;
  transition: all 0.3s ease;
}

.player-card:hover .player-number-badge {
  color: var(--team-accent);
  border-color: var(--team-accent);
  box-shadow: 0 0 10px var(--team-accent-glow);
}

.player-photo-box {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: 14px;
  margin: 0 auto 16px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #141414;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.player-card:hover .player-photo-box {
  border-color: var(--team-accent);
}

.player-photo-crop {
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.45s ease;
}

.player-card:hover .player-photo-crop {
  transform: scale(1.05);
}

.player-pos-tag {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 18, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.8px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.player-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.player-role {
  font-size: 0.8rem;
  color: var(--team-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.player-bio {
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.45;
  margin-top: 4px;
}

/* BOTONES NAVEGACION CARRUSEL */
.squad-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.squad-nav-btn:hover {
  background: var(--team-accent);
  color: #ffffff;
  border-color: var(--team-accent);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px var(--team-accent-glow);
}

.prev-btn { left: -10px; }
.next-btn { right: -10px; }

/* FOOTER STYLES */
.site-footer {
  background-color: #0b0b0b;
  color: #ffffff;
  padding: 60px 5% 30px;
  border-top: 1px solid #222222;
  font-family: inherit;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 38px;
  height: auto;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-brand p {
  color: #888888;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #888888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--team-accent);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #555555;
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 4.5rem;
  }
  .team-banner-card {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .squad-carousel-wrapper {
    padding: 10px 10px;
  }
  .prev-btn { left: 0; }
  .next-btn { right: 0; }
}

.hero-btn:hover {
  opacity: 0.7;
}
