@media screen and (max-width: 1023px) {
    .compare__img {
        display: none;
    }

    .mobile-topline {
        display: block;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 5;
        width: 100%;
        height: 76px;
        background-color: #f6f6f6;
    }

    .mobile-topline img {
        max-width: 100%;
        height: auto;
    }

    .mobile-topline__logo {
        position: absolute;
        width: 130px;
        right: 20px;
        top: 15px;
    }

    .compare-item {
        -ms-flex-direction: column;
        flex-direction: column;
    }

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

    .compare {
        width: calc(100% - 60px);
        margin: 0 auto 50px auto;
    }

    .container {
        padding: 0 25px;
    }

    .compare__more {
        width: 43%;
    }

    .compare__main {
        min-height: 0;
        margin-bottom: 10px;
    }

    .compare__img {
        left: 60%;
        top: 50px;
    }

    .section-title {
        padding-top: 45px;
    }

    .section-title:before {
        left: 0;
        top: 10px;
    }

    .top__city {
        position: relative;
        right: auto;
        margin-top: 20px;
    }

    .top__city img {
        max-width: 100%;
        height: auto;
    }

    .top {
        padding-top: 90px;
    }
}

@media screen and (max-width: 1023px) {
    .cutted {
        overflow: hidden;
    }

    .header {
        width: 100%;
        min-width: 0;
        height: 100vh;
        overflow: scroll;
        transform: translateX(-100%);
        transition: transform .4s;
    }

    .header.is-opened {
        transform: translateX(0);
    }
  /*    hamburger begin    */
    .hamburger {
        position: fixed;
        left: 0px;
        top: 0px;
        width: 80px;
        height: 75px;
        z-index: 3;
        cursor: pointer;
        background-color: #f6f6f6;
        padding: 25px;
        box-sizing: border-box;
        z-index: 11;
        transition: left .4s;
    }

    .hamburger span {
        display: block;
        width: 100%;
        height: 5px;
        background-color: #000;
        margin: 16px 0;
        border-radius: 4px;
    }

    .hamburger.is-active {
        left: calc(100% - 80px);
    }

    .hamburger-box {
        width: 40px;
        height: 24px;
        display: inline-block;
        position: relative;
    }

    .hamburger--elastic.is-active .hamburger-inner {
        transform: translate3d(0, 10px, 0) rotate(135deg);
        transition-delay: 0.1s;
    }

    .hamburger--elastic .hamburger-inner {
        top: 2px;
        transition-duration: 0.4s;
        transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
        width: 30px;
        height: 4px;
        background-color: #ff8400;
        border-radius: 0;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.15s;
        transition-timing-function: ease;
    }

    .hamburger-inner {
        display: block;
        top: 50%;
        margin-top: -2px;
    }

    .hamburger--elastic.is-active .hamburger-inner::before {
        transition-delay: 0s;
        opacity: 0;
    }

    .hamburger-inner::before {
        top: -10px;
    }

    .hamburger-inner::before, .hamburger-inner::after {
        content: "";
        display: block;
    }

    .hamburger--elastic .hamburger-inner::before {
        top: 10px;
        transition: opacity 0.15s 0.4s ease;
    }

    .hamburger--elastic.is-active .hamburger-inner::after {
        transform: translate3d(0, -20px, 0) rotate(-270deg);
        transition-delay: 0.1s;
    }

    .hamburger--elastic .hamburger-inner::after {
        top: 20px;
        transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .hamburger-inner::after {
        bottom: -10px;
    }
  /*    hamburger end    */
    .header__inner {
        height: 100%;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .header__links {
        margin: 0 0 85px 0;
    }

    .header__nav {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .header__nav a {
        font-size: 34px;
        text-align: center;
        margin-bottom: 40px;
    }

    .header__logo {
        margin-top: 80px;
        margin-right: 0;
        width: 200px;
    }

    .header__cost {
        font-size: 20px;
    }

    .header__contact {
        font-size: 20px;
    }

    .steps__inner {
        -ms-flex-pack: center;
        justify-content: center;
    }

    .features__container {
        padding: 30px;
    }

    .about {
        padding-bottom: 50px;
    }

    .features {
        padding: 55px 0;
    }

    .feature {
        padding: 0 15px;
    }

    .feature:before {
        margin: 10px 0 45px 73px;
    }

    .feature__title {
        font-size: 24px;
    }

    .info {
        margin-bottom: 40px;
    }

    .economy__title {
        margin-top: -30px;
    }

    .economy__title:before, .economy__title:after {
        width: 32%;
    }

    .economy__note {
        margin: 35px auto 0 auto;
    }

    .economy .banner {
        padding-bottom: 60px;
        padding-top: 80px;
    }

    .stats__title {
        font-size: 42px;
    }

    .stats__text {
        font-size: 19px;
    }

    .stats {
        margin-bottom: 55px;
    }
    .top__content {
        flex-shrink: 1;
    }
    .values__line {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .header__links {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
        margin-bottom: 10px;
    }

    .header__contact {
        margin-left: 0;
    }

    .header__cost {
        font-size: 14px;
        margin-bottom: 25px;
    }

    .header__nav a {
        font-size: 22px;
    }

    .header__logo {
        margin-top: 0;
        margin-bottom: 30px;
        width: 130px;
    }

    .about__title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .about {
        padding-bottom: 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .features__container {
        padding: 15px;
        padding-top: 30px;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
    }

    .features {
        margin-bottom: 30px;
    }

    .feature {
        width: 100%;
        max-width: 270px;
        padding: 0;
        margin: 0 auto 30px auto;
        box-sizing: border-box;
    }

    .feature:before {
        margin: 10px auto 45px auto;
    }

    .steps__inner {
        margin-top: 55px;
        margin-left: 0;
        margin-right: 0;
    }

    .step {
        width: 100%;
    }

    .feature__text {
        max-width: 100%;
    }

    .economy__row {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
    }

    .economy-item {
        margin-bottom: 30px;
    }

    .economy__title:after, .economy__title:before {
        width: 6%;
    }

    .economy__note {
        font-size: 18px;
        line-height: 28px;
    }

    .economy {
        margin-bottom: 20px;
    }

    .marked-list li {
        padding-left: 50px;
    }

    .marked-list li:before {
        position: absolute;
        left: 0;
    }

    .stats {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-bottom: 25px;
    }

    .stats-item {
        width: 50%;
        margin-bottom: 30px;
    }

    .footer__line {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: center;
        align-items: center;
        margin-top: 50px;
    }

    .footer__line a {
        margin-bottom: 50px;
    }

    .footer {
        padding-bottom: 0;
    }

    .top {
        padding: 90px 0;
    }

    .top__title {
        font-size: 35px;
        line-height: 45px;
    }

    .top__form {
        padding: 20px 20px 0 20px;
    }

    .top__form-text {
        padding-right: 0;
    }

    .top__form-list {
        padding-left: 10px;
        padding-top: 7px;
    }

    .button {
        font-size: 14px;
        padding: 15px;
    }

    .popup {
        display: block;
        overflow: scroll;
    }

    .popup__container {
        margin: 0 auto;
        max-width: 100%;
    }

    .popup__overlay {
        position: fixed;
    }
}

@media screen and (max-width: 640px) {
    .companies {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .company {
        margin-bottom: 13px;
    }

    .info {
        margin-bottom: 10px;
    }

    .info .section-title {
        margin-bottom: 30px;
    }

    .compare__name {
        font-size: 24px;
        line-height: 1;
    }

    .compare__info {
        padding: 30px 20px 10px 20px;
    }

    .compare__info-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .compare__info-price {
        font-size: 24px;
        margin-bottom: 8px;
        width: 100%;
    }

    .compare__more {
        width: 100%;
    }

    .compare__info-line {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .values__line {
        font-size: 18px;
    }

    .compare__more {
        font-size: 16px;
        margin-top: 7px;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
        padding-left: 0;
    }

    .economy__value {
        font-size: 55px;
        margin-bottom: -6px;
    }

    .popup__container {
        padding: 50px 20px;
    }

    .values__line {
        position: relative;
        color: transparent;
        margin-top: 35px;
    }

    .values__line:before {
        display: block;
        content: attr(data-value);
        color: #000;
        position: absolute;
        left: 0;
        width: 100vw;
        top: -30px;
    }

    .values__line-wrapper {
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-align: start;
        align-items: flex-start;
    }
}

@media screen and (max-width: 500px) {
    .stats-item {
        width: 50%;
        margin-bottom: 20px;
    }

    .stats__title {
        font-size: 30px;
    }

    .stats__text {
        font-size: 14px;
    }

    .info {
        margin-bottom: 30px;
    }

    .info__content p {
        line-height: 30px;
    }

    .banner__text {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .banner__note {
        font-size: 24px;
    }

    .footer__call-phone {
        font-size: 30px;
    }

    .top__form-content {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .top__form-text {
        width: 100%;
        margin-bottom: 10px;
    }

    .top__form-list {
        width: 100%;
        padding-left: 0;
    }

    .top__form-buttons {
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .top__form-buttons a {
        margin-bottom: 20px;
        text-align: center;
    }

    .header__cost {
        text-align: center;
        border: none;
    }

    .header__cost:hover {
        border: none;
        border-bottom: 0px solid transparent;
    }
    .top__form-buttons {
        transform: translateY(7px);
    }
}
