/* ── Info cards ─────────────────────────────────────────────
   Figma: desktop 3093:120496 — three white cards on Deep Green;
   mobile 3093:120817 — each a bar that opens.
   ─────────────────────────────────────────────────────────── */

.info-cards {
    padding: 40px var(--pad-x) var(--pad-y);
    background: var(--color-secondary);
}

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

.info-cards__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 20px;
}

.info-cards__title {
    font-size: 45px;
    font-weight: 600;
    line-height: 48px;
}

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

.info-cards__card {
    padding: 24px 24px 28px;
    border-radius: 14px;
    background: var(--color-white);
    box-shadow: 0 0 12px rgb(0 0 0 / 0.12);
}

.info-cards__card summary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    list-style: none;
    pointer-events: none;
}

.info-cards__card summary::-webkit-details-marker {
    display: none;
}

.info-cards__icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--color-mint);
}

.info-cards__icon--amber {
    background: rgb(255 191 0 / 0.3);
}

.info-cards__icon--red {
    background: rgb(221 51 51 / 0.3);
}

.info-cards__card-title {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
}

.info-cards__chevron {
    display: none;
}

.info-cards__text {
    margin-top: 12px;
    color: var(--color-text-muted);
    line-height: 20.8px;
}

.info-cards__text > * + * {
    margin-top: 10px;
}

@media (max-width: 1024px) {
    .info-cards__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

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

/* ── Mobile: a bar per card ─────────────────────────────────── */
@media (max-width: 767px) {
    .info-cards__head {
        gap: 6px;
        font-size: 14px;
    }

    .info-cards__title {
        font-size: 24px;
        font-weight: 500;
        line-height: 29px;
    }

    .info-cards__card {
        padding: 14px 20px;
        box-shadow: 0 4px 12px rgb(0 0 0 / 0.08);
    }

    .info-cards__card summary {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        pointer-events: auto;
        cursor: pointer;
    }

    .info-cards__card-title {
        flex: 1;
        font-size: 20px;
        font-weight: 500;
        line-height: 25px;
    }

    .info-cards__chevron {
        display: block;
        flex: none;
        transition: rotate var(--transition);
    }

    .info-cards__card[open] .info-cards__chevron {
        rotate: 180deg;
    }

    .info-cards__text {
        margin-top: 10px;
        font-size: 14px;
        line-height: 20px;
    }
}
