/* Asistente MGM: línea gráfica del manual (rojo #B61837, azul #005EAA, grafito #2B2D42, Montserrat) */
.mchat-btn{position:fixed;right:22px;bottom:22px;z-index:9990;display:flex;align-items:center;gap:10px;padding:10px 18px 10px 10px;border:0;border-radius:999px;cursor:pointer;
  background:linear-gradient(-33deg,#95172a 0%,#cd4259 30%,#d2465d 45%,#b61837 73%,#a01630 100%);color:#fff;font:600 14px/1 Montserrat,system-ui,sans-serif;box-shadow:0 10px 30px rgba(43,45,66,.28);transition:transform .25s}
.mchat-btn:hover{transform:translateY(-2px)}
.mchat-btn:focus-visible,.mchat button:focus-visible,.mchat a:focus-visible,.mchat input:focus-visible,.mchat textarea:focus-visible{outline:3px solid #005EAA;outline-offset:2px}
.mchat-btn i{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.16);display:grid;place-items:center}
.mchat-btn img{width:22px;height:22px}
.mchat-btn.abierto{display:none}
body.mchat-on .wa{bottom:92px!important}
.mchat{position:fixed;right:22px;bottom:22px;z-index:9991;width:390px;height:min(620px,calc(100vh - 44px));display:none;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;
  box-shadow:0 24px 60px rgba(43,45,66,.32);font:400 14px/1.5 Montserrat,system-ui,sans-serif;color:#2B2D42}
.mchat.on{display:flex;animation:mchat-in .3s cubic-bezier(.2,.8,.2,1)}
@keyframes mchat-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.mchat-cab{display:flex;align-items:center;gap:12px;padding:14px 14px 14px 18px;color:#fff;background:linear-gradient(-33deg,#95172a 0%,#cd4259 30%,#d2465d 45%,#b61837 73%,#a01630 100%)}
.mchat-cab img{width:30px;height:30px}
.mchat-cab b{display:block;font-weight:700;font-size:15px}
.mchat-cab small{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.92}
.mchat-cab small::before{content:"";width:7px;height:7px;border-radius:50%;background:#7CF2C9}
.mchat-cab button{margin-left:auto;width:40px;height:40px;border:0;border-radius:10px;background:rgba(255,255,255,.14);color:#fff;font-size:22px;line-height:1;cursor:pointer}
.mchat-msgs{flex:1;overflow-y:auto;padding:16px 14px;background:#F4F5F7;display:flex;flex-direction:column;gap:10px;overscroll-behavior:contain}
.mchat-m{max-width:88%;padding:10px 13px;border-radius:14px;word-wrap:break-word;animation:mchat-in .25s ease}
.mchat-m.bot{align-self:flex-start;background:#fff;border-bottom-left-radius:4px;box-shadow:0 1px 2px rgba(43,45,66,.08)}
.mchat-m.yo{align-self:flex-end;background:#005EAA;color:#fff;border-bottom-right-radius:4px}
.mchat-m p{margin:0 0 6px}.mchat-m p:last-child{margin:0}
.mchat-m ul{margin:4px 0 6px 18px;padding:0}.mchat-m li{margin:2px 0}
.mchat-m a{color:#B61837;font-weight:600}
.mchat-m.yo a{color:#fff}
.mchat-fuentes{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.mchat-fuentes a{font-size:12px;font-weight:600;text-decoration:none;color:#005EAA;border:1px solid #cfe0f0;border-radius:999px;padding:4px 10px;background:#f6faff}
.mchat-sug{display:flex;flex-wrap:wrap;gap:8px;padding:0 14px 12px;background:#F4F5F7}
.mchat-sug button{font:500 13px/1.3 Montserrat,system-ui,sans-serif;color:#2B2D42;background:#fff;border:1px solid #dde1e7;border-radius:999px;padding:9px 13px;cursor:pointer;text-align:left}
.mchat-sug button:hover{border-color:#B61837;color:#B61837}
.mchat-esc{display:inline-flex;gap:5px;padding:14px}
.mchat-esc span{width:7px;height:7px;border-radius:50%;background:#9aa3b2;animation:mchat-pt 1s infinite}
.mchat-esc span:nth-child(2){animation-delay:.15s}.mchat-esc span:nth-child(3){animation-delay:.3s}
@keyframes mchat-pt{0%,60%,100%{opacity:.3;transform:none}30%{opacity:1;transform:translateY(-3px)}}
.mchat-pie{border-top:1px solid #e4e6eb;background:#fff;padding:10px 12px 12px}
.mchat-form{display:flex;gap:8px}
.mchat-form input{flex:1;min-width:0;font:400 14px Montserrat,system-ui,sans-serif;padding:11px 14px;border:1px solid #d5d9e0;border-radius:999px;color:#2B2D42;background:#F4F5F7}
.mchat-form button{width:44px;height:44px;flex:none;border:0;border-radius:50%;background:#B61837;color:#fff;display:grid;place-items:center;cursor:pointer}
.mchat-form button:disabled{opacity:.5;cursor:default}
.mchat-form svg{width:18px;height:18px}
.mchat-acc{display:flex;gap:8px;margin-top:9px}
.mchat-acc button,.mchat-acc a{flex:1;text-align:center;font:600 12.5px/1 Montserrat,system-ui,sans-serif;padding:11px 8px;border-radius:10px;cursor:pointer;text-decoration:none;border:1px solid #2B2D42;color:#2B2D42;background:#fff}
.mchat-acc a{border-color:#00A996;color:#00796b}
.mchat-lead{display:grid;gap:8px;margin-top:4px}
.mchat-lead input,.mchat-lead textarea{font:400 13.5px Montserrat,system-ui,sans-serif;padding:10px 12px;border:1px solid #d5d9e0;border-radius:10px;color:#2B2D42;width:100%;box-sizing:border-box}
.mchat-lead textarea{min-height:64px;resize:vertical}
.mchat-lead button{font:600 13.5px Montserrat,system-ui,sans-serif;padding:11px;border:0;border-radius:10px;background:#B61837;color:#fff;cursor:pointer}
.mchat-lead small{font-size:11.5px;color:#5c6070}
.mchat-aviso{font-size:11px;color:#6b7080;text-align:center;margin-top:8px}
@media (max-width:560px){
  .mchat{right:0;bottom:0;width:100%;height:100%;height:100dvh;border-radius:0}
  .mchat-btn{right:14px;bottom:14px}
  body.mchat-on .wa{bottom:80px!important}
}
@media (prefers-reduced-motion:reduce){.mchat.on,.mchat-m{animation:none}.mchat-esc span{animation:none}}
