* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

:root {
    --navy: #030941;
    --lime: #c8f334;
    --white: #ffffff;
}


body {
    background-color: var(--white);
    color: var(--navy);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--navy);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo {
    color: var(--lime);
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--lime);
    transform: scale(1.05);
}

.hero {
    background-image:url("IMAGES/GYM.jpg"); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    color: var(--white);
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-btn {
    background-color: var(--lime);
    color: var(--navy);
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #d4ff5e;
    transform: scale(1.1);
}


.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 2rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--lime);
    margin: 0.5rem auto 2rem auto;
    border-radius: 2px;
}

.grid-plan {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plan-card {
    background-color: var(--navy);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

.plan-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.plan-card p {
    font-size: 1rem;
    margin: 0.5rem 0;
}

.plan-card .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background-color: var(--lime);
    color: var(--navy);
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.plan-card .btn:hover {
    background-color: #d4ff5e;
}

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

.grid-gallery img {
    width: 100%;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.grid-gallery img:hover {
    transform: scale(1.05) rotate(1deg);
}

.contacto p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 3rem 2rem 1rem 2rem;
    text-align: center;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--lime);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--lime);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: scale(1.05);
}

.social a {
    color: var(--lime);
    text-decoration: none;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social a:hover {
    color: var(--white);
    transform: scale(1.1);
}

footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
}
/* --- SOBRE NOSOTROS --- */

/* Contenedores de Ancho Completo (Elimina márgenes blancos) */
.full-width-navy {
    width: 100%;
    background-color: var(--navy);
    padding: 5rem 0;
}

.full-width-white {
    width: 100%;
    background-color: var(--white);
    padding: 5rem 0;
}

.max-width-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem; /* Margen interno para que no pegue al borde en pantallas chicas */
}

/* Textos Generales */
.lime-title {
    color: var(--lime);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.lime-text {
    color: var(--lime);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.navy-title {
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.white-text {
    color: var(--white);
}

.center-text {
    text-align: center;
}

.narrow-p {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.btn-dark {
    background-color: var(--navy);
    color: var(--white);
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
}

/* SECCIÓN 1: HEADER Y PIRÁMIDE */
.about-header {
    margin-bottom: 4rem;
}

.intro-text {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about-split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Estructura Pirámide */
.values-pyramid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
}

.pyramid-top {
    display: flex;
    justify-content: center; /* Centra el elemento superior */
}

.pyramid-bottom {
    display: flex;
    justify-content: space-between; /* Separa los elementos inferiores */
    gap: 1rem;
}

.value-card {
    background-color: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    width: 48%; /* Ajusta el ancho de las tarjetas */
    color: #e0e0e0;
}

.pyramid-top .value-card {
    width: 60%; /* La tarjeta de arriba un poco más ancha */
}

.icon-circle {
    background-color: var(--lime);
    color: var(--navy);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

/* Imágenes Derecha */
.about-images-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 1rem;
}

.img-top-left, .img-top-right, .img-bottom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.img-bottom {
    grid-column: span 2;
}

/* SECCIÓN 2: COACHES */
.coaches-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.coaches-imgs {
    flex: 1;
    display: flex;
    gap: 1rem;
}

.coaches-imgs img {
    width: 50%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.coaches-info {
    flex: 1;
    color: var(--navy);
}

.subtitle {
    color: #666;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* SECCIÓN 3: EQUIPO */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s;
}

.team-grid img:hover {
    transform: scale(1.03);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .about-split-content {
        grid-template-columns: 1fr;
    }
    .pyramid-top .value-card, .value-card {
        width: 100%; /* Tarjetas full width en cel */
    }
    .pyramid-bottom {
        flex-direction: column;
    }
    .coaches-container {
        flex-direction: column-reverse;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* --- PÁGINA CONTACTO --- */

.contact-hero {
    background-image: url("IMAGES/Box.png");
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    background-color: rgba(3, 9, 65, 0.8);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
}

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

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-signup {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.hero-signup input {
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    border: none;
    width: 300px;
    font-size: 1rem;
}

.hero-signup button {
    background-color: var(--lime);
    color: var(--navy);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.hero-signup button:hover {
    transform: scale(1.05);
    background-color: #d4ff5e;
}

.small-note {
    font-size: 0.8rem !important;
    opacity: 0.8;
}

.contact-section-main {
    background-color: var(--navy);
    padding: 5rem 2rem;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.main-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    color: var(--lime);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input, 
.form-group textarea {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 1rem;
    color: var(--white);
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--lime);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check label {
    color: var(--lime);
    font-size: 0.9rem;
}

.btn-submit {
    background-color: var(--lime);
    color: var(--navy);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    align-self: flex-start;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: #d4ff5e;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero-signup {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-signup input {
        width: 100%;
    }
    
    .hero-signup button {
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
}

/* --- PÁGINA PLANES --- */

.planes-page-container {
    background-color: var(--navy);
    width: 100%;
    padding: 4rem 2rem;
    min-height: 100vh;
}

.planes-header {
    margin-bottom: 4rem;
}

.planes-grid-container {
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.plan-card-white {
    background-color: var(--white);
    color: #333;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    border: 3px solid transparent; 
}

.plan-card-white:hover {
    transform: translateY(-10px);
    border-color: var(--lime);
}

.plan-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #000;
}

.plan-price {
    font-size: 0.95rem;
    color: #555;
    font-weight: bold;
    margin-bottom: 1rem;
}

.plan-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    flex-grow: 1; 
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    color: #444;
}

.plan-features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #000; 
    font-weight: bold;
}

.btn-full-lime {
    display: block;
    width: 100%;
    background-color: var(--lime);
    color: var(--navy);
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: background 0.3s;
    margin-top: auto; 
}

.btn-full-lime:hover {
    background-color: #d4ff5e;
}

.benefits-section {
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .planes-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .planes-grid-container {
        grid-template-columns: 1fr;
        max-width: 400px; 
    }
    
    .planes-page-container {
        padding: 3rem 1rem;
    }
}

.gallery-header {
    padding-top: 2rem;
    margin-bottom: 2rem;
}

.gallery-split {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.gallery-text-content {
    flex: 1;
}

.gallery-text-content p {
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.duo-images {
    flex: 1;
    display: flex;
    gap: 1.5rem;
}

.duo-images img {
    width: 50%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.duo-images img:hover {
    transform: scale(1.03);
}

.trio-images {
    display: flex;
    gap: 1.5rem;
    height: 400px;
}

.trio-images img {
    flex: 1;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.trio-images .wide-img {
    flex: 1.5; 
}

.btn-lime-pill {
    background-color: var(--lime);
    color: var(--navy);
    padding: 0.8rem 2.5rem;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    transition: background 0.3s, transform 0.3s;
}

.btn-lime-pill:hover {
    background-color: #d4ff5e;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .gallery-split {
        flex-direction: column;
        text-align: center;
    }

    .reverse-layout {
        flex-direction: column-reverse; 
    }

    .duo-images {
        width: 100%;
        justify-content: center;
    }
    
    .duo-images img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .trio-images {
        flex-direction: column;
        height: auto;
    }

    .trio-images img {
        height: 250px;
        width: 100%;
    }

    .duo-images img {
        height: 200px; 
    }
}

.navbar .logo a {
    color: var(--lime);
    text-decoration: none; 
}

.footer-logo a {
    color: var(--lime);
    text-decoration: none;
}