.hero__left {
    width: 40%;
}

.hero__left-wrap {
    display: flex;
    justify-content: space-between;
}

.hero__left-wrap .btn{
    height: fit-content;
}

.hero__left-wrapqr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 40px;
}

.hero__left-wrapqr img {
    margin-top: 20px;
    width: 150px;
    height: 150px;
}

.only_on_mobile {
    display: none;
}

.only_on_desktop {
    display: flex;
}

.left__links-wrap {
    justify-content: center;
}

.prices__items-wrap {
    justify-content: space-around;
}

.tasks__right {
    width: 50%;
    margin-right: 0;
}

.price__content,
.benefits__img-mid {
    max-width: 1490px;
    width: 100%;
    height: auto;
}


#ytp {
    width: 854px;
    height: 480px;
    margin: 0 auto;
    display: block;
}


@media screen and (max-width: 1660px) {
    #ytp {
        width: 640px;
        height: 360px;
    }
}

@media screen and (max-width: 1300px) {
    #ytp {
        width: 426px;
        height: 240px;
    }
}

@media screen and (max-width: 768px) {
    #ytp {
        width: 340px;
        height: 192px;
    }

    .tasks__content {
        flex-direction: column;
    }

    .tasks__right,
    .tasks__left {
        width: 100%;
    }

    .header-triangle::after {
        display: none;
    }
}

@media screen and (max-width: 760px) {
    .only_on_mobile {
        display: flex;
    }

    .only_on_desktop {
        display: none;
    }

    .header {
        padding: 25px 0 0 0;
    }

    /* вылазит за пределы и сжимает основной контент */
    .header-triangle {
        width: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .header-triangle .container {
        margin-left: unset;
        margin-right: unset;
    }

    .header-triangle::before {
        content: '';
    }

    .header-triangle::after {
        display: block;
        content: '';
        background: transparent url(../img/header/header-triangle-img.png) 0 center no-repeat;
        position: relative;
        margin-top: 25px;
        left: 0;
        top: 0;
        z-index: 1;
        min-height: 150px;
        width: 100%;
        background-size: contain;
    }

    .header__logo img {
        width: 50px;
        height: 50px;
    }

    .nav__list-item a {
        font-size: 15px;
        line-height: 20px;        
    }

    .hero {
        padding-top: 0;
        padding-bottom: 0;
    }

    .hero__title {
        font-size: 40px;
        line-height: 52px;
        text-align: center;
    }

    .hero__undertitle {
        font-size: 15px;
        line-height: 24px;
        text-align: center;
    }

    .header__logo {
        margin-left: unset;
        margin-right: unset;
    }

    .hero__content {
        flex-direction: column;
    }

    .hero__right,
    .hero__left {
        width: 100%;
        margin: 0;
    }

    .hero__right {
        margin-top: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero__right > img:first-child {
        width: 125px;
        height: 256px;
    }

    .hero__right > img:last-child {
        width: 157px;
        height: 327px;
    }

    .hero__left-title {
        margin-bottom: 30px;
    }

    .hero__left-links {
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .left__links-wrap {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .btn {
        width: 280px;
        height: 50px;
        font-size: 15px;
        line-height: 20px;
        padding: 15px 21px;
    }

    .hero__desc {
        font-size: 15px;
        line-height: 24px;
        text-align: center;
    }

    .tasks {
        padding-bottom: 0;
        -webkit-box-shadow: unset;
                box-shadow: unset;
    }

    .tasks__right {
        justify-content: center;
        align-items: center;
        margin-top: 40px;
    }

    .tasks__title {
        font-size: 25px;
        line-height: 30px;        
        text-align: center;
    }

    .tasks__item {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .tasks__item img {
        width: 54px;
        height: 54px;
        margin-right: 0;
    }

    .task__item-desc {
        align-items: center;
        text-align: center;
    }

    .task__item-title {
        font-size: 15px;
        line-height: 19px;
        margin: 5px 0 10px 0;
    }

    .task__item-text {
        font-size: 13px;
        line-height: 20px;
    }

    .benefits {
        padding-top: 24px;
        padding-bottom: 84px;
    }

    .benefits__title {
        font-size: 25px;
        line-height: 64px;
        margin-bottom: 24px;
    }

    .benefits__content {
        padding: 0;
        display: grid;
        grid-template-rows: 1fr 1fr;
        grid-template-columns: 62px calc(100% - 62px);
        grid-gap: 2vw;
        grid-template-areas: 
            "a b"
            "a c";
    }

    .benefits__item {
        width: auto;
    }

    .benefits__item--first,
    .benefits__item--third {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .benefits__item--second {
        margin-right: 0;
    }

    .benefits__item--third {
        margin-left: 0;
    }

    .benefits__items-top {
        order: 1;
    }
    .benefits__img-mid {
        grid-area: a;
        order: 0;
        left: unset;
        transform: unset;
    }
    .benefits__items-bottom {
        order: 2;
    }

    .benefits__img-mid img {
        height: 100%;
        widht: auto;
        content: url(../img/benefits/benefits-img-mob.jpg);
    }

    .benefits__items-top,
    .benefits__items-bottom {
        display: flex;
        flex-direction: column;
        margin-top: 0;
        margin-bottom: 0;
        justify-content: flex-start;
    }

    .benefits__item-title {
        font-size: 15px;
        line-height: 18px;
        margin-bottom: 5px;
    }

    .benefits__item-text {
        font-size: 10px;
        line-height: 13px;
    }

    .how {
        padding-top: 0;
        padding-bottom: 84px;
    }

    .how__content {
        left: unset;
        transform: unset;
        width: calc(100% - 40px);
        margin: 20px;
    }

    .how__content .container {
        padding-left: 20px;
        padding-right: 20px;    
    }

    .how__items-wrap {
        flex-direction: column;
    }

    .how__title {
        font-size: 25px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    .how__item {
        width: 100%;
        margin-bottom: 30px;
    }

    .how__item img {
        margin-bottom: 20px;
    }

    .how__item-text {
        font-size: 15px;
        line-height: 19px;
    }

    .cases__content {
        padding-top: 40px;
    }

    .cases__title {
        font-size: 25px;
        line-height: 30px;        
    }

    .cases__items-wrap {
        flex-direction: column;
    }

    .cases__item {
        width: 100%;
        margin-bottom: 20px;
    }

    .cases__item-title {
        font-size: 18px;
        line-height: 22px;
    }

    .cases__item-link {
        font-size: 15px;
        line-height: 19px;
    }

    .price__title {
        font-size: 25px;
        line-height: 30px;
    }

    .prices__items-wrap {
        justify-content: flex-start;
        flex-direction: column;
    }

    .price__item {
        width: 100%;
        margin-bottom: 30px;
    }

    .price__item-title {
        font-size: 18px;
        line-height: 22px;
    }

    .pric__item-desc {
        font-size: 15px;
        line-height: 19px;
    }

    .price__item .btn {
        margin: 0 auto;
    }

    .footer {
        padding-top: 30px;
        padding-bottom: 80px;
    }

    .footer__content {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer__content > * {
        margin-bottom: 15px;
    }

    .footer__logo {
        width: 50px;
        height: 50px;
    }

    .modal {
        width: 100%;
        height: 100%;
        padding: 20px;
    }

    .modal__close-btn {
        top: 10px;
        right: 10px;
    }

    .modal__title {
        font-size: 40px;
        line-height: 52px;
        margin: 45px 0;
    }

    .form__inputs {
        flex-direction: column;
    }

    .input__col {
        width: 100%;
    }

    .case__content {
        padding: 20px;
    }

    .case__cols-wrap {
        width: 100%;
        flex-direction: column;
    }

    .case__right-col,
    .case__mid-col,
    .case__left-col {
        width: 100%;
        position: relative;
        padding-right: 10px;
        padding-left: 10px;
        left: unset;
        transform: unset;
    }

}

