.lm-whatsapp[hidden] { display:none; }
.lm-whatsapp {
  position:fixed;
  right:max(24px, env(safe-area-inset-right));
  bottom:max(24px, env(safe-area-inset-bottom));
  z-index:40;
  display:inline-flex;
  align-items:center;
  padding:6px;
  height:56px;
  border:1px solid #dce7ed;
  border-radius:999px;
  background:#fff;
  color:#123b5e;
  box-shadow:0 6px 24px #06223c24;
  font-family:var(--font-sans, Arial, sans-serif);
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
}
.lm-whatsapp:hover { color:#123b5e; }
.lm-whatsapp:focus-visible { outline:3px solid #0f52a0; outline-offset:5px; }
.lm-whatsapp__icon {
  display:grid;
  place-items:center;
  flex:0 0 42px;
  width:42px;
  height:42px;
  border-radius:50%;
  background:#128c50;
  color:#fff;
}
.lm-whatsapp__copy {
  display:flex;
  flex-direction:column;
  gap:2px;
  max-width:0;
  opacity:0;
  overflow:hidden;
  white-space:nowrap;
  transition:max-width .22s ease, opacity .18s ease, margin .22s ease;
}
.lm-whatsapp__copy strong { font-size:14px; font-weight:700; line-height:1.3; }
.lm-whatsapp__copy small { color:#587080; font-size:11px; line-height:1.4; }
.lm-whatsapp__arrow { display:none; }
.lm-whatsapp:focus-visible .lm-whatsapp__copy { max-width:210px; opacity:1; margin:0 14px 0 10px; }
@media (hover:hover) and (pointer:fine) {
  .lm-whatsapp:hover .lm-whatsapp__copy { max-width:210px; opacity:1; margin:0 14px 0 10px; }
}
@media (max-width:600px) {
  .lm-whatsapp { right:max(16px, env(safe-area-inset-right)); bottom:max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion:reduce) { .lm-whatsapp__copy { transition:none; } }
@media print { .lm-whatsapp { display:none; } }

/* Permanent contact options remain available where the floating shortcut hides. */
.lm-contact-link { color:inherit; text-decoration:underline; text-decoration-color:currentColor; text-underline-offset:4px; }
.lm-contact-link:hover { color:var(--color-accent, #009cce); }
.lm-contact-link:focus-visible,.lm-contact-whatsapp:focus-visible { outline:3px solid #22b8e6; outline-offset:4px; border-radius:4px; }
.lm-contact-whatsapp { display:inline-flex; align-items:center; gap:12px; padding:12px 16px; margin:4px 0 16px; border:1px solid #b6decb; border-radius:10px; background:#edf8f2; color:#126c42; font-size:14px; font-weight:700; text-decoration:none; }
.lm-contact-whatsapp:hover { background:#dcf2e6; color:#0c5131; }
.lm-contact-whatsapp small { display:block; margin-top:3px; font-size:12px; font-weight:400; }
.lm-contact-whatsapp svg { flex-shrink:0; }
footer .lm-contact-whatsapp { background:#123e3d; color:#d5fbe5; border-color:#397566; }
footer .lm-contact-whatsapp:hover { background:#18524b; color:#fff; }

/* Brochure sits 12px above the 56px WhatsApp control. */
.lm-brochure { bottom:calc(max(24px, env(safe-area-inset-bottom)) + 68px); }
.lm-brochure .lm-whatsapp__icon { background:#0f52a0; }
@media(max-width:600px) { .lm-brochure { bottom:calc(max(16px, env(safe-area-inset-bottom)) + 68px); } }
