/* ========================================
   STAGE 2024 - MALLORCA WATERPOLO CLUB
   Stylesheet Principal
   ======================================== */

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ========================================
   NAVEGACIÓN
   ======================================== */

nav {
    background: linear-gradient(135deg, #6a11cb 50%, #1a1a6e 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

/* PLACEHOLDER: Logo del club */
.logo-img {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-align: center;
    padding: 5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    right: -100%;

}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: 
        linear-gradient(135deg, rgba(106, 17, 203, 0.55) 0%, rgba(37, 117, 252, 0.45) 100%),
        url('img/Imágenes/Imagen\ de\ Cabecera.jpg.jpeg') center/cover no-repeat;
    color: #ffffff;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* PLACEHOLDER: Imagen hero de fondo */
.hero::before {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.85rem;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 12px rgba(0,0,0,0.6);
    text-align: center;
    color: #ffffff;
}

.hero .date {
    font-size: 1.4rem;
    opacity: 0.95;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
    text-align: center;
    color: #ffffff;
}

/* Botones Hero */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    min-width: 160px;
    text-align: center;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    opacity: 0.92;
}

.hero-btn-dark {
    background: #2d0057;
    color: #ffffff;
}

.hero-btn-mid {
    background: rgba(255,255,255,0.35);
    color: #333;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.5);
}

.hero-btn-light {
    background: #ffffff;
    color: #333;
}

@media (max-width: 600px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .hero-btn {
        width: 80%;
    }
}

/* ========================================
   CONTENEDOR PRINCIPAL
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: justify;

}

/* ========================================
   SECCIONES
   ======================================== */

section {
    margin-bottom: 1.5rem;
}

section h2 {
    color: #5b21b6;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #7c3aed;
}

.intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-btn-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.2rem;
}

.intro-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6a11cb, #2563eb);
    color: #fff;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(106,17,203,0.3);
}

.intro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(106,17,203,0.4);
}

/* ========================================
   INFO CARDS (Grid)
   ======================================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* PLACEHOLDER: Iconos para info-cards */
.info-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-align: justify;
    padding: 10px;
}

.info-card h3 {
    color: #6d28d9;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: justify;
}

.info-card p, .info-card ul {
    color: #555;
    line-height: 1.8;
    text-align: center;
}

.info-card ul {
    list-style: none;
    padding-left: 1rem;
}

.info-card ul li:before {
    content: "▸ ";
    color: #2563eb;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ========================================
   GALERÍA
   ======================================== */

.gallery {
    background: #f8f9fa;
    padding: 0.5rem 0 1.5rem;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Imágenes de galería */
.gallery-item {
    aspect-ratio: 4 / 3;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   INSTALACIONES
   ======================================== */

.facilities-section {
    margin: 2rem 0;
}

/* Contenedor de imágenes lado a lado */
.facilities-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.facility-image-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 300px;
}

.facility-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Texto centrado debajo de las imágenes */
.facility-text-centered {
    max-width: 100%;
    margin: 1.5rem auto 0;
    text-align: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.facility-text-centered .facility-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 1rem;
}

.facility-text-centered .facility-address {
    color: #4c1d95;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0;
    padding-top: 0.8rem;
    border-top: 1px solid #e0d4f7;
}

/* Estilos antiguos (mantener por compatibilidad) */
.facilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.facility-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.facility-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.facility-content {
    padding: 1.5rem;
}

.facility-content h3 {
    padding-top: 3rem;
    color: #7c3aed;
    margin-bottom: 1rem;
}

/* ========================================
   PROGRAMA / HORARIOS
   ======================================== */

.schedule-item {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #7c3aed;
}

.schedule-item h4 {
    color: #6d28d9;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.schedule-item p {
    color: #666;
    margin: 0.3rem 0;
}

/* ========================================
   ACORDEÓN PROGRAMA
======================================== */

.accordion-item {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border-left: 4px solid #7c3aed;
}

.accordion-header {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    font-weight: bold;
    background: #f8f9fa;
    color: #6d28d9;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: #ede9fe;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 1.2rem;
}

.accordion-content p {
    margin: 0.8rem 0;
    color: #666;
}

.programa-container {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 3rem;
    align-items: start;
    margin-top: 2rem;
}

.programa-right img {
    margin-left: 40px;
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Botón mantiene estilo anterior pero con icono */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Animación flecha */
.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 900px) {
    .programa-container {
        grid-template-columns: 1fr;
    }

    .programa-right {
        margin-top: 2rem;
    }
}



/* ========================================
   EQUIPO DE ENTRENADORES
   ======================================== */

.team-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin: 3rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* PLACEHOLDER: Fotos de entrenadores */
.coach-card {
    background: white;
    border-radius: 10px;
    padding: 1rem 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.coach-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;   /* CLAVE */
    margin: 0 auto 1rem;
}

.coach-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* CLAVE */
    display: block;
}

.coach-card h4 {
    color: #6d28d9;
    margin-bottom: 0.5rem;
}

.coach-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   EQUIPOS PARTICIPANTES - CATEGORÍAS
   ======================================== */

.categoria-titulo {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2.5rem 0 1.2rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.5px;
}

.categoria-masculina {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-left: 5px solid #60a5fa;
}

.categoria-femenina {
    background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    color: white;
    border-left: 5px solid #c084fc;
}

.categoria-icono {
    font-size: 1.5rem;
}

.team-grid-6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.2rem;
    margin-bottom: 1rem;
}

.team-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.25s, box-shadow 0.25s;
    border-top: 3px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.team-card-destacado {
    border-top: 3px solid #7c3aed;
    background: linear-gradient(to bottom, #f5f3ff, white);
}

.team-logo {
    width: 90px;
    height: 90px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 2px solid #eee;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-logo-placeholder {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    font-size: 2.2rem;
    border: 2px dashed #ccc;
}

.team-card h4 {
    color: #6d28d9;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.team-card p {
    color: #999;
    font-size: 0.78rem;
    margin-bottom: 0.8rem;
}

.team-btn {
    display: block;
    margin-top: auto;
    background: linear-gradient(135deg, #6a11cb, #2563eb);
    color: #fff;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.45rem 0.8rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 10px rgba(106,17,203,0.25);
}

.team-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(106,17,203,0.4);
}

@media (max-width: 1024px) {
    .team-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }
    .team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .team-grid-6,
    .team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .categoria-titulo {
        font-size: 1.1rem;
    }
}

/* ========================================
   PRECIO
   ======================================== */

.price-box {
    background: linear-gradient(135deg, #6a11cb 0%, #1a1a6e 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
}

.price-box .amount {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
}

.price-box .details {
    font-size: 1.1rem;
    opacity: 0.95;
}

.payment-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem; /* separación entre textos y guion */
    font-size: 1.1rem;
    margin-top: 1rem;
    text-align: center;
}

.payment-line .left,
.payment-line .right {
    flex: 1;
}

.payment-line .separator {
    font-weight: bold;
    font-size: 1.5rem;
    color: #7c3aed; /* color del guion, puedes cambiarlo */
}


.plazas-rojo {
    color: #dc3545;
    font-weight: 700;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}


/* ========================================
   PATROCINADORES
   ======================================== */

.sponsors-container {
    margin-top: 2rem;
    text-align: center;
}

.sponsors-img {
    max-width: 70rem;  /* Ajusta tamaño si quieres más grande o pequeño */
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: -8rem;
    margin-bottom: 1rem;
}




/* ========================================
   CONTACTO
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.contact-card h4 {
    color: #6d28d9;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    margin: 0.5rem 0;
}

.contact-card a {
    color: #000000;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}


/* ========================================
    MAPA INTERACTIVO
   ======================================== */

.map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 35%; /* altura proporcional */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ========================================
   BOTONES Y ALERTAS
   ======================================== */

.cta-button {
    display: inline-block;
    background: #4f46e5;
    color: #ffffff;   /* Letras blancas */
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

/* Centrado dentro del alert-box */
.alert-box .cta-button {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 0 auto;
}

/* Hover elegante */
.cta-button:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}


.alert-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

.alert-box strong {
    color: #3730a3;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 1.8rem 2rem 1.2rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    text-align: center;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    object-fit: cover;
}

.footer-brand h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}

.footer-brand p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.footer-social-title {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
}

.social-icons {
    display: flex;
    gap: 0.7rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-facebook  { background: #1877f2; }
.social-twitter   { background: #000000; }
.social-tiktok    { background: #010101; border: 1px solid rgba(255,255,255,0.15); }
.social-youtube   { background: #ff0000; }
.social-whatsapp  { background: #25d366; }

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.8rem;
    width: 100%;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

@media (max-width: 480px) {
    .social-btn {
        width: 34px;
        height: 34px;
    }
    .social-btn svg {
        width: 16px;
        height: 16px;
    }
    .social-icons {
        gap: 0.5rem;
    }
}

/* ========================================
   UTILIDADES
   ======================================== */

.dev-note {
    background: #e3f2fd;
    border-left: 4px solid #6d28d9;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #4338ca;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ── TABLET grande (≤1024px) ── */
@media (max-width: 1024px) {

    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid-6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-images {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .precio-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ediciones-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .edicion-img {
        height: 220px;
    }
}

/* ── TABLET pequeña (≤768px) ── */
@media (max-width: 768px) {

    .container {
        padding: 0 1rem;
    }

    .hero {
        min-height: 380px;
        padding: 4rem 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .date {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-btn {
        width: 80%;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .facilities-images {
        grid-template-columns: 1fr;
    }

    .team-grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .accordion-header {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
    }

    .horario-fila {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .precio-box {
        padding: 1.5rem;
    }

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

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .facility-text-centered {
        padding: 1rem;
        margin: 1rem auto 0;
    }

    .map-responsive {
        padding-bottom: 60%;
    }

    .banner-parallax {
        height: 180px;
    }

    .ediciones-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .edicion-img {
        height: 180px;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .intro {
        font-size: 1rem;
        padding: 1.2rem;
    }

    .sponsors-img {
        max-width: 100%;
    }
}

/* ── MÓVIL (≤480px) ── */
@media (max-width: 480px) {

    .hero {
        min-height: 300px;
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero .date {
        font-size: 1rem;
    }

    .hero-btn {
        width: 95%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .team-grid-6,
    .team-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .team-card h4 {
        font-size: 0.8rem;
    }

    .categoria-titulo {
        font-size: 1rem;
        padding: 0.5rem 0.8rem;
    }

    .precio-highlight {
        font-size: 2.5rem;
    }

    .ediciones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        padding: 0 0.8rem;
    }

    .edicion-img {
        height: 140px;
    }

    .edicion-label {
        font-size: 0.75rem;
        padding: 0.5rem 0.3rem;
    }

    .banner-parallax {
        height: 130px;
    }

    .contact-card {
        padding: 1rem;
    }

    .info-card {
        padding: 1.2rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .sponsors-container {
        padding: 1rem;
    }
}


/* ========================================
   NAVBAR RESPONSIVE
======================================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff !important;
    border-radius: 2px;
    transition: 0.3s;
}

/* TABLET y MÓVIL */
@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
        position: absolute;
        left: 1.3rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1100;
        color: white;
    }

    .nav-container {
        justify-content: center;
        padding: 1rem;
        position: relative;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #6a11cb 50%, #1a1a6e 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 1050;
    }

    .no-scroll {
        overflow: hidden;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        font-size: 1.3rem;
    }
}


/* ===========================
   MODAL GENGAR
=========================== */

.gengar-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.gengar-modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255,255,255,0.2);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}
/* ========================================
   HORARIOS / PROGRAMA - ESTILOS
   ======================================== */

.horario-tabla {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem 0;
}

.horario-fila {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: #f8f7ff;
    border-left: 4px solid #c4b5fd;
}

.horario-masc {
    border-left: 4px solid #2563eb;
    background: #eff6ff;
}

.horario-fem {
    border-left: 4px solid #7c3aed;
    background: #f5f3ff;
}

.horario-especial {
    border-left: 4px solid #4f46e5;
    background: #eef2ff;
    font-weight: 600;
}

.horario-descanso {
    border-left: 4px solid #94a3b8;
    background: #f1f5f9;
    font-style: italic;
}

.horario-final {
    font-weight: 700;
    border-left-width: 5px;
}

.horario-hora {
    font-weight: 700;
    font-size: 1rem;
    color: #1e1b4b;
    min-width: 48px;
}

.horario-desc {
    color: #374151;
    font-size: 0.97rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-masc {
    background: #dbeafe;
    color: #1d4ed8;
}

.badge-fem {
    background: #ede9fe;
    color: #6d28d9;
}

.horario-nota {
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 0.8rem;
    font-style: italic;
    padding-left: 0.5rem;
}

/* ========================================
   EDICIONES ANTERIORES
   ======================================== */

.ediciones-section {
    background: #f5f3ff;
    padding: 2.5rem 0 3rem;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
}

.ediciones-section > h2 {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem 0.5rem;
    color: #5b21b6;
    font-size: 2rem;
    border-bottom: 3px solid #7c3aed;
}

.ediciones-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 0.5rem 2rem 1rem;
    margin-top: 0;
}

.edicion-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(109, 40, 217, 0.13);
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
    border-top: 4px solid #7c3aed;
}

.edicion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(109, 40, 217, 0.25);
}

.edicion-img {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #ede9fe, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edicion-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.35s ease;
}

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

.edicion-img-proxima {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.edicion-card-proxima {
    border-top: 4px solid #2563eb;
}

.edicion-label {
    padding: 0.8rem 0.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #4c1d95;
    background: #faf5ff;
    line-height: 1.4;
}

.edicion-label small {
    display: block;
    font-weight: 400;
    color: #7c3aed;
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

@media (max-width: 900px) {
    .ediciones-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    .edicion-img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .ediciones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.8rem;
    }
    .edicion-img {
        height: 160px;
    }
}
/* ========================================
   BANNER PARALLAX
   ======================================== */

.banner-parallax {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.banner-parallax-img {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    transition: transform 0.05s linear;
}