.lw-contacto { position: fixed; right: 20px; bottom: 20px; z-index: 99999; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.lw-contacto [hidden] { display: none !important; }
.lw-contacto__boton { position: relative; display: flex; align-items: center; gap: 0; height: 56px; padding: 0 6px 0 22px; border: 1px solid #e3e7ee; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px rgba(11, 39, 65, .22); color: #0b2741; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.lw-contacto__boton:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11, 39, 65, .3); }
.lw-contacto__boton:focus-visible, .lw-contacto__cerrar:focus-visible, .lw-contacto__opcion:focus-visible { outline: 3px solid #f38b04; outline-offset: 2px; }
.lw-contacto__pildora { padding-right: 14px; font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap; }
.lw-contacto__burbuja { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #0b2741; color: #fff; font-size: 22px; line-height: 1; }
.lw-contacto__aviso { position: absolute; top: -8px; left: -4px; display: flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border: 2px solid #fff; border-radius: 999px; background: #ef3340; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.lw-contacto__aviso[hidden] { display: none; }
.lw-contacto__panel { width: 340px; max-width: calc(100vw - 32px); overflow: hidden; border: 1px solid #e3e7ee; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(11, 39, 65, .3); animation: lw-contacto-entra .18s ease-out; }
@keyframes lw-contacto-entra { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.lw-contacto__cabecera { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 18px; background: #0b2741; color: #fff; }
.lw-contacto__titulo { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.15; color: #fff; }
.lw-contacto__estado { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; line-height: 1.2; color: #dbe3f5; }
.lw-contacto__punto { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.lw-contacto__cerrar { display: flex; align-items: center; justify-content: center; flex: none; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; background: transparent; color: #fff; font-size: 14px; cursor: pointer; }
.lw-contacto__cerrar:hover { background: rgba(255, 255, 255, .15); }
.lw-contacto__opciones { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.lw-contacto__opcion { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #eef1f7; color: #0b2741; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.lw-contacto__opcion:hover { background: #e2e8f5; transform: translateX(2px); color: #0b2741; }
.lw-contacto__icono { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 12px; color: #fff; font-size: 28px; line-height: 1; }
.lw-contacto__icono--app { background: #f38b04; }
.lw-contacto__icono--wa { background: #25d366; }
.lw-contacto__icono--ig { background: linear-gradient(45deg, #fdc468 0%, #f5413c 35%, #c32aa3 70%, #5a49d6 100%); }
.lw-contacto__texto { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.lw-contacto__texto strong { font-size: 17px; font-weight: 700; line-height: 1.2; }
.lw-contacto__texto small { font-size: 14px; line-height: 1.25; color: #464956; }
.lw-contacto__flecha { flex: none; font-size: 15px; }
/* El botón de subir de la página va sobre el de contacto y se esconde con el panel abierto */
.progress-wrap { inset-block-end: 92px !important; inset-inline-end: 30px !important; }
html.lw-contacto-abierto .progress-wrap { opacity: 0 !important; pointer-events: none; }
@media (max-width: 767.98px) {
    .lw-contacto { right: 14px; bottom: 14px; }
    .lw-contacto__boton { height: 50px; padding-left: 18px; }
    .lw-contacto__pildora { font-size: 15px; padding-right: 12px; }
    .lw-contacto__burbuja { width: 40px; height: 40px; font-size: 20px; }
    .progress-wrap { inset-block-end: 76px !important; inset-inline-end: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .lw-contacto__panel { animation: none; }
    .lw-contacto__boton, .lw-contacto__opcion { transition: none; }
}
