/* ==========================================================================
   BCC About Us — Stats
   ========================================================================== */

.bcc-about-stats {
    position: relative;
    padding: 0 1.5rem clamp(5rem, 9vw, 8rem);
    background: var(--bcc-color-background, #F5F1F7);
    color: var(--bcc-color-primary, #0D2230);
}

.bcc-about-stats *,
.bcc-about-stats *::before,
.bcc-about-stats *::after {
    box-sizing: border-box;
}

.bcc-about-stats__inner {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
}

/* Section heading */

.bcc-about-stats__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgb(13 34 48 / 15%);
}

.bcc-about-stats__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    color: rgb(13 34 48 / 70%);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.bcc-about-stats__eyebrow::before {
    width: 1.75rem;
    height: 2px;
    flex-shrink: 0;
    background: var(--bcc-color-accent, #F4D738);
    content: "";
}

.bcc-about-stats__heading {
    max-width: 620px;
    margin: 0;
    color: var(--bcc-color-primary, #0D2230);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.05;
    text-align: right;
    text-wrap: balance;
}

.bcc-about-stats__heading span {
    color: rgb(13 34 48 / 58%);
}

/* Metrics grid */

.bcc-about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.bcc-about-stat {
    display: flex;
    min-width: 0;
    min-height: 220px;
    flex-direction: column;
    align-items: flex-start;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid rgb(13 34 48 / 14%);
    background: var(--bcc-color-surface, #F6F7F5);
}

.bcc-about-stat__top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-bottom: auto;
    padding-bottom: 2rem;
}

.bcc-about-stat__number {
    color: rgb(13 34 48 / 55%);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-variant-numeric: tabular-nums;
}

.bcc-about-stat__value {
    margin: 0 0 0.75rem;
    color: var(--bcc-color-primary, #0D2230);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.065em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.bcc-about-stat__label {
    max-width: 190px;
    margin: 0;
    color: rgb(13 34 48 / 70%);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Tablet */

@media (max-width: 900px) {
    .bcc-about-stats {
        padding-inline: 1.25rem;
    }

    .bcc-about-stats__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .bcc-about-stats__heading {
        max-width: 600px;
        text-align: left;
    }

    .bcc-about-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bcc-about-stat {
        min-height: 200px;
    }

    .bcc-about-stat__value {
        font-size: clamp(2.75rem, 7vw, 3.75rem);
    }
}

/* Mobile */

@media (max-width: 560px) {
    .bcc-about-stats {
        padding: 0 1.125rem 4.5rem;
    }

    .bcc-about-stats__header {
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }

    .bcc-about-stats__eyebrow {
        font-size: 0.6875rem;
    }

    .bcc-about-stats__heading {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .bcc-about-stats__grid {
        gap: 0.75rem;
    }

    .bcc-about-stat {
        min-height: 175px;
        padding: 1.125rem;
    }

    .bcc-about-stat__top {
        padding-bottom: 1.5rem;
    }

    .bcc-about-stat__value {
        margin-bottom: 0.625rem;
        font-size: clamp(2.25rem, 9vw, 3rem);
    }

    .bcc-about-stat__label {
        font-size: 0.8125rem;
    }
}

/* Small mobile */

@media (max-width: 360px) {
    .bcc-about-stats__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bcc-about-stat {
        min-height: 155px;
    }
}