.bl-contacto { position: fixed; right: 20px; bottom: 20px; z-index: 1050; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.bl-contacto, .bl-contacto *, .bl-contacto *::before, .bl-contacto *::after { box-sizing: border-box; }
.bl-contacto [hidden] { display: none !important; }
.bl-contacto button { font-family: inherit; }
.bl-contacto svg { display: block; width: 1em; height: 1em; }
.bl-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: #ffffff; box-shadow: 0 10px 30px rgba(0, 60, 0, .2); color: #1f2937; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.bl-contacto__boton:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 60, 0, .26); }
.bl-contacto__boton:focus-visible, .bl-contacto__cerrar:focus-visible, .bl-contacto__opcion:focus-visible { outline: 3px solid #008000; outline-offset: 2px; }
.bl-contacto__pildora { padding-right: 14px; font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap; }
.bl-contacto__burbuja { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #008000; color: #ffffff; font-size: 19px; }
.bl-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 #ffffff; border-radius: 999px; background: #ef3340; color: #ffffff; font-size: 12px; font-weight: 700; line-height: 1; }
.bl-contacto__aviso[hidden] { display: none; }
.bl-contacto__panel { width: 340px; max-width: calc(100vw - 32px); overflow: hidden; border: 1px solid #e3e7ee; border-radius: 20px; background: #ffffff; box-shadow: 0 18px 50px rgba(0, 60, 0, .28); animation: bl-contacto-entra .18s ease-out; }
@keyframes bl-contacto-entra { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.bl-contacto__cabecera { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 18px; background: #008000; color: #ffffff; }
.bl-contacto__titulo { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.15; color: #ffffff; }
.bl-contacto__estado { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; line-height: 1.2; color: #e6f4e6; }
.bl-contacto__punto { width: 9px; height: 9px; border-radius: 50%; background: #7CFC9A; box-shadow: 0 0 0 3px rgba(124, 252, 154, .3); }
.bl-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, .45); border-radius: 8px; background: transparent; color: #ffffff; font-size: 14px; cursor: pointer; }
.bl-contacto__cerrar:hover { background: rgba(255, 255, 255, .18); }
.bl-contacto__opciones { display: flex; flex-direction: column; gap: 10px; padding: 16px; }
.bl-contacto__opcion { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #f1f4f1; color: #1f2937; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.bl-contacto__opcion:hover { background: #e3ebe3; transform: translateX(2px); color: #1f2937; }
.bl-contacto__icono { display: flex; align-items: center; justify-content: center; flex: none; width: 46px; height: 46px; border-radius: 12px; color: #ffffff; font-size: 26px; }
.bl-contacto__icono--wa { background: #25d366; }
.bl-contacto__icono--ig { background: linear-gradient(45deg, #fdc468 0%, #f5413c 35%, #c32aa3 70%, #5a49d6 100%); }
.bl-contacto__texto { display: flex; flex-direction: column; flex: 1; min-width: 0; gap: 2px; }
.bl-contacto__texto strong { font-size: 17px; font-weight: 700; line-height: 1.2; }
.bl-contacto__texto small { font-size: 14px; line-height: 1.25; color: #4b5563; }
.bl-contacto__flecha { flex: none; font-size: 15px; }
/* El botón de subir va sobre el de contacto y se esconde con el panel abierto */
html.bl-contacto-abierto .back-to-top { opacity: 0 !important; pointer-events: none; }
@media (max-width: 767.98px) {
    .bl-contacto { right: 14px; bottom: 14px; }
    .bl-contacto__boton { height: 50px; padding-left: 18px; }
    .bl-contacto__pildora { font-size: 15px; padding-right: 12px; }
    .bl-contacto__burbuja { width: 40px; height: 40px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .bl-contacto__panel { animation: none; }
    .bl-contacto__boton, .bl-contacto__opcion { transition: none; }
}
.bl-contacto .visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
