:root {
    --principal: #113849;
    --secundario: #077B6E;
    --secundario-hover: #077B6E4D;
    --destacado: #F2FD64;
    --color-fondo: #2E9082;
    --negro: #000000;
    --blanco: #FFFFFF;
    --blanco-trans: #F5F4E4CC;
    --trans: transparent;
    --fuente-Kanit: "Kanit", sans-serif;
    --fuente-Montserrat: "Montserrat", sans-serif;
}

.pag-faros-demost {
    background-color: var(--secundario);
}


.pag-faros-demost .d_flex {
    display: -ms-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}

/*SECCION 1*/
.sec1-faros {
    padding-top: 500px;
    min-height: 1050px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
    position: relative;
    overflow: hidden;

}
.sec1-faros::before {
    content: "";
    position: absolute;
    width: 780px;
    height: 1300px;
    background-image: url(https://life-custodia.es/wp-content/uploads/2025/05/elpse-izq.svg);
    background-size: contain;
    background-repeat: no-repeat;
    top: 350px;   
    left: 0;
    opacity: 0.8;
    z-index: 1;
}
.sec1-faros .container{
    position: relative;
    z-index: 2;
}
.sec1-head {
    width: 600px;
    margin: 0px auto 45px auto;
}

.pag-faros-demost h1 {
    text-align: center;
}

.pag-faros-demost h1 em {
    font-family: var(--fuente-Kanit);
    font-style: normal !important;
    font-size: 65px;
    font-weight: 500;
    line-height: 110%;
    text-transform: uppercase;
    margin-top: 170px;
    text-align: center;

}

.tit1 .strong {
    font-weight: 700;
}

.tit1 .yellow {
    color: var(--destacado) !important;
}

.tit1 .white {
    color: var(--blanco) !important;
}

.sec1-faros p {
    font-family: var(--fuente-Kanit);
    font-size: 20px;
    color: var(--blanco);
    text-align: center;
}

.tit-sec {
    color: var(--blanco);
    text-align: center;
    font-weight: 600;
    margin-bottom: 40px;

}

.intr-grid {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2%;
    padding-bottom: 235px;
    position: relative;
    z-index: 3;
}



.item-faros {
    width: 395px;
    height: 365px;
    margin-bottom: 30px;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 15px;
    box-shadow: rgba(11, 12, 14, 0.626) 0px 20px 30px -10px;
    text-decoration: none;
    padding: 37px;
    align-items: center;
    justify-content: flex-end;
    flex-direction: column;
    transition: box-shadow linear 0.2s;
}

.item-faros:hover {
    text-decoration: underline;
    color: var(--blanco);
    box-shadow: rgba(13, 56, 46, 0.727) 0px 20px 30px -10px;

}

.tit-grid {
    font-family: var(--fuente-Kanit);
    font-size: 28px;
    color: var(--blanco);
    font-weight: 600;
    text-align: center;
    line-height: 120%;
    margin-bottom: 20px;
}

.icon-grid svg {
    fill: var(--blanco);
}



@media (max-width: 1536px) {
    .sec1-faros {
        padding-top: 350px;
        min-height: 1050px;
        background-size: 1536px;
        background-repeat: no-repeat;
        background-position: top center;
    }
}

@media (max-width: 1399.99px) {
    .item-faros {
        width: 300px;
        height: 280px;
        padding: 25px;
    }

    .tit-grid {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .icon-grid svg {
        width: 20px;
        height: 20px;
    }
}


@media (max-width: 991.98px) {
    .sec1-head {
        width: 80%;
    }

    .sec1-faros {
        background-size: 1000px;
        background-position: 70% 70px;
    }

    .sec1-faros {
        padding-top: 250px;
    }


}

@media (max-width: 768.99px) {
    .sec1-head {
        width: 100%;
    }

}

@media (max-width: 601px) {
    .sec1-head {
        width: 100%;
    }

    .sec1-faros {
        padding-top: 200px;
    }

}


@media (max-width: 350px) {
    .item-faros {
        width: 100%;
        height: 250px;
        padding: 15px;
    }

    .tit-grid {
        font-size: 20px;
    }
}









/*Fuentes tamaño*/
@media (max-width: 1537px) {
    .pag-faros-demost h1 em {
        font-size: 55px;
    }

    .pag-faros-demost h3 {
        font-size: 28px;
    }
}



@media (max-width: 991.98px) {
    .pag-faros-demost h1 em {
        font-size: 45px;
    }


    .pag-faros-demost h3 {
        font-size: 25px;
    }
}

@media (max-width: 601px) {
    .pag-faros-demost h1 em {
        font-size: 35px;
    }
}



@media (max-width: 350px) {
    .pag-faros-demost h1 em {
        font-size: 30px;
    }
}