.mb2b-contact {
    --mb2b-contact-primary: #FF9E00;
    --mb2b-contact-heading: #102F65;
    --mb2b-contact-dark: #062431;
    --mb2b-contact-background: #F7FAFF;
    --mb2b-contact-card: #FFFFFF;
    --mb2b-contact-text: #64748B;
    --mb2b-contact-secondary: #475569;
    --mb2b-contact-border: #DCE7F3;
    --mb2b-contact-success: #00B80B;
    --mb2b-contact-success-hover: #009A0A;
    --mb2b-contact-cyan: #1FC6E5;
    color: var(--mb2b-contact-secondary);
}

.mb2b-contact__container {
    width: min(1220px, calc(100% - 48px));
    margin: 0 auto;
}

.mb2b-contact__hero {
    position: relative;
    padding: 72px 0 66px;
    background-color: var(--mb2b-contact-background);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    isolation: isolate;
}

.mb2b-contact__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--mb2b-contact-hero-gradient-start, rgba(255,255,255,.98));
    pointer-events: none;
}

.mb2b-contact__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        var(--mb2b-contact-hero-gradient-angle, 90deg),
        var(--mb2b-contact-hero-gradient-start, rgba(255,255,255,.98)) 0%,
        var(--mb2b-contact-hero-gradient-end, rgba(255,255,255,0)) 100%
    );
    pointer-events: none;
}

.mb2b-contact__hero > .mb2b-contact__container {
    position: relative;
    z-index: 1;
}

.mb2b-contact__hero-content {
    max-width: 720px;
}

/* Optional travel-photo collage; the media itself is controlled by Elementor. */
.mb2b-contact__hero--has-visual > .mb2b-contact__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    gap: 40px;
}

.mb2b-contact__hero-visual {
    position: relative;
    min-width: 0;
    height: 330px;
}

.mb2b-contact__hero-visual::before {
    content: "";
    position: absolute;
    right: -9%;
    bottom: 1%;
    width: 83%;
    height: 44%;
    border-radius: 55% 45% 45% 55%;
    background: var(--mb2b-contact-cyan);
    opacity: .72;
    transform: rotate(-9deg);
}

.mb2b-contact__hero-photo {
    position: absolute;
    z-index: 1;
    overflow: hidden;
    border: 5px solid #FFFFFF;
    border-radius: 24px;
    background: #E0F7FD;
    box-shadow: 0 14px 36px rgba(15, 47, 101, .12);
}

.mb2b-contact__hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mb2b-contact__hero-photo--main {
    top: 2%;
    left: 4%;
    width: 66%;
    height: 83%;
    transform: rotate(-5deg);
}

.mb2b-contact__hero-photo--second {
    top: 12%;
    right: 0;
    width: 38%;
    height: 43%;
    transform: rotate(6deg);
}

.mb2b-contact__hero-photo--third {
    right: 8%;
    bottom: 0;
    width: 37%;
    height: 38%;
    transform: rotate(-4deg);
}

.mb2b-contact__eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--mb2b-contact-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.mb2b-contact__hero-heading {
    margin: 0;
    max-width: 680px;
    color: var(--mb2b-contact-heading);
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
}

.mb2b-contact__hero-description {
    max-width: 540px;
    margin-top: 18px;
    color: var(--mb2b-contact-text);
    font-size: 17px;
    line-height: 1.65;
}

.mb2b-contact__main {
    padding: 64px 0 74px;
    background: var(--mb2b-contact-background);
}

.mb2b-contact__grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.72fr);
    gap: 32px;
    align-items: start;
}

.mb2b-contact__section-heading,
.mb2b-contact__form-heading {
    margin: 0;
    color: var(--mb2b-contact-heading);
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.03em;
}

.mb2b-contact__section-description,
.mb2b-contact__form-description {
    margin-top: 14px;
    color: var(--mb2b-contact-text);
    font-size: 16px;
    line-height: 1.7;
}

.mb2b-contact__details {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.mb2b-contact__detail {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--mb2b-contact-card);
    border: 1px solid var(--mb2b-contact-border);
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(15, 47, 101, .055);
    text-decoration: none;
}

.mb2b-contact__detail-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mb2b-contact-heading);
    background: #E0F7FD;
    border-radius: 12px;
    font-size: 17px;
}

.mb2b-contact__detail-icon i,
.mb2b-contact__detail-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    font-size: inherit;
}

.mb2b-contact__detail-icon svg {
    fill: currentColor;
}

.mb2b-contact__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.mb2b-contact__button-icon i,
.mb2b-contact__button-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    font-size: inherit;
    line-height: 1;
}

.mb2b-contact__button-icon svg {
    fill: currentColor;
}

.mb2b-contact__detail strong {
    display: block;
    color: var(--mb2b-contact-heading);
    font-size: 15px;
    line-height: 1.4;
}

.mb2b-contact__detail p {
    margin: 5px 0 0;
    color: var(--mb2b-contact-text);
    font-size: 14px;
    line-height: 1.65;
}

.mb2b-contact__form-card {
    min-width: 0;
    padding: 34px;
    background: var(--mb2b-contact-card);
    border: 1px solid var(--mb2b-contact-border);
    border-radius: 24px;
    box-shadow: 0 16px 44px rgba(15, 47, 101, .07);
}

.mb2b-contact__form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.mb2b-contact__form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mb2b-contact__quote-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.mb2b-contact__quote-field {
    min-width: 0;
}

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

.mb2b-contact__field {
    display: grid;
    gap: 8px;
}

.mb2b-contact__field label {
    color: var(--mb2b-contact-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.mb2b-contact__required {
    color: #EF4444;
}

.mb2b-contact__field input,
.mb2b-contact__field select,
.mb2b-contact__field textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid var(--mb2b-contact-border);
    border-radius: 9px;
    background: #FFFFFF;
    color: var(--mb2b-contact-heading);
    font: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.mb2b-contact__field input,
.mb2b-contact__field select {
    min-height: 48px;
    padding: 0 15px;
}

.mb2b-contact__field textarea {
    min-height: 120px;
    padding: 14px 15px;
    resize: vertical;
}

.mb2b-contact__quote-field textarea {
    min-height: 104px;
}

.mb2b-contact__checkbox,
.mb2b-contact__option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.mb2b-contact__options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.mb2b-contact__field .mb2b-contact__checkbox input,
.mb2b-contact__field .mb2b-contact__option input {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    min-height: 0;
    margin: 0;
    padding: 0;
    accent-color: #0877D1;
}

.mb2b-contact__form-error,
.mb2b-contact__form-notice {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #FECACA;
    border-radius: 9px;
    background: #FEF2F2;
    color: #991B1B;
    font-size: 14px;
    line-height: 1.5;
}

.mb2b-contact__field input::placeholder,
.mb2b-contact__field textarea::placeholder {
    color: #94A3B8;
}

.mb2b-contact__field input:focus,
.mb2b-contact__field select:focus,
.mb2b-contact__field textarea:focus {
    border-color: var(--mb2b-contact-primary);
    box-shadow: 0 0 0 3px rgba(255, 163, 0, .12);
}

.mb2b-contact__submit {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid var(--mb2b-contact-primary);
    border-radius: 10px;
    background: var(--mb2b-contact-primary);
    color: var(--mb2b-contact-heading);
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    cursor: pointer;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.mb2b-contact__submit:hover {
    background: #E59400;
    border-color: #E59400;
    transform: translateY(-1px);
}

/* Shared Quote Form keeps the green CTA seen in the existing Request Quote. */
.mb2b-contact__form[data-form-source="quote_form"] .mb2b-contact__submit {
    width: 100%;
    background-color: var(--mb2b-contact-success);
    border-color: var(--mb2b-contact-success);
    color: #FFFFFF;
}

.mb2b-contact__form[data-form-source="quote_form"] .mb2b-contact__submit:hover {
    background-color: var(--mb2b-contact-success-hover);
    border-color: var(--mb2b-contact-success-hover);
}

.mb2b-contact__submit:focus-visible,
.mb2b-contact__map-button:focus-visible,
.mb2b-contact__final-button:focus-visible,
.mb2b-contact__detail[href]:focus-visible {
    outline: 3px solid var(--mb2b-contact-cyan);
    outline-offset: 3px;
}

.mb2b-contact__location {
    padding: 4px 0 84px;
    background: var(--mb2b-contact-background);
}

.mb2b-contact__location-card {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    min-height: 330px;
    overflow: hidden;
    border: 1px solid var(--mb2b-contact-border);
    border-radius: 24px;
    background: #E6F3FF;
}

.mb2b-contact__location-content {
    padding: 44px;
}

.mb2b-contact__map-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 13px 18px;
    border: 1px solid var(--mb2b-contact-primary);
    border-radius: 9px;
    background: var(--mb2b-contact-primary);
    color: var(--mb2b-contact-heading);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mb2b-contact__map-placeholder {
    min-height: 330px;
    height: 100%;
    overflow: hidden;
    background: var(--mb2b-contact-background);
}

.mb2b-contact__map-embed {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    border: 0;
}

.mb2b-contact__map-placeholder > span:last-child {
    color: var(--mb2b-contact-text);
    font-size: 14px;
}

.mb2b-contact__map-pin {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--mb2b-contact-primary);
    color: var(--mb2b-contact-heading);
    font-size: 22px;
}

.mb2b-contact__final {
    position: relative;
    padding: 68px 0;
    background-color: var(--mb2b-contact-dark);
    background-image: linear-gradient(
        110deg,
        var(--mb2b-contact-final-gradient-start, #062431),
        var(--mb2b-contact-final-gradient-end, #175A9D)
    );
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
}

.mb2b-contact__final::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--mb2b-contact-final-overlay, rgba(6, 36, 49, .12));
    pointer-events: none;
}

.mb2b-contact__final::after {
    content: "";
    position: absolute;
    right: -9%;
    bottom: -74%;
    z-index: 0;
    width: 54%;
    height: 100%;
    border-radius: 50%;
    background: var(--mb2b-contact-final-wave, #1FC6E5);
    transform: rotate(-12deg);
    pointer-events: none;
}

.mb2b-contact__final > .mb2b-contact__container {
    position: relative;
    z-index: 1;
}

.mb2b-contact__final-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.mb2b-contact__final-copy {
    min-width: 0;
    max-width: 700px;
}

.mb2b-contact__final-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--mb2b-contact-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .10em;
    line-height: 1.3;
    text-transform: uppercase;
}

.mb2b-contact__final h2 {
    margin: 0;
    color: #FFFFFF;
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
}

.mb2b-contact__final p {
    max-width: 560px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: 17px;
    line-height: 1.7;
}

.mb2b-contact__final-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 12px;
    background: var(--mb2b-contact-primary);
    color: var(--mb2b-contact-heading);
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
}

@media (max-width: 900px) {
    .mb2b-contact__hero--has-visual > .mb2b-contact__container {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .mb2b-contact__hero-visual {
        width: min(100%, 620px);
        height: 290px;
        margin: 0 auto;
    }

    .mb2b-contact__grid,
    .mb2b-contact__location-card {
        grid-template-columns: 1fr;
    }

    .mb2b-contact__grid {
        gap: 38px;
    }

    .mb2b-contact__map-placeholder {
        min-height: 300px;
    }

    .mb2b-contact__map-embed {
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .mb2b-contact__container {
        width: min(100% - 32px, 1220px);
    }

    .mb2b-contact__hero {
        padding: 46px 0 48px;
    }

    .mb2b-contact__hero-heading {
        font-size: clamp(34px, 9vw, 44px);
        line-height: 1.1;
    }

    .mb2b-contact__hero-description {
        font-size: 15px;
    }

    .mb2b-contact__hero-visual {
        height: 235px;
    }

    .mb2b-contact__hero-photo {
        border-width: 4px;
        border-radius: 16px;
    }

    .mb2b-contact__main {
        padding: 48px 0 56px;
    }

    .mb2b-contact__grid {
        gap: 28px;
    }

    .mb2b-contact__details {
        gap: 12px;
        margin-top: 22px;
    }

    .mb2b-contact__detail {
        padding: 16px;
    }

    .mb2b-contact__form-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .mb2b-contact__form-row,
    .mb2b-contact__quote-fields {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mb2b-contact__form-heading {
        font-size: 28px;
    }

    .mb2b-contact__form-description {
        font-size: 14px;
    }

    .mb2b-contact__submit {
        min-height: 54px;
    }

    .mb2b-contact__location {
        padding-bottom: 56px;
    }

    .mb2b-contact__location-content {
        padding: 28px 22px;
    }

    .mb2b-contact__location-card {
        border-radius: 20px;
    }

    .mb2b-contact__map-placeholder {
        min-height: 260px;
    }

    .mb2b-contact__map-embed {
        min-height: 260px;
    }

    .mb2b-contact__final {
        padding: 54px 0;
    }

    .mb2b-contact__final::after {
        right: -25%;
        bottom: -75%;
        width: 92%;
    }

    .mb2b-contact__final-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        max-width: 100%;
    }

    .mb2b-contact__final-copy {
        max-width: 100%;
    }

    .mb2b-contact__final-button {
        width: 100%;
        margin-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mb2b-contact__submit,
    .mb2b-contact__field input,
    .mb2b-contact__field select,
    .mb2b-contact__field textarea {
        transition: none;
    }
}

/* =========================================================
   CONTACT — MAP LOCATION OVERLAY
   ========================================================= */

.mb2b-contact__map-placeholder {
    position: relative;
}

.mb2b-contact__map-location {
    position: absolute;
    top: 72px;
    left: 24px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: min(320px, calc(100% - 48px));
    padding: 11px 16px 11px 12px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    color: var(--mb2b-contact-heading);
    pointer-events: none;
}

.mb2b-contact__map-location-marker {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mb2b-contact-primary);
    color: var(--mb2b-contact-heading);
    font-size: 14px;
    line-height: 1;
}

.mb2b-contact__map-location-marker i {
    display: block;
}

.mb2b-contact__map-location-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

@media (max-width: 767px) {
    .mb2b-contact__map-location {
        top: 72px;
        left: 16px;
        max-width: calc(100% - 32px);
        padding: 9px 13px 9px 10px;
    }

    .mb2b-contact__map-location-marker {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .mb2b-contact__map-location-name {
        font-size: 13px;
    }
}
