.for-whom {
    display: flex;
    flex-direction: column;
}

.for-whom__title {
    margin-bottom: 32px;
}

.for-whom__title+.cooperation__subtitle {
    margin: -16px 0 32px;
}

.for-whom__block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.for-whom__row-desktop {
    display: none;
}

.for-whom__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.for-whom__icon {
    flex: 0 0 90px;
    width: 90px;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 13px;
    user-select: none;
    position: relative;
    left: -70px;
}

.for-whom__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.for-whom__text {
    margin-left: -70px;
}

.for-whom__text h4 {
    margin-bottom: 8px;
}

.for-whom__text p {
    font-size: 10px;
    opacity: 0.7;
}

.for-whom__card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.for-whom__card:hover {
    background-color: var(--color-white);
    box-shadow: 0px 8px 32px 0px rgba(21, 33, 81, 0.08);
}

.for-whom__card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
}

.for-whom__card-icon img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
}

.for-whom__card-text {
    font-size: 10px;
}

@media screen and (min-width: 614px) {
    .for-whom__cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media screen and (min-width:1024px) {
    .for-whom__text p {
        font-size: 12px;
    }

    .for-whom__row-desktop {
        display: flex;
    }

    .for-whom__row-main> :nth-child(-n+4) {
        display: none;
    }

    .for-whom__cards {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .for-whom__card {
        flex: 0 0 calc(100% / 4 - 12px);
        margin: 0;
    }

    .for-whom__text {
        margin-left: -80px;
    }

    .for-whom__icon {
        width: 132px;
        flex: 0 0 132px;
        padding-left: 20px;
        left: -80px;
        transition: transform 0.3s;
    }
}

@media screen and (min-width: 1280px) {
    .for-whom__title {
        margin-bottom: 40px;
    }

    .for-whom__title+.cooperation__subtitle {
        margin: -16px 0 40px;
    }

    .for-whom__block {
        gap: 30px;
    }

    .for-whom__text {
        margin-left: -80px;
    }

    .for-whom__card {
        gap: 8px;
        padding: 24px;
    }

    .for-whom__card-icon {
        width: 50px;
        height: 50px;
    }

    .for-whom__card-text {
        font-size: 12px;
        min-height: 36px;
    }
}