/* ============================================================
   ХАБ УСЛУГ — /services/
   ============================================================ */

/* ---------- HERO ---------- */

.services-hero {
    position: relative;
    padding: 130px var(--space-inline) 110px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 35%, var(--accent-glow-soft), transparent 32%),
        linear-gradient(120deg, var(--dark-bg) 0%, var(--dark-bg-soft) 62%, var(--accent) 100%);
    overflow: hidden;
}

.services-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -260px;
    width: 620px;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(255, 255, 255, .04),
        0 0 0 160px rgba(255, 255, 255, .02);
    pointer-events: none;
}

.services-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.services-hero__inner .kicker {
    margin-bottom: 16px;
}

.services-hero__title {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: var(--fs-hero);
    line-height: 1.05;
    letter-spacing: -.035em;
}

.services-hero__title em {
    color: var(--accent-on-dark);
    font-style: normal;
    font-weight: 400;
}

.services-hero__text {
    max-width: 620px;
    margin: 0;
    color: var(--text-on-dark);
    font-size: var(--fs-body-lg);
    line-height: 1.75;
}

/* ============================================================
   СПИСОК УСЛУГ
   ============================================================ */

.services-list {
    padding: var(--space-section) var(--space-inline);
    background: #fff;
}

.services-list__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1220px;
    margin: 0 auto;
}

/* ---------- Карточка-строка ---------- */

.services-card {
    display: grid;
    grid-template-columns: 60px 1fr 40px;
    align-items: center;
    gap: 20px;
    min-height: 190px;
    padding: 32px 34px;
    background: var(--surface-soft);
    border: 1px solid #dde9f4;
    text-decoration: none;
    color: inherit;
    transition: background .28s, border-color .28s, transform .28s, box-shadow .28s;
}

.services-card:hover {
    background: #fff;
    border-color: #9dcaf3;
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(8, 40, 72, .11);
}

.services-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.services-card__num {
    color: var(--blue, var(--accent));
    font-size: var(--fs-caption);
    font-weight: 800;
    letter-spacing: .12em;
}

.services-card__body {
    min-width: 0;
}

.services-card__title {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: var(--fs-h3);
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--dark-bg);
}

.services-card__text {
    margin: 0;
    color: var(--muted, var(--text-muted));
    font-size: var(--fs-small);
    line-height: 1.65;
}

.services-card__arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--blue, var(--accent));
    font-size: 20px;
    border: 1px solid #cfe0f0;
    border-radius: 50%;
    transition: background .28s, color .28s, border-color .28s, transform .28s;
}

.services-card:hover .services-card__arrow {
    color: #fff;
    background: var(--blue, var(--accent));
    border-color: var(--blue, var(--accent));
    transform: translateX(4px);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */

@media (max-width: 1200px) {
    .services-card {
        grid-template-columns: 50px 1fr 36px;
        padding: 28px 26px;
        min-height: 170px;
    }

    .services-card__arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 900px) {
    .services-hero {
        padding-top: 100px;
        padding-bottom: 90px;
    }

    .services-list__grid {
        grid-template-columns: 1fr;
    }

    .services-card:last-child:nth-child(odd) {
        grid-column: auto;
    }
}

@media (max-width: 760px) {
    .services-hero {
        padding-top: 80px;
        padding-bottom: 70px;
    }

    .services-hero::after {
        width: 420px;
        height: 420px;
        right: -180px;
        bottom: -180px;
    }

    .services-card {
        grid-template-columns: 44px 1fr 32px;
        gap: 14px;
        min-height: 0;
        padding: 24px 20px;
    }

    .services-card__title {
        margin-bottom: 8px;
    }

    .services-card__arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

@media (max-width: 430px) {
    .services-card {
        grid-template-columns: 40px 1fr;
        padding: 22px 18px;
    }

    .services-card__arrow {
        display: none;
    }
}