.services-page .wrapper{
    display: block;
}

.wrapper {
    display: flex;
}
.services-page-h1 {
    font-size: 3.75rem;
    text-align: center;
}
.content-container {
    width: 100%;
}
.services-page .calculator {margin-top: 4rem;}
.services-page .content-container-info {
    margin: 6.25rem 0;
}

.services-page .content-container-info strong {
    font-size: 1.5rem;
}

.services-page .content-container-info p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: left;
    max-width: 1190px;
}


.services-page .content-container-info .title {
    font-size: 2.813rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.services-page .galery-title { 
    font-size: 2.813rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 4rem;
    text-align: left;
}
.services-page .content-container-info ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 20px;
    margin-bottom: 2.5rem;
}
.mt3 {
    margin-top: 3rem;
}
.services-page .content-container-info ul li {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.88rem;
    letter-spacing: 0%;
    text-align: left;
}



.services-page .content-container strong {
    font-size: 1.5rem;
}

.services-page .content-container p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0%;
    text-align: left;
    max-width: 1190px;
}


.services-page .content-container .title {
    font-size: 2.813rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.services-page .content-container ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 20px;
    margin-bottom: 2.5rem;
}

.services-page .content-container ul li {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.88rem;
    letter-spacing: 0%;
    text-align: left;
}
.services-page .mini-gal {
    margin: 0 0 6.25rem 0;
}

.serv-cards {
    margin: 2.5rem 0 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.serv-cards.skupka {
    display: grid;
    width: 100%;
    gap: 2.5rem;
    grid-row: 2fr 1fr 1fr;
    grid-template-columns: 1fr 0.5fr 0.5fr;

}

.serv-cards.skupka a.news-item {
    position: relative;
    width: auto;
}



.serv-cards img {

    width: 100%;

    height: 100%;

    border-radius: 18px;

    object-fit: cover;

}

.serv-cards a.news-item {
    position: relative;
    width: 30%;
    height: 31.688rem;
    overflow: hidden;
    border-radius: 20px;
}

.serv-cards p.description {

    position: absolute;

    bottom: 1.75rem;


    color: #fff;

    font-size: 1.5rem;

    font-weight: 600;

    width: 100%;
    text-align: center;

}

.serv-cards .desc {
    height: 150px;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-radius: 1.25rem;
    text-align: center;
    background: linear-gradient(180.00deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.6) 50%), url();
}

.bg-title {
    position: relative;
}
.one-card img.main-card-img {
    width: 100%;
    border-radius: 1.13rem;
    object-fit: cover;
    height: 42.125rem;
    filter: brightness(0.8);
}

.one-card .bg-title .main-title {
    border-radius: 1.13rem;
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    background: linear-gradient(90.00deg, rgba(0, 0, 0, 0.6) 50.277%, rgba(0, 0, 0, 0) 60.031%), url(image);
}

.one-card .main-card-block {
    border-radius: 1.13rem;
    background-size: contain;
    z-index: 55;
    color: #fff;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 2.5rem;
    margin-left: 50px;
}

.one-card .main-card-block h1 {
    color: rgb(255, 255, 255);
    font-family: Raleway;
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 4.38rem;
    letter-spacing: 0%;
    margin-bottom: 20px;
}

.one-card .main-card-block p {
    margin-bottom: 20px;
}

.one-card .main-card-block .block-inner p {
    margin: 0 !important;
}

.one-card .main-card-block .block-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

}

.one-card .content-container {
    width: 100%;
    padding: 0 0 2rem 0;
}

/* .one-card .bg-title .shadow{
    position: absolute;
    width: 50%;
    border-radius: 1.13rem;
    background: linear-gradient(90.00deg, rgba(0, 0, 0, 0.6) 0.277%, rgba(0, 0, 0, 0) 100.031%), url(image);
    z-index: 50;
    margin-top: -497px;
    height: 492px;
    overflow: hidden; 
    }*/

.one-card .main-card-block a.order {
    border-radius: 1.88rem;
    box-shadow: 0.25rem 0.25rem 1.88rem 0rem rgba(255, 255, 255, 0.1);
    background: rgb(87, 214, 96);
    text-align: center;
    color: #000;
    width: fit-content;
    font-weight: normal;
    padding: 1.19rem 7rem;
    color: rgb(17, 51, 34);
font-family: Raleway;
font-size: 1.5rem;
font-weight: 600;
line-height: 1.75rem;
transition: all 0.5s ease-in;
border: 5px solid rgb(87, 214, 96); 
}
.one-card .main-card-block a.order:hover {
    border: 5px solid rgb(87, 214, 96); 
    background: none;
    color: #fff;
    transition: all 0.5s ease-in;
}

.one-card .mini-gal .row:nth-child(1) {
    display: grid;
    grid-template-columns: 0.5fr 1fr 0.5fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;
}



.one-card .mini-gal .row:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;
}

.one-card .mini-gal .row img {
    width: 100%;
    /* max-height: 406px;    */
    border-radius: 1.13rem;
    height: 100%;
    object-fit: cover;
}

.one-card .content-container p {
    margin: 30px 0;
    display: block;
}

.one-card ul {
    margin-bottom: 0;
}

.number {
    margin: 20px 0;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    font-size: 1.5rem;
    align-items: self-start;
}

.number span {
    color: rgb(87, 214, 96);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 2.38rem;
    letter-spacing: 0%;
}

/* .services-page.one-card .reviews {
    padding: 0 !important;
    margin-top: 0;
} */

.bg-title .top {
    display: none;
}

.demontaj-container .row:nth-child(1) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;
}

.demontaj-container .row:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;
}

.demontaj-container .row:nth-child(2) .block:nth-child(1) {
    grid-column: 2;
}

.demontaj-container .row:nth-child(2) .block:nth-child(2) {
    grid-column: 3;
}

.demontaj-container .row:nth-child(3) {
    display: grid;
    /* grid-auto-columns: ". 1fr 1fr"; */
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;
    /* direction: rtl; */
}

.demontaj-container .row:nth-child(3) .block {
    grid-column: 3;
}

.demontaj-container .row:nth-child(3) img {
    grid-column: 1;
}


.demontaj-container .row .block {
    box-sizing: border-box;
    border: 0.19rem solid rgb(17, 51, 34);
    border-radius: 1.13rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 406px;
    padding: 20px;
}

.demontaj-container .row .block span {
    color: rgb(87, 214, 96);

    font-size: 5.63rem;
    font-weight: 800;
    line-height: 6.56rem;
}

.demontaj-container .row .block strong {
    line-height: 40px;

}

.demontaj-container .row img {
    height: 406px;
    border-radius: 1.13rem;
}

.one-card .content-container .demontaj-container .row .block p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.44rem;
    margin: 0;
}

.otxody {
    margin: 2.5rem 0 2.5rem 0;
    display: grid;
    /* flex-wrap: wrap; */
    gap: 2.5rem;
    /* justify-content: space-between; */
    grid-template-columns: 1fr 0.5fr 0.5fr 0.5fr;
    grid-template-rows: 1fr;
}
.one-card .useful-info {padding:0 0 3rem;}

.otxody a.news-item {
    width: auto;
}

/* .services-page section.reviews {
    margin-top: 0;
} */

.services-page section.useful-info {
    margin-bottom: 0;
}

.services-page section.reviews .title {
    margin-top: 0;
}

.container-vars {
    text-align: center;
}

.container-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;

}

.c-card {
    width: 32%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    /* padding: 20px; */
}

.c-card .info {
    box-sizing: border-box;
    border: 0.19rem solid rgb(17, 51, 34);
    border-radius: 1.13rem;
    box-shadow: 0.25rem 0.25rem 1.88rem 0rem rgba(255, 255, 255, 0.15);
    width: 100%;
    padding: 20px;
}

.c-card img {
    border-radius: 1.13rem;
    box-shadow: 0.25rem 0.25rem 1.88rem 0rem rgba(255, 255, 255, 0.15);
    /* height:330px; */
    width: 100%;
}

.c-card .info p {
    margin: 0;

}

.c-card .info strong {
    margin-bottom: 15px;
    display: block;
    margin-top: 0;
}

.c-card .info span {
    margin-top: 20px;
    display: block;
    color: rgb(87, 214, 96);
    font-size: 1.88rem;
    font-weight: 700;
    line-height: 2.19rem;
    letter-spacing: 0%;
}

.container-vars strong {
    display: block;
    margin-top: 40px;
}

.one-card .mini-gal-krup {
    text-align: center;
}

.one-card .mini-gal-krup .row {
    display: grid;
    grid-template-columns: 0.5fr 0.3fr 0.5fr 0.5fr 0.5fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;

}

.one-card .mini-gal-krup .row img {
    max-width: 100%;
    border-radius: 1.13rem;
    height: 100%;
    object-fit: cover;
}

.one-card .mini-gal-krup .row img:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}
.one-card .mini-gal-krup .row img:nth-child(2) {
    grid-column: span 2;
}
.one-card .mini-gal-krup .row img:nth-child(5) {
    grid-column: span 2;
}

.one-card .mini-gal-auto {
    text-align: center;
}

.one-card .mini-gal-auto .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;
}

.one-card .mini-gal-auto .row2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    margin-bottom: 40px;
}

.one-card .mini-gal-auto .row img,
.row2 img {
    max-width: 100%;
    border-radius: 1.13rem;
    height: 100%;
    object-fit: cover;
}



/* блок "Запчасти сайт" начало*/
section.auto-website {
    position: relative;
    width: 100%;
    height: auto;

    border-radius: 15px;
    padding: 50px 0 0 0;
    background: rgb(232, 232, 232);
    padding: 3.125rem 0 0 0;
    border-radius: 18px 18px 0 0;
}

section.auto-website .container {
    position: relative;
    display: flex;
}

section.auto-website .title {
    font-size: 2.813rem;
    font-weight: 700;
}

section.auto-website .top-text {
    font-size: 1.5rem;
    margin: 30px 0 0 0;
    width: 92%;
}

section.auto-website .info-item-container {
    margin: 25px 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

section.auto-website .info-item {
    display: flex;
    gap: 0.938rem;
    align-items: center;
    border: 2px solid #132;
    border-radius: 18px;
    padding: 28px 30px;
}

section.auto-website .info-item p {
    font-size: 1.25rem;
}

section.auto-website .bottom-text {
    font-size: 1.5rem;
    margin: 25px 0 0 0;
    width: 70%;
}

section.auto-website .info-container {
    position: relative;
    width: 64.6%;
    z-index: 2;
}

section.auto-website .background-img-container {
    position: absolute;
    right: 11px;
    top: -1.5%;
    width: 42.8%;
    height: 100%;
}

.background-img-container img {
    width: 100%;
    height: 100%;
}

section.auto-website .img-container img {
    position: relative;
    top: 10px;
    width: 100%;
    z-index: 1;
}

.one-card .main-card-block a.order {

    margin-top: 20px;
}



@media (max-width: 960px) {
    .serv-cards {
        display: flex !important;
        flex-direction: column !important;
    }

    .serv-cards a.news-item {
        width: 100%;
    }

    .number span {
        color: rgb(87, 214, 96);
        font-size: 2rem;
        width: 100px;
    }

    .number {

        align-items: start;

        font-size: 1.13rem;
    }

    .one-card .title {
        font-size: 1.25rem;
        line-height: 1.31rem;
        margin-top: 0;
    }

    .one-card .content-container strong,
    p {
        font-size: 1.13rem !important;
        line-height: 1.31rem;
        display: contents;
    }

    .one-card ul li {
        font-size: 1.13rem !important;
        line-height: 1.31rem;
    }

    .demontaj-container .row:nth-child(1) {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;

    }

    .demontaj-container .row:nth-child(2) {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;

    }

    .demontaj-container .row:nth-child(2) .block:nth-child(1) {
        grid-row: 1;
        grid-column: 1;
    }

    .demontaj-container .row:nth-child(2) .block:nth-child(2) {
        grid-row: 2;
        grid-column: 1;
    }

    .demontaj-container .row:nth-child(3) {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;

    }

    .demontaj-container .row:nth-child(3) .block {
        grid-column: 1;
    }

    .demontaj-container .row {

        grid-row-gap: 8px !important;
        margin-bottom: 8px !important;
    }


    .demontaj-container .row .block span {
        color: rgb(87, 214, 96);

        font-size: 2rem;
        font-weight: 800;
        line-height: 2.38rem;
    }

    .demontaj-container .row .block {
        height: 14.63rem;
    }

    .demontaj-container .row img {
        display: none;
    }
    .services-page-h1 {
        font-size: 32px;
    }
    .services-page .content-container-info {
        margin: 32px 0;
    }
    .services-page .content-container-info .title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .services-page .content-container-info ul li {
        font-size: 16px;
        font-weight: 400;
        line-height: normal;
        text-align: left;
    }
    .services-page .content-container-info ul {
        margin-bottom: 16px;
    }
    .services-page .content-container-info strong {
        font-size: 16px;
    }


    .services-page .content-container .title {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }
    .services-page .galery-title { 
        font-size: 20px;
        margin-top: 32px;
    }
    .services-page .mini-gal {
        margin: 0 0 32px 0;
    }
    
    .services-page .content-container ul li {
        font-size: 16px;
        font-weight: 400;
        line-height: normal;
        text-align: left;
    }
    .services-page .content-container ul {
        margin-bottom: 16px;
    }
    .services-page .content-container strong {
        font-size: 16px;
    }

    .services-page section.reviews {
        margin-top: 0;
    }

    .one-card .main-card-block .block-inner {
        text-align: center;
        color: #000;
    }

    .one-card .main-card-block {
        bottom: 0;
        background-repeat: no-repeat;
        position: relative;

    }

    .one-card .content-container .block-inner p {
        margin: 5px 0;
        display: block;
        text-align: center;
        font-size: 1rem !important;
        line-height: normal;
    }

    .one-card .content-container .bg-title h1 {
        text-align: center;
        margin-bottom: 10px;
        display: none;
    }

    .main-card-block a.order,
    strong {
        margin: 0 auto;
    }

    .one-card img.main-card-img {
        height: 286px;
        object-fit: cover;
    }

    .main-card-block {
        margin: 10px 0 0 !important;
        height: auto !important;
    }

    .bg-title .top {
        display: block !important;

        margin-bottom: 10px;
        color: rgb(17, 51, 34);

        font-size: 2rem;
        font-weight: 800;
        line-height: 2.38rem;
        letter-spacing: 0%;
        text-align: center;
        text-transform: uppercase;
    }


    .one-card .content-container strong,
    p {
        display: block;
    }


    .one-card .mini-gal .row {
        grid-column-gap: 5px !important;
        grid-row-gap: 5px !important;
        margin-bottom: 5px !important;
    }

    .one-card .mini-gal .row:nth-child(1) {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .one-card .mini-gal .row:nth-child(1) img:nth-child(2) {
        grid-row: 2;
        grid-column: span 2;
    }

    .services-container .title {
        position: absolute;
        bottom: 12px;
        left: 20px;
        font-size: 1.125rem;
        line-height: 21px;
        color: white;
    }

    /* .services-page.one-card .reviews {
        padding: 0 !important;
        margin-top: 20px;
        margin-bottom: 20px;
    } */

    .container-cards {

        flex-wrap: wrap;
    }

    .one-card .mini-gal-krup .row {
        display: grid;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        margin-bottom: 10px;
    }

    .one-card .mini-gal-auto .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        margin-bottom: 10px;
    }

    .one-card .mini-gal-auto .row2 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        margin-bottom: 10px;
    }

    .serv-cards .desc {
        bottom: 3px;
    }
    .c-card {
        width: 100%;
    }
}