.history .history-content {
    display: flex;
    justify-content: space-between;
    gap: 24px 80px;
}

.history .history-content .description {
    max-width: 620px;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    margin-top: 40px;
    border-top: 1px solid #F4EEE7;
    padding-top: 24px;
}

.stats-item {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s ease;
}

.stats-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stats-num {
    font-size: 64px;
    font-weight: 500;
    color: #48788c;
}

@media screen and (max-width: 1199px) {
    .history .history-content .description {
        max-width: 500px;
    }
}

@media screen and (max-width: 992px) {
    .history .history-content {
        flex-direction: column;
    }

    .history .history-content .description {
        max-width: 100%;
    }

    .stats {
        gap: 24px;
    }

    .stats-num {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 24px;
        padding-top: 16px;
    }

    .stats-num {
        font-size: 24px;
    }

    .stats-item p {
        font-size: 12px;
    }
}