/* ============================================
   ODISEA GYM FEBLES - ESTILOS PROFESIONALES
   Gimnasio en Buzanada, Tenerife Sur s
   ============================================ */

/* --- VARIABLES DE DISEÑO --- */
:root {
    --primary-yellow: #FFD700;
    --accent-yellow: #FFEA00;
    --bg-black: #0a0a0a;
    --bg-dark: #141414;
    --bg-card: #1f1f1f;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --whatsapp-green: #25D366;
    --font-title: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* --- RESET Y BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition-smooth);
}

ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

address {
    font-style: normal;
}

/* --- SELECCIÓN DE TEXTO --- */
::selection {
    background-color: var(--primary-yellow);
    color: #000;
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    background-color: var(--primary-yellow);
    color: #000;
    padding: 14px 40px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    border-radius: 0px;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: all 0.3s var(--transition-smooth);
    letter-spacing: 1.5px;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background-color: var(--accent-yellow);
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 12px 35px;
    font-family: var(--font-title);
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    background: transparent;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s var(--transition-smooth);
}

.btn-outline:hover {
    background-color: var(--primary-yellow);
    color: #000;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* --- HEADER --- */
header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #222;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

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

.logo-container img {
    height: 60px;
    width: auto;
    display: block;
    border-radius: 50%;
    border: 2px solid var(--primary-yellow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.logo-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-title);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-yellow);
    transition: width 0.3s var(--transition-smooth);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--primary-yellow);
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(10,10,10,0.95)),
                url('../img/fotos_pesas.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 8px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content h1 span {
    color: var(--primary-yellow);
    display: block;
    font-size: clamp(3.5rem, 10vw, 6rem);
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.25);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.2); }
    50% { text-shadow: 0 0 40px rgba(255, 215, 0, 0.4); }
}

.hero-content > p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 35px;
    color: #ddd;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-rating {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-rating .stars {
    color: var(--primary-yellow);
    font-size: 1.5rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 5px;
}

.hero-rating .rating-text {
    color: #aaa;
    font-size: 0.95rem;
}

/* --- SECCIONES GENERALES --- */
section {
    padding: 100px 0;
}

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

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-white);
}

.section-title span {
    color: var(--primary-yellow);
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SERVICIOS --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 45px 35px;
    text-align: center;
    border: 1px solid #333;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.4s var(--transition-smooth);
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    border-color: #444;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* --- PLANES --- */
.pricing {
    background-color: var(--bg-dark);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.price-card {
    background-color: var(--bg-black);
    padding: 45px 30px;
    width: 280px;
    max-width: 100%;
    flex-grow: 0;
    text-align: center;
    border: 1px solid #333;
    position: relative;
    transition: all 0.4s var(--transition-smooth);
}

.price-card:hover {
    transform: scale(1.03) translateY(-10px);
    border-color: var(--primary-yellow);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), var(--shadow-glow);
    z-index: 10;
}

.price-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-white);
}

.price-card.featured {
    border: 2px solid var(--primary-yellow);
    transform: scale(1.05);
    z-index: 2;
    background: linear-gradient(145deg, #151515, #0d0d0d);
}

.price-card.best-value {
    background: linear-gradient(145deg, #1f1f1f, #0d0d0d);
    border: 1px solid var(--primary-yellow);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.price-card.featured:hover,
.price-card.best-value:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.25);
}

/* Badges */
.badge-premium,
.badge-featured {
    background: var(--primary-yellow);
    color: #000;
    font-weight: bold;
    font-family: var(--font-title);
    padding: 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* Ahorro */
.saving-container {
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.price-tag {
    font-family: var(--font-title);
    font-size: 3.2rem;
    color: var(--primary-yellow);
    margin: 25px 0 10px;
}

.price-tag span {
    font-size: 1rem;
    color: var(--text-gray);
}

.features-list {
    text-align: left;
    margin-bottom: 30px;
    padding-left: 10px;
}

.features-list li {
    margin-bottom: 14px;
    color: #bbb;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: "⚡";
    color: var(--primary-yellow);
    flex-shrink: 0;
}

.saving-text {
    color: var(--primary-yellow);
    font-weight: bold;
    display: block;
    font-size: 1.1rem;
}

.saving-sub {
    font-size: 0.85rem;
    color: #ddd;
    opacity: 0.9;
    display: block;
    margin-top: 5px;
}

/* Cuota Pulsera */
.extra-fee {
    font-size: 0.85rem;
    color: var(--primary-yellow);
    background-color: #2b2b2b;
    padding: 8px 12px;
    margin: 10px 0 20px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* --- EQUIPO --- */
.team-section {
    background-color: var(--bg-black);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background-color: var(--bg-card);
    border: 1px solid #333;
    padding: 45px 25px;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
}

.team-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.team-img-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    position: relative;
}

.team-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
    filter: grayscale(80%);
    transition: all 0.4s var(--transition-smooth);
}

.team-card:hover .team-img {
    filter: grayscale(0%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.35);
    transform: scale(1.05);
}

.team-name {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.team-role {
    display: block;
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.team-bio {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 20px;
}

/* Botón Leer más */
.btn-read-more {
    background: transparent;
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 10px 25px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    border-radius: 4px;
}

.btn-read-more:hover {
    background: var(--primary-yellow);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

/* Modal del Equipo */
.team-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--transition-smooth);
}

.team-modal.active {
    opacity: 1;
    visibility: visible;
}

.team-modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 2px solid var(--primary-yellow);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.4s var(--transition-smooth);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.1);
}

.team-modal.active .team-modal-content {
    transform: scale(1) translateY(0);
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--primary-yellow);
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-modal-close:hover {
    transform: rotate(90deg) scale(1.1);
    color: #fff;
}

.team-modal-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.team-modal-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-yellow);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.team-modal-info {
    flex: 1;
}

.team-modal-name {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--text-white);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.team-modal-role {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.team-modal-bio {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
}

.team-modal-bio p {
    margin-bottom: 15px;
}

/* Modal Responsive */
@media (max-width: 600px) {
    .team-modal-content {
        padding: 30px 20px;
        margin: 10px;
    }

    .team-modal-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .team-modal-img {
        width: 100px;
        height: 100px;
    }

    .team-modal-name {
        font-size: 1.4rem;
    }

    .team-modal-close {
        top: 10px;
        right: 10px;
    }
}

/* --- HORARIOS --- */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.schedule-item {
    background: linear-gradient(145deg, #1a1a1a, #222);
    padding: 35px;
    border-left: 5px solid var(--primary-yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s var(--transition-smooth);
}

.schedule-item:hover {
    background: #252525;
    transform: translateX(8px);
    box-shadow: -5px 0 20px rgba(255, 215, 0, 0.1);
}

.schedule-item.closed {
    border-left-color: #444;
}

.schedule-item.closed .day-name,
.schedule-item.closed .day-hours {
    color: #666;
}

.day-name {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.day-hours {
    font-size: 1.3rem;
    color: var(--primary-yellow);
    font-weight: bold;
}


/* FAQ */
.faq-section { background: var(--bg-black); }
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid #333; margin-bottom: 15px; overflow: hidden; transition: all 0.3s; }
.faq-item:hover { border-color: #555; }
.faq-item[open] { border-color: var(--primary-yellow); }
.faq-item summary { padding: 20px 25px; font-family: var(--font-title); font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--text-white); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary-yellow); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item div { padding: 0 25px 20px; color: var(--text-gray); line-height: 1.7; }
/* --- UBICACIÓN --- */
.info-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: stretch;
}

.info-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-map {
    flex: 1;
    min-width: 300px;
    height: 420px;
    border: 2px solid #333;
    border-radius: 4px;
    overflow: hidden;
}

.contact-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-yellow);
}

.contact-item h4 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 8px;
}

.contact-item p {
    color: var(--text-gray);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--text-gray);
    transition: all 0.3s;
}

.contact-item a:hover {
    color: var(--primary-yellow);
}

.map-link {
    color: var(--primary-yellow);
    text-decoration: underline;
    font-size: 0.9rem;
}

.info-map iframe {
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.5s var(--transition-smooth);
    width: 100%;
    height: 100%;
}

.info-map:hover iframe {
    filter: none;
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--transition-smooth);
    animation: whatsappPulse 2s ease-in-out infinite;
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.6); }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: #1ebe57;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
    animation: none;
}

/* --- COOKIES --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.98);
    border-top: 2px solid var(--primary-yellow);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.9);
    transform: translateY(100%);
    transition: transform 0.5s var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    margin-right: 25px;
    font-size: 0.9rem;
    color: #ddd;
}

.cookie-content p {
    margin-bottom: 5px;
}

.cookie-content a {
    color: var(--primary-yellow);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-content a:hover {
    color: var(--accent-yellow);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-cookie-accept {
    background-color: var(--primary-yellow);
    color: #000;
    border: none;
    padding: 10px 18px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-cookie-accept:hover {
    background-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.btn-cookie-reject {
    background-color: transparent;
    color: #fff;
    border: 1px solid #555;
    padding: 10px 18px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-cookie-reject:hover {
    border-color: #fff;
    background-color: rgba(255,255,255,0.05);
}

/* --- MODAL (Legacy) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid var(--primary-yellow);
    padding: 40px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: #ddd;
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: var(--primary-yellow);
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-content h2 {
    color: var(--primary-yellow);
    font-family: var(--font-title);
    margin-bottom: 15px;
}

.modal-content h3 {
    color: #fff;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

/* --- FOOTER --- */
footer {
    background-color: #000;
    padding: 60px 0 25px;
    text-align: center;
    border-top: 1px solid #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icons a {
    color: var(--primary-yellow);
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    border-radius: 50%;
}

.social-icons a:hover {
    color: #fff;
    border-color: var(--primary-yellow);
    transform: translateY(-4px);
    background-color: rgba(255, 215, 0, 0.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.social-svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* --- ANIMACIONES DE SCROLL --- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero {
        background-attachment: scroll;
    }

    .pricing-grid {
        gap: 20px;
    }

    .price-card {
        width: 260px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }

    .hero {
        min-height: 100svh;
        padding: 100px 15px 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h1 span {
        font-size: 3rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .hero-cta .btn,
    .hero-cta .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-container {
        justify-content: flex-start;
        padding-right: 60px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s var(--transition-smooth);
        border-left: 2px solid var(--primary-yellow);
        gap: 25px;
    }

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

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

    .price-card {
        width: 100%;
        max-width: 350px;
    }

    .price-card.featured,
    .price-card.best-value {
        transform: scale(1);
        margin: 0;
    }

    .info-map {
        height: 300px;
    }

    .info-container {
        flex-direction: column;
        gap: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        margin-bottom: 40px;
        font-size: 1rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .cookie-content {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .hero-content > p {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 35px 25px;
    }

    .price-card {
        padding: 40px 25px;
    }

    .team-card {
        padding: 35px 20px;
    }

    .schedule-item {
        padding: 25px;
    }
}

/* --- ACCESIBILIDAD --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero {
        background-attachment: scroll;
    }
}

/* Focus visible para navegación por teclado */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 3px;
}

/* Skip link para accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-yellow);
    color: #000;
    padding: 8px 15px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* --- PRINT STYLES --- */
@media print {
    header,
    .whatsapp-float,
    .cookie-banner,
    footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero {
        min-height: auto;
        background: none;
        padding: 20px;
    }

    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }
}

/* ============================================
   CALCULADORA DE MACROS
   ============================================ */

#calculadora-macros {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 80px 5%;
}

.macro-calculator-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.calc-form-section {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(245,211,39,0.2);
}

.calc-results-section {
    background: linear-gradient(145deg, rgba(245,211,39,0.1), rgba(245,211,39,0.05));
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(245,211,39,0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--primary-yellow);
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.9), rgba(15, 15, 15, 0.95));
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:hover,
.form-group select:hover {
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.98));
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.25), 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFD700' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group select option {
    background: #1a1a1a;
    color: #fff;
    padding: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gender-options {
    display: flex;
    gap: 15px;
}

.gender-option {
    flex: 1;
    padding: 14px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.9), rgba(15, 15, 15, 0.95));
    color: #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s var(--transition-smooth);
    font-weight: 500;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gender-option:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
}

.gender-option.active {
    border-color: var(--primary-yellow);
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
    color: var(--primary-yellow);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.2), 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.btn-calculate {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #d4b520 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-title);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,211,39,0.3);
}

.results-title {
    text-align: center;
    color: var(--primary-yellow);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(245,211,39,0.3);
    font-family: var(--font-title);
}

.result-card {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
    border-left: 4px solid;
}

.result-card.calories { border-left-color: var(--primary-yellow); }
.result-card.protein { border-left-color: #e74c3c; }
.result-card.carbs { border-left-color: #3498db; }
.result-card.fats { border-left-color: #2ecc71; }

.result-label {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-title);
}

.result-unit {
    font-size: 0.9rem;
    color: #aaa;
    font-weight: 400;
}

.macro-bar {
    display: flex;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}

.macro-bar-protein { background: #e74c3c; }
.macro-bar-carbs { background: #3498db; }
.macro-bar-fats { background: #2ecc71; }

.macro-legend {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    font-size: 0.8rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #aaa;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.placeholder-results {
    text-align: center;
    color: #666;
    padding: 40px 0;
}

.placeholder-results .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* ============================================
   ZONAS DE SERVICIO - TU GIMNASIO CERCA DE TI
   ============================================ */

.zones-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-black) 100%);
    position: relative;
    overflow: hidden;
}

.zones-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

.zone-card {
    background: linear-gradient(145deg, rgba(31, 31, 31, 0.9), rgba(20, 20, 20, 0.95));
    padding: 30px 25px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-yellow), var(--primary-yellow));
    transform: scaleX(0);
    transition: transform 0.4s var(--transition-smooth);
    transform-origin: left;
}

.zone-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
    pointer-events: none;
}

.zone-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
}

.zone-card:hover::before {
    transform: scaleX(1);
}

.zone-card:hover::after {
    opacity: 1;
}

.zone-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zone-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.zone-card p strong {
    color: var(--primary-yellow);
    font-weight: 600;
}

.zone-distance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
    color: var(--primary-yellow);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 25px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s var(--transition-smooth);
}

.zone-card:hover .zone-distance {
    background: var(--primary-yellow);
    color: #000;
    border-color: var(--primary-yellow);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.zones-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px 40px;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.08), rgba(255, 215, 0, 0.03));
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.zones-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.05), transparent);
    animation: zoneCTAShine 4s ease-in-out infinite;
}

@keyframes zoneCTAShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.zones-cta p {
    color: var(--text-white);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.zones-cta p strong {
    color: var(--primary-yellow);
}

/* Responsive Zonas */
@media (max-width: 768px) {
    .zones-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .zone-card {
        padding: 25px 20px;
    }

    .zone-card h3 {
        font-size: 1.15rem;
    }

    .zones-cta {
        padding: 35px 25px;
        margin-top: 40px;
    }

    .zones-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .zones-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .zone-card {
        padding: 20px 18px;
    }

    .zone-distance {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* RESPONSIVE CALCULADORA */
@media (max-width: 768px) {
    .macro-calculator-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
