.section-first.catalog .section-wrap {
    padding: 0;
}

.section-first.catalog .section-wrap .title-wrapper,
.section-text,
.text-company-wrapper {
    max-width: 1000px;
    margin-inline: auto;
}

section.section-first {
    margin-block: 80px;
}

section.company {
    background: #f0f0f0;
    padding-block: 60px;
    margin-block: 60px;
}

.title-wrapper h1,
.title {
    color: #000;
    font-size: 23px;
    padding-left: 30px;
    position: relative;
    text-transform: uppercase;
}

.title-wrapper h1::before,
.title::before {
    position: absolute;
    content: '';
    width: 3px;
    height: 50px;
    background: #ed2024;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.title {
    margin-bottom: 30px;
}

.section-text,
.text-company-wrapper {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #000;
    margin-bottom: 30px;
}

.text-company-wrapper {
    margin: 0 auto 50px;
    padding: 0 20px;
}

.text-company-wrapper .text {
    margin-block: 50px;
}

.blockquote {
    margin-bottom: 30px;
}

.bento-catalog {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.bento-catalog__cell {
    position: relative;
    min-height: 175px;
}

.bento-catalog__card {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.bento-catalog__card:hover {
    transform: scale(1.02);
}

.bento-catalog__label {
    background-color: #e31e24;
    padding: 12px 24px 12px 40px;
    min-width: 70%;
    max-width: 100%;
    box-sizing: border-box;
}

.bento-catalog__name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: sans-serif;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 850px) {
    .bento-catalog {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 8px;
        row-gap: 24px;
    }

    .bento-catalog__cell {
        min-height: 400px;
        margin-inline: -30px;
    }

    .bento-catalog__cell--wide {
        grid-column: span 2;
    }

    /* ---- Острые углы для широких карточек ---- */
    .bento-catalog__cell--wide .bento-catalog__card {
        clip-path: polygon(80px 0%, 100% 0%, calc(100% - 80px) 100%, 0% 100%);
    }

    .bento-catalog__cell--wide .bento-catalog__label {
        clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 65px);
        width: 50%;
        padding: 12px 45px;
    }

    /* ---- Острые углы для маленьких карточек ---- */
    .bento-catalog__cell:not(.bento-catalog__cell--wide) .bento-catalog__card {
        clip-path: polygon(0% 0%, calc(100% - 80px) 0%, 100% 100%, 80px 100%);
        padding: 0 0 0 90px;
    }

    .bento-catalog__cell:not(.bento-catalog__cell--wide) .bento-catalog__label {
        clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 65px);
        /* width: 100%; */
        padding: 12px 45px;
    }
}

@media (max-width: 1728px) {

    .section-first.catalog .section-wrap .title-wrapper,
    .section-text,
    .text-company-wrapper {
        margin-inline: 0;
    }

    section.section-first,
    section.company {
        padding-inline: 80px;
    }
}
@media (max-width: 1400px) {
        .bento-catalog__cell {
        min-height: 300px;
    }
}

@media (max-width: 996px) {
        .bento-catalog__cell {
        min-height: 250px;
    }
    .title-wrapper h1,
    .title {
        margin-bottom: 30px;
    }

    section.company {
        padding-inline: 20px;
    }

    .text-company-wrapper {
        padding: 0;
    }
}

@media (max-width: 596px) {
    .bento-catalog {
        display: flex;
        flex-wrap: wrap;
    }
    .bento-catalog__cell {
        width: 100%;
    }
    .bento-catalog__cell:nth-child(odd) .bento-catalog__card {
        clip-path: polygon(0% 0%, calc(100% - 50px) 0%, 100% 100%, 50px 100%);
    }

    .bento-catalog__cell:nth-child(even) .bento-catalog__card {
        clip-path: polygon(50px 0%, 100% 0%, calc(100% - 50px) 100%, 0% 100%);
    }

    .bento-catalog__label {
        min-width: 50%;
        clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 65px);
    }

    .bento-catalog__cell:nth-child(even) .bento-catalog__card .bento-catalog__label {
        padding-right: 100px;
    }

    .bento-catalog__name {
        font-size: 12px;
    }
     .bento-catalog__cell {
        min-height: 150px;
      }
    .bento-catalog__card {
        background-position-y: 0;
    }
}
@media (max-width: 849px) {
   section.catalog {
        padding-inline: 20px;
    } 
    
}