/* ============================================= */
/* VARIABLES GLOBALES */
/* ============================================= */
:root {
    --color-primario: #2c3e50;       /* Azul oscuro para títulos y navegación */
    --color-secundario: #e74c3c;     /* Rojo para acentos y botones */
    --color-terciario: #f1c40f;      /* Amarillo para hover y detalles */
    --color-texto: #333;             /* Color principal de texto */
    --color-texto-claro: #ecf0f1;    /* Texto claro para fondos oscuros */
    --color-fondo: #f9f9f9;          /* Color de fondo general */
    --sombra: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transicion: all 0.3s ease;
}

/* ============================================= */
/* ESTILOS BASE */
/* ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--color-texto);
    background-color: var(--color-fondo);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================= */
/* ENCABEZADO - Estilos independientes */
/* ============================================= */
.header-con-fondo {
    position: relative; /* Posiciona el encabezado de forma relativa para overlays */
    height: 100vh; /* Altura completa de la ventana */
    min-height: 500px; /* Altura mínima para pantallas pequeñas */
    background: url('../img/zonafamilia.jpg') no-repeat center center/cover; /* Imagen de fondo centrada y cubierta */
    display: flex; /* Usa flexbox para centrar contenido */
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    text-align: center; /* Centra el texto */
    color: white; /* Color de texto blanco */
    /* Asegura que el encabezado no afecte otros elementos */
    margin-bottom: 0;
}

.header-con-fondo .overlay {
    position: absolute; /* Posiciona el overlay de forma absoluta dentro del header */
    top: 0; /* Alinea el overlay al borde superior */
    left: 0; /* Alinea el overlay al borde izquierdo */
    width: 100%; /* El overlay ocupa todo el ancho */
    height: 100%; /* El overlay ocupa toda la altura */
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%); /* Degradado oscuro para mejorar legibilidad */
}

.header-content {
    position: relative; /* Permite posicionar elementos hijos relativos a este contenedor */
    z-index: 2; /* Asegura que el contenido esté sobre el overlay */
    padding: 20px; /* Espaciado interno */
    animation: fadeIn 1.5s ease; /* Animación de aparición suave */
}

.header-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Tamaño de fuente responsivo */
    margin-bottom: 20px; /* Espacio debajo del título */
    text-shadow: 2px 2px 4px rgba(9, 9, 7, 0.952); /* Sombra amarilla para resaltar el texto */
    letter-spacing: 1px; /* Espaciado entre letras */
}

.header-content p {
    font-size: clamp(1.2rem, 2vw, 1.8rem); /* Tamaño de fuente responsivo */
    margin-bottom: 30px; /* Espacio debajo del párrafo */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Sombra negra para mejorar legibilidad */
    max-width: 800px; /* Ancho máximo del párrafo */
    margin-left: auto; /* Centra horizontalmente */
    margin-right: auto; /* Centra horizontalmente */
}

/* ============================================= */
/* BARRA DE NAVEGACIÓN - Estilos independientes */
/* ============================================= */
nav {
    background-color: var(--color-terciario); /* Fondo amarillo */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 0;
}

nav .container {
    padding: 0;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: var(--color-primario); /* Letras azules */
    text-decoration: none;
    font-weight: 600;
    transition: var(--transicion);
    padding: 5px 10px;
    border-radius: 4px;
    background: transparent;
}

nav ul li a:hover {
    color: var(--color-secundario); /* Rojo para hover */
    background-color: rgba(44, 62, 80, 0.08); /* Azul oscuro muy suave al hover */
}

/* ============================================= */
/* CONTENIDO PRINCIPAL - Estilos independientes */
/* ============================================= */
main {
    padding: 40px 0;
    /* Asegura separación de header y footer */
    margin-top: 0;
    margin-bottom: 0;
}

.seccion {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

.seccion h2 {
    color: var(--color-primario);
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
    position: relative;
}

.seccion h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-secundario);
    margin: 15px auto;
}

.seccion p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}

/* Estilos para las canchas */
.canchas-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cancha-detalle {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--sombra);
    transition: transform 0.3s;
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
}

.cancha-detalle:hover {
    transform: translateY(-10px);
}

.cancha-imagen {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.5s;
    border-bottom: 4px solid var(--color-terciario);
}

.cancha-detalle:hover .cancha-imagen {
    transform: scale(1.07);
}

.cancha-info {
    padding: 28px 24px;
    font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
    font-size: 1.08rem;
    color: var(--color-texto);
}

.cancha-info h3 {
    color: var(--color-secundario);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.servicios-lista {
    list-style: none;
}

.servicios-lista li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #555;
}

.servicios-lista i {
    color: #2ecc71;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Galería de eventos */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
    padding: 0;
}

.item-galeria {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(44, 62, 80, 0.13);
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
    height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.item-galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1), filter 0.3s;
    filter: brightness(0.93) contrast(1.05);
    border-radius: 14px 14px 0 0;
}

.item-galeria:hover {
    box-shadow: 0 12px 32px rgba(44, 62, 80, 0.18);
    transform: translateY(-6px) scale(1.025);
}

.item-galeria:hover img {
    transform: scale(1.08) rotate(-1deg);
    filter: brightness(1) contrast(1.1);
}

.item-galeria .galeria-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(44,62,80,0.82) 70%, rgba(44,62,80,0.05) 100%);
    color: #fff;
    padding: 18px 20px 14px 20px;
    box-sizing: border-box;
    opacity: 0.96;
    transition: background 0.3s, opacity 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.item-galeria:hover .galeria-caption {
    opacity: 1;
    background: linear-gradient(0deg, rgba(231,76,60,0.92) 70%, rgba(44,62,80,0.05) 100%);
}

.galeria-caption h4 {
    margin: 0 0 6px 0;
    font-size: 1.18rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.galeria-caption p {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 400;
    color: #f1c40f;
    text-shadow: 0 1px 4px rgba(44,62,80,0.18);
}
/* ============================================= */
/* ZONA FAMILIA - Estilos independientes */
.galeria1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 40px;
    padding: 0;
}

.item-galeria1, .item-galeria {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(44, 62, 80, 0.13);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
    text-align: center;
    padding-bottom: 18px;
}

.item-galeria1 img, .item-galeria img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 14px 14px 0 0;
    transition: transform 0.4s cubic-bezier(.4,2,.6,1), filter 0.3s;
    filter: brightness(0.95) contrast(1.05);
}

.item-galeria1:hover, .item-galeria:hover {
    box-shadow: 0 12px 32px rgba(44, 62, 80, 0.18);
    transform: translateY(-6px) scale(1.025);
}

.item-galeria1:hover img, .item-galeria:hover img {
    transform: scale(1.08) rotate(-1deg);
    filter: brightness(1) contrast(1.1);
}

.item-galeria1 h3, .item-galeria h3 {
    margin-top: 18px;
    color: var(--color-primario);
    font-size: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.item-galeria1 p, .item-galeria p {
    margin-top: 10px;
    color: #666;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    padding: 0 12px;
}

/* Estilo especial para la galería de Zona Familia */
#zonafamilia .item-galeria {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#zonafamilia .item-galeria h3 {
    margin-top: 15px;
    color: var(--color-primario);
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
}

#zonafamilia .item-galeria p {
    margin-top: 10px;
    color: #666;
    text-align: center;
    width: 100%;
}

/* ============================================= */
/* FORMULARIO DE RESERVA - Estilos independientes */
/* ============================================= */
.formulario-flotante {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.form-contenido {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cerrar-form {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: var(--transicion);
}

.cerrar-form:hover {
    color: var(--color-secundario);
}

.form-contenido h2 {
    color: var(--color-primario);
    margin-bottom: 20px;
    text-align: center;
}

.grupo-form {
    margin-bottom: 20px;
}

.grupo-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primario);
}

.grupo-form input,
.grupo-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transicion);
}

.grupo-form input:focus,
.grupo-form select:focus {
    border-color: var(--color-secundario);
    outline: none;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

/* ============================================= */
/* PIE DE PÁGINA - Estilos independientes */
/* ============================================= */
footer {
    background-color: var(--color-primario);
    color: white;
    padding: 80px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image: 
        linear-gradient(135deg, rgba(241,196,15,0.4) 0%, rgba(44,62,80,0.9) 100%),
        url('/img/zonafamiliar3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-terciario), var(--color-primario));
}

footer .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer h3 {
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

footer h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--color-terciario);
    border-radius: 3px;
}

footer p {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
}

.contact-info i {
    color: var(--color-terciario);
    font-size: 1.4rem;
}

.redes-sociales {
    margin: 40px 0;
}

.redes-sociales h3 {
    margin-bottom: 25px;
}

.social-icons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icon {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-icon:hover {
    color: var(--color-terciario);
    transform: translateY(-5px) scale(1.1);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 5px 15px rgba(241,196,15,0.3);
}

.copyright {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

/* Efecto de partículas o elementos decorativos opcionales */
.footer-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
        background-attachment: scroll;
    }
    
    footer h3 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-icons-container {
        gap: 15px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
}

/* ============================================= */
/* COMPONENTES REUTILIZABLES */
/* ============================================= */
.reservar-btn {
    background-color: var(--color-secundario);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transicion);
    font-family: 'Open Sans', sans-serif;
}

.reservar-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}
.mensaje-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4CAF50;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-size: 16px;
  z-index: 9999;
  animation: aparecer 0.5s ease;
}

@keyframes aparecer {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================= */
/* ANIMACIONES */
/* ============================================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================= */
/* MEDIA QUERIES */
/* ============================================= */
@media (max-width: 768px) {
    /* Encabezado */
    .header-con-fondo {
        height: 80vh;
    }
    
    /* Navegación */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px;
    }
    
    /* Secciones */
    .seccion {
        padding: 40px 0;
    }
    
    .seccion h2 {
        font-size: 2rem;
    }
    
    /* Galerías */
    .galeria {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    /* Formulario */
    .form-contenido {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    /* Navegación */
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    /* Canchas */
    .canchas-container {
        grid-template-columns: 1fr;
    }
    
    /* Galería */
    .galeria {
        grid-template-columns: 1fr;
    }
    }
 /* =========================================
   MODAL PREMIUM F7 HIGUERETA
========================================= */

.formulario-flotante{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 25px;
}

/* CONTENEDOR */

.form-contenido{
  width: 100%;
  max-width: 920px;
  background: #ffffff;
  border-radius: 35px;
  padding: 45px;
  position: relative;
  overflow-y: auto;
  max-height: 95vh;

  animation: entradaModal .35s ease;

  box-shadow:
  0 30px 80px rgba(0,0,0,.35);
}

/* ANIMACION */

@keyframes entradaModal{

  from{
    opacity: 0;
    transform: scale(.92) translateY(40px);
  }

  to{
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* BOTON CERRAR */

.cerrar-form{
  position: absolute;
  top: 22px;
  right: 22px;

  width: 55px;
  height: 55px;

  border-radius: 18px;

  background: #f3f4f6;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 32px;

  color: #334155;

  cursor: pointer;

  transition: .3s;
}

.cerrar-form:hover{
  background: #ef4444;
  color: white;
  transform: rotate(90deg);
}

/* TITULO */

.titulo-modal{
  text-align: center;

  font-size: 3.3rem;

  font-weight: 800;

  color: #0f172a;

  margin-bottom: 10px;
}

.titulo-modal::after{
  content: "";

  display: block;

  width: 220px;
  height: 5px;

  margin: 18px auto 0;

  border-radius: 30px;

  background: linear-gradient(
    90deg,
    transparent,
    #22c55e,
    transparent
  );
}

/* GRID */

.categorias-grid{
  display: grid;

  grid-template-columns: repeat(4,1fr);

  gap: 22px;

  margin-top: 40px;
  margin-bottom: 40px;
}

/* CARDS */

.categoria-card{
  background: white;

  border: 2px solid #e5e7eb;

  border-radius: 28px;

  padding: 35px 20px;

  text-align: center;

  cursor: pointer;

  transition: .35s ease;

  position: relative;

  overflow: hidden;
}

.categoria-card:hover{

  transform: translateY(-8px);

  border-color: #22c55e;

  box-shadow:
  0 15px 30px rgba(34,197,94,.15);
}

/* ACTIVA */

.categoria-card.activa{

  border: 3px solid #22c55e;

  background: #f0fdf4;

  box-shadow:
  0 0 25px rgba(34,197,94,.25);
}

/* CHECK */

.categoria-card.activa::before{

  content: "✓";

  position: absolute;

  top: 14px;
  right: 14px;

  width: 32px;
  height: 32px;

  border-radius: 50%;

  background: #22c55e;

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: bold;
}

/* ICONOS */

.categoria-card span{

  display: block;

  font-size: 62px;

  margin-bottom: 15px;
}

/* TITULOS */

.categoria-card h3{

  font-size: 2rem;

  color: #0f172a;

  margin-bottom: 10px;
}

/* TEXTO */

.categoria-card p{

  color: #64748b;

  font-size: 1rem;

  line-height: 1.5;
}

/* FORMULARIO */

#formularioReserva{

  display: grid;

  grid-template-columns: repeat(2,1fr);

  gap: 28px;
}

/* GRUPOS */

.grupo-form{
  display: flex;
  flex-direction: column;
}

/* LABELS */

.grupo-form label{

  font-size: 1.1rem;

  font-weight: 700;

  color: #1e293b;

  margin-bottom: 12px;
}

/* INPUTS GENERALES */

#formularioReserva input{

  width: 100%;

  height: 70px;

  border-radius: 20px;

  border: 2px solid #e5e7eb;

  background: #ffffff;

  padding-left: 22px;

  padding-right: 22px;

  font-size: 1rem;

  color: #0f172a;

  transition: .3s;
}

/* FOCUS */

#formularioReserva input:focus{

  outline: none;

  border-color: #22c55e;

  box-shadow:
  0 0 0 5px rgba(34,197,94,.15);
}

/* =========================================
   FECHA Y HORA PREMIUM
========================================= */

.input-icon{

  position: relative;

  width: 100%;

  display: flex;

  align-items: center;
}

/* INPUT */

.input-icon input{

  width: 100%;

  height: 70px;

  border-radius: 20px;

  border: 2px solid #e5e7eb;

  background: white;

  padding-left: 22px;

  padding-right: 65px;

  font-size: 1rem;

  font-weight: 600;

  color: #0f172a;

  transition: .3s;

  font-family: 'Montserrat', sans-serif;

  letter-spacing: 1px;
}

/* FOCUS */

.input-icon input:focus{

  outline: none;

  border-color: #22c55e;

  box-shadow:
  0 0 0 5px rgba(34,197,94,.15);
}

/* ICONO */

.input-icon span{

  position: absolute;

  right: 22px;

  top: 50%;

  transform: translateY(-50%);

  font-size: 1.2rem;

  opacity: .8;

  pointer-events: none;

  z-index: 10;
}

/* OCULTAR ICONOS NATIVOS */

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator{

  opacity: 0;

  position: absolute;

  width: 100%;
  height: 100%;

  cursor: pointer;
}

/* BOTON */

#btnWhatsapp{

  grid-column: span 2;

  height: 80px;

  border: none;

  border-radius: 24px;

  background: linear-gradient(
    135deg,
    #16a34a,
    #22c55e
  );

  color: white;

  font-size: 1.5rem;

  font-weight: 800;

  cursor: pointer;

  margin-top: 10px;

  transition: .35s;

  box-shadow:
  0 15px 30px rgba(34,197,94,.25);
}

#btnWhatsapp:hover{

  transform: translateY(-4px);

  box-shadow:
  0 20px 40px rgba(34,197,94,.35);
}

/* RESPONSIVE */

@media(max-width:900px){

  .categorias-grid{
    grid-template-columns: repeat(2,1fr);
  }

  #formularioReserva{
    grid-template-columns: 1fr;
  }

  #btnWhatsapp{
    grid-column: span 1;
  }
}

@media(max-width:600px){

  .form-contenido{
    padding: 25px;
  }

  .titulo-modal{
    font-size: 2.1rem;
  }

  .categorias-grid{
    grid-template-columns: 1fr;
  }

  .categoria-card{
    padding: 28px 18px;
  }

  .categoria-card span{
    font-size: 52px;
  }

  .categoria-card h3{
    font-size: 1.5rem;
  }

  .input-icon input{
    height: 64px;
    font-size: .95rem;
  }

  #btnWhatsapp{
    height: 68px;
    font-size: 1.1rem;
  }
  .bloque-dinamico{
  display: none;
} 
/* ======================================
BLOQUES DINÁMICOS
====================================== */

.bloque-dinamico{

  display: none;

  margin-top: 30px;

  padding: 30px;

  border-radius: 28px;

  background: #f8fafc;

  border: 2px solid #e2e8f0;

  animation: aparecerBloque .3s ease;
}

/* ANIMACIÓN */

@keyframes aparecerBloque{

  from{
    opacity: 0;
    transform: translateY(15px);
  }

  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* TITULO */

.subtitulo-seccion{

  font-size: 2rem;

  font-weight: 800;

  margin-bottom: 25px;

  color: #0f172a;
}

/* GRID */

.tipo-grid{

  display: grid;

  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));

  gap: 25px;
}

/* CARD */

.tipo-card{

  background: white;

  border-radius: 25px;

  padding: 30px;

  border: 2px solid #e2e8f0;

  transition: .3s;

  cursor: pointer;
}

/* HOVER */

.tipo-card:hover{

  transform: translateY(-5px);

  border-color: #22c55e;

  box-shadow:
    0 15px 30px rgba(34,197,94,.15);
}

/* TITULO */

.tipo-card h4{

  font-size: 2rem;

  margin-bottom: 20px;

  color: #0f172a;
}

/* PRECIOS */

.precio-box{

  background: #f8fafc;

  border-radius: 18px;

  padding: 15px;

  margin-bottom: 15px;
}

.precio-box p{

  color: #64748b;

  font-weight: 600;

  margin-bottom: 5px;
}

.precio-box span{

  font-size: 2rem;

  font-weight: 800;

  color: #16a34a;
}

/* NOCHE */

.precio-box.noche{

  background: #0f172a;
}

.precio-box.noche p{

  color: #cbd5e1;
}

.precio-box.noche span{

  color: #4ade80;
}

/* SELECT */

#tipoEvento,
#personas,
#detalleEvento{

  width: 100%;

  border-radius: 18px;

  border: 2px solid #dbe2ea;

  padding: 16px;

  font-size: 1rem;

  margin-top: 10px;

  margin-bottom: 20px;
}

/* TEXTAREA */

#detalleEvento{

  min-height: 120px;

  resize: none;
}
/* ======================================
   BLOQUES DINÁMICOS
====================================== */

.bloque-dinamico{
  display: none;
  margin-top: 25px;
}

/* ======================================
   GRID TIPOS
====================================== */

.tipo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 20px;
  margin-top: 20px;
}

/* ======================================
   CARD CANCHAS
====================================== */

.tipo-card{
  background: #111;
  border-radius: 18px;
  padding: 20px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .3s;
}

.tipo-card:hover{
  transform: translateY(-5px);
  border-color: #f1ed0d;
}

.tipo-card h4{
  color: white;
  margin-bottom: 15px;
  font-size: 20px;
}

/* ======================================
   PRECIOS
====================================== */

.precio-box{
  background: #1d1d1d;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.precio-box p{
  color: #aaa;
  margin-bottom: 5px;
}

.precio-box span{
  color: #d7ea05;
  font-size: 24px;
  font-weight: bold;
}

.noche span{
  color: #ffd54a;
}

/* ======================================
   FORM EVENTO
====================================== */

textarea{
  width: 100%;
  min-height: 100px;
  border-radius: 12px;
  padding: 15px;
  resize: none;
}
/* =========================================
   BLOQUE SELECCIONAR CANCHA
========================================= */

#bloqueFutbol{
  margin-top: 30px;
}

.subtitulo-seccion{
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* =========================================
   GRID CANCHAS
========================================= */

.tipo-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
  gap: 25px;
}

/* =========================================
   CARD CANCHA
========================================= */

.tipo-card{
  background: #ffffff;
  border: 2px solid #22c55e;
  border-radius: 28px;
  padding: 28px;
  transition: .3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.tipo-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(34,197,94,.18);
}

/* EFECTO ACTIVO */

.tipo-card.activa{
  border: 3px solid #16a34a;
  background: #f0fdf4;
}

/* =========================================
   TITULO CANCHA
========================================= */

.tipo-card h4{
  font-size: 40px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   PRECIOS
========================================= */

.precio-container{
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.precio-box{
  flex: 1;
  background: #f8fafc;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  position: relative;
}

.precio-box::after{
  content: "";
  position: absolute;
  right: -10px;
  top: 15%;
  width: 1px;
  height: 70%;
  background: #d1d5db;
}

.precio-box:last-child::after{
  display: none;
}

.precio-box p{
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 15px;
}

/* PRECIO */

.precio-box span{
  background: #dcfce7;
  color: #15803d;
  padding: 10px 24px;
  border-radius: 16px;
  font-size: 42px;
  font-weight: 900;
  display: inline-block;
}

/* NOCHE */

.noche span{
  background: #fef3c7;
  color: #b45309;
}

/* =========================================
   DESCRIPCION
========================================= */

.descripcion-cancha{
  margin-top: 25px;
  background: #f6f5f3;
  border-radius: 15px;
  padding: 14px;
  text-align: center;
  font-size: 18px;
  color: #4b5563;
}

/* =========================================
   RESPONSIVE
========================================= */

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:768px){

  .tipo-grid{
    grid-template-columns: 1fr;
  }

  .tipo-card h4{
    font-size: 32px;
  }

  .precio-box span{
    font-size: 32px;
  }

}

/* =====================================
   NUEVO DISEÑO PREMIUM CANCHAS
===================================== */

#bloqueFutbol{
  margin-top: 40px;
}

.subtitulo-seccion{
  font-size: 40px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 30px;
}

/* GRID */

.tipo-grid{
  display: grid !important;
  grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
  gap: 25px;
}

/* =========================================
   CARDS CANCHAS
========================================= */

.tipo-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
  margin-top:25px;
}

.tipo-card{
  background:#fff;
  border:2px solid #22c55e;
  border-radius:30px;
  padding:25px 20px;
  transition:.3s;
  cursor:pointer;
  display:flex;
  flex-direction:column;
  gap:20px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.tipo-card:hover{
  transform:translateY(-5px);
}

.tipo-card h4{
  font-size:42px;
  font-weight:900;
  color:#166534;
  text-align:center;
  line-height:1.1;
}

/* PRECIOS */

.precio-container{
  display:flex;
  gap:15px;
  justify-content:center;
  flex-wrap:wrap;
}

.precio-box{
  flex:1;
  min-width:110px;
  background:#f0fdf4;
  border:2px solid #bbf7d0;
  border-radius:20px;
  padding:15px;
  text-align:center
}
/* TEXTO */

.precio-box p{
  font-size: 22px !important;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111827;
}

/* PRECIO */

.precio-box span{
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 34px !important;
  font-weight: 900;
}

/* NOCHE */

.noche span{
  background: #fef3c7;
  color: #b45309;
}

/* DESCRIPCION */

.descripcion-cancha{
  margin-top: 20px;
  background: #f3f4f6;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  color: #4b5563;
  font-size: 16px;
}

/* RESPONSIVE */

@media(max-width:768px){

  .tipo-grid{
    grid-template-columns: 1fr !important;
  }

}

}
/* =========================================
   BLOQUE SELECCIONAR CANCHA
========================================= */

#bloqueFutbol,
#bloqueVoley {
  margin-top: 25px;
}

/* TITULO */
.subtitulo-seccion {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 25px;
}

/* GRID DE CANCHAS */
.tipo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* CARD */
.tipo-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 25px;
  padding: 28px;
  transition: 0.3s ease;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.tipo-card:hover {
  transform: translateY(-5px);
  border-color: #22c55e;
  box-shadow: 0 15px 35px rgba(34,197,94,0.15);
}

/* TITULO CARD */
.tipo-card h4 {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 25px;
}

/* PRECIOS */
.precio-container {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}

/* BOX PRECIO */
.precio-box {
  flex: 1;
  background: #f0fdf4;
  border-radius: 18px;
  padding: 18px;
  border: 2px solid #bbf7d0;
  text-align: center;
}

/* NOCHE */
.precio-box.noche {
  background: #111827;
  border: 2px solid #1f2937;
}

.precio-box p {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #166534;
}

.precio-box.noche p {
  color: #ffffff;
}

.precio-box span {
  font-size: 30px;
  font-weight: 900;
  color: #16a34a;
}

.precio-box.noche span {
  color: #ffffff;
}

/* DESCRIPCION */
.descripcion-cancha {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
  margin-top: 8px;
}

/* CARD ACTIVA */
.tipo-card.activa {
  border: 2px solid #22c55e;
  background: #f0fdf4;
  box-shadow: 0 10px 30px rgba(34,197,94,0.18);
}

/* MODAL */
.form-contenido {
  width: 90%;
  max-width: 1100px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 45px;
  border-radius: 30px;
  background: white;
}
.mini-4{
  bottom:40px;
  right:30px;
  transform:rotate(-6deg);
}

.mini-5{
  top:250px;
  left:80px;
  transform:rotate(10deg);
}
/* =========================================
   HERO PREMIUM
========================================= */

.hero-bienvenida{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  padding:90px 0;
  flex-wrap:wrap;
}

.hero-texto{
  flex:1;
  min-width:320px;
}

.tag-bienvenida{
  background:#dcfce7;
  color:#000000;
  padding:10px 18px;
  border-radius:50px;
  font-size:14px;
  font-weight:700;
  display:inline-block;
  margin-bottom:20px;
}

.hero-texto h2{
  font-size:64px;
  line-height:1.1;
  color:#0f172a;
  margin-bottom:15px;
  font-weight:900;
}

.hero-texto h2 span{
  color:#0e1fe2;
}

.linea-hero{
  width:90px;
  height:5px;
  background:#ef4444;
  border-radius:10px;
  margin:25px 0;
}

.hero-texto p{
  font-size:18px;
  line-height:1.8;
  color:#64748b;
  margin-bottom:18px;
}

/* FEATURES */

.hero-features{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin:35px 0;
}

.feature-item{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  color:#0f172a;
}

.feature-item i{
  color:#16a34a;
  font-size:24px;
}

/* BOTON */

.hero-btn{
  background:#16a34a;
  color:white;
  border:none;
  padding:18px 35px;
  border-radius:18px;
  font-size:18px;
  font-weight:800;
  cursor:pointer;
  transition:0.3s;
  box-shadow:0 10px 25px rgba(22,163,74,.25);
}

.hero-btn:hover{
  transform:translateY(-4px);
  background:#15803d;
}

/* =========================================
   SLIDER
========================================= */

/* =========================================
   HERO IMAGENES PREMIUM
========================================= */

.hero-slider{
  flex:1;
  min-width:340px;
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:30px;
}

/* IMAGEN PRINCIPAL */

.imagen-principal{
  width:420px;
  height:560px;
  border-radius:35px;
  overflow:hidden;
  position:relative;
  box-shadow:
    0 25px 60px rgba(0,0,0,.18);
}

.imagen-principal img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s;
}

.imagen-principal:hover img{
  transform:scale(1.05);
}

/* MINI IMAGENES */

.mini-img{
  position:absolute;
  width:150px;
  height:190px;
  border-radius:25px;
  overflow:hidden;
  border:5px solid white;
  box-shadow:
    0 15px 35px rgba(0,0,0,.15);
  transition:0.4s;
}

.mini-img img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* POSICIONES */

.mini-1{
  top:20px;
  left:10px;
  transform:rotate(-8deg);
}

.mini-2{
  bottom:20px;
  left:0;
  transform:rotate(8deg);
}

.mini-3{
  top:140px;
  right:10px;
  transform:rotate(6deg);
}

.mini-4{
  bottom:40px;
  right:40px;
  transform:rotate(-6deg);
}

.mini-5{
  top:260px;
  left:70px;
  transform:rotate(10deg);
}

/* HOVER */

.mini-img:hover{
  transform:scale(1.08);
  z-index:10;
}

/* =========================================
   RESPONSIVE MOBILE
========================================= */

@media(max-width: 992px){

  .hero-bienvenida{
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px;
  }

  .hero-texto{
    width: 100%;
    text-align: center;
  }

  .hero-texto h2{
    font-size: 48px;
    line-height: 1.1;
  }

  .linea-hero{
    margin: 20px auto;
  }

  .hero-texto p{
    font-size: 16px;
  }

  .hero-features{
    grid-template-columns: 1fr;
  }

  .feature-item{
    justify-content: center;
  }

  .hero-btn{
    width: 100%;
    max-width: 320px;
  }

  .hero-slider{
    width: 100%;
    min-width: unset;
    border-radius: 25px;
  }

  .slider-track{
    width: 700%;  
  }

  .slider-track img{
    width: 100%;
    height: 420px;
    object-fit: cover;
  }

}

/* =========================================
   CELULARES PEQUEÑOS
========================================= */

@media(max-width: 576px){

  .hero-bienvenida{
    padding: 40px 15px;
  }

  .hero-texto h2{
    font-size: 38px;
  }

  .tag-bienvenida{
    font-size: 12px;
    padding: 8px 15px;
  }

  .hero-texto p{
    font-size: 15px;
    line-height: 1.7;
  }

  .slider-track img{
    height: 300px;
  }

  .hero-btn{
    font-size: 16px;
    padding: 16px 25px;
  }

}
/* =========================================
   RESPONSIVE GLOBAL
========================================= */

@media(max-width: 992px){

  /* NAVBAR */

  nav ul{
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 15px;
  }

  nav ul li{
    margin: 0;
  }

  /* HERO */

  .hero-bienvenida{
    flex-direction: column;
    padding: 50px 20px;
    gap: 40px;
  }

  .hero-texto{
    width: 100%;
    text-align: center;
  }

  .hero-texto h2{
    font-size: 48px;
    line-height: 1.1;
  }

  .linea-hero{
    margin: 20px auto;
  }

  .hero-texto p{
    font-size: 16px;
  }

  .hero-features{
    grid-template-columns: 1fr;
  }

  .feature-item{
    justify-content: center;
  }

  .hero-btn{
    width: 100%;
    max-width: 320px;
  }

  /* SLIDER */

  .hero-slider{
    width: 100%;
    max-width: 100%;
    min-width: unset;
    border-radius: 25px;
  }

  .slider-track{
    width: 700%;
  }

  .slider-track img{
    width: 100%;
    height: 420px;
    object-fit: cover;
  }

  /* TITULOS */

  .seccion h2{
    font-size: 2rem;
  }

  /* CANCHAS */

  .canchas-container{
    grid-template-columns: 1fr;
  }

  .cancha-imagen{
    height: 250px;
  }

  /* MODAL */

  .form-contenido{
    width: 95%;
    padding: 25px 20px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .categorias-grid{
    grid-template-columns: repeat(2,1fr);
    gap: 15px;
  }

  .categoria-card{
    padding: 20px 10px;
  }

  .tipo-grid{
    grid-template-columns: 1fr;
  }

}

/* =========================================
   CELULARES PEQUEÑOS
========================================= */

@media(max-width: 576px){

  .header-content h1{
    font-size: 2.2rem;
  }

  .header-content p{
    font-size: 1rem;
  }

  .hero-bienvenida{
    padding: 40px 15px;
  }

  .hero-texto h2{
    font-size: 38px;
  }

  .tag-bienvenida{
    font-size: 12px;
    padding: 8px 15px;
  }

  .hero-texto p{
    font-size: 15px;
    line-height: 1.7;
  }

  .slider-track img{
    height: 300px;
  }

  .hero-btn{
    font-size: 16px;
    padding: 16px 25px;
  }

  .categorias-grid{
    grid-template-columns: 1fr;
  }

  .categoria-card h3{
    font-size: 20px;
  }

  .titulo-modal{
    font-size: 28px;
  }

}


