/* Asistente web EFECTIVIDAD360® · vista previa 02.11.2026
   Autocontenido: todo cuelga de #a360-btn y #a360-panel (no toca clases de la web).
   Navy #0F1B3D · Dorado #F0C040 */

/* El botón WhatsApp existente se sube para quedar encima de la burbuja (no se tapan) */
#wa360{bottom:96px!important}
@media(max-width:767px){#wa360{bottom:86px!important}}

#a360-btn,#a360-panel,#a360-panel *{box-sizing:border-box;font-family:"Source Sans Pro",-apple-system,"Segoe UI",Roboto,Arial,sans-serif}

#a360-btn{position:fixed;right:22px;bottom:22px;z-index:8600;width:62px;height:62px;border-radius:50%;
  background:#0F1B3D;border:2px solid #F0C040;box-shadow:0 8px 22px rgba(0,0,0,.35);cursor:pointer;
  display:flex;align-items:center;justify-content:center;padding:0;transition:transform .2s}
#a360-btn:hover{transform:scale(1.07)}
#a360-btn svg{width:30px;height:30px;fill:#F0C040}
#a360-btn .a360-x{display:none}
#a360-btn.on .a360-chat{display:none}
#a360-btn.on .a360-x{display:block}
#a360-btn .a360-dot{position:absolute;top:-2px;right:-2px;width:16px;height:16px;border-radius:50%;background:#F0C040;border:2px solid #0F1B3D}
#a360-btn.on .a360-dot,#a360-btn.visto .a360-dot{display:none}
@media(max-width:767px){#a360-btn{right:16px;bottom:16px;width:58px;height:58px}}

#a360-panel{position:fixed;right:22px;bottom:96px;z-index:8700;width:390px;max-width:calc(100vw - 32px);
  height:620px;max-height:calc(100vh - 180px);background:#fff;border-radius:18px;overflow:hidden;
  box-shadow:0 18px 50px rgba(15,27,61,.45);border:1px solid rgba(240,192,64,.55);
  display:none;flex-direction:column;color:#1d2433;font-size:15px;line-height:1.45}
#a360-panel.on{display:flex;animation:a360in .22s ease-out}
@keyframes a360in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* Celular: pantalla completa, sin bloquear el desplazamiento de la web al cerrar */
@media(max-width:600px){
  #a360-panel{inset:0;right:0;bottom:0;width:100%;max-width:100%;height:100%;height:100dvh;max-height:none;border-radius:0;border:0;z-index:9600}
}

.a360-head{background:#0F1B3D;color:#fff;padding:14px 16px;display:flex;align-items:center;gap:12px;border-bottom:3px solid #F0C040;flex:0 0 auto}
.a360-logo{width:40px;height:40px;border-radius:50%;border:1.5px solid #F0C040;display:flex;align-items:center;justify-content:center;color:#F0C040;font-weight:700;font-size:13px;letter-spacing:.2px;flex:0 0 auto}
.a360-tit{flex:1;min-width:0}
.a360-tit b{display:block;font-size:16px;font-weight:700;letter-spacing:.2px}
.a360-tit b sup{color:#F0C040;font-size:9px}
.a360-tit span{display:block;font-size:12.5px;color:#cfd6e6}
.a360-cerrar{background:none;border:0;color:#F0C040;font-size:26px;line-height:1;cursor:pointer;padding:4px 6px}

.a360-body{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;padding:16px 14px 8px;background:#f5f6fa}
.a360-msg{max-width:88%;padding:10px 13px;border-radius:14px;margin:0 0 10px;white-space:pre-line;word-wrap:break-word}
.a360-bot{background:#fff;border:1px solid #e3e6ef;border-top-left-radius:4px;color:#1d2433}
.a360-yo{background:#0F1B3D;color:#fff;margin-left:auto;border-top-right-radius:4px}
.a360-bot a{color:#0F1B3D;font-weight:600;text-decoration:underline}

.a360-chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.a360-chip{background:#fff;border:1.5px solid #0F1B3D;color:#0F1B3D;border-radius:18px;padding:7px 12px;font-size:13.5px;cursor:pointer;text-align:left;line-height:1.25}
.a360-chip:hover{background:#0F1B3D;color:#fff}
.a360-chip.oro{background:#F0C040;border-color:#F0C040;color:#0F1B3D;font-weight:700}
.a360-chip.oro:hover{background:#e0ad25}
.a360-chip.wa{border-color:#25D366;color:#128C4A}
.a360-chip.wa:hover{background:#25D366;color:#fff}

.a360-grupo{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#8a6d12;font-weight:700;margin:6px 0 6px}
.a360-lista{display:flex;flex-direction:column;gap:6px;margin:0 0 12px}
.a360-lista .a360-chip{border-radius:10px;border-width:1px;border-color:#d5d9e5}

.a360-card{background:#fff;border:1px solid #e3e6ef;border-radius:14px;padding:14px;margin:0 0 12px}
.a360-card h4{margin:0 0 8px;font-size:15px;color:#0F1B3D;font-weight:700}
.a360-nota{font-size:13px;color:#4a5368;margin:0 0 10px}
.a360-cons{border-top:1px solid #eceef4;padding:10px 0 4px}
.a360-cons label{display:flex;gap:9px;align-items:flex-start;cursor:pointer;font-size:14px;color:#0F1B3D;font-weight:600}
.a360-cons input{width:19px;height:19px;flex:0 0 auto;margin:1px 0 0;accent-color:#0F1B3D}
.a360-cons .txt{font-size:12.5px;font-weight:400;color:#3c465c;background:#f7f8fb;border-left:3px solid #F0C040;padding:8px 10px;margin:6px 0 0 28px;border-radius:6px;line-height:1.45}
.a360-cons .ok{display:none;margin:4px 0 0 28px;font-size:12px;color:#1c7c45;font-weight:600}
.a360-cons.marcado .ok{display:block}
.a360-cons.opc label{font-weight:400;font-size:13.5px}
.a360-det{font-size:12.5px;color:#3c465c;margin:8px 0 0}
.a360-det summary{cursor:pointer;color:#0F1B3D;font-weight:700}
.a360-det p{margin:6px 0}

.a360-campo{margin:0 0 10px}
.a360-campo label{display:block;font-size:12.5px;font-weight:700;color:#0F1B3D;margin:0 0 4px}
.a360-campo input,.a360-campo select,.a360-campo textarea{width:100%;border:1px solid #cfd4e1;border-radius:9px;padding:9px 10px;font-size:16px;color:#1d2433;background:#fff}
.a360-campo textarea{min-height:76px;resize:vertical}
.a360-campo input:focus,.a360-campo select:focus,.a360-campo textarea:focus{outline:2px solid #F0C040;border-color:#0F1B3D}
.a360-campo.err input,.a360-campo.err select,.a360-campo.err textarea{border-color:#c0392b}
.a360-campo .e{display:none;color:#c0392b;font-size:12px;margin-top:3px}
.a360-campo.err .e{display:block}

.a360-btnp{display:block;width:100%;background:#F0C040;color:#0F1B3D;border:0;border-radius:11px;padding:12px;font-size:15px;font-weight:700;cursor:pointer;margin-top:6px}
.a360-btnp:disabled{background:#e4e6ec;color:#9aa1b2;cursor:not-allowed}
.a360-btns{display:block;width:100%;background:#fff;color:#0F1B3D;border:1.5px solid #0F1B3D;border-radius:11px;padding:10px;font-size:14px;font-weight:600;cursor:pointer;margin-top:8px}

.a360-horas{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.a360-hora{background:#0F1B3D;color:#fff;border:1.5px solid #F0C040;border-radius:12px;padding:11px 14px;font-size:15px;cursor:pointer;text-align:left;display:flex;justify-content:space-between;align-items:center}
.a360-hora b{color:#F0C040}
.a360-hora:hover{background:#18295c}

.a360-fin{text-align:center}
.a360-fin .tk{display:inline-block;background:#0F1B3D;color:#F0C040;font-weight:700;font-size:20px;letter-spacing:1px;border-radius:10px;padding:8px 16px;margin:6px 0 10px}
.a360-fin .sello{width:54px;height:54px;border-radius:50%;background:#F0C040;color:#0F1B3D;font-size:30px;line-height:54px;margin:0 auto 8px;font-weight:700}
.a360-fin table{width:100%;border-collapse:collapse;font-size:13.5px;text-align:left;margin:6px 0 10px}
.a360-fin td{padding:6px 4px;border-bottom:1px solid #eceef4}
.a360-fin td:first-child{color:#6b7488;width:38%}

.a360-pie{flex:0 0 auto;border-top:1px solid #e3e6ef;background:#fff;padding:9px 10px;display:flex;gap:8px}
.a360-pie input{flex:1;min-width:0;border:1px solid #cfd4e1;border-radius:20px;padding:9px 14px;font-size:16px}
.a360-pie input:focus{outline:2px solid #F0C040}
.a360-pie button{flex:0 0 auto;width:42px;height:42px;border-radius:50%;border:0;background:#0F1B3D;cursor:pointer;display:flex;align-items:center;justify-content:center}
.a360-pie button svg{width:20px;height:20px;fill:#F0C040}
.a360-legal{font-size:10.5px;color:#8a92a6;text-align:center;padding:0 10px 7px;background:#fff;flex:0 0 auto}
.a360-sim{font-size:11px;color:#8a6d12;background:#fff7dc;border:1px dashed #F0C040;border-radius:8px;padding:6px 8px;margin:0 0 10px}

/* Blindaje contra estilos globales de la web (label, td, a, p heredaban colores claros) */
#a360-panel label,#a360-panel label span,#a360-panel td,#a360-panel p,#a360-panel h4,#a360-panel summary,#a360-panel b{color:#0F1B3D!important;opacity:1!important;text-shadow:none!important}
#a360-panel .a360-cons.opc label span{color:#3c465c!important}
#a360-panel .a360-fin td:first-child{color:#6b7488!important}
#a360-panel .a360-fin td{color:#1d2433!important}
#a360-panel .a360-cons .txt,#a360-panel .a360-nota{color:#3c465c!important}
#a360-panel .a360-yo,#a360-panel .a360-head b,#a360-panel .a360-hora span{color:#fff!important}
#a360-panel .a360-hora b,#a360-panel .a360-tit b sup{color:#F0C040!important}
#a360-panel .a360-cons .ok{color:#1c7c45!important}
#a360-panel .a360-campo .e{color:#c0392b!important}
#a360-panel a{color:#0F1B3D!important;text-decoration:underline!important;font-weight:600}
#a360-panel .a360-legal a{color:#8a92a6!important;font-weight:400}
#a360-panel .a360-sim{color:#8a6d12!important}
#a360-panel input,#a360-panel select,#a360-panel textarea{color:#1d2433!important;-webkit-text-fill-color:#1d2433}
#a360-panel input:disabled,#a360-panel select:disabled,#a360-panel textarea:disabled{color:#4a5368!important;-webkit-text-fill-color:#4a5368;opacity:1}
/* LinkedIn con prefijo fijo, como en Talento Activo */
.a360-lk{display:flex;align-items:stretch}
.a360-lk-pre{display:flex;align-items:center;padding:0 9px;border:1px solid #cfd4e1;border-right:0;border-radius:9px 0 0 9px;background:#eef1f7;color:#0F1B3D;font-size:13px;white-space:nowrap}
.a360-lk input{border-radius:0 9px 9px 0 !important;min-width:0}


/* Cuadro = ícono de asistente; logo original en el título · Pati 02.11.2026 */
.a360-ico{width:44px!important;height:44px!important;border-radius:50%!important;border:1.5px solid #F0C040!important;background:rgba(240,192,64,.08)!important;flex:0 0 44px;display:flex!important;align-items:center;justify-content:center}
.a360-ico svg{width:26px;height:26px}
.a360-marca{display:block;height:12px;width:auto;margin:3px 0 7px}

/* Burbuja más visible + etiqueta «Asistente virtual» · Pati 02.11.2026 */
#a360-btn{background:#F0C040!important;border-color:#F0C040!important}
#a360-btn svg{fill:#0F1B3D!important}
#a360-btn .a360-dot{background:#0F1B3D!important;border-color:#F0C040!important}
#a360-tip{position:fixed;right:96px;bottom:30px;z-index:8600;background:#0F1B3D;border:1.5px solid #F0C040;border-radius:14px;padding:8px 14px;text-align:left;cursor:pointer;box-shadow:0 8px 22px rgba(0,0,0,.35);font-family:inherit;line-height:1.25;animation:a360in .5s ease .8s both}
#a360-tip b{display:block;color:#F0C040;font-size:13px;font-weight:700}
#a360-tip span{display:block;color:#fff;font-size:12.5px}
#a360-tip.oculto{display:none}
@keyframes a360in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:767px){#a360-tip{right:84px;bottom:22px;padding:7px 12px}#a360-tip span{font-size:12px}}

/* Asistente abierto dentro de la página Contacto · Pati 02.11.2026 */
#a360-panel.a360-inline{position:relative!important;inset:auto!important;right:auto!important;bottom:auto!important;width:100%!important;max-width:100%!important;height:620px!important;max-height:none!important;z-index:1!important;border-radius:18px!important;border:1.5px solid #F0C040!important;box-shadow:0 18px 40px rgba(0,0,0,.35)!important}
@media(max-width:767px){#a360-panel.a360-inline{height:560px!important;margin-top:24px}}
/* Respuestas compuestas desde la base de conocimiento */
#a360-panel .a360-bot p{margin:0 0 8px}#a360-panel .a360-bot p:last-child{margin-bottom:0}
#a360-panel .a360-fuente{display:inline;font-size:12px;color:#6b7488!important}
#a360-panel .a360-bot a{color:#0F1B3D!important;text-decoration:underline}
