.ait-home-contact-divider {
    width: 100%;
    padding: 15px 0;
    background: #fff;
}

.ait-home-contact-divider span {
    display: block;
    width: 90%;
    height: 1px;
    margin: 0 auto;
    background: #eaebf2;
}

.ait-home-contact {
    position: relative;
    overflow: hidden;
    padding: 90px 0 110px;
    background: #fff;
    color: #212c4a;
}

.ait-home-contact__map {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../images/home/contact/map.png");
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 1075px auto;
    opacity: .01;
    pointer-events: none;
}

.ait-home-contact__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(1330px, calc(100% - 40px));
    margin: 0 auto;
}

.ait-home-contact__form-column {
    min-width: 0;
    padding-right: 40px;
}

.ait-home-contact__heading {
    margin: 0;
}

.ait-home-contact__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.35;
    color: #212c4a;
}

.ait-home-contact__eyebrow img {
    width: 24px;
    height: 24px;
    margin-top: -3px;
    object-fit: contain;
}

.ait-home-contact__title {
    margin: 0 0 20px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 46px;
    color: #212c4a;
}

.ait-home-contact__form {
    margin-top: 20px;
}

.ait-home-contact__fields-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ait-home-contact__field {
    display: block;
}

.ait-home-contact__field input,
.ait-home-contact__field textarea {
    display: block;
    width: 100%;
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid transparent;
    border-radius: 6px;
    outline: 0;
    background: #f2f2f4;
    box-shadow: none;
    color: #212c4a;
    font: 400 16px/1.5 "Space Grotesk", sans-serif;
    transition: border-color .2s ease, background-color .2s ease;
}

.ait-home-contact__field textarea {
    height: 120px;
    min-height: 120px;
    resize: vertical;
}

.ait-home-contact__field input::placeholder,
.ait-home-contact__field textarea::placeholder {
    color: #606060;
    opacity: 1;
}

.ait-home-contact__field input:focus,
.ait-home-contact__field textarea:focus {
    border: 1px dashed rgba(255, 56, 56, .35);
    background: #fff;
}

.ait-home-contact__field input[aria-invalid="true"],
.ait-home-contact__field textarea[aria-invalid="true"] {
    border-color: #dc3232;
}

.ait-home-contact__honeypot {
    position: absolute !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    white-space: nowrap !important;
}

.ait-home-contact__submit-area {
    display: inline-block;
}

.ait-home-contact__submit-wrap {
    position: relative;
    z-index: 0;
    display: inline-flex;
    isolation: isolate;
}

.ait-home-contact__submit-wrap::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -8px;
    bottom: -8px;
    left: 8px;
    height: 100%;
    border: 2px dashed #212c4a;
    border-radius: 6px;
    pointer-events: none;
}

.ait-home-contact__submit {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    min-height: 60px;
    padding: 20px 60px 20px 20px;
    border: 0;
    border-radius: 6px;
    background: #212c4a;
    color: #fff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.ait-home-contact__submit:hover,
.ait-home-contact__submit:focus-visible {
    background: #ff3838;
}

.ait-home-contact__submit:disabled {
    cursor: wait;
    opacity: .7;
}

.ait-home-contact__submit-arrow {
    position: absolute;
    top: 60%;
    right: 36px;
    width: 12px;
    height: 13px;
    transform: translateY(-50%);
}

.ait-home-contact__submit-arrow::after,
.ait-home-contact__submit-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.ait-home-contact__submit-arrow::after {
    right: 0;
    left: 0;
    height: 2px;
    background: #fff;
}

.ait-home-contact__submit-arrow::before {
    right: -7px;
    border: 6px solid transparent;
    border-left-color: #fff;
}

.ait-home-contact__status {
    min-height: 0;
    margin: 0;
    color: #212c4a;
    font-size: 15px;
    line-height: 24px;
}

.ait-home-contact__status:not(:empty) {
    min-height: 24px;
    margin: 20px 0 0 -20px;
}

.ait-home-contact__status.is-error {
    color: #dc3232;
}

.ait-home-contact__status.is-success {
    color: #16803a;
}

.ait-home-contact__details-column {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
    padding-left: 145px;
}

.ait-home-contact__details {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 35px;
    width: 100%;
}

.ait-home-contact__detail {
    display: flex;
    align-items: center;
    min-width: 0;
    color: #212c4a;
    font-family: "Space Grotesk", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.ait-home-contact__detail-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    margin-right: 20px;
    object-fit: contain;
}

.ait-home-contact__detail-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.ait-home-contact__detail-label {
    display: block;
    color: #212c4a;
    font-size: 16px;
    font-weight: 400;
}

.ait-home-contact__detail a,
.ait-home-contact__detail span {
    color: #212c4a;
    text-decoration: none;
}

.ait-home-contact__detail a:hover,
.ait-home-contact__detail a:focus-visible {
    color: #ff3838;
}

.ait-home-contact__vertical-title {
    position: absolute;
    top: 175px;
    left: -220px;
    z-index: 1;
    transform: rotate(270deg);
    transform-origin: center;
    background-image: linear-gradient(180deg, rgba(12, 18, 43, .38) 0%, rgba(255, 255, 255, .13) 72%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: "Space Grotesk", sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.ait-home-contact__decor-arrow {
    position: absolute;
    top: 10px;
    right: -227px;
    z-index: 0;
    width: 28%;
    max-width: 219px;
    height: auto;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .ait-home-contact {
        padding: 30px 0 60px;
    }

    .ait-home-contact__inner {
        width: min(100% - 40px, 960px);
    }

    .ait-home-contact__form-column {
        padding-right: 24px;
    }

    .ait-home-contact__details-column {
        padding-left: 60px;
    }

    .ait-home-contact__vertical-title {
        top: 205px;
    }

    .ait-home-contact__decor-arrow {
        right: -145px;
    }
}

@media (max-width: 767px) {
    .ait-home-contact {
        margin-top: -60px;
        padding: 25px 0;
    }

    .ait-home-contact-divider {
        padding: 15px 0;
    }

    .ait-home-contact__inner {
        grid-template-columns: 1fr;
        width: min(100% - 32px, 560px);
    }

    .ait-home-contact__form-column {
        padding-right: 0;
    }

    .ait-home-contact__title {
        font-size: 30px;
        line-height: 40px;
    }

    .ait-home-contact__fields-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ait-home-contact__field textarea {
        height: 120px;
        min-height: 120px;
    }

    .ait-home-contact__submit-area,
    .ait-home-contact__submit-wrap,
    .ait-home-contact__submit {
        width: 100%;
    }

    .ait-home-contact__details-column {
        margin-top: 40px;
        padding-left: 15px;
    }

    .ait-home-contact__details {
        gap: 26px;
    }

    .ait-home-contact__detail {
        font-size: 20px;
    }

    .ait-home-contact__detail-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        margin-right: 20px;
    }

    .ait-home-contact__vertical-title {
        top: 115px;
        left: -115px;
        font-size: 50px;
    }

    .ait-home-contact__decor-arrow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ait-home-contact__submit,
    .ait-home-contact__field input,
    .ait-home-contact__field textarea {
        transition: none;
    }
}

/* AIT CONTACT EXACT SOURCE MATCH START */
.ait-home-contact-divider {
    height: 50px;
    min-height: 50px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
}

@media (min-width: 1025px) {
    .ait-home-contact__inner {
        left: -10px;
    }

    .ait-home-contact__submit-area {
        min-height: 91px;
        vertical-align: top;
    }

    .ait-home-contact__submit {
        min-height: 62px;
    }

    .ait-home-contact__status {
        height: 0;
        min-height: 0;
        margin: 20px 0 0 -20px;
        overflow: visible;
    }

    .ait-home-contact__status:not(:empty) {
        height: auto;
        min-height: 24px;
        margin: 20px 0 0 -20px;
    }

    .ait-home-contact__decor-arrow {
        top: 2px;
    }
}
/* AIT CONTACT EXACT SOURCE MATCH END */

/* AIT CONTACT TITLE POSITION START */
@media (min-width: 1025px) {
    .ait-home-contact__vertical-title {
        left: -75px !important;
    }
}
/* AIT CONTACT TITLE POSITION END */
/*
AIT_HOME_CONTACT_TABLET_VERTICAL_TITLE_RIGHT
 * Move only the vertical CONTACTS title 50px right on tablets.
 */
@media (min-width: 768px) and (max-width: 1024px) {
    .ait-home-contact__vertical-title {
        left: -150px;
    }
}
