@media screen and (max-width: 500px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    h3 {
        font-size: 18px;
        line-height: 22px;
    }

    h1 {
        font-size: 24px;
        line-height: 29px;
    }

    .container {
        width: 390px;
    }

    header .container {
        position: relative;
        justify-content: space-around;
    }

    header .nav_bar {
        position: absolute;
        top: -46px;
        right: -34px;
        flex-direction: column;
        align-items: flex-start;
        z-index: 10;
        background: rgba(255, 255, 255, 1);
        padding: 91px 79px 16px 39px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
        transform: translateX(109%);
        transition: transform .5s;
        /* width: 62px; */
    }

    header .nav_bar.active {
        transform: translateX(9%);
    }

    header .nav_bar li {
        margin-right: 0 !important;
        margin-bottom: 27px;
    }

    header .mobile_loc_li {
        display: block;
        margin-bottom: 0 !important;
    }

    header .mobile_loc_li img {
        width: 98px;
    }

    header .mobile_loc_li h4 {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-weight: 200;
        font-size: 12px;
        line-height: 16px;
        margin: 0;
    }

    header .swiper-slide img {
        display: none;
    }

    header .swiper-slide .slider_image {
        display: block;
        width: 100%;
    }

    .burger_menu {
        display: block;
    }

    .garant__items {
        display: none;
    }

    .garant__icons  {
        flex-direction: column;
        margin-top: 57px;
    }

    .garant__icons img {
        width: 110px;
    }

    .garant__design img {
        width: 91px;
    }

    .garant__icons>div:not(div:last-child) {
        margin: 0 !important;
        margin-bottom: 10px !important;
    }

    .garant__icons>div:nth-child(3) {
        margin-top: 20px !important;
    }

    .offers_section {
        display: none;
    }

    .offers_section-mobile {
        display: block;
        background: url(../images/offers_icons/offers_bg.png) center no-repeat;
        color: white;
        height: 586px;
        box-shadow: -25px 68px 29px rgba(0, 0, 0, 0.01), -14px 38px 24px rgba(0, 0, 0, 0.05), -6px 17px 18px rgba(0, 0, 0, 0.09), -2px 4px 10px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);
    }

    .swiper-slide {
        padding: 30px 0px 30px 0px;
    }

    .offers__mobile__offer {
        margin: 0 auto;
        width: 299px;
        height: 460px;
        background: rgba(18, 18, 18, 0.95);
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(6px);
        padding: 26px 25px 40px 26px;
        position: relative;
    }

    .offers__title h3 {
        font-size: 32px;
        line-height: 38px;
        text-align: center;
        font-family: neusaM;
        margin-top: 0;
        margin-bottom: 40px;
    }

    .offers__list {
        padding-left: 10px;
    }

    .offers__btn {
        display: block;
        position: absolute;
        top: 83%;
        left: 26.5%;
    }

    .list {
        padding-left: 10px;
    }

    .main_offer {
        width: 350px;
        height: 296px;
    }

    .offers__mobile .swiper-button-prev {
        top: 94.9%;
        left: 22px;
    }

    .offers__mobile .swiper-button-next {
        top: 94.9%;
        right: 22px;
    }

    .disign_section {
        margin-top: 80px;
    }

    .design {
        display: block;
    }

    .disign__title {
        width: 290px;
        margin: 0 auto;
    }

    .disign__title h1 {
        font-size: 24px;
        line-height: 29px;
        text-align: center;
    }

    .disign__title:after {
        top: 70px;
        left: 35px;
    }

    .design__description {
        width: 351px;
        margin: 0 auto;
    }

    .design__description p {
        font-size: 16px;
        line-height: 22px;
        text-align: center;
    }

    .design__swiper-description {
        width: 100%;
    }

    .swiper__car {
        box-shadow: none;
        padding: 0 !important;
        width: 390px;
    }

    .disign_section .swiper-slide {
        display: flex;
        justify-content: space-around;
        align-items: flex-start !important;
        padding-bottom: 64px !important;
    }

    .swiper__description {
        width: 160px;
    }

    .swiper__title h3 {
        font-size: 18px;
        line-height: 22px;
    }

    .swiper__appointment p {
        font-size: 16px;
        line-height: 22px;
        margin-top: 0px;
    }

    .swiper__appointment {
        margin-top: 10px;
    }

    .swiper__author {
        margin-bottom: 0;
    }

    .banner {
        width: 160px;
        height: 280px;
        position: unset;
    }

    .disign_section .swiper-button-prev {
        top: 92% !important;
        left: 18px;
    }

    .disign_section .swiper-button-next {
        top: 92% !important;
        right: 18px;
    }

    .disign_section .swiper-pagination {
        display: block;
        margin-bottom: 10px;
    }


    .partner_section .title::after {
        left: 15.4%;
    }

    .partner_section .title {
        margin-bottom: 40px;
    }

    .partner {
        display: flex;
        align-items: center;
        justify-content: space-around;
        flex-wrap: wrap;
        padding-top: 10px;
    }

    .partner img {
        width: 140px;
        margin: 0 !important;
        margin-bottom: 15px !important;
    }
    


    .partner_mobile {
        display: none;
    }

    .partner_section::after {
        height: 330px !important;
        top: 86px;
    }

    .swiper__partner .swiper-slide {
        margin: 0 auto;
        margin-left: 10px;
    }

    .swiper__partner {
        width: 255px !important;
        height: 89px;
        margin-top: 87px;
    }


    .request_section {
        margin-top: 90px;
    }

    .request_section .container::before {
        content: "";

        position: absolute;
        width: 350px;
        height: 1px;
        background: rgba(0, 0, 0, 1);
        top: -3.5%;
        left: 5.5%;
    }

    .request {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .request__title {
        display: none;
    }

    .request__title-mobile {
        display: block;
        text-align: center;
        width: 350px;
    }

    .request__title-mobile h2 {
        font-size: 24px;
        line-height: 29px;
    }

    .request__text {
        text-align: center;
    }

    .request__text p {
        font-size: 20px;
        line-height: 27px;
    }

    .request__map {
        margin-top: 72px;
    }

    .request__map h4 {
        text-align: center;
        margin-right: 0;
    }

    .yandex__map {
        display: none;
    }

    .mobile__map {
        display: block;
        margin: 0 auto;
    }


    .footer {
        box-shadow: none;
    }

    .contact {
        padding-top: 30px;
    }

    .contact__content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact__logo img {
        width: 125px;
    }

    .contact__phone p {
        font-size: 24px;
    }

    footer .nav_bar {
        display: none;
    }

    .contact__data-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact__rights {
        order: 10;
    }

    .contact__location {
        display: none;
    }

    .contact__content::after {
        content: "";

        position: absolute;
        width: 350px;
        height: 1px;
        background: rgba(202, 202, 202, 1);
        top: 100%;
        left: 21px;
    }

    /*modal slider*/

    .owl-carousel {
        width: 300px;
        overflow: hidden;
        margin: 40px 0px 0px 0px;
    }

    .owl-stage-outer {
        width: 300px;
    }



    .item img {
        width: 250px;
    }
    
}