/* ==========================================================================
   Find a Broker
   Usa la paleta y la tipografía del sitio (one-click.css):
   dorado #D7A900, gris pizarra #282f35, arena #c59a6d, fondo #f5f5f5, Nexa.
   ========================================================================== */

/* Títulos de sección: igual que "MEET THE STAFF" ---------------------------- */
.find-broker .fab-heading {
    font-family: 'nexa_boldregular';
    font-size: 30px;
    line-height: 33px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    color: #000;
    margin: 20px 0 10px;
}
.find-broker .fab-divider {
    display: block;
    width: 62px;
    height: 2px;
    background: #D7A900;
    margin: 40px auto 42px;
}

.find-broker .fab-intro p,
.find-broker .fab-bottom-cta p {
    font-family: 'nexa_regularregular';
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

/* Botones ------------------------------------------------------------------- */
.find-broker .fab-btn {
    display: inline-block;
    font-family: 'nexa_boldregular';
    font-size: 14px;
    line-height: 1;
    letter-spacing: .5px;
    padding: 12px 18px;
    border-radius: 2px;
    border: 2px solid #D7A900;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.find-broker .fab-btn-gold { background: #D7A900; color: #fff; }
.find-broker .fab-btn-gold:hover,
.find-broker .fab-btn-gold:focus { background: #b58f00; border-color: #b58f00; color: #fff; }

/* Mapa + panel -------------------------------------------------------------- */
.find-broker .fab-map-wrap {
    display: flex;
    margin: 50px 0 20px;
    background: #fff;
    border: 1px solid #e4e1da;
    box-shadow: 0 20px 50px -35px rgba(40, 47, 53, .45);
}
.find-broker .fab-map-col {
    position: relative; /* referencia del pop-up del mapa */
    flex: 1 1 62%;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 32px 24px;
}
/* El mapa se centra en el alto disponible cuando el panel es más alto. */
.find-broker .fab-map-area {
    flex: 1;
    display: flex;
    align-items: center;
}
.find-broker .fab-map-hint {
    font-family: 'nexa_regularregular';
    font-size: 13px;
    color: #6b7178;
    margin: 0 0 12px;
}
.find-broker .fab-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #D7A900;
    vertical-align: middle;
    animation: fab-pulse 2s infinite;
}
@keyframes fab-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.fab-map { display: block; width: 100%; height: auto; overflow: visible; }

.fab-map .fab-prov { transition: fill .15s ease; stroke-linejoin: round; }
.fab-map .fab-prov.is-active { fill: #282f35; stroke: #D7A900; stroke-width: 1.2; cursor: pointer; }
.fab-map .fab-prov.is-soon { fill: #e6e3dc; stroke: #d3cfc5; stroke-width: 1; }
.fab-map .fab-prov-link:hover .fab-prov,
.fab-map .fab-prov-link:focus .fab-prov,
.fab-map .fab-prov.is-hover,
.fab-map .fab-prov.is-selected { fill: #D7A900; }
.fab-map .fab-prov-link:focus { outline: none; }
.fab-map .fab-prov-link:focus-visible .fab-prov { stroke: #000; stroke-width: 2.4; }

.fab-map .fab-prov-label {
    font-family: 'nexa_boldregular';
    font-size: 12px;
    pointer-events: none;
}
.fab-map .fab-prov-label.is-active { fill: #fff; }
.fab-map .fab-prov-label.is-soon { fill: #a9a497; font-size: 11px; }
.fab-map .fab-prov-label.is-hover,
.fab-map .fab-prov-label.is-selected { fill: #000; }

.find-broker .fab-legend { margin-top: 14px; }
.find-broker .fab-legend-item {
    display: inline-block;
    margin-right: 18px;
    font-family: 'nexa_regularregular';
    font-size: 12px;
    color: #6b7178;
}
.find-broker .fab-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 5px;
    border-radius: 2px;
    vertical-align: -1px;
}
.find-broker .fab-swatch.is-active { background: #282f35; border: 1px solid #D7A900; }
.find-broker .fab-swatch.is-selected { background: #D7A900; }
.find-broker .fab-swatch.is-soon { background: #e6e3dc; border: 1px solid #d3cfc5; }

.find-broker .fab-panel {
    flex: 0 0 34%;
    display: flex;
    flex-direction: column;
    padding: 32px 30px;
    background: #282f35;
    color: #fff;
}
.find-broker .fab-panel-kicker {
    font-family: 'nexa_boldregular';
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #D7A900;
    margin: 0 0 10px;
}
.find-broker .fab-panel-title {
    font-family: 'nexa_boldregular';
    font-size: 30px;
    line-height: 36px;
    margin: 0 0 12px;
}
.find-broker .fab-panel-note {
    font-family: 'nexa_regularregular';
    font-size: 13px;
    line-height: 20px;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 14px;
}
.find-broker .fab-panel-list { list-style: none; margin: 0; padding: 0; }
.find-broker .fab-panel-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
    font-family: 'nexa_boldregular';
    font-size: 15px;
}
.find-broker .fab-panel-count {
    font-family: 'nexa_regularregular';
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
}
.find-broker .fab-panel-list a:hover .fab-panel-prov,
.find-broker .fab-panel-list a:focus .fab-panel-prov,
.find-broker .fab-panel-list a.is-hover .fab-panel-prov { color: #D7A900; }
.find-broker .fab-panel-cta { margin-top: auto; padding-top: 24px; }
.find-broker .fab-panel-cta p {
    font-family: 'nexa_regularregular';
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 10px;
}

/* Secciones por provincia --------------------------------------------------- */
.find-broker .fab-roster { padding-bottom: 20px; }
.find-broker .fab-province { padding-top: 40px; }
.find-broker .fab-province .fab-divider { margin: 24px auto 20px; }
.find-broker .fab-province-meta {
    font-family: 'nexa_regularregular';
    font-size: 14px;
    color: #6b7178;
    text-align: center;
    margin: 0 0 34px;
}
.find-broker .fab-sep { margin: 0 6px; color: #c59a6d; }
.find-broker .fab-empty { text-align: center; font-size: 16px; padding: 40px 0; }

/* Tarjetas: siguen el diseño del ejemplo del cliente (find_a_broker.html) con la paleta del sitio. */
.find-broker .fab-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* como Meet the Staff: la última fila queda centrada */
    max-width: 1080px;
    margin: 0 auto;
}
.find-broker .fab-card {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 16px);
    margin: 0 8px 16px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e4e1da;
    border-radius: 10px;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.find-broker .fab-card:hover {
    border-color: #D7A900;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -30px rgba(40, 47, 53, .5);
}
.find-broker .fab-card-top {
    display: flex;
    align-items: center;
    margin-bottom: 13px;
}
.find-broker .fab-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    margin-right: 14px;
    border-radius: 50%;
    border: 1.5px solid #D7A900;
    background: #282f35;
    overflow: hidden;
    color: #fff;
    font-family: 'nexa_boldregular';
    font-size: 21px;
}
.find-broker .fab-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.find-broker .fab-card-id { min-width: 0; }
.find-broker .fab-card-name {
    font-family: 'nexa_boldregular';
    font-size: 15px;
    line-height: 19px;
    color: #000;
    margin: 0;
}
.find-broker .fab-card-designations { font-family: 'nexa_regularregular'; font-size: 12px; color: #6b7178; }
.find-broker .fab-card-title {
    font-family: 'nexa_regularregular';
    font-size: 12px;
    color: #6b7178;
    margin: 3px 0 0;
}
.find-broker .fab-card-licence {
    font-family: 'nexa_regularregular';
    font-size: 11px;
    color: #8a8f96;
    margin: 1px 0 0;
}
.find-broker .fab-card-city {
    font-family: 'nexa_boldregular';
    font-size: 12px;
    color: #9a7a00;
    margin: 0 0 10px;
}
.find-broker .fab-card-city .fa { margin-right: 3px; }
.find-broker .fab-tags { list-style: none; margin: 0 0 14px; padding: 0; }
.find-broker .fab-tags li {
    display: inline-block;
    margin: 0 3px 5px 0;
    padding: 3px 8px;
    border-radius: 2px;
    background: #fbf3d4;
    color: #6f5600;
    font-family: 'nexa_regularregular';
    font-size: 10.5px;
}
.find-broker .fab-card-actions { display: flex; margin-top: auto; }
.find-broker .fab-card-btn {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    font-family: 'nexa_boldregular';
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .3px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease;
}
.find-broker .fab-card-btn + .fab-card-btn { margin-left: 8px; }
.find-broker .fab-card-btn.is-primary { background: #282f35; border: 1px solid #282f35; color: #fff; }
.find-broker .fab-card-btn.is-primary:hover,
.find-broker .fab-card-btn.is-primary:focus { background: #3b444c; border-color: #3b444c; color: #fff; text-decoration: none; }
.find-broker .fab-card-btn.is-ghost { background: transparent; border: 1px solid #e4e1da; color: #282f35; }
.find-broker .fab-card-btn.is-gold { background: #D7A900; border: 1px solid #D7A900; color: #fff; }
.find-broker .fab-card-btn.is-gold:hover,
.find-broker .fab-card-btn.is-gold:focus { background: #b58f00; border-color: #b58f00; color: #fff; text-decoration: none; }
.find-broker .fab-card-btn.is-ghost:hover,
.find-broker .fab-card-btn.is-ghost:focus { border-color: #D7A900; }

.find-broker .fab-bottom-cta { padding: 30px 0 70px; text-align: center; }
.find-broker .fab-bottom-cta .btn-estilo-01 { margin-top: 26px; }

/* Pop-up del mapa (hover) ------------------------------------------------------ */
.find-broker .fab-tip {
    position: absolute;
    z-index: 5;
    width: 250px;
    padding: 14px 16px 12px;
    background: #fff;
    border: 1px solid #e4e1da;
    border-top: 3px solid #D7A900;
    border-radius: 8px;
    box-shadow: 0 18px 40px -18px rgba(40, 47, 53, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .12s ease, visibility .12s ease;
}
.find-broker .fab-tip.is-visible { opacity: 1; visibility: visible; }
.find-broker .fab-tip-title { font-family: 'nexa_boldregular'; font-size: 15px; color: #000; margin: 0 0 10px; }
.find-broker .fab-tip-title span { font-family: 'nexa_regularregular'; font-size: 12px; color: #6b7178; margin-left: 4px; }
.find-broker .fab-tip ul { list-style: none; margin: 0; padding: 0; }
.find-broker .fab-tip li { display: flex; align-items: center; margin-bottom: 7px; }
.find-broker .fab-tip-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-right: 9px;
    border-radius: 50%;
    border: 1px solid #D7A900;
    background: #282f35;
    overflow: hidden;
    color: #fff;
    font-family: 'nexa_boldregular';
    font-size: 12px;
}
.find-broker .fab-tip-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.find-broker .fab-tip-name { font-family: 'nexa_boldregular'; font-size: 13px; line-height: 15px; color: #000; }
.find-broker .fab-tip-name small { display: block; font-family: 'nexa_regularregular'; font-size: 11px; color: #6b7178; }
.find-broker .fab-tip-more { font-family: 'nexa_regularregular'; font-size: 12px; color: #6b7178; margin: 2px 0 0; }
.find-broker .fab-tip-hint {
    font-family: 'nexa_boldregular';
    font-size: 11px;
    color: #9a7a00;
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid #efece6;
}

/* Botones de provincia: solo en celular (ver media query). */
.find-broker .fab-mobile-provs { display: none; }

/* Profile (modal). El modal queda fuera de .find-broker, por eso sus reglas no llevan ese prefijo. */
.fab-modal .modal-dialog { width: 640px; max-width: calc(100% - 20px); margin-top: 60px; }
.fab-modal .modal-content { border: 0; border-top: 3px solid #D7A900; border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.fab-modal .close { position: absolute; top: 12px; right: 16px; z-index: 1; font-size: 28px; opacity: .45; }
.fab-modal .modal-body { padding: 30px 32px 28px; }
.fab-profile-head { display: flex; align-items: flex-start; margin-bottom: 20px; }
.fab-profile-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 104px;
    width: 104px;
    height: 104px;
    margin-right: 20px;
    border-radius: 50%;
    border: 2px solid #D7A900;
    background: #282f35;
    overflow: hidden;
    color: #fff;
    font-family: 'nexa_boldregular';
    font-size: 32px;
}
.fab-profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.fab-profile-name { font-family: 'nexa_boldregular'; font-size: 22px; line-height: 26px; color: #000; margin: 6px 30px 4px 0; }
.fab-profile-name .fab-card-designations { font-family: 'nexa_regularregular'; font-size: 14px; color: #6b7178; }
.fab-profile-title { font-family: 'nexa_regularregular'; font-size: 14px; color: #282f35; margin: 0 0 4px; }
.fab-profile-meta { font-family: 'nexa_regularregular'; font-size: 12px; color: #6b7178; margin: 0 0 10px; }
.fab-profile-meta .fab-sep { margin: 0 5px; color: #c59a6d; }
.fab-profile .fab-tags { list-style: none; margin: 0; padding: 0; }
.fab-profile .fab-tags li {
    display: inline-block;
    margin: 0 3px 5px 0;
    padding: 3px 8px;
    border-radius: 2px;
    background: #fbf3d4;
    color: #6f5600;
    font-family: 'nexa_regularregular';
    font-size: 11px;
}
.fab-profile-bio {
    max-height: 260px;
    overflow-y: auto;
    padding: 16px 0;
    border-top: 1px solid #efece6;
    border-bottom: 1px solid #efece6;
    font-family: 'nexa_regularregular';
    font-size: 14px;
    line-height: 23px;
    color: #333;
}
.fab-profile-bio p:last-child { margin-bottom: 0; }
/* Las bios suelen pegarse desde Word o webs y traen su tipografía: se unifica con la del sitio
   (negritas, itálicas y links se mantienen). */
.fab-profile-bio * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    background: transparent !important;
}
.fab-profile-bio b,
.fab-profile-bio strong { font-family: 'nexa_boldregular' !important; font-weight: normal; }
.fab-profile-contact { list-style: none; margin: 16px 0 0; padding: 0; }
.fab-profile-contact li {
    display: inline-block;
    width: 49%;
    margin-bottom: 8px;
    font-family: 'nexa_regularregular';
    font-size: 13px;
    vertical-align: top;
    word-break: break-word;
}
.fab-profile-contact .fa { width: 18px; color: #D7A900; text-align: center; }
.fab-profile-contact a { color: #282f35; }
.fab-profile-contact a:hover { color: #9a7a00; }
.fab-profile-actions { display: flex; margin-top: 16px; }
.fab-profile-actions .fab-card-btn {
    flex: 1;
    padding: 12px 10px;
    border-radius: 5px;
    font-family: 'nexa_boldregular';
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
}
.fab-profile-actions .fab-card-btn + .fab-card-btn { margin-left: 10px; }
.fab-profile-actions .is-gold { background: #D7A900; border: 1px solid #D7A900; color: #fff; }
.fab-profile-actions .is-gold:hover,
.fab-profile-actions .is-gold:focus { background: #b58f00; border-color: #b58f00; color: #fff; }
.fab-profile-actions .is-primary { background: #282f35; border: 1px solid #282f35; color: #fff; }
.fab-profile-actions .is-primary:hover,
.fab-profile-actions .is-primary:focus { background: #3b444c; border-color: #3b444c; color: #fff; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .find-broker .fab-map-wrap { flex-direction: column; }
    .find-broker .fab-panel { flex-basis: auto; }
    .find-broker .fab-card { width: calc(50% - 16px); }
}
/* Celular: el mapa queda como imagen (no se puede tocar con precisión) y la provincia se elige con botones grandes. */
@media (max-width: 767px) {
    .find-broker .fab-map-col { padding: 18px 16px 16px; }
    .find-broker .fab-map-hint,
    .find-broker .fab-legend,
    .find-broker .fab-panel,
    .find-broker .fab-tip { display: none; }
    .find-broker .fab-prov-link { pointer-events: none; }
    .find-broker .fab-prov-label { display: none; } /* a este tamaño las siglas no se leen */
    .find-broker .fab-mobile-provs {
        display: flex;
        flex-wrap: wrap;
        margin: 14px -4px 0;
    }
    .find-broker .fab-mobile-provs a {
        width: calc(50% - 8px);
        margin: 0 4px 8px;
        padding: 12px 12px 11px;
        border: 1px solid #282f35;
        border-radius: 6px;
        background: #282f35;
        color: #fff;
        text-decoration: none;
    }
    .find-broker .fab-mobile-provs a.is-selected { background: #D7A900; border-color: #D7A900; }
    .find-broker .fab-mobile-prov { display: block; font-family: 'nexa_boldregular'; font-size: 14px; }
    .find-broker .fab-mobile-count { display: block; margin-top: 3px; font-family: 'nexa_regularregular'; font-size: 11px; opacity: .75; }
    .find-broker .fab-map-wrap { margin-top: 30px; }
    .fab-modal .modal-dialog { margin-top: 20px; }
    .fab-modal .modal-body { padding: 24px 20px 20px; }
    .fab-profile-head { flex-direction: column; align-items: center; text-align: center; }
    .fab-profile-photo { margin: 0 0 12px; }
    .fab-profile-name { margin-right: 0; }
    .fab-profile-contact li { width: 100%; }
}
@media (max-width: 600px) {
    .find-broker .fab-card { width: calc(100% - 16px); }
    .find-broker .fab-heading { font-size: 24px; line-height: 28px; }
}

/* Mapa en "Meet Us" de la home ------------------------------------------------ */
.home-map {
    clear: both; /* los párrafos de "Meet Us" flotan */
    max-width: 760px;
    margin: 0 auto 40px;
    padding: 0 15px;
}
@media (max-width: 767px) {
    .home-map .fab-prov-label { display: none; } /* a este tamaño las siglas no se leen */
}
