/* Estilos para www.matreino.com.ar */

/* COLORES:

--radioactive-grass: #7ed957ff;
--green-yellow: #b8ff7aff;
--olive-leaf: #1a5600ff;
--black-forest: #0e2e00ff;
--bright-snow: #fafafaff;
--onyx: #131313ff;
--onyx-2: #0f0f0fff;


*/

/* Reset de estilos básicos */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg-global: #131313ff;
    --color-bg-light: #fafafaff;
    --color-bg-dark: #0f0f0fff;

    --color-text: #fafafaff;
    --color-text-hover: #7ed957ff;

    --color-text-secondary: #0e2e00ff;
    --color-text-secondary-hover: #1a5600ff;

    --color-primary: #7ed957ff;
    --color-primary-hover: #b8ff7aff;
    --color-primary-active: #1a5600ff;

    --color-dark-primary: #1a5600ff;
    --color-dark-secondary: #0e2e00ff;

    --color-primary-10: rgba(126, 217, 87, 0.1);
    --color-primary-20: rgba(126, 217, 87, 0.2);
    --color-primary-30: rgba(126, 217, 87, 0.3);
    --color-primary-40: rgba(126, 217, 87, 0.4);
    --color-primary-50: rgba(126, 217, 87, 0.5);
    --color-primary-60: rgba(126, 217, 87, 0.6);
    --color-primary-70: rgba(126, 217, 87, 0.7);

    --color-secondary: #fafafaff;
    --color-secondary-hover: #0e2e00ff;

    --color-accent: #000000;
    --color-accent-hover: #0E2E00;

    --color-border: #7ed957ff;
    --color-secondary-border: #b8ff7aff;

    --color-border-focus: #b8ff7aff;

    --color-shadow: rgba(126, 217, 87, 0.2);
    --color-shadow-hover: rgba(26, 86, 0, 0.2);
    --color-shadow-light: rgba(184, 255, 122, 0.2);

    --font-family: 'Roboto', sans-serif;
    --font-family-secondary: 'Playfair Display', serif;
    --max-width: 1200px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('../images/brand/bg-image.webp') center/cover;

    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: -1;
}


section {
    scroll-margin-top: 90px;
    width: 100%;
}

/* Typography */
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1,
h2,
h3 {
    font-family: var(--font-family-secondary);
}

h1 {
    font-weight: 900;
}

h4,
h5,
h6,
p {
    font-family: var(--font-family);
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul,
ol {
    margin-left: 2em;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/* Forms */
input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5em;
    border: 1px solid var(--color-border-focus);
    border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.1);
}

/* Utilities */
.container {
    max-width: var(--max-width);
    padding: 2rem;
    margin: 0 auto;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-text-secondary);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-link:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.1);
    text-decoration: none;
}

/* HAMBURGUER */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.menu-toggle:hover {
    color: var(--color-primary-hover);
}

.menu-toggle:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    color: var(--color-white);
}





/* Estilos */


/* HEADER============================================================ */
.header {
    display: flex;
    align-items: center;
    padding: 2rem;
    box-shadow: 0 0 10px var(--color-shadow);
    position: sticky;
    top: 0;
    z-index: 9999;
    position: sticky;

    background-image: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-dark-primary) 40%, var(--color-bg-global) 100%);


}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1rem;
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-secondary) 100%);
    opacity: 0.2;
    z-index: -1;
}

.header .logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.header .logo-container:hover {
    filter: drop-shadow(0 0 5px var(--color-primary));
    transform: scale(1.05);
    transition: filter 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.header .logo-container img {
    height: 100%;
    width: auto;
}

.navbar {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 2rem;
}

.navbar .nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.navbar .nav-list li {
    position: relative;
    margin: 0;
}

.navbar .nav-list li a {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
    padding: 1rem;
    transition: color 0.3s ease;
    align-items: center;
}

.navbar .nav-list li a:hover {
    color: var(--color-primary);
}

.header-cta {
    background-color: var(--color-primary);
    color: var(--color-text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 600;
    padding: 14px 28px;
}

.header-cta:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.3);
    text-decoration: none;
}

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

.hero {
    position: relative;
    min-height: 90vh;
    width: 100%;

    display: flex;
    align-items: center;
    overflow: hidden;

    background-image: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-global) 100%);
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .75) 0%,
            rgba(0, 0, 0, .45) 50%,
            rgba(0, 0, 0, .20) 100%);

    z-index: 1;
}

/* _________________________________________________ */
/* wrapper */
.trainer-wrapper {
    position: absolute;
    inset: 0;
}

.trainer-glow {
    position: absolute;

    width: 900px;
    height: 900px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(130, 255, 0, .08),
            transparent 70%);

    filter: blur(100px);

    bottom: -200px;
    right: -100px;
}

/* circulos */
.circle {
    position: absolute;
    border-radius: 50%;

    background:
        radial-gradient(circle,
            transparent 55%,
            #9dff00 56%,
            #42ff73 72%,
            transparent 73%);

    z-index: 2;
}

.circle::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        conic-gradient(from 0deg,
            #b6ff00,
            #7eff00,
            #00ff88,
            #b6ff00);

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

}

.circle-1 {
    border-radius: 50%;

    top: 20%;
    right: 7%;

    width: 600px;
    height: 600px;

    filter: blur(15px);
    opacity: 75%;
}

.circle-1::before {
    padding: 80px;
}

.circle-2 {
    top: 60%;
    right: 5%;

    width: 200px;
    height: 200px;

    opacity: .1;
}

.circle-3 {
    top: -5%;
    right: -5%;

    width: 200px;
    height: 200px;

    opacity: .1;
}

.circle-4 {
    top: 15%;
    right: 25%;

    width: 200px;
    height: 200px;

    opacity: .1;
}

/* elemento principal */
.hero-element {
    position: absolute;

    bottom: 0;
    right: 5%;

    height: 90vh;
    width: auto;

    z-index: 6;
}


/* humo */
.smoke {
    position: absolute;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(255, 255, 255, .2) 0%,
            rgba(255, 255, 255, .2) 40%,
            transparent 100%);

    filter: blur(80px);

    animation: floatSmoke 8s ease-in-out infinite;
    z-index: 4;
}

.smoke-1 {
    width: 600px;
    height: 350px;

    right: 0;
    bottom: 0;

    z-index: 4;
}

.smoke-2 {
    width: 600px;
    height: 400px;

    right: 20%;
    bottom: 0;
    z-index: 4;
}

@keyframes floatSmoke {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }

}

/* particulas */

.particle {
    position: absolute;
    border-radius: 50%;
    background: white;

    box-shadow:
        0 0 5px white,
        0 0 10px white,
        0 0 15px white;

    animation: twinkle 4s infinite ease-in-out;

    z-index: 5;
}

.p1 {
    width: 4px;
    height: 4px;

    top: 20%;
    right: 30%;

    opacity: .9;
}

.p2 {
    width: 2px;
    height: 2px;

    top: 45%;
    right: 40%;

    opacity: .5;
}

.p3 {
    width: 6px;
    height: 6px;

    top: 30%;
    right: 10%;

    opacity: .8;
}

.p4 {
    width: 4px;
    height: 4px;

    top: 47%;
    right: 44%;

    opacity: .8;
}

.p5 {
    width: 3px;
    height: 3px;

    top: 65%;
    right: 40%;

    opacity: .6;
}

.p6 {
    width: 5px;
    height: 5px;

    top: 45%;
    right: 5%;

    opacity: .7;
}

.p7 {
    width: 6px;
    height: 6px;

    top: 84%;
    right: 42%;

    opacity: .6;
}

.p8 {
    width: 4px;
    height: 4px;

    top: 77%;
    right: 10%;

    opacity: .5;
}

.p9 {
    width: 8px;
    height: 8px;

    top: 16%;
    right: 20%;

    opacity: .5;
}

.p10 {
    width: 3px;
    height: 3px;

    top: 50%;
    right: 30%;

    opacity: .7;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: .3;
    }

    50% {
        opacity: 1;
    }
}

/* lineas */

.line {
    position: absolute;

    width: 300px;

    background:
        linear-gradient(90deg,
            transparent,
            rgba(170, 255, 0, .25),
            transparent);

    transform: rotate(-45deg);
    z-index: 3;
}

.line-1 {
    bottom: 20%;
    right: 27%;

    height: 6px;
}

.line-2 {
    top: 20%;
    right: 20%;
    opacity: .5;
    height: 10px;
}


/* __________________________________________________________ */

/* .hero-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 90vh;
    ;

    object-fit: fill;
    object-position: center center;

    filter: brightness(.45);
} */

.hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 74%;

    margin-left: 3%;
    padding: 2rem;

    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 1.5rem + 3vw, 5rem);
    line-height: 1.05;
    animation: fadeInUp 2s ease forwards;
}

.hero-content h1 span {
    color: var(--color-primary);
    display: block;
}


.hero-content h2 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.5;
    max-width: 650px;
    animation: fadeInUp 2s ease forwards;
}

.hero-cta-container {
    display: flex;
    gap: 1rem;
}

.hero-btn {
    background-color: var(--color-primary);
    color: var(--color-text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-weight: 600;
    font-size: 1.3rem;
    animation: fadeInUp 2s ease forwards;
}

.hero-btn:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-text-secondary);
    text-decoration: none;
}

.hero-btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    padding: 0.75rem 1.5rem;
    border: 3px solid var(--color-primary);
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
    font-size: 1.3rem;
    animation: fadeInUp 2s ease forwards;
}

.hero-btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-secondary);
    text-decoration: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ABOUT-ME ================================================== */

.about {
    padding-block: 8rem;
    background-image: radial-gradient(ellipse at center, var(--color-bg-global) 0%, var(--color-bg-dark) 60%);
}

.about-container {
    display: flex;
    align-items: center;

}

/* ABOUT-TEXT */
.about-text-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    padding-right: 2rem;
}

.about-text-container h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.about-text-container p {
    font-size: 1.3rem;
    max-width: 800px;
    text-align: start;
}

/* BADGES */

.about-badges-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(126, 217, 87, .15);
}

.about-badges-container>p {
    color: var(--color-text);
    font-size: 1.25rem;
}

.about-badges-container>p::before {
    content: "✓";
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.about-badge h3 {
    font-family: var(--font-family);
    font-size: 3rem;
    color: var(--color-primary);
    font-weight: 800;
}

.about-badge i {
    font-size: 2rem;
}

.about-badge p {
    font-size: 1rem;
    text-align: center;
}

/* __________________________________________________ */

/* ABOUT-IMAGE */

.img-about-container {
    display: flex;
    justify-content: center;
    max-width: 400px;
}

.about-image {
    width: 100%;
    border-radius: 32px;
    filter: drop-shadow(0 0 5px var(--color-shadow));
}

/* ___________________________________________________ */

/* SERVICES =================================================== */

.services-section {
    color: var(--color-text-secondary);
    padding-block: 2rem;
}


.services-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.services-container h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center;
    width: 100%;
}

.service-card {
    background-color: var(--color-bg-dark);
    border-radius: 16px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(126, 217, 87, 0.15);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--color-shadow);
}

.service-card .card-title {
    font-family: var(--font-family);
    font-size: 1.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0;
    color: var(--color-text-secondary);
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-text-secondary-hover) 100%);
    border-radius: 16px 16px 0 0;
}

.service-card .card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1rem;
}

.service-card-body h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.service-card-body p {
    font-size: 1rem;
    color: var(--color-text);
}

.service-card-cta {
    margin-top: auto;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.service-card-cta:hover {
    background-color: var(--color-primary);
    color: var(--color-text-secondary);
    text-decoration: none;
}

/* BENEFITS ============================================= */

.benefit-section {
    background: var(--color-bg-global);
    padding-block: 8rem;
}

.benefit-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.benefit-container h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 3rem;

}

/* CARDS */

.benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;

    width: 100%;

    padding: 1.5rem;

    background: rgba(126, 217, 87, 0.08);
    border: 1px solid rgba(126, 217, 87, 0.15);

    border-radius: 16px;

    transition: transform .3s ease;

}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-primary);
}



.benefit-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    border-radius: 50%;
    padding: 1rem;

    background: rgba(126, 217, 87, .08);

    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;

}

.benefit-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: .5rem;
}

.benefit-content h3 {
    margin-bottom: .25rem;
    color: var(--color-text);
    font-size: 1.4rem;
    line-height: 1.2;
    min-height: 2.4em;
}

.benefit-content p {
    color: var(--color-text);
    font-size: 1.125rem;
    margin: 0;
    opacity: .85;
}

/* ===================================== */
/* HOW-TO */

.how-to-section {
    padding-block: 8rem;
    background: var(--color-bg-dark)
}

.how-to-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
}

.how-to-container>h2 {
    font-size: 3rem;
    color: var(--color-primary);
    text-align: center;
}

.how-to-container>p {
    color: var(--color-text);
    text-align: center;
}

.how-to-steps {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
    text-align: center;
    list-style: none;
    counter-reset: step;
    position: relative;
}

.step {
    counter-increment: step;
    z-index: 1;
    width: min(100%, 500px);
}


.step::before {
    content: counter(step);

    position: relative;
    z-index: 2;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 1rem;

    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text-secondary);
    font-weight: 700;

}

/* ==================================== */
/* TESTIMONIALS */

.testimonials-section {
    padding-block: 5rem;
    background: var(--color-bg-global);
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.testimonials-container h2 {
    font-size: 3rem;
    color: var(--color-primary);
    text-align: center;
}

.testimonials-container>p {
    text-align: center;
    max-width: 700px;
    color: var(--color-text);
    margin-bottom: 2rem;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 400px;
}

.testimonial-card {
    position: absolute;
    inset: 0;

    background: var(--color-bg-dark);

    border: 1px solid rgba(126, 217, 87, 0.15);
    border-radius: 20px;

    padding: 3rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;

    opacity: 0;
    transform: translateX(30px);

    transition:
        opacity .6s ease,
        transform .6s ease;

    justify-content: center;

    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card::before {
    content: "❝";

    position: absolute;
    top: 15px;
    left: 25px;

    font-size: 5rem;
    line-height: 1;

    color: var(--color-primary);
    opacity: .15;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: var(--color-text);
    padding-top: 0.5rem;
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author h3 {
    color: var(--color-primary);
    margin-bottom: .25rem;
}

.testimonial-author span {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}

.testimonial-dots {
    display: flex;
    gap: .75rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;

    border-radius: 50%;
    border: none;

    cursor: pointer;

    background: rgba(255, 255, 255, .3);

    transition: .3s;

    z-index: 2;
}

.dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

/* ===================================== */
/* CTA */

.cta-section {
    background-color: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 8rem 2rem;
}

.cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;

    max-width: 900px;

    background:
        linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-global) 100%);

    border: 1px solid rgba(126, 217, 87, .15);

    border-radius: 24px;

    padding: 5rem;

    backdrop-filter: blur(6px);
}

.cta-section h2 {
    font-size: 3rem;
    color: var(--color-text);
    text-align: center;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--color-text);
    text-align: center;
    max-width: 600px;
}

.cta-btn {
    background: var(--color-primary);
    color: var(--color-text-secondary);

    padding: 1rem 2.5rem;

    border: 1px solid var(--color-primary);

    border-radius: 8px;

    font-size: 1.25rem;
    font-weight: 700;

    transition: all .3s ease;

    box-shadow:
        0 0 20px var(--color-primary-20);
}

.cta-btn:hover {
    background: var(--color-primary-hover);

    transform: translateY(-3px);

    box-shadow:
        0 0 30px var(--color-primary-50);

    text-decoration: none;
}

.cta-trust {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;

    color: var(--color-primary);

    font-weight: 600;
}

/* ========================================================= */
/* CONTACT */

.contact-section {

    padding-block: 8rem;

    border-top: 1px solid rgba(126, 217, 87, .08);

    background: var(--color-bg-global);
}

.contact-header {

    text-align: center;

    margin-bottom: 4rem;
}

.contact-label {

    display: inline-block;

    color: var(--color-primary);

    font-size: .85rem;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 1rem;
}

.contact-header h2 {

    font-size: 3rem;

    color: var(--color-text);

    margin-bottom: 1rem;
}

.contact-header p {

    max-width: 650px;

    margin: auto;

    opacity: .8;
}

.contact-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 4rem;
    align-items: start;
}

.schedule-box {
    background: var(--color-bg-dark);
    border: 1px solid rgba(126, 217, 87, .15);
    border-radius: 16px;
    padding: 2rem;
}

.schedule-box h3 {

    color: var(--color-primary);

    margin-bottom: 1rem;
}

.schedule-box h4 {
    margin-bottom: 1rem;
    color: var(--color-text);
}

#classes-title {
    margin-top: 2rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr 150px;
    gap: 1rem;
    align-items: center;

    padding: 1rem 0;
    border-bottom:
        1px solid rgba(255, 255, 255, .08);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item strong {
    color: var(--color-primary);
}

.schedule-location {
    display: flex;
    text-align: left;
    gap: .75rem;

}

.schedule-location i {
    color: var(--color-primary);
}

.contact-actions {
    border: 1px solid rgba(126, 217, 87, .15);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    background: var(--color-bg-dark);
}

.contact-actions h3 {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.contact-main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-text-secondary);
    font-weight: 700;
    margin-bottom: 2rem;
    transition: .3s;
}

.contact-main-btn i {
    font-size: 1.5rem;
    font-weight: 800;
}

.contact-main-btn:hover {

    background: var(--color-primary-hover);

    transform: translateY(-3px);

    text-decoration: none;
}

.social-links {

    display: flex;
    flex-direction: column;

    gap: 1rem;
}

.social-links a {

    display: flex;

    align-items: center;

    gap: .75rem;

    color: var(--color-text);

    padding-bottom: .75rem;

    border-bottom:
        1px solid rgba(255, 255, 255, .08);
}

.social-links a:hover {

    color: var(--color-primary);

    text-decoration: none;
}

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

.footer {
    background-image: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-global) 100%);
    padding: 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem;
    justify-content: space-between;
    align-items: start;

    max-width: 1600px;
    margin: 0 auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-logo-container:hover {
    filter: drop-shadow(0 0 5px var(--color-primary));
    transform: scale(1.05);
    transition: filter 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.footer-logo-container img {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 0 5px var(--color-shadow));
}

.logo-footer-description {
    color: var(--color-text);
    font-size: 1rem;
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
}

.footer-column h3 {
    color: var(--color-primary);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.footer-nav {
    padding-left: 2rem;
}

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

.footer-list li {
    margin: 0;
}

.footer-list li a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list li a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-social a {
    color: var(--color-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.footer-cta-container {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    border-top: 1px solid rgba(126, 217, 87, .15);
}

.footer-cta-container p {
    color: var(--color-text);
    font-size: 1rem;
    margin-top: 1rem;
}

.footer-cta {
    background-color: var(--color-primary);
    color: var(--color-text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 600;

    align-self: flex-start;
}

.footer-cta i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-cta:hover {
    background-color: var(--color-primary-hover);
    transform: scale(1.05);
    text-decoration: none;
}



/* ======== */

.footer-bottom {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.8;
}

.footer-bottom .developer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.footer-bottom .developer a {
    color: var(--color-primary);
    text-decoration: none;
}


/* MEDIA QUERIES ===================================================== */



@media (max-width: 1200px) {
    .navbar {
        gap: 0.5rem;
    }

    .hero-content {
        max-width: 700px;
    }

    .circle-1 {
        right: 2%;
    }

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

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

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


}

@media (max-width: 992px) {
    .container {
        padding: 1rem;
        width: 90%;
    }

    .header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .img-about-container {
        max-width: 80%;
        height: auto;
    }

    .about-image {
        width: 100%;
    }

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

    .contact-actions {
        margin-top: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-nav {
        padding-left: 0;
    }

    .footer-column {
        gap: 1rem;
        align-items: center;
    }

    .footer-cta {
        align-self: center;
    }

}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active {
        background: var(--color-bg-dark);
        color: var(--color-primary);
    }

    .navbar {
        display: none;
        margin: 0;
    }

    .navbar.open {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        background: var(--color-bg-dark);
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        border-radius: 0 0 8px 8px;

        align-items: center;
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;

        align-items: center;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
        margin: 0;
    }


    .hero {
        height: 85vh;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        background-image: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-global) 100%);
    }

    .hero::before {
        display: none;
    }

    .hero-content {
        position: relative;
        width: 100%;
        max-width: 90%;
        margin-left: 0;
        padding: 1.5rem 1rem;
        text-align: center;
        z-index: 10;
        order: 2;
    }

    .hero-content {
        order: 2;
        margin-top: auto;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        /* Ajustado para pantallas móviles */
        margin-bottom: 0.8rem;
    }

    .hero-content h2 {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }

    .hero-cta-container {
        flex-direction: column;
        /* Botones uno abajo del otro */
        gap: 0.75rem;
        width: 100%;
    }

    .hero-btn,
    .hero-btn-secondary {
        width: 100%;
        /* Botones a lo ancho del contenedor */
        text-align: center;
        font-size: 1.1rem;
        padding: 0.85rem 1rem;
    }

    /* 2. SECCIÓN ENTRENADOR Y EFECTOS (Ahora arriba) */
    .trainer-wrapper {
        position: relative;
        /* Cambia de absolute a relative para ocupar espacio real */
        width: 100%;
        height: 45vh;
        /* Ocupa la mitad superior de la pantalla */
        display: flex;
        justify-content: center;
        align-items: flex-end;
        overflow: hidden;
    }

    .hero-element {
        position: relative;
        /* Cambia para acomodarse al wrapper flex */
        right: auto;
        /* Centrado automático */
        bottom: 0;
        height: 100%;
        /* Se escala proporcionalmente al contenedor */
        width: auto;
        z-index: 6;
    }

    /* 3. REPOSICIONAMIENTO DE EFECTOS (Círculos y Glows para móvil) */

    /* El destello principal centrado detrás del entrenador */
    .trainer-glow {
        width: 450px;
        height: 450px;
        bottom: -100px;
        right: calc(50% - 225px);
        /* Centrado perfecto */
        filter: blur(60px);
    }

    /* El círculo neón principal encuadrando al entrenador */
    .circle-1 {
        top: auto;
        bottom: -10%;
        right: calc(50% - 160px);
        /* Centrado */
        width: 320px;
        height: 320px;
        filter: blur(8px);
        opacity: 85%;
    }

    .circle-1::before {
        padding: 35px;
        /* Reducimos el grosor del anillo en móvil */
    }

    /* Apagamos o reducimos los círculos extra que distraen en pantallas chicas */
    .circle-2,
    .circle-3,
    .circle-4 {
        display: none;
    }

    /* Ajuste de humo para que no sature el contenedor chico */
    .smoke-1 {
        width: 300px;
        height: 200px;
        right: 0;
    }

    .smoke-2 {
        width: 300px;
        height: 200px;
        right: auto;
        left: 0;
    }

    /* Reubicar algunas partículas estratégicamente en el nuevo espacio del entrenador */
    .particle {
        right: auto;
        /* Reseteamos el float default */
    }

    .p1 {
        top: 20%;
        left: 20%;
    }

    .p3 {
        top: 30%;
        left: 75%;
    }

    .p6 {
        top: 50%;
        left: 80%;
    }

    .p9 {
        top: 15%;
        left: 35%;
    }

    /* Apagamos partículas sobrantes para rendimiento móvil */
    .p2,
    .p4,
    .p5,
    .p7,
    .p8,
    .p10 {
        display: none;
    }

    /* Ajuste de las líneas de velocidad */
    .line-1 {
        bottom: 15%;
        right: auto;
        left: 15%;
        width: 150px;
    }

    .line-2 {
        top: 25%;
        right: 15%;
        width: 150px;
    }


    .hero-content h2 {
        font-size: 1rem;
    }

    .hero-cta-container {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn,
    .hero-btn-secondary {
        width: 100%;
    }

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text-container {
        padding: 0;
        text-align: center;
    }

    .about-badges-container {
        justify-content: center;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .service-card .card-image {
        height: 300px;
    }

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

    .how-to-container {
        padding: 0 1rem;
    }


    .how-to-steps {
        flex-direction: column;
        margin: 0;
        gap: 2rem;
    }

    .testimonials-section {
        padding: 4rem 0;
    }

    .testimonial-card {
        padding: 2rem;
    }


    .testimonial-text {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .testimonial-author h3 {
        font-size: 1.5rem;
    }


    .services-container h2,
    .benefit-container h2,
    .how-to-container>h2,
    .testimonials-container h2,
    .cta-container h2,
    .contact-header h2 {
        font-size: 1.8rem;
    }

    .cta-container {
        padding: 2rem;
        margin: 0;
    }

}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .testimonial-card {
        min-height: 500px;
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.4;
    }

    .schedule-box {
        width: 100%;
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .about-container {
        padding: 0 1rem;
    }

    .img-about-container {
        max-width: 250px;
        height: auto;
    }

    .about-image {
        width: 100%;
    }

    .schedule-box {
        width: 100%;
        padding: 1rem;
    }

    .schedule-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-container {
        padding: 1rem;
    }

    .footer-logo-container img {
        height: 100px;
    }

    .testimonial-card {
        padding-top: 0.8rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}