/* C1 — selector visual categoría → especialidades → palabras clave
   (includes/Listing/SpecialtyPicker.php). Colores de marca: navy #083A84,
   cian #02CCE2, texto #0F2350. Móvil primero. */
.bindy-esp-wrap > #inputCategory,
.bindy-esp-wrap > .select2-container { display: none !important; }
.bindy-esp { margin: 4px 0 8px; color: #0F2350; font-size: 14px; line-height: 1.4; }
.bindy-esp * { box-sizing: border-box; }
.bindy-esp .be-lbl { display: block; font-weight: 700; color: #0F2350; font-size: 14.5px; margin: 0 0 6px; }
.bindy-esp .be-hint { color: #6b7a94; font-size: 12.5px; margin: 8px 0 0; }
.bindy-esp .be-h { font-size: 16px; font-weight: 700; color: #0F2350; margin: 0 0 6px; line-height: 1.3; }
.bindy-esp .be-sec { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #EEF2F7; }
.bindy-esp .be-sec[hidden] { display: none !important; }

/* Pasos */
.be-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; }
.be-kicker { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #02A9BC; font-weight: 700; }
.be-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; flex-wrap: wrap; }
.be-step-i { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #9AA6BA; padding: 4px 10px 4px 4px; border-radius: 999px; background: #F3F6FA; }
.be-step-i b { display: inline-flex; width: 20px; height: 20px; border-radius: 50%; background: #D7DEE8; color: #fff; font-size: 11.5px; align-items: center; justify-content: center; font-weight: 700; }
.be-step-i.is-on { color: #083A84; background: #EAF2FF; }
.be-step-i.is-on b { background: #083A84; }
.be-step-i.is-done b { background: #02CCE2; }

/* Buscador global */
.be-buscar { position: relative; }
.be-buscar__caja { position: relative; display: flex; align-items: center; }
.be-buscar__caja svg { position: absolute; left: 12px; width: 18px; height: 18px; color: #6b7a94; pointer-events: none; }
.bindy-esp #be-q { width: 100%; height: 46px; padding: 8px 40px 8px 40px; border: 1.5px solid #d9e2ef; border-radius: 12px; font-size: 15px; color: #0F2350; background: #fff; box-shadow: none; }
.bindy-esp #be-q:focus { border-color: #02CCE2; outline: 0; box-shadow: 0 0 0 3px rgba(2,204,226,.18); }
.be-buscar__x { position: absolute; right: 8px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #EEF2F7; color: #46556f; font-size: 18px; line-height: 1; cursor: pointer; }
.be-buscar__x[hidden] { display: none; }
.be-res { position: absolute; left: 0; right: 0; top: calc(100% - 2px); z-index: 30; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #d9e2ef; border-radius: 12px; box-shadow: 0 12px 32px rgba(8,58,132,.14); max-height: 340px; overflow: auto; }
.be-res[hidden] { display: none; }
.be-res li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; cursor: pointer; }
.be-res li:hover, .be-res li.is-act { background: #F0FBFD; }
/* Jorge (29-oct): el aviso de «no encontramos» en naranja. */
.be-res li.be-res__none { cursor: default; color: #C2410C; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.be-res li.be-res__none:hover { background: transparent; }
.be-res__ic { display: inline-flex; width: 30px; height: 30px; border-radius: 8px; background: #F5F8FC; align-items: center; justify-content: center; flex: 0 0 30px; }
.be-res__ic svg { width: 18px; height: 18px; }
.be-res__t { display: flex; flex-direction: column; min-width: 0; }
.be-res__t b { font-weight: 700; color: #0F2350; font-size: 14px; }
.be-res__t small { color: #6b7a94; font-size: 12px; }

/* Categorías */
/* Jorge, 28-oct: tarjetas de categoría más compactas (con 17 grupos, las de 56 px ocupaban media pantalla). */
.be-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
@media (min-width: 560px) { .be-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 860px) { .be-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.be-cat { display: flex; align-items: center; gap: 8px; padding: 6px 9px; min-height: 42px; border: 1.5px solid #d9e2ef; border-radius: 10px; background: #fff; color: #2b3a55; font-size: 12.5px; font-weight: 600; text-align: left; cursor: pointer; line-height: 1.2; }
.be-cat:hover { border-color: #b8c7de; }
.be-cat.is-on { border-color: #02CCE2; background: #F0FBFD; color: #083A84; box-shadow: 0 0 0 3px rgba(2,204,226,.16); }
.be-cat__ic { display: inline-flex; width: 26px; height: 26px; border-radius: 7px; background: #F5F8FC; align-items: center; justify-content: center; flex: 0 0 26px; }
.be-cat.is-on .be-cat__ic { background: #fff; }
.be-cat__ic svg { width: 16px; height: 16px; }
.be-cat__n { line-height: 1.2; }

/* Contadores y chips */
.be-count { margin: 0 0 10px; color: #46556f; font-size: 13px; }
.be-count a { color: #0B84A6; font-weight: 700; }
.be-count .be-tope { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFF4E5; color: #B45309; font-size: 12px; font-weight: 600; }
.be-count .be-tope a { color: inherit; text-decoration: underline; }
.be-count.is-shake { animation: be-shake .35s; }
@keyframes be-shake { 0%,100% { transform: translateX(0) } 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }
.be-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.be-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 1.5px solid #d9e2ef; border-radius: 999px; background: #fff; color: #2b3a55; font-size: 13.5px; line-height: 1.2; cursor: pointer; transition: all .12s; }
.be-chip:hover { border-color: #b8c7de; }
.be-chip.is-on { border-color: #083A84; background: #083A84; color: #fff; font-weight: 600; }
.be-chip i { font-style: normal; font-size: 12px; }
.be-chip.is-off { opacity: .45; cursor: not-allowed; }
.be-chip--kw.is-on { background: #02CCE2; border-color: #02CCE2; color: #062B5E; }
.be-grupo { margin: 0 0 14px; }
.be-grupo__t { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6b7a94; font-weight: 700; margin: 0 0 7px; }

/* Elegidas (con principal) */
.be-elegidas { margin-top: 12px; }
.be-elegidas__t { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #6b7a94; font-weight: 700; margin: 0 0 6px; }
.be-eleg { display: flex; align-items: center; gap: 8px; padding: 9px 10px 9px 12px; border: 1px solid #E3E9F2; border-radius: 10px; background: #FAFBFD; margin: 0 0 6px; }
.be-eleg.is-principal { border-color: #02CCE2; background: #F0FBFD; }
.be-eleg__n { flex: 1; font-weight: 600; color: #0F2350; min-width: 0; }
.be-eleg__badge { padding: 3px 9px; border-radius: 999px; background: #083A84; color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.be-eleg__btn { padding: 4px 10px; border: 1px solid #c8d6ea; border-radius: 999px; background: #fff; color: #083A84; font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.be-eleg__btn:hover { background: #EAF2FF; }
.be-eleg__x { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #8A97AD; font-size: 20px; line-height: 1; cursor: pointer; }
.be-eleg__x:hover { background: #FDECEC; color: #B91C1C; }

/* Vista previa "Así te verán" */
.be-prev .be-h::before { content: "Vista previa"; display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #02A9BC; margin-bottom: 2px; }
.be-card { display: flex; gap: 12px; padding: 14px; border: 1px solid #E3E9F2; border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgba(8,58,132,.08); max-width: 560px; }
.be-card__logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; background: #083A84; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; }
.be-card__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.be-card__logo img[hidden], .be-card__ini[hidden] { display: none; }
.be-card__body { flex: 1; min-width: 0; }
.be-card__nombre { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.be-card__n { font-weight: 700; font-size: 15.5px; color: #0F2350; }
.be-card__pro { padding: 2px 8px; border-radius: 999px; background: #FFD84D; color: #4A3B00; font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.be-card__pro[hidden] { display: none; }
.be-card__ver { width: 16px; height: 16px; color: #02A9BC; }
.be-card__oficio { color: #46556f; font-size: 13.5px; margin-top: 1px; }
.be-card__stars { color: #F5B301; font-size: 13px; margin-top: 3px; letter-spacing: 1px; }
.be-card__stars span { color: #8A97AD; font-size: 12px; letter-spacing: 0; margin-left: 4px; }
.be-card__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.be-card__chips span { padding: 3px 9px; border-radius: 999px; background: #F0FBFD; color: #0B6B7C; font-size: 12px; font-weight: 600; }
.be-card__chips:empty { display: none; }
.be-card__ciudad { color: #6b7a94; font-size: 12.5px; margin-top: 7px; }
.be-card__btns { display: flex; gap: 8px; margin-top: 10px; }
.be-btn { flex: 1; text-align: center; padding: 8px 10px; border-radius: 9px; background: #083A84; color: #fff; font-size: 13px; font-weight: 700; }
.be-btn--wa { background: #25D366; color: #fff; }

/* Error */
.be-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #FDECEC; color: #B91C1C; font-weight: 600; font-size: 13.5px; }
.be-error[hidden] { display: none; }
.bindy-esp.is-error .be-cats, .bindy-esp.is-error [data-chips="esp"] { outline: 2px solid #F87171; outline-offset: 6px; border-radius: 12px; }
.be-values[hidden] { display: none; }
@media (max-width: 480px) {
  .be-card { padding: 12px; }
  .be-cat { font-size: 12px; padding: 6px 8px; }
}
/* El tema fuerza Title Case en labels/headings: aquí no. */
.bindy-esp .be-lbl, .bindy-esp .be-h, .bindy-esp .be-grupo__t, .bindy-esp .be-elegidas__t, .bindy-esp .be-chip, .bindy-esp .be-cat, .bindy-esp .be-res, .bindy-esp .be-card { text-transform: none !important; }
.bindy-esp .be-cat-nombre { font-weight: 700; color: #083A84; }
.bindy-esp small, .be-res small { color: #6b7a94 !important; }

/* «Otros»: aviso de SEO + texto libre del servicio */
.bindy-esp .be-otros { margin-top: 12px; padding: 12px 14px; background: #fff8e6; border: 1px solid #f3d99a; border-radius: 10px; }
.bindy-esp .be-aviso { margin: 0 0 10px; font-size: 13px; line-height: 1.45; color: #6b4d00; }
.bindy-esp .be-otro__in { width: 100%; max-width: 420px; height: 42px; padding: 0 12px; border: 1px solid #cfdcf0; border-radius: 8px; font-size: 14.5px; color: #1b2430; }
/* Jorge (29-oct): botón «Aceptar» junto al texto libre + confirmación. */
.be-otro__row { display: flex; gap: 8px; align-items: center; max-width: 420px; }
.be-otro__row .be-otro__in { flex: 1 1 auto; max-width: none; min-width: 0; }
.be-otro__in.is-shake { animation: be-shake .35s; border-color: #F87171; }
.be-otro__ok { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: #E8F7EC; color: #166534; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.be-otro__ok[hidden] { display: none; }

/* Plan de «Otros» (28-oct-2026): «Mi especialidad no está», palabras propias y recomendación de grupo. */
.be-noesta { margin: 8px 0 0; }
.be-pend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; padding: 10px 12px; border: 1.5px solid #02CCE2; background: #F0FBFD; border-radius: 10px; font-size: 14px; color: #1b2430; }
.be-pend[hidden] { display: none; }
.be-noesta[hidden] { display: none; }
/* Jorge (29-oct): «Mi especialidad no está» y «Agregarla con mis palabras clave» en rojo. */
.be-link { background: none; border: 0; padding: 0; color: #D32F2F; font-weight: 700; font-size: 13.5px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.be-link:hover { color: #B71C1C; }
.be-eleg.is-otros .be-eleg__n { color: #6b4d00; }
.be-propias { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; }
.be-propias .be-otro__in { flex: 1 1 auto; max-width: none; min-width: 0; }
.be-propias__add { flex: 0 0 auto; height: 42px; padding: 0 16px; border: 0; border-radius: 8px; background: #083A84; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.be-propias__add:disabled, .be-propias .be-otro__in:disabled { opacity: .5; cursor: not-allowed; }
.be-chip.is-propia { padding-right: 6px; }
.be-chip__x { background: none; border: 0; padding: 0 2px; margin-left: 2px; color: inherit; font-size: 15px; line-height: 1; cursor: pointer; opacity: .8; }
.be-chip__x:hover { opacity: 1; }
.be-res li.be-res__reco { border: 1.5px solid #02CCE2; background: #F0FBFD; margin-top: 4px; }
.be-grupo--propias { padding: 10px 12px; background: #fff8e6; border: 1px solid #f3d99a; border-radius: 10px; }
