.company-page {
    font-family: "Gilroy", sans-serif;
    overflow: hidden;
}

.company-block {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(40px, 8vw, 120px) 0;
}

.company-block.block-hero {
    padding: clamp(60px, 8vw, 120px) 0;
}

.company-block__bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
}

.company-block__container {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 30px);
    z-index: 2;
    padding: 0 15px;
}

.company-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
}

.company-block h1, .company-block h2 {
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: clamp(15px, 2vw, 30px);
    text-transform: uppercase;
}

.company-block p {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.1;
    margin-bottom: clamp(10px, 1.5vw, 20px);
    font-weight: normal;
}

.company-block.block-hero p {
    line-height: 1;
}

.company-accent {
    color: #00b7b7;
}

/* -- Block 1 (Hero) -- */
.block-hero .company-block__bg {
    background-image: url("../images/company/Hero-company.jpg");
}

.block-hero {
    min-height: clamp(800px, 70vh, 1000px);
    color: #fff;
    text-align: left;
}

.hero-logo {
    max-width: 1170px;
    width: 100%;
    height: auto;
    margin-bottom: clamp(40px, 5vw, 70px);
}

/* -- Block 2 -- */
.block-quality .company-block__bg {
    background-image: url("../images/company/block2.jpg");
}

.block-quality {
    color: #000;
}

/* -- Block 3 -- */
.block-assortment .company-block__bg {
    background-image: url("../images/company/block3.jpg");
}

.block-assortment {
    color: #fff;
}

/* -- Block 4 -- */
.block-trust .company-block__bg {
    background-image: url("../images/company/block4-1.jpg");
}

.block-trust {
    color: #000;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vw, 20px);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feature-item p {
    margin-bottom: 0;
}

.company-img {
    display: none;
}

@media (max-width: 1199px) {
    .company-row {
        grid-template-columns: 1fr;
    }
    .company-block {
        min-height: unset;
    }
    .block-hero .company-block__bg,
    .block-assortment .company-block__bg {
        background-position: 35% center;
    }
    .block-quality .company-block__bg,
    .block-trust .company-block__bg {
        background-position: 100% center;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .company-block.block-hero .company-col {
        background: rgba(0, 0, 0, 0.4);
        padding: 15px;
        border-radius: 12px;
    }
}
@media (max-width: 767px) {
    .block-quality .company-block__bg,
    .block-trust .company-block__bg {
        background-position: 62% center;
    }
    .block-hero .company-block__bg {
        background-image: none;
        background-color: #237580;
    }
    .company-img {
        display: flex;
        position: relative;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
    }
    .company-img:after {
        content: '';
        position: absolute;
        width: 100%;
        height: 30px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        background: linear-gradient(to top, #237580, rgba(48,152,163,0.2));
    }
    .company-img:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 30px;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        background: linear-gradient(to bottom, #237580, rgba(48,152,163,0.2));
    }
    .block-trust .company-img {
        width: 100%;
        margin-bottom: 10px;
    }
    .block-trust .company-img:before,
    .block-trust .company-img:after {
        content: none;
    }
    .hero-logo {
        margin-bottom: 0;
    }
}