.service-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.service-grid.small{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
}

.service-grid--home{
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.service-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    min-height:180px;
    padding:22px;
    border:1px solid #eef2f7;
    border-radius:18px;
    background:#ffffff;
    color:#111827;
    text-decoration:none;
    box-shadow:0 10px 28px rgba(15,23,42,.045);
    transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.service-card:hover{
    transform:translateY(-2px);
    border-color:#d7dde8;
    background:#ffffff;
    box-shadow:0 16px 36px rgba(15,23,42,.075);
}

.service-card__icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    margin-bottom:14px;
    border-radius:12px;
    background:#f3f4f6;
    color:#111827;
    font-size:20px;
    line-height:1;
}

.service-card__media{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    margin-bottom:16px;
    overflow:hidden;
    border-radius:14px;
    background:#f3f4f6;
}

.service-card__media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.service-card__eyebrow,
.service-card span.service-card__eyebrow{
    display:inline-flex;
    align-items:center;
    width:max-content;
    max-width:100%;
    min-height:26px;
    margin-bottom:10px;
    padding:5px 9px;
    border-radius:999px;
    background:#f3f4f6;
    color:#374151;
    font-size:12px;
    font-weight:800;
    line-height:1;
}

.service-card h3{
    margin:0 0 8px;
    color:#111827;
    font-size:20px;
    line-height:1.25;
    letter-spacing:-.025em;
}

.service-card p{
    margin:0;
    color:#4b5563;
    font-size:14px;
    line-height:1.62;
}

.service-card em{
    display:flex;
    align-items:center;
    gap:8px;
    margin-top:auto;
    padding-top:18px;
    color:#111827;
    font-size:13px;
    font-style:normal;
    font-weight:850;
}

.service-card em:after{
    content:"›";
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:22px;
    height:22px;
    border-radius:50%;
    background:#111827;
    color:#ffffff;
    font-size:17px;
    line-height:1;
    transition:transform .18s ease, background .18s ease;
}

.service-card:hover em:after{
    transform:translateX(2px);
    background:#000000;
}

.service-card--rich{
    min-height:190px;
}
