@media all and (max-width: 1499px) {

    .complex .complex-image {
        background-size: 80%;
        background-position-x: 150px
    }

    .cars:before {
        width: calc(50% - 158px);
    }

    .cars:after {
        width: calc(50% - 173px);
    }

    .footer .wrap .footer-logo {
        flex: 0.5;
    }
}

@media all and (max-width: 1279px) {

    .complex .complex-image {
        background-size: 100%;
        width: 323px;
        height: 520px;
    }

    .services {
        height: auto;
        padding-top: 100px;
        padding-bottom: 100px;
    }

    .services .wrap {
        justify-content: flex-start;
        top: 0 !important;
    }

    .services .service {
        width: 30%;
        margin-right: 5%;
    }

    .services .service:nth-child(4) {
        margin-top: 40px;
    }

    .services .service:nth-child(3n) {
        margin-right: 0;
    }

    .services .service-double {
        margin: 40px auto 0;
        width: 60%;
    }

    .footer .wrap .footer-logo {
        flex: 0.75;
    }

    .footer .wrap .footer-center {
        flex: 1.25;
    }

    .footer .wrap .footer-menu .footer-menu-title {
        font-size: 18px;
    }

    .footer .wrap .footer-menu ul li a {
        font-size: 16px;
    }

    .footer .wrap .footer-contacts .footer-contacts-title {
        font-size: 18px;
    }

    .footer .wrap .footer-contacts .footer-contacts-phone {
        font-size: 25px;
    }

    .footer .wrap .footer-contacts .footer-contacts-item {
        font-size: 16px;
    }

    .copyright {
        height: auto;
        padding: 15px 0;
        text-align: center;
    }
}

@media all and (max-width: 1023px) {


    .header-mobile-block {
        display: block;
        height: 142px;
        padding-top: 30px;
        padding-bottom: 70px;
        background: #fafafa;
    }

    .header-mobile-block .wrap {
        flex-wrap: wrap;
        height: auto;
        justify-content: space-between;
        align-items: center;
    }

    .header-title-slogan {
        font-size: 21px;
    }

    .header .wrap {
        flex-wrap: wrap;
        height: auto;
        justify-content: space-between;
        align-items: center;
    }

    .header .header-logo {
        order: 1;
        width: auto;
        border-right: none;
        margin-bottom: 40px;
        height: 70px;
    }

    .header .header-space {
        display: none;
    }

    .header .header-contacts {
        order: 2;
        margin-top: -35px;
    }

    .header .header-cart {
        order: 3;
        margin-top: -42px;
        margin-right: 0;
    }

    .header .header-phone {
        order: 4;
        margin: 10px auto 0;
    }

    /*.complex .complex-image {*/
    /*    display: none;*/
    /*}*/
    .complex-tags {
        width: 100%;
    }

    .services {
    }

    .services .service {
        width: 46%;
    }

    .services .service:nth-child(3) {
        margin-top: 40px;
    }

    .services .service:nth-child(3n) {
        margin-right: auto;
    }

    .services .service:nth-child(2n) {
        margin-right: 0;
    }

    .services .service-double {
        width: 80%;
    }

    .reviews .block-title {
        text-align: center;
    }

    .prices .prices-content .prices-items {
        margin-right: 0;
    }

    .prices .prices-content .prices-items .prices-search .show-prices-menu {
        display: block;
        width: 70px;
        height: 50px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px;
        border-radius: 10px;
        transition: 0.2s;
    }

    .prices .prices-content .prices-items .prices-search .show-prices-menu:hover, .prices .prices-content .prices-items .prices-search .show-prices-menu.active {
        background: var(--primary-color);
    }

    .prices .prices-content .prices-items .prices-search .show-prices-menu img {
        max-width: 80%;
        max-height: 80%;
        transition: 0.2s;
    }

    .prices .prices-content .prices-items .prices-search .show-prices-menu.active img {
        transform: rotate(90deg);
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile {
        display: none;
        border-radius: 15px;
        overflow: hidden;
        padding: 0;
        margin: 25px 0 0 0;
        list-style: none;
        -webkit-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
        top: -113px;
        position: relative;
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li {
        border-bottom: 3px solid #dbdfe8;
        height: 42px;
        line-height: 42px;
        background: #fff;
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li:last-child {
        border-bottom: none;
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li a {
        display: flex;
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li a:hover, .prices .prices-content .prices-items .prices-sidebar-mobile li a.active {
        background: var(--primary-color);
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li a.disabled-menu-link {
        opacity: 0.3;
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li a.disabled-menu-link:hover {
        cursor: default;
        background: #fff;
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li a span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        margin-right: 14px;
        background: #f4f7ff;
        filter: grayscale(1);
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li a:hover span, .prices .prices-content .prices-items .prices-sidebar-mobile li a.active span {
        filter: grayscale(0);
        background: var(--primary-color);
    }

    .prices .prices-content .prices-items .prices-sidebar-mobile li a.disabled-menu-link:hover span {
        background: #f4f7ff;
    }

    .prices .prices-content .prices-items .prices-callback-mobile {
        display: block;
        height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 16px;
        line-height: 24px;
        background: var(--primary-color);
        border-radius: 15px;
        padding: 0 25px;
        text-align: center;
        margin-top: 25px;
    }

    .prices .prices-content .prices-items .prices-callback-mobile span {
        margin-top: 10px;
    }

    .prices .prices-content .prices-items .prices-callback-mobile span a {
        color: #383838;
    }

    /*.prices .prices-content .prices-sidebar {*/
    /*    display: none;*/
    /*}*/
    .info .info-auto .info-auto-list {
        height: 1656px;
    }

    .info .info-auto .info-auto-list .info-auto-name {
        font-size: 24px;
        line-height: 46px;
        padding-left: 0px;
    }

    .info .info-auto .info-auto-list .info-auto-name span.letter {
        line-height: 46px;
        padding-left: 0px !important;
    }

    .info ul li {
        background: url(../../images/info-check.png) left 2px no-repeat;
        background-size: 20px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .footer {
        height: auto;
    }

    .footer .wrap {
        flex-wrap: wrap;
    }

    .footer .wrap .footer-logo {
        order: 1;
    }

    .footer .wrap .footer-center {
        order: 3;
        width: 96%;
        flex: none;
        margin: 40px 0;
    }

    .footer .wrap .footer-menu .footer-menu-title {
        font-size: 21px;
    }

    .footer .wrap .footer-menu ul li a {
        font-size: 23px;
    }

    .footer .wrap .footer-contacts {
        order: 2;
        padding-left: 75px;
    }

    .footer .wrap .footer-contacts .footer-contacts-title {
        font-size: 21px;
    }

    .footer .wrap .footer-contacts .footer-contacts-item {
        font-size: 21px;
    }

    #btnTop {
        bottom: 101px !important;
        right: 24px !important;
    }
}

@media all and (max-width: 1024px) {
    .variable-width {
        display: block;
        width: 737px !important;
        top: 21px !important;
        left: -103px !important;
    }

    .dropbtn {
        border: none;
        cursor: pointer;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }


    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #ffffff;
        min-width: 281px;
        box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
        z-index: 1;
        margin-top: 9px;
        padding: 10px;
        border-radius: 15px;
        right: 7px;
    }

    .dropdown-content:before {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        bottom: 100%;
        right: 107px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: rgb(255 255 255) transparent;
    }

    .dropdown-content span {
        color: black;
        padding: 5px 6px;
        text-decoration: none;
        display: block;
        font-size: 15px;
    }

    .dropdown-content a:hover {
        background-color: #ddd
    }

    .show {
        display: block;
    }

    .info .info-auto {
        padding: 21px;
    }

    .info .info-auto .info-auto-list .info-auto-name {
        font-size: 21px;
    }

}

@media all and (max-width: 925px) {
    .main-menu {
        display: none;
    }

    .dropbtn {
        border: none;
        cursor: pointer;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }


    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #ffffff;
        min-width: 281px;
        box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
        z-index: 1;
        margin-top: 9px;
        padding: 10px;
        border-radius: 15px;
        right: 7px;
    }

    .dropdown-content:before {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        bottom: 100%;
        right: 107px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: rgb(255 255 255) transparent;
    }

    .dropdown-content span {
        color: black;
        padding: 5px 6px;
        text-decoration: none;
        display: block;
        font-size: 15px;
    }

    .dropdown-content a:hover {
        background-color: #ddd
    }

    .show {
        display: block;
    }

    .header-contacts-block-phone {
        display: block;
        position: relative;
        /* width: 136px; */
        padding: 11px;
        border-radius: 15px;
        background-color: var(--primary-color);
        /*top: 0px!important;*/
    }

    .services .service {
        width: 46%;
    }

    /* .services .wrap {
         margin-right: 18px;
     }*/
    .info .info-auto .info-auto-list {
        padding: 33px;
    }

    .info .info-auto .info-auto-list .info-auto-name {
        font-size: 19px;
    }

    .series-car-list-block {
        margin: 0;
    }

    .right-top-header-banner {
        margin: 0;
    }

    .services-brand-list {
        margin: 5px -70px 39px 39px;
        height: 329px;
        width: 483px;
        display: flex;
        flex-flow: column wrap;
    }

    .prices .prices-content .prices-items {
        margin-right: 0;
    }

    .prices .block-title {
        text-align: start;
    }

    .prices-items .prices-callback-brand-page {
        margin: 0 0 40px 0 !important;
    }

    .prices .prices-content .prices-items .prices-search input {
        width: 100% !important;
    }

    .reviews {
        margin: 0 0 40px 0 !important;
    }

    .services .service .label {
        font-size: 18px;
        line-height: 24px;
        cursor: pointer;
        text-align: center;
    }

    .models-item {
        flex-direction: column;
        width: 47% !important;
        height: 158px !important;
        margin-top: 40px;
        margin-right: 30px;
    }

    .services .service:nth-child(2n) {
        margin-right: 7px;
    }

    .modif_block_info {
        margin: 0 !important;
    }

    .arrow-3 {
        margin: 0 !important;
        margin-bottom: 20px !important;
        margin-right: 7px !important;
    }

    .content {
        width: 100% !important;
        max-width: max-content !important;
        box-sizing: border-box;
    }

    .variable-width {
        display: block;
        width: 100% !important;
        top: 22px !important;
        left: 0 !important;
    }

    .header-contacts-block-logo-img {
        float: right;
        width: 116px;
        top: 35px;
        position: relative;
    }

}

@media all and (max-width: 767px) {

    .header {
        padding-top: 80px;
        padding-bottom: 30px;
    }

    .header .wrap {
        justify-content: center;
    }

    .header .header-contacts {
        margin-top: 0;
    }

    .header .header-cart {
        display: none;
    }

    .header .header-phone {
        margin: 50px auto 0;
    }

    .header-fixed {
        display: none;
    }

    .main-menu {
        display: none;
    }

    .complex {
        height: auto;
        padding: 30px;
        overflow: hidden;
    }

    .complex .complex-title {
        text-align: center;
    }

    .complex .complex-items {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .complex .complex-items .complex-item {
        margin-bottom: 20px;
        width: 100%;
        position: relative;
        left: 50%;
        transform: translate(-25%, 0);
    }

    .cars::before {
        width: calc(50% - 108px);
    }

    .cars::after {
        width: calc(50% - 123px);
    }

    .services .service {
        width: 100%;
        margin-right: 0;
    }

    .services .service:nth-child(2) {
        margin-top: 40px;
    }

    .services .service-double {
        width: 100%;
        height: 140px;
    }

    .reviews .reviews-items {
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 0 !important;
    }

    .reviews .reviews-items .reviews-item {
        margin-top: 40px;
    }

    .prices-sidebar-car-list {
        display: none;
    }

    .right-top-header-banner {
        display: block;
        border-radius: 15px;
        padding: 20px;
        -webkit-box-shadow: 0px 0px 8px 0px rgb(34 60 80 / 20%);
        -moz-box-shadow: 0px 0px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: 0px 6px 8px 0px rgb(34 60 80 / 20%);
        margin: 0;
        margin-bottom: 40px;
        background: #383838;
        color: #fff;
    }

    .prices-items .right-top-header-banner img {
        display: block;
        width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;

    }

    .right-top-big-image {
        display: block;
        margin: 0;
        margin-bottom: 40px;
    }

    .prices-items .right-top-header-banner .label-banner {
        line-height: 34px;
        font-size: 27px;
        width: 100%;
        text-align: center;
        display: block;
        margin: 0;
        padding: 0;
    }

    .reviews {
        background: #fff;
        padding-bottom: 60px;
        margin: 0 !important;
    }

    .prices-items .prices-callback-brand-page {
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 22px;
        line-height: 36px;
        background: var(--primary-color);
        border-radius: 15px;
        padding: 18px 21px;
        margin: 0px 0 47px 0px !important;
        text-align: center;
        background-size: auto;
    }

    .services-brand-content {
        display: block !important;
    }

    .prices .prices-content .prices-items .prices-search input {
        width: 100%;
        height: 50px;
        padding: 0 25px 0 65px;
        border: 1px solid var(--primary-color);
        border-radius: 15px;
        box-sizing: border-box;
        background: #fff url(../../images/search.png) 20px center no-repeat;
        margin: 0 !important;
    }

    .price-mob {
        width: 100% !important;
    }

    .services-brand-list {
        height: auto;
        width: auto;
        display: flex;
        flex-flow: column;
        flex-direction: column;
        text-align: center;
        margin: 33px 0;
    }

    .services-brand-list .item-services-brand-list {
        color: #6c5cd4;
        text-decoration: underline;
        font-size: 18px;
        font-weight: 300;
        padding: 0;
        margin: 0;
    }

    .right-services-list {
        display: block;
        /*width: 100%;*/
        position: relative;
        background: #fff;
        border: 3px solid #dce3f6;
        border-radius: 15px;
        padding: 20px;
        margin: 0 0 23px 0;
    }

    .right-services-list img {
        width: 100%;
        height: 215px;
        object-fit: cover;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    .right-services-list span {
        display: block;
        position: relative;
        text-align: center;
        line-height: 34px;
        font-size: 27px;
        padding: 0;
        font-weight: 500;
        margin-bottom: 30px;
    }

    .services-list-count {
        display: block;
        position: inherit;
        padding: 0;
        right: auto;
        /*left: 50%;*/
        /*transform: translate(-13%);*/
    }

    .services-list-count-price {
        display: block;
        width: 178px;
        text-align: center;
        margin: 20px auto -36px auto;
        padding: 14px 23px;
        transition: all 0.3s;
        background: var(--primary-color) url(images/icon-ruble.png) 4px center no-repeat;
        border-radius: 10px;
        font-weight: 400;
        cursor: pointer;
        max-width: 195px;
        font-size: 16px;
        background-size: 35px;
        margin-bottom: 10px;
    }

    .services-list-count-price-list {
        border: 2px solid #383838;
        display: block;
        /*width: 178px;*/
        text-align: center;
        margin: 20px auto -36px auto;
        padding: 14px 23px;
        border-radius: 10px;
        font-weight: 400;
        cursor: pointer;
        font-size: 16px;
        background-size: 35px;
        margin-bottom: 10px;
    }

    .services-list-count-price-list-img {
        margin: -8px 0 0 51px !important;
    }

    .reviews-rating {
        display: block;
        margin: 0;
    }

    .right-top-big-image-card {
        display: block;
        margin: 0;
    }

    /*.services-articals-card-count {*/
    /*    display: block;*/
    /*    align-items: center;*/
    /*}*/
    .right-top-big-image-card img {
        display: block;
        width: 100%;
        height: 300px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 15px;
        object-fit: cover;
    }

    .services-cars-images {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin: 0;
        margin-bottom: 20px;
    }

    .services-cars-images .services-cars-slider-item img {
        width: 162px;
        height: 177px;
        object-fit: cover;
        border-radius: 15px;
        padding: 7px;
    }

    .reviews .reviews-items .reviews-item .reviews-item-image {
        width: 130px;
        height: 130px;
        background: #f3f6ff;
        border-radius: 15px;
        margin-bottom: 23px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .reviews .reviews-items .reviews-item {
        width: 120px;
        flex: none;
    }

    .model-banner-head {
        display: flex;
        margin-bottom: -10px;
        padding: 34px 0;
        flex-flow: wrap;
    }

    .model-banner-head .right-top-header-model img {
        width: 86%;
        margin-bottom: 40px;
        float: initial;
        order: 0;
    }

    .model-banner-head .left-two-el {
        width: 92%;
        order: 1;
    }

    .complex-tags-models .complex-tag-item {
        margin: 10px;
        width: 100%;
    }

    .complex-tags-models .complex-tag-item:last-child {
        margin-right: 9px;
    }

    .models-list-items {
        margin-top: 40px;
    }

    .complex-tags-all img {
        margin: -8px 0 0 20px !important;
    }

    .arrow-3 {
        /* flex-basis: calc((100% - 30px) / 2); */
        width: 86% !important;
        color: #383838;
        cursor: pointer;
        text-decoration: none;
        font-size: 18px;
        /* height: 18px; */
        /* line-height: 18px; */
        display: inline-block;
        margin: 20px;
        border: 2px solid #dce3f6;
        padding: 19px;
        border-radius: 10px 15px 15px 10px;
    }

    .dropbtn {
        border: none;
        cursor: pointer;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }


    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #ffffff;
        min-width: 281px;
        box-shadow: 0px 8px 16px 0px rgb(0 0 0 / 20%);
        z-index: 1;
        margin-top: 9px;
        padding: 10px;
        border-radius: 15px;
        right: 7px;
    }

    .dropdown-content:before {
        content: "";
        width: 0;
        height: 0;
        position: absolute;
        bottom: 100%;
        right: 107px;
        border-width: 0 8px 8px 8px;
        border-style: solid;
        border-color: rgb(255 255 255) transparent;
    }

    .dropdown-content span {
        color: black;
        padding: 5px 6px;
        text-decoration: none;
        display: block;
        font-size: 15px;
    }

    .dropdown-content a:hover {
        background-color: #ddd
    }

    .show {
        display: block;
    }

    .left-top-header-banner-info {
        line-height: 1.5;
    }

    .header-top-banner-models {
        background: -webkit-linear-gradient(135deg, rgb(255, 255, 255) 70%, var(--primary-color) 70%);
        background: -moz-linear-gradient(135deg, rgb(255, 255, 255) 70%, var(--primary-color) 70%);
        background: linear-gradient(134deg, rgb(255, 255, 255) 74%, var(--primary-color) 70%);
    }

    .models-item {
        width: 100% !important;
        height: 155px !important;
    }

    .series-car-list-block {
        margin: 0 !important;
        margin-bottom: 40px !important;
    }

    .series-car-list-block-item {
        box-sizing: border-box;
        flex-basis: calc((100% - 10px) / 2) !important;
        padding: 0 0 8px 0;
    }

    /*.breadcrumb-item {*/
    /*    color: #5c5c5c;*/
    /*    font-size: 11px;*/
    /*    font-weight: 400;*/
    /*    letter-spacing: 1px;*/
    /*    padding-left: 0;*/
    /*    margin: 0;*/
    /*    align-items: center;*/
    /*    display: flex;*/
    /*}*/
    blockquote:after {
        top: 52%;
    }

    .prices .prices-content .prices-items {
        margin-right: 0;
    }
}

@media all and (max-width: 667px) {

    .variable-width {
        top: -18px !important;
    }


    /*     .complex .complex-items {
           flex-wrap: nowrap;
       }

       .complex .complex-items .complex-item {
           left: 11%;
       }

       .complex .complex-items .complex-item {
           margin-right: 0;

       }*/
    .cars {
        display: none;
    }

    .services-cars-images .services-cars-slider-item:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: calc(15% + 100px);
        width: 43px;
        height: 42px;
        background: #383838 url(../../images/zoom.png) center no-repeat;
        border-radius: 0 0 10px 0;
        cursor: pointer;
        top: 142px;
        background-size: 22px;
    }

    .info .info-auto .info-auto-list .info-auto-name {
        font-size: 14px;
    }
}

@media all and (max-width: 479px) {

    .complex .complex-title {
        font-size: 32px;
        display: block;
        width: 100%;
        margin-top: 0px;
    }

    .complex .complex-items .complex-item {
        transform: translate(-50%, 0);
    }

    .complex-tags {
        justify-content: center;
    }

    .cars {
        display: none;
    }

    .services {
        margin-top: 40px;
    }

    .services .service-double {
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }

    .services .service-double img {
        margin: 15px 0;
    }

    .services .service-double span {
        padding: 0 15px 15px 15px;
        text-align: center;
    }

    .models-mobile-list {
        width: 100% !important;
    }

    .prices .prices-content .prices-items .prices-table .prices-table-header {
        height: auto;
        line-height: 30px;
        padding: 20px;
    }

    .prices .prices-content .prices-items .prices-table .prices-table-items .prices-table-item {
        padding: 10px 20px;
        flex-wrap: wrap;
        height: auto !important;
        line-height: 1.2;
    }

    .prices .prices-content .prices-items .prices-table .prices-table-items .prices-table-item .prices-table-item-price {
        white-space: nowrap;
        width: 100%;
        border-top: 1px dashed #000;
        margin-top: 10px;
        line-height: 45px;
        text-align: right;
    }

    .prices .prices-content .prices-items .prices-callback-mobile {
        font-size: 15px;
        height: 130px;
        padding: 0 15px;
    }

    h2 {
        margin: 0 0 41px 0 !important;
        width: 100% !important;
    }

    .info .info-auto .info-auto-list {
        height: auto;
        align-items: center;
        padding-left: 0;
    }

    .footer {
        padding-top: 30px;
    }

    .footer .wrap .footer-logo {
        flex: none;
        width: 100%;
    }

    .footer .wrap .footer-contacts {
        flex: none;
        width: 100%;
        margin-top: 25px;
        padding-left: 0;
    }

    .footer .wrap .footer-center {
        flex-wrap: wrap;
    }

    .footer .wrap .footer-menu .footer-menu-title {
        text-align: center;
    }

    .footer .wrap .footer-menu:nth-child(2) {
        margin-top: 40px;
    }

    .footer .wrap .footer-menu ul li {
        text-align: center;
    }

    .services-cars-images .services-cars-slider-item:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: calc(30% + 84px);
        width: 32px;
        height: 30px;
        background: #383838 url(../../images/zoom.png) center no-repeat;
        border-radius: 0 0 6px 0;
        cursor: pointer;
        top: 154px;
        background-size: 18px;
    }

    .info .info-auto .info-auto-list .info-auto-name {
        font-size: 24px;
    }

    .footer-menu-mobile {
        display: block;
        z-index: 99;
        background-color: #fafafa;
        position: fixed;
        left: 0;
        bottom: 0;
        height: 80px;
        padding-left: 26px;
        color: #f3f2ff;
        /*width: 100%;
        border-top: 2px solid #e6e4f7;*/
        box-shadow: -1px -2px 8px 0 rgb(34 60 80 / 20%);
    }

    .variable-width {
        display: block;
        width: 353px !important;
        top: -16px !important;
        left: -21px !important;
    }

    .header-mobile-block {
        padding-bottom: 99px;
    }

}

@media all and (max-width: 320px) {

    .variable-width {
        display: block;
        width: 298px !important;
        top: -14px !important;
        left: -30px !important;
    }

    .header-contacts-col {
        font-size: 14px;
    }

    .complex .complex-title {
        font-size: 28px;
    }

    .services-cars-images .services-cars-slider-item img {
        width: 133px;
        height: 170px;
    }

    .services-cars-images .services-cars-slider-item:after {
        left: calc(22% + 76px);
        top: 148px;
    }
}

html {
    overflow-y: scroll;
!important;
}

h1 {
    font-size: 40px;
    font-weight: 500;
    line-height: 47px;
}

.wrap {
    width: 90%;
    transition: width 0.5s;
}

.text-h1 {
    font-size: 40px;
    font-weight: 500;
}

.text-h2 {
    font-size: 35px;
    font-weight: 500;
}

.text-h3 {
    font-size: 25px;
    font-weight: 500;
}

.text-h4 {
    font-size: 19px;
    font-weight: 500;
}

.list-unstyled {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.logo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
}

.logo .logo__img {
    display: flex;
    align-items: center;
}

.logo .logo__img img {
    height: 100px;
}

.logo .logo__tagline {
    display: flex;
    align-items: center;
    width: max-content;
    text-align: center;
    font-weight: 900;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    margin-right: 40px;
}

.logo .logo__tagline a {
    display: flex;
    letter-spacing: 2px;
    text-decoration: underline;
    color: #383838 !important;
    align-items: center;
}

.logo .logo__tagline a img {
    height: 24px;
    width: 24px;
    margin-right: 10px;
}

/*<editor-fold desc="Main banner">*/
.main-banner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 303px;
    background: #383838;
    border-radius: 15px;
    position: relative;
    color: white;
    padding: 0 25px 0 25px;
}

.main-banner .main-banner__content {
    height: 100%;
    width: 660px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.main-banner .main-banner__content .main-banner__title {
    height: 145px;
}

.main-banner .main-banner__content .main-banner__title h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 400;
}

.main-banner .main-banner__image {
    /*display: none;*/
    position: absolute;
    right: 0;
    width: 300px;
    height: 300px;
    /*background: url(../../images/complex.png) center no-repeat;*/
    background-size: cover;
}

.main-banner .main-banner__content .main-banner__items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.main-banner .main-banner__content .main-banner__item {
    margin-right: 40px;
    padding-left: 55px;
    background: url(images/complex-item.png) left center no-repeat;
    height: 43px;
    background-size: 43px;
}

/*</editor-fold>*/

/*<editor-fold desc="Brands alphabet">*/
.brands-alphabet {
    margin: 0;
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    list-style-type: none;
    border: 1px solid #383838;
    border-radius: 15px;
    padding: 40px 15px 40px 15px;
    box-shadow: 0px 0px 10px 0 #a5a5a54d;
}

.brands-alphabet .brands-alphabet__item {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.brands-alphabet .brands-alphabet__item .brands-alphabet__letter {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    width: 25px;
}

.brands-alphabet .brands-alphabet__item .brands-alphabet__link {
    color: #383838;
}

/*</editor-fold>*/

/*<editor-fold desc="Live photo">*/
.live-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    align-items: stretch;
}

.live-image-grid .live-image-grid__item {
    width: auto;
    height: 100%;
    border-radius: 15px;
    background-color: #383838;
}

.live-image-grid .live-image-grid__item .live-image-grid__eye {
    content: '';
    display: block;
    position: relative;
    margin-left: auto;
    bottom: 64px;
    width: 60px;
    height: 60px;
    background: #383838 url(../../images/zoom.png) center no-repeat;
    background-size: 35px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.live-image-grid .live-image-grid__item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/*</editor-fold>*/

/*<editor-fold desc="Gallery of photos on the main page">*/
.home-page-photo-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 20px;
    align-items: stretch;
}

.home-page-photo-gallery .home-page-photo-gallery__item {
    width: auto;
    height: 100%;
    border-radius: 15px;
    background-color: #383838;
}

.home-page-photo-gallery .home-page-photo-gallery__item .home-page-photo-gallery__eye {
    content: '';
    display: block;
    position: relative;
    margin-left: auto;
    bottom: 64px;
    width: 60px;
    height: 60px;
    background: #a2ca06 url(../../images/zoom.png) center no-repeat;
    background-size: 35px;
    border-bottom-right-radius: 15px;
    border-top-left-radius: 15px;
}

.home-page-photo-gallery .home-page-photo-gallery__item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

/*</editor-fold>*/

/*<editor-fold desc="Model list">*/
.model-list {
    padding: 0;
    margin: 0;
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
    list-style-type: none;
}

.model-list .model-list__item {
    display: flex;
    flex-direction: row;
    padding: 15px 10px 15px 10px;
    white-space: nowrap;
}

.model-list .model-list__item .model-list__letter {
    position: relative;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    width: 25px;
}

/*</editor-fold>*/


.car-bodies *,
.car-bodies *::before,
.car-bodies *::after {
    box-sizing: border-box;
}
.car-bodies {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    grid-gap: 20px;
    align-items: stretch;
}

.car-bodies .car-bodies__card {
    display: flex;
    height: 195px;
    width: 100%;
    flex-direction: column;
    border-radius: 15px;
    -webkit-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    background-color: white;
    overflow: hidden;
}

.car-bodies .car-bodies__card .car-bodies__box {
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5px 0 5px 0;
}

.car-bodies .car-bodies__card .car-bodies__box > img {
    position: relative;
    height: 100%;
    width: auto;
    right: -36px;
    margin-left: auto;
}

.car-bodies .car-bodies__card .car-bodies__title {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px 5px 5px 5px;
}

/*<editor-fold desc="Car bodies 2">*/
.car-bodies-2 *,
.car-bodies-2 *::before,
.car-bodies-2 *::after {
    box-sizing: border-box;
}
.car-bodies-2 {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    grid-gap: 20px;
    align-items: stretch;
}

.car-bodies-2 .car-bodies-2__card {
    display: flex;
    height: 195px;
    width: 100%;
    flex-direction: column;
    border-radius: 15px;
    -webkit-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    background-color: white;
    overflow: hidden;
}

.car-bodies-2 .car-bodies-2__card .car-bodies-2__box {
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 5px 0 5px 0;
}

.car-bodies-2 .car-bodies-2__card .car-bodies-2__box > img {
    position: relative;
    height: 100%;
    width: auto;
    right: -36px;
    margin-left: auto;
}

.car-bodies-2 .car-bodies-2__card .car-bodies-2__title {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px 5px 5px 5px;
}
/*</editor-fold>*/

/*<editor-fold desc="Menu list items">*/
.menu-list {
}

.menu-list .menu-list__items {
    border-radius: 15px;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
    -webkit-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
    box-shadow: 0 0 8px 0 rgba(34, 60, 80, 0.2);
}

.menu-list .menu-list__items .menu-list__item {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-left: 7px solid var(--primary-color);
    border-bottom: 3px solid #dbdfe8;
    background: #fff;
    height: 40px;
    padding: 0 10px 0 10px;
}

.menu-list .menu-list__items .menu-list__item:hover {
    background: var(--primary-color);
}


/*</editor-fold>*/

.right-top-big-image {
    display: block;
    padding: 35px;
    border-radius: 15px;
    overflow: hidden;
}

/* reviews */
.customer-reviews {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 15px;
}

.customer-reviews .customer-reviews__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    width: auto;
    justify-content: space-between;
}

.customer-reviews .customer-reviews__item .customer-reviews__image {
    width: 170px;
    height: 170px;
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-reviews .customer-reviews__item .customer-reviews__rating {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.customer-reviews .customer-reviews__item .customer-reviews__rating > img {
    margin-right: 10px;
}

.customer-reviews .customer-reviews__item .customer-reviews__rating > span {
    font-size: 30px;
    line-height: 35px;
    font-weight: 500;
}

/*.services-provided *,*/
/*.services-provided *::before,*/
/*.services-provided *::after {*/
/*    box-sizing: border-box;*/
/*}*/
.services-provided {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 15px;
    grid-template-areas:
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    "contacts contacts";
}

.services-provided .services-provided__item {
    background-color: white;
    display: flex;
    padding: 20px 0;
    border-radius: 15px;
    flex-direction: row;
    align-items: center;
}

.services-provided .services-provided__item img {
    margin: 0 13px 0 10px;
    max-width: 57px;
}

.prices-sidebar__container {
    position: sticky;
    top: 0;
}


.complex {
    padding: 0 645px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 303px;
    background: #383838;
    margin-top: 25px;
    border-radius: 15px;
    box-sizing: border-box;
    position: relative;
}

.header {
    padding-top: 30px;
    padding-bottom: 70px;
}

.header .header-logo .header-logo-text {
    margin: 0 41px 0 41px;
    font-size: 16px;
}

.header-logo-image img {
    width: 175px;
}

.prices .prices-content .prices-sidebar {
    width: 100%;
}

.grid-models {
    display: grid;
    grid-template-columns: repeat(5, minmax(100px, 1fr));
    grid-gap: 10px;
    align-items: stretch;
    grid-auto-flow: row dense;
}

.grid-models > div {
    /*border: 1px solid #ccc;*/
    /*box-shadow: 2px 2px 6px 0px  rgba(0,0,0,0.3);*/
    max-width: 100%;
    object-fit: cover;
}

/*<editor-fold desc="Model cards">*/
.model-cards *,
.model-cards *::before,
.model-cards *::after {
    box-sizing: border-box;
}

.model-cards {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.model-cards .model-cards__item {
    display: flex;
    padding: 1rem;
    height: 250px;
    width: 100%;
}

@media (min-width: 40rem) {
    .model-cards .model-cards__item {
        width: 50%;
    }
}

@media (min-width: 56rem) {
    .model-cards .model-cards__item {
        width: 33.3333%;
    }
}

.model-cards .model-cards__item .model-cards__box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between;
    width: 100%;
}

.model-cards .model-cards__item .model-cards__content {
    line-height: 23px;
    padding: 7px 0 7px 0;
    text-align: center;
}

.model-cards .model-cards__item .model-cards__image {
    height: 100%;
    padding: 0 0 0 0;
}

.model-cards .model-cards__item .model-cards__image img {
    height: auto;
    width: 300px;
    margin-left: 110px;
}

.model-cards .model-cards__item .model-cards__title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0;
}

.model-cards .model-cards__item .model-cards_card__text {
    color: #ffffff;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-weight: 400;
}
/*</editor-fold>*/

/*<editor-fold desc="Карточки">*/
.cards *,
.cards *::before,
.cards *::after {
    box-sizing: border-box;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(100px, 1fr));
    grid-gap: 45px;
    align-items: stretch;
}

.cards .cards__card {
    display: flex;
    min-height: 190px;
    width: 100%;
    flex-direction: column;
    border-radius: 8px;
    border: #00000024 1px solid;
    background-color: white;
    overflow: hidden;
}

.cards .cards__card .cards__head {
    width: 100%;
    height: 10px;
    background-color: var(--primary-color);
}

.cards .cards__card .cards__body {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 1.25rem;
    color: #4b4b4d;
    font-size: 23px;
}
/*</editor-fold>*/

/*<editor-fold desc="Карточки контактов в шапке">*/
.contacts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-gap: 15px;
    align-items: stretch;
    width: 100%;
    justify-items: end;
}

.contacts .contacts__item {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    height: 255px;
    width: 100%;
    max-width: 300px;
    -webkit-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    background-color: white;
    overflow: hidden;
}

.contacts .contacts__item .contacts__footer {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 15px 0;
}

.contacts .contacts__item .contacts__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    padding: 25px 10px;
    height: 100%;
    text-align: center;
}

.contacts .contacts__item .contacts__body .contacts_address {
    margin-bottom: 0.5rem!important;
    line-height: 20px;
}

.contacts .contacts__item .contacts__body .contacts__worktime {
    margin-top: auto;
    line-height: 20px;
}
/*</editor-fold>*/

/*<editor-fold desc="Карточки контактов для двух контактов">*/
.contacts2 {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 15px;
    width: 100%;
}

.contacts2 .contacts2__item {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    height: 185px;
    width: 100%;
    max-width: 420px;
    -webkit-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    background-color: white;
    overflow: hidden;
}

.contacts2 .contacts2__item .contacts2__footer {
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: column;
    padding: 15px 0;
}

.contacts2 .contacts2__item .contacts2__footer svg {
    fill: #3c3c3c;
    height: 30px;
    width: 30px;
}

.contacts2 .contacts2__item .contacts2__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    padding: 25px 10px;
    height: 100%;
}

.contacts2 .contacts2__item .contacts2__body .contacts2__address {
    text-align: center;
}

.contacts2 .contacts2__item .contacts2__body .contacts2__worktime {
    margin-top: auto;
    text-align: center;
}
/*</editor-fold>*/

.footnote-contact {
    display: flex;
    align-items: center;
    height: max-content;
    font-size: 22px;
    line-height: 36px;
    background: var(--primary-color);
    border-radius: 15px;
    padding: 30px 70px;
    text-align: center;
}

.footnote-contact .footnote-contact__text-link {
    font-weight: 400;
    text-decoration: underline;
}

.footnote-contact .footnote-contact__phone-number-link {
    font-size: 26px;
    font-weight: 600;
}

.modification-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    grid-gap: 20px;
    align-items: stretch;
}

.modification-cards .modification-cards__card {
    display: flex;
    color: #000000;
    cursor: pointer;
    text-decoration: none;
    font-size: 18px;
    border: 2px solid #dce3f6;
    padding: 19px;
    border-radius: 10px 15px 15px 10px;
    min-height: 60px;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.modification-cards .modification-cards__card svg {
    stroke: var(--primary-color);
    height: 36px;
    width: 36px;
}

.modification-cards .modification-cards__card .modification-cards__icon {}

/* XS devices (landscape phones, 576px and 575px)*/
@media (max-width: 575.98px) {
    h1 {
        font-size: 28px;
        font-weight: 500;
        line-height: 34px;
    }

    .text-h2 {
        font-size: 25px;
        font-weight: 500;
    }

    .wrap {
        width: 92%
    }

    .header .header-contacts {
        font-size: 14px;
        text-align: center;
    }

    .header .header-logo {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 85px;
    }

    .header .header-logo .header-logo-text {
        text-align: center;
    }

    .main-menu {
        display: none;
    }

    .prices-container {
        padding-top: 40px;
    }

    .prices .prices-content .prices-sidebar {
        width: 100%;
    }

    .services-articals-card-count {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .grid-models {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .main-banner {
        height: 400px;
        padding: 0 10px 0 10px;
    }

    .main-banner .main-banner__content {
        width: 100%;
        justify-content: space-around;
    }

    .main-banner .main-banner__content .main-banner__title {
        height: 100px;
    }

    .main-banner .main-banner__content .main-banner__title h1 {
        font-size: 26px;
        text-align: center;
    }

    .main-banner .main-banner__content .main-banner__items {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 10px;
        margin: 0 auto 0 auto;
    }

    .main-banner .main-banner__content .main-banner__item {
        margin-right: 0;
        padding-left: 55px;
        background-size: 38px;
    }

    .main-banner .main-banner__image {
        display: none;
    }

    .home-page-photo-gallery {
        grid-gap: 10px;
    }

    .home-page-photo-gallery .home-page-photo-gallery__item {
        height: 150px;
    }

    .home-page-photo-gallery .home-page-photo-gallery__item .home-page-photo-gallery__eye {
        bottom: 39px !important;
        width: 35px !important;;
        height: 35px !important;;
        background-size: 19px !important;;
    }

    .brands-alphabet {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .model-list {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }

    .model-cards .model-cards__item .model-cards__image {
        background-position-x: 100px;
    }

    .prices .prices-content {
        display: flex;
        flex-wrap: wrap;
    }

    .live-image-grid {
        grid-gap: 10px;
    }

    .live-image-grid .live-image-grid__item {
        height: 127px !important;
    }

    .live-image-grid .live-image-grid__item .live-image-grid__eye {
        bottom: 44px;
        width: 40px;
        height: 40px;
        background-size: 28px;
        border-bottom-right-radius: 15px;
        border-top-left-radius: 15px;
    }

    .services-provided {
        display: flex;
        gap: 15px;
        flex-direction: column;
    }

    .customer-reviews {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
    }

    .customer-reviews .customer-reviews__item {
        margin-bottom: 15px;
    }

    .customer-reviews .customer-reviews__item .customer-reviews__image {
        width: 115px;
        height: 115px;
    }

    .prices .prices-content .prices-items .prices-table .prices-table-header {
        font-size: 20px;
    }

    .right-top-big-image {
        padding: 0;
        border-radius: 0;
    }

    .right-top-big-image img {
        width: 120%;
        margin-left: 6%;
    }

    .car-bodies {
        grid-template-columns: repeat(1, minmax(100px, 1fr));
    }

    .car-bodies .car-bodies__card .car-bodies__box > img {
        right: -58px;
    }

    .car-bodies-2 {
        grid-template-columns: 1fr !important;
    }

    .car-bodies-2 .car-bodies-2__card .car-bodies-2__box > img {
        right: -50px;
    }

    .cards {
        grid-template-columns: 1fr;
        grid-gap: 15px;
    }

    /*<editor-fold desc="Карточки контактов в шапке для мобилки">*/
    .contacts {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .contacts .contacts__item {
        display: flex;
        flex-direction: row-reverse;
        min-height: 62px;
        max-width: 100%;
        height: auto;
        width: 100%;
        border: 2px var(--primary-color) solid;
        border-radius: 16px;
        overflow: hidden;
    }

    .contacts .contacts__item .contacts__footer {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        background-color: var(--primary-color);
    }

    .contacts .contacts__item .contacts__footer svg {
        fill: #3c3c3c;
        height: 30px;
        width: 30px;
    }

    .contacts .contacts__item .contacts__body {
        display: flex;
        justify-items: center;
        width: 100%;
        height: auto;
        background-color: white;
        padding: 0px 15px;
        text-align: left;
        justify-content: center;
        align-items: flex-start;
    }

    .contacts .contacts__item .contacts__body .contacts__address {
        height: auto;
    }

    .contacts .contacts__item .contacts__body br:nth-child(1) {
        display: none;
    }

    .contacts .contacts__item .contacts__body .contacts__worktime {
        display: none;
    }
    /*</editor-fold>*/

    /*<editor-fold desc="Карточки контактов для двух контактов для мобилки">*/
    .contacts2 {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .contacts2 .contacts2__item {
        display: flex;
        flex-direction: row-reverse;
        min-height: 62px;
        max-width: 100%;
        height: auto;
        width: 100%;
        border: 2px var(--primary-color) solid;
        border-radius: 16px;
        overflow: hidden;
    }

    .contacts2 .contacts2__item .contacts2__footer {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        background-color: var(--primary-color);
    }

    .contacts2 .contacts2__item .contacts2__body {
        display: flex;
        justify-items: center;
        width: 100%;
        height: auto;
        background-color: white;
        padding: 0px 15px;
        text-align: left;
        justify-content: center;
        align-items: flex-start;
    }

    .contacts2 .contacts2__item .contacts2__body .contacts2__address {
        height: auto;
        text-align: left;
    }

    .contacts2 .contacts2__item .contacts2__body br:nth-child(1) {
        display: none;
    }

    .contacts2 .contacts2__item .contacts2__body .contacts2__worktime {
        display: none;
    }
    /*</editor-fold>*/

    .footnote-contact {
        display: flex;
        align-items: center;
        height: max-content;
        font-size: 19px;
        line-height: 31px;
        background: var(--primary-color);
        border-radius: 15px;
        padding: 30px 15px;
        text-align: center;
    }

    .modification-cards {
        grid-template-columns: 1fr;
    }
}

/* SM devices (landscape phones, 576px and 767px)*/
@media (min-width: 576px) and (max-width: 767.98px) {

    .wrap {
        width: 95%
    }

    .header .header-phone {
        width: 234px;
        font-size: 19px;
    }

    .main-menu {
        display: none;
    }

    .prices-container {
        padding-top: 40px;
    }

    .prices .prices-content .prices-sidebar {
        width: 100%;
    }

    .services-articals-card-count {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .grid-models {
        grid-template-columns: repeat(3, minmax(100px, 1fr));
    }

    .main-banner .main-banner__content {
        width: 100%;
    }

    .main-banner .main-banner__content .main-banner__title {
        height: 100px;
    }

    .main-banner .main-banner__content .main-banner__title h1 {
        font-size: 30px;
    }

    .main-banner .main-banner__content .main-banner__items {
        justify-content: space-evenly;
    }

    .main-banner .main-banner__content .main-banner__item {
        margin-right: 15px;
    }

    .main-banner .main-banner__image {
        display: none;
    }

    .home-page-photo-gallery {
        grid-gap: 15px;
    }

    .home-page-photo-gallery .home-page-photo-gallery__item {
        height: 298px;
    }

    .brands-alphabet {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .model-list {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }

    .live-image-grid .live-image-grid__item {
        height: 270px;
    }

    .prices .prices-content {
        display: flex;
        flex-wrap: wrap;
    }

    .services-provided {
        display: flex;
        gap: 15px;
        flex-direction: column;
    }

    .customer-reviews .customer-reviews__item .customer-reviews__image {
        width: 120px;
        height: 120px;
    }

    .customer-reviews .customer-reviews__item .customer-reviews__rating > span {
        font-size: 23px;
    }

    .car-bodies {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .car-bodies .car-bodies__card .car-bodies__box > img {
        right: -50px;
    }

    .car-bodies-2 {
        grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
    }

    .car-bodies-2 .car-bodies-2__card .car-bodies-2__box > img {
        right: -50px;
    }

    .cards {
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }

    /*<editor-fold desc="Карточки контактов в шапке для мобилки">*/
    .contacts {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .contacts .contacts__item {
        display: flex;
        flex-direction: row-reverse;
        min-height: 62px;
        max-width: 100%;
        height: auto;
        width: 100%;
        border: 2px var(--primary-color) solid;
        border-radius: 16px;
        overflow: hidden;
    }

    .contacts .contacts__item .contacts__footer {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        background-color: var(--primary-color);
    }

    .contacts .contacts__item .contacts__footer svg {
        fill: #3c3c3c;
        height: 30px;
        width: 30px;
    }

    .contacts .contacts__item .contacts__body {
        display: flex;
        justify-items: center;
        width: 100%;
        height: auto;
        background-color: white;
        padding: 0px 15px;
        text-align: left;
        justify-content: center;
        align-items: flex-start;
    }

    .contacts .contacts__item .contacts__body .contacts__address {
        height: auto;
    }

    .contacts .contacts__item .contacts__body br:nth-child(1) {
        display: none;
    }

    .contacts .contacts__item .contacts__body .contacts__worktime {
        display: none;
    }
    /*</editor-fold>*/

    .contacts2 .contacts2__item {
        height: 230px;
    }
}

/* MD devices (tablets, 768px and 991px)*/
@media (min-width: 768px) and (max-width: 991.98px) {

    .wrap {
        width: 95%;
    }

    .header {
        height: auto;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .header .wrap {
        display: flex;
        flex-wrap: wrap;
        height: auto;
        justify-content: center;
        align-items: center;
    }

    .header .header-phone {
        width: 232px;
        font-size: 19px;
    }

    .main-menu {
        display: none;
    }

    .services-list-count {
        left: 143px;
    }

    .services-list-count > a {
        margin-bottom: 45px;
        margin-right: 15px;
    }

    .prices .prices-content {
        display: flex;
        flex-wrap: wrap;
    }

    .services-articals-card-count {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .grid-models {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }

    .main-banner .main-banner__content {
        width: 100%;
    }

    .main-banner .main-banner__content .main-banner__title {
        height: 100px;
    }

    .main-banner .main-banner__content .main-banner__title h1 {
        font-size: 33px;
    }

    .main-banner .main-banner__content .main-banner__items {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-around;
    }

    .main-banner .main-banner__image {
        display: none;
    }

    .home-page-photo-gallery {
        grid-gap: 20px;
    }

    .home-page-photo-gallery .home-page-photo-gallery__item {
        height: 380px;
    }

    .brands-alphabet {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }

    .model-list {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }

    .live-image-grid .live-image-grid__item {
        height: 380px !important;
    }

    .services-provided {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        gap: 15px;
        grid-template-areas:
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    ". ."
    "contacts contacts";
    }

    .services-provided .services-provided--merge {
        grid-area: contacts;
    }

    .right-top-big-image {
        -webkit-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    }

    .car-bodies {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .car-bodies .car-bodies__card .car-bodies__box > img {
        right: -55px !important;
    }

    .car-bodies-2 {
        grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
    }

    .car-bodies-2 .car-bodies-2__card .car-bodies-2__box > img {
        right: -50px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
        grid-gap: 35px;
    }

    .contacts {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }

    .contacts .contacts__item {
        height: 220px;
    }

    .contacts2 {
        justify-content: center;
    }

    .contacts2 .contacts2__item {
        height: 225px;
    }

    .logo-flex-wrap--unset {
        flex-wrap: unset!important;
    }
}

/* LG devices (desktops, 992px and 1199px)*/
@media (min-width: 992px) and (max-width: 1199.98px) {

    .wrap {
        width: 945px;
    }

    .right-services-list img {
        width: 198px;
        height: 191px;
    }

    .prices .prices-content .prices-sidebar {
        width: 350px;
    }

    .services-list-count {
        left: 85px;
    }

    .services-list-count > a {
        margin-bottom: 25px;
        margin-right: 15px;
    }

    .header .header-phone {
        font-size: 18px;
        width: 100%;
        max-width: 215px
    }

    .header-logo-image img {
        width: 155px;
    }

    .main-banner .main-banner__content {
        width: 550px;
    }

    .main-banner .main-banner__content .main-banner__item {
        margin-right: 20px;
    }

    .main-banner .main-banner__content .main-banner__title h1 {
        font-size: 33px;
    }

    .main-banner .main-banner__image {
        right: 0;
        bottom: 3px;
        width: 366px;
        height: 301px;
    }

    .brands-alphabet {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }

    .home-page-photo-gallery {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .home-page-photo-gallery .home-page-photo-gallery__item {
        height: 218px;
    }

    .model-list {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }

    .live-image-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
    }

    .live-image-grid .live-image-grid__item {
        height: 155px !important;
    }

    .services-provided {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 15px;
        grid-template-areas:
            ". . ."
            ". . ."
            ". . ."
            ". . ."
            ". . .";
    }

    .customer-reviews .customer-reviews__item .customer-reviews__image {
        width: 135px;
        height: 135px;
    }

    .customer-reviews {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .reviews .reviews-items .reviews-item .reviews-item-image {
        width: 130px;
        height: 130px;
    }

    .right-top-big-image {
        -webkit-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    }

    .car-bodies {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .car-bodies-2 {
        grid-template-columns: repeat(2, minmax(100px, 1fr)) !important;
    }

    .car-bodies-2 .car-bodies-2__card .car-bodies-2__box > img {
        right: -50px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
        grid-gap: 45px;
    }

    .contacts {
        display: flex;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        width: 100%;
    }

    .contacts2 {
        justify-content: center;
    }

    .logo-flex-wrap--unset {
        flex-wrap: unset!important;
    }
}

/* XL devices (large desktops, 1200px and 1399px)*/
@media (min-width: 1200px ) and (max-width: 1399.98px) {

    .wrap {
        width: 1150px;
    }

    .header .header-logo {
        margin-right: 20px;
    }

    .prices .prices-content .prices-sidebar {
        width: 350px;
    }

    .services-list-count {
        left: 140px;
    }

    .services-list-count > a {
        margin-bottom: 55px;
        margin-right: 15px;
    }

    .main-banner .main-banner__image {
        width: 470px;
        height: 383px;
    }

    .brands-alphabet {
        columns: 4;
        -webkit-columns: 4;
        -moz-columns: 4;
    }

    .home-page-photo-gallery {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .home-page-photo-gallery .home-page-photo-gallery__item {
        height: 272px;
    }

    .live-image-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
    }

    .live-image-grid .live-image-grid__item {
        height: 220px !important;
    }

    .model-list {
        columns: 4;
        -webkit-columns: 4;
        -moz-columns: 4;
    }

    .services-provided {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
        gap: 25px;
        grid-template-areas:
            ". . ."
            ". . ."
            ". . ."
            ". . ."
            ". . .";
    }

    .customer-reviews {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .right-top-big-image {
        -webkit-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    }

    .car-bodies {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .car-bodies .car-bodies__card .car-bodies__box > img {
        right: -55px !important;
    }

    .car-bodies-2 .car-bodies-2__card .car-bodies-2__box > img {
        right: -50px !important;
    }

    .contacts {
        justify-items: center;
    }

    .contacts2 {
        justify-content: center;
    }

    .logo-flex-wrap--unset {
        flex-wrap: unset!important;
    }
}

/* XXL devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
    .wrap {
        width: 1350px;
    }

    .header .header-logo {
        margin-right: 20px;
    }

    .right-services-list img {
        width: 324px;
    }

    .right-services-list span {
        font-size: 27px;
    }

    .prices .prices-content .prices-sidebar {
        width: 350px;
    }

    .service-list-rating-items {
        gap: 100px;
    }

    .services-list-count {
        left: 210px;
    }

    .services-list-count > a {
        margin-bottom: 70px;
        margin-right: 15px;
    }

    .grid-models {
        grid-template-columns: repeat(6, minmax(100px, 1fr));
    }

    .main-banner {
        height: 354px;
    }

    .main-banner .main-banner__image {
        right: 0;
        width: 510px;
        height: 403px;
    }

    .main-banner .main-banner__content .main-banner__item {
        margin-right: 20px;
    }

    .brands-alphabet {
        columns: 5;
        -webkit-columns: 5;
        -moz-columns: 5;
    }

    .home-page-photo-gallery {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .home-page-photo-gallery .home-page-photo-gallery__item {
        height: 322px;
    }

    .live-image-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
    }

    .live-image-grid .live-image-grid__item {
        height: 290px !important;
    }

    .model-list {
        columns: 4;
        -webkit-columns: 4;
        -moz-columns: 4;
    }

    .services-provided {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        gap: 30px;
        grid-template-areas:
            ". . . ."
            ". . . ."
            ". . . ."
            ". . contacts contacts";
        align-items: stretch;
    }

    .services-provided .services-provided--merge {
        grid-area: contacts;
    }

    .customer-reviews {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .right-top-big-image {
        -webkit-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        -moz-box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
        box-shadow: -3px 1px 8px 0px rgba(34, 60, 80, 0.2);
    }

    .car-bodies {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }

    .car-bodies .car-bodies__card .car-bodies__box > img {
        right: -55px !important;
    }

    .car-bodies-2 {
        grid-template-columns: repeat(4, minmax(100px, 1fr));
    }

    .car-bodies-2 .car-bodies-2__card .car-bodies-2__box > img {
        right: -50px !important;
    }

    .logo-flex-wrap--unset {
        flex-wrap: unset!important;
    }
}
