/* Services page — reference card grid */

.vh-svc-page {
    padding: 48px 0 88px;
    background: #f7f8fa;
}

.vh-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.vh-svc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 228px;
    padding: 28px 26px 22px;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 58, 92, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vh-svc-card:hover,
.vh-svc-card:focus {
    color: inherit;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(18, 58, 92, 0.1);
}

.vh-svc-img {
    width: calc(100% + 52px);
    height: 200px;
    height: 200px;
    margin: 0px 0px 18px 0px;
    border-radius: 18px;
    object-fit: cover;
}

.vh-svc-card h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 12px;
    color: #025fbe;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.vh-svc-card p {
    position: relative;
    z-index: 1;
    max-width: 92%;
    margin: 0;
    color: #8b919a;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

.vh-svc-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
}

.vh-svc-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #8d939c;
    font-family: var(--accent-font, "Sora", sans-serif);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
}

.vh-svc-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    color: #fe6d02;
    font-size: 15px;
    box-shadow: 0 8px 18px rgba(18, 58, 92, 0.1);
    transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.vh-svc-card:hover .vh-svc-arrow,
.vh-svc-card:focus .vh-svc-arrow {
    background: #fe6d02;
    color: #fff;
    box-shadow: 0 10px 20px rgba(254, 109, 2, 0.28);
}

.vh-svc-mark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-right: 4px;
    margin-bottom: 2px;
    color: #fe6d02;
    font-size: 34px;
}

.vh-svc-mark::before {
    content: "";
    position: absolute;
    right: -58px;
    bottom: -62px;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    background: #f3f4f6;
    z-index: -1;
}

.vh-svc-mark i {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .vh-svc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .vh-svc-page {
        padding: 28px 0 64px;
    }

    .vh-svc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .vh-svc-card {
        min-height: 210px;
        padding: 24px 20px 18px;
    }

    .vh-svc-img {
        width: calc(100% + 40px);
        height: 200px;
        margin: 0px 0px 18px 0px;
        border-radius: 18px;
    }
}
