/* ==========================================================
   BAVELGO CONTACT
   ========================================================== */

.contact-page {
    width: 100%;

    background:
        #ffffff;

    color:
        var(--bv-text);
}


/* ==========================================================
   HERO
   ========================================================== */

.contact-hero {
    padding:
        86px
        0
        56px;

    background:
        #ffffff;
}

.contact-hero-inner {
    width:
        min(
            100%,
            760px
        );

    margin:
        0
        auto;

    text-align: center;
}

.contact-eyebrow {
    display: block;

    margin-bottom: 13px;

    color:
        var(--bv-brand);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size: 11px;

    line-height: 1.3;

    font-weight: 600;

    letter-spacing: .07em;

    text-transform: uppercase;
}

.contact-hero h1 {
    margin: 0;

    color:
        var(--bv-ink);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        clamp(
            38px,
            4.2vw,
            48px
        );

    line-height: 1.12;

    letter-spacing: -0.04em;

    font-weight: 600;
}

.contact-hero p {
    width:
        min(
            100%,
            620px
        );

    margin:
        19px
        auto
        0;

    color:
        var(--bv-muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15.5px;

    line-height: 1.7;

    font-weight: 400;
}


/* ==========================================================
   MAIN CONTENT
   ========================================================== */

.contact-content {
    padding:
        0
        0
        96px;
}

.contact-layout {
    width:
        min(
            100%,
            1080px
        );

    margin:
        0
        auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, .65fr);

    gap: 28px;

    align-items: start;
}


/* ==========================================================
   FORM CARD
   ========================================================== */

.contact-form-card {
    min-width: 0;

    padding:
        34px
        36px
        36px;

    border:
        1px solid
        #e2dfe7;

    border-radius:
        16px;

    background:
        #ffffff;

    box-shadow:
        0 12px 32px
        rgba(28, 21, 38, .045);
}

.contact-form-heading {
    margin-bottom:
        28px;
}

.contact-form-heading > span {
    display: block;

    margin-bottom: 6px;

    color:
        var(--bv-brand);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size: 10.5px;

    line-height: 1.3;

    font-weight: 600;

    letter-spacing: .055em;

    text-transform: uppercase;
}

.contact-form-heading h2 {
    margin: 0;

    color:
        var(--bv-ink);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size: 24px;

    line-height: 1.25;

    font-weight: 600;

    letter-spacing: -0.025em;
}

.contact-form-heading p {
    margin:
        9px
        0
        0;

    color:
        var(--bv-muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13.5px;

    line-height: 1.65;
}


/* ==========================================================
   FORM
   ========================================================== */

.contact-form {
    width: 100%;
}

.contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        20px
        18px;
}

.contact-field {
    min-width: 0;
}

.contact-field-full {
    margin-top:
        20px;
}

.contact-field label {
    display: block;

    margin-bottom:
        7px;

    color:
        var(--bv-ink);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size: 11.5px;

    line-height: 1.4;

    font-weight: 600;
}

.contact-field label span {
    color:
        var(--bv-brand);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    border:
        1px solid
        #d8d9df;

    border-radius:
        9px;

    outline: none;

    background:
        #ffffff;

    color:
        var(--bv-text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13.5px;

    font-weight: 400;

    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}

.contact-field input,
.contact-field select {
    height:
        46px;

    padding:
        0
        13px;
}

.contact-field textarea {
    min-height:
        150px;

    padding:
        13px;

    line-height:
        1.55;

    resize:
        vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color:
        #9a9ca5;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color:
        #c6c7ce;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color:
        var(--bv-brand);

    box-shadow:
        0 0 0 3px
        rgba(112, 0, 255, .08);
}

.contact-select-wrap {
    position: relative;
}

.contact-select-wrap select {
    appearance: none;

    padding-right:
        42px;

    cursor: pointer;
}

.contact-select-wrap::after {
    content: "";

    width: 7px;
    height: 7px;

    position: absolute;

    right: 17px;
    top: 17px;

    pointer-events: none;

    border-right:
        1.5px solid
        #73757d;

    border-bottom:
        1.5px solid
        #73757d;

    transform:
        rotate(45deg);
}


/* ==========================================================
   FORM FOOTER
   ========================================================== */

.contact-form-footer {
    margin-top:
        27px;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap:
        15px;
}

.contact-form-footer p {
    margin: 0;

    color:
        var(--bv-muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11.5px;

    line-height: 1.5;

    text-align: center;
}

.contact-submit {
    min-width:
        174px;

    justify-content:
        center;

    text-align:
        center;
}


/* ==========================================================
   VALIDATION
   ========================================================== */

.contact-form-errors {
    margin-bottom:
        22px;

    padding:
        14px
        16px;

    border:
        1px solid
        #efc9cf;

    border-radius:
        9px;

    background:
        #fff8f9;

    color:
        #852434;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        12.5px;

    line-height:
        1.55;
}

.contact-form-errors strong {
    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        12px;

    font-weight:
        600;
}

.contact-form-errors ul {
    margin:
        8px
        0
        0;

    padding-left:
        18px;
}


/* ==========================================================
   INFORMATION PANEL
   ========================================================== */

.contact-info {
    overflow: hidden;

    border:
        1px solid
        #e6e2ea;

    border-radius:
        16px;

    background:
        #faf9fc;
}

.contact-info-heading {
    padding:
        30px
        28px
        27px;
}

.contact-info-heading > span {
    display: block;

    margin-bottom:
        8px;

    color:
        var(--bv-brand);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        10px;

    line-height:
        1.3;

    font-weight:
        600;

    letter-spacing:
        .065em;

    text-transform:
        uppercase;
}

.contact-info-heading h2 {
    margin: 0;

    color:
        var(--bv-ink);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        19px;

    line-height:
        1.4;

    font-weight:
        600;

    letter-spacing:
        -0.02em;
}

.contact-info-section {
    padding:
        25px
        28px;

    border-top:
        1px solid
        #e5e1e9;
}

.contact-info-label {
    display: block;

    margin-bottom:
        8px;

    color:
        var(--bv-brand);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        9.5px;

    line-height:
        1.3;

    font-weight:
        600;

    letter-spacing:
        .06em;

    text-transform:
        uppercase;
}

.contact-info-section h3 {
    margin: 0;

    color:
        var(--bv-ink);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        13px;

    line-height:
        1.45;

    font-weight:
        600;
}

.contact-info-section p {
    margin:
        8px
        0
        0;

    color:
        var(--bv-muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        12.5px;

    line-height:
        1.65;
}

.contact-info-small {
    padding-top:
        12px;

    border-top:
        1px solid
        #ebe8ee;
}


/* ==========================================================
   SUCCESS STATE — BACKEND READY
   ========================================================== */

.contact-success {
    width:
        min(
            100%,
            560px
        );

    margin:
        0
        auto;

    padding:
        22px
        0;

    text-align:
        center;
}

.contact-success-mark {
    width:
        46px;
    height:
        46px;

    margin:
        0
        auto
        17px;

    position:
        relative;

    border:
        1.5px solid
        var(--bv-brand);

    border-radius:
        50%;
}

.contact-success-mark span {
    width:
        14px;
    height:
        7px;

    position:
        absolute;

    left:
        14px;
    top:
        16px;

    border-left:
        2px solid
        var(--bv-brand);

    border-bottom:
        2px solid
        var(--bv-brand);

    transform:
        rotate(-45deg);
}

.contact-success-label {
    display:
        block;

    color:
        var(--bv-brand);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        10px;

    font-weight:
        600;

    letter-spacing:
        .06em;

    text-transform:
        uppercase;
}

.contact-success h2 {
    margin:
        8px
        0
        0;

    color:
        var(--bv-ink);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        30px;

    line-height:
        1.25;

    font-weight:
        600;

    letter-spacing:
        -0.03em;
}

.contact-success-lead {
    width:
        min(
            100%,
            460px
        );

    margin:
        13px
        auto
        0;

    color:
        var(--bv-muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        14px;

    line-height:
        1.65;
}

.contact-reference {
    width:
        min(
            100%,
            330px
        );

    margin:
        28px
        auto
        0;

    padding:
        17px
        20px;

    border:
        1px solid
        #dfd6ec;

    border-radius:
        11px;

    background:
        #faf7ff;
}

.contact-reference span {
    display:
        block;

    color:
        var(--bv-muted);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        9px;

    font-weight:
        600;

    letter-spacing:
        .07em;

    text-transform:
        uppercase;
}

.contact-reference strong {
    display:
        block;

    margin-top:
        6px;

    color:
        var(--bv-brand);

    font-family:
        Poppins,
        Arial,
        sans-serif;

    font-size:
        18px;

    line-height:
        1.3;

    font-weight:
        600;
}

.contact-success-note,
.contact-success-response {
    width:
        min(
            100%,
            430px
        );

    margin:
        14px
        auto
        0;

    color:
        var(--bv-muted);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        12.5px;

    line-height:
        1.6;
}

.contact-success-response {
    color:
        var(--bv-ink);

    font-weight:
        600;
}

.contact-back-button {
    min-width:
        160px;

    margin-top:
        24px;

    justify-content:
        center;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 960px) {

    .contact-layout {
        width:
            min(
                100%,
                700px
            );

        grid-template-columns:
            1fr;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    .contact-hero {
        padding:
            59px
            0
            39px;
    }

    .contact-hero-inner {
        width:
            min(
                100%,
                410px
            );
    }

    .contact-eyebrow {
        margin-bottom:
            11px;

        font-size:
            9.5px;
    }

    .contact-hero h1 {
        width:
            min(
                100%,
                350px
            );

        margin:
            0
            auto;

        font-size:
            34px;

        line-height:
            1.13;
    }

    .contact-hero p {
        width:
            min(
                100%,
                360px
            );

        margin-top:
            15px;

        font-size:
            14px;

        line-height:
            1.65;
    }

    .contact-content {
        padding-bottom:
            65px;
    }

    .contact-layout {
        width:
            min(
                100%,
                430px
            );

        gap:
            24px;
    }

    .contact-form-card {
        padding:
            27px
            20px
            29px;

        border-radius:
            14px;
    }

    .contact-form-heading {
        margin-bottom:
            23px;
    }

    .contact-form-heading h2 {
        font-size:
            22px;
    }

    .contact-form-grid {
        grid-template-columns:
            1fr;

        gap:
            18px;
    }

    .contact-field-full {
        margin-top:
            18px;
    }

    .contact-field input,
    .contact-field select {
        height:
            45px;
    }

    .contact-field textarea {
        min-height:
            145px;
    }

    .contact-form-footer {
        margin-top:
            24px;
    }

    .contact-submit {
        width:
            min(
                100%,
                210px
            );
    }

    .contact-info-heading,
    .contact-info-section {
        padding-left:
            22px;

        padding-right:
            22px;
    }

    .contact-success {
        padding:
            12px
            0;
    }

    .contact-success h2 {
        font-size:
            27px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 380px) {

    .contact-hero h1 {
        font-size:
            31px;
    }

    .contact-form-card {
        padding-left:
            17px;

        padding-right:
            17px;
    }

}


/*
|--------------------------------------------------------------------------
| BAVELGO CONTACT CANONICAL LAYOUT 2026
|--------------------------------------------------------------------------
|
| Existing canonical components only.
| Information left / Contact form right.
|
*/

.contact-page {
    width: 100%;
    overflow-x: hidden;
}


.contact-content {
    background: #ffffff;
}


.contact-layout {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(280px, .72fr)
        minmax(520px, 1.28fr);

    gap: 34px;

    align-items: start;
}


/*
 * Existing Blade order remains untouched.
 * CSS defines visual order only.
 */

.contact-info {
    order: 1;

    width: 100%;

    min-width: 0;
}


.contact-form-card {
    order: 2;

    width: 100%;

    min-width: 0;
}


/*
 * Contact information
 */

.contact-info {
    position: sticky;

    top: 104px;

    background: #ffffff;
}


.contact-info-heading,
.contact-info-section {
    background: #ffffff;
}


/*
 * Form
 */

.contact-form-card {
    background: #ffffff;
}


.contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 18px;
}


.contact-field,
.contact-field-full {
    min-width: 0;
}


.contact-field-full {
    grid-column: 1 / -1;
}


.contact-field input,
.contact-field select,
.contact-field textarea {

    width: 100%;

    max-width: 100%;

    box-sizing: border-box;
}


/*
 * Telephone: numeric input feel.
 */

#contact-phone {
    font-variant-numeric:
        tabular-nums;
}


/*
 * Submit button.
 */

#bavelgoContactSubmit {

    min-width: 180px;

    pointer-events: auto;

    opacity: 1;

    cursor: pointer;
}


#bavelgoContactSubmit:disabled {

    opacity: .68;

    cursor: wait;
}


/*
 * Tablet
 */

@media (max-width: 1020px) {

    .contact-layout {

        grid-template-columns:
            minmax(240px, .7fr)
            minmax(440px, 1.3fr);

        gap: 24px;
    }
}


/*
 * Mobile
 */

@media (max-width: 820px) {

    .contact-layout {

        grid-template-columns:
            1fr;

        gap: 24px;
    }


    .contact-info {

        order: 1;

        position: static;
    }


    .contact-form-card {

        order: 2;
    }


    .contact-form-grid {

        grid-template-columns:
            1fr;
    }


    .contact-field-full {

        grid-column: auto;
    }


    #bavelgoContactSubmit {

        width: 100%;
    }
}



/*
|--------------------------------------------------------------------------
| BAVELGO CONTACT — CENTERED FORM UI 2026
|--------------------------------------------------------------------------
|
| Canonical Contact form only.
| No logic changes.
| No duplicate components.
|
*/

.contact-page {
    width: 100%;
    overflow-x: hidden;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

.contact-hero {
    padding-top: 64px;
    padding-bottom: 28px;
}


.contact-hero-inner {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


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


.contact-hero h1 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}


.contact-hero p {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}


/* ----------------------------------------------------------
   MAIN CONTENT
   ---------------------------------------------------------- */

.contact-content {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 80px;
}


.contact-content > .bv-container {
    width: min(
        100% - 40px,
        900px
    );

    margin-left: auto;
    margin-right: auto;
}


/* ----------------------------------------------------------
   SINGLE CENTERED COLUMN
   ---------------------------------------------------------- */

.contact-layout {
    display: block;

    width: 100%;
    max-width: 820px;

    margin-left: auto;
    margin-right: auto;
}


/* ----------------------------------------------------------
   FORM CARD
   ---------------------------------------------------------- */

.contact-form-card {
    width: 100%;
    max-width: 820px;

    margin: 0 auto;

    padding: 38px 40px 40px;

    border-radius: 20px;

    background: #ffffff;

    border: 1px solid #e7eaf0;

    box-shadow:
        0 2px 4px rgba(15, 23, 42, .02),
        0 18px 55px rgba(15, 23, 42, .07);

    position: relative;
    overflow: hidden;
}


.contact-form-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            #6d5dfc,
            #8b5cf6,
            #38bdf8
        );
}


/* ----------------------------------------------------------
   FORM HEADING
   ---------------------------------------------------------- */

.contact-form-heading {
    max-width: 620px;

    margin:
        0 auto
        30px;

    text-align: center;
}


.contact-form-heading > span {
    display: inline-flex;

    margin-bottom: 10px;
}


.contact-form-heading h2 {
    margin:
        0 0
        10px;

    font-size: 27px;
    line-height: 1.2;

    letter-spacing: -.025em;
}


.contact-form-heading p {
    max-width: 560px;

    margin:
        0 auto;

    font-size: 14px;
    line-height: 1.65;
}


/* ----------------------------------------------------------
   FORM GRID
   ---------------------------------------------------------- */

.contact-form-grid {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 20px;
}


.contact-field {
    min-width: 0;
}


.contact-field-full {
    grid-column: 1 / -1;
}


/* ----------------------------------------------------------
   LABELS
   ---------------------------------------------------------- */

.contact-field label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 600;

    color: #253044;
}


.contact-field label span {
    color: #dc2626;
}


/* ----------------------------------------------------------
   INPUTS
   ---------------------------------------------------------- */

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    border: 1px solid #d8dee8;

    border-radius: 10px;

    background: #ffffff;

    color: #111827;

    font-size: 14px;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}


.contact-field input,
.contact-field select {
    min-height: 48px;

    padding:
        0 14px;
}


.contact-field textarea {
    min-height: 160px;

    padding:
        13px 14px;

    line-height: 1.6;

    resize: vertical;
}


.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9aa3b2;
}


.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color: #bcc5d3;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;

    border-color: #765df6;

    box-shadow:
        0 0 0 3px
        rgba(118, 93, 246, .10);
}


/* ----------------------------------------------------------
   PHONE
   ---------------------------------------------------------- */

#contact-phone {
    font-variant-numeric:
        tabular-nums;
}


/* ----------------------------------------------------------
   TOPIC SELECT
   ---------------------------------------------------------- */

.contact-select-wrap {
    width: 100%;
}


/* ----------------------------------------------------------
   FOOTER / BUTTON
   ---------------------------------------------------------- */

.contact-form-footer {
    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 12px;

    margin-top: 24px;
}


.contact-form-footer p {
    order: 2;

    margin: 0;

    text-align: center;

    font-size: 12px;
    line-height: 1.5;

    color: #788397;
}


#bavelgoContactSubmit {
    order: 1;

    width: 100%;

    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    pointer-events: auto;

    opacity: 1;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease;
}


#bavelgoContactSubmit:hover:not(:disabled) {
    transform: translateY(-1px);
}


#bavelgoContactSubmit:disabled {
    opacity: .65;

    cursor: wait;

    transform: none;
}


/* ----------------------------------------------------------
   SUCCESS / ERROR
   ---------------------------------------------------------- */

.contact-success-alert,
.contact-form-errors {
    width: 100%;

    box-sizing: border-box;

    border-radius: 10px;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .contact-content > .bv-container {
        width: min(
            100% - 32px,
            820px
        );
    }


    .contact-form-card {
        padding:
            34px
            30px
            36px;
    }
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 680px) {

    .contact-hero {
        padding-top: 42px;
        padding-bottom: 18px;
    }


    .contact-content {
        padding-top: 12px;
        padding-bottom: 52px;
    }


    .contact-content > .bv-container {
        width: calc(100% - 24px);
    }


    .contact-form-card {
        padding:
            28px
            20px
            30px;

        border-radius: 16px;
    }


    .contact-form-heading {
        margin-bottom: 24px;
    }


    .contact-form-heading h2 {
        font-size: 23px;
    }


    .contact-form-grid {
        grid-template-columns:
            1fr;

        gap: 16px;
    }


    .contact-field-full {
        grid-column: auto;
    }


    .contact-field input,
    .contact-field select {
        min-height: 47px;
    }


    .contact-field textarea {
        min-height: 145px;
    }


    #bavelgoContactSubmit {
        min-height: 49px;
    }
}

