@media screen and (max-width: 1439.98px) {
    .container {
        width: 1170px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 1199.98px) {
    .container {
        width: 960px;
    }
}

@media screen and (max-width: 991.98px) {
    .container {
        width: 720px;
    }

    .stages__row {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .stages__item {
        width: calc(33.333% - 30px);
        margin-bottom: 40px;
    }

    .stages__bottom {
        margin-top: auto;
    }

    .stages__text {
        margin-bottom: 20px;
    }

    .banner__row {
        height: auto;
        padding: 80px 0;
    }

    .transform__left,
    .transform__middle,
    .transform__right {
        display: none;
    }

    .transform__item::after {
        display: none;
    }

    .transform__item + .transform__item {
        margin: 0;
    }

    .transform__item {
        border-bottom: 1px dashed var(--green);
        width: calc(50% - 20px);
        height: auto;
        margin-bottom: 20px !important;
    }

    .transform__mobile {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .scheme__container {
        width: calc(100% - 30px);
    }

    .kont {
        margin-left: 0;
        height: auto;
        width: 100%;
    }

    .kontbg {
        background: none;
    }

    .kont a,
    .kont span {
        margin: 0 0 20px 0;
        justify-content: flex-start;
    }

    .scheme__row-first,
    .scheme__row_middle,
    .scheme__row_bottom {
        display: none;
    }

    .scheme__mobile {
        display: block;
    }

    .menu-btn {
        display: block;
        margin-left: auto;
        margin-right: -40px;
    }

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 30px;
        background: #FFF;
        transform: translateX(-100%);
        transition: transform 0.5s;
    }
    .menu.active {
        transform: translateX(0);
    }
    .m-header {
        background-color: transparent;
    }

    .header__item {
        color: #000;
        padding: 0;
    }
    .header__row {
        flex-direction: column;
    }

    #about, #advantages, #scheme, #tables, #table2, #contacts {
        scroll-margin-top: 0px;
    }

    .scheme {
        display: none;
    }
    
    .header__subitems {
      flex-direction: column;
      align-items: start;
    }
    
    .header__subitems-wrapper {
    display: flex;
    position: static;
    flex-direction: column;
    background-color: transparent;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 10px 0;
  }
    .header__subitem {
      color: #000;
      text-align: start;
      padding-left: 20px;
      margin-top: 10px;
    }

}

@media screen and (max-width: 768.98px) {
    .container {
        width: 540px;
    }

    .banner__row {
        position: relative;
    }

    .banner__logo {
        position: absolute;
        width: 180px;
        bottom: 40px;
        right: 0;
    }

    .about__row {
        flex-wrap: wrap;
    }

    .about__item {
        margin-bottom: 20px;
        width: 33.333%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about__bottom {
        width: 100%;
        text-align: center;
    }

    .scheme, .about, .stages, .advantages {
        padding: 40px 0;
    }

    .advtg__item {
        width: 50%;
        margin-bottom: 20px;
    }

    .advtg__row + .advtg__row {
        margin-top: 0;
    }

    .advtg__row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .modal-form {
        background: none;
    }

    .wcall-wrapper {
        bottom: 20px;
        right: 20px;
    }

}

@media screen and (max-width: 575.98px) {
    .container {
        width: calc(100% - 30px);
    }

    .banner__title {
        font-size: 32px;
    }

    .section__title {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }

    .about__bottom {
        font-size: 16px;
    }

    .about__item {
        width: 50%;
    }

    .about__text {
        width: 100%;
    }

    .section__img {
        display: none;
    }

    .stages__item {
        width: calc(50% - 30px);
        margin-bottom: 20px;
    }

    .advantages__item {
        width: calc(50% - 22px);
        margin-bottom: 20px;
    }

    .advtg__title {
        text-align: center;
    }

    .advtg__text {
        text-align: center;
    }

    .table table {
        font-size: 12px;
        display: block;
        overflow-x: scroll;
        width: calc(100% + 5px);
        padding-left: 1px;
    }

    .table__title {
        font-size: 20px;
    }

    .menu-btn {
        margin-right: -20px;
    }

    .table th, .table td {
        padding: 8px 5px;
    }

    .modal-group {
        width: 100%;
    }
}

@media (max-width: 440px) {
    /*.banner-img__row {
        display: none;
    }*/
    .banner__row {
      flex-direction: column;
    }
    .banner__logo {
        position: static;
    }
}