.contact-page {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 12% 20%,
            rgba(105, 88, 234, 0.16),
            transparent 33%
        ),
        radial-gradient(
            circle at 87% 76%,
            rgba(138, 124, 255, 0.09),
            transparent 31%
        ),
        #050519;
    color: #ffffff;
}

.contact-hero {
    position: relative;
    padding: 132px 0 105px;
}

.contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.024) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.024) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75),
            transparent 90%
        );
}

.contact-hero > .container {
    width: min(
        calc(100% - 48px),
        1320px
    );
}

.contact-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns:
        minmax(470px, 0.88fr)
        minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(55px, 6vw, 96px);
}

.contact-hero__content {
    min-width: 0;
    max-width: 720px;
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #a99fff;
    font-size: 13px;
    font-weight: 800;
}

.contact-kicker::before {
    content: "";
    width: 30px;
    height: 1px;
    background: currentColor;
}

.contact-hero h1 {
    max-width: 760px;
    margin: 21px 0 0;
    font-size: clamp(
        45px,
        4.2vw,
        64px
    );
    line-height: 1.32;
    letter-spacing: -1.2px;
    text-wrap: balance;
}

.contact-hero h1 span {
    display: block;
    color: #8a7cff;
}

.contact-hero__content > p {
    max-width: 650px;
    margin: 22px 0 0;
    color: #c8c6d9;
    font-size: 15px;
    line-height: 2.15;
}

.contact-steps {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.contact-steps article {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid rgba(
        255,
        255,
        255,
        0.08
    );
    border-radius: 14px;
    background: rgba(
        255,
        255,
        255,
        0.026
    );
}

.contact-steps article > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: rgba(
        105,
        88,
        234,
        0.15
    );
    color: #a99fff;
    font-size: 10px;
    font-weight: 800;
}

.contact-steps strong {
    font-size: 11px;
}

.contact-steps p {
    margin: 3px 0 0;
    color: #9593a8;
    font-size: 9px;
    line-height: 1.8;
}

.contact-notice {
    margin-top: 23px;
    padding: 17px;
    border-right: 2px solid #6958ea;
    border-radius: 12px 0 0 12px;
    background: rgba(
        105,
        88,
        234,
        0.055
    );
}

.contact-notice strong {
    display: block;
    font-size: 11px;
}

.contact-notice p {
    margin: 5px 0 0;
    color: #9694a8;
    font-size: 9px;
    line-height: 1.8;
}

.contact-notice a {
    display: inline-flex;
    margin-top: 9px;
    color: #a99fff;
    font-size: 9px;
    font-weight: 700;
}

.contact-form-card {
    position: relative;
    width: 100%;
    max-width: 590px;
    padding: 30px;
    border: 1px solid rgba(
        138,
        124,
        255,
        0.18
    );
    border-radius: 26px;
    background:
        linear-gradient(
            145deg,
            rgba(17, 17, 42, 0.95),
            rgba(7, 8, 23, 0.99)
        );
    box-shadow:
        0 30px 80px rgba(
            0,
            0,
            0,
            0.28
        );
}

.contact-form-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: inherit;
    opacity: 0.55;
    background:
        linear-gradient(
            135deg,
            rgba(138, 124, 255, 0.3),
            transparent 34%,
            transparent 70%,
            rgba(105, 88, 234, 0.18)
        );
}

.contact-form-card__heading span {
    color: #a99fff;
    font-size: 10px;
    font-weight: 800;
}

.contact-form-card__heading h2 {
    margin: 6px 0 0;
    font-size: 25px;
    line-height: 1.5;
}

.contact-form-card__heading p {
    max-width: 440px;
    margin: 8px 0 0;
    color: #aaa8bc;
    font-size: 10px;
    line-height: 1.9;
}

.contact-form {
    margin-top: 24px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 13px 14px;
}

.contact-field {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 7px;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-field > span {
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

.contact-field > span i {
    color: #ff93a4;
    font-style: normal;
}

.contact-field > span em {
    margin-right: 4px;
    color: #85839a;
    font-size: 8px;
    font-style: normal;
    font-weight: 400;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    outline: 0;
    border: 1px solid rgba(
        255,
        255,
        255,
        0.09
    );
    border-radius: 12px;
    background: rgba(
        255,
        255,
        255,
        0.038
    );
    color: #ffffff;
    font: inherit;
    transition:
        border-color 180ms ease,
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.contact-field input {
    height: 52px;
    padding: 0 14px;
}

.contact-field textarea {
    min-height: 175px;
    padding: 13px 14px;
    resize: vertical;
    line-height: 1.9;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(
        200,
        198,
        217,
        0.5
    );
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #8a7cff;
    background: rgba(
        105,
        88,
        234,
        0.065
    );
    box-shadow:
        0 0 0 4px rgba(
            105,
            88,
            234,
            0.1
        );
}

.contact-field input.is-invalid,
.contact-field textarea.is-invalid {
    border-color: rgba(
        255,
        111,
        133,
        0.72
    );
    box-shadow:
        0 0 0 4px rgba(
            255,
            111,
            133,
            0.08
        );
}

.contact-field > small {
    min-height: 14px;
    color: #ff9cac;
    font-size: 8px;
    line-height: 1.6;
}

.contact-input-ltr {
    direction: ltr;
    text-align: left;
}

.contact-field input:-webkit-autofill,
.contact-field input:-webkit-autofill:hover,
.contact-field input:-webkit-autofill:focus,
.contact-field textarea:-webkit-autofill {
    -webkit-text-fill-color: #ffffff;
    caret-color: #ffffff;
    transition:
        background-color 9999s ease-out 0s;
    box-shadow:
        0 0 0 1000px
        #111127 inset;
}

.contact-message-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.contact-message-meta small {
    min-height: 14px;
    color: #ff9cac;
    font-size: 8px;
}

.contact-message-meta span {
    flex: 0 0 auto;
    color: #747287;
    font-size: 8px;
    direction: rtl;
}

.contact-form__message {
    margin: 15px 0;
    padding: 12px 14px;
    border-radius: 11px;
    font-size: 10px;
    line-height: 1.8;
}

.contact-form__message[hidden] {
    display: none;
}

.contact-form__message.is-error {
    border: 1px solid rgba(
        255,
        111,
        133,
        0.22
    );
    background: rgba(
        255,
        111,
        133,
        0.08
    );
    color: #ffabb7;
}

.contact-form__message.is-success {
    border: 1px solid rgba(
        36,
        199,
        142,
        0.22
    );
    background: rgba(
        36,
        199,
        142,
        0.08
    );
    color: #73e0ba;
}

.contact-submit-button {
    min-height: 54px;
    margin-top: 2px;
}

.contact-form__privacy {
    margin: 10px 0 0;
    color: #777589;
    font-size: 8px;
    line-height: 1.8;
    text-align: center;
}

.contact-form.is-submitting {
    opacity: 0.7;
    pointer-events: none;
}

.contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.contact-success {
    padding: 45px 15px 25px;
    text-align: center;
}

.contact-success[hidden] {
    display: none;
}

.contact-success__icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto;
    border: 1px solid rgba(
        36,
        199,
        142,
        0.28
    );
    border-radius: 50%;
    background: rgba(
        36,
        199,
        142,
        0.09
    );
    color: #73e0ba;
    font-size: 30px;
}

.contact-success h2 {
    margin: 20px 0 0;
    font-size: 25px;
}

.contact-success p {
    max-width: 420px;
    margin: 11px auto 0;
    color: #aaa8bc;
    font-size: 12px;
    line-height: 2;
}

.contact-success strong {
    display: block;
    margin: 15px 0 20px;
    color: #a99fff;
    font-size: 13px;
}

@media (max-width: 980px) {
    .contact-hero__grid {
        grid-template-columns: 1fr;
    }

    .contact-hero__content {
        max-width: 780px;
        margin-inline: auto;
        text-align: center;
    }

    .contact-hero__content > p {
        margin-inline: auto;
    }

    .contact-steps,
    .contact-notice {
        max-width: 720px;
        margin-inline: auto;
        text-align: right;
    }

    .contact-steps {
        margin-top: 30px;
    }

    .contact-notice {
        margin-top: 23px;
    }

    .contact-form-card {
        max-width: 720px;
        margin-inline: auto;
    }
}

@media (max-width: 700px) {
    .contact-page {
        padding-bottom: 88px;
    }

    .contact-hero {
        padding: 105px 0 55px;
    }

    .contact-hero > .container {
        width: min(
            calc(100% - 30px),
            1320px
        );
    }

    .contact-hero__grid {
        gap: 38px;
    }

    .contact-hero h1 {
        margin-top: 17px;
        font-size: clamp(
            34px,
            10vw,
            42px
        );
        line-height: 1.45;
    }

    .contact-hero__content > p {
        margin-top: 17px;
        font-size: 13px;
        line-height: 2.05;
    }

    .contact-form-card {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .contact-form-card__heading h2 {
        font-size: 21px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .contact-field--full {
        grid-column: auto;
    }

    .contact-field input {
        height: 54px;
    }

    .contact-field textarea {
        min-height: 155px;
    }
}