/* STATIC COMPANY STATS*/

.stats-section {
    background: #fcaf71;
    padding: 25px 4% 45px;
    margin-bottom: 35px;
}

.stats-container {
    max-width: 1350px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

/* INDIVIDUAL STAT */

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 15px;
    min-width: 0;
}

/* VERTICAL DIVIDER */

.stat-item:not(:last-child) {
    border-right: 1px solid #404890;
}

/* NUMBER */

.stat-item h2 {
    color:#004890;
    font-size: clamp(32px, 3.2vw, 42px);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.stat-item h2 span {
    font-size: 0.8em;
}

/* DESCRIPTION */

.stat-item p {
    color: #004890;
    font-size: clamp(12px, 1.15vw, 17px);
    font-weight: 500;
    line-height: 1.55;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ==============================
   TABLET
================================ */

@media (max-width: 950px) {
    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid rgba(0, 72, 144, 0.2);
        padding-top: 25px;
    }

    .stat-item h2 {
        font-size: 42px;
    }

    .stat-item p {
        font-size: 14px;
    }
}

/* ==============================
   MOBILE
================================ */

@media (max-width: 550px) {
    .stats-section {
        padding: 30px 4% 45px;
        margin-bottom: 25px;
    }

    .stats-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item {
        justify-content: flex-start;
        padding: 12px 10px;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 72, 144, 0.2);
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .stat-item h2 {
        width: 120px;
        flex-shrink: 0;
        font-size: 32px;
        text-align: center;
    }

    .stat-item p {
        font-size: 13px;
    }
}
