

@media screen and (max-width: 1200px) {
    .works-hero__illustration {
        right: -80px;
    }

    .works-register__illustration {
        left: -530px;
    }

    .works-requirements__illustration {
        right: -60px;
    }
}

@media screen and (max-width: 1000px) {
    .header {
        padding: 16px 0;
    }

    .header-navigation {
        display: none;
    }

    .header-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(51, 55, 62, 0.30);
        backdrop-filter: blur(2.5px);
        z-index: 1004;
    }

    .header-navigation.is-active {
        display: block;
    }

    .header-navigation .menu {
        gap: 40px;
        width: 100%;
        max-width: 320px;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        height: 100%;
        margin-left: auto;
        box-shadow: -4px 0px 12px 0px rgba(51, 55, 62, 0.40);
    }

    .menu-toggle {
        display: flex;
    }

    .menu_desktop {
        display: none;
    }

    .menu_tablet {
        margin-left: auto;
    }

    .menu__item_tablet {
        display: block;
    }

    .menu_with-buttons {
        margin-left: auto;
        gap: 17px;
    }

    .home-hero__info {
        max-width: 450px;
        padding: 128px 0 64px;
    }

    .home-hero__title {
        margin: 0 0 16px;
        font-size: 40px;
        line-height: 48px;
    }

    .home-hero__text {
        margin: 0 0 40px;
    }

    .home-hero__form {
        flex-direction: column;
        max-width: 330px;
    }

    .home-hero__form select {
        max-width: 100%;
    }

    .home-features {
        padding: 80px 0;
    }

    .home-features__inner {
        gap: 28px;
    }

    .feature {
        padding: 20px 20px 24px;
    }

    .home-trusted-source__info {
        max-width: 450px;
        margin: 0 0 0 auto;
        padding: 111px 0;
    }

    .home-trusted-source__illustration {
        left: -460px;
    }

    .home-faq {
        padding: 80px 0;
    }

    .home-faq-item {
        padding: 20px 16px;
    }

    .home-faq-item__title {
        padding: 0 0 16px;
        margin: 0 0 12px;
        font-size: 20px;
        line-height: 28px;
    }

    .home-help {
        padding: 0 0 80px;
    }

    .home-help__info {
        max-width: 450px;
        padding: 85px 0 84px;
    }

    .home-help__illustration {
        right: -165px;
    }

    .tips {
        gap: 20px;
    }

    .footer-preform {
        padding: 52px 0;
    }

    .footer-preform__title {
        max-width: 340px;
    }

    .footer-preform__form {
        max-width: 385px;
        gap: 12px;
    }

    .footer-preform__form select {
        min-width: 185px;
    }

    .footer-copyrights {
        padding: 20px 0;
    }

    .works-hero__info {
        padding: 185px 0 85px;
        max-width: 330px;
    }

    .works-hero__title {
        font-size: 40px;
        line-height: 48px;
    }

    .works-register__info {
        max-width: 450px;
        padding: 78px 0;
    }

    .works-register__illustration {
        left: -200px;
    }

    .works-register__img_desktop {
        display: none;
    }

    .works-register__img_tablet {
        display: block;
    }

    .works-requirements {
        padding: 80px 0;
    }

    .works-requirements__info {
        max-width: 430px;
        padding: 54px 0 56px;
    }

    .works-requirements__illustration {
        right: -180px;
    }

    .works-requirements__info h2 {
        margin: 0 0 12px;
    }

    .faq {
        padding: 30px 0 80px;
    }

    .faq-hero {
        background: var(--light-main-bg) url(../img/faq-hero-bg-mobile.svg) no-repeat right center;
        background-size: contain;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 45px;
    }

    .faq-hero__info {
        max-width: 325px;
        padding: 208px 0 140px;
    }

    .faq-hero__title {
        font-size: 40px;
        line-height: 48px;
    }

    .faq-hero__illustration {
        width: 240px;
    }

    .accordion-body.active {
        max-height: 550px;
    }

    .form-section {
        padding: 128px 0 80px;
    }

    .contact-form {
        padding: 40px;
    }

    .contact-form__title {
        font-size: 40px;
        line-height: 48px;
        margin: 0 0 16px;
    }

    .contact-form__description {
        margin: 0 0 40px;
    }

    .contact-form__label {
        font-size: 11px;
    }

    .contact-thank-you {
        gap: 0;
        padding: 40px;
    }

    .contact-thank-you__illustration {
        width: 346px;
        height: 492px;
    }

    .contact-thank-you__img {
        max-width: unset;
    }

    .contact-thank-you__info {
        max-width: 200px;
    }

    .contact-thank-you__title {
        margin: 0 0 16px;
        font-size: 32px;
        line-height: 40px;
    }

    .contact-thank-you__text {
        margin: 0;
        font-size: 16px;
        line-height: 24px;
    }

    .contact-info__item:first-child {
        margin: 0;
    }

    .terms-hero {
        padding: 128px 0 32px;
    }

    .terms-hero__title {
        font-size: 40px;
        line-height: 48px;
    }

    .terms-section {
        padding: 40px 0 80px;
    }

    .modal-content__title {
        font-size: 40px;
        line-height: 48px;
    }
}

@media screen and (max-width: 890px) {
    .home-hero__illustration {
        right: -140px;
    }
}

@media screen and (max-width: 768px) {
    .menu__item_quick-call {
        display: none;
    }

    .header-navigation .menu__item_quick-call {
        display: block;
        margin-top: auto;
    }

    .works-hero__illustration {
        right: -130px;
    }

    .footer-preform__title {
        max-width: 240px;
    }
}

@media screen and (max-width: 700px) {
    .wrapper {
        padding: 0 15px;
    }

    .home-hero__info {
        padding: 100px 0 390px;
        max-width: 100%;
    }

    .home-hero__form {
        max-width: 100%;
    }

    .home-hero__title {
        font-size: 32px;
        line-height: 40px;
    }

    .home-hero__illustration {
        width: 365px;
        top: auto;
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .home-features {
        padding: 60px 0;
    }

    .home-features__inner {
        flex-direction: column;
        align-items: center;
    }

    .home-trusted-source__info {
        padding: 60px 0 410px;
        max-width: 100%;
    }

    .home-trusted-source__title {
        font-size: 24px;
        line-height: 32px;
    }

    .home-trusted-source__illustration {
        justify-content: flex-end;
        width: 280px;
        left: 50%;
        bottom: 0;
        top: auto;
        transform: translateX(-50%);
        overflow: hidden;
    }

    .home-trusted-source__img {
        width: 465px;
        max-width: unset;
    }

    .home-faq {
        padding: 60px 0;
    }

    .home-faq__inner {
        flex-direction: column;
        align-items: center;
    }

    .home-help {
        padding: 0 0 60px;
    }

    .home-help__info {
        max-width: 100%;
        padding: 0 0 400px;
    }

    .home-help__title {
        margin: 0 0 20px;
        font-size: 24px;
        line-height: 32px;
    }

    .home-help__illustration {
        left: 50%;
        bottom: 0;
        top: auto;
        width: 290px;
        transform: translateX(-50%);
    }

    .footer-preform {
        padding: 32px 0;
    }

    .footer-preform__inner {
        flex-direction: column;
        gap: 19px;
    }

    .footer-preform__title {
        max-width: 100%;
    }

    .footer-preform__form {
        flex-direction: column;
        gap: 19px;
    }

    .footer-preform__form select {
        max-width: 100%;
    }

    .menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .footer-material {
        padding: 32px 0;
    }

    .footer-copyrights__inner {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 12px;
    }

    .works-hero__title {
        font-size: 32px;
        line-height: 40px;
    }

    .works-hero__info {
        max-width: 100%;
        padding: 80px 0 375px;
    }

    .works-hero__illustration {
        width: 400px;
        right: auto;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .works-register__img_tablet {
        display: none;
    }

    .works-register__img_mobile {
        display: block;
    }

    .works-register__info {
        max-width: 100%;
        padding: 60px 0 320px;
    }

    .works-register__illustration {
        width: 320px;
        left: 50%;
        transform: translateX(-50%);
    }

    .works-register__title {
        font-size: 24px;
        line-height: 32px;
    }

    .works-requirements {
        padding: 60px 0;
    }

    .works-requirements__info {
        max-width: 100%;
        padding: 0 0 364px;
    }

    .works-requirements__info h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .works-requirements__illustration {
        top: auto;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 290px;
        transform: translateX(-50%);
    }

    .faq {
        padding: 20px 0 60px;
    }

    .faq-hero {
        background-size: cover;
    }

    .faq-hero__title {
        font-size: 32px;
        line-height: 40px;
    }

    .faq-hero__inner {
        flex-direction: column;
        align-items: center;
    }

    .faq-hero__info {
        max-width: 100%;
        padding: 100px 0 20px;
    }

    .accordion-head {
        padding: 24px 0;
    }

    .accordion-body.active {
        padding-bottom: 24px;
    }

    .accordion-head h4 {
        font-size: 16px;
        line-height: 24px;
    }

    .contact-form {
        margin: 0 0 24px;
    }

    .contact-form__row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form__label {
        font-size: 12px;
    }

    .contact-info {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        max-width: 270px;
        margin: 0 auto;
    }

    .contact-info__item {
        margin: 0;
    }

    .contact-info__item:last-child {
        margin: 0;
    }

    .contact-thank-you {
        padding: 20px;
    }
}

@media screen and (max-width: 540px) {
    .header {
        padding: 10px 0;
    }

    .header-navigation .menu {
        padding: 40px 15px 32px;
        gap: 28px;
    }

    .header-navigation .menu__item_get-started {
        display: block;
    }

    .header-navigation .menu__item_get-started,
    .header-navigation .menu__item_get-started .get-started {
        width: 100%;
    }

    .logo {
        width: 194px;
        height: 34px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
        padding: 12px;
        border-radius: 12px;
    }

    .menu__item_get-started {
        display: none;
    }

    .wrapper {
        padding: 0 15px;
    }

    .home-hero__form {
        min-width: 100vw;
        margin-left: -15px;
    }

    .works-hero__info {
        padding: 80px 0 258px;
    }

    .works-hero__illustration {
        width: 240px;
    }

    .faq-hero__info {
        padding: 80px 0 20px;
    }

    .form-section {
        padding: 92px 0 60px;
    }

    .contact-form {
        padding: 24px 15px 60px;
        width: 100vw;
        transform: translateX(-15px);
    }

    .contact-form__title {
        font-size: 32px;
        line-height: 40px
    }

    .contact-form__description {
        margin: 0 0 20px;
        font-size: 16px;
        line-height: 24px;
    }

    .contact-form__footer {
        flex-direction: column;
    }

    .contact-form__notification {
        margin: 0 0 40px;
    }

    .contact-form__footer .button_small {
        max-width: 100%;
    }

    .terms-hero {
        padding: 100px 0 40px;
    }

    .terms-hero__title {
        font-size: 24px;
        line-height: 32px;
    }

    .terms-section {
        padding: 20px 0 60px;
    }

    .contact-thank-you {
        flex-direction: column;
        width: 100vw;
        padding: 32px 15px 15px;
        transform: translateX(-15px);
    }

    .contact-thank-you__info {
        max-width: 100%;
    }

    .contact-thank-you__title {
        margin: 0 0 11px;
        font-size: 20px;
        line-height: 28px;
    }

    .contact-thank-you__text {
        margin: 0 0 40px;
    }

    .contact-thank-you__illustration {
        width: 290px;
        height: 400px;

    }
}

@media screen and (max-width: 375px) {
    .tips {
        gap: 12px;
    }

    .tip {
        flex-direction: column;
        gap: 8px;
    }
}
