/* Global Footprint block on /about — Figma block 7933:30076; load after about.css */

.about-footprint.section {
    align-items: stretch;
}

.about-footprint {
    --footprint-bg: #e2e2ff;
    --footprint-kicker: #0080ff;
    --footprint-title: #141434;
    --footprint-intro: #141434;
    /* Figma 7933:30084 — картки метрик */
    --footprint-stat-card-bg: #fbfdff;
    --footprint-stat-card-radius: 12px;
    --footprint-stat-value: #3d3dbc;
    --footprint-stat-desc: #626266;
    background: var(--footprint-bg);
    border-bottom: 1px solid var(--color-gray-30, #ebf0f7);
    box-sizing: border-box;
    padding: 96px 0 104px;
    width: 100%;
}

@media screen and (max-width: 1299px) {
    .about-footprint {
        padding: 80px 0 88px;
    }
}

@media screen and (max-width: 743px) {
    .about-footprint {
        padding: 64px 0 72px;
    }
}

/*
 * Дві колонки: текст ≤524px, решта — карта, gap 10px.
 * Не використовувати `auto` для першої колонки: дочірній width:100% дає
 * max-content ≈ уся ширина контейнера → перший трек роздувається, 1fr стискає карту.
 */
.about-footprint__grid {
    align-items: stretch;
    box-sizing: border-box;
    column-gap: 10px;
    display: grid;
    grid-template-columns: minmax(0, min(524px, 100%)) minmax(0, 1fr);
    row-gap: 10px;
    width: 100%;
}

@media screen and (max-width: 991px) {
    .about-footprint__grid {
        column-gap: 0;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 10px;
    }
}

.about-footprint__column--text {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    text-align: left;
    width: 100%;
}

.about-footprint__header {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
}

.about-footprint__titles {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 100%;
}

.about-footprint__kicker {
    color: var(--footprint-kicker);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

.about-footprint__title {
    color: var(--footprint-title);
    font-size: 40px;
    font-weight: 700;
    line-height: 54px;
    margin: 0;
    max-width: 100%;
    padding: 0;
}

@media screen and (max-width: 743px) {
    .about-footprint__title {
        font-size: 28px;
        line-height: 36px;
    }
}

.about-footprint__intro {
    box-sizing: border-box;
    color: var(--footprint-intro);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    max-width: 100%;
    padding: 0;
}

@media screen and (max-width: 743px) {
    .about-footprint__intro {
        font-size: 16px;
        line-height: 24px;
        max-width: 100%;
    }
}

.about-footprint__stats {
    box-sizing: border-box;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 40px 0 0;
    max-width: 100%;
    padding: 0;
    width: 100%;
}

@media screen and (max-width: 600px) {
    .about-footprint__stats {
        gap: 16px;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 32px;
        max-width: 100%;
    }
}

.about-footprint__stat {
    background: var(--footprint-stat-card-bg);
    border-radius: var(--footprint-stat-card-radius);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin: 0;
    min-height: 7.75rem;
    padding: 14px 28px 20px;
}

@media screen and (max-width: 743px) {
    .about-footprint__stat {
        min-height: 0;
        padding: 14px 20px 18px;
    }
}

.about-footprint__stat-desc {
    color: var(--footprint-stat-desc);
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
    margin: 0;
    padding: 0;
}

.about-footprint__stat-value {
    color: var(--footprint-stat-value);
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 48px;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 743px) {
    .about-footprint__stat-value {
        font-size: 32px;
        line-height: 40px;
    }
}

.about-footprint__column--map {
    align-self: stretch;
    box-sizing: border-box;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    position: relative;
}

.about-footprint__map {
    box-sizing: border-box;
    display: block;
    inset: 0;
    margin: 0;
    min-height: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

.about-footprint__map-img {
    border-radius: 16px;
    box-sizing: border-box;
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

@media screen and (max-width: 991px) {
    .about-footprint__column--map {
        position: static;
    }

    .about-footprint__map {
        position: static;
        width: 100%;
    }

    .about-footprint__map-img {
        height: auto;
        width: 100%;
    }
}
