/*==================================================
    SERVICIOS - SMAR
==================================================*/

/*=========================================
    SECCIÓN
=========================================*/

.services{

    padding:55px 0 100px;

    background:#FFFFFF;

}

/*=========================================
    GRID
=========================================*/

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    margin-top:70px;

}

/*=========================================
    TARJETA
=========================================*/

.service-card{

    position:relative;

    background:#FFFFFF;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:all .35s ease;

    border:1px solid rgba(0,0,0,.05);

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 30px 60px rgba(0,0,0,.14);

}

.service-card:hover .service-badge{

    background:#0071BC;

}

.service-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:0;

    height:4px;

    background:#0071BC;

    transition:.35s;

    z-index:5;

}

.service-card:hover::before{

    width:100%;

}
/*=========================================
    IMAGEN
=========================================*/

.service-image{

    position:relative;

    overflow:hidden;

    height:240px;

}

.service-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .6s ease;

}

.service-card:hover .service-image img{

    transform:scale(1.08);

}

.service-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(10,46,87,.55) 0%,
        rgba(10,46,87,.20) 45%,
        rgba(10,46,87,0) 100%
    );

    z-index:2;

    transition:.35s;

}

/*=========================================
    BADGE
=========================================*/

.service-badge{

    position:absolute;

    left:18px;

    bottom:18px;

    z-index:3;

    display:flex;

    align-items:center;

    gap:8px;

    padding:8px 16px;

    border-radius:40px;

    background:rgba(10,46,87,.84);

    color:#FFFFFF;

    font-size:.85rem;

    font-weight:600;

    backdrop-filter:blur(8px);

    box-shadow:0 8px 20px rgba(0,0,0,.20);

}

.service-badge i{

    color:#8FE15B;

    font-size:15px;

    transition:all .35s ease;

}

.service-card:hover .service-badge i{

    color:#FFFFFF;

    text-shadow:
        0 0 6px rgba(255,255,255,.70),
        0 0 12px rgba(255,255,255,.45),
        0 0 20px rgba(0,113,188,.45);

    transform:scale(1.12);

}

.service-card:hover .service-badge i{

    color:#FFFFFF;

}

.service-card:hover .service-image img{

    transform:scale(1.08);

}

/*=========================================
    CONTENIDO
=========================================*/

.service-content{

    padding:28px;

}

.service-content h3{

    font-size:1.45rem;

    color:#0A2E57;

    margin-bottom:15px;

    font-weight:700;

}

.service-content p{

    color:#5B6777;

    line-height:1.8;

    margin-bottom:22px;

    text-align:justify;

}

.service-content a{

    display:inline-flex;

    align-items:center;

    gap:6px;

    color:#0071BC;

    font-weight:700;

    text-decoration:none;

    transition:.3s;

}

.service-content a:hover{

    color:#005A94;

    transform:translateX(6px);

}

/*==================================================
    RESPONSIVE - SERVICIOS
==================================================*/

@media (max-width:900px){

    .services{
        padding:50px 0 70px;
    }

    .services-grid{
        grid-template-columns:1fr;
        gap:24px;
        margin-top:40px;
    }

    .service-card{
        width:100%;
    }

    .service-image{
        height:220px;
    }

    .service-badge{
        left:15px;
        bottom:15px;
        padding:7px 14px;
        font-size:.82rem;
    }

    .service-content{
        padding:24px 20px;
    }

    .service-content h3{
        font-size:1.3rem;
        margin-bottom:12px;
    }

    .service-content p{
        font-size:.95rem;
        line-height:1.7;
        text-align:left;
        margin-bottom:18px;
    }

    .service-content a{
        font-size:.95rem;
    }

}