/* Contact flow: native PHP pages, matching the existing LP. */
.form-page {
    background: #f1f7fc;
    font-size: 17px
}

.form-page .header {
    position: sticky;
    background: #fff
}

.form-page .header__nav {
    box-shadow: none
}

.form-flow {
    padding: 70px 24px 100px;
    background: linear-gradient(160deg, #eef5fc, #fff)
}

.form-flow__inner {
    max-width: 960px;
    margin-inline: auto
}

.form-flow__eyebrow {
    font-family: var(--number);
    font-size: 64px;
    font-weight: 600;
    color: #a2bbdc;
    text-align: center;
    line-height: 1.2
}

.form-flow h1 {
    text-align: center;
    color: var(--ink);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.6;
    margin-top: 8px
}

.form-steps {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 35px 0 45px
}

.form-steps__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid #c8d7e7;
    border-radius: 50px;
    background: #fff;
    color: #596674;
    font-weight: 700;
    font-size: 17px;
    min-width: 0;
    flex: 1;
    max-width: 230px
}

.form-steps__item>span {
    display: grid;
    place-items: center;
    background: #e6edf5;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 17px;
    flex: 0 0 30px;
    line-height: 1
}

.form-steps__item.is-current {
    color: #fff;
    background: var(--gradient);
    border-color: var(--blue)
}

.form-steps__item.is-current>span {
    color: var(--blue);
    background: #fff
}

.form-flow__lead {
    text-align: center;
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 30px
}

.confirm-list {
    border: 1px solid #d6e2ef;
    border-radius: 15px;
    overflow: hidden;
    background: #fff
}

.confirm-list__row {
    display: grid;
    grid-template-columns: 230px 1fr;
    border-bottom: 1px solid #d6e2ef
}

.confirm-list__row:last-child {
    border-bottom: 0
}

.confirm-list dt {
    background: #e8f1fa;
    color: var(--ink);
    padding: 22px 24px;
    font-weight: 700;
    font-size: 17px
}

.confirm-list dd {
    padding: 22px 24px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 17px;
    line-height: 1.9
}

.form-flow__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap
}

.form-flow__buttons .button {
    flex: 1;
    max-width: 360px;
    min-height: 60px;
    font-size: 18px
}

.form-flow__back {
    background: #fff;
    color: var(--blue);
    box-shadow: none;
    border: 2px solid var(--blue)
}

.form-flow__status {
    font-size: 17px;
    text-align: center;
    margin-top: 18px;
    color: var(--ink)
}

.form-flow__status:empty {
    display: none
}

.form-flow__buttons button[disabled] {
    opacity: .7;
    cursor: wait
}

.form-result {
    padding: 45px 35px 55px;
    background: #fff;
    box-shadow: 0 0 20px #1f2a6b0a;
    border-radius: 16px;
    text-align: center
}

.form-result__symbol {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 25px;
    color: #fff;
    background: var(--gradient);
    border-radius: 50%;
    font-size: 38px;
    font-weight: 700;
    line-height: 1
}

.form-result__symbol--error {
    background: #d55740
}

.form-result h2 {
    font-size: clamp(23px, 3vw, 30px);
    line-height: 1.7;
    color: var(--ink);
    margin-bottom: 22px
}

.form-result>p:not(.form-result__symbol) {
    font-size: 18px;
    line-height: 2;
    margin-top: 8px
}

.contact-form__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap
}

.contact-form__server-errors {
    padding: 16px 20px;
    background: #fff4f0;
    border: 1px solid #d77363;
    color: #a42e21;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
    border-radius: 5px
}

.contact-form__server-errors:empty {
    display: none
}

.contact-form__steps {
    margin: 5px 0 28px;
    color: var(--ink);
    text-align: center;
    font-size: 17px
}

@media(max-width:800px) {
    .form-flow {
        padding: 45px 20px 60px
    }

    .form-flow__eyebrow {
        font-size: 52px
    }

    .form-page .footer {
        padding-bottom: 50px
    }

    .form-steps {
        gap: 7px;
        margin: 25px 0 30px
    }

    .form-steps__item {
        padding: 10px 7px;
        gap: 7px;
        flex-direction: column;
        line-height: 1.5;
        border-radius: 12px
    }

    .confirm-list__row {
        grid-template-columns: 1fr
    }

    .confirm-list dt {
        padding: 13px 18px
    }

    .confirm-list dd {
        padding: 18px
    }

    .form-flow__buttons {
        flex-direction: column;
        gap: 16px;
        margin-top: 30px
    }

    .form-flow__buttons .button {
        width: 100%;
        max-width: none;
        font-size: 17px;
        flex: auto
    }

    .form-result {
        padding: 30px 18px 35px
    }

    .form-flow__lead {
        font-size: 17px;
        text-align: left
    }

    .form-result>p:not(.form-result__symbol) {
        font-size: 17px
    }
}