.banner{
    min-height: 60vh;
    background-color: var(--secondary-bg);
}

.banner-slide{
    position: relative;
    min-height: inherit;
    height: 100%;
    overflow: hidden;
}

.banner__title{
    font-weight: 400;
    font-size: 60px;
    line-height: 70px;
    text-transform: uppercase;
    color: var(--main-dark);
    margin: 0;
}

.banner__subtitle{
    font-weight: 200;
    font-size: 24px;
    line-height: 28px;
    color: var(--secondary-text);
    margin: 0;
}

.banner__info, .banner__info > .container{
    min-height: inherit;
}

.banner__info > .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
}

.banner__links{
    display: flex;
    align-items: center;
    gap: 24px;
}

.layer{
    position: absolute;
    user-select: none;
}

.layer-1{
    z-index: 1;
    bottom: 0;
    right: 18%;
    width: 45%;
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}

.layer-2{
    z-index: 2;
    top: 0;
    right: 0;
    width: 53%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 65% 100%);
}

.services{
    background-color: var(--main-dark);
}

.services__items{
    display: flex;
    align-items: flex-start;
    gap: 24px;
    overflow-x: auto;
}

.services__item{
    display: flex;
    flex-direction: column;
    flex: 1 0 18%;
    gap: 12px;
    padding: 24px;
    border-top: 4px solid var(--secondary-text);
}

.services__name{
    font-size: 16px;
    line-height: 19px;
    color: var(--main-light);
    min-height: 40px;
    text-transform: uppercase;
}

.services__benefit{
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 200;
    font-size: 14px;
    line-height: 16px;
    color: var(--border-color);
}

.services__benefit::before{
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.services__benefit:not(:last-child){
    margin-bottom: 6px;
}

.category:nth-child(even){
    background-color: var(--secondary-bg);
}

.category .text{
    margin-bottom: 36px;
}

.category__products{
    margin-bottom: 46px;
}

.category > .container > .link{
    margin: 0 auto;
}

@media(max-width: 1300px){
    .banner{
        min-height: 45vh;
    }
    .banner__info > .container{
        gap: 26px;
    }
    .banner__title{
        font-size: 42px;
        line-height: 49px;
    }
    .banner__subtitle{
       font-size: 18px;
       line-height: 21px;
    }
    .layer-2{
        height: 100%;
        object-fit: cover;
    }
    .services__item{
        padding: 12px;
        flex: 1 0 16%;
    }
    .services__icon{
        width: 36px;
    }
    .services__name{
        font-size: 14px;
        line-height: 17px;
    }
}

@media(max-width: 905px){
    .banner{
        min-height: unset;
    }
    .banner__info > .container{
        padding: 24px 0;
    }
    .banner__images{
        position: relative;
        min-height: 300px;
        height: 50%;
    }
    .layer-1{
        right: unset;
        width: 76%;
        clip-path: polygon(0 0, 60% 0%, 100% 100%, 0 100%);
    }
    .layer-2{
        width: 76%;
    }
    .banner-slide{
        display: flex;
        flex-direction: column-reverse;
        justify-content: flex-end;
    }
    .services__item{
        flex-basis: 28%;
    }
}

@media (max-width: 767px) {
    .banner__images{
        min-height: 200px;
    }
    .layer-1{
        width: 70%;
        height: 100%;
        object-fit: cover;
        object-position: 65% 0;
    }
    .layer-2 {
        width: 85%;
    }
    .banner__info > .container{
        padding: 12px 0;
        gap: 12px;
    }
    .banner__title{
        font-size: 24px;
        line-height: 28px;
    }
    .banner__subtitle{
        font-size: 16px;
        line-height: 19px;
    }
    .banner__links{
        gap: 12px;
    }
    .services__items{
        gap: 12px;
    }
    .services__item{
        min-width: 185px;
    }
    .category .text{
        margin-bottom: 24px;
    }
    .category__products{
        grid-template-columns: 1fr;
    }
}