@media (max-width: 992px) {
    .social_links {
        display: none;
    }
    .swiper-pagination {
        flex-direction: row;
        -webkit-box-orient: initial;
        -ms-flex-direction: row;
        bottom: 20px;
        left: 0;
        position: absolute;
        width: 100%;
        justify-content: center;
        text-align: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        padding-top: 0;
    }
    .swiper-pagination .swiper-pagination-bullet {
        margin-left: 10px;
        flex-direction: row;
        -webkit-box-orient: initial;
        -ms-flex-direction: row;
    }
    .swiper-pagination .swiper-pagination-bullet::after, .swiper-pagination .swiper-pagination-bullet::before {
        width: 30px;
        height: 1px;

    }
    .swiper-pagination .swiper-pagination-bullet::after {
        margin-left: 10px;
    }
    .swiper-pagination .swiper-pagination-bullet::before {
        margin-right: 10px;
    }
    .pdf_form {
        width: auto;
    }
    .block-form button {
        padding: 10px 0;
    }
    .img-wrap-1 {
        right: -20px;
        top: 25px;
    }
    .img-wrap-11 {
        right: -70px;
        top: -20px;
    }
    .img-wrap-3 {
        bottom: -60px;
        left: 20px;
    }
    .img-wrap-33 {
        bottom: -50px;
        left: 40px;
    }
    .img-wrap-4 {
        top: 120px;
        right: 80px;
    }
    .img-wrap-44 {
        top: 80px;
        right: 20px;
    }
    /*
    .equip_block {
        max-width: 720px;
    }
     */
}
@media (max-width: 845px) {
    h1, h2 {
        font-size: 32px;
        line-height: 1.2;
        padding: 0 5px;
    }
    h4, .h4 {
        font-size: 28px;
        line-height: 1.2;

    }	
    header .container-h {
        padding: 0 10px;
    }
    .step_content {
        margin-left: 60px;
        margin-right: 60px;
    }
}
@media (max-width: 768px) {
    .hidden-menu_block.opened .btn-menu-hidden {
        left: 5px;
    }
    .hidden-menu {
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .hidden-menu-container {
        margin-left: 10px;
        margin-top: 50px;
    }
    .block-form .privacy {
        padding-top: 10px;
    }
    .list-inline>li {
        margin: 0;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .img-wrap-1 {
        right: -20px;
        top: 55px;
    }
    .img-wrap-11 {
        right: -70px;
        top: 10px;
    }
}
@media (max-width: 762px) {
    .stat_icon, .partner-icon img{
        max-width: 140px;
        display: block;
        margin: 0 auto 15px;
    }
    .block-txt .txt.stat_description{
        font-size: 16px;
        line-height: 1;
    }
    .youtube_video_wrap {
        width: auto;
        height: auto;
        margin: 0 10px;
    }
    .stat_icon img{
        max-height: 60px;
    }
    .stat__txt{
        font-size: 16px;
        line-height: 1;
    }
    .block-form .title {
        font-size: 28px;
        line-height: 1.2;
    }
    .block-txt .stat_title {
        font-size: 28px;
        line-height: 1.2;
    }
    .swiper-wrapper, .swiper-slide, .side_controls {
        height: 40vh !important;
        min-height: 520px;
    }
    .img-wrap-3, .img-wrap-33, .img-wrap-4, .img-wrap-44 {
        display: none;
    }
    /*.steps .row:nth-child(odd) .col:nth-child(odd), .steps .row:nth-child(even) .col:nth-child(even) {
        border-left: 0 !important;
        border: none;
        justify-content: flex-start;
        -ms-flex-pack: start;
        -ms-flex-align: start;
        padding: 10px;
        min-height: 100px;
    }
    .steps .row .col:nth-child(even), .steps .row .col:nth-child(odd) {
        border-left: 0 !important;
        border: none;
        justify-content: flex-start;
        -ms-flex-pack: start;
        -ms-flex-align: start;
        padding: 10px;
        min-height: 100px;
        /*display:none;
    }
    .steps .row:first-of-type .col, .steps .row:last-of-type .col {
        margin: 0;
    }
    .steps .row {
        position: relative;
        justify-content: flex-end;
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        height: 130px;
    }
    
    .steps .row .col:nth-child(odd) {
        justify-content: flex-start;
        -ms-flex-pack: start;
        -ms-flex-align: start;
    }
    
    .steps .row:nth-child(even) .step_content, .steps .row:nth-child(odd) .step_content {
        float: none;
        text-align: left;
        margin: 0;
        padding-left: 90px;
        max-width: none;
        font-size: 16px;
        line-height: 1;
    }
    .steps .row:last-of-type .step_icon{
        left: 10px;
        position: absolute;
        right: auto;
        width: 70px;
        height: auto;
        background-size: contain;
        background-repeat: no-repeat;
        font-size: 40px;
        line-height: 77px;
        display: block;
        text-align: center;
    }*/
/* новый блок*/
/* 1. Прячем колонку, если внутри step_content пусто
      (или его вообще нет) */
.steps .row .col:has(.step_content:empty),
.steps .row .col:not(:has(.step_content)) {
    display: none !important;
}

/* 2. Оставшаяся (непустая) колонка — на всю ширину */
.steps .row .col,
.steps .row .col:nth-child(odd),
.steps .row .col:nth-child(even) {
    display: flex;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
    box-sizing: border-box;

    border: none !important;
    border-left: 0 !important;

    justify-content: flex-start;
    align-items: flex-start;

    padding: 10px;
    min-height: 0;         /* было 100px — лишний воздух */
}

/* 3. Строка — не прижимаем к правому краю, высота по контенту */
.steps .row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;   /* было flex-end */
    align-items: center;

    height: auto;                  /* было 130px фиксировано */
    min-height: 130px;
    width: 100%;
}

.steps .row:first-of-type .col,
.steps .row:last-of-type .col {
    margin: 0;
}

/* 4. Контент на всю ширину, отступ слева — под иконку */
.steps .row .step_content,
.steps .row:nth-child(even) .step_content,
.steps .row:nth-child(odd) .step_content {
    float: none;
    margin: 0;
    padding-left: 90px;
    padding-right: 10px;
    text-align: left;

    width: 100%;
    max-width: none;
    box-sizing: border-box;

    font-size: 16px;
    line-height: 1.2;   /* было 1 — слипались строки */
}

/* 5. Иконка — без изменений */
.steps .row:last-of-type .step_icon {
    left: 10px;
    position: absolute;
    right: auto;
    width: 70px;
    height: auto;
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 40px;
    line-height: 77px;
    display: block;
    text-align: center;
}
/*конец нового блока*/

    .steps .row:last-of-type .step_icon img{
        max-height: 40px;
    }
    .step_icon {
        left: 10px;
        position: absolute;
        right: auto;
        width: 70px;
        height: auto;
        background-size: contain;
        background-repeat: no-repeat;
        font-size: 20px;
        line-height: 77px;
    }
    .step_icon span {
        font-size: 20px;
    }	
    .franch-list > div {
        font-size: 18px;
    }
    .region {
    position: absolute;
    top: 0px;
    z-index: 1000;
    left: 10px;
}
.dropdown-menu.show {
    display: block;
    background-color: #00A0E4;
    border: thin #fff solid;
    border-radius: 10px;
}
}
@media (max-width: 580px) {
    .remodal {
        padding: 40px 20px;
    }
}
@media (max-width: 544px) {
    .hidden-menu {
        width: 350px;
    }
}
@media (max-width: 476px) {
    .hidden-menu {
        width: 260px;
    }
	/*
    .swiper-wrapper, .swiper-slide, .side_controls {
        height: 60vh !important;
        min-height: 500px;
    }
	*/
}
@media (max-width: 400px) {
    header .logo img {
        width: auto;
        max-height: 40px;
    }
}
@media (max-width: 370px) {
    .cart_back .txt {
        line-height: 1;
    }
}
/* По умолчанию (десктоп) */
.header {
  display: flex;
  align-items: center;
}

/* Мобильные */
@media (max-width: 768px) {
  .header {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
    width: 100%;
  }

  .slider_wrap {
    order: 2;
    width: 100%;
  }

  .nav {
    order: 3;
    width: 100%;
  }
}
