:root {
    --primary: #C5E0E4;
    --accent: #F1FF66;
    --dark: #1E1E1E;
    --light: #FFFFFF;
    --background: #FBFBFC;
    --dark-blue: #293957;
    --dark-gray: #1E1E1E;
    --pastel-blue: #C6E1E5;
    /* Celeste pastel más visible */
    --glow-green: #F0FD6A;
    --border: rgba(41, 57, 87, 0.12);
    --shadow: 0 24px 60px rgba(30, 30, 30, 0.08);
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--dark);
    background: var(--background);
}

/* --- MODAL RESPONSIVO */
.responsive-modal {
    max-width: 800px;
    width: 90vw;
    box-sizing: border-box;
}

/* -- carousel --- */
.carousel-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 8px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s;
}

.carousel-dot.active {
    background: #333;
}

@media (max-width: 800px) {
    .responsive-modal {
        width: 90vw;
        max-width: 90vw;
    }
}

.header {
    position: sticky;
    top: 0;
    background: var(--dark-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    z-index: 10;

    /* background-color: var(--dark-blue);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000; */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--glow-green);
}

/* Botón CTA en menú */
.cta-menu {
    background-color: var(--glow-green);
    color: var(--dark-blue);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
}

.cta-menu:hover {
    background-color: var(--pastel-blue);
    color: var(--dark-blue);
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #ffffff;
    cursor: pointer;
    margin-left: auto;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 60px;
    width: auto;
    display: block;
}

.logo {
    font-size: 2.1rem;
    font-weight: 700;
    font-variant: small-caps;
    background: linear-gradient(135deg, var(--primary) 0%, #C5E0E4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark-blue);
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    filter: brightness(0.96);
    background: var(--dark-blue);
    color: var(--accent);
}

.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* object-position: center top; */
}

.hero-logo {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 180px;
    max-width: 30vw;
    height: auto;
}

/* @media (min-width: 1475px) {
    .hero-image {
        object-fit: contain;
    }
} */

.hero video {
    position: absolute;
    /*ojo*/
    inset: 0;
    /*ojo*/
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: block;
    z-index: 0;
    /*ojo*/
}

/* .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
} */

/* .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.70) 100%);
    z-index: 1;
} */


.hero-overlay {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.70) 100%);
    pointer-events: none;
    transition: background 0.2s, opacity 0.2s;
    opacity: 1;
    cursor: default;
}

.hero-overlay .active {
    opacity: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.70) 100%);
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay .active::after {
    content: '\25B6  Haz clic para reproducir';
    color: #fff;
    font-size: 2rem;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.70) 100%);
    padding: 1rem 2rem;
    border-radius: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.hero-logo {
    z-index: 2;
}

.hero-content {
    position: absolute;
    bottom: 20%;
    left: 1rem;
    right: 1rem;
    color: white;
    z-index: 2;
}

.hero-content p {
    margin-bottom: 40px;
}

.features,
.products,
.videos,
.levels,
.coach,
.testimonials,
.final-cta {
    padding: 2rem 1rem;
}

.features h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.levels h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* .carousel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
} */

.feature-list {
    display: flex;
    gap: 1rem;
    overflow-x: hidden;
    scroll-behavior: smooth;
    flex: 1;
    width: 100%;
}

.feature {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
}

.feature .card {
    width: 100%;
    box-sizing: border-box;
}

.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 0.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.carousel-dot.active {
    background: var(--dark-blue);
    transform: scale(1.25);
}

/* Products Section */
.products {
    background: var(--dark);
    text-align: center;
    padding-top: 60px;
    padding-bottom: 70px;
    /* linear-gradient(135deg, rgba(197, 224, 228, 0.25) 0%, #ffffff 100%);*/
}

.products h2 {
    text-align: center;
    color: var(--pastel-blue);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.product-cards {
    align-content: center;
    max-width: 1200px;
    display: grid;
    gap: 1.5rem;
    margin: auto;
}

.product-card {
    position: relative;
    height: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
}

.product-card .btn-primary {
    position: relative;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.12);
}

.product-card--training {
    background-image: url('training.webp');
}

.product-card--accessories {
    background-image: url('accesories.webp');
}

.product-card--clothing {
    background-image: url('clothing.webp');
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

@media (min-width: 768px) {
    .product-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Videos Section */
.videos {
    background: linear-gradient(135deg, rgba(197, 224, 228, 0.25) 0%, #C5E0E4 100%);
    /* var(--background); */
    color: var(--dark);
    text-align: center;
}

.videos h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.videos-content {
    max-width: 800px;
    margin: 0 auto;
}

.video-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.video-icon .btn-primary {
    font-size: 1rem;
}

.videos-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #555;
}

.video-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.video-tag {
    background: rgba(241, 255, 102, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(241, 255, 102, 0.6);
    color: var(--dark);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.level-cards {
    display: grid;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.level-cards .card img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

@media (min-width: 768px) {
    .level-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    padding: 2rem;
    border: 1px solid #eee;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.card h2 {
    color: var(--dark-blue);
    margin-top: 0;
    text-align: left;
}

.card h3 {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.6;
}

.coach {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    background: var(--dark-gray);
    color: var(--primary);
}

.coach img {
    max-width: 400px;
    width: 100%;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--dark-blue);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 4rem;
        transition: transform 0.4s ease, opacity 0.3s ease;
        gap: 2.5rem;
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }

    nav ul.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul li a {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) {
    .coach {
        flex-direction: row;
        align-items: flex-start;
    }

    .coach img {
        flex-shrink: 0;
    }
}

.final-cta {
    text-align: center;
    background: #f8f8f8;
}

.footer {
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}