.main-uslugi{
    min-height: calc(100svh - 450px);
}

.uslugi-list-elems{
    column-gap: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    row-gap: 50px;
    margin-bottom: 50px;
    padding-top: 20px;
}

.uslugi-list-elems a{
    width: 220px;
    height: 215px;
    padding: 30px;
    text-align: center;
}

.uslugi-list-elems a .num-bg{
    left: calc(50% - 30px);
    top: -30px;
}


/* Страница услуги */



.side-bar{
    width: 210px;
    display: flex;
    flex-direction: column;
    column-gap: 15px;

}

.name-category h5{
    padding: 15px 0;
    color: #303030;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;  
    transition: .3s; 
}

.name-post h6{
    padding: 15px 10px;
    color: #303030;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    border-top: 1px dashed #d4d4d4;
    transition: .3s;
}

.orange-line{
    background: #ff7b06;
    width: 100%;
    height: 1px;
}

.side-bar a:hover h5, .side-bar a:hover h6{
    color: #ff7b06;
    transition: .3s;
}

.active h6{
    color: #ff7b06;
}


.uslugi-content{
    display: flex;
    column-gap: 30px;
}

.uslugi-main{
    width: calc(100% - 240px);
}

.uslugi-banner{
    height: 320px;
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.uslugi-banner img{
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text{
    position: absolute;
    left: 0;
    z-index: 2;
    top: 50%;
    width: 100%;
    transform: translate(0px, -50%);
    text-align: center;
    color: #ffffff;
    font-size: 55px;
    font-weight: 700;
    line-height: 60px;
    padding-inline: 45px;
}

.uslugi-info p{
    color: #303030;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 15px;
}
.uslugi-info ol, .uslugi-info ul {
    list-style: auto;
    margin: 0 0 1rem 1rem;
}
.uslugi-info ol li, .uslugi-info ul li {
    list-style: none;

}
.uslugi-info li {
    margin-bottom: .5rem;
}
.uslugi-info li::before{
    display: inline-block;
    vertical-align: top;
    zoom: 1;
    border-radius: 50%;
    content: '';
    width: 7px;
    height: 7px;
    background-color: #ff7b06;
    margin: 6px 8px 0 0;
}



.raboti-card {
    display: block;
}

.example_work{
    margin-bottom: 30px;
}

.uslugi-title{
    color: #303030;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 20px;
}

.examples{
    display: flex;
    column-gap: 15px;
    row-gap: 15px;
    flex-wrap: wrap;
}

.raboti-card{
    width: 300px;
    height: 300px;
}


.step {
    width: 300px;
}


.step-num {
    font-size: 128px;
    line-height: 155px;
}

.step-info h5 {
    font-size: 18px;
    line-height: 21px;
}

.step-info p {
    font-size: 16px;
    line-height: 16px;
}





/* MEDIA */


@media (max-width: 1200px) {
    .uslugi-list-elems a {
        width: 230px;
    }

    .uslugi-banner{
        height: 270px;
    }

    .banner-text{
        font-size: 50px;
    }
}

@media (max-width: 1000px) {
    .uslugi-list-elems {
        justify-content: space-around;
    }
    .side-bar{
        display: none;
    }

    .uslugi-main{
        width: 100%;
    }

}

@media(max-width: 800px){
    .uslugi-list-elems a {
        width: 100%;
        min-height: 110px;
        height: fit-content;
        justify-content: center;
    }

    .banner-text {
        font-size: 30px;
        line-height: 32px;
    
    }
    .uslugi-banner {
        height: 210px;
    }

    h1 {
        font-size: 30px;
        line-height: 35px;
    }

    .raboti-card {
        width: 280px;
        height: 280px;
    }
}

@media(max-width: 600px){
    h1 {
        font-size: 24px;
        line-height: 25px;
    }

    .uslugi-banner {
        height: 138px;
    }

    .banner-text {
        font-size: 24px;
        line-height: 25px;
    }

    .uslugi-banner {
        margin-bottom: 25px;
    }

    .examples{
        justify-content: center;
    }

    .step-num {
        line-height: 128px;
    }

}


@media(max-width: 400px){
    .uslugi-list-elems a {
        min-height: 140px;
    }

    h1 {
        font-size: 22px;
        line-height: 24px;
    }

    .uslugi-banner {
        height: 109px;
    }
    .banner-text {
        font-size: 22px;
        line-height: 23px;
        padding-inline: 10px;
    }
}