section.contact {
    padding: calc(21px + 33px + 32px) 0 48px;
}
section.contact h1 {
    text-align: center;
    font-weight: 500;
    font-size: 32px;
    line-height: 44px;
    max-width: 990px;
    margin: 0 auto;
}
section.contact a {
    color: #fff;
    text-decoration: none;
}
section.contact .container {
    margin: 0 auto 52px;
    width: 90%;
    max-width: 1664px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.main-title-wrapper {
    width: 100%;
    margin-bottom: 64px;
}
section.contact .image-wrapper-mob {
    display: none;
}
section.contact .image-wrapper {
    width: 310px;
    display: flex;
    align-items: center;
}
section.contact .form-main {
    width: 538px;
}
section.contact small {
    display: none;
    position: absolute;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    opacity: 0.5;
}
section.contact .input-field.is_empty .empty_error {
    display: block;
}
section.contact .input-field.is_invalid .email_error,
section.contact .input-field.is_invalid .phone_error {
    display: block;
}
section.contact .input-field {
    position: relative;
    margin-bottom: 48px;
}
section.contact .input-field input,
section.contact .input-field textarea {
    background-color: transparent;
    width: 538px;
    height: 40px;
    border: none;
    border-bottom: 1px solid #FFFFFF;
    color: #fff;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    outline: none;
    font-family: 'Manrope', sans-serif;
}
section.contact .input-field textarea {
    resize: vertical;
    min-height: 40px;
    max-height: 100px;
    font-family: 'Manrope', sans-serif;
}
section.contact .input-field textarea::-webkit-scrollbar {
    width: 5px
}

section.contact .input-field textarea::-webkit-scrollbar-track {
    background: #fff
}

section.contact .input-field textarea::-webkit-scrollbar-thumb {
    background: #8e8e8e;
    border-radius: 5px;
}

section.contact .input-field textarea::-webkit-scrollbar-track-piece {
    background-color: #1A191D;
}
section.contact .input-field input::placeholder,
section.contact .input-field textarea::placeholder {
    opacity: 0;
}
section.contact .input-field input.show-placeholder::placeholder {
    opacity: 1;
}
section.contact label {
    position: absolute;
    pointer-events: none;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    left: 4px;
    top: 0;
    transition: 0.2s ease all;
}

section.contact input:focus ~ label,
section.contact input:not(:focus):valid ~ label,
section.contact textarea:focus ~ label,
section.contact textarea:not(:focus):valid ~ label{
    top: -30px;
    left: 0;
    opacity: 0.7;
    font-size: 16px;
}

/***********************/

section.contact .contacts {
    width: 310px;
}
section.contact .contacts .contact-block {
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 96px;
}
section.contact .contacts .contact-block .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 27px;
}
section.contact .contacts .contact-block .value {
    font-weight: 300;
    font-size: 20px;
    line-height: 27px;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}
section.contact .contacts .links-block {
    width: 256px;
    display: flex;
    justify-content: space-between;
}

/***********************/

section.contact p.fake-submit {
    border: 1px solid #FFFFFF;
    color: #fff;
    border-radius: 1000px;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    padding: 15px 9px;
    width: 160px;
    background-color: transparent;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    user-select: none;
}
section.contact p.fake-submit.disabled {
    opacity: 0.5;
}
section.contact p.fake-submit:not(.disabled):hover {
    color: #1A191D;
    background-color: #fff;
}
section.contact p.fake-submit:not(.disabled):active {
    color: #1A191D;
    background-color: #fff;
    opacity: 0.5;
}
section.contact .contact-footer {
    display: none;
}
.wpcf7 {
    position: fixed;
    z-index: -1;
    opacity: 0;
}
.contact-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 25, 29, 0.5);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
}
.contact-overlay.show {
    display: flex;
}
.contact-overlay p {
    font-weight: 500;
    font-size: 32px;
    line-height: 44px;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(26, 25, 29, 0.75);
}
.contact-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.contact-loader img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/*===========lib-number===========*/
.input-lib-container {
    width: 100%;
    margin: 0;
}
.input-lib-container .iti__selected-flag {
    font-size: 24px;
    line-height: 33px;
}
.input-lib-container .iti__country-list {
    background-color: #1A191D;
}
.input-lib-container .iti__flag-container {
    background-color: #1A191D;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}
.iti-mobile .iti__country-list {
    background-color: #1A191D;
}
.iti--separate-dial-code .iti__selected-flag,
.iti--separate-dial-code .iti__selected-flag:hover {
    background-color: transparent !important;
}

.input-lib-container .iti__country-list::-webkit-scrollbar {
    width: 5px
}
.input-lib-container .iti__country-list::-webkit-scrollbar-track {
    background: #fff
}

.input-lib-container .iti__country-list::-webkit-scrollbar-thumb {
    background: #8e8e8e;
    border-radius: 5px;
}
.input-lib-container .iti__country-list::-webkit-scrollbar-track-piece {
    background-color: #1A191D;
}
/*===========privacy===========*/
section.contact .privacy-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
}
section.contact .privacy-wrapper .checkbox {
    cursor: pointer;
    width: 24px;
    height: 24px;
}
section.contact .privacy-wrapper .checkbox-on,
section.contact .privacy-wrapper .checkbox-on-mob,
section.contact .privacy-wrapper .checkbox-off-mob,
section.contact .privacy-wrapper .agree-text-mob {
    display: none;
}
section.contact .privacy-wrapper.accepted .checkbox-off {
    display: none;
}
section.contact .privacy-wrapper.accepted .checkbox-on {
    display: block;
}
section.contact .privacy-wrapper {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}
section.contact .privacy-wrapper p {
    font-weight: 400;
    font-size: 16px;
    line-height: 32px;
}
section.contact .privacy-wrapper a {
    text-decoration: underline;
}

@media (max-width: 1440px) {
    section.contact .contacts, section.contact .image-wrapper {
        width: 280px;
    }
    section.contact .image-wrapper img {
        margin: 0 -15px;
    }
}

/***********************/
@media (max-height: 910px) and (max-width: 1440px),
(max-width: 1280px) {
    section.contact .container {
        max-width: 710px;
        width: 75%;
    }
    section.contact .main-title-wrapper {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        gap: 6%;
    }
    section.contact .image-wrapper-mob {
        display: block;
    }
    section.contact .image-wrapper-mob img{
        width: 216px;
        height: 216px;
    }
    section.contact .image-wrapper {
        display: none;
    }
    section.contact h1 {
        font-size: 28px;
        line-height: 38px;
        max-width: 514px;
    }
    section.contact .form-main {
        margin: 0 auto;
        width: 100%;
        max-width: 710px;
    }
    section.contact .input-field input,
    section.contact .input-field textarea {
        width: 100%;
    }
    section.contact p.fake-submit {
        font-size: 16px;
        line-height: 22px;
        width: 311px;
        padding: 15px 0;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
    section.contact .contacts {
        display: none;
    }
    section.contact form {
        margin-bottom: 96px;
    }
    section.contact .contact-footer {
        display: block;
    }
    section.contact .contact-footer .container {
        max-width: 710px;
        width: 75%;
    }
    section.contact .contact-footer .contact-block{
        font-size: 16px;
        line-height: 22px;
    }
    section.contact .contact-footer .contact-block .title {
        font-weight: 600;
        margin-bottom: 6px;
    }
    section.contact .contact-footer .contact-block .value {
        font-weight: 300;
        -webkit-user-select: auto;
        -moz-user-select: auto;
        -ms-user-select: auto;
        user-select: auto;
    }
    section.contact .contact-footer .links-block {
        display: flex;
        justify-content: space-between;
        width: 232px;
    }
    section.contact .contact-footer .links-block img {
        height: 40px;
        width: 40px;
    }
    section.contact small {
        font-size: 12px;
        line-height: 16px;
        margin-left: 23px;
    }
}
@media (max-width: 1280px) {
    section.contact .container {
        margin: 0 auto 50px;
    }
    section.contact .input-field {
        margin-bottom: 24px;
    }
    section.contact .input-field.textarea-field {
        margin: 48px 0;
    }
    section.contact label {
        display: none;
    }
    section.contact .input-field input,
    section.contact .input-field textarea {
        width: 100%;
        border: 1px solid #FFFFFF;
        border-radius: 16px;
        font-size: 18px;
        line-height: 24px;
        padding: 12px 23px 12px;
        height: 48px;
    }
    section.contact .input-field input.non-rounded-corners {
        border-radius: 16px 16px 0 0;
    }
    section.contact .input-field textarea {
        resize: none;
        height: 144px;
        border-radius: 16px;
    }
    section.contact .input-field input::placeholder,
    section.contact .input-field textarea::placeholder {
        opacity: 1;
    }
    section.contact p.fake-submit {
        border: none;
        color: #1A191D;
        background-color: #fff;
    }
    .input-lib-container .iti__selected-flag {
        font-size: 18px;
        line-height: 24px;
    }
    .input-lib-container .iti__country-name {
        white-space: normal;
    }
    .input-lib-container .iti__flag-container {
        border-right: 1px solid #fff;
    }
    section.contact .privacy-wrapper {
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    section.contact .privacy-wrapper p {
        font-size: 16px;
        line-height: 22px;
    }
    section.contact .privacy-wrapper .checkbox {
        width: 48px;
        height: 48px;
    }
    section.contact .privacy-wrapper .checkbox-on,
    section.contact .privacy-wrapper .checkbox-off,
    section.contact .privacy-wrapper .agree-text {
        display: none;
    }
    section.contact .privacy-wrapper .agree-text-mob {
        display: inline-block;
        cursor: pointer;
        user-select: none;
    }
    section.contact .privacy-wrapper .checkbox-off-mob {
        display: block;
    }
    section.contact .privacy-wrapper.accepted .checkbox-on-mob {
        display: block;
    }
    section.contact .privacy-wrapper.accepted .checkbox-off-mob,
    section.contact .privacy-wrapper.accepted .checkbox-on {
        display: none;
    }
}

@media (max-width: 800px) {
    section.contact .container,
    section.contact .contact-footer .container {
        width: 90%;
    }
    section.contact .contact-footer .links-block {
        width: 264px;
    }
}

@media (max-width: 675px) {
    section.contact {
        padding: 48px 0;
    }
    section.contact .main-title-wrapper {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 32px;
    }
    section.contact .contact-footer .container{
        gap: 50px 60px;
    }
    section.contact .contact-footer .links-block {
        order: 9;
        margin: 0 auto;
    }
}
@media (max-width: 520px) {
    section.contact .contact-footer .container{
        gap: 50px 0;
    }
}
@media (max-width: 480px) {
    section.contact .container {
        margin: 0 auto 48px;
    }
    section.contact h1 {
        font-size: 24px;
        line-height: 33px;
    }
    section.contact .form-main {
        max-width: 311px;
    }
    section.contact .input-field {
        margin-bottom: 20px;
    }
    section.contact .input-field.textarea-field {
        margin: 32px 0 32px;
    }
    section.contact .input-field input,
    section.contact .input-field textarea {
        font-size: 16px;
        line-height: 22px;
    }
    section.contact .input-field textarea {
        height: 144px;
    }
    section.contact .contact-footer .contact-block {
        font-size: 14px;
        line-height: 19px;
    }
    section.contact small {
        font-size: 10px;
        line-height: 14px;
        margin-left: 23px;
    }
    .input-lib-container {
        font-size: 16px;
        line-height: 22px;
    }
    section.contact .privacy-wrapper .checkbox {
        width: 48px;
        height: 48px;
    }
}
@media (max-width: 360px) {
    section.contact .contact-footer .container {
        flex-direction: column;
        align-items: center;
    }
    section.contact .contact-footer .container .contact-block {
        width: 140px;
    }
}
@media (min-height: 900px) and (min-width: 1441px) {
    section.contact {
        position: fixed;
        top: calc(50% + 80px);
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
    }
}
