/*
Theme Name: vpsoccerofficial
Theme URI: https://vpsoccerofficial.com
Author: VPSoccer
Description: Tema a medida, pixel-perfect del HTML actual.
Version: 0.1.0
Text Domain: vpsoccerofficial
*/


/* Variables de color y fuente */
    :root {
      --header-height: 0px;
      --primary-bg: #000; /* Fondo negro */
      --secondary-bg: #000; /* Fondo negro para secciones */
      --accent-color: #f2f1f1; /* Rojo para títulos y header */
      --text-color: #fff; /* Texto blanco */
      --light-gray: #f5f5f5;
      --font-family: 'Poppins', sans-serif;
    }
    /* Reset básico */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
    }
    body {
      font-family: var(--font-family);
      color: var(--text-color);
      background: #000;
      line-height: 1.6;
      padding-top: var(--header-height);
      transition: padding-top 0.2s ease;
    }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }
    
    /* -------------------------------
   HEADER Y MENÚ (GENERAL)
------------------------------- */
  /* ========== Header Principal ========== */
  .header-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  /* ==== Glow y contraste para el logo ==== */
  .logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative; /* para el pseudo-elemento */
  }

  /* Halo difuso detrás del logo */
  .logo-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
      circle at center,
      rgba(255,255,255,0.15) 0%,
      rgba(255,255,255,0) 70%
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
  }

  .site-logo {
    margin-right: 20px;
    width: 160px;
    height: auto;
    /* Aumenta brillo y contraste, más glow blanco */
    filter:
      brightness(1.3)
      contrast(1.4)
      drop-shadow(0 0 8px rgba(255,255,255,0.7))
      drop-shadow(0 0 4px rgba(255,255,255,0.5));
    transition: filter 0.3s ease;
  }

  /* Al pasar el ratón, acentúa el glow */
  .logo-area:hover .site-logo {
    filter:
      brightness(1.5)
      contrast(1.6)
      drop-shadow(0 0 12px rgba(255,255,255,0.9))
      drop-shadow(0 0 6px rgba(255,255,255,0.7));
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }
  .site-title {
    font-size: 3.5rem;
    color: #fff;
  }
  .tagline {
    font-size: 2.3rem;
    color: #ccc;
    margin-top: 2px;
  }

  .main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;               /* ocupa todo el espacio libre */
    justify-content: center; /* alinea su contenido al centro */
  }

  .main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
  }
  .main-nav a {
    color: #fff;
    font-weight: 500;
    transition: color 0.2s;
  }
  .main-nav a:hover {
    color: var(--accent-color);
  }
  /* Selector de idioma */
  .lang-options {
    display: flex;
    gap: 8px;
    margin-left: 16px;
  }
  .lang-options a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s;
  }
  .lang-options a:hover {
    color: var(--accent-color);
  }

  /* Iconos sociales */
  .social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
  }

  .social-icon {
    width: 24px;
    height: auto;
    /* convierte todo lo negro en blanco */
    filter: brightness(0) invert(1);
    transition: filter 0.2s;
  }

  .social-icon:hover {
    /* brillo extra al pasar el ratón */
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255,255,255,0.7));
  }

  /* Toggle móvil */
  .menu-toggle {
    display: none; /* oculto en desktop */
    cursor: pointer;
    width: 80px !important;
    height: 24px;
    position: relative;
    margin-bottom: 77px;
  }
  .menu-toggle .line {
    background: #fff;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    transition: 0.4s;
  }
  .menu-toggle .top {
    top: 0;
  }
  .menu-toggle .middle {
    top: 50%;
    transform: translateY(-50%);
  }
  .menu-toggle .bottom {
    bottom: 0;
  }
  .menu-toggle.open .top {
    transform: translateY(10px) rotate(45deg);
  }
  .menu-toggle.open .middle {
    opacity: 0;
  }
  .menu-toggle.open .bottom {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* Responsive */
  @media (max-width: 768px) {
    .main-nav {
      display: none;
    }
    .menu-toggle {
      display: block;
    }
    .site-title {
    font-size: 2.5rem;
    color: #fff;
  }
  .tagline {
    font-size: 1.3rem;
    color: #ccc;
    margin-top: 2px;
  }
  .menu-toggle {
    margin-bottom: 0px !important;
   }
  }


/* MENÚ HAMBURGUESA */
.menu-toggle {
  display: none; /* Por defecto oculto en escritorio */
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
}
.menu-toggle .line {
  background: var(--accent-color);
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  transition: 0.4s;
}
.menu-toggle .top {
  top: 0;
}
.menu-toggle .middle {
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle .bottom {
  bottom: 0;
}
.menu-toggle.open .top {
  transform: translateY(11px) rotate(45deg);
}
.menu-toggle.open .middle {
  opacity: 0;
}
.menu-toggle.open .bottom {
  transform: translateY(-11px) rotate(-45deg);
}

/* SIDE NAV (mobile panel) */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: -100%; /* Se oculta fuera de pantalla */
  width: 280px;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(6px);
  transition: left 0.4s ease;
  z-index: 2000;
  padding: 20px;
  box-sizing: border-box;
}

/* Estado abierto */
.mobile-nav-panel.open {
  left: 0;
}

/* Header del panel (logo y mensaje) */
.mobile-nav-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 15px;
}
.mobile-nav-logo img {
  width: 120px !important;
  margin-bottom: 10px;
}
.mobile-nav-message {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 5px;
  line-height: 1.3;
}
.lang-options-mobile {
  font-size: 0.8rem;
  margin-top: 5px;
}
.lang-options-mobile a {
  color: #fff;
  margin: 0 3px;
}

/* Lista de enlaces */
.mobile-nav-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.mobile-nav-list li {
  margin-bottom: 10px;
}
.mobile-nav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}
.mobile-nav-list li a:hover {
  color: var(--accent-color);
}

/* Botón para abrir modal */
.btn-signup {
  display: block;
  width: 100%;
  background: var(--accent-color);
  color: #fff;
  border: none;
  text-align: center;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

/* Botón llamar */
.btn-call {
  display: block;
  text-align: center;
  background: #333;
  color: #fff;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

/* Iconos de redes */
.social-icons {
  display: flex;
  margin-top: 15px;
}
.social-icon {
  text-decoration: none;
  color: #fff;
  margin-right: 15px;
  font-size: 1.4rem; /* Hazlo grande para simular icono */
  font-weight: 700;
}
.tiktok::before {
  content: 'T'; /* Reemplaza con icono Tiktok real (FontAwesome, etc.) */
}
.whatsapp::before {
  content: 'W';
}
.instagram::before {
  content: 'I';
}

/* -------------------------------
   VERSION MÓVIL
------------------------------- */
@media (max-width: 768px) {
  /* Se oculta el menú horizontal y se muestra el hamburguesa */
  nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-message {
    display: block;
  }
}



    
    /* -------------------------------
       HERO
    ------------------------------- */
    .hero {
      background: url('https://assets.goal.com/images/v3/getty-2201476691/crop/MM5DKMBQGQ5DEOBRGU5G433XMU5DAORVGIYQ====/GettyImages-2201476691.jpg?auto=webp&format=pjpg&width=3840&quality=60') center/cover no-repeat;
      color: var(--text-color);
      height: 60vh;
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
    }
    .hero h1 {
      font-size: 3rem;
      margin-bottom: 20px;
      text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
      color: var(--accent-color);
    }
    .hero p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    }
    .btn {
      padding: 10px 20px;
      font-size: 1rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      transition: background 0.3s;
    }
    .btn-accent {
      background: var(--accent-color);
      color: var(--text-color);
    }
    .btn-accent:hover { background: darkred; }
    .btn-outline {
      background: transparent;
      border: 2px solid var(--accent-color);
      color: var(--accent-color);
    }
    .btn-outline:hover {
      background: var(--accent-color);
      color: var(--text-color);
    }
    
    /* -------------------------------
       SECCIONES GENERALES
    ------------------------------- */
    section {
      padding: 60px 20px;
      background: var(--secondary-bg);
    }
    .section-container {
      max-width: 1200px;
      margin: auto;
    }
    .section-title {
      font-size: 2rem;
      margin-bottom: 40px;
      text-align: center;
      color: var(--accent-color);
    }
    
    /* ABOUT */
    .about-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      align-items: center;
    }
    .about-text {
      font-size: 1.1rem;
      font-weight: 600;
      line-height: 1.5;
    }
    .about-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 10px;
      margin-top: 30px;
    }
    .about-gallery img { border-radius: 4px; }
    .advantages {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 20px;
      margin-top: 40px;
      text-align: center;
    }
    .advantages h5 { margin-bottom: 10px; font-weight: 600; }
    
    /* PROGRAMS */
    .programs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
    }
    .program-card {
      border: 1px solid #444;
      border-radius: 6px;
      padding: 20px;
      transition: transform 0.3s;
      background: #000;
    }
    .program-card:hover { transform: translateY(-5px); }
    .program-card h4 { margin-bottom: 10px; font-weight: 600; color: var(--accent-color); }
    .program-card p { font-size: 0.9rem; margin-bottom: 15px; }
    
/*************************************
   SECCIÓN OUR TEAM
**************************************/
.team-section {
  width: 100%;
  background: #000;
  color: #fff;
  padding: 40px 0;
  box-sizing: border-box;
  padding-top: 150px;  /* header (70px) + espacio extra (20px) */

}

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  /* 1) Que el wrapper muestre todo */
  #team .carousel-container {
    overflow: visible !important;
  }

  /* 2) Desactiva el flex/absoluto/transform en .team-slides */
  #team .team-slides {
    display: block !important;
    position: static !important;
    transform: none !important;
  }

  /* 3) Cada slide en bloque, uno tras otro */
  #team .team-slide {
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px;
  }

  /* 4) Asegura que la imagen rellene el ancho y sea visible */
  #team .team-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto;
  }
}

/*************************************
   CONTENEDOR DEL CARRUSEL
**************************************/
/* Aseguramos que el carrusel sea el contexto de posicionamiento */
.carousel-container {
  position: relative;
}

/* Flechas comunes */
.carousel-arrow {
  position: absolute;
  top: 50%;                    /* centro vertical */
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid #1abc9c;   /* verde */
  color: #1abc9c;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 2;                  /* por encima de las slides */
  transition: background 0.2s, color 0.2s;
}

/* Hover para las flechas */
.carousel-arrow:hover {
  background: #1abc9c;
  color: #000;
}

/* Flecha izquierda */
.carousel-arrow.arrow-left {
  left: 16px;                  /* dentro del contenedor */
}

/* Flecha derecha */
.carousel-arrow.arrow-right {
  right: 16px;                 /* dentro del contenedor */
}

/* ========== FLYERS SECTION ========== */
.flyers-section {
  padding: 60px 20px;
  background: var(--secondary-bg);
}
.flyers-section .section-title {
  margin-bottom: 40px;
  color: var(--accent-color);
  text-align: center;
}

/* GRID DE FLYERS: 3 EN FILA, ANCHOS IGUALES, ALTURA VARIABLE */
.flyers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Cada flyer ocupa todo el ancho de su columna */
.flyer {
  width: 100%;
  box-sizing: border-box;
  /* eliminamos height fija y overflow */
}

/* La imagen siempre completa, sin recortes */
.flyer img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain; /* muestra toda la imagen */
  object-position: center;
  border-radius: 6px;
}

/* RESPONSIVE: EN MÓVIL APILAR 1 ABAJO DE OTRO */
@media (max-width: 768px) {
  .flyers-grid {
    grid-template-columns: 1fr;
  }
}
/* ——— Modal Overlay para Flyers ——— */
.flyer-modal-overlay {
  display: none !important;         /* oculto por defecto */
  position: fixed !important;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  z-index: 9999 !important;         /* por encima de todo */
}

.flyer-modal-overlay.show {
  display: flex !important;         /* al agregar .show se ve */
}

.flyer-modal {
  position: relative;
  width: calc(100% - 40px);
  max-width: 600px;            /* la máxima anchura */
  max-height: calc(80vh - 40px);/* la máxima altura */
  padding: 20px;               /* opcional, para dar un borde interno */
  background: #000;            /* asegúrate de que contraste con la imagen */
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.flyer-modal img {
  display: block;
  width: 100%;
  height: auto;                /* mantiene proporción */
  max-height: calc(80vh - 80px);/* evita que crezca demasiado en vertical */
  object-fit: contain;
  border-radius: 4px;
}


.modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10000;
}


/*************************************
   CONTENEDOR DE SLIDES
**************************************/
.team-slides {
  width: 100%;
  min-height: 350px;
}

/*************************************
   CADA SLIDE (Ficha)
**************************************/
.team-slide {
  width: 100%;
  background: #13151b;
  border: 1px solid #444;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 20px 30px;
  margin-bottom: 20px;
}

/* Contenedor interno para dividir en dos columnas */
.team-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Versión escritorio: texto a la izquierda, imagen a la derecha */
.team-text {
  flex: 1;
  text-align: left;
  font-size: 1.05rem; /* Texto algo más grande */
  line-height: 1.5;
}

.team-text h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.coach-position {
  color: #28a745;
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.team-text ul {
  list-style: disc;
  margin: 0 0 0 20px;
  padding: 0;
  color: #ccc;
}

/* Contenedor para la imagen */
.team-image {
  flex-shrink: 0;
}

.team-image img {
  max-height: 320px;
  width: auto;
  object-fit: cover;
  border-radius: 4px;
}
/* ————— Slider OUR TEAM FIX ————— */
.carousel-container {
  overflow: hidden;                /* recorta lo que salga */
}

.team-slides {
  display: flex;                   /* pone las slides en fila */
  transition: transform 0.5s ease; /* anima el cambio */
}

.team-slide {
  flex: 0 0 100%;                  /* cada slide ocupa el 100% */
  margin: 0;                       /* quita el margin-bottom para no “empujar” */
  box-sizing: border-box;
}
/* ————— Carrusel “Our Team” show/hide ————— */
#team .team-slides {
  position: relative;
  min-height: 550px;        /* altura mínima para que no colapse */
}

#team .team-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: none;            /* oculta todas por defecto */
  box-sizing: border-box;
}

#team .team-slide.active {
  display: block;           /* muestra sólo la activa */
}

/*************************************
   RESPONSIVE (MÓVIL)
**************************************/
@media (max-width: 768px) {
  .carousel-container {
    padding-top: 40px;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .team-slide {
    padding: 15px 20px;
  }
  .team-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .team-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-align: left;
  }
  .team-text h3 {
    font-size: 1.4rem;
  }
  .coach-position {
    font-size: 1rem;
  }
  .team-image img {
    max-height: 428px;
    margin-top: 15px;
  }
  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .arrow-left {
    left: 10px;
  }
  .arrow-right {
    right: 10px;
  }
}
@media (max-width: 768px) {
  /* Mantén el texto a la izquierda */
  .team-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  /* Centra únicamente la imagen */
  .team-image {
    width: 100%;
    text-align: center;    /* centra los inline-block hijos */
    margin: 15px 0;        /* espacio vertical */
  }
  .team-image img {
    display: inline-block; /* para que respete text-align */
    margin: 0 auto;        /* respaldo */
    max-width: 100%;
    height: auto;
  }
}

    
/* TIMETABLE SECTION CON BACKGROUND IMAGE */
.timetable-section {
  position: relative;
  width: 100%;
  padding: 40px 20px;
  /* Cambia la URL de la imagen a la que desees usar */
  background: url('https://t3.ftcdn.net/jpg/02/48/65/38/240_F_248653851_lMw1RUwPLpaBsSCT31eE3ZDY8WkIFpiq.jpg') center/cover no-repeat;
  box-sizing: border-box;
  padding-top: 150px;  /* header (70px) + espacio extra (20px) */

}

/* Contenedor para la tabla con fondo semitransparente para legibilidad */
.timetable-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);  /* Fondo oscuro semitransparente */
  border-radius: 8px;
  overflow-x: auto;  /* Permite scroll horizontal en pantallas pequeñas */
}

/* Estilos de la tabla */
.timetable {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  color: #fff;  /* Texto en blanco para contraste */
}

.timetable th,
.timetable td {
  border: 1px solid #444;
  padding: 10px;
  font-size: 0.9rem;
}

.timetable thead th {
  background: #222;
  font-weight: 600;
  color: var(--accent-color); /* Asegúrate de definir la variable --accent-color */
}

/* Responsivo: Ajustes para móviles */
@media (max-width: 768px) {
  .timetable-container {
    padding: 15px;
  }
  .timetable th,
  .timetable td {
    padding: 8px;
    font-size: 0.8rem;
  }
}

    /* APPROACH */
 /* CONTENEDOR GENERAL DE LA SECCIÓN */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* TÍTULO */
.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  text-transform: uppercase;
  color: #fff;
}

/* TARJETAS DE TEXTO (CUADRITOS) */
.approach-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.approach-card {
  background: #13151b;
  padding: 20px;
  border: 1px solid #444;
  border-radius: 8px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}

/* GALERÍA TIPO CAROUSEL */
.approach-carousel {
  position: relative;
  margin-top: 30px;
}

/* Contenedor visible de la galería */
.approach-gallery {
  overflow: hidden;
  width: 100%;
  /* Fijamos la altura si es necesario (opcional) */
  /* min-height: 200px; */
}

/* Track de imágenes (display flex) */
.gallery-track {
  display: flex;
  transition: transform 0.3s ease;
  gap: 10px;
}

/* Cada imagen ocupa el 33.33% de la anchura para que se muestren 3 */
.gallery-track img {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  border-radius: 4px;
  object-fit: cover;
}

/* FLECHAS DE NAVEGACIÓN */
.carousel-arrow {
  position: absolute;
  top: 10px;  /* Ubicadas en la parte superior del carousel */
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #28a745;
  color: #28a745;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s, color 0.2s;
}

.carousel-arrow:hover {
  background: #28a745;
  color: #fff;
}

.approach-prev {
  left: 10px;
}

.approach-next {
  right: 10px;
}

/* RESPONSIVE: ajuste para móviles */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  .approach-card {
    font-size: 0.95rem;
    padding: 15px;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  @media (max-width: 768px) {
  .gallery-track img {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
}
    
/***************************************
  PRICES SECTION
***************************************/
.prices-section {
  background: #0f1015;     /* Fondo oscuro (ajusta a tu gusto) */
  padding: 60px 20px;
  color: #fff;             /* Texto en blanco */
  box-sizing: border-box;
}

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

.section-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  text-transform: uppercase;
}

/* GRID para las tarjetas */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/***************************************
  PRICE CARDS
***************************************/
.price-card {
  background: #13151b;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 20px;
  position: relative;
  box-sizing: border-box;
}

.price-card h5 {
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  color: #28a745; /* Color de acento */
  font-size: 1.1rem;
  text-transform: uppercase;
  border-bottom: 1px solid #444; 
  padding-bottom: 10px;
}

/***************************************
  PRICE TABLE
***************************************/
.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table thead th {
  background: #1b1f24;
  color: #28a745;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 10px;
  border: 1px solid #444;
}

.price-table th,
.price-table td {
  border: 1px solid #444;
  padding: 10px;
  font-size: 0.85rem;
  text-align: left;  /* Alineado a la izquierda para un look moderno */
  position: relative; 
  color: #ddd;
}

/* Pseudo-elemento flecha (opcional). 
   Solo en la primera columna, por ejemplo. 
*/
.price-table td:first-child::after {
  content: '➔';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #28a745;
  font-size: 0.9rem;
}

/* Ajuste: si no quieres flechas en celdas vacías, 
   quita pseudo-elementos en celdas vacías o añade condiciones 
*/

/* Subtexto (ej. 3 days/week) */
.price-table td small {
  display: block;
  font-size: 0.75rem;
  color: #888; 
  margin-top: 4px;
}

/***************************************
  OTHER LISTS (STOCKS, ETC.)
***************************************/
.price-card ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  font-size: 0.9rem;
}

.price-card ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}

/* Punto verde como viñeta (opcional) */
.price-card ul li::before {
  content: '•';
  color: #28a745; 
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/***************************************
  NOTA DE IVA
***************************************/
.vat-note {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

/***************************************
  RESPONSIVE
***************************************/
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }
  .price-card {
    padding: 15px;
  }
  .price-table th,
  .price-table td {
    font-size: 0.8rem;
    padding: 8px;
  }
  .vat-note {
    font-size: 0.8rem;
  }
}

    /* ============================
   CTA SECTION CON FONDO DE CANCHA
============================ */
.cta-section {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  background: url("/img/cancha.png") center/cover no-repeat; /* Imagen de la cancha */
  box-sizing: border-box;
  padding-top: 150px;  /* header (70px) + espacio extra (20px) */

}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  position: relative;
}

.cta-section h2 {
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 2rem;
  color: black;
}

.fw-bold {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: black;
}

.btn {
  padding: 10px 20px;
  background: #ff0000;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1rem;
}

/* ============================
   CONTENEDOR DE LA PELOTA Y GRUPO
============================ */
.ball-container {
  position: relative;
  width: 200px;    /* Contenedor mayor para permitir pequeños movimientos */
  height: 200px;
  margin: 40px auto;
  cursor: pointer;
  overflow: hidden;
}

/* Agrupamos la pelota y el texto para que se muevan juntos */
.ball-group {
  position: absolute;
  width: 120px;
  height: 120px;
  /* Posición inicial centrada dentro del contenedor (200px /2 – 60px = 40px) */
  left: 40px;
  top: 40px;
  transition: all 0.8s ease;
}

/* La pelota */
.ball {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
}

/* Texto "Hit me!" posicionado a la derecha del balón */
.hitme-text {
  position: absolute;
  left: 130px; /* 120px de la pelota más 10px de espacio */
  top: 50%;    /* Centrado verticalmente respecto al balón */
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: bold;
  color: #ff0; /* Color para resaltar, ajústalo según tu diseño */
  animation: pulse 1s infinite; /* Animación continua para llamar la atención */
}

/* Animación de pulse para el texto */
@keyframes pulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.2); }
}

/* Overlay del crack: se posiciona fixed para cubrir toda la pantalla */
.crack {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  display: none; /* Se muestra en el tercer golpe */
  opacity: 0;
  transition: opacity 0.1s ease;
  z-index: 999;
}

/* ============================
   ANIMACIONES
============================ */
/* Rebote leve: movimiento reducido (entre -5 y +5 px) */
@keyframes bounceSmall {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-5px, -5px); }
  40%  { transform: translate(5px, 5px); }
  60%  { transform: translate(-3px, -3px); }
  80%  { transform: translate(3px, 3px); }
  100% { transform: translate(0, 0); }
}
.bounce {
  animation: bounceSmall 0.2s ease forwards;
}

/* Animación final: la pelota y grupo "saltan" hacia la pantalla */
@keyframes jumpToScreen {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(0, -100px) scale(2) rotate(15deg); opacity: 0; }
}
.final-hit {
  animation: jumpToScreen 0.8s ease forwards;
}

/* Animación para el texto "Hit me!" (se aplica a .jump, aunque además hay animación de pulse ya constante) */
@keyframes jump {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(-65%); }
}
.jump {
  animation: jump 0.4s ease;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
  .ball-container { width: 200px; height: 150px; }
  .ball-group { width: 100px; height: 100px; left: calc(50% - 50px); top: calc(50% - 50px); }
  .ball { width: 100px; height: 100px; }
  .hitme-text { left: 105px; font-size: 0.9rem; }
}






    /* FOOTER */
    footer {
      background: var(--primary-bg);
      color: var(--text-color);
      text-align: center;
      padding: 40px 20px;
    }
    footer a {
      color: var(--text-color);
      margin: 0 10px;
      transition: color 0.3s;
    }
    footer a:hover { color: var(--accent-color); }
    
  /* ========== MODAL DE INSCRIPCIÓN (COMPLETO) ========== */

  /* Overlay más oscuro y con blur para destacar el modal */
  .modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(6px);
    display: none;              /* se muestra via JS añadiendo display: flex */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  }

  /* Contenedor del modal con glow y borde luminoso */
  .modal {
    background: rgba(17, 17, 17, 0.95);
    color: #fff;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 20px 24px;
    position: relative;
    box-shadow:
      0 0 20px rgba(255, 255, 255, 0.08),
      0 0 40px rgba(255, 255, 255, 0.04),
      inset 0 0 2px rgba(255, 255, 255, 0.10);
    filter: brightness(1.05);
    transition: filter 0.3s ease, box-shadow 0.3s ease;
  }

  /* Intensifica el glow al pasar el ratón */
  .modal:hover {
    box-shadow:
      0 0 30px rgba(255, 255, 255, 0.12),
      0 0 60px rgba(255, 255, 255, 0.06),
      inset 0 0 4px rgba(255, 255, 255, 0.12);
    filter: brightness(1.1);
  }

  /* Botón de cerrar */
  .modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s ease;
  }
  .modal-close:hover {
    color: #fff;
  }

  /* Título y párrafos */
  .modal h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.4rem;
  }
  .modal p {
    margin: 0 0 16px;
    line-height: 1.4;
    color: #ddd;
  }

  /* Form rows de dos columnas */
  .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
  }
  .form-row .form-group {
    flex: 1;
  }

  /* Grupos de campo individuales */
  .form-group {
    display: flex;
    flex-direction: column;
  }
  .form-group + .form-group {
    margin-left: 0; /* ya lo maneja flex-gap */
  }
  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #ccc;
  }
  .form-group input,
  .form-group textarea {
    padding: 8px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #222;
    color: #fff;
    font-size: 0. nine rem;
  }
  .form-group textarea {
    resize: vertical;
  }

  /* Grupo de radios */
  .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
  }
  .radio-group label {
    font-size: 0.85rem;
    color: #ddd;
  }
  .radio-group input {
    margin-right: 4px;
  }

  /* Texto de consentimiento */
  .consent-text {
    font-size: 0.75rem;
    margin: 8px 0 12px;
    color: #aaa;
    line-height: 1.3;
  }

  /* Botón de envío */
  .submit-btn {
    width: 100%;
    padding: 12px 0;
    background: var(--accent-color);
    color: #000;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }
  .submit-btn:hover {
    background: #e5e500;
    transform: translateY(-2px);
  }

  /* Si quieres alternar la visibilidad con una clase */
  .modal-overlay.show {
    display: flex;
  }

    
    /* -------------------------------
       RESPONSIVIDAD EXTRA
    ------------------------------- */
    @media (max-width: 480px) {
      .hero h1 { font-size: 2.5rem; }
      .hero p { font-size: 1rem; }
    }

    /* Contenedor principal de la sección diagonal */
.diagonal-layout {
  position: relative;           /* Para posicionar elementos absolutos dentro */
  width: 100%;
  min-height: 600px;           /* Ajusta según tu gusto */
  overflow: hidden;
  padding: 20px;               /* Espacio interno para no pegar el texto a los bordes */
  box-sizing: border-box;
  display: flex;               /* Opción para centrar contenido */
  justify-content: center;     /* Centrar horizontal */
  align-items: center;         /* Centrar vertical */
}

/* Contenedor de imágenes en las esquinas */
.images-container {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
}

/* Estilo general para las imágenes */
.corner-img {
  position: absolute;
  width: 200px;      /* Ajusta tamaño según tu diseño */
  height: 200px;     /* Ajusta tamaño según tu diseño */
  object-fit: cover; /* Que la imagen se recorte para encajar */
  border-radius: 8px;
}

/* Posiciones de las 6 imágenes (ajusta a conveniencia) */
.img1 { top: 20px; left: 20px; }
.img2 { top: 20px; right: 20px; }
.img3 { bottom: 20px; left: 20px; }
.img4 { bottom: 20px; right: 20px; }
/* Opcional: dos imágenes en el centro vertical a la izquierda/derecha */
.img5 { top: 50%; left: 0; transform: translateY(-50%); }
.img6 { top: 50%; right: 0; transform: translateY(-50%); }

/* Contenedor del texto diagonal */
.text-diagonal {
  position: relative;
  max-width: 800px;        /* Controla el ancho del bloque de texto */
  background: rgba(0, 0, 0, 0.5); /* Fondo semitransparente opcional si tienes un fondo con imágenes */
  color: #fff;             /* Texto blanco (ajusta según tu theme) */
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Ajusta los títulos y párrafos dentro del bloque diagonal */
.text-diagonal h2 {
  margin-bottom: 15px;
  font-size: 2rem;
}

/* Botón "About Our Philosophy" (puedes reutilizar tu clase .btn .btn-accent existente) */
.text-diagonal .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #ff0000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s;
}
.text-diagonal .btn:hover {
  background: darkred;
}

/* RESPONSIVE: si quieres que en pantallas pequeñas cambie distribución, ajusta */
@media (max-width: 768px) {
  .corner-img {
    width: 160px;
    height: 160px;
  }
  .text-diagonal {
    padding: 20px;
  }
}

/* Modern Hero Section */
  .modern-hero {
    background: #000;
    color: #fff;
    padding: 60px 20px;
  }

  .modern-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    /* Para que en pantallas muy pequeñas salte en columna */
    flex-wrap: wrap;
  }

  .hero-text {
    flex: 1 1 300px;     /* crece, encoge y base mínima */
    max-width: 350px;
    line-height: 1.6;
    font-size: 1.4rem;
    text-align: justify;
  }

  .hero-text strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    margin: 0;
  }

  /* Contenedor de cada imagen */
  .hero-image {
    flex: 1 1 280px;
    max-width: 400px;
  }

  .hero-image img {
    width: 100%;
    display: block;
    border-radius: 8px;
    border: 2px solid #fff;
    object-fit: cover;
    height: 350px;
  }

  /* Responsive: en móviles apila */
  @media (max-width: 768px) {
    .modern-hero-container {
      flex-direction: column;
      text-align: center;
    }
    .hero-text {
      max-width: none;
      margin-bottom: 30px;
    }
    .hero-image {
      max-width: none;
    }
  }

  /* Wrapper con proporción 16:9, recorte y bordes */
  .pitch-shape {
    width: 100%;            /* ocupa todo el ancho de la tarjeta */
    aspect-ratio: 12 / 9;   /* relación de aspecto constante */
    overflow: hidden;       /* recorta lo sobrante */
    border-radius: 6px;     /* opcional: mismo radio que tus cards */
    background: #000;       /* opcional: evita “fugas” en borde */
  }

  /* Imagen se adapta y recorta */
  .pitch-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* cubre el wrapper recortando bordes */
    object-position: center;/* centra el recorte */
    display: block;
  }


/* === Ajuste del 1-on-1 Training === */
.programs-section2 .programs-grid2 img {
  width: 100%;
  height: auto;              /* mantiene proporción */
  object-fit: cover;         /* recorta si es necesario */
  border-radius: 8px;
  display: block;
}
.programs-section2 .pitch-shape2 {
  width: 100%;
  max-width: 720px;          /* ancho máximo visible */
  margin: 0 auto;
}

/* === Corrección de formato en Team === */
.team-section .coach-description p {
  margin-bottom: 0.5em;
  line-height: 1.6;
  white-space: normal;
}

.team-section .coach-description ul {
  margin: 0.5em 0 1em 1.5em;
  list-style: disc;
}

.team-section .coach-description li {
  margin-bottom: 0.3em;
}

.team-section .coach-description strong {
  color: #fff;
}


/* Asigna porcentaje de anchura a cada imagen (desktop) */
.side-img {
  flex: 0 0 25%;    /* Ocupa 25% del ancho para cada imagen lateral */
  max-height: 500px; /* Ajusta la altura máxima */
  object-fit: cover;  /* Recortará si la imagen no se ajusta en la proporción */
}

.center-img {
  flex: 0 0 50%;    /* La imagen central ocupa el 50% del ancho */
  max-height: 500px;
  object-fit: cover;
}

/* Demora en la animación según el orden */
.modern-hero-img:nth-child(1) { animation-delay: 0.2s; }
.modern-hero-img:nth-child(2) { animation-delay: 0.4s; }
.modern-hero-img:nth-child(3) { animation-delay: 0.6s; }

/* Animación fade in */
@keyframes fadeIn {
  to { opacity: 1; }
}

/* Hover */
.modern-hero-img:hover {
  transform: scale(1.05);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
}

/* Vista móvil: apila las imágenes */
@media (max-width: 768px) {
  .modern-hero {
    min-height: auto;  /* Permite que crezca según el contenido */
    height: auto;      /* Elimina restricciones de altura en móvil */
    padding-bottom: 40px; /* Espacio inferior para separar de la sección siguiente */
  }

  .modern-hero-container {
    flex-direction: column; 
    gap: 15px;         /* Un poco de espacio entre las imágenes */
    min-height: auto;  /* Evita forzar altura */
  }

  .side-img, .center-img {
    flex: 0 0 auto;    /* Quita el tamaño fijo en % */
    width: 90%;        /* Un ancho más razonable en móvil */
    max-width: 400px;  /* Limita el ancho máximo si deseas */
    max-height: none;
    margin: 0 auto;    /* Centra cada imagen */
    object-fit: contain;  /* Para que no recorte nada en móvil */
  }
}


/* ADVANTAGES / FEATURES SECTION */
.academy-features {
  background: #0f1419;  /* Fondo oscuro (ajusta según tu tema) */
  padding: 60px 20px;
  color: #fff;          /* Texto blanco */
}

/* Contenedor de columnas */
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  
  /* Usa grid o flex para organizar las 4 columnas */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Cada "caja" o columna */
.feature-box {
  background: #1b1f23;   /* Un tono ligeramente diferente para resaltar */
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Círculo que contiene el número */
.feature-circle {
  width: 42px;
  height: 42px;
  background: #ff0000; /* Ajusta al color de acento que prefieras */
  color: #fff;
  border-radius: 50%;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto; /* Centrado horizontal y espacio inferior */
}

/* Título */
.feature-box h5 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Descripción */
.feature-box p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #ccc;
}

/* RESPONSIVE: si deseas ajustar en móvil */
@media (max-width: 768px) {
  .feature-box {
    padding: 20px;
  }
  .feature-circle {
    margin-bottom: 12px;
  }
  .feature-box h5 {
    margin-bottom: 8px;
  }
}



/*********************************
  PROGRAMS SECTION
**********************************/
.programs-section {
  background-color: #0F1015; /* Ajusta el fondo como en tu diseño */
  padding: 60px 20px;
  padding-top: 150px;  /* header (70px) + espacio extra (20px) */

}

/* Grid de tarjetas */
.programs-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Tarjeta contenedora */
.program-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #2a2e37;
  border-radius: 6px;
  background-color: #13151b;
  color: #fff;
  overflow: hidden;
}

/*********************************
  PARTE SUPERIOR: CANCHA EN SVG
**********************************/
.pitch-shape {
  width: 100%;
  background: #13151b;
  text-align: center;
  padding: 10px 0; /* Espacio vertical */
}

/* Ajusta el tamaño del SVG (alto de la "cancha") */
.pitch-shape svg {
  width: 60%;
  max-width: 120px; /* Ancho máximo para pantallas grandes */
  height: auto;
}

/*********************************
  CONTENIDO TEXTUAL DE LA TARJETA
**********************************/
.card-content {
  flex: 1; /* Ocupa el espacio disponible hasta el footer */
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.icon-user {
  font-size: 1.2rem;
}

.card-age {
  text-transform: uppercase;
  font-weight: 600;
}

.card-title {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.green-text {
  color: #28a745; /* Verdes para destacar (ajusta a tu gusto) */
}

.card-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.card-subtitle2 {
  font-size: 0.85rem;
  color: #aaa;
  margin: 0;
}

.card-description {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #ccc;
  margin-top: 4px;
  margin-bottom: auto; /* Empuja el footer al final */
}

/*********************************
  BARRA INFERIOR (FOOTER) VERDE
**********************************/
.card-footer {
  width: 100%;
  background: #28a745; /* Barra verde */
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

/* Botones en la barra inferior (negros) */
.footer-btn {
  background: #000; 
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
}

.footer-btn:hover {
  background: #2a2e37; /* Gris oscuro al hacer hover */
}

/*********************************
  RESPONSIVE AJUSTES
**********************************/
@media (max-width: 480px) {
  .card-content {
    padding: 10px;
  }
  .pitch-shape svg {
    width: 80px; /* Ajuste para móvil */
  }
  .card-title {
    font-size: 0.95rem;
  }
  .card-subtitle {
    font-size: 0.85rem;
  }
}
/* ============================
   HEADER STICKY + SCALE ON SCROLL
   ============================ */

/* Estado normal */
header {
  position: sticky;
  top: 0; left: 0; right: 0;
  background-color: #000;
  z-index: 1000;
  /* punto de anclaje para escalar desde arriba */
  transform-origin: top center;
  /* fuerza escala 1 por defecto */
  transform: scaleY(1);
  /* animar transform y box-shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ==============================
   OCULTAR ELEMENTOS AL HACER SCROLL
   ============================== */
header.scrolled .brand-text,
header.scrolled .social-icons,
header.scrolled .menu-toggle {
  display: none !important;
}

/* Reajusta el header-container */
header.scrolled .header-container {
  justify-content: flex-start; /* logo a la izquierda */
  padding: 6px 16px;           /* mantén tu estilo compacto */
}

/* — Resaltar enlace activo en rojo — */
.main-nav a.active {
  color: #e63946;       /* rojo vivo */
}


/*********************************
  PROGRAMS SECTION 2
**********************************/
.programs-section2 {
  background-color: #0F1015;  /* fondo oscuro igual al otro diseño */
  padding: 150px 20px 60px;   /* espacio arriba para header + extra */
}

/* Contenedor centrado */
.programs-section2 .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Título centrado */
.programs-section2 .section-title {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

/* GRID DE TARJETAS */
.programs-grid2 {
  display: grid;
  gap: 20px;
  /* Solo crea tantas columnas como tarjetas existan,
     y cada columna crece hasta llenar el espacio disponible */
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* TARJETA */
.program-card2 {
  /* Que el card ocupe el 100% de su columna */
  width: 100%;
  /* Quitar límite de ancho y margen auto */
  max-width: none;
  margin: 0;
}

/* PARTE SUPERIOR: IMAGEN PEQUEÑA Y CENTRADA */
.pitch-shape2 {
  width: 100%;
  background: #13151b;
  text-align: center;
  padding: 10px 0;
}

.pitch-shape2 img {
  max-width: 100%;        /* tope máximo */
  max-height: 400px;      /* tope alto */
  display: block;
  margin: 0 auto;         /* centra horizontal */
}

/* CONTENIDO */
.card-content2 {
  flex: 1;
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-top2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.card-top2 .icon-user {
  font-size: 1.2rem;
}

.card-age {
  text-transform: uppercase;
  font-weight: 600;
}

.card-title {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
}

.green-text {
  color: #28a745;
}

.card-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.card-subtitle2 {
  font-size: 0.85rem;
  color: #aaa;
  margin: 0;
}

.card-description {
  font-size: 1.1rem;
  line-height: 1.4;
  color: #ccc;
  margin-top: 4px;
  margin-bottom: auto;  /* empuja footer abajo */
}

/* FOOTER VERDE */
.card-footer {
  width: 100%;
  background: #28a745;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.footer-btn {
  display: inline-block;
  background: #000;
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s;
}

.footer-btn:hover {
  background: #2a2e37;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .card-content2 {
    padding: 10px;
  }

  .card-title {
    font-size: 0.95rem;
  }
  .card-subtitle {
    font-size: 0.85rem;
  }
}

/* — Botón flotante de WhatsApp — */
.whatsapp-float {
  position: fixed;
  bottom: 80px;           /* deja espacio para el Back-to-Top a 20px */
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;     /* verde WhatsApp */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;           /* por encima de todo */
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.whatsapp-float img {
  width: 32px;             /* tamaño del icono dentro del círculo */
  height: auto;
}



/* por defecto la duplica está oculta */
.social-icons-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* ocultamos los iconos que están dentro del header */
  header .social-icons {
    display: none;
  }
  /* mostramos y centramos los móviles */
  .social-icons-mobile {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 12px 0;
  }
  .social-icons-mobile .social-icon {
    width: 28px;
    height: auto;
    filter: brightness(0) invert(1);
  }
}

/* ==========================================================
   VPSoccer Fase 1 + 2 — CMS admin polish / dynamic settings
   ========================================================== */
body {
  background: var(--primary-bg);
  color: var(--text-color);
}

.site-header,
header {
  background-color: var(--header-bg) !important;
}

.site-header .main-nav ul,
.site-header .nav-list {
  list-style: none;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.site-header .main-nav a,
.mobile-nav-list a {
  color: var(--text-color);
}

.site-header .main-nav a:hover,
.site-header .main-nav a.active,
.mobile-nav-list a:hover,
.mobile-nav-list a.active {
  color: var(--accent-color);
}

.tagline,
.mobile-nav-message span {
  color: var(--muted-text);
}

.btn-accent,
.mobile-cta,
.footer-btn {
  background: var(--button-bg) !important;
  color: var(--button-text) !important;
}

.btn-accent:hover,
.mobile-cta:hover,
.footer-btn:hover {
  opacity: 0.86;
}

.mobile-nav-panel {
  background: color-mix(in srgb, var(--header-bg) 88%, transparent);
  display: block;
  left: -100%;
}

.mobile-nav-panel.open {
  left: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1999;
}

body.mobile-nav-open {
  overflow: hidden;
}

.menu-toggle {
  border: 0;
  background: transparent;
  padding: 0;
}

.site-footer,
footer {
  background: var(--footer-bg) !important;
  color: var(--text-color);
}

.site-footer p {
  margin-top: 10px;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.site-footer a,
footer a {
  color: var(--text-color);
}

.site-footer a:hover,
footer a:hover {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .site-header .main-nav {
    display: none !important;
  }

  .site-header .header-container {
    gap: 12px;
  }

  .mobile-nav-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
  }

  .mobile-nav-list li {
    margin-bottom: 10px;
  }
}

/* ==========================================================
   VPSoccer Fase 3 + 4 — Contact + Team Store / Prices
   ========================================================== */
.vp-eyebrow {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-color);
  opacity: .88;
}

.vp-contact-section,
.vp-store-section {
  position: relative;
  padding: 90px 0;
  background: var(--secondary-bg);
  color: var(--text-color);
  overflow: hidden;
}

.vp-contact-section::before,
.vp-store-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.10), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.06), transparent 24%);
  opacity: .45;
}

.vp-contact-container,
.vp-store-container {
  position: relative;
  z-index: 1;
}

.vp-contact-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  align-items: start;
}

.vp-contact-copy {
  max-width: 680px;
}

.vp-contact-title {
  text-align: left;
  margin-bottom: 18px;
}

.vp-contact-subtitle,
.vp-store-subtitle {
  color: var(--muted-text);
  font-size: 1.04rem;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 auto 26px;
}

.vp-contact-subtitle {
  margin-left: 0;
}

.vp-contact-actions,
.vp-store-section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 26px;
}

.vp-contact-panel {
  display: grid;
  gap: 18px;
}

.vp-contact-card,
.vp-store-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(10px);
}

.vp-contact-card {
  padding: 26px;
  border-radius: 24px;
}

.vp-contact-card h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.vp-contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 14px 0;
  color: var(--muted-text);
  line-height: 1.55;
}

.vp-contact-row a,
.vp-contact-row span:last-child {
  color: var(--text-color);
  text-decoration: none;
}

.vp-contact-row a:hover {
  color: var(--accent-color);
}

.vp-contact-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: var(--accent-color);
}

.vp-contact-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.vp-contact-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text-color);
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.vp-contact-socials a:hover {
  transform: translateY(-2px);
  background: var(--button-bg);
  color: var(--button-text);
}

.vp-contact-form :is(input, textarea, select) {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.25);
  color: var(--text-color);
  padding: 12px 14px;
}

.vp-contact-form :is(input[type="submit"], button) {
  cursor: pointer;
  background: var(--button-bg);
  color: var(--button-text);
  border: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.vp-contact-map {
  grid-column: 1 / -1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  min-height: 280px;
  background: rgba(255,255,255,.04);
}

.vp-contact-map iframe {
  width: 100%;
  min-height: 360px;
  display: block;
  border: 0;
}

.vp-store-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 34px;
}

.vp-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vp-store-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 26px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.vp-store-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 24px 64px rgba(0,0,0,.42);
}

.vp-store-card.is-featured {
  border-color: color-mix(in srgb, var(--accent-color) 55%, transparent);
}

.vp-store-image {
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,.05);
  overflow: hidden;
}

.vp-store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.vp-store-card:hover .vp-store-image img {
  transform: scale(1.04);
}

.vp-store-content {
  flex: 1;
  padding: 24px 24px 12px;
}

.vp-store-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: var(--accent-color);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.vp-store-content h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.vp-store-price {
  margin: 0 0 12px;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--accent-color);
}

.vp-store-description {
  margin: 0 0 14px;
  color: var(--muted-text);
  line-height: 1.62;
}

.vp-store-details {
  margin: 14px 0 0;
  padding-left: 1.15rem;
  color: var(--muted-text);
}

.vp-store-details li {
  margin-bottom: 7px;
}

.vp-store-footer {
  padding: 0 24px 24px;
  margin-top: auto;
}

.vp-store-footer .footer-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.vp-store-section-cta {
  justify-content: center;
  margin-top: 34px;
}

.vp-empty-message {
  text-align: center;
  color: var(--muted-text);
  margin: 30px 0;
}

@media (max-width: 1024px) {
  .vp-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .vp-contact-section,
  .vp-store-section {
    padding: 62px 0;
  }

  .vp-contact-container {
    grid-template-columns: 1fr;
  }

  .vp-contact-title {
    text-align: center;
  }

  .vp-contact-copy,
  .vp-contact-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .vp-contact-actions {
    justify-content: center;
  }

  .vp-store-grid {
    grid-template-columns: 1fr;
  }

  .vp-contact-card,
  .vp-store-content,
  .vp-store-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* VPSoccer CMS schedule improvements */
.timetable .schedule-line {
  display: block;
  line-height: 1.45;
  margin: 0.15rem 0;
  white-space: nowrap;
}
.timetable .schedule-empty {
  opacity: 0.75;
}
.section-empty {
  padding: 2rem;
  text-align: center;
  color: var(--muted-text, #cccccc);
}

/* VPSoccer Phase 7 — Schedule time/program display */
.timetable .schedule-location {
  font-weight: 700;
  text-align: left;
}
.timetable .schedule-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  line-height: 1.45;
  margin: 0.18rem 0;
  white-space: nowrap;
}
.timetable .schedule-time {
  font-weight: 700;
}
.timetable .schedule-program::before {
  content: "-";
  margin-right: 0.35rem;
  opacity: 0.8;
}
.timetable .schedule-empty {
  opacity: 0.75;
}
@media (max-width: 768px) {
  .timetable .schedule-line {
    white-space: normal;
    flex-wrap: wrap;
  }
}

/* =========================================================
   Phase 8 - Footer social icon links
   Replaces long footer social text links with compact icons.
   ========================================================= */
.footer-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.footer-social-link img {
  width: 21px;
  height: 21px;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 18px rgba(255,255,255,.14);
}

.footer-social-link:hover img,
.footer-social-link:focus-visible img {
  filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255,255,255,.65));
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 640px) {
  .footer-social-link {
    width: 40px;
    height: 40px;
  }

  .footer-social-link img {
    width: 20px;
    height: 20px;
  }
}

/* =========================================================
   VPSoccer Contact Modal
   ========================================================= */
body.contact-modal-open {
  overflow: hidden;
}

.vp-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.vp-contact-modal.is-open {
  display: flex;
}

.vp-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
}

.vp-contact-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow-y: auto;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(13, 15, 20, 0.98), rgba(0, 0, 0, 0.98));
  color: var(--text-color, #fff);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(34, 197, 94, 0.18);
  padding: clamp(24px, 4vw, 42px);
  outline: none;
  animation: vpContactModalIn 180ms ease-out;
}

@keyframes vpContactModalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.vp-contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.vp-contact-modal__close:hover,
.vp-contact-modal__close:focus-visible {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.vp-contact-modal__header {
  max-width: 610px;
  padding-right: 34px;
  margin-bottom: 26px;
}

.vp-contact-modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25d366;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.vp-contact-modal__header h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.vp-contact-modal__header p {
  margin: 0;
  color: var(--muted-text, #ccc);
  font-size: 17px;
  line-height: 1.55;
}

.vp-contact-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vp-contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.vp-contact-card:hover,
.vp-contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(37, 211, 102, 0.55);
  background: rgba(37, 211, 102, 0.10);
  color: #fff;
}

.vp-contact-card__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 24px;
  font-weight: 800;
}

.vp-contact-card__icon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.vp-contact-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vp-contact-card__body strong {
  font-size: 13px;
  line-height: 1.15;
  color: #25d366;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.vp-contact-card__body span {
  color: #fff;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.25;
  word-break: break-word;
}

.vp-contact-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.vp-contact-modal__actions .btn {
  min-width: 210px;
  text-align: center;
}

@media (max-width: 680px) {
  .vp-contact-modal {
    padding: 14px;
  }

  .vp-contact-modal__dialog {
    border-radius: 22px;
    padding: 24px 18px;
  }

  .vp-contact-modal__grid {
    grid-template-columns: 1fr;
  }

  .vp-contact-card {
    min-height: 74px;
  }
}
