.services {
    padding: 72px 0 88px;
    background: var(--site-body-bg, #ffffff);
}

.services__container {
    width: 100%;
    max-width: var(--header-container, 1320px);
    margin: 0 auto;
    padding: 0 24px;
}

.services__header {
    max-width: 720px;
    margin-bottom: 40px;
}

.services__title {
    margin: 0 0 12px;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--site-body-text, #333333);
}

.services__subtitle {
    margin: 0;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.6;
    color: var(--header-text-muted, #8f8f8f);
}

.services__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.services__item {
    margin: 0;
    min-width: 0;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    padding: 28px 24px 24px;
    border: 1px solid rgba(74, 140, 136, 0.18);
    border-radius: 20px;
    background: linear-gradient(160deg, #f8fcfb 0%, #ffffff 55%);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.service-card:hover {
    border-color: var(--header-accent, #4a8c88);
    background: linear-gradient(160deg, #f0f8f7 0%, #ffffff 60%);
    transform: translateY(-3px);
}

.service-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(74, 140, 136, 0.1);
    color: var(--header-accent, #4a8c88);
    flex-shrink: 0;
}

.service-card__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.service-card__icon-svg {
    display: block;
}

.service-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.service-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--site-body-text, #333333);
}

.service-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--header-text-muted, #8f8f8f);
}

.service-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(74, 140, 136, 0.25);
    color: var(--header-accent, #4a8c88);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.service-card:hover .service-card__arrow {
    background: var(--header-accent, #4a8c88);
    border-color: var(--header-accent, #4a8c88);
    color: #ffffff;
}

@media (max-width: 991px) {
    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .services {
        padding: 56px 0 64px;
    }

    .services__header {
        margin-bottom: 28px;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 22px 20px 20px;
    }
}
