.company-about {
    background: #FFFFFF;
    padding-top: 60px;
    padding-bottom: 60px;
}
.company-about__wrap {
    display: grid;
    grid-template-columns: 620px 1fr;
    gap: 30px;
}
.company-about__content {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
    grid-row: 1 / 3;
}
.company-about__text blockquote {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-top: 1px solid #C8C8C8;
    border-bottom: 1px solid #C8C8C8;

    font-weight: 500;
    font-size: 24px;
    line-height: 120%;
    letter-spacing: -0.2px;
}
.company-about__banner {
    width: 100%;
    height: 385px;
    overflow: hidden;
    border-radius: 12px;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}
.company-about__banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.company-about__achievements {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}
.achievements {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
}
.achievements__item {
    text-align: center;
    background: #EEEED7;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    row-gap: 14px;
    flex-basis: 25%;
}
.achievements__title{
    font-weight: 500;
    font-size: 32px;
    line-height: 110%;
    letter-spacing: -0.2px;
    text-align: center;
}
.achievements__title sup {
    font-size: 21px;
    line-height: 21px;
}

@media (max-width: 1590px) {
    .company-about__wrap {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .company-about__content {
        grid-column: initial;
        grid-row: initial;
    }
    .company-about__banner {
        grid-column: initial;
        grid-row: initial;
    }
    .company-about__achievements {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }
    .achievements {
        gap: 20px;
    }
}
@media (max-width: 1200px) {
    .company-about {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .company-about__wrap {
        grid-template-columns: 1fr;
    }
    .company-about__achievements {
        grid-column: initial;
        grid-row: initial;
    }
    .achievements {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, minmax(128px, 1fr));
    }
    .company-about__banner {
        height: 300px;
    }
}
@media (max-width: 768px) {
    .company-about {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .achievements__title {
        font-size: 24px;
    }
    .achievements__text {
        font-size: 14px;
    }
    .company-about__banner {
        height: 240px;
    }
}

.toggle-button.button__collapse {
    display: none;
}

@media (max-width: 768px) {
    .company-about__text {
        overflow: hidden;
        transition: max-height 0.5s ease, -webkit-line-clamp 0.5s ease;
        max-height: 6em; /* Примерно 4 строки при line-height 1.5 */
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
    }
    
    .company-about__text.expanded {
        max-height: 1000px; /* Достаточно большое значение для полного раскрытия */
        -webkit-line-clamp: unset;
        display: block;
    }
    
    .toggle-button.button__collapse {
        display: flex;
    }

    .toggle-button.expanded .button__icon {
        transform: rotate(-180deg);
    }
}