
/*TODO ======  Servicios ====== */

.servi__wrapper{
    max-width: 1500px;
    margin:  100px auto;
    overflow: visible;
}

/* titulos */
.servi__wrapper h2{
    text-align: center;
    color: #1d1f40;
    margin-bottom: 100px;
    position: relative;
}

.servi__wrapper h2::after{
    content: '';
    position: absolute;
    background-color: #05719f;
    height: 3px;
    width: 50%;
    left: 0;
    bottom: -10px;
    transform: translate(50%);
    transform-origin: right;
    transition: transform 0.5s ease-in-out;

}

.servi__wrapper p{
    font-size: 1rem;
}

.servi__content{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    align-items: center;
}

/* cajitas con servicios */

.servi_box{
    display: flex;
    flex-direction: column;
    width: 450px;
    height: 400px;
    background: #ffff;
    padding: 50px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 8px 8px 16px #d1d1d1,
                -8px -8px 16px #ffff;
    cursor: pointer;
    transition: .2s;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    transition: .5s;
}

.servi_box:hover{
    background: #1d1f40;
    box-shadow: 8px 8px 16px #d1d1d1,
    -8px -8px 16px #ffff;
    transform: scale(1.07);
}

.servi_box h3{
    font-size: 1.2rem;
    font-weight: 700;
    color: #1d1f40;
    margin: 10px 0;
}

.servi_box:hover > h3, .servi_box:hover p{
    color: #fff;
}

.servi_box p{
    font-size: 15px;
    text-align: justify;
    color: #000000;
}

.servi_box .icon{
    width: 50px;
    justify-content: center;
}

.servi_box .icon .svg{
    fill: #1d1f40;
    transition: .3s;
}


.servi_box button{

    background-color: #fff; /* Gris claro */
    color: #000;
    width: 200px;
    height: 40px;
    border: 1px solid #bebebe;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 10px;
    /* border: none; */
    transition: .4s;
}

.servi_box:hover button{
    background: #171733;
    color: white;
    border:1px solid #8d8d8d;

}

.servi_box:hover > .icon .svg{
    fill: #fff;


}
@media (max-width:1580px) {


    .servi__wrapper{
        max-width: 1200px;
    }

    .servi__wrapper h2{
        font-size: 2.5rem;
    }
    .servi_box{
        width: 370px;
        height: 350px;
        padding: 30px;
    }

    .servi_box:hover{
        transform: scale(1.05);
    }

    .servi_box h3{
        font-size: 18px;
    }

    .servi_box p{
        font-size: 13px;
    }

    
    .servi_box button{

        background-color: #fff; /* Gris claro */
        color: #000;
        width: 200px;
        height: 40px;
        border: 1px solid #bebebe;
        border-radius: 20px;
        cursor: pointer;
        margin-top: 10px;
        /* border: none; */
        transition: .4s;
        font-size: 12px;
    }



}

@media (max-width:470px){

    .container > .servi__wrapper > .servi__content{
        max-width:fit-content;
    }

    .servi__wrapper h2{
        font-size: 28px;
        margin-bottom: 60px;
    }

    .servi__content {
        grid-template-columns: repeat(1,1fr);
        gap: 30px;
    }

    .servi_box {
        width: 360px;
        padding: 20px;
    }

    .servi_box .icon{
        width: 40px;
    }

    .servi_box h3{
        font-size: 17px;
    }

    .servi_box p{
        font-size: 12px;
    }





}