/* HERO SERVICIOS */
.hero-servicios{
    position: relative;
    background-image: url('/img/banner/banner1.png');
    background-size: cover;
    background-position: center;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 72px;
    overflow: hidden;
}

.hero-servicios-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 23, 115, 0.68) 0%, rgba(71, 99, 231, 0.78) 100%);
}

.hero-servicios-container{
    position: relative;
    z-index: 2;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-servicios-btn{
    min-width: 180px;
    min-height: 56px;
    padding: 12px 34px;
    border-radius: 999px;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: .4px;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.hero-servicios-btn:hover{
    background: #ffffff;
    color: #001773;
    transform: translateY(-1px);
}

/* SERVICES */
.services-section{
    position: relative;
    padding: 90px 0 110px;
    background: #f3f3f7;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-title{
    text-align: center;
    font-size: 3rem;
    font-weight: 600;
    color: #001773;
    margin-bottom: 60px;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card{
    background: #ffffff;
    border-radius: 10px;
    padding: 38px 36px 28px;
    min-height: 315px;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 23, 115, 0.08);
}

.service-icon{
    margin-bottom: 20px;
    height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon img{
    max-height: 42px;
    width: auto;
    display: block;
}

.service-card-title{
    font-size: 1.5rem;
    line-height: 1.05;
    font-weight: 500;
    color: #0a2488;
    margin-bottom: 0;
}

.service-card-text{
    font-size: 1.02rem;
    line-height: 1.55;
    color: #3d3d3d;
    margin-bottom: 22px;
    max-width: 250px;
    margin-top: 28px;
}

.service-btn{
    margin-top: auto;
    width: 175px;
    min-height: 40px;
    padding: 5px 6px 5px 14px;
    border-radius: 999px;
    background: #dff3f2;
    color: #0a2488;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: background 1s ease, color 1s ease;
}

.service-btn::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 36, 136, 0.10);
    opacity: 0;
    transition: opacity .5s ease;
    z-index: 0;
}

.service-btn > span:first-child{
    position: relative;
    z-index: 2;
    transition: transform 1s ease, color 1s ease;
}

.service-btn-icon{
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(10, 36, 136, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transition: background 1s ease, transform 1s ease;
}

.service-btn-icon::before{
    content: "";
    width: 14px;
    height: 14px;
    background-image: url('/img/icon/vector.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: block;
    transition: transform 1s ease, background-image 1s ease;
}

.service-btn:hover::before{
    opacity: 1;
}

.service-btn:hover{
    color: #0a2488;
}

.service-btn:hover > span:first-child{
    transform: translateX(12px);
}

.service-btn:hover .service-btn-icon{
    background: #0a2488;
    transform: scale(1.06);
}

.service-btn:hover .service-btn-icon::before{
    transform: rotate(-45deg);
    background-image: url('/img/icon/vector-white.png');
}
