body.contact-page {
    color: #061f33;

    background:
        #f4f8fb;
}


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

.contact-main {
    min-height:
        100vh;

    padding:
        92px
        0
        clamp(
            72px,
            7vw,
            110px
        );

    background:
        radial-gradient(
            circle at 82% 14%,
            rgba(
                18,
                143,
                232,
                0.11
            ),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f8fafc 0%,
            #eef5f9 100%
        );
}


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

.contact-hero {
    width:
        min(
            980px,
            calc(
                100% -
                48px
            )
        );

    margin-inline:
        auto;

    padding:
        clamp(
            42px,
            5vw,
            70px
        )
        0
        clamp(
            34px,
            4vw,
            54px
        );

    text-align:
        center;
}


.contact-eyebrow,
.contact-section-label,
.contact-direct__eyebrow,
.contact-direct__mini-label {
    margin:
        0;

    color:
        #128fe8;

    font-size:
        0.7rem;

    font-weight:
        900;

    letter-spacing:
        0.18em;

    text-transform:
        uppercase;
}


.contact-hero h1 {
    max-width:
        850px;

    margin:
        12px
        auto
        0;

    color:
        #071f32;

    font-size:
        clamp(
            2.35rem,
            4vw,
            4.25rem
        );

    font-weight:
        850;

    line-height:
        0.98;

    letter-spacing:
        -0.055em;
}


.contact-hero__intro {
    max-width:
        720px;

    margin:
        18px
        auto
        0;

    color:
        #627b8d;

    font-size:
        clamp(
            0.96rem,
            1.1vw,
            1.08rem
        );

    line-height:
        1.62;
}


/* =========================================================
   LAYOUT PRINCIPAL
   ========================================================= */

.contact-layout {
    width:
        min(
            1400px,
            calc(
                100% -
                56px
            )
        );

    margin-inline:
        auto;

    display:
        grid;

    grid-template-columns:
        minmax(
            0,
            1.72fr
        )
        minmax(
            320px,
            0.72fr
        );

    gap:
        26px;

    align-items:
        start;
}


/* =========================================================
   FORMULARIO
   ========================================================= */

.contact-quote-card {
    padding:
        clamp(
            28px,
            3vw,
            48px
        );

    border:
        1px solid
        rgba(
            7,
            31,
            50,
            0.09
        );

    border-radius:
        28px;

    background:
        rgba(
            255,
            255,
            255,
            0.96
        );

    box-shadow:
        0
        24px
        60px
        rgba(
            26,
            47,
            64,
            0.09
        );
}


.contact-quote-card__header {
    max-width:
        730px;
}


.contact-quote-card__header h2 {
    margin:
        10px
        0
        0;

    color:
        #071f32;

    font-size:
        clamp(
            1.8rem,
            2.4vw,
            2.55rem
        );

    line-height:
        1.05;

    letter-spacing:
        -0.04em;
}


.contact-quote-card__header > p:last-child {
    margin:
        12px
        0
        0;

    color:
        #657e90;

    font-size:
        0.94rem;

    line-height:
        1.58;
}


.contact-form {
    margin-top:
        32px;
}


.contact-form__grid {
    display:
        grid;

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

    gap:
        19px;
}


.contact-field {
    display:
        grid;

    gap:
        8px;
}.contact-field--full,
.contact-submit,
.contact-form__helper,
.contact-form__status {
    grid-column:
        1 / -1;
}


.contact-field label {
    color:
        #09263b;

    font-size:
        0.82rem;

    font-weight:
        850;
}


.contact-field label span {
    margin-left:
        4px;

    color:
        #8297a5;

    font-weight:
        650;
}


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

    min-height:
        54px;

    border:
        1px solid
        rgba(
            7,
            31,
            50,
            0.14
        );

    border-radius:
        14px;

    padding:
        14px
        15px;

    color:
        #061f33;

    background:
        #f8fafc;

    font:
        inherit;

    font-size:
        0.94rem;

    outline:
        none;

    transition:
        border-color
        180ms ease,
        box-shadow
        180ms ease,
        background-color
        180ms ease;
}


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

    resize:
        vertical;

    line-height:
        1.5;
}


.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color:
        #128fe8;

    background:
        #ffffff;

    box-shadow:
        0
        0
        0
        4px
        rgba(
            18,
            143,
            232,
            0.11
        );
}


/* =========================================================
   SUBMIT
   ========================================================= */

.contact-submit {
    min-height:
        58px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        0
        22px;

    border:
        0;

    border-radius:
        14px;

    color:
        #ffffff;

    background:
        #071f32;

    font-size:
        0.95rem;

    font-weight:
        850;

    cursor:
        pointer;

    transition:
        transform
        180ms ease,
        background-color
        180ms ease,
        box-shadow
        180ms ease;
}


.contact-submit:hover,
.contact-submit:focus-visible {
    background:
        #128fe8;

    transform:
        translateY(
            -2px
        );

    box-shadow:
        0
        13px
        26px
        rgba(
            18,
            143,
            232,
            0.20
        );
}


.contact-submit span:last-child {
    font-size:
        1.15rem;
}


.contact-form__helper {
    margin:
        -4px
        0
        0;

    color:
        #758b99;

    font-size:
        0.76rem;

    line-height:
        1.5;

    text-align:
        center;
}


.contact-form__status {
    min-height:
        18px;

    margin:
        -7px
        0
        0;

    color:
        #17794f;

    font-size:
        0.78rem;

    font-weight:
        750;

    text-align:
        center;
}


.contact-form__status.is-error {
    color:
        #b93d35;
}


/* =========================================================
   PANEL CONTACTO DIRECTO
   ========================================================= */

.contact-direct {
    position: sticky;

    top: 118px;

    padding:
        clamp(
            24px,
            2.2vw,
            32px
        );

    border-radius: 26px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #061d30 0%,
            #0a2c44 100%
        );

    box-shadow:
        0 22px 50px
        rgba(
            5,
            25,
            39,
            0.18
        );

    overflow: hidden;
}


.contact-direct::before {
    content:
        "";

    position:
        absolute;

    width:
        260px;

    height:
        260px;

    top:
        -150px;

    right:
        -120px;

    border-radius:
        50%;

    background:
        rgba(
            18,
            143,
            232,
            0.20
        );

    pointer-events:
        none;
}


.contact-direct__eyebrow,
.contact-direct__mini-label {
    position:
        relative;

    color:
        #63c8ff;
}


.contact-direct h2 {
    position: relative;

    margin:
        9px
        0
        0;

    font-size:
        clamp(
            1.55rem,
            2vw,
            2.15rem
        );

    line-height: 1.04;

    letter-spacing:
        -0.04em;
}


.contact-direct__intro {
    position: relative;

    margin:
        10px
        0
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.70
        );

    font-size: 0.84rem;

    line-height: 1.5;
}


.contact-direct__phone-block {
    position: relative;

    margin-top: 22px;

    display: grid;

    gap: 4px;
}


.contact-direct__phone-block span {
    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size:
        0.67rem;

    font-weight:
        850;

    letter-spacing:
        0.15em;
}


.contact-direct__phone-block a {
    width: fit-content;

    color: #ffffff;

    font-size:
        clamp(
            1.55rem,
            2.15vw,
            2rem
        );

    font-weight: 850;

    letter-spacing:
        -0.035em;

    text-decoration: none;
}


.contact-call-button {
    position: relative;

    min-height: 49px;

    margin-top: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    color: #071f32;

    background: #ffffff;

    font-size: 0.88rem;

    font-weight: 850;

    text-decoration: none;

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}


.contact-call-button:hover,
.contact-call-button:focus-visible {
    background:
        #dff3ff;

    transform:
        translateY(
            -2px
        );
}


.contact-direct__divider {
    position: relative;

    height: 1px;

    margin:
        20px
        0;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
}


/* =========================================================
   ÁREA
   ========================================================= */

.contact-direct__area {
    position:
        relative;
}


.contact-direct__area h3 {
    margin:
        8px
        0
        0;

    font-size: 0.98rem;

    line-height: 1.35;
}


.contact-area-chips {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 12px;
}


.contact-area-chips span {
    padding:
        7px
        9px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.13
        );

    border-radius: 999px;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

    font-size: 0.69rem;

    font-weight: 750;
}


/* =========================================================
   PASOS
   ========================================================= */

.contact-steps {
    position: relative;

    display: grid;

    gap: 9px;
}


.contact-step {
    display: grid;

    grid-template-columns:
        28px
        minmax(
            0,
            1fr
        );

    gap: 9px;

    align-items: center;
}


.contact-step__number {
    width: 28px;
    height: 28px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #ffffff;

    background: #128fe8;

    font-size: 0.67rem;

    font-weight: 900;
}


.contact-step p {
    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.75
        );

    font-size: 0.75rem;

    line-height: 1.38;
}


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

@media (
    max-width:
    1050px
) {

    .contact-main {
        padding-top:
            82px;
    }


    .contact-layout {
        width:
            min(
                900px,
                calc(
                    100% -
                    38px
                )
            );

        grid-template-columns:
            1fr;
    }


    .contact-direct {
    position: sticky;

    top: 118px;

    padding:
        clamp(
            24px,
            2.2vw,
            32px
        );

    border-radius: 26px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #061d30 0%,
            #0a2c44 100%
        );

    box-shadow:
        0 22px 50px
        rgba(
            5,
            25,
            39,
            0.18
        );

    overflow: hidden;
}


    .contact-direct__eyebrow,
    .contact-direct h2,
    .contact-direct__intro,
    .contact-direct__phone-block,
    .contact-call-button {
    position: relative;

    min-height: 49px;

    margin-top: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    color: #071f32;

    background: #ffffff;

    font-size: 0.88rem;

    font-weight: 850;

    text-decoration: none;

    transition:
        transform 180ms ease,
        background-color 180ms ease;
}


    .contact-direct__divider {
    position: relative;

    height: 1px;

    margin:
        20px
        0;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
}


    .contact-direct__area,
    .contact-steps {
    position: relative;

    display: grid;

    gap: 9px;
}

}


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

@media (
    max-width:
    640px
) {

    .contact-main {
        padding-top:
            74px;

        padding-bottom:
            58px;
    }


    .contact-hero {
        width:
            calc(
                100% -
                28px
            );

        padding:
            34px
            0
            28px;

        text-align:
            left;
    }


    .contact-hero h1 {
        margin-top:
            10px;

        font-size:
            clamp(
                2.15rem,
                11vw,
                3.15rem
            );
    }


    .contact-hero__intro {
        margin-inline:
            0;
    }


    .contact-layout {
        width:
            calc(
                100% -
                24px
            );

        gap:
            16px;
    }


    .contact-quote-card {
        padding:
            22px
            18px;

        border-radius:
            20px;
    }


    .contact-form {
        margin-top:
            25px;
    }


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

        gap:
            15px;
    }.contact-field--full,
.contact-submit,
.contact-form__helper,
.contact-form__status {
        grid-column:
            auto;
    }


    .contact-form__helper,
    .contact-form__status {
        text-align:
            left;
    }


    .contact-direct {
    position: sticky;

    top: 118px;

    padding:
        clamp(
            24px,
            2.2vw,
            32px
        );

    border-radius: 26px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #061d30 0%,
            #0a2c44 100%
        );

    box-shadow:
        0 22px 50px
        rgba(
            5,
            25,
            39,
            0.18
        );

    overflow: hidden;
}


    .contact-direct__phone-block {
    position: relative;

    margin-top: 22px;

    display: grid;

    gap: 4px;
}


    .contact-direct__phone-block a {
    width: fit-content;

    color: #ffffff;

    font-size:
        clamp(
            1.55rem,
            2.15vw,
            2rem
        );

    font-weight: 850;

    letter-spacing:
        -0.035em;

    text-decoration: none;
}


    .contact-direct__divider {
    position: relative;

    height: 1px;

    margin:
        20px
        0;

    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
}


    .contact-direct__area,
    .contact-steps {
    position: relative;

    display: grid;

    gap: 9px;
}

}


/* PATCH 05 - MOBILE CONTENT CENTERING - CONTACT */
@media (max-width: 640px) {
    .contact-hero {
        text-align: center !important;
    }

    .contact-hero__intro {
        margin-inline: auto !important;
    }

    .contact-quote-card__header,
    .contact-direct {
        text-align: center;
    }

    .contact-form__helper,
    .contact-form__status {
        text-align: center !important;
    }

    .contact-direct__phone-block {
        justify-items: center;
    }

    .contact-direct__phone-block a,
    .contact-call-button {
        margin-inline: auto;
    }

    .contact-area-chips {
        justify-content: center;
    }

    .contact-step {
        width: min(100%, 390px);
        margin-inline: auto;
    }
}


/* =========================================================
   FINAL FIX · CONTACT DIRECT RESPONSIVE VISIBILITY
========================================================= */
@media (max-width: 1050px) {
    .contact-direct {
        position: relative !important;
        top: auto !important;
    }

    .contact-direct__eyebrow {
        min-height: 0 !important;
        margin: 0 !important;
        display: block !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: #63c8ff !important;
        background: transparent !important;
        font-size: 0.7rem !important;
        font-weight: 900 !important;
        letter-spacing: 0.18em !important;
        text-transform: uppercase !important;
    }

    .contact-direct h2 {
        min-height: 0 !important;
        margin: 9px 0 0 !important;
        display: block !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        background: transparent !important;
        font-size: clamp(1.55rem, 4vw, 2.15rem) !important;
        font-weight: 850 !important;
        line-height: 1.04 !important;
        letter-spacing: -0.04em !important;
    }

    .contact-direct__intro {
        min-height: 0 !important;
        margin: 10px 0 0 !important;
        display: block !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: rgba(255, 255, 255, 0.70) !important;
        background: transparent !important;
        font-size: 0.84rem !important;
        font-weight: 400 !important;
        line-height: 1.5 !important;
    }

    .contact-direct__phone-block {
        min-height: 0 !important;
        margin-top: 22px !important;
        display: grid !important;
        gap: 4px !important;
        padding: 0 !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        background: transparent !important;
    }

    .contact-direct__phone-block span {
        color: rgba(255, 255, 255, 0.55) !important;
    }

    .contact-direct__phone-block a {
        color: #ffffff !important;
        background: transparent !important;
        font-size: clamp(1.45rem, 6.4vw, 2rem) !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 640px) {
    .contact-direct {
        padding: 24px 20px !important;
    }

    .contact-direct__phone-block {
        justify-items: center !important;
    }

    .contact-direct__phone-block a {
        width: 100% !important;
        text-align: center !important;
        font-size: clamp(1.35rem, 7vw, 1.85rem) !important;
    }
}
