.xs-show{
    display: none;
}
.xs-show-flex{
    display: none;
}
.xs-show-grid{
    display: none;
}
.xs-hide{
    display: block;
}
.xs-hide-flex{
    display: flex;
}
.xs-hide-grid{
    display: grid;
}
.burger-menu, .mobile-menu{display:none;}



@media screen and (max-width: 1940px) {
    header{
        background-size: cover;
    }
}

@media (max-width: 1940px) and (min-width: 1025px) {
    .container {
        max-width: 95%;
        margin: auto;
    }

    .header__inner {
        gap: 50px;
        position: relative
    }

    .btn-small {
        font-size: 15px;
    }



    .form-for-consultation__block__flex {
        flex-direction: column;
        gap: 50px;
        position: relative;
        z-index: 10;
    }
    .form-for-consultation__circle{z-index: 1;}


    .reviews__block__items {
        overflow-x: scroll;
        overflow-y: hidden;
        padding-bottom: 15px;
    }

    .reviews {
        overflow: hidden;
    }

    .reviews__hero {
        padding-left: 50px;
    }

    .footer__block {
        column-gap: 150px;
    }

    .four-reasons__block1 {
        top: 200px;
    }

    .four-reasons__block2 {
        left: 420px;
        top: 500px
    }

    .four-reasons__block4 {
        top: 893px;
        right: 8px;
        max-width: 600px;
    }

    .four-reasons__block1 .four-reasons__block__title {
        margin-top: 20px;
    }

    .how-it-works__step h4 {
        margin-top: 0;
    }

    .how-it-works__step1 h4{
        margin-top: 55px;
    }
}
@media (min-width: 1024px) and (max-width: 1540px) {
    .header__phone {
        position: absolute;
        top: 160px;
        right: 0;
        padding-top: 0;
    }
}
@media screen and (max-width: 1024px) {
    body{
        font-size: 14px;
    }
    .xs-show{
        display: block;
    }
    .xs-show-flex{
        display: flex;
    }
    .xs-show-grid{
        display: grid;
    }
    .xs-hide{
        display: none;
    }
    .xs-hide-flex{
        display: none;
    }
    .xs-hide-grid{
        display: none;
    }
    .container{
        max-width: 94%;
        margin: auto;
    }
    header{
        background-size: cover;
    }
    .header__nav, .header__phone{display: none;}
    .header__logo{padding-top: 20px;}
    .header__inner{padding-bottom: 50px;}
    .header__hero{
        margin-left: 0;
        max-width: 100%;
    }

    .header__hero__first, .header__hero__h1 {font-size: 30px;}
    .header__hero__under{ font-size: 20px;}
    ul.header__hero__list {font-size: 16px;}
    .header__hero__button{flex-direction: column}
    .header__menu{
        flex-direction: column;
        gap: 30px;
    }
    .header__menu__items.logistics, .header__menu__items.cars-order{top: 0;}

    .four-reasons .container{
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .four-reasons{top:0; height: auto;}
    .four-reasons .container * {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
    }
    .four-reasons__block{
        flex-direction: column;
    }
    .four-reasons__block__title {margin-top: 0 !important; font-size: 20px;}
    .four-reasons__hero{
        font-size: 26px;
    }
    .four-reasons__hero span{font-size: 30px;}
    .four-reasons__block img {display: none !important}
    .four-reasons__block1, .four-reasons__block2 {gap: 0 !important}
    .how-it-works-container{
        grid-template-columns: repeat(1, 1fr);
    }
    .how-it-works__hero{
        padding: 0;
        font-size: 30px;
    }
    .how-it-works__step1:before{
        height: 100%;
    }
    .how-it-works__step1 h4{top: 0;}
    .how-it-works{padding-bottom: 100px;}

    .form-for-consultation__block{
        padding: 50px 30px;
    }
    .form-for-consultation__block__flex{
        flex-direction: column;
        gap: 50px;
    }
    .form-for-consultation__block__form__step1, .form-for-consultation__block__form__step2{
        flex-direction: column;
    }
    .form-for-consultation__block__hero h2, .reviews__hero h2, .other_services__item.other_services__hero h2, .contact_map__hero h2, .how-it-works__title, .table_cars__hero h2{font-size: 30px; line-height: 40px;}
    .form-for-consultation__block__hero p,.reviews__hero p{font-size: 16px;}
    .form-for-consultation{padding-bottom: 100px;}

    .reviews__block{flex-direction: column; gap: 50px;}
    .reviews__hero{
        padding: 0;
        gap: 15px;
    }
    .reviews{overflow: hidden; padding-bottom: 100px;}
    .reviews__block__items{overflow-x: scroll; padding-bottom: 15px;}
    .other_services__block{
        grid-template-columns: repeat(1, 1fr);
    }
    .contact_map_block{flex-direction: column}
    .contact_map__hero{max-width: 100%;}
    .contact_map__address_address{font-size: 18px; margin-bottom: 20px;}
    .contact_map__address_title{line-height: 25px;}

    .footer__block{
        grid-template-columns: repeat(1, 1fr);
    }
    .footer__block * {max-width: 100%; overflow: hidden}
    .footer__copyright{text-align: left;}
    .form-for-consultation__block .form-for-consultation__circle{max-width: 100%;}
    .footer__menu__1 strong{ display: block; margin-bottom: 15px; }
    .footer__menu__1 a:first-child {margin-left: 0 !important;}
    .footer__menu__2 a{margin-bottom: 10px; display: inline-block;}
    .other_services::before{
        border-radius: 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .other_services::after{
        border-radius: 20px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .form-for-consultation__block__hero p{color: #fff}
    .form-for-consultation input, .form-for-consultation__block__form{max-width: 100%;}
    .footer_inn{
        flex-direction: column;
    }

    .cars-order-block1__container1, .cars-order-block1__container2, .cars-order-block1__container3 {
        flex-direction: column;
    }
    .cars-order-block1__container1 a, .cars-order-block1__container2 a, .cars-order-block1__container3 a{
        width: 100% !important;
    }

    .customs-how-it-works-container {
        grid-template-rows: auto;
    }
    .customs-how-it-works-container .how-it-works__step2, .customs-how-it-works-container .how-it-works__step3{
        grid-column: auto;
        grid-row: auto;
    }
    .questions-container{
        flex-direction: column;
    }
    .customs_about{
        background: none;
    }

    .cars-order-block1{
        padding: 0;
    }
    .logistics_geografy{
        margin-top: 0;
    }

    .customs-document__block{
        flex-wrap: wrap;
    }
    .customs-document__block > div {
        max-width: 44% !important;
    }
    .other_services{
        padding-top: 150px;
    }
    .logistics_geografy__hero{padding-left: 0}
    .logistics_geografy__items{
        flex-wrap: wrap;
    }
    .logistics_geografy__item{
        max-width: 46%;
    }
    .cars-order-block1::after {border-radius: 20px;border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;}
    .cars-order-block1::before{border-radius: 20px;border-top-left-radius: 0;
        border-top-right-radius: 0;}


    .table_cars__card{
        gap: 30px;
        flex-wrap: wrap;
    }
    .table_cars__card__img,
    .table_cars__card__price {
        flex: 1 1 45%; /* Каждая занимает 50% ширины */
        max-width: 45%;
    }
    .table_cars__card__content {
        flex: 1 1 100%; /* Занимает всю ширину */
        max-width: 100%;
        order: 3;
        padding-bottom: 20px;
    }
    .table_cars__card__img {
        order: 1; /* Первый */
    }

    .table_cars__card__price {
        order: 2; /* Второй */
        padding-right: 20px;
        min-width: auto;
    }
    .table_cars__card__content__prop{
        flex-wrap: nowrap;
        overflow-x: scroll;
        gap:20px;
        padding-left: 20px;

    }
    .table_cars__card__content h4{
        margin-top: -10px;
        padding-left: 20px;
    }
    .table_cars{padding-bottom: 100px}
    .table_cars__card__content__prop__title, .table_cars__card__content__prop__value {white-space: nowrap;}

    .breadcrumbs{flex-wrap: wrap;}



    /* Стили для бургера */
    .burger-menu {
        position: fixed;
        top: 20px;
        right: 10px;
        width: 40px;
        height: 30px;
        cursor: pointer;
        z-index: 999;
        display: block;
    }

    .burger-icon,
    .burger-icon::before,
    .burger-icon::after {
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: #9e9e9e;
        //border: 1px solid #494949;
        border-radius: 2px;
    }

    .burger-icon {
        top: 50%;
        transform: translateY(-50%);
    }

    .burger-icon::before,
    .burger-icon::after {
        content: '';
        display: block;
    }

    .burger-icon::before {
        top: -10px;
    }

    .burger-icon::after {
        bottom: -10px;
    }

    /* Стили для мобильного меню */
    .mobile-menu .footer_inn_year{
        text-align: center;
    }
    .mobile-menu .p-4{
        padding-top: 20px;
    }
    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        z-index: 9998;
        display: none;
        flex-direction: column;
        padding: 50px;
        box-sizing: border-box;
    }

    .menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
    }

    .menu-header .logo img {
        width: 244px;
    }

    .menu-header .close-icon {
        font-size: 24px;
        cursor: pointer;
    }

    .menu-content .menu-mobile-phone {
        font-size: 22px;
        font-weight: bold;
        color: #7C7C7C;
        text-decoration: none;
        margin: 15px 0;
    }
    .menu-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
        margin-top: 20px;
    }

    .menu-content ul li {
        margin-bottom: 20px;
    }

    .menu-content ul li a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
    }

    .menu-content ul ul {
        margin-left: 20px;
    }

    .footer__social {
        display: flex;
        gap: 10px;
        margin-top: 20px;
    }

    .footer_inn_podloshka {
        margin-top: 20px;
        font-size: 14px;
    }

    .footer_inn_year {
        margin-top: 10px;
        font-size: 12px;
        color: #777;
    }
    
    .footer__developers{
      FLEX-DIRECTION: COLUMN !important;
      gap: 0 !important;
      align-items: center !important;
    }
    
    .cars-order-block1__container1 a h4, .cars-order-block1__container2 a h4, .cars-order-block1__container3 a h4{
      top: 35px;
      left:35px;
      font-size: 22px;
      line-height: 110%;
      max-width: calc(100% - 70px);
    }
    .cars-order-block__item.no-bg ul{ bottom: 35px; left: 35px;}
    .cars-order-block1__container1 a p, .cars-order-block1__container2 a p, .cars-order-block1__container3 a p{
      top: auto !important;
      bottom: 35px;
      left:35px;
    }
    .customs-document__block {
      gap: 30px;
    }
    .customs-document__block__item h4{
      font-size:22px;
      margin-bottom:15px;
    }
    
    .logistics_geografy__items {
        gap: 20px;
    }
    .logistics_geografy__item{
      padding:25px;
      min-height: 165px;
    }
    .logistics_geografy__item p{
      bottom: 30px;
      left: 25px;
    }
}