/* ── Value cards ────────────────────────────────────────────
   Figma: desktop 2426:1203 — four white-outlined cards on Deep
   Green; mobile 2430:1440 — stacked.
   ─────────────────────────────────────────────────────────── */

.value-cards {
    padding: var(--pad-y) var(--pad-x);
    background: var(--color-secondary);
    color: var(--color-white);
}

.value-cards__inner {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.value-cards__head {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-cards__title {
    font-size: 45px;
    font-weight: 600;
    line-height: 48px;
    text-transform: capitalize;
}

.value-cards__text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

.value-cards__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
}

.value-cards__card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 208px;
    padding: 24px 20px;
    border: 2px solid var(--color-white);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 25px;
}

.value-cards__icon {
    flex: none;
    width: 38px;
    height: 38px;
    margin-bottom: 6px;
}

.value-cards__card-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;
}

@media (max-width: 1024px) {
    .value-cards__inner {
        gap: 40px;
    }

    .value-cards__title {
        font-size: 32px;
        line-height: 36px;
    }

    .value-cards__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Mobile: stacked ────────────────────────────────────────── */
@media (max-width: 767px) {
    .value-cards__inner,
    .value-cards__head {
        gap: 32px;
    }

    .value-cards__title {
        font-size: 28px;
        line-height: 36px;
    }

    .value-cards__text {
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
    }

    .value-cards__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .value-cards__card {
        gap: 4px;
        min-height: 0;
        padding: 12px 14px;
        line-height: 20px;
    }

    .value-cards__icon {
        width: 32px;
        height: 32px;
    }
}
