/*Slider*/
.slider {
    position: relative;
}

    .slider .next {
        cursor: pointer;
        border: none;
        outline: none;
        height: 50px;
        width: 50px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(210%, -50%);
/*      background: url("../img/nosotros/nf.svg");*/
        background-image: url('../../img/nosotros/nf.svg');
        background-size: 100%;
        background-position: center;
        background-repeat: no-repeat;
    }

.container-slider {
    height: 100%;
    width: 100%;
}

.slider {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.slider .slides {
    height: 400px;
    width: 70%;
    overflow: hidden;
}

.slider img {
    height: 400px;
    width: 400px;
    display: none;
}

img.displaySlide {
    display: block;
}




/*Second Slide*/

.mega-slide {
    position: relative;
}

    .mega-slide .nextN {
        cursor: pointer;
        border: none;
        outline: none;
        height: 50px;
        width: 50px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(210%, -50%);
/*      background: url("../img/nosotros/nf.svg");*/
        background-image: url('../../img/nosotros/nf.svg');
        background-size: 100%;
        background-position: center;
        background-repeat: no-repeat;
    }


.mega-slide .block-n-05 {
    /* height: 400px;
    width: 400px; */
    display: none;
}


.block-n-05.disSlide {
    display: block;
}




.heading-n-1:before {
    content: "NOSOTROS";
    display: block;
    font-family: var(--fuente-principal);
    font-size: 1.2rem;
    padding-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 7px;

}





.heading-n-1 {
    max-width: 80%;
}


.nos-part1 {
    display: none;
    position: relative;
    width: 100vw;
    height: 1rem;
    z-index: -1;
}


.container-nos-hero {
    position: relative;
    min-height: 768px;
    width: 100%;
    z-index: -1;
    overflow: hidden;
}

.nosotros-hero {
    position: absolute;
    height: 768px;
    width: 100%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    z-index: -1;
}

.nosotros-hero img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.col-span-n-one {
    grid-column: span 12;
    background-color: #524D49;
    display: flex;
    justify-content: center;
    align-items: center;

}

.col-span-n-one>div {
    max-width: 80%;
}

.col-span-n-one h6 {
    text-align: left;
}


.col-span-n-two {
    display: none;
    grid-column: span 2;
}


.col-span-n-three {
    display: none;
    grid-column: span 4;
}




/*Block 1*/

.block-n-01 {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: var(--color-vc);
}

.container-n-01 {
    display: grid;
    padding: 0rem;
    grid-template-columns: repeat(12, 1fr);
}

.col-span-n-four {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: span 12;
}

.col-span-n-five {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: span 12;
}

/*Block 2*/

.block-n-02 {
    position: relative;
    min-height: 35rem;
/*  background: url("../img/nosotros/bg1.png");*/
    background-image: url('../../img/nosotros/bg1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*Block 3*/

.block-n-03 {
    position: relative;

}


.n-img-03 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
/*  background: url("../img/nosotros/nos-img.png");*/
    background-image: url('../../img/nosotros/nos-img.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}

.overlay-n-img-03 {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: .8;
/*  background: url("../img/nosotros/overlay-img.png");*/
    background-image: url('../../img/nosotros/overlay-img.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}



.container-03 {
    padding-top: 3rem;
    height: 100%;
    max-width: 1470px;
    margin: 0 auto;
}

.container-03 h2 {
    text-align: center;
}

.group-n-03 {
    height: 80%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.col-span-n-six {
    grid-column: span 12;
}

.col-span-n-seven {
    grid-column: span 12;
}

.col-span-n-eight {
    grid-column: span 12;
}


.card {
    height: 100%;
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
}

.top-card {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
/*  background: url("../img/nosotros/card1.png");*/
    background-image: url('../../img/nosotros/card1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-card2 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
/*  background: url("../img/nosotros/card2.png");*/
    background-image: url('../../img/nosotros/card2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.top-card3 {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
/*  background: url("../img/nosotros/card3.png");*/
    background-image: url('../../img/nosotros/card3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content-card {
    max-width: 330px;
    margin: 0 auto;
}

.content-card h3 {
    color: var(--color-bh);
    letter-spacing: 6px;
    margin-bottom: 2rem;
}

.content-card p {
    color: var(--color-bh);
    font-family: var(--fuente-principal);
    font-weight: 400 !important;
    line-height: 1.7;
}


/*Block 4*/

.block-n-04 {
    position: relative;
    min-height: 20rem;
    padding: 4rem 0;
    background-color: var(--color-mc);
}

.container-04 {

    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

.col-span-n-nine {
    grid-column: span 12;
}

.col-span-n-nine p.max-content-axis {
    color: var(--color-bh);
    font-weight: 300;
}

.col-span-n-nine h2:before {
    content: "NUESTRO EQUIPO";
    display: block;
    font-family: var(--fuente-principal);
    font-size: 1rem;
    padding-bottom: 3rem;
    font-weight: 600;
    letter-spacing: 7px;
}


.col-span-n-ten {
    grid-column: span 12;
}

.col-span-n-ten img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}


/* block 5*/

.block-n-05 {
    position: relative;
    min-height: 40rem;
/*  background: url("../img/nosotros/footer-img.png");*/
    background-image: url('../../img/nosotros/footer-img.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}



/*slide nos*/

.nos-05 {
    position: relative;
    height: 100%;
    width: 100%;
}

.block-n-05 {
    min-height: 20rem;
}

.mega-slide {
    position: relative;
}

body>main>div.mega-slide>button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 10%);
}

.bg-image-nos {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 33%);
}

.bg-image-nos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
/*  background: url("../img/nosotros/bgSlide.svg");*/
    background-image: url('../../img/nosotros/bgSlide.svg');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: 0 50%;
    border: none;
    outline: none;
    height: 400px;
    width: 400px;
    max-width: 90%;
    padding: 25px 45px;
}

.bg-image-nos h2 {
    font-weight: 500;
    padding-top: 2rem;
    font-size: .9rem;
    margin-bottom: 1.5rem;
}


.bg-image-nos p {
    max-width: 80%;
    line-height: 1.5;
    font-size: .7rem;
}



.col-span-n-one h6 {
    font-size: 1.75rem;
}

/* Media query para dispositivos pequeños (sm) */
@media only screen and (min-width: 576px) {
    .slider .next {
        transform: translate(350%, -50%);
    }
}

/* Media query para dispositivos medianos (md) */
@media only screen and (min-width: 768px) {
    .mega-slide .nextN {
        height: 70px;
        width: 70px;
        transform: translate(380%, 280%);
    }
}

/* Media query para dispositivos grandes (lg) */
@media only screen and (min-width: 992px) {
    .heading-n-1 {
        transform: translateY(-35px);
    }

    .heading-n-1:before{
        font-size: 1.5rem;
    }

    .bg-image-nos h2 {
        font-size: 1.3rem;
    }
    .bg-image-nos p {
        font-size: .7rem;
    }

    .content-card h3 {
        font-size: 1.3rem;
    }
    .col-span-n-nine h2 {
        font-weight: 300;
    }

    .heading-n-1 {
        max-width: 100%;
        text-align: left;
    }
    

   
    .block-n-04 {
        padding-top: 7.5rem;
        padding-bottom: 7.5rem;
    }

    .slider .next {
        height: 70px;
        width: 70px;
        transform: translate(270%, -50%);
    }

    .container-nos-hero {
        min-height: 100vh;
    }

    .nosotros-hero {
        height: 100vh;
    }
}

/* Media query para dispositivos extra grandes (xl) */
@media only screen and (min-width: 1200px) {

    .col-span-n-one h6 {
        font-size: 4rem;
    }
    
    .bg-image-nos h2 {
        font-size: 2.5rem;
        padding-bottom: 2rem;
    }

    .bg-image-nos p {
        font-size: 1rem;
    }


    .mega-slide .nextN {
        height: 70px;
        width: 70px;
        transform: translate(700%, 530%);
    }


    .block-n-05 {
        min-height: 40rem;
    }

    .nos-05 {
        position: relative;
        height: 100%;
        width: 100%;
    }

    .bg-image-nos {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 25%);
    }

    .bg-image-nos {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
/*      background: url("../img/nosotros/bgSlide.svg");*/
        background-image: url('../../img/nosotros/bgSlide.svg');
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: 0 50%;
        border: none;
        outline: none;
        height: 800px;
        width: 800px;
        padding: 25px 45px;
    }







    .block-n-01 {
        transform: translateY(120px);
    }


    .nos-part1 {
        display: block;
        z-index: -4;
    }

    .nos-part1 .bg-container3 {
        position: absolute;
        height: 100%;
        width: 100%;
        top: -500px;
        left: -50px;
    }

    .nos-part1 .bg-container3 img {
        height: auto;
        width: 107vw;
    }

    .block-n-02 {
        min-height: 55rem;
        z-index: -5;
    }





    .block-n-01 {
        padding-top: 0;
        padding-bottom: 0;
    }

    .container-03 h2 {
        padding-top: 4rem;
        padding-left: 5.5rem;
        padding-bottom: 4rem;
        text-align: left;
    }

    .group-n-03 {
        padding-bottom: 8rem;
    }

    .col-span-n-nine h2:before {
        font-size: 1.5rem;
    }

    .col-span-n-one {
        grid-column: span 6;
    }

    .col-span-n-two {
        display: block;
        grid-column: span 2;
    }

    .col-span-n-three {
        display: block;
        grid-column: span 4;
    }

    .col-span-n-four {
        grid-column: span 6;
    }

    .col-span-n-five {
        grid-column: span 6;
    }

    .col-span-n-six {
        grid-column: span 4;
    }

    .col-span-n-seven {
        grid-column: span 4;
    }

    .col-span-n-eight {
        grid-column: span 4;
    }

    .col-span-n-nine {
        grid-column: span 6;
    }

    .col-span-n-ten {
        grid-column: span 6;
    }


    .block-n-04 {
        padding: 120px 0;
    }

}

/* Media query para dispositivos extra extra grandes (xxl) */
@media only screen and (min-width: 1400px) {

    h6 {
        letter-spacing: 2px;
    }

    body>section>div>div.col-span-n-one>div {
        max-width: 550px;
        transform: translate(100px, -70px);
    }


}