/* ==========================================================
 * Services (tz/версия-2/2026-10-30 §1, variant B)
 * ========================================================== */
.services .section-head {
    margin-bottom: 28px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.service {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px;
    color: var(--c-ink);
    background: var(--c-surface);
    border-radius: var(--r-card);
}

@media (max-width: 639px) {
    .service {
        padding: var(--pad-block-sm);
    }
}

.service__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--c-primary);
    background: var(--c-aqua);
    border-radius: var(--r-sm);
}

.service__title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.service__text {
    flex: 1 1 auto;
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-text-2);
}

.service__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    padding-top: 14px;
    border-top: 1px solid var(--c-line-soft);
}

.service__price {
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
}

.service__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-primary);
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.service__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Dark card: after renovation */
.service--dark {
    color: var(--c-surface);
    background: var(--c-ink);
}

.service--dark .service__icon {
    color: var(--c-ink);
    background: var(--c-accent);
}

.service--dark .service__text {
    color: var(--c-on-dark);
}

.service--dark .service__foot {
    border-top-color: var(--c-ink-line);
}

.service--dark .service__link {
    color: var(--c-accent);
}

/* Offices */
.service--aqua {
    background: var(--c-aqua);
}

.service--aqua .service__icon {
    background: var(--c-surface);
}

.service--aqua .service__foot {
    border-top-color: var(--c-line);
}
