* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'instrument-sans', sans-serif;
 
}
/* Barra de navegación - Tus estilos actuales modificados */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.top-nav-logo {
    width: 15%;
    height: auto;
}

.top-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-right: 20px;
}

.top-nav ul a li {
    padding: 10px 15px;
    font-weight: 500;
    font-size: 0.8vmax;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 4px;
}

.top-nav ul a li:hover {
    color: #4a6bff;
    background-color: #f5f7ff;
}

/* .top-nav ul a.active li {
    color: #4a6bff;
    font-weight: bold;
} */

/* Menú responsive */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

.contenedor{
    margin: 0 auto;
    width: 75%;
}

/*---------------------------------------------------------*/


.headerCarousel {
    padding: 30px 4% 1%;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.header {
    min-height: 100vh;
    position: relative;
    background: url(../imagenes/fondoHeader1.webp) no-repeat center center;
    background-size: cover;
    padding-top: 40px; /* Para compensar la navbar fija */
}

.headerBloque {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    min-height: calc(100vh - 80px);
}

.header__Text {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    order: 1;
}

.header__Text__Description {
    padding: 2rem;
    background: linear-gradient(60deg, #d1d1d1, transparent);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.header__Text__Description h1 {
    margin-bottom: 2rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
}

.header__Text__Description p {
    margin-bottom: 20px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 500;
}

.header__Text__Description ul {
    list-style: "\2713";
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.header__Text__Description li {
    margin-bottom: 10px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    padding-left: 10px;
}

.header__Bloque__Items {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.header__Bloques {
    box-shadow: 2px 2px 3px 1px rgba(150, 150, 150, 0.3);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    transition: transform 0.3s ease;
}

.header__Bloques:hover {
    transform: translateY(-5px);
}

.header__Bloques figure {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.header__Bloques img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header__Bloques div h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.header__Bloques div p {
    font-size: 0.9rem;
    color: #555;
}

.header__Text__List {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.header__Text__List a {
    background: #c7e038;
    text-decoration: none;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    font-size: 1.1rem;
}

.header__Text__List a:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 5px 15px rgba(199, 224, 56, 0.4);
}

.header__Logo {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    order: 2;
    position: relative;
}

.header__Logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.headerCarousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

/* Media Queries para Responsive */
@media (min-width: 768px) {
    .headerBloque {
        flex-direction: row;
        gap: 40px;
    }
    
    .header__Text {
        width: 55%;
        order: 1;
    }
    
    .header__Logo {
        width: 45%;
        order: 2;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .header__Text__Description {
        padding: 1.5rem;
    }
    
    .header__Bloque__Items {
        grid-template-columns: 1fr;
    }
    
    .header__Text__List a {
        width: 100%;
        text-align: center;
    }
}


/*---------------------------------------------------------*/
.body {
    font-family: 'instrument-sans', sans-serif;
    /* background: #333; */
    
    & .article-1 {
        width: 100%;
        min-height: 95vh;   
        background: url(../imagenes/fondoHeader2.webp) no-repeat center center;
        background-size: cover;
        
        & .article-1__Container{
            display: flex;
            & .article-1__Img{
                width: 100%;
            }

            & .article-1__Text{  
                width: 100%;
                & .article-1__Text__Title{
                    font-size: 3.5vmax; margin-bottom: 2rem; text-align: end; padding-right: 20%;
                }
                & .article-1__Text__Bloques{
                    display: grid; grid-template-rows: repeat(3, 1fr) 100%; gap: 1rem; padding: 0 20% 0 0;
                    & .article-1__Text__Bloque{
                        padding:7%  3%; margin-bottom: 5%; box-shadow: 6px 8px 16px 3px #00000033; background: #c7e038cb; border-radius: 12px; height: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
                        & h2{
                            font-size: 1.8vmax; margin-bottom: 2rem;
                        }
                        & p{
                            font-size: 0.9vmax;
                        }
                    }
                }
            } 
        } 
    }

    .a_1__Lema{
        width: 100%; background: #c7e038cb; padding: 5% 10%;
        & .a_1l__Bloque{
            height: max-content; maring: 0 auto; padding: 0.25em 1.25em; display: flex; flex-direction: column; align-items: center;
            & .a_1b__Title{
                font-size: 3.5vmax; font-weight: bold; text-align: start; width: 100%;
            }
            & .a_1b__subTitle{
                font-size: 2.8vmax; font-weight: bold; text-align: start; width: 100%; color: #fff; margin-bottom: 1%;
            }
            & .a_1b__Description{
                font-size: 1.2vmax; width: 100%; text-align: end;
            }
        }
    }

    .articles__Title{
        padding: 3% 0 0; display: flex; flex-direction: column; align-items: center;
        & h2{
            font-size: 3.5vmax;
        }
        & p{
            font-size: 1vmax; text-align: center;
        }
    }

    .article-2 {
        background: #f8f8f8;
    }

    .article_2__Grid{
        display: grid; grid-template-columns: repeat(auto-fit, minmax(20%, 1fr)); grid-template-rows: 1fr; padding: 3% 8%; gap: 2%;
        & .a_2g__bloque{
            background: #fff; padding: 5%; box-shadow: 8px 9px 15px 1px #c4c4c4; border-radius: 10px;
            & figure{
                width: 100%;
                & img{
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                }
            }
            & .a_2gb__Text{
                & h3{
                    text-align: center; margin-bottom: 1rem; font-size: 1.1vmax
                }
                & p{
                    text-align: center
                }
            }
        }
    }
    
    .article-3 {
        & .article-3__Title{
            padding: 3% 0; display: flex; flex-direction: column; align-items: center;
            & h2{
                font-size: 3.5vmax
            }
            & p{
                font-size: 1vmax; text-align: center;
            }
        }
        & .article-3__Productos{
            display: grid; grid-template-columns: repeat(auto-fit, minmax(48%, 1fr)); grid-template-rows: 1fr; height: auto; padding: 0% 8% 3%;

            & .article-3__store{
                display: flex; justify-content: space-between; height: 44vh; margin: 3%; box-shadow: 6px 8px 16px 3px #c3c3c3; border: 4px solid #c7e038; border-radius:12px; position:relative; overflow: hidden;
                & .as__Textos{
                    width: 100%; display:flex; flex-direction: column; position: relative; z-index: 2;
                    & .ast__Sup{
                        height: 100%; padding: 5%;
                        small{ font-size: 0.8vmax; }
                        h1{ font-size: 2vmax; opacity: 0.2; margin: 2% 0; }
                    }
                    & .ast__Inf{
                        height: 100%; width: 100%; padding: 0 5%;
                        & .asti__Title{
                            font-size: 2vmax;
                        }
                        & .asti__Button{
                            display: flex; gap: 2%; padding: 2%; align-items: center;
                            & .astib__btn{
                                border: 1px solid #000; padding: 0.3vmax 0.5vmax; border-radius: 50%; 
                                background: #e9e9e966;
                                transition: all 0.5s ease;
                                & & .astibb__plus{
                                    font-size: 1.2vmax;
                                }
                            }
                            & .astib__Text{
                                font-size: 1vmax; color: #c7e038; 
                            }
                        }
                        & .asti__Button:hover{
                            cursor: pointer;
                            background: #c7e038;
                            width: 50%;
                            border-radius: 10px;
                            transition: all 0.3s ease;
                            & .astib__btn{
                                background: #fff;
                                transition: all 0.3s ease;
                                border: 1px solid #fff;
                                padding: 0.45vmax 0.6vmax;
                            }
                            & .astib__Text{
                                color: #fff;
                            }
                        }
                    }
                }
                & .as__Figure{
                    width: 100%; height: 100%; position: relative; z-index: 2;
                    & img{
                        width: 100%; height: 100%; object-fit: cover;
                    }
                }
                & .as__Sombra{
                    position: absolute; font-size: 7vmax; font-weight: bold; opacity: 0.1; white-space: nowrap; z-index: 1; top: 50%; left: 0%; transform: translate(-5%, -50%); color: #000;
                }
            }
        }
    }

}
            
.formulario {
    width: 100%;
    padding: 5% 10%;
    display: flex;
    gap: 40px;
}

.form-section {
    width: 100%;
}

.info-section {
    width: 100%;
    background: #c7e038;
    padding: 3%;
    border-radius: 10px;
}

h1 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #222;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

textarea {
    height: 120px;
    resize: vertical;
}

.required::after {
    content: " *";
    color: red;
}

.info-box {
    background-color: #ffffff66;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px 2px #0000001a;
    margin-bottom: 30px;
}

.info-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #222;
}

.info-item {
    margin-bottom: 15px;
}

.info-item p {
    margin-bottom: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: #ddd;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #45a049;
}

/* Sección newsletter */
.newsletter-section {
    background-color: #f7fafc;
    border-radius: 12px;
    padding: 3% 10%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 10px;
}

.email-input-wrapper {
    position: relative;
    flex: 1;
}

.email-input {
    width: 100%;
    padding: 16px 20px 16px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.email-input:focus {
    border-color: #4a5568;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}

.email-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.subscribe-btn {
    background-color: #4f46e5;
    color: white;
    border: none;
    padding: 0 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background-color: #4338ca;
    transform: translateY(-1px);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 2% 10%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a202c;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #2d3748;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #4a5568;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {

    .top-nav-logo {
        width: 50%;
        height: auto;
    }

    .top-nav ul {
        position: fixed;
        top: 55px;
        left: -100%;
        width: 50%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: start;
        padding-left: 20px;
        padding-top: 30px;
        transition: left 0.3s;
        gap: 15px;
        border-bottom-right-radius: 12px;
        box-shadow: 8px 11px 12px 0px #acabab;
    }
    .top-nav ul a li {
        font-size: 100%;
    }
    .top-nav ul.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }

    .header{
        min-height: 100vh;
        height: auto;

        & .headerBloque {
            & .header__Text {
                & .header__Bloque__Items {
                    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
                    gap: 0px;
                    margin-bottom: 2%;
                }
            }
        }
    }

    .body{
        & .article-1__Container{
            flex-direction: column;

            & .article-1__Text {
                & .article-1__Text__Bloques {
                    gap: 0;
                    padding: 3% !important;
                }
            }
        }

        & .article_2__Grid {
            grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)) !important;
            padding: 0 3%;
            gap: 0;
            & .a_2g__bloque{
                margin-bottom: 2%;
            }
        }
        .article-3{
            & .article-3__Productos{
                grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)) !important;
                padding: 0 3%;
            }
        }
    }

    .formulario {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .newsletter-form {
        flex-direction: column;
    }
    
    .subscribe-btn {
        padding: 16px;
        width: 100%;
    }
    
    .newsletter-section {
        padding: 40px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}