﻿/* =========================================
   WILLSFLY CONNECT – PREMIUM ORIGINAL PAGE
========================================= */
.wf-connect-page {
    position: relative;
    overflow: hidden;
    color: #f5f7fb;
    background: radial-gradient(circle at 0% 16%, rgba(196,135,54,0.14), transparent 28%), radial-gradient(circle at 88% 8%, rgba(77,115,255,0.14), transparent 34%), linear-gradient(180deg, #05070c 0%, #060912 42%, #05070c 100%);
}

.wf-connect-shell-wide {
    padding-left: clamp(18px, 2.4vw, 44px);
    padding-right: clamp(18px, 2.4vw, 44px);
}

.wf-connect-hero,
.wf-connect-locations,
.wf-connect-map-section,
.wf-connect-form-section,
.wf-connect-cta-section {
    position: relative;
    padding: clamp(64px, 7vw, 112px) 0;
    background: transparent;
}

.wf-connect-hero {
    padding-top: clamp(72px, 8vw, 126px);
}

.wf-connect-bg,
.wf-connect-grid,
.wf-connect-noise,
.wf-connect-orb {
    position: absolute;
    pointer-events: none;
}

.wf-connect-bg {
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.wf-connect-orb {
    border-radius: 999px;
    filter: blur(90px);
}

.wf-connect-orb-a {
    width: 360px;
    height: 360px;
    left: -120px;
    top: 70px;
    background: rgba(196,135,54,.17);
}

.wf-connect-orb-b {
    width: 320px;
    height: 320px;
    right: 5%;
    top: 30px;
    background: rgba(77,115,255,.14);
}

.wf-connect-grid {
    inset: 0;
    opacity: .10;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(circle at center, black 34%, transparent 92%);
}

.wf-connect-noise {
    inset: 0;
    opacity: .04;
    background-image: radial-gradient(rgba(255,255,255,.35) .55px, transparent .55px);
    background-size: 8px 8px;
    mix-blend-mode: soft-light;
}

.wf-connect-hero > .wf-connect-shell,
.wf-connect-locations > .wf-connect-shell,
.wf-connect-map-section > .wf-connect-shell,
.wf-connect-form-section > .wf-connect-shell,
.wf-connect-cta-section > .wf-connect-shell {
    position: relative;
    z-index: 2;
}

.wf-connect-kicker-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.wf-connect-kicker,
.wf-connect-panel-badge,
.wf-connect-panel-status,
.wf-connect-office-top span {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d6a760;
    background: rgba(196,135,54,.09);
    border: 1px solid rgba(196,135,54,.18);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.wf-connect-kicker-line {
    width: 70px;
    height: 1px;
    background: linear-gradient(90deg, rgba(214,167,96,.55), transparent);
}

.wf-connect-panel-status {
    color: #a6d7ce;
    background: rgba(154,205,196,.08);
    border-color: rgba(154,205,196,.18);
}

.wf-connect-title {
    margin: 0;
    max-width: 1120px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(3rem, 4vw, 3rem);
    line-height: .92;
    letter-spacing: -.085em;
    font-weight: 850;
    color: #f7f8fb;
}

.wf-connect-subtitle {
    margin: 28px 0 0;
    max-width: 1040px;
    color: rgba(226,232,244,.82);
    font-size: 1.04rem;
    line-height: 1.9;
}

.wf-connect-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.wf-connect-actions-center {
    justify-content: center;
}

.wf-connect-btn {
    min-height: 56px;
    padding: 0 24px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    text-decoration: none !important;
    font-weight: 900;
    cursor: pointer;
    transition: box-shadow .28s ease, border-color .28s ease, background .28s ease, color .28s ease;
}

.wf-connect-btn-primary {
    color: #16110a !important;
    background: linear-gradient(135deg, #d9ab5e 0%, #c48736 100%);
    box-shadow: 0 18px 40px rgba(196,135,54,.26), inset 0 1px 0 rgba(255,255,255,.22);
}

.wf-connect-btn-secondary {
    color: #f5f7fb !important;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.wf-connect-btn:hover {
    box-shadow: 0 22px 48px rgba(0,0,0,.28), 0 0 28px rgba(196,135,54,.10);
}

.wf-connect-btn.is-disabled,
.wf-connect-btn:disabled {
    opacity: .62;
    cursor: not-allowed;
    box-shadow: none;
}

.wf-connect-signal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 44px;
}

.wf-connect-signal,
.wf-connect-intel-card,
.wf-connect-office-card,
.wf-connect-map-shell,
.wf-connect-map-copy,
.wf-connect-map-frame-card,
.wf-connect-form-copy,
.wf-connect-form-card,
.wf-connect-cta,
.wf-connect-contact-point {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(24,28,39,.84), rgba(12,15,24,.94));
    border: 1px solid rgba(255,255,255,.085);
    box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.045);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wf-connect-signal {
    min-height: 190px;
    padding: 22px;
}

    .wf-connect-signal i,
    .wf-connect-matrix i,
    .wf-connect-office-top i,
    .wf-connect-contact-point i {
        width: 50px;
        height: 50px;
        border-radius: 18px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #d6a760;
        background: rgba(196,135,54,.12);
        border: 1px solid rgba(196,135,54,.18);
        margin-bottom: 16px;
    }

    .wf-connect-signal strong {
        display: block;
        color: #f7f8fb;
        font-size: 1.05rem;
        font-weight: 900;
        margin-bottom: 8px;
    }

    .wf-connect-signal span {
        color: rgba(226,232,244,.76);
        line-height: 1.75;
    }

.wf-connect-intel-card {
    padding: clamp(26px, 2vw, 34px);
}

.wf-connect-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.wf-connect-intel-card h2 {
    margin: 0;
    color: #f7f8fb;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.6rem, 2vw, 2.25rem);
    line-height: 1.1;
    letter-spacing: -.055em;
}

.wf-connect-intel-card p {
    color: rgba(226,232,244,.82);
    line-height: 1.86;
    margin: 18px 0 0;
}

.wf-connect-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

    .wf-connect-matrix div {
        padding: 18px;
        border-radius: 22px;
        background: rgba(255,255,255,.035);
        border: 1px solid rgba(255,255,255,.07);
    }

    .wf-connect-matrix i {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        margin-bottom: 12px;
    }

    .wf-connect-matrix strong {
        display: block;
        color: #f7f8fb;
        margin-bottom: 6px;
    }

    .wf-connect-matrix span {
        color: rgba(226,232,244,.72);
        font-size: .9rem;
        line-height: 1.6;
    }

/* =========================================
   CONNECT SECTION HEAD — FINAL BALANCED SYSTEM
   Kicker centered, heading + paragraph in one clean row
========================================= */

.wf-connect-section-head {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto 34px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

    .wf-connect-section-head > .wf-connect-kicker {
        align-self: center;
        margin: 0 auto;
    }

.wf-connect-head-grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
    gap: clamp(36px, 5vw, 92px);
    align-items: center;
}

    .wf-connect-head-grid h2 {
        margin: 0;
        max-width: 980px;
        color: #f7f8fb;
        font-family: 'Manrope', sans-serif;
        font-size: clamp(2.2rem, 2.75vw, 2.2rem);
        line-height: 1.04;
        letter-spacing: -.06em;
        font-weight: 850;
    }

    .wf-connect-head-grid p {
        margin: 0;
        max-width: 680px;
        color: rgba(226,232,244,.80);
        font-size: 1.02rem;
        line-height: 1.82;
    }

.wf-connect-form-copy h2,
.wf-connect-cta h2 {
    margin: 16px 0;
    color: #f7f8fb;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(2.35rem, 4vw, 2.35rem);
    line-height: .98;
    letter-spacing: -.07em;
}

.wf-connect-form-copy p,
.wf-connect-cta p {
    color: rgba(226,232,244,.82);
    line-height: 1.88;
    font-size: 1.02rem;
}

@media (max-width: 1199.98px) {
    .wf-connect-head-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wf-connect-section-head > .wf-connect-kicker {
        align-self: flex-start;
    }

    .wf-connect-head-grid h2,
    .wf-connect-head-grid p {
        max-width: 100%;
    }
}

.wf-connect-office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.wf-connect-office-card {
    padding: clamp(26px, 2.2vw, 38px);
}

.wf-connect-office-card-featured {
    background: radial-gradient(circle at 15% 0%, rgba(196,135,54,.15), transparent 34%), linear-gradient(180deg, rgba(27,31,44,.88), rgba(10,14,24,.96));
}

.wf-connect-office-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

    .wf-connect-office-top i {
        margin-bottom: 0;
    }

.wf-connect-office-card h3 {
    margin: 0 0 8px;
    color: #f7f8fb;
    font-family: 'Manrope', sans-serif;
    font-size: 1.9rem;
    letter-spacing: -.05em;
}

.wf-connect-office-card h4 {
    margin: 0 0 18px;
    color: #d6a760;
    font-size: .96rem;
    font-weight: 900;
}

.wf-connect-office-card p {
    color: rgba(226,232,244,.78);
    line-height: 1.8;
}
/*
.wf-connect-address {
    margin-top: 20px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
}*/

.wf-connect-address {
    margin-top: 20px;
    padding: 14px 16px; /* tighter */
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    /* ✅ KEY FIX */
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    /* prevents long text overflow */
    white-space: normal;
}
    .wf-connect-address span {
        display: block;
        line-height: 1.6;
    }

    .wf-connect-address strong {
        display: block;
        color: #f7f8fb;
        margin-bottom: 8px;
    }

    .wf-connect-address span {
        color: rgba(226,232,244,.82);
        line-height: 1.8;
    }

.wf-connect-map-link {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #16110a !important;
    background: linear-gradient(135deg, #d9ab5e, #c48736);
    min-height: 44px;
    padding: 0 16px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none !important;
}

.wf-connect-map-shell {
    padding: 24px;
}

.wf-connect-map-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.wf-connect-map-tab {
    min-height: 72px;
    padding: 12px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: #f5f7fb;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    text-align: left;
    align-items: center;
}

    .wf-connect-map-tab span {
        grid-row: span 2;
        font-size: 1.3rem;
    }

    .wf-connect-map-tab strong {
        line-height: 1;
    }

    .wf-connect-map-tab small {
        color: rgba(226,232,244,.66);
    }

    .wf-connect-map-tab.is-active {
        border-color: rgba(214,167,96,.28);
        background: rgba(196,135,54,.10);
    }

.wf-connect-map-copy {
    padding: 26px;
    height: 100%;
}

    .wf-connect-map-copy h3 {
        margin: 18px 0 12px;
        color: #f7f8fb;
        font-family: 'Manrope', sans-serif;
        font-size: 2rem;
        letter-spacing: -.055em;
    }

    .wf-connect-map-copy p {
        color: rgba(226,232,244,.82);
        line-height: 1.8;
    }

.wf-connect-map-notes {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

    .wf-connect-map-notes div {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(226,232,244,.82);
    }

    .wf-connect-map-notes i {
        color: #d6a760;
    }

.wf-connect-map-frame-card {
    height: 100%;
    min-height: 460px;
    padding: 12px;
}

.wf-connect-map-frame {
    display: none;
    height: 100%;
    min-height: 436px;
    border-radius: 22px;
    overflow: hidden;
}

    .wf-connect-map-frame.is-active {
        display: block;
    }

    .wf-connect-map-frame iframe {
        width: 100%;
        height: 100%;
        min-height: 436px;
        border: 0;
        filter: saturate(.92) contrast(.98);
    }

.wf-connect-form-copy,
.wf-connect-form-card {
    padding: clamp(26px, 2.4vw, 42px);
}

.wf-connect-contact-stack {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.wf-connect-contact-point {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    text-decoration: none !important;
}

    .wf-connect-contact-point i {
        margin: 0;
        min-width: 50px;
    }

    .wf-connect-contact-point strong {
        display: block;
        color: #f7f8fb;
        margin-bottom: 4px;
    }

    .wf-connect-contact-point span {
        color: rgba(226,232,244,.74);
        line-height: 1.55;
    }

.wf-connect-alert {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 18px;
    margin-bottom: 22px;
}

.wf-connect-alert-success {
    background: rgba(94,234,164,.09);
    border: 1px solid rgba(94,234,164,.20);
    color: #dfffee;
}

.wf-connect-alert-danger {
    background: rgba(255,99,99,.09);
    border: 1px solid rgba(255,99,99,.20);
    color: #ffe0e0;
}

.wf-connect-form-card label {
    color: rgba(235,240,248,.88);
    font-weight: 850;
    font-size: .86rem;
}

    .wf-connect-form-card label em {
        color: #d6a760;
        font-style: normal;
    }

.wf-connect-input {
    min-height: 56px;
    border-radius: 16px !important;
    color: #f4f7fb !important;
    background: rgba(255,255,255,.045) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

    .wf-connect-input:focus {
        border-color: rgba(214,167,96,.32) !important;
        box-shadow: 0 0 0 4px rgba(196,135,54,.08), inset 0 1px 0 rgba(255,255,255,.05) !important;
    }

.wf-connect-textarea {
    min-height: 160px;
    padding-top: 16px !important;
    resize: vertical;
}

.wf-connect-help {
    display: block;
    margin-top: 7px;
    color: rgba(226,232,244,.56);
}

.text-danger {
    color: #ff9f9f !important;
    font-weight: 750;
    font-size: .8rem;
}

.input-validation-error {
    border-color: rgba(255,99,99,.64) !important;
}

.wf-connect-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 8px;
}

.wf-country-picker {
    position: relative;
}

.wf-country-trigger {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

    .wf-country-trigger span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .wf-country-trigger b {
        font-size: 1.2rem;
    }

.wf-country-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 50;
    display: none;
    padding: 14px;
    border-radius: 20px;
    background: rgba(13,17,28,.98);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 24px 60px rgba(0,0,0,.45);
}

    .wf-country-dropdown.is-open {
        display: block;
    }

.wf-country-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    min-height: 46px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    margin-bottom: 12px;
}

    .wf-country-search-wrap input {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        color: #f5f7fb;
    }

.wf-country-list {
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    gap: 8px;
}

.wf-country-option {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f5f7fb;
    background: transparent;
}

    .wf-country-option:hover {
        background: rgba(196,135,54,.12);
    }

    .wf-country-option small {
        color: #d6a760;
        font-weight: 850;
    }

.wf-connect-cta {
    text-align: center;
    padding: clamp(34px, 4vw, 62px);
}

    .wf-connect-cta p {
        max-width: 920px;
        margin: 0 auto;
    }

select.wf-connect-input option {
    background: #111827;
    color: #f5f7fb;
}

@media (max-width: 1199.98px) {
    .wf-connect-signal-grid,
    .wf-connect-office-grid {
        grid-template-columns: 1fr;
    }

    .wf-connect-title {
        font-size: clamp(2.8rem, 8vw, 5.2rem);
    }
}

@media (max-width: 767.98px) {
    .wf-connect-hero,
    .wf-connect-locations,
    .wf-connect-map-section,
    .wf-connect-form-section,
    .wf-connect-cta-section {
        padding: 56px 0;
    }

    .wf-connect-shell-wide {
        padding-left: 18px;
        padding-right: 18px;
    }

    .wf-connect-title {
        font-size: clamp(2.25rem, 11vw, 3.4rem);
        line-height: .98;
    }

    .wf-connect-subtitle {
        font-size: .96rem;
        line-height: 1.78;
    }

    .wf-connect-matrix {
        grid-template-columns: 1fr;
    }

    .wf-connect-actions,
    .wf-connect-form-actions {
        flex-direction: column;
    }

    .wf-connect-btn {
        width: 100%;
    }

    .wf-connect-panel-top,
    .wf-connect-office-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .wf-connect-map-frame-card,
    .wf-connect-map-frame,
    .wf-connect-map-frame iframe {
        min-height: 340px;
    }
}


/* =========================================
   FINAL CONNECT TIMELINE + VALIDATION POLISH
========================================= */
.wf-connect-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.wf-connect-timeline-card {
    position: relative;
    margin-top: 28px;
    padding: 28px 28px 28px 34px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(24,28,39,.84), rgba(12,15,24,.94));
    border: 1px solid rgba(255,255,255,.085);
    box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.045);
    overflow: hidden;
}

.wf-connect-timeline-line {
    position: absolute;
    left: 52px;
    top: 42px;
    bottom: 42px;
    width: 1px;
    background: linear-gradient(180deg, rgba(214,167,96,.88), rgba(77,115,255,.22), rgba(214,167,96,.45));
}

.wf-connect-timeline-item {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 42px minmax(0,1fr);
    gap: 18px;
    padding: 14px 0;
}

    .wf-connect-timeline-item span {
        width: 38px;
        height: 38px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #16110a;
        background: linear-gradient(135deg, #e2b35f, #c48736);
        box-shadow: 0 0 0 8px rgba(196,135,54,.08), 0 12px 26px rgba(196,135,54,.22);
    }

    .wf-connect-timeline-item h4 {
        margin: 0 0 6px;
        color: #f7f8fb;
        font-family: 'Manrope', sans-serif;
        font-size: 1.05rem;
        font-weight: 850;
        letter-spacing: -.035em;
    }

    .wf-connect-timeline-item p {
        margin: 0;
        color: rgba(226,232,244,.76);
        line-height: 1.7;
        font-size: .94rem;
    }

.wf-connect-input-valid {
    border-color: rgba(94,234,164,.34) !important;
    box-shadow: 0 0 0 4px rgba(94,234,164,.06), inset 0 1px 0 rgba(255,255,255,.05) !important;
}

.wf-connect-btn.is-disabled,
.wf-connect-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.2);
}

@media (max-width: 767.98px) {
    .wf-connect-timeline-card {
        padding: 24px 20px 24px 24px;
    }

    .wf-connect-timeline-line {
        left: 42px;
    }

    .wf-connect-timeline-item {
        grid-template-columns: 38px minmax(0,1fr);
        gap: 14px;
    }
}


/* =========================================
   FINAL CTA BUTTONS – APPLE / STRIPE LEVEL POLISH
========================================= */
.wf-connect-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 58px;
    padding: 0 26px;
    border-radius: 20px;
    letter-spacing: -.01em;
    transform: translateZ(0);
    transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease, background .28s ease, color .28s ease, filter .28s ease;
}

    .wf-connect-btn::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        z-index: -1;
        opacity: 0;
        transition: opacity .28s ease;
        background: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,0) 48%, rgba(255,255,255,.14));
    }

    .wf-connect-btn::after {
        content: "";
        position: absolute;
        width: 90px;
        height: 90px;
        top: 50%;
        left: -110px;
        z-index: -1;
        transform: translateY(-50%) rotate(18deg);
        opacity: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
        transition: left .55s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
    }

    .wf-connect-btn i {
        transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
    }

    .wf-connect-btn:hover {
        transform: translateY(-2px);
    }

        .wf-connect-btn:hover::before {
            opacity: 1;
        }

        .wf-connect-btn:hover::after {
            left: calc(100% + 40px);
            opacity: .8;
        }

        .wf-connect-btn:hover i {
            transform: translate(3px, -3px);
        }

    .wf-connect-btn:active {
        transform: translateY(0) scale(.985);
    }

.wf-connect-btn-primary {
    color: #171008 !important;
    background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.34), transparent 34%), linear-gradient(135deg, #f1c77e 0%, #d9a24a 42%, #b97824 100%) !important;
    border: 1px solid rgba(255,214,149,.38) !important;
    box-shadow: 0 18px 40px rgba(196,135,54,.28), 0 0 0 1px rgba(255,255,255,.08) inset, 0 1px 0 rgba(255,255,255,.30) inset !important;
}

    .wf-connect-btn-primary:hover {
        box-shadow: 0 28px 64px rgba(196,135,54,.34), 0 0 36px rgba(214,167,96,.18), 0 1px 0 rgba(255,255,255,.32) inset !important;
        filter: saturate(1.06) brightness(1.02);
    }

.wf-connect-btn-secondary {
    color: #f5f7fb !important;
    background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.032)) !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,.22), 0 1px 0 rgba(255,255,255,.08) inset !important;
}

    .wf-connect-btn-secondary:hover {
        border-color: rgba(154,205,196,.26) !important;
        background: linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045)) !important;
        box-shadow: 0 24px 54px rgba(0,0,0,.30), 0 0 28px rgba(154,205,196,.08), 0 1px 0 rgba(255,255,255,.10) inset !important;
    }

.wf-connect-btn.is-disabled,
.wf-connect-btn:disabled {
    transform: none !important;
    opacity: .55;
    filter: grayscale(.25);
}

    .wf-connect-btn.is-disabled::before,
    .wf-connect-btn.is-disabled::after,
    .wf-connect-btn:disabled::before,
    .wf-connect-btn:disabled::after {
        display: none;
    }

@media (prefers-reduced-motion: reduce) {
    .wf-connect-btn,
    .wf-connect-btn::before,
    .wf-connect-btn::after,
    .wf-connect-btn i {
        transition: none !important;
    }

        .wf-connect-btn:hover,
        .wf-connect-btn:active {
            transform: none !important;
        }
}


/* =========================================
   FINAL FORM BUTTON VISIBILITY FIX
   Active button looks clickable; disabled button clearly waits for required fields.
========================================= */
.wf-connect-form-actions .wf-connect-btn-primary:not(:disabled):not(.is-disabled) {
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer !important;
    color: #171008 !important;
    background: radial-gradient(circle at 22% 0%, rgba(255,255,255,.40), transparent 34%), linear-gradient(135deg, #f4ca7e 0%, #dda34d 45%, #bc7623 100%) !important;
    border: 1px solid rgba(255,216,150,.44) !important;
    box-shadow: 0 22px 52px rgba(196,135,54,.34), 0 0 34px rgba(214,167,96,.16), inset 0 1px 0 rgba(255,255,255,.34) !important;
}

    .wf-connect-form-actions .wf-connect-btn-primary:not(:disabled):not(.is-disabled):hover {
        transform: translateY(-3px) scale(1.015);
        box-shadow: 0 32px 72px rgba(196,135,54,.42), 0 0 44px rgba(214,167,96,.22), inset 0 1px 0 rgba(255,255,255,.36) !important;
    }

.wf-connect-form-actions .wf-connect-btn-primary:disabled,
.wf-connect-form-actions .wf-connect-btn-primary.is-disabled {
    opacity: .48 !important;
    cursor: not-allowed !important;
    filter: grayscale(.28) saturate(.72) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.10) !important;
}

    .wf-connect-form-actions .wf-connect-btn-primary:disabled:hover,
    .wf-connect-form-actions .wf-connect-btn-primary.is-disabled:hover {
        transform: none !important;
    }

/* =========================================
   FINAL SUBMIT CLARITY + SUCCESS UI POLISH
========================================= */
.wf-connect-submit-note {
    width: 100%;
    display: block;
    margin-top: 4px;
    color: rgba(226,232,244,.62);
    font-size: .86rem;
    font-weight: 750;
}

    .wf-connect-form-actions .wf-connect-btn-primary:not(:disabled):not(.is-disabled) + .wf-connect-btn-secondary + .wf-connect-submit-note,
    .wf-connect-submit-note:has(+ *) {
        color: rgba(226,232,244,.62);
    }

.wf-connect-alert-success {
    position: relative;
    border-color: rgba(94,234,164,.26) !important;
    background: radial-gradient(circle at 0% 0%, rgba(94,234,164,.16), transparent 34%), linear-gradient(180deg, rgba(24,42,35,.90), rgba(9,18,22,.94)) !important;
    box-shadow: 0 24px 58px rgba(0,0,0,.34), 0 0 34px rgba(94,234,164,.10), inset 0 1px 0 rgba(255,255,255,.08);
}

    .wf-connect-alert-success i {
        font-size: 1.3rem;
        color: #5eeaa4;
    }

.wf-connect-form-actions .wf-connect-btn-primary:not(:disabled):not(.is-disabled) {
    animation: wfConnectReadyPulse 2.8s ease-in-out infinite;
}

@keyframes wfConnectReadyPulse {
    0%, 100% {
        box-shadow: 0 22px 52px rgba(196,135,54,.34), 0 0 34px rgba(214,167,96,.16), inset 0 1px 0 rgba(255,255,255,.34);
    }

    50% {
        box-shadow: 0 28px 68px rgba(196,135,54,.44), 0 0 46px rgba(214,167,96,.24), inset 0 1px 0 rgba(255,255,255,.38);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wf-connect-form-actions .wf-connect-btn-primary:not(:disabled):not(.is-disabled) {
        animation: none !important;
    }
}

/* =========================================
   FINAL SUBMIT UX FIX – ALWAYS VISIBLE / CLICKABLE
========================================= */
.wf-connect-form-actions .wf-connect-btn-primary,
.wf-connect-form-actions .wf-connect-btn-primary:not(:disabled),
.wf-connect-form-actions .wf-connect-btn-primary:not(.is-disabled) {
    opacity: 1 !important;
    filter: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    color: #171008 !important;
    background: radial-gradient(circle at 22% 0%, rgba(255,255,255,.42), transparent 34%), linear-gradient(135deg, #f5cb7f 0%, #dfa64e 45%, #bc7623 100%) !important;
    border: 1px solid rgba(255,216,150,.46) !important;
    box-shadow: 0 22px 52px rgba(196,135,54,.36), 0 0 34px rgba(214,167,96,.18), inset 0 1px 0 rgba(255,255,255,.34) !important;
}

    .wf-connect-form-actions .wf-connect-btn-primary:hover {
        transform: translateY(-3px) scale(1.015) !important;
        box-shadow: 0 32px 72px rgba(196,135,54,.44), 0 0 44px rgba(214,167,96,.24), inset 0 1px 0 rgba(255,255,255,.38) !important;
    }

.wf-connect-submit-note {
    display: block;
    width: 100%;
    margin-top: 10px;
    color: rgba(226,232,244,.70);
    font-weight: 800;
    font-size: .82rem;
}

    .wf-connect-submit-note::before {
        content: "•";
        color: #d6a760;
        margin-right: 8px;
    }

.wf-connect-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 6, 12, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    animation: wfSuccessFadeIn .24s ease both;
}

    .wf-connect-success-overlay.is-closing {
        animation: wfSuccessFadeOut .22s ease both;
    }

.wf-connect-success-modal {
    width: min(560px, 100%);
    border-radius: 30px;
    padding: 34px;
    text-align: center;
    color: #f7f8fb;
    background: radial-gradient(circle at 20% 0%, rgba(94,234,164,.14), transparent 36%), linear-gradient(180deg, rgba(24,28,39,.96), rgba(9,13,22,.98));
    border: 1px solid rgba(94,234,164,.22);
    box-shadow: 0 34px 90px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08);
}

.wf-connect-success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5eeaa4;
    background: rgba(94,234,164,.10);
    border: 1px solid rgba(94,234,164,.22);
    font-size: 2rem;
    box-shadow: 0 0 34px rgba(94,234,164,.12);
}

.wf-connect-success-modal h3 {
    margin: 0 0 12px;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -.055em;
    font-weight: 900;
}

.wf-connect-success-modal p {
    margin: 0 auto 24px;
    max-width: 460px;
    color: rgba(226,232,244,.82);
    line-height: 1.75;
}

@keyframes wfSuccessFadeIn {
    from {
        opacity: 0;
        transform: scale(.985);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes wfSuccessFadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(.985);
    }
}


/* =========================================
   FINAL SUCCESS MODAL – ANIMATED AUTO REDIRECT
========================================= */
body.wf-connect-success-active {
    overflow: hidden;
}

.wf-connect-success-overlay.wf-success-enter .wf-connect-success-modal {
    animation: wfSuccessModalPop .65s cubic-bezier(.2,.8,.2,1) both;
}

.wf-connect-success-redirect {
    display: block;
    margin-top: 14px;
    color: rgba(226,232,244,.66);
    font-size: .86rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.wf-connect-success-modal .wf-connect-btn-primary {
    min-width: 180px;
}

@keyframes wfSuccessModalPop {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(.96);
        filter: blur(8px);
    }

    65% {
        opacity: 1;
        transform: translateY(-2px) scale(1.015);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wf-connect-success-overlay.wf-success-enter .wf-connect-success-modal {
        animation: none !important;
    }
}



/* =========================================================
   CONNECT PAGE — FINAL CLEAN POLISH
   Fixes: spacing, card fit, hover, transitions, map button width
========================================================= */

.wf-connect-locations,
.wf-connect-map-section,
.wf-connect-form-section {
    padding-top: clamp(56px, 5vw, 86px);
    padding-bottom: clamp(56px, 5vw, 86px);
}

/* Premium card movement — stable, not shaky */
.wf-connect-signal,
.wf-connect-intel-card,
.wf-connect-office-card,
.wf-connect-map-shell,
.wf-connect-map-copy,
.wf-connect-map-frame-card,
.wf-connect-form-copy,
.wf-connect-form-card,
.wf-connect-cta,
.wf-connect-contact-point,
.wf-connect-timeline-card {
    transition: transform .32s cubic-bezier(.2,.8,.2,1), border-color .32s ease, box-shadow .32s ease, background .32s ease;
    will-change: transform;
}

    .wf-connect-signal:hover,
    .wf-connect-intel-card:hover,
    .wf-connect-office-card:hover,
    .wf-connect-map-shell:hover,
    .wf-connect-map-copy:hover,
    .wf-connect-form-copy:hover,
    .wf-connect-form-card:hover,
    .wf-connect-cta:hover,
    .wf-connect-contact-point:hover,
    .wf-connect-timeline-card:hover {
        transform: translateY(-4px);
        border-color: rgba(214,167,96,.26);
        box-shadow: 0 28px 70px rgba(0,0,0,.38), 0 0 30px rgba(214,167,96,.08), inset 0 1px 0 rgba(255,255,255,.07);
    }

/* Office cards — fit content cleanly */
.wf-connect-office-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 2vw, 30px);
    align-items: stretch;
}

.wf-connect-office-card {
    padding: clamp(24px, 2vw, 34px);
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.wf-connect-office-top {
    margin-bottom: 18px;
}

    .wf-connect-office-top i {
        flex: 0 0 50px;
    }

.wf-connect-office-card h3 {
    margin-bottom: 6px;
}

.wf-connect-office-card h4 {
    margin-bottom: 16px;
}

.wf-connect-office-card p {
    margin: 0 0 18px;
    max-width: 96%;
}

.wf-connect-address {
    width: auto;
    max-width: 760px;
    min-height: 0;
    margin: 0 0 18px;
    padding: 18px 20px;
}

    .wf-connect-address span {
        display: block;
        max-width: 620px;
    }

/* Map button must stay compact, never full-width */
.wf-connect-map-link {
    width: max-content;
    max-width: max-content;
    min-width: 128px;
    align-self: flex-start;
    flex: 0 0 auto;
    margin-top: 0;
    padding: 0 16px;
    display: inline-flex;
    transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, filter .28s ease;
}

    .wf-connect-map-link:hover {
        transform: translateY(-2px);
        filter: brightness(1.04) saturate(1.05);
        box-shadow: 0 18px 42px rgba(196,135,54,.26), 0 0 24px rgba(214,167,96,.12);
    }

/* Contact stack cards — reduce empty space */
.wf-connect-contact-point {
    min-height: 76px;
    padding: 16px 18px;
}

    .wf-connect-contact-point span {
        display: block;
        max-width: 520px;
    }

/* Form section fit */
.wf-connect-form-copy,
.wf-connect-form-card {
    padding: clamp(24px, 2vw, 36px);
}

/* Inputs and buttons feel interactive */
.wf-connect-input,
.wf-country-trigger {
    transition: border-color .24s ease, box-shadow .24s ease, background .24s ease, transform .24s ease;
}

    .wf-connect-input:focus,
    .wf-country-trigger:focus {
        transform: translateY(-1px);
    }

.wf-connect-btn,
.wf-connect-map-link {
    white-space: nowrap;
}

@media (max-width: 1199.98px) {
    .wf-connect-office-grid {
        grid-template-columns: 1fr;
    }

    .wf-connect-office-card p,
    .wf-connect-address,
    .wf-connect-address span,
    .wf-connect-contact-point span {
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .wf-connect-section-head {
        margin-bottom: 28px;
    }

    .wf-connect-head-grid h2 {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.02;
    }

    .wf-connect-map-link {
        width: fit-content !important;
        max-width: max-content !important;
    }

    .wf-connect-office-card {
        padding: 22px;
    }
}
