/*==========  Desktop First Method  ==========*/
@media only screen and (max-width : 1600px) {
    .container {
        max-width: 1120px;
    }
    .hero__logo img {
        width: 490px;
    }
    .hero__logo {
        margin-bottom: 38px;
    }
    .hero__title {
        font-size: 45px;
        margin-bottom: 25px;
    }
    .hero__descr {
        font-size: 18px;
        max-width: 400px;
    }
    .hero__form-title {
        font-size: 36px;
        margin-bottom: 16px;
    }
    .hero__form-descr {
        font-size: 18px;
        margin-bottom: 23px;
    }
    .item-form input, .item-form textarea {
        height: 64px;
        font-size: 16px;
        padding: 0 16px;
    }
    .btn {
        height: 64px;
        font-size: 18px;
    }
    .hero__form .btn {
        margin-top: 25px;
    }
    .hero {
        padding-top: 115px;
        padding-bottom: 130px;
    }
    .hero__tire {
        width: 665px;
        height: 272px;
        left: -480px;
    }
    .hero--main::before,
    .hero__tire-back {
        width: 290px;
        height: 383px;
    }
    .hero__bg {
        margin-left: -104px;
    }
    .hero__form {
        width: 370px;
        margin-top: 30px;
    }
    .wrapper--dark .hero__tire {
        width: 212px;
        height: 490px;
    }
    .hero.hero--main {
        background-size: 500px auto;
    }
    .hero__content .btn {
        width: 350px;
        margin-top: 25px;
    }
    .hero--main .hero__logo {
        margin-bottom: 25px;
    }
    .hero--main .hero__title {
        padding-top: 25px;
    }
    .hero.hero--main {
        padding: 80px 0;
    }
    .item-form textarea {
        height: 138px;
        padding-top: 20px;
    }
    .popup__title {
        font-size: 45px;
        margin-bottom: 14px;
    }
    .popup__descr {
        font-size: 18px;
        margin-bottom: 18px;
    }
    .popup__content {
        width: 790px;
        padding: 35px;
    }
    .descr-form {
        font-size: 11px;
        margin-top: 10px;
    }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
    .container {
        padding: 0 32px;
    }
    .hero__title {
        font-size: 40px;
        margin-bottom: 21px;
    }
    .hero__content {
        max-width: 510px;
    }
    .hero__logo img {
        width: 425px;
    }
    .hero__logo {
        margin-bottom: 30px;
    }
    .hero__form {
        width: 350px;
        margin-top: 0;
    }
    .hero__form-title {
        font-size: 32px;
        margin-bottom: 14px;
    }
    .hero__tire {
        width: 535px;
        height: 222px;
    }
    .hero.hero--main {
        background-size: 400px auto;
    }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
    .hero__wrapper {
        display: block;
    }
    .hero__bg {
        display: none;
    }
    .hero__title {
        font-size: 27px;
        line-height: 130%;
    }
    .hero {
        padding: 0;
    }
    .hero__content {
        padding-bottom: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .hero__logo {
        margin-bottom: 40px;
    }
    .hero__logo img {
        margin: 0 auto;
    }
    .hero__tire-back,
    .hero__tire {
        display: none;
    }
    .hero__form {
        margin: 0 -32px;
        padding: 0 32px;
        padding-top: 20px;
        padding-bottom: 40px;
        width: initial;
        max-width: initial;
        position: relative;
        z-index: 1;
    }
    .hero__form::before {
        position: absolute;
        display: block;
        content: " ";
        top: -203px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        background-image: url(../img/bg_mob.svg);
        background-repeat: no-repeat;
        background-position: center top;
    }
    .wrapper--dark .hero__form::before {
        top: -151px;
        background-image: url(../img/bg_mob_dark.svg);
    }
    .hero--main .hero__content {
        height: 100vh;
        padding-top: 22px;
        padding-bottom: 60px;
        max-height: 790px;
    }
    .hero.hero--main {
        padding: 0;
        background-size: 321px;
        min-height: initial;
        background-position: right top 130px;
    }
    .hero__content .btn {
        flex: none;
    }
    .hero--main .hero__logo {
        margin-bottom: auto;
    }
    .popup__content {
        padding: 32px;
    }
    .popup__title {
        font-size: 27px;
        margin-bottom: 12px;
    }
    .popup__close {
        top: 12px;
        right: 12px;
    }
    .popup__descr {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .form-line--two {
        grid-template-columns: 1fr;
    }
    .item-form input, .item-form textarea {
        font-size: 14px;
        padding: 0 20px;
    }
    .item-form textarea {
        height: 97px;
        padding-top: 24px;
    }
    .descr-form {
        font-size: 12px;
        margin-top: 12px;
    }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 480px) {}

/*hovers*/
@media (hover: hover) {
    .btn:hover {
        background: #49ac31;
    }
    .popup__close:hover {
        opacity: 0.7;
    }
}

@media only screen and (min-height : 1380px) {
.hero {
    min-height: 1380px;
}

}
/*mobile hovers*/
@media (hover: none) {
    .btn:active {
        background: #49ac31;
    }
    .popup__close:active {
        opacity: 0.7;
    }
}