/* -------------------
   BASE / RESET
   ------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { 
  font-family: "Open Sans", sans-serif; /* <-- CAMBIO: Usa Open Sans como base */
  font-weight: 400;                     /* <-- CAMBIO: Usa peso 400 (regular) para el cuerpo */
  background: #000; 
  color: #fff; 
  height: 100%; 
}

section { 
  position: relative;
  width: 100vw;
  height: 100vh;          /* cada sección ocupa toda la pantalla */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
  opacity: 0;
  transform: translateY(60px);
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Fondo global para MAIN (excluye navbar y footer) === */
main {
  /* Asegura que MAIN ocupa todo el ancho y está sobre el fondo por defecto del body (negro) */
  width: 100%;
  
  /* --- ESTILOS DEL BACKGROUND --- */
  background-image: url('../img/Background/background.webp'); /* ⬅️ REEMPLAZA ESTO CON LA RUTA DE TU IMAGEN */
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center center; 
  background-attachment: fixed; 
  
  /* Añadimos un color de respaldo y un overlay sutil para mejorar la legibilidad del texto */
  background-color: #050505;
  
  /* Necesitamos que el contenido NO se pegue al navbar (80px es un estimado del alto del navbar) */
  padding-top: 80px; 
}

/* -------------------
   NAV BAR
   ------------------- */

/* === NUEVO NAVBAR ANIMADO === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #000;
  padding: 15px 40px;
  z-index: 100;
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
}

.menu {
  list-style: none;
  display: flex;
  gap: 50px;
}

.menu-item {
  position: relative;
}

.menu-item > a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
  padding: 10px 20px;
  display: inline-block;
  overflow: hidden;
  transition: color 0.3s ease;
}

/* Paralelogramo animado */
.menu-item > a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #c4ff4e, #c4ff4e);
  transform: skew(-20deg) scaleX(0);
  transform-origin: left;
  z-index: -1;
  transition: transform 0.5s ease-in-out;
}

.menu-item:hover > a::before {
  transform: skew(-20deg) scaleX(1);
}

.menu-item:hover > a {
  color: #7f368c;
}

/* Submenús */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  border: 2px solid #52bbeb;
  list-style: none;
  padding: 10px 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 5px;
  z-index: 200;
}

.submenu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.submenu li a:hover {
  background: #52bbeb;
  color: #000;
}

/* Mostrar submenú al pasar cursor */
.menu-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* -------------------
   HEADER
   ------------------- */
.brand { color: #A5c717; font-weight: 700; letter-spacing: 1px; }
.nav a { color: #fff; text-decoration: none; margin-left: 20px; font-weight: 600; }

/* -------------------
   HERO + MASK (trapecio)
   ------------------- */
.hero {
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mask {
  position: relative;
  width: 95vw;
  height: 90vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  clip-path: polygon(12% 0%, 100% 0%, 88% 100%, 0% 100%);
}

.hero-mask video {
  position: absolute;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.6);
}

.cursor-circle {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero:hover .cursor-circle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-controls {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 18px;
}
.volume-btn {
  background: rgba(240, 192, 0, 0.95);
  border: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

.hero-content {
  position: absolute;
  text-align: center;
  z-index: 5;
}
.hero-content h1 {
  font-size: clamp(28px, 5vw, 56px);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.7);
}
.hero-content p {
  margin-top: 10px;
  font-size: 1.1rem;
}

/* -------------------
   CARRUSEL (MODIFICADO PARA LOGOS/PATROCINADORES)
   ------------------- */
.carousel { 
    background: #111; 
    /* Aumentamos la altura de la franja del carrusel */
    height: 18vh; /* Más grande que el 15vh anterior */
    display: flex;
    align-items: center; 
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    /* Velocidad ajustada para un loop continuo */
    animation: scroll 15s linear infinite; 
    align-items: center; 
}

.carousel-item {
    /* Muestra aproximadamente 5 ítems a la vez (100% / 5 = 20%) */
    flex: 0 0 20%; 
    height: 100%;
    display: flex; 
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.carousel-item img {
    width: 100%; 
    height: 90%; /* Damos un poco más de altura al logo */
    object-fit: contain; 
    /* ELIMINAMOS el filtro de escala de grises y la opacidad baja. 
       Ahora se verán SIEMPRE a color y con opacidad total (1). */
    filter: none;
    opacity: 1;
    transition: none; /* Quitamos la transición innecesaria */
}

/* ELIMINAMOS el :hover, ya no hace falta. */
/* El logo no se detiene ni cambia de color. */

/* La animación @keyframes permanece igual */
@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* -------------------
   INFO GRID (4 columnas)
   ------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 4%;
  align-items: center;
  background: #050505;
}
.grid-item.media {
  height: 60vh;
  overflow: hidden;
  border-radius: 10px;
}
.grid-item.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.grid-item.info {
  background: rgba(12, 12, 12, 0.95);
  color: #ddd;
  padding: 24px;
  border-radius: 10px;
}
.grid-item.info h3 { color: #A5c717; margin-bottom: 10px; }

@media (max-width: 900px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .info-grid { grid-template-columns: 1fr; }
}

/* -------------------
   INFO SECTION
   ------------------- */
.info-section {
  background: #0b0b0b;
  flex-direction: row;
  gap: 30px;
  padding: 0 6%;
}
.info-section img {
  width: 45%;
  border-radius: 10px;
  object-fit: cover;
}
.info-text {
  width: 45%;
}

/* -------------------
   INTERACTIVE GALLERY (6 CARDS: 3 SECCIONES DE 2 CARDS CADA UNA)
   ------------------- */

/* Contenedor de la Fila: Usa la altura completa de la pantalla */
.gallery-row-100vh {
    /* La regla global de SECTION (height: 100vh) ya aplica aquí */
    background: #060606;
}

/* Contenedor de Grid: Distribuye 2 columnas */
.gallery-grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 6%;
    width: 100%;
    height: 100%; 
    align-items: center; /* Centra las tarjetas verticalmente */
}


/* 1. Contenedor del item (Establece la perspectiva 3D) */
.ig-item {
  perspective: 1000px; 
  cursor: pointer;
  height: 85vh; /* La tarjeta ocupa la mayor parte de la altura de la sección */
}

/* 2. Contenedor que rota (CRUCIAL para el 3D) */
.media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.8s; 
  transform-style: preserve-3d; 
}

/* Estado de Volteo (Controlado por JS) */
.ig-item.is-flipped .media-wrap {
  transform: rotateY(180deg);
}

/* 3. Estilo base para el Frente y el Dorso */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; 
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Alinea el caption al fondo */
}

/* FRENTE: Imagen y Caption */
.flip-card-front {
  transform: rotateY(0deg); 
}
.ig-img-front {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    filter: brightness(0.7);
}

/* DORSO: Contiene la lógica de Imagen/Video */
.flip-card-back {
  transform: rotateY(180deg); 
  background: #000;
}

/* Contenedor de Medios del Dorso */
.media-content {
    position: absolute;
    inset: 0;
}
.ig-img-back, .ig-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

/* Visibilidad por defecto en el dorso: Imagen estática visible, Video oculto */
.ig-img-back {
    opacity: 1; 
}
.ig-video { 
    opacity: 0; 
}

/* === EFECTO HOVER en el DORSO: El video aparece (REQUIERE JS PARA REPRODUCCIÓN) === */
.ig-item.is-flipped:hover .ig-img-back {
    opacity: 0; /* OCULTA la imagen estática */
}
.ig-item.is-flipped:hover .ig-video {
    opacity: 1; /* MUESTRA el video */
}


/* Estilos del Caption (Común para Frente y Dorso) */
.ig-caption { 
    position: relative; 
    z-index: 5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    padding: 30px 15px 15px; 
    text-align: center; 
    width: 100%;
    color: #fff;
    /* transition: background 0.3s ease; */
}
.ig-caption strong { 
    color: #A5c717; 
    display: block; 
    margin-bottom: 5px; 
    font-size: 1.3rem;
}
.ig-caption p {
    font-size: 0.9rem;
}

/* Responsive: Una columna en móviles */
@media (max-width: 1024px) {
    .gallery-grid-container { 
        grid-template-columns: 1fr; 
        /* En móvil, la sección necesitará más altura para mostrar 2 tarjetas */
    }
    .gallery-row-100vh {
        height: auto; /* Permite que el contenido defina la altura */
        min-height: 100vh;
    }
    .ig-item {
        height: 50vh; 
    }
}
/* -------------------
   COUNTER SECTION
   ------------------- */
.counter-section {
  flex-direction: column;
  background: #111;
  text-align: center;
}
.counter-number {
  font-size: 4rem;
  font-weight: 700;
  color: #A5c717;
}
.counter-label {
  font-size: 1.2rem;
  color: #ddd;
}

/* -------------------
   FOOTER
   ------------------- */
.site-footer {
  position: relative;
  height: 40vh;
  background: #000;
  color: #ccc;
  text-align: center;
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.site-footer a { color: #A5c717; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* -------------------
   RESPONSIVE
   ------------------- */
@media (max-width: 1024px) {
  .info-section { flex-direction: column; }
  .info-section img, .info-text { width: 100%; }
  .interactive-gallery { grid-template-columns: 1fr; }
}

/* === NUEVA SECCIÓN: CARDS INTERACTIVAS === */
.cards-section {
  background: #0a0a0a;
  text-align: center;
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cards-title {
  color: #A5c717;
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 60px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  position: relative;
  width: 320px;
  height: 420px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.4s ease;
  padding: 20px;
  text-align: center;
}

.card-overlay h3 {
  color: #A5c717;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.card:hover .card-overlay {
  opacity: 1;
}

/* Responsivo */
@media (max-width: 900px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 360px;
  }
}

/* === titulo e info === */

.fullscreen-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #222, #000);
  padding: 40px;
  text-align: center;
}

.fullscreen-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #52bbeb;
}

.fullscreen-section p {
  max-width: 800px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ddd;
}

/* === SECCIÓN DE JUGADAS / PIZARRÓN (ESTILOS MODIFICADOS PARA CÍRCULOS) === */
.plays-section {
  position: relative;
  background: #111;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 10px;
  overflow: hidden; 
}

.plays-title {
  color: #A5c717;
  font-size: 2.5rem;
  margin-bottom: 20px;
  z-index: 5;
}

.board {
  position: relative;
  width: 90%;
  max-width: 1200px;
  min-height: 75vh;
  background: #0a0a0a;
  border-radius: 10px;
  overflow: hidden;
}

.board-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.6);
}

/* === Círculo Principal del Paso (.play-step ahora es el contenedor) === */
.play-step {
  position: absolute;
  width: 70px; /* Tamaño del círculo */
  height: 70px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease;
}

.play-step:hover {
  transform: scale(1.1);
}

.play-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #A5c717; /* Fondo del círculo */
  border: 3px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #111;
  font-weight: 900;
  font-size: 1.8rem;
  transition: background 0.3s;
}

.play-step:hover .play-circle {
  background: #ffdb58; /* Color de hover */
}

/* === Texto Descriptivo (Controlado por JS) === */
.play-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px; /* Ancho de la caja de texto */
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Ignorar clics en el texto */
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 20;
  border: 1px solid #A5c717;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.play-text h3 {
  color: #A5c717;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.play-text p {
  font-size: 0.9rem;
  line-height: 1.4;
}

/* === Flechas SVG (Mantenemos la estructura) === */
.arrows-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* === Versión móvil (Aseguramos que solo se muestre la lista de pasos) === */
@media (max-width: 768px) {
  /* Ocultamos totalmente la versión de escritorio */
  .board,
  .board * {
    display: none !important;
    visibility: hidden;
    opacity: 0;
  }

  /* Mostramos la versión móvil */
  .mobile-steps {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    background: #111;
    padding: 30px 15px;
  }

  .mobile-step {
    width: 90%;
    max-width: 350px;
    text-align: center;
  }

  .step-rect {
    background: #A5c717;
    color: #111;
    padding: 15px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
  }

  .mobile-step p {
    color: #ddd;
    margin-top: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .arrow-down {
    font-size: 2rem;
    color: #A5c717;
    margin-top: 10px;
    animation: bounce 1.2s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
  }
}

/* === GALERÍA INTERACTIVA === */
.gallery-section {
  width: 100%;
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.gallery-row {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.gallery-group {
  position: relative;
  width: 100%;
  max-width: 1400px;
  height: 45vh;
  display: flex;
  transition: transform 1s ease;
}

.gallery-img {
  flex: 1;
  width: 50%;
  object-fit: cover;
  height: 100%;
  transition: transform 1s ease, opacity 1s ease;
}

/* Ocultas inicialmente las imágenes ocultas */
.hidden-img {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

/* Posiciones de las imágenes ocultas */
.top-row .hidden-img:nth-child(3) { left: 100%; } /* img5 */
.top-row .hidden-img:nth-child(4) { left: 150%; } /* img6 */
.bottom-row .hidden-img:nth-child(3) { right: 100%; } /* img7 */
.bottom-row .hidden-img:nth-child(4) { right: 150%; } /* img8 */

/* === EFECTOS DE HOVER === */

/* Fila superior: se mueve a la izquierda */
.top-row:hover .gallery-group {
  transform: translateX(-100%);
}
.top-row:hover .hidden-img {
  opacity: 1;
}

/* Fila inferior: se mueve a la derecha */
.bottom-row:hover .gallery-group {
  transform: translateX(100%);
}
.bottom-row:hover .hidden-img {
  opacity: 1;
}

/* -------------------
   PARALLAX DE CAPAS EN INFO SECTION
   ------------------- */
.info-section {
  background: #0b0b0b;
  flex-direction: row;
  gap: 30px;
  padding: 0 6%;
}

/* Regla genérica de ancho para ambos tipos de contenido */
.info-text {
  width: 45%;
}

/* Contenedor principal de las capas Parallax */
.parallax-media-container {
    position: relative;
    width: 45%; 
    height: 90vh; 
    border-radius: 10px;
    overflow: hidden;
    /* ESTO ES CRUCIAL para el efecto 3D controlado por JS */
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out; /* Suaviza el reset al salir del mouse */
}

/* Estilo base para todas las capas */
.parallax-layer {
    position: absolute;
    inset: 0;
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    /* La transición se mantiene para que el movimiento de las capas sea suave */
    transition: transform 0.4s ease-out; 
}

/* 1. IMÁGENES PARA LA PRIMERA SECCIÓN (.media-1) */
.media-1 .layer-1 {
    background-image: url('../img/Assets/imagen 1 land anim/1-1.webp'); /* Capa 1: Fondo (Lento) */
    filter: brightness(0.7);
}
.media-1 .layer-2 {
    background-image: url('../img/Assets/imagen 1 land anim/2-1.webp'); /* Capa 2: Medio */
}
.media-1 .layer-3 {
    background-image: url('../img/Assets/imagen 1 land anim/3-1.webp'); /* Capa 3: Frente (Rápido) */
}

/* 2. IMÁGENES PARA LA SEGUNDA SECCIÓN (.media-2) */
/* **REEMPLAZA LAS RUTAS CON TUS IMÁGENES DEL SEGUNDO SET** */
.media-2 .layer-1 {
    background-image: url('../img/Assets/imagen 2 land anim/1-2.webp'); 
    filter: brightness(0.7);
}
.media-2 .layer-2 {
    background-image: url('../img/Assets/imagen 2 land anim/2-2.webp'); 
}
.media-2 .layer-3 {
    background-image: url('../img/Assets/imagen 2 land anim/3-2.webp'); 
}

/* 3. IMÁGENES PARA LA SEGUNDA SECCIÓN (.media-2) */
/* **REEMPLAZA LAS RUTAS CON TUS IMÁGENES DEL SEGUNDO SET** */
.media-3 .layer-1 {
    background-image: url('../img/Assets/imagen 1 land anim/1-1.webp'); /* Capa 1: Fondo (Lento) */
    filter: brightness(0.7);
}
.media-3 .layer-2 {
    background-image: url('../img/Assets/imagen 1 land anim/2-1.webp'); /* Capa 2: Medio */
}
.media-3 .layer-3 {
    background-image: url('../img/Assets/imagen 1 land anim/Beca.webp'); /* Capa 3: Frente (Rápido) */
}

/* 4. IMÁGENES PARA LA SEGUNDA SECCIÓN (.media-2) */
/* **REEMPLAZA LAS RUTAS CON TUS IMÁGENES DEL SEGUNDO SET** */
.media-4 .layer-1 {
    background-image: url('../img/Assets/imagen 1 land anim/1-1.webp'); /* Capa 1: Fondo (Lento) */
    filter: brightness(0.7);
}
.media-4 .layer-2 {
    background-image: url('../img/Assets/imagen 1 land anim/2-1.webp'); /* Capa 2: Medio */
}
.media-4 .layer-3 {
    background-image: url('../img/Assets/imagen 1 land anim/USA\ Flag\ 3d.webp'); /* Capa 3: Frente (Rápido) */
}

/* 5. IMÁGENES PARA LA SEGUNDA SECCIÓN (.media-2) */
/* **REEMPLAZA LAS RUTAS CON TUS IMÁGENES DEL SEGUNDO SET** */
.media-5 .layer-1 {
    background-image: url('../img/Assets/imagen 1 land anim/1-1.webp'); /* Capa 1: Fondo (Lento) */
    filter: brightness(0.7);
}
.media-5 .layer-2 {
    background-image: url('../img/Assets/imagen 1 land anim/2-1.webp'); /* Capa 2: Medio */
}
.media-5 .layer-3 {
    background-image: url('../img/Assets/imagen 1 land anim/Propuesta\ de\ Valor.webp'); /* Capa 3: Frente (Rápido) */
}

/* El movimiento (translate/rotate) ahora está totalmente en el JavaScript */
@media (max-width: 1024px) {
    .info-section { flex-direction: column; }
    /* Aplicamos el 100% de ancho tanto al texto como al contenedor parallax */
    .info-text, .parallax-media-container { width: 100%; }
}

/* -------------------
   SECCIÓN DE FAQ (ACORDEÓN)
   ------------------- */

.faq-section {
    background: #000;
    min-height: 100vh;
    padding: 100px 6%; 
    height: auto; 
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.faq-container {
    width: 100%;
    max-width: 900px;
}

.faq-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #A5c717;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    background: #111;
    color: #fff;
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

.faq-question:hover,
.faq-item.active .faq-question {
    background: #181818;
    color: #A5c717;
}

.faq-question span {
    flex-grow: 1;
}

/* Estilo de la flecha */
.arrow {
    margin-left: 20px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* Contenedor de la Respuesta */
.faq-answer {
    max-height: 0;
    transition: max-height 0.4s ease-out;
    padding: 0 25px;
    background: #0c0c0c;
}

/* Estado Activo: La respuesta se despliega */
.faq-item.active .faq-answer {
    max-height: 300px; /* Suficiente para el contenido */
    padding: 15px 25px 20px;
    border-left: 3px solid #A5c717;
}

.faq-answer p {
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
    /* Usar una fuente más legible para texto largo */
    font-family: 'Poppins', sans-serif; 
    font-weight: 400;
}

/* === NUEVA SECCIÓN: CARDS INTERACTIVAS (FLIP 3D) === */
.cards-section {
  /* Mantener el contenedor base */
  background: #0a0a0a;
  text-align: center;
  padding: 80px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cards-title {
  color: #A5c717;
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 60px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cards-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 1. Contenedor de la Tarjeta (Establece la perspectiva) */
.card.flip-card {
    position: relative;
    width: 320px;
    height: 420px; 
    background: none !important; 
    box-shadow: none;
    perspective: 1000px; 
    cursor: pointer;
    transition: none; /* Eliminar transiciones innecesarias */
}

/* 2. Contenedor que rota (El 'Inner') */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s; 
    transform-style: preserve-3d; /* CRUCIAL para el 3D */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 
}

/* Estado de Volteo (añadido por JS al hacer clic) */
.card.is-flipped .flip-card-inner {
    transform: rotateY(180deg);
}

/* 3. Estilo base para el Frente y el Dorso */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; 
    backface-visibility: hidden; 
    border-radius: 15px;
    
    /* MODIFICACIÓN CLAVE: Cambia cover por contain */
    background-size: contain; 
    
    background-repeat: no-repeat; /* Importante para que no se repita */
    background-position: center;
    
    /* Rellena el espacio vacío con un color oscuro */
    background-color: #111; 

    display: flex;
    overflow: hidden;
}

/* FRENTE de la tarjeta */
.flip-card-front {
    transform: rotateY(0deg);
    align-items: flex-end; /* Alinea el overlay al fondo */
}

/* DORSO de la tarjeta */
.flip-card-back {
    transform: rotateY(180deg); 
    justify-content: center;
    align-items: center;
}

/* 4. Estilo del Overlay (Frente y Dorso) */
.card-overlay {
    /* Reutiliza el estilo base */
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Overlay del Frente: Siempre visible y degradado en la parte inferior */
.card.flip-card .card-overlay.front-overlay {
    position: absolute;
    bottom: 0;
    inset: auto 0 0 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
    opacity: 1; 
    transition: none;
    padding-bottom: 20px;
}
.card.flip-card .card-overlay h3 {
    color: #A5c717;
    margin-bottom: 10px;
    font-size: 1.6rem;
}
.card.flip-card .card-overlay p {
    font-size: 3rem;
    line-height: 1.4;
}

/* Overlay/Contenido del Dorso (Botón de YouTube) */
.flip-card-back .back-overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Estilo del Enlace de YouTube */
.youtube-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}
.youtube-link:hover {
    color: #a5c717; /* Color rojo de YouTube al pasar el mouse */
}
.youtube-icon {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #ff0000; /* Icono de play en rojo */
    transition: transform 0.2s ease;
}
.youtube-link:hover .youtube-icon {
    transform: scale(1.1);
}
.youtube-link p {
    font-size: 1rem;
    font-weight: 700;
}

/* -------------------
   COUNTER SECTION - CORREGIDO PARA 2x3
   ------------------- */
.counter-section {
    background: #111; /* Fondo oscuro */
    
    /* MODIFICACIÓN CLAVE: Ocupar toda la pantalla */
    height: 100vh;
    min-height: 500px; /* Mínimo para móviles */
    
    padding: 80px 5%;
    
    /* Centrado de contenido */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el grid verticalmente en la 100vh */
    align-items: center; 
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* TRES COLUMNAS */
    gap: 50px 20px; /* Aumentamos la separación para el espacio vertical */
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.counter-wrap {
    /* Mantiene los wraps centrados en sus celdas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.counter-number {
    /* Aseguramos que el número sea muy visible */
    font-size: clamp(3rem, 7vw, 6rem); 
    color: #A5c717;
    font-family: 'good-times', sans-serif;
    margin-bottom: 5px;
}

.counter-label {
    font-size: 1.1rem;
    color: #ccc;
    text-transform: uppercase;
    font-weight: 500;
}


/* Adaptación para dispositivos móviles (Responsivo) */
@media (max-width: 768px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
        gap: 30px 15px;
    }
}
@media (max-width: 480px) {
    .counter-grid {
        grid-template-columns: 1fr; /* 1 columna en teléfonos pequeños */
    }
}

/* -------------------
   SECCIÓN DE VIDEO FULLSCREEN (100VH)
   ------------------- */
.video-section {
    position: relative;
    width: 100vw;
    height: 100vh; /* Ocupa la pantalla completa */
    overflow: hidden;
    
    /* Centrar el contenido que va encima del video */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Regla para hacer que el video cubra el 100% y mantenga la proporción */
.fullscreen-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1; /* Fondo */
    transform: translate(-50%, -50%); /* Centrado perfecto */
    background-size: cover;
}

/* Overlay de contenido */
.video-content-overlay {
    position: absolute; /* Cambiamos a 'absolute' para que se posicione sobre el video */
    inset: 0;          /* Establece top: 0, right: 0, bottom: 0, left: 0 */
    width: 100%;       /* Ocupa el 100% del ancho de la sección padre */
    height: 100%;      /* Ocupa el 100% del alto de la sección padre (100vh) */
    z-index: 2; /* Encima del video */
    
    /* Fondo semi-transparente que ahora cubre toda la pantalla */
    background: rgba(0, 0, 0, 0.7); /* Aumentamos la opacidad para mejor contraste */
    
    /* Centrar el texto y el CTA dentro del overlay */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.video-content-overlay h2 {
    color: #A5c717;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
}

.video-content-overlay p {
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-bottom: 30px;
}

.btn-cta {
    /* Estilos para tu botón de llamada a la acción */
    display: inline-block;
    padding: 15px 30px;
    background: #A5c717;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-cta:hover {
    background: #fff;
}

/* ===================
   DEFINICIÓN DE FUENTES LOCALES
   =================== */

/* Fuente Open Sans (usada para texto de cuerpo, debe ser legible) */
@font-face {
  font-family: 'Open Sans';
  src: url('../Fonts/Open_Sans/static/OpenSans-Regular.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../Fonts/Open_Sans/static/OpenSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../Fonts/Open_Sans/static/OpenSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../Fonts/Open_Sans/static/OpenSans-Regular.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
/* Asegúrate de que las rutas sean correctas según tu estructura de carpetas: 
   ../Fonts/Open_Sans/... 
*/

/* === REGLA PARA APLICAR LA FUENTE DE IMPACTO CURSIVA A LOS TÍTULOS === */
h1, h2, h3, h4, h5, h6, .brand, .counter-number, .cards-title, .plays-title, .faq-title {
  font-family: "good-times", sans-serif;
  font-weight: 700; 
  font-style: italic; /* ¡ESTE ES EL CAMBIO CLAVE para la cursiva! */
}

/* =======================================
   NUEVA GALERÍA DE TARJETAS SIMPLES (CLASES - SOLO IMAGEN)
   ======================================= */
/* 1. Estilo para la sección contenedora */
.gallery-section-simple {
    min-height: 100vh; 
    height: auto; 
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding: 40px 6%;
}

/* 2. Contenedor de la cuadrícula de 2 columnas */
.card-grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    
    /* CAMBIO 1: Aumentamos la separación entre tarjetas */
    gap: 80px; 
    
    width: 100%;
    /* CAMBIO 2: Aumentamos el tamaño máximo para dar más espacio a las tarjetas */
    max-width: 1100px; 
    justify-items: center; /* Mantiene el centrado dentro de las columnas */
}

/* 3. Estilo del Enlace (La Card) */
.simple-card-link {
    display: block;
    width: 100%;
    
    /* CAMBIO 3: Tarjeta más ancha */
    max-width: 550px; 
    
    /* CAMBIO 4: Tarjeta más alta */
    height: 75vh; 
    
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); 
    line-height: 0; 
}

.simple-card-link:hover {
    transform: scale(1.03); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7); 
}

/* 4. Estilo de la Imagen */
.card-image-only {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Asegura que la imagen completa se vea */
    display: block;
    transition: filter 0.3s ease;
}

.simple-card-link:hover .card-image-only {
    filter: brightness(0.9);
}


/* Responsive para Móviles: 1 columna (sin cambios) */
@media (max-width: 768px) {
    .gallery-section-simple {
        min-height: auto;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .card-grid-2-cols {
        grid-template-columns: 1fr; 
        max-width: 400px;
        gap: 30px; 
    }
    .simple-card-link {
        height: 40vh; 
        max-width: 100%;
    }
}

/* =======================================
   SECCIÓN DE INFORMACIÓN LEGAL (Fondo Negro)
   ======================================= */
/* REGLAS CRÍTICAS PARA LA SECCIÓN LEGAL */
/* =======================================
   SECCIÓN DE INFORMACIÓN LEGAL (Fondo Negro)
   ======================================= */
.legal-section {
    /* *** MODIFICACIÓN CRÍTICA PARA VISIBILIDAD *** */
    opacity: 1 !important; /* Fuerza la visibilidad inmediata */
    transform: translateY(0) !important; /* Desactiva la animación */
    /* ****************************************** */
    
    background-color: #000; 
    min-height: 100vh; 
    height: auto; /* Permite que la sección crezca */
    padding: 100px 0; 
    display: block; 
}
/* ... el resto de reglas internas para .legal-container, h1, p, etc., están bien ... */

.legal-container {
    width: 90%;
    max-width: 950px; 
    margin: 0 auto; /* Centra el contenedor de texto */
    color: #fff;
}
/* ... y el resto de reglas para h1, h2, p, ul, ol ... */

.legal-title {
    /* Usa la fuente Good Times Cursiva/Italic */
    font-family: "good-times", sans-serif; 
    font-style: italic;
    color: gold;
    text-align: center;
    margin-bottom: 20px; /* Reducido para acercar la fecha de actualización */
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.last-update {
    text-align: center;
    color: #999;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-intro {
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-content h2 {
    /* Subtítulos para secciones */
    color: gold;
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.legal-content p, .legal-content ul, .legal-content ol { /* Agregué OL */
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #ccc;
    padding-left: 20px; /* Espacio para listas */
}
.legal-content ul, .legal-content ol {
    margin-bottom: 30px;
    list-style-position: outside;
    padding-left: 30px;
}
.legal-content ul li, .legal-content ol li {
    margin-bottom: 10px;
}


.legal-content strong {
    color: #fff;
}

.legal-content a {
    color: gold;
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}

/* -------------------
   FOOTER: HC SCHOLARSHIPS (NUEVA VERSIÓN GRID)
   ------------------- */
.site-footer {
    position: relative;
    background: #080808; /* Color casi negro para contraste */
    color: #ccc;
    padding: 60px 5%; /* Espacio interno */
    font-size: 0.95rem;
    line-height: 1.6;
    height: auto;
}

/* Contenedor principal de la cuadrícula (3 Columnas) */
.footer-grid-container {
    display: grid;
    /* 3 columnas, responsivas */
    grid-template-columns: repeat(3, minmax(220px, 1fr)); 
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto 50px auto; /* Centrar la cuadrícula */
}

/* Estilo para Títulos (HC Scholarships, Contacto, Enlaces, Legal, Redes) */
.footer-col h2, .footer-col h3 {
    color: #A5c717; 
    margin-bottom: 15px;
    /* Usar la fuente de impacto que ya tienes */
    font-family: "good-times", sans-serif;
    font-weight: 700; 
    font-style: italic; 
}
.footer-col h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.footer-col h3 {
    font-size: 1.2rem;
    margin-top: 25px; 
}
.footer-col p {
    margin-bottom: 15px;
}

/* Estilo para los bloques de enlaces (todos los grupos) */
.footer-links-group a {
    color: #ccc;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
    display: block; /* Para que cada enlace ocupe una línea */
}
.footer-links-group a:hover {
    color: #A5c717;
    text-decoration: underline;
}

/* Columna de Redes Sociales: Estilizado como lista horizontal para mejor look */
.social-icons-group {
    display: flex;
    flex-direction: row; /* Coloca los iconos horizontalmente */
    gap: 15px;
}
.social-icons-group a {
    /* Desactivamos el 'display: block' de la regla anterior para esta clase */
    display: inline-block; 
    text-decoration: none;
    font-weight: 600;
}

/* Sección de Aviso (Disclaimer) */
.footer-disclaimer {
    max-width: 1000px;
    margin: 20px auto 40px auto;
    padding: 20px;
    background: rgba(165, 199, 23, 0.1); 
    border-radius: 5px;
    text-align: center;
    border-left: 3px solid #A5c717;
}
.footer-disclaimer p {
    color: #ddd;
    font-size: 0.85rem;
    margin: 0;
}

/* Copyright Final */
.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-copyright p {
    font-size: 0.8rem;
    color: #777;
    margin: 0;
}

/* Responsive para el Footer */
@media (max-width: 900px) {
    .footer-grid-container {
        /* Pasa a 2 columnas en tablets */
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .site-footer {
        text-align: center;
    }
    .footer-grid-container {
        /* Pasa a 1 columna en móviles pequeños */
        grid-template-columns: 1fr;
    }
    .footer-links-group, .social-icons-group {
        /* Centra los enlaces y las redes en vista móvil */
        align-items: center; 
        justify-content: center;
    }
    /* El aviso y el copyright se centran automáticamente */
}

/* ========================================= */
/* 1. @media (max-width: 900px) - Tablet / Landscape */
/* ========================================= */
@media (max-width: 900px) {
    
    /* --- NAVEGACIÓN PRINCIPAL --- */
    /* Reduce el padding para ganar espacio */
    .site-header .header-inner {
        padding: 0 3%;
    }

    /* Oculta los submenús al pasar a tablet/móvil, si no se usan en el diseño responsivo */
    .navbar .submenu {
        display: none !important; 
    }

    /* --- FOOTER (Ajuste de columnas) --- */
    .footer-grid-container {
        /* Pasa de 3 a 2 columnas para mejor uso del espacio horizontal */
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* --- SECCIONES DE INFO (Parallax) --- */
    .info-section .info-container {
        flex-direction: column; /* Apila el texto sobre la imagen/video */
        gap: 40px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .info-section .text-content,
    .info-section .media-content {
        width: 90%; /* Ancho completo */
        max-width: 700px;
    }
    
    /* --- SECCIÓN GALERÍA INTERACTIVA (4 Columnas a 2) --- */
    .interactive-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* ========================================= */
/* 2. @media (max-width: 600px) - Teléfono Móvil */
/* ========================================= */
@media (max-width: 600px) {

    /* === ANULACIÓN TOTAL DE VISIBILIDAD Y ALTURA FIJA === */
    /* La regla más importante: Atacamos directamente la etiqueta 'section' */
    section,
    section.hero-section,
    section.cards-section,
    section.plays-section,
    section.info-section,
    section.fullscreen-section
    {
        /* 1. CLAVE: Anulamos la altura y permitimos scroll vertical */
        height: auto !important; 
        min-height: auto !important;
        overflow: visible !important;
        
        /* 2. CLAVE: Anulamos el estado 'oculto' de la animación */
        opacity: 1 !important; 
        transform: none !important;
        
        /* Aseguramos que el contenido tenga espacio y no fuerce scroll horizontal */
        padding-top: 50px !important;
        padding-bottom: 50px !important;
        overflow-x: hidden !important; 
    }
    
    /* Si existe una clase .visible o similar, la reforzamos */
    section.visible {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* --- NAVEGACIÓN --- */
    .hamburger-menu { display: block; }
    .navbar .menu {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000;
        z-index: 999;
    }
    .navbar .menu.active { display: flex; }
    .navbar .menu-item { margin: 10px 0; text-align: center; width: 100%; }
    .navbar .menu-item a { display: block; padding: 10px 0; font-size: 1.1rem; }
    .navbar .menu-item .submenu { display: none !important; }
    .site-header .brand { font-size: 1.2rem; }
    
    /* --- TIPOGRAFÍA Y SECCIONES INFO --- */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    p, .legal-content p, .legal-content ul, .legal-content ol {
        font-size: 0.88rem;
        line-height: 1.5;
    }
    .info-section {
        flex-direction: column !important;
        gap: 30px;
        padding: 50px 5% !important;
        align-items: center;
        text-align: center;
    }

    /* ----------------------------------------------------------------------------------- */
    /* === GESTIÓN DE CARDS === */

    /* [A] EXCEPCIÓN: VENTAJAS CLAVE (La 1ra .cards-section) - Scroll Horizontal */
    section.cards-section:nth-of-type(1) .cards-container {
        display: flex !important;
        grid-template-columns: unset !important; 
        overflow-x: scroll !important; 
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory; 
        width: 100vw !important; 
        margin: 0 !important; 
        padding: 0 0 20px 5% !important; 
        gap: 20px !important;
    }
    section.cards-section:nth-of-type(1) .card {
        flex: 0 0 80vw !important; 
        scroll-snap-align: start;
        width: 80vw !important; 
        height: 300px !important; 
        margin: 0 !important;
    }
    
    /* [B] REGLA GENERAL: APILAMIENTO VERTICAL (para 2da, 3ra, etc. sección de tarjetas) */
    .cards-section .cards-container {
        display: grid !important;
        grid-template-columns: 1fr !important; 
        gap: 30px !important;
        width: 90% !important;
        max-width: 450px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    .cards-section .card {
        width: 100% !important; 
        height: 350px !important; 
        max-width: 350px !important;
        margin: 0 auto !important; 
    }

    /* ----------------------------------------------------------------------------------- */
    
    /* === ESTRATEGIA DE JUEGO (Tablero - Stacking) === */
    section.plays-section {
        padding: 50px 5% !important;
    }
    .plays-section .board {
        /* FUERZA LA ANULACIÓN de posición y el cambio a apilamiento */
        position: relative !important; 
        width: 100% !important;
        height: auto !important;
        display: flex !important; 
        flex-direction: column !important;
        gap: 40px !important;
        padding: 20px 0 !important;
    }
    .play-step {
        /* FUERZA LA ANULACIÓN de posición absoluta en cada paso */
        position: static !important; 
        transform: none !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important; 
        display: flex !important;
        align-items: flex-start;
        gap: 15px;
    }
    .play-step::before {
        content: attr(data-step); /* Si tienes el atributo en tu HTML */
        display: block;
        width: 30px;
        height: 30px;
        line-height: 30px;
        text-align: center;
        background-color: #a5c717; 
        color: #000;
        border-radius: 50%;
        font-weight: bold;
        flex-shrink: 0;
        margin-top: 5px;
    }
    .play-step .play-text {
        position: static !important;
        transform: none !important;
        opacity: 1 !important; 
        visibility: visible !important;
        width: auto !important;
        text-align: left !important;
    }
    .arrows-svg {
        display: none !important;
    }
    
    /* --- FOOTER --- */
    .footer-grid-container { grid-template-columns: 1fr; text-align: center; }
    .site-footer { font-size: 0.8rem; }
}

@media (max-width: 600px) {
    
    /* ... otros estilos de móvil ... */

    /* OCULTAR COMPLETAMENTE LA SECCIÓN DE ESTRATEGIA DE JUEGO */
    section.plays-section {
        display: none !important;
        visibility: hidden !important; 
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ... el resto de tu código @media (max-width: 600px) ... */
}