@media screen and (max-width: 1024px) and (min-width: 640px) {
    body {
        font-size: 14px;
    }
    h1 {
        font-size: 30px;
    }
    h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .hide-tablet {
        display: none;
    }
    /*-------------------------*/
    .base .base__inner {
        padding-right: 10px;
        padding-left: 10px;
    }
    /*-------------------------*/
    .no-fix .menu {
        display: none;
    }
    /*-------------------------*/
    .no-fix.head .head__phone {
        display: none;
    }
    .head {
        padding-bottom: 40px;
    }
    .head .head__right::before {
        display: none;
    }
    .head .head__right {
        width: 230px;
        height: 65px;
        margin-right: -10px;
    }
    .head .head__logo {
        padding-top: 5px;
    }
    .head .head__logo img {
        width: 110px;
    }
    .head .head__wrap {
        margin-top: 40px;
    }
    .head .head__title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    .head .head__text {
        margin-bottom: 15px;
        z-index: 1;
        max-width: 390px;
        position: relative;
    }
    .head .head__text p {
        margin-top: 0;
        margin-bottom: 15px;
    }
    .head .head__img {
        position: absolute;
        right: -60px;
        width: 280px;
    }
    /*-------------------------*/
    .fix-head {
        padding-bottom: 0;
        height: 65px;
    }
    .fix-head .menu {
        display: none;
    }
    .fix-head.head .head__right {
        width: auto;
        height: auto;
    }
    .fix-head.head .head__phone {
        padding: 15px;
    }
    .fix-head.head .head__inner {
        height: 100%;
    }
    /*-------------------------*/
    .company {
        margin-bottom: 40px;
    }
    .company .company__inner {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .company .company__img::before {
        display: none;
    }
    .company .company__left {
        padding-right: 20px;
    }
    .company .company__img {
        width: 230px;
        height: 450px;
        overflow: hidden;
        margin-left: -10px;
    }
    .company .company__img img {
        height: 100%;
        max-width: fit-content;
    }
    /*-------------------------*/
    .advantage {
        margin-bottom: 45px;
    }
    .advantage .advantage__item {
        padding-right: 40px;
    }
    /*-------------------------*/
    .proposal {
        margin-bottom: 40px;
        padding-top: 40px;
        padding-bottom: 20px;
    }
    .proposal .proposal__posttitle {
        margin-bottom: 30px;
    }
    .proposal .proposal__items {
        margin-right: -20px;
    }
    .proposal .proposal__item {
        width: 50%;
        padding-right: 20px;
        margin-bottom: 35px;
    }
    /*-------------------------*/
    .itb {
        margin-bottom: 90px;
    }
    .itb .itb__img::before {
        display: none;
    }
    .itb .itb__columns {
        margin-right: -20px;
    }
    .itb .itb__column {
        width: 36%;
        padding-right: 17px;
    }
    .itb .itb__column-text {
        order: 1;
    }
    .itb .itb__column-img {
        order: 2;
        width: auto;
    }
    .itb .itb__item {
        margin-bottom: 30px;
    }
    .itb .itb__text {
        word-break: break-word;
    }
    .itb .itb__img {
        width: 170px;
        height: 295px;
        overflow: hidden;
        margin-right: -10px;
    }
    .itb .itb__img img {
        height: 100%;
        max-width: fit-content;
    }
    .itb .itb__number {
        font-size: 18px;
        padding-right: 7px;
    }
    /*-------------------------*/
    .contacts {
        margin-bottom: 70px;
    }
    .contacts .contacts__map {
        max-width: 390px;
        height: 290px;
        padding-right: 20px;
    }
    /*-------------------------*/
    .footer .footer__logo {
        width: 47px;
    }
    .footer .footer__inner {
        padding-top: 22px;
        padding-bottom: 22px;
    }
    /*-------------------------*/
    /*-------------------------*/
}

@media screen and (min-width: 1024px) {
    #popout {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    #popout {
        position: fixed;
        height: 100%;
        width: 100%;
        background: #fff;
        top: 0px;
        right: -100%;
        overflow: auto;
        z-index: 11;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 150px 30px 30px;
        box-sizing: border-box;
    }

    #popout .menu {
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
    }

    #popout .menu .menu__link {
        text-transform: none;
        font-size: 24px;
        font-weight: 500;
        text-align: left;
        padding: 0 0 20px;
    }
    #toggle {
        position: relative;
        z-index: 12;
        display: block;
    }
    #toggle.active .open {
        display: none;
    }

    #toggle.active .close {
        display: block;
    }

    .contacts-popup .contacts-popup__phone {
        margin-bottom: 30px;
    }

    .contacts-popup > div a {
        color: #C4C4C4;
        font-size: 14px;
        text-decoration: none;
    }

    #toggle .open {
        position: fixed;
        top: 20px;
        right: 25px;
        z-index: 2;
        cursor: pointer;
    }

    #toggle .close {
        display: none;
        position: fixed;
        top: 20px;
        right: 25px;
        z-index: 2;
        cursor: pointer;
    }

    .nav-menu li {
        border-bottom: 1px solid #eee;
        padding: 20px;
        width: 100%;
    }

    .nav-menu li:hover {
        background: #CCC;
    }

    .nav-menu li a {
        color: #FFF;
        text-decoration: none;
        width: 100%;
    }
}