/* SECTION-1 */
section {
    background-color: #fff;
}

.shadow {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, .5);
}

/* .hidden-lg-down {
    display: none !important;
} */
.section-1 {
    padding-top: 7rem;
    min-height: 75vh;
    z-index: 0;
    width: 100%;
}
@media screen and (max-width: 991px){
    /* .cliente .section-1 p br{
        display: none;
    } */
}

.bg-section-1 {
    background-image: url('../img/servicios/bg-servicios-s1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    /* min-height: 75vh; */
}
.bg-section-1-serv{ 
    background-image: url('../img/servicios/servicios-s1-b.png') !important;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    /* min-height: 75vh; */
}

.section-1 .w-1200 {
    min-height: 100% !important;
}

.section-1 h1 {
    text-align: center;
    font-size: 40px;
    line-height: 48px;
}

@media(min-width:992px) {
    .section-1 {
        position: relative;
        z-index: 0;
    }
}

@media (max-width:991px) {
    .section-1 {
        padding-top: 5rem;
    }
}

@media (max-width:991px) {
    .section-1 {
        min-height: unset;
    }

    .section-1 .w-1200 {
        min-height: unset !important;
    }
}

.video-section-1 video {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.section-1 .w-1200 {
    min-height: 65vh !important;
}

.section-1 .content-section {
    margin: auto;
}

.text-s1 {
    font-size: 24px;
    line-height: 34px;
    padding: 1rem 0 0 0;
    color: #fff;
}

@media (max-width:768px) {
    .text-s1 {
        font-size: 22px;
        line-height: 34px;
        padding: 1rem 0;
        width: 90% !important;
    }
}

/* /SECTION-1 */
/* SECTION */

.section-2 {
    padding-top: 4rem;
    padding-bottom: 4rem;
    height: auto;
}

.s2-icon img {
    height: 9rem;
}

.text-s2 p {
    font-size: 26px;
    line-height: 36px;
}

@media (max-width:768px) {
    .section-2 {
        padding-top: 2rem;
        padding-bottom: 2rem;
        height: auto;
    }
    
    .text-s2 p {
        font-size: 21px;
        line-height: 31px;
    }
}

@media(min-width:992px) {
    .section-2 {
        margin-top: 75vh;
    }
}

.section-2 .content-section {
    width: 70%;
    padding: 0 !important;
}


@media (max-width:991px) {
    body .section-3{
        padding: 3rem 0;
    }
    .section-2 .content-section {
        padding: 0 1rem !important;
        width: 100%;
    }

    .s2-icon img {
        height: 6rem;
    }
}

.content-section {
    padding: 4rem 3rem;
}

/* SECTION 3 */
.section-3 {
    padding: 4rem 0;
}
.content-s3 strong{
    font-family: 'Albert-Sans-Bold' !important;
    font-weight: 700;
}
.content-s3 h1{
    font-size: 30px;
    line-height: 36px;
}
.content-s3 {
    padding: 0 3rem;
}
.content-s3 h1, 
.content-s3 h2, 
.content-s3 h3 ,
.content-s3 h4, 
.content-s3 h5, 
.content-s3 h6{
    font-family: 'Albert-Sans-Bold' !important;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #4C8B65 !important;
}
.content-s3 p{
    margin: auto auto 2rem auto;
    width: 70%;
    font-family: 'Albert-Sans';
    font-weight: 400;
    color: #000;
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 2rem;
}
.p-s3{
    width: 70%;
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 2rem;
}
.content-s3 img{
    width: 100%;
    height: auto;
    object-fit: cover;
    height: 360px;
}

.content-s3 ul li{
    font-size: 18px;
    line-height: 26px;
    list-style: disc;
    margin-left: 1rem;
}
.content-s3 h2{
    font-size: 22px;
    line-height: 36px;
    margin-bottom: 2rem;
}

@media(max-width:768px){
    .content-s3 {
        padding: 3rem 0;
        width: 100%;
    }
    .content-s3 p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 2rem;
    }

    .content-s3 h2{
        font-size: 20px;
        line-height: 34px;
        margin-bottom: 1rem;
    }
    .content-s3 ul li{
        font-size: 16px;
        line-height: 24px;
        list-style: disc;
        margin-left: 1rem;
    }
    .content-s3 h1 {
        font-size: 22px;
        line-height: 30px;
    }
    .content-s3 h1, 
    .content-s3 h2, 
    .content-s3 h3 ,
    .content-s3 h4, 
    .content-s3 h5, 
    .content-s3 h6{
        margin-bottom: 1rem;
    }
    .content-s3 img{
        height: 300px;
    }
}

@media(max-width:600px){
    .w-1200 .content-s3 img{
        height: 250px;
    }
}
@media(max-width:480px){
    .w-1200 .content-s3 img{
        height: 150px !important;
    }
}

@media(max-width:991px) {
    .content-s3 p{
        margin: 0rem 0rem 0rem 0rem;
        width: 100%;
        margin-bottom: 2rem;
    }
    .content-s3 {
        padding: 0;
    }
    .p-s3{
        width: 100%;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 2rem;
    }
    .content-s3 .content-img-s3{
        width: 100%;
        height: auto;
    }
}


@media (min-width:991px) {
    .section-3{
        padding-bottom: 8rem;
    }
    .section-3-serv {
        padding-top: 5rem;
        padding-bottom: 3rem !important;
    }

}

/* /SECTION 3 */


/* LEAF */
.leaf-s1-a{
    left: -6rem;
    top: 0;
}
.leaf-s1-c{
    right: 10%;
    height: 80%;
    top: 3rem; 
}
.leaf-s1-c svg{
    height: 100%;
}

.leaf-s2-a{
    left: -3rem;
    top: -5rem;
}
.leaf-s2-m{
    bottom: -20px;
    right: 10px;
}
.leaf-s2-b{
    height: 100%;
    right: 0;
}
.leaf-s2-b img{ 
    height: 90%;
    width: 30rem;
}
.leaf-s3-a{ 
    right: 3rem;
    top: 6rem;    
}
.leaf-s3-b{ 
    left: 3rem;
    bottom: 3rem;    
}

.gradiente{
    background-color: rgba(0, 0, 0, .3);
    /* background: linear-gradient(#aab,transparent);*/
    height: 99%; 
}

/* SECTION-4 */

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

@media (max-width:375px) {
    .section-4,
    .section-3 {
        padding: 4rem 1rem 4rem 1rem;
    }
}


@media (min-width:991px) {
    .section-4 {
        padding-top: 5rem;
        padding-bottom: 10rem;
    }
}
.section-4 h2{
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 2rem;
}
.content-reco {
    padding: 0 3rem;
}
@media (max-width:991px) {
    .content-reco {
        padding: 0;
    }
}
.reco{
    width: 32%;
    background-color: #fff;
    padding: 1.5rem;
    align-items: center;
    transition: .25s all ease-in-out;
}

.reco h4{
    font-size: 18px;
}
@media (max-width:768px) {
    .reco h4{
        font-size: 18px;
    }
    .section-4 h2{
        font-size: 22px;
        line-height: 28px;
    }
    .reco {
        width: 100%;
        margin-bottom: 1rem;
    }
}

.reco:hover{
    background-color:#4C8B65 
}
.reco:hover svg path{
    stroke:#fff
}
.reco:hover h4{
    color: #fff !important;
}

/* Base */
section {
    background-color: #fff;
}

/* Padding del contenedor interno */
.section-3 .content-section,
.section-4 .content-section,
.section-5 .content-section {
    padding: 1rem 3rem;
}

@media (max-width:768px) {
    .section-3 .content-section,
    .section-4 .content-section,
    .section-5 .content-section {
        padding: 2rem 2rem !important;
    }
}

/* Títulos y texto */
.section-3 h2,
.section-4 h2,
.section-5 h2,
.section-sumate h2 {
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 2rem;
        font-family: 'Albert-Sans-Bold' !important;
}

.section-3 p,
.section-4 p,
.section-5 p{
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 0;
    font-family: 'Albert-Sans';
}
.section-sumate p{
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 2rem;
    font-family: 'Albert-Sans';
}

/* Columna de texto (right) */
.s3-right,
.s4-right,
.s5-right {
    padding: 2rem 5rem;
     max-height: 22rem;
}
@media(max-width:992px) {
    .s3-right,
    .s4-right,
    .s5-right {
        max-height: initial;
    
    }
}
@media(min-width:992px) {
    .s4-right {
        padding: 2rem 7rem 2rem 0;
    }
}

@media (max-width:768px) {
    .s3-right,
    .s4-right,
    .s5-right {
        padding: 0;
    }

    .s3-left,
    .s4-left,
    .s5-left {
        min-height: 70vw;
    }
}

/* Máscaras / clip-path de imágenes */
.mask-s3,
.mask-s4,
.mask-s5 {
    object-fit: cover;
    top: -3rem;
    z-index: 7;
    transition: .5s;
}

@media(min-width:992px) {
    .mask-s3,
    .mask-s5 {
        transform: rotate(-10deg);
    }
    .mask-s4 {
        transform: rotate(10deg);
    }
}

.mask-s3 svg,
.mask-s4 svg,
.mask-s5 svg {
    position: absolute;
}

.mask-s3 img,
.mask-s4 img,
.mask-s5 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(min-width:768px) and (max-width:991px) {
    .leaf-s3-m {
        right: 5%;
        top: 3%;
        height: 7rem;
    }

    .leaf-s3-m svg {
        height: 7rem;
    }

    .leaf-s4-a {
        top: 5% !important;
        left: 6% !important;
        right: unset !important;
    }

    .leaf-s5-a {
        left: 88% !important;
        top: 20% !important;
    }

    .mask-s3,
    .mask-s4,
    .mask-s5 {
        position: relative !important;
        object-fit: cover;
        top: -2rem;
    }

    .s3-left,
    .s4-left,
    .s5-left {
        min-height: 40vw !important;
    }

    .section-3 .content-section,
    .section-4 .content-section,
    .section-5 .content-section {
        padding: 0rem 2rem !important;
    }
}

/* Wrapper del clip-path SVG */
.content {
    margin: 0 auto;
    max-width: 800px;
}

.svg {
    position: absolute;
    width: 0;
    height: 0;
}

/* Imágenes recortadas por section */
.clipped {
    width: 100%;
    height: 28rem;
    aspect-ratio: 1;
    /* background: transparent url(http://dev.zetenta.com/papeleradelsur/img/img-1.png); */
    background-size: contain;
    background-position: center;
    /* -webkit-clip-path: url(#my-clip-path); */
    /* clip-path: url(#my-clip-path); */
      background-repeat: no-repeat;
}

.clipped-2 {
    width: 100%;
    height: 28rem;
    aspect-ratio: 1;
    /* background: transparent url(http://dev.zetenta.com/papeleradelsur/img/img-2.png); */
    background-size: contain;
    background-position: center;
    /* -webkit-clip-path: url(#my-clip-path-2); */
    /* clip-path: url(#my-clip-path-2); */
      background-repeat: no-repeat;
}

.clipped-3 {
    width: 100%;
    height: 28rem;
    aspect-ratio: 1;
    /* background: transparent url(http://dev.zetenta.com/papeleradelsur/img/img-3.png); */
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /* -webkit-clip-path: url(#my-clip-path-3); */
    /* clip-path: url(#my-clip-path-3); */
}

@media (max-width:768px) {
    .clipped,
    .clipped-2,
    .clipped-3 {
        height: 80vw;
        width: 80vw;
    }
}

/* Íconos superpuestos sobre la imagen (section 3 y 5) */
.mini-icon {
    top: 60%;
    right: 8%;
}
.mini-icon img {
    height: 7rem;
}

.mini-icon-2 {
    top: 50%;
    right: 17%;
    min-width: 11rem;
}
@media(max-width:768px) {
    .mini-icon-2 {
        top: 42% !important;
    }
}
.mini-icon-2 .left {
    margin-right: 40px;
}
.mini-icon-2 .left img {
    width: 87px;
}
.mini-icon-2 .right img {
    width: 87px;
    height: 150px;
}

/* Hojas decorativas (leaves) */
.leaf-s3-a {
    left: 43%;
    top: 15%;
}

@media (max-width: 768px) {
    .leaf-s3-m {
        right: 5%;
        top: 2%;
    }
}

.leaf-s4-a {
    top: 20%;
    right: 45%;
    height: 10rem;
}

@media (max-width: 768px) {
    .leaf-s4-a {
        top: 5%;
        left: 5%;
        right: inherit;
        height: 10rem;
    }
}

.leaf-s4-b {
    bottom: 3rem;
}

@media (max-width: 768px) {
    .leaf-s4-b {
        right: -5%;
        top: 20%;
    }
}

.leaf-s5-a {
    left: 46%;
    top: 20%;
}

@media (max-width: 768px) {
    .leaf-s5-a {
        right: 2%;
        top: 9%;
        left: inherit;
    }
}

.leaf-s5-b {
    top: -15px;
}

@media (max-width: 768px) {
    .leaf-s5-b {
        top: 5%;
        left: 2%;
    }
}

.block-sumate{
    padding: 0 4rem;
}

/* BLOCK TEXT IMAGE - sección sumate */
.block-text-image {
    padding: 2rem 0;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .block-text-image {
        padding: 4rem 0;
    }
}
@media (max-width: 600.5px) {
    .block-text-image {
        padding: 0rem 0;
    }
    .section-4{
        padding: 0;
    }
}

.block-text-image .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    position: relative;
    border-radius: 30px;
    overflow: visible;
    align-items: center;
    background: linear-gradient(to right, #FAF6F3 81%, #ffffff 50%);
}
@media (max-width: 768px) {
    .block-text-image .row {
        background: linear-gradient(to right, #FAF6F3 100%, #ffffff 50%);
    }
}

@media (max-width: 768px) {
    .block-text-image .row {
        gap: 0;
        
    }
}

/* Cuando la imagen va primero (columna-imagen a la izquierda) */
.block-text-image .row:has(> .column-img:first-child) {
    background: linear-gradient(to left, #FAF6F3 80%, #ffffff 80%); /* $brown */
}

@media (max-width: 769px) {
    /* .block-text-image .row:has(> .column-img:first-child) .column-img {
        order: 1;
    } */
     .block-text-image .row:has(> .column-img:first-child) {
    background: linear-gradient(to left, #FAF6F3 100%, #ffffff 80%); /* $brown */
}

}

/* Cuando el texto NO va primero, el padding del bloque de texto cambia en mobile */
@media (max-width: 768px) {
    .block-text-image .row:not(:has(> .column-text:first-child)) .column-text .block-content {
        /* padding: 2rem 4rem 2rem 0; */
    }
}

.block-text-image .column-text {
    position: relative;
    z-index: 4;
}

.block-text-image .column-img {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.block-text-image .block-content {
    background: transparent;
    border-radius: 30px;
    width: 100%;
    padding: 2rem 4rem;
    margin: auto 0;
    position: relative;
    z-index: 4;
}

.block-text-image .block-content h2 {
    width: 100% !important;
}

.block-text-image .block-content .btn {
    color: #ffffff !important; /* reemplazar por el valor real de $white */
    text-decoration: none !important;
    max-width: fit-content;
}

@media (max-width: 768px) {
    .block-text-image .block-content .btn {
        position: absolute;
    }

    .block-text-image .block-content {
        padding: 2rem;
    }
}

.block-text-image .block-img {
    border-radius: 16px;
    height: 100%;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .block-text-image .block-img {
        padding: 0 2rem;
    }
    
}

.block-text-image .block-img img,
.block-text-image .block-img picture {
    position: relative;
    z-index: 9;
    border-radius: 0;
    object-fit: contain;
    object-position: center;
    width: 100%;
    max-height: none;
    /* Sobresale del card arriba y abajo */
    margin-top: -3rem;
    margin-bottom: -3rem;
    height: auto;
}

@media (max-width: 768px) {
    .block-text-image .block-img img,
    .block-text-image .block-img picture {
        margin-top: -1.5rem;
        margin-bottom: -1.5rem;
    }
}

@media (max-width: 480px) {
    .block-text-image .block-img img,
    .block-text-image .block-img picture {
        margin-top: 0;
        margin-bottom: 0;
    }
}
.section-sumate h2{
    color: #4C8B65 !important;
}

.block-text-image .sticky {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 878.5px) {
    .col-sm-8 {
        width: 70%;
    }
}

@media screen and (min-width: 878.5px) {
    .col-sm-4 {
        width: 25%;
    }
}

.section-sumate .btn-green{
    position: absolute;
}

@media screen and (max-width: 878.5px) {
.section-sumate .btn-green{
    position: relative;
}
}

.section-sumate-1{
    margin-top: 4rem;
}