/* VARIABLES GLOBALES STYLE */
:root {
    --bg-deep: #05070c;
    --bg-surface: #0c101b;
    --bg-card: #121826;
    --neon-green: #39ff14;
    --neon-green-glow: rgba(57, 255, 20, 0.3);
    --text-pure: #ffffff;
    --text-muted: #8a99ad;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* RESET ESTRUCTURAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-pure);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* CABECERA BLUR */
.gym-header {
    position: fixed;
    top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(5, 7, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-pure);
    text-decoration: none;
    letter-spacing: 2px;
}
.logo a span { color: var(--neon-green); text-shadow: 0 0 10px var(--neon-green-glow); }

.gym-nav ul { display: flex; list-style: none; gap: 2rem; }
.gym-nav ul li a {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; transition: color 0.3s;
}
.gym-nav ul li a:hover { color: var(--text-pure); }

.btn-neon-sm {
    padding: 8px 18px; border: 1px solid var(--neon-green); color: var(--neon-green); text-decoration: none;
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase; border-radius: 3px; transition: all 0.3s;
}
.btn-neon-sm:hover { background: var(--neon-green); color: var(--bg-deep); box-shadow: 0 0 15px var(--neon-green); }

/* HERO BANNER CON IMAGEN REAL INYECTADA */
.hero-gym {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background-image: url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(5,7,12,0.95) 30%, rgba(5,7,12,0.6) 100%);
    z-index: 1;
}

.hero-content { max-width: 800px; position: relative; z-index: 10; margin-top: 60px; }
.hero-badge { color: var(--neon-green); font-family: var(--font-heading); letter-spacing: 3px; text-transform: uppercase; font-size: 1.1rem; display: block; margin-bottom: 1rem; }
.hero-gym h1 { font-family: var(--font-heading); font-size: 4.8rem; line-height: 1.05; font-weight: 700; margin-bottom: 1.5rem; }
.text-neon { color: var(--neon-green); text-shadow: 0 0 20px rgba(57, 255, 20, 0.4); }
.hero-gym p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin-bottom: 3rem; }
.hero-actions { display: flex; gap: 1.5rem; }

/* BOTONES */
.btn-neon {
    padding: 16px 36px; background: var(--neon-green); color: var(--bg-deep); text-decoration: none;
    font-weight: 700; font-family: var(--font-heading); letter-spacing: 1px; border-radius: 4px; display: inline-block;
    box-shadow: 0 4px 20px var(--neon-green-glow); transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-neon:hover { transform: translateY(-2px); box-shadow: 0 6px 25px var(--neon-green); }
.btn-outline {
    padding: 16px 36px; border: 1px solid rgba(255,255,255,0.2); color: var(--text-pure); text-decoration: none; font-weight: 600; border-radius: 4px; transition: background 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); }

/* ORBE LUZ */
.glow-orb { position: absolute; width: 500px; height: 500px; background: var(--neon-green); filter: blur(200px); border-radius: 50%; opacity: 0.08; top: 20%; right: -5%; z-index: 0; }

/* STATS */
.stats-bar { background: var(--bg-surface); border-top: 1px solid rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.02); padding: 3rem 0; }
.stats-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; text-align: center; }
.stat-item h3 { font-family: var(--font-heading); font-size: 3rem; color: var(--text-pure); }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; }

/* SECCIÓN CLASES CON IMÁGENES INTEGRADAS */
.classes-section { padding: 8rem 0; }
.section-tag { color: var(--neon-green); font-weight: 600; font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-heading); font-size: 2.8rem; margin-bottom: 3rem; }

.classes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.vertical-card { grid-row: span 2; min-height: 540px; }
.class-card {
    background-size: cover; background-position: center; border-radius: 8px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.02); transition: transform 0.3s;
}
.class-card:hover { transform: translateY(-5px); }
.card-content { position: relative; z-index: 5; }
.class-category { color: var(--neon-green); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 0.5rem;}
.card-content h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 0.8rem; }
.card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.card-link { color: var(--text-pure); text-decoration: none; font-size: 0.85rem; font-weight: 600; }

/* [CSS NUEVO] SECCIÓN ENTRENADORES */
.coaches-section { padding: 6rem 0; background-color: var(--bg-surface); }
.coaches-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.coach-card { background: var(--bg-card); border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.01); }
.coach-img { height: 350px; background-size: cover; background-position: center; filter: grayscale(40%); transition: filter 0.3s; }
.coach-card:hover .coach-img { filter: grayscale(0%); }
.coach-info { padding: 1.5rem; text-align: center; }
.coach-info h4 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 0.2rem; }
.coach-info p { color: var(--neon-green); font-size: 0.9rem; }

/* [CSS NUEVO] SECCIÓN TESTIMONIOS */
.testimonials-section { padding: 8rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 2rem; }
.testimonial-card { background: var(--bg-card); padding: 3rem; border-radius: 8px; position: relative; border-left: 3px solid var(--neon-green); }
.testimonial-text { font-style: italic; color: var(--text-pure); font-size: 1.1rem; margin-bottom: 2rem; }
.testimonial-author h5 { font-family: var(--font-heading); font-size: 1.2rem; }
.testimonial-author span { color: var(--text-muted); font-size: 0.85rem; }

/* PRICING */
.pricing-section { background: var(--bg-surface); padding: 8rem 0; }
.pricing-grid { display: flex; gap: 2rem; justify-content: center; margin-top: 3rem; }
.price-card { background: var(--bg-card); border-radius: 8px; padding: 3.5rem 2.5rem; width: 100%; max-width: 400px; position: relative; }
.price-card.popular { border: 2px solid var(--neon-green); transform: scale(1.03); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--neon-green); color: var(--bg-deep); padding: 4px 16px; font-size: 0.75rem; font-weight: 700; border-radius: 20px; }
.price-card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.price-value { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 700; margin-bottom: 2rem;}
.price-value span { color: var(--neon-green); }
.price-card ul { list-style: none; margin-bottom: 3rem; }
.price-card ul li { color: var(--text-muted); margin-bottom: 1rem; position: relative; padding-left: 1.5rem; }
.price-card ul li::before { content: "✓"; color: var(--neon-green); position: absolute; left: 0; }
.btn-card-outline { display: block; text-align: center; padding: 14px; border: 1px solid rgba(255,255,255,0.1); color: var(--text-pure); text-decoration: none; font-weight: 600; border-radius: 4px; }
.btn-neon-block { display: block; text-align: center; padding: 14px; background: var(--neon-green); color: var(--bg-deep); text-decoration: none; font-weight: 700; border-radius: 4px; font-family: var(--font-heading); box-shadow: 0 4px 15px var(--neon-green-glow); }

/* [CSS NUEVO] SECCIÓN CONTACTO + MAPA INTERACTIVO */
.contact-section { padding: 8rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.gym-form { margin-top: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.gym-form input, .gym-form select {
    width: 100%; padding: 16px; background: var(--bg-surface); border: 1px solid rgba(255,255,255,0.05); color: white; border-radius: 4px; font-family: var(--font-body); font-size: 1rem;
}
.gym-form input:focus, .gym-form select:focus { outline: 1px solid var(--neon-green); }
.contact-map { height: 100%; min-height: 400px; }
.map-placeholder {
    width: 100%; height: 100%; min-height: 400px; background: #121622; background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 0); background-size: 20px 20px; border-radius: 8px; display: flex; align-items: center; padding: 3rem; border: 1px dashed rgba(255,255,255,0.1);
}
.map-info h4 { font-family: var(--font-heading); font-size: 1.6rem; color: var(--neon-green); margin-bottom: 1rem; }
.map-info p { color: var(--text-muted); margin-bottom: 0.5rem; }

/* FOOTER */
.gym-footer { text-align: center; padding: 3rem 1.5rem; color: var(--text-muted); font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.02);}

/* RESPONSIVE MÓVIL */
@media (max-width: 992px) {
    .classes-grid, .coaches-grid, .testimonials-grid, .contact-grid { grid-template-columns: 1fr; }
    .vertical-card { grid-row: auto; min-height: auto; }
    .pricing-grid { flex-direction: column; align-items: center; }
    .price-card.popular { transform: scale(1); margin: 2rem 0; }
    .hero-gym h1 { font-size: 3.2rem; }
}
@media (max-width: 768px) {
    .gym-nav, .header-cta { display: none; }
    .stats-container { flex-direction: column; gap: 2rem; }
    .hero-gym h1 { font-size: 2.5rem; }
}

.schedule-component { background: var(--bg-surface); padding: 3rem; border-radius: 8px; }
.tab-input { display: none; }
.tabs-nav { display: flex; gap: 1rem; border-bottom: 2px solid rgba(255,255,255,0.05); margin-bottom: 2rem; overflow-x: auto; }
.tab-label { font-family: var(--font-heading); font-size: 1.2rem; padding: 10px 24px; color: var(--text-muted); cursor: pointer; border-radius: 4px; text-transform: uppercase; white-space: nowrap; }
.tab-content { display: none; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* Lógica de cambio de pestaña con CSS Puro */
#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"],
#tab3:checked ~ .tabs-nav label[for="tab3"] {
    color: var(--bg-deep); background: var(--neon-green); box-shadow: 0 0 15px var(--neon-green-glow); font-weight: 700;
}
#tab1:checked ~ .tabs-contents #content1,
#tab2:checked ~ .tabs-contents #content2,
#tab3:checked ~ .tabs-contents #content3 { display: block; }

.timetable { width: 100%; border-collapse: collapse; text-align: left; }
.timetable th, .timetable td { padding: 1.2rem; border-bottom: 1px solid rgba(255,255,255,0.03); }
.timetable th { font-family: var(--font-heading); font-size: 1.1rem; color: var(--text-muted); text-transform: uppercase; }
.timetable td strong { color: var(--neon-green); font-family: var(--font-heading); font-size: 1.2rem; display: block; }
.class-tag { display: inline-block; padding: 4px 10px; background: rgba(255,255,255,0.05); border-radius: 4px; font-size: 0.8rem; font-weight: 600; }

.faq-grid { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--bg-surface); border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.02); }
.faq-item summary { padding: 1.5rem; font-size: 1.15rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: "+"; color: var(--neon-green); font-size: 1.5rem; }
.faq-item details[open] summary::after { content: "−"; transform: rotate(90deg); }
.faq-content { padding: 0 1.5rem 1.5rem 1.5rem; color: var(--text-muted); font-size: 0.98rem; border-top: 1px solid rgba(255,255,255,0.01); }

/*preguntas frecuentes*/

/* ===================================================
   ESTILOS FAQ (CORREGIDOS)
   =================================================== */
.faq-component { 
    padding: 6rem 0; 
}
.faq-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 1.2rem; 
}
.faq-item { 
    background-color: var(--bg-surface); 
    border-radius: 8px; 
    border: 1px solid rgba(255, 255, 255, 0.05); 
    overflow: hidden;
}
.faq-item summary { 
    padding: 1.5rem; 
    font-size: 1.15rem; 
    font-weight: 600; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    user-select: none;
    list-style: none;
}
/* Eliminar flecha por defecto en navegadores Webkit/Safari */
.faq-item summary::-webkit-details-marker { 
    display: none; 
}
.faq-item summary::after { 
    content: "+"; 
    color: var(--neon-green); 
    font-size: 1.5rem; 
    font-weight: bold;
}
.faq-item details[open] summary {
    background-color: rgba(255, 255, 255, 0.02);
}
.faq-item details[open] summary::after { 
    content: "−"; 
}
.faq-content { 
    padding: 1.5rem; 
    color: var(--text-muted); 
    font-size: 1rem; 
    line-height: 1.6; 
    border-top: 1px solid rgba(255, 255, 255, 0.03); 
    background-color: rgba(0, 0, 0, 0.1);
}

/* ===================================================
   ESTILOS GALERÍA MASONRY (CORREGIDOS)
   =================================================== */
.gallery-component { 
    padding: 6rem 0; 
}
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    grid-auto-rows: 240px; 
    gap: 1.5rem; 
}

/* Forzar comportamiento mosaico en pantallas grandes */
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .item-large { 
        grid-column: span 2; 
        grid-row: span 2; 
    }
    .item-tall { 
        grid-row: span 2; 
    }
}

.gallery-item { 
    position: relative; 
    border-radius: 8px; 
    overflow: hidden; 
    border: 1px solid rgba(255, 255, 255, 0.03);
    background-color: var(--bg-surface);
}
.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: grayscale(40%) contrast(1.1); 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); 
    display: block;
}
.gallery-item:hover img { 
    filter: grayscale(0%) scale(1.05); 
}
.gallery-overlay { 
    position: absolute; 
    bottom: 0; left: 0; width: 100%; height: 50%;
    padding: 1.5rem; 
    background: linear-gradient(to top, rgba(5, 7, 12, 0.95) 0%, transparent 100%); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    display: flex; 
    align-items: flex-end; 
    z-index: 2;
}
.gallery-item:hover .gallery-overlay { 
    opacity: 1; 
}
.gallery-overlay span { 
    font-family: var(--font-heading); 
    font-size: 1.2rem; 
    letter-spacing: 1px; 
    text-transform: uppercase; 
    color: var(--text-pure);
}

.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    grid-auto-rows: 240px; 
    gap: 1.5rem; 
    grid-auto-flow: dense; /* ← ESTA LÍNEA HACE LA MAGIA: Rellena huecos vacíos automáticamente */
}

/* Forzar comportamiento mosaico perfecto en pantallas grandes */
@media (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .item-large { 
        grid-column: span 2; 
        grid-row: span 2; 
    }
    .item-tall { 
        grid-row: span 2; 
    }
}

/* ===================================================
   ESTILOS DEL FOOTER PREMIUM
   =================================================== */
.gym-footer {
    background-color: #030509; /* Un tono un poco más oscuro que el fondo para dar profundidad */
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--text-pure);
    position: relative;
}

/* Detalle de línea neón debajo de los títulos del footer */
.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green-glow);
}

.footer-about {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 1.2rem 0;
    max-width: 300px;
}

.footer-address {
    color: var(--text-pure);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

/* Efecto sutil al pasar el cursor por los enlaces */
.footer-links li a:hover {
    color: var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green-glow);
    padding-left: 4px;
}

/* BARRA INFERIOR FOOTER */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-regulatory {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Ajuste responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .footer-grid {
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================================
   BOTÓN FLOTANTE DE WHATSAPP PREMIUM
   =================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999; /* Asegura que quede por encima de absolutamente todo */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Tamaño del icono interior */
.whatsapp-icon {
    width: 32px;
    height: 32px;
}

/* Efecto elegante al pasar el cursor (Hover) */
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    background-color: #20ba5a;
}

/* Adaptación para pantallas móviles para que no estorbe demasiado */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}

/* ===================================================
   SISTEMA DE MENÚ HAMBURGUESA EXCLUSIVO
   =================================================== */

/* Oculto en ordenadores */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 10002;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #ffffff;
    transition: 0.3s ease;
    border-radius: 2px;
}

/* El contenedor global se comporta como flex horizontal en escritorio */
.nav-container-responsive {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Reglas adaptativas para pantallas móviles y tablets */
/* Reglas adaptativas para pantallas móviles y tablets */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex !important;
    }

    /* Convertimos todo el bloque de navegación en el panel deslizante */
    .nav-container-responsive {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido a la derecha */
        width: 280px;
        height: 100vh;
        background-color: #030509 !important; /* Forzamos fondo oscuro */
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        padding: 6rem 2rem 2rem 2rem;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10001;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        gap: 2.5rem;
    }

    /* Al activarse con JS, entra en pantalla */
    .nav-container-responsive.active {
        right: 0;
    }

    /* FORZAMOS LA ESTRUCTURA DEL MENÚ DE ENLACES */
    .gym-nav {
        display: block !important;
        width: 100% !important;
    }

    .gym-nav ul {
        display: flex !important;
        flex-direction: column !important; /* Apilados uno debajo de otro */
        align-items: flex-start !important;
        gap: 1.5rem !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .gym-nav ul li {
        width: 100% !important;
        display: block !important;
    }

    /* FORZAMOS EL ESTILO VISUAL DE LOS ENLACES TEXTUALES */
    .gym-nav ul li a {
        display: block !important;
        color: #ffffff !important; /* Forzamos color blanco para que sea visible */
        font-family: 'Oswald', sans-serif !important;
        font-size: 1.2rem !important; /* Tamaño perfecto para móviles */
        text-transform: uppercase !important;
        text-decoration: none !important;
        letter-spacing: 1px !important;
        padding: 8px 0 !important;
        transition: color 0.2s ease;
        width: 100%;
    }

    /* Efecto al pulsar un enlace en el móvil */
    .gym-nav ul li a:hover {
        color: #00ff66 !important; /* Se vuelve verde neón al pasar el dedo */
    }

    /* Estiramos el botón de WhatsApp para que ocupe todo el ancho abajo */
    .header-cta {
        width: 100% !important;
        display: flex !important;
    }

    .header-cta a {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 12px 20px !important;
    }

    /* --- ANIMACIÓN INTERACTIVA DE LAS RAYAS (X) --- */
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: #00ff66 !important;
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #00ff66 !important;
    }
}

/* ===================================================
   BOTÓN DE COMPRA PREMIUM (ESTILO PAYHIP / NEÓN)
   =================================================== */
.btn-buy-template {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: #00ff66; /* Verde Neón principal */
    border: 2px solid #00ff66;
    color: #000000; /* Texto oscuro para máxima legibilidad */
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.05rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Píldora del precio dentro del botón */
.btn-buy-template .btn-price {
    background-color: #000000;
    color: #00ff66;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

/* Efecto Hover Inteligente (Inversión Estética) */
.btn-buy-template:hover {
    background-color: transparent;
    color: #00ff66;
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.6);
    transform: translateY(-2px);
}

/* Al pasar el ratón, la píldora del precio también se invierte */
.btn-buy-template:hover .btn-price {
    background-color: #00ff66;
    color: #000000;
}

/* Comportamiento táctil en móviles */
@media (max-width: 480px) {
    .btn-buy-template {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}