.aboutCompany {
    --aboutCompanyPdTop: 50px;
    --aboutCompanyPdBottom: 50px;
    padding-top: var(--aboutCompanyPdTop);
    padding-bottom: var(--aboutCompanyPdBottom);
    background-color: #fff;

    @media (max-width: 1024px) {
        --aboutCompanyPdTop: 80px;
        --aboutCompanyPdBottom: 80px;
    }

    @media (max-width: 550px) {
        --aboutCompanyPdTop: 40px;
        --aboutCompanyPdBottom: 40px;
    }
}

@media screen and (max-width: 1024px) {
    .aboutCompany {
        --aboutCompanyPdTop: 80px;
        --aboutCompanyPdBottom: 80px;
    }
}

@media screen and (max-width: 550px) {
    .aboutCompany {
        --aboutCompanyPdTop: 40px;
        --aboutCompanyPdBottom: 40px;
    }
}

.aboutCompany__container {
    display: flex;
    gap: 222px;
    
    @media (max-width: 1420px) {
        gap: 50px
    }

    @media (max-width: 1212px) {
        gap: 20px;
    }
}

@media screen and (max-width: 1420px) {
    .aboutCompany__container {
        gap: 50px
    }
}

@media screen and (max-width: 1212px) {
    .aboutCompany__container {
        gap: 20px;
    }
}

@media screen and (max-width: 940px) {
    .aboutCompany__container {
        flex-direction: column;
    }
}

.aboutCompany__info {
    flex-basis: 498px;
    align-self: center;


    @media (max-width: 1212px) {
        max-width: 298px;
    }

    @media (max-width: 1024px) {
        flex-basis: auto;
        max-width: unset;
    }
}

@media screen and (max-width: 1212px) {
    .aboutCompany__info {
        max-width: 298px;
    }
}

@media screen and (max-width: 940px) {
    .aboutCompany__info {
        max-width: 100%;
    }
}

.aboutCompany__stats {
    display: flex;
    flex-grow: 1;
}

@media screen and (max-width: 1212px) {
    .aboutCompany__stats {
        column-gap: 21px;
    }

    .aboutCompany__stats img {
        max-width: 48%;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.aboutCompany__stats > img {
    @media (max-width: 600px) {
        align-self: center;
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .aboutCompany__stats {
        flex-direction: column;
        row-gap: 10px;
    }

    .aboutCompany__stats > img {
        align-self: center;
        width: 100%;
    }
}

.aboutCompany__btn {
    @media (max-width: 500px) {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .aboutCompany__btn {
        width: 100%;
    }
}

.aboutCompany__stats-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    @media (max-width: 600px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }
}

@media screen and (max-width: 600px) {
    .aboutCompany__stats-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
    }
}

.aboutCompany__stats-el {
    flex-grow: 1;
    border: 1px solid #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: 7px;

    @media (max-width: 600px) {
        justify-content: flex-start;
    }
 }

@media screen and (max-width: 600px) {
    .aboutCompany__stats-el {
        justify-content: flex-start;
    }
}


.aboutCompany__stats-el:last-child {
    @media (max-width: 600px) {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 600px) {
    .aboutCompany__stats-el:last-child {
        grid-column: 1 / -1;
    }
}


.aboutCompany__stats-text {
    color: var(--color-PayneGray);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    max-width: 209px;

}

.aboutCompany__stats-num {
    font-size: 32px;
    font-weight: 700;
    line-height: 42px;
    text-align: left;
    color: var(--color-black);
}

.aboutCompany__title {
    margin-bottom: 16px;

    @media (max-width: 1212px) {
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
    }
}

@media screen and (max-width: 1212px) {
    .aboutCompany__title {
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
    }
}

.aboutCompany__subtitle {
    font-size: 14px;
    line-height: 20px;
    color: var(--color-PayneGrayLight);
    margin-bottom: 20px;
}

.aboutCompany__subtitle:last-child {
    margin-bottom: 40px;
    @media (max-width: 600px) {
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 600px) {
    .aboutCompany__subtitle:last-child {
        margin-bottom: 35px;
    }
}