html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-form1 {
    padding: 200px 120px;
}

.form1_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form1_text-block {
    width: 45%;
    padding-right: 50px;
}

.section-form1 .section_pretitle {
    font-size: 24px;
    line-height: 44px;
    color: var(--color-2);
    font-weight: 600;
    margin-bottom: 20px;
}

.section-form1 .section_title {
    font-size: 62px;
    line-height: 81px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 25px;
}

.section-form1 .section_text {
    font-size: 18px;
    line-height: 36px;
    color: #1c1c1c;
    margin-bottom: 45px;
}

.support_title {
    font-size: 22px;
    line-height: 25px;
    color: #000000;
    font-weight: 700;
    margin-bottom: 15px;
}

.support_text {
    font-size: 18px;
    line-height: 23px;
    color: #1c1c1c;
    font-weight: 400;
    margin-bottom: 20px;
}

.support_email-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.support_address {
    font-size: 18px;
    line-height: 23px;
    color: #1c1c1c;
    font-weight: 400;
}

.support_img {
    width: 33px;
    margin-right: 15px;
}

.support_email {
    font-size: 17px;
    line-height: 22px;
    color: #1c1c1c;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--color-2);
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

.form1_form-block {
    width: 55%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.wpcf7-form {
    width: 100%;
    max-width: 690px;
    border-radius: 20px;
    background-color: #f7f7ff;
    filter: drop-shadow(0.105px 2.998px 8px rgba(0,0,0,0.18));
    padding: 30px 45px 15px;
    margin: auto;
}

.input-row br {
    display: none;
}

.input-row p {
    display: flex;
}

.wpcf7-form-control-wrap {
    display: block;
    width: calc(50% - 6px);
    margin: 8px 7px;
}

.wpcf7-form-control-wrap[data-name="message"] {
    width: calc(100% - 7px);
}

input:not([type="submit"]),
textarea,
select {
    min-height: 70px;
    width: 100%;
    font-size: 17px;
    line-height: 20px;
    border-radius: 7px;
    border: 1px solid #f3f3fb;
    filter: drop-shadow(0.105px 2.998px 2.5px rgba(0,0,0,0.18));
    background-color: #ffffff;
    padding-top: 7px;
    padding-left: 24px;
}

input:not([type="submit"]):focus-visible,
textarea:focus-visible,
select:focus-visible {
    border: 3px solid var(--color-2);
    border-radius: 7px;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #1c1c1c;
    font-weight: 400;
}

textarea {
    max-height: 130px;
    resize: none;
    padding-top: 30px;
}

input[type="submit"],
.wpcf7-spinner {
    display: block;
    border: none;
    margin: auto;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output{
    margin-top: 0;
    text-align: center;
    color: #dc3232;
    border-color: transparent;
}

.wpcf7 form.sent .wpcf7-response-output {
    text-align: center;
    color: #46b450;
}

@media (max-width: 1400px) and (max-height: 700px) {
    .form1_wrap {
        align-items: flex-start;
    }
}

@media (max-width: 1440px) {
    .section-form1 .section_pretitle {
        line-height: 30px;
    }

    .section-form1 .section_title {
        font-size: 57px;
        line-height: 75px;
        margin-bottom: 20px;
    }

    input:not([type="submit"]),
    textarea,
    select {
        min-height: 60px;
    }
}

@media (max-width: 1200px) {
    .form1_text-block {
        width: 50%;
        padding-right: 60px;
    }

    .wpcf7-form {
        padding: 30px 25px 15px;
    }

    .form1_form-block {
        width: 50%;
    }
}

@media (max-width: 1024px) {
    .section-form1 {
        padding: 140px 0 80px;
    }
}

@media (max-width: 992px) {
    .form1_wrap {
        flex-wrap: wrap;
    }

    .form1_text-block,
    .form1_form-block {
        width: 100%;
        padding-right: 0;
    }

    .form1_form-block {
        justify-content: center;
    }

    .form1_text-block,
    .section-form1 .section_pretitle,
    .section-form1 .section_title {
        text-align: center;
    }

    .section-form1 .section_text {
        margin-bottom: 50px;
    }

    .support_email-wrap {
        justify-content: center;
    }

    .support_address {
        text-align: center;
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    .section-form1 {
        padding: 120px 0 80px;
    }

    .section-form1 .section_title {
        font-size: 40px;
        line-height: 52px;
    }

    .section-form1 .section_text {
        font-size: 17px;
        line-height: 34px;
    }

    .wpcf7-form {
        padding: 30px 35px 15px;
    }

    .input-row p {
        flex-direction: column;
    }

    .input-row br {
        display: none;
    }

    .wpcf7-form-control-wrap {
        width: calc(100% - 6px);
        margin: 5px 3px;
    }

    input:not([type="submit"]), textarea, select {
        font-size: 14px;
    }
}

@media (max-width: 320px) {
    .wpcf7-form {
        padding: 30px 15px 15px;
    }
}

@media (max-width: 300px) {
    .section-form1 .section_title {
        font-size: 30px;
        line-height: 42px;
    }
}
