h1{
    margin: 0;
}
.top{
    overflow: hidden;
    position: relative;
    padding: 40px 0 140px 0;
}
.top .container{
    /*display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-gap: 40px;*/
}
.top_title-txt{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    grid-gap: 40px;
}
.top-txt{
    display: grid;
    grid-gap: 40px;
    justify-items: flex-start;
    max-width: 360px;
}
.top :where(.top_img, .mesh){
    position: absolute;
    z-index: -1;
}
.top_img{
    top: 85px;
    left: calc(50% + 220px);
    width: 370px;
    object-fit: contain;
}
.contact-btn{
    font-size: 14px;
}
.top .mesh{
    width: 50%;
    height: 570px;
    top: 0;
    left: 50%;
    background: linear-gradient(to right, white 0, transparent 25%, transparent 75%, white 100%), var(--gray-mesh);
}
.breadcrumbs{
    margin: 0 0 50px 0;
}

.services-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 16px;
    position: relative;
}
.services-grid.show-all{
    max-height: fit-content;
}
.service-item{
    background: var(--black);
    color: white;
    padding: 40px;
    display: grid;
    align-content: flex-start;
    grid-gap: 30px;
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 4px;
}
.service-item:hover{
    background: var(--purple);
}
.service-item .arrow-link{
    position: absolute;
    top: 0;
    right: 30px;
    transition: .3s;
    transform: translate(0, -100%);
}
.service-item .arrow-link path{
    fill: white;
}
.service-item:hover .arrow-link{
    transform: translate(0, 30px);
}
.service-item_title{
    font-size: 30px;
}
.service-item_txt{
    color: #ccc;
}
.services-grid_show-all{
    display: none;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 250px;
    width: 100%;
    background: linear-gradient(0deg, white 52.56%, rgba(255, 255, 255, 0.791667) 65.16%, rgba(255, 255, 255, 0) 100%), linear-gradient(0deg, #7B61FF 48.82%, rgba(123, 97, 255, 0) 100%);
    padding: 60px;
}
.services-grid_show-all.hidden{
    display: none;
}

.select-specialist-btn{
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    margin-top: 50px;
}
.select-specialist-btn_txt{
    color: var(--purple);
    margin-top: 50px;
    font-size: 16px;
}
.select-specialist-btn_triangle-txt{
    position: relative;
    width: 250px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
}
.select-specialist_txt{
    z-index: 2;
    font-size: 18px;
    transform: translate(0, -10px);
    margin-top: -10%;
    margin-left: -8%;
}
.select-specialist_triangle{
    position: absolute;
    width: 100%;
    object-fit: contain;
    transform: rotate(-45deg) translate(0px, -40px);
    z-index: 1;
}

.work-steps{
    margin: 70px 0 150px;
}
.work-steps_title-wrapper{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 40px;
    margin-bottom: 70px;
    --title-fs:clamp(36px, calc(3vw + 20px), 50px);
}
.work-steps_title{
    margin: 0;
    max-width: 560px;
}
.work-steps_subtitle{
    max-width: 360px;
    padding-top: calc(var(--title-fs) - 1rem);
}
.step-num-list{
    display: flex;
    gap: 90px;
    margin-bottom: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    height: fit-content;
}
.step-num-list::-webkit-scrollbar {
    display: none;
}
.step-num-list::-webkit-scrollbar-thumb {
    display: none;
}
.step-num{
    font-size: clamp(50px, calc(30px + 5vw), 115px);
    line-height: 1em;
    color: #EFEFF0;
    cursor: pointer;
    width: auto;
    height: auto;
    background: none;
    opacity: 1;
}
.step-num.swiper-pagination-bullet-active{
    color: var(--purple);
}
.step-title{
    font-size: 30px;
}
.step_slides-btn{
    display: inline-flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}
.step-list{
    max-width: 560px;
}
.next-step{
    font-size: 14px;
    background: white;
    border: 1px solid var(--purple);
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 1em;
    flex-shrink: 0;
    margin-top: calc(30px + 1rem);
}
.next-step .next-step_arrow{
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    width: 12px;
}
.next-step .next-step_arrow:after{
    content: '';
    width: 100%;
    height: 1px;
    background: var(--purple);
}
.next-step .next-step_arrow .icon{
    position: absolute;
    height: 11px;
    width: 6px;
}
.next-step .next-step_arrow path{
    fill: var(--purple);
}


@media(max-width: 1200px){
    .top_title-txt{
        grid-template-columns: 100%;
    }
    .top_img{
        position: relative;
        top: auto;
        left: auto;
        margin-left: auto;
    }
    .top .mesh{
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, white 0, transparent 25%, transparent 75%, white 100%),
        linear-gradient(to bottom, white 0, transparent 25%, transparent 75%, white 100%),
        var(--gray-mesh);
    }
}
@media (max-width:768px){
    .services-grid{
        grid-template-columns: 1fr;
    }
    .work-steps{
        padding: 0 20px;
        margin: 70px 0;
    }
    .service-item .arrow-link{
        top: 30px;
        transform: translate(0, 0);
    }
    .service-item .arrow-link path{
        fill: #4d4d4d;
    }
    .step-title{
        font-size: 26px;
    }
    .step_slides-btn{
        display: block;
    }
    .next-step{
        margin-left: auto;
    }
    .select-specialist_triangle{
        /*transform: translate(10px, 0) rotate(-45deg);*/
    }
    .step-num-list{
        gap: 35px;
    }
}
@media(max-width: 480px){
    .top_img{
        transform: translate(20%, 0);
        margin-top: -40px;
    }
    .services-grid{
        max-height: 1000px;
        overflow: hidden;
    }
    .services-grid_show-all{
        display: flex;
    }
    .step-txt{
        font-size: 17px;
    }
    .select-specialist_txt{
        font-size: 14px;
    }
}
@media(max-width: 400px){
    .select-specialist_txt{
        margin-top: -20%;
        margin-left: -20%;
    }
}