.contact-landing {
    --contact-accent: #ff4f40;
    --contact-accent-dark: #df3d32;
    --contact-ink: #17202e;
    --contact-muted: #667085;
    --contact-line: #dfe4ea;
    --contact-soft: #f6f7f9;
    color: var(--contact-ink);
    overflow: hidden;
}

.contact-landing *,
.contact-landing *::before,
.contact-landing *::after {
    box-sizing: border-box;
}

.contact-landing a {
    text-decoration: none;
}

.contact-hero {
    position: relative;
    padding: 98px 0 84px;
    background: #fff;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 88% 22%, rgba(255, 79, 64, .12), transparent 30%),
        radial-gradient(circle at 76% 90%, rgba(46, 24, 106, .06), transparent 25%);
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
}

.contact-eyebrow,
.contact-section__eyebrow {
    color: var(--contact-accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    padding: 9px 13px;
    border: 1px solid rgba(255, 79, 64, .22);
    border-radius: 999px;
    background: rgba(255, 79, 64, .05);
}

.contact-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--contact-ink);
    font-size: clamp(50px, 5.3vw, 76px);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.contact-hero h1 span {
    color: var(--contact-accent);
}

.contact-hero__lead {
    max-width: 680px;
    margin: 26px 0 0;
    color: var(--contact-muted);
    font-size: 18px;
    line-height: 1.65;
}

.contact-hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 34px;
}

.contact-button,
.contact-text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    transition: transform .2s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-button--primary {
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 13px;
    background: var(--contact-accent);
    color: #fff;
    box-shadow: 0 15px 32px rgba(255, 79, 64, .2);
}

.contact-button--primary:hover {
    transform: translateY(-2px);
    background: var(--contact-accent-dark);
    color: #fff;
}

.contact-text-link {
    color: var(--contact-ink);
}

.contact-text-link:hover {
    color: var(--contact-accent);
}

.contact-hero__animation {
    position: relative;
    width: 100%;
    aspect-ratio: 610 / 369;
    margin: 0;
}

.contact-animation__player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .3s ease;
}

.contact-animation.is-ready .contact-animation__player {
    opacity: 1;
}

.contact-section {
    padding: 92px 0 110px;
    background: var(--contact-soft);
}

.contact-intro {
    position: sticky;
    top: 110px;
    padding-right: 42px;
}

.contact-section__eyebrow {
    margin-bottom: 13px;
}

.contact-intro h2 {
    margin: 0;
    color: var(--contact-ink);
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.contact-intro > p {
    max-width: 500px;
    margin: 20px 0 0;
    color: var(--contact-muted);
    font-size: 17px;
    line-height: 1.65;
}

.contact-tips {
    display: grid;
    gap: 13px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.contact-tips li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--contact-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-tips i {
    margin-top: 4px;
    color: var(--contact-accent);
}

.contact-direct {
    display: grid;
    gap: 4px;
    margin-top: 30px;
}

.contact-direct span {
    color: var(--contact-muted);
    font-size: 13px;
    line-height: 1.5;
}

.contact-direct a {
    color: var(--contact-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
}

.contact-direct a:hover {
    color: var(--contact-accent);
}

.contact-intro__animation {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 16 / 8;
    margin-top: 28px;
}

.contact-form-card {
    scroll-margin-top: 110px;
    padding: 44px;
    border: 1px solid var(--contact-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(23, 32, 46, .08);
}

.contact-form-card__heading {
    margin-bottom: 30px;
}

.contact-form-card__heading > span {
    display: block;
    margin-bottom: 7px;
    color: var(--contact-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-form-card__heading h3 {
    margin: 0;
    color: var(--contact-ink);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.contact-context,
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 24px;
    padding: 15px 17px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-context {
    background: #f5f3fb;
    color: #2e186a;
}

.contact-context div {
    display: grid;
    gap: 2px;
}

.contact-context span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-alert--success {
    background: #edf9f3;
    color: #18794e;
}

.contact-alert--info {
    background: #f3f7fb;
    color: #40536d;
}

.contact-alert--error {
    background: #fff1f0;
    color: #b42318;
}

.contact-success-state {
    display: flex;
    min-height: 430px;
    padding: 38px 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.contact-success-state__icon {
    display: grid;
    width: 88px;
    height: 88px;
    margin-bottom: 26px;
    place-items: center;
    border: 1px solid rgba(24, 121, 78, .18);
    border-radius: 50%;
    background: #edf9f3;
    color: #18794e;
    box-shadow: 0 16px 36px rgba(24, 121, 78, .12);
}

.contact-success-state__icon i {
    font-size: 38px;
}

.contact-success-state > span {
    margin-bottom: 8px;
    color: var(--contact-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-success-state h3 {
    margin: 0;
    color: var(--contact-ink);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.contact-success-state p {
    max-width: 430px;
    margin: 14px auto 0;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.65;
}

.contact-field {
    position: relative;
}

.contact-field label {
    display: block;
    margin-bottom: 9px;
    color: var(--contact-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--contact-line);
    border-radius: 14px;
    background: #fbfcfd;
    color: var(--contact-ink);
    font-size: 16px;
    line-height: 1.5;
    outline: 0;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-field input {
    height: 54px;
    padding: 0 16px;
}

.contact-field textarea {
    min-height: 180px;
    padding: 15px 16px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--contact-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 79, 64, .1);
}

.contact-field input.is-invalid,
.contact-field textarea.is-invalid {
    border-color: #d92d20;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, .08);
}

.contact-field textarea::placeholder {
    color: #98a2b3;
}

.contact-field__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.4;
}

.help-block {
    display: none;
    color: #d92d20;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
}

.help-block:not(:empty) {
    display: block;
    margin-top: 7px;
}

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 56px;
    padding: 14px 22px;
    border: 0;
    border-radius: 14px;
    background: var(--contact-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 16px 32px rgba(255, 79, 64, .2);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    background: var(--contact-accent-dark);
    box-shadow: 0 20px 36px rgba(255, 79, 64, .24);
}

.contact-submit:disabled,
.contact-submit.is-loading {
    cursor: wait;
    transform: none;
    opacity: .72;
    box-shadow: none;
}

.contact-submit:focus-visible,
.contact-button:focus-visible,
.contact-text-link:focus-visible {
    outline: 3px solid rgba(255, 79, 64, .28);
    outline-offset: 3px;
}

.contact-form-note {
    margin: 13px auto 0;
    color: var(--contact-muted);
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 1199px) {
    .contact-intro {
        padding-right: 18px;
    }
}

@media (max-width: 991px) {
    .contact-hero {
        padding: 78px 0 54px;
        text-align: center;
    }

    .contact-hero h1,
    .contact-hero__lead {
        margin-right: auto;
        margin-left: auto;
    }

    .contact-hero__actions {
        justify-content: center;
    }

    .contact-hero__animation {
        width: min(100%, 620px);
        margin: 0 auto;
    }

    .contact-section {
        padding: 70px 0 90px;
    }

    .contact-intro {
        position: relative;
        top: auto;
        padding-right: 0;
        text-align: center;
    }

    .contact-intro > p {
        margin-right: auto;
        margin-left: auto;
    }

    .contact-tips {
        width: fit-content;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .contact-intro__animation {
        margin-right: auto;
        margin-left: auto;
    }

    .contact-form-card {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .contact-hero {
        padding: 58px 0 0;
    }

    .contact-hero .row {
        --bs-gutter-y: 0;
    }

    .contact-eyebrow {
        display: none;
    }

    .contact-hero h1 {
        font-size: 36px;
        line-height: 1.08;
        letter-spacing: -.035em;
    }

    .contact-hero__lead {
        margin-top: 20px;
        font-size: 16px;
        line-height: 1.65;
    }

    .contact-hero__actions {
        justify-content: center;
        margin: 20px 0;
    }

    .contact-button--primary {
        width: 100%;
    }

    .contact-hero__animation {
        width: 100%;
        height: auto;
        margin: 0;
        overflow: visible;
        aspect-ratio: 610 / 369;
    }

    .contact-hero__animation .contact-animation__player {
        inset: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .contact-section {
        padding: 20px 0;
    }

    .contact-section .contact-intro {
        display: none !important;
    }

    .contact-section .contact-intro-column {
        display: none !important;
    }

    .contact-intro h2 {
        font-size: 34px;
        line-height: 1.12;
    }

    .contact-intro > p {
        font-size: 16px;
    }

    .contact-tips li {
        font-size: 14px;
    }

    .contact-intro__animation {
        margin-top: 20px;
    }

    .contact-form-card {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .contact-form-card__heading {
        text-align: center;
    }

    .contact-form-card__heading h3 {
        font-size: 25px;
    }

    .contact-success-state {
        min-height: 360px;
        padding: 28px 0;
    }

    .contact-success-state__icon {
        width: 76px;
        height: 76px;
        margin-bottom: 22px;
    }

    .contact-success-state__icon i {
        font-size: 32px;
    }

    .contact-success-state h3 {
        font-size: 28px;
    }

    .contact-field input,
    .contact-field textarea {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-button,
    .contact-submit,
    .contact-animation__player {
        transition: none;
    }
}
