/*
 * Floating messages button + "Send a message" button.
 * FAB is dark plum (the dark anchor of the palette) so the sunset-red counter stands out;
 * the counter has a cream ring so it never melts into the button.
 * Theme overrides: --cmsg-fab-bg, --cmsg-fab-fg, --cmsg-accent, --cmsg-accent-hover, --cmsg-on-accent.
 */
body a.cmsg-fab{
    position:fixed;right:1.25rem;bottom:1.25rem;z-index:9990;
    display:flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;border-radius:50%;
    background:var(--cmsg-fab-bg,#2b1e3f);color:var(--cmsg-fab-fg,#fff6ea);
    box-shadow:0 6px 18px rgba(43,30,63,.3);text-decoration:none;transition:transform .15s ease,box-shadow .15s ease;
}
body a.cmsg-fab:hover,body a.cmsg-fab:focus-visible{color:var(--cmsg-fab-fg,#fff6ea);transform:translateY(-2px);box-shadow:0 10px 24px rgba(43,30,63,.35)}
body a.cmsg-fab svg{width:1.5rem;height:1.5rem}
body a.cmsg-fab .cmsg-fab-badge{
    position:absolute;top:-.15rem;right:-.15rem;min-width:1.4rem;height:1.4rem;font-size:.75rem;
    background:var(--cmsg-accent,#c42e44);color:var(--cmsg-on-accent,#fff);
    box-shadow:0 0 0 3px var(--cmsg-ring,#fff6ea);
}
@media (max-width:782px){body a.cmsg-fab{bottom:5rem;right:1rem;width:3.25rem;height:3.25rem}} /* above the mobile bottom toolbar */
@media (prefers-reduced-motion:reduce){body a.cmsg-fab{transition:none}}

.cmsg-contact{margin:1.5rem 0}
.cmsg-contact a.cmsg-contact-button{
    display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.35rem;border-radius:999px;
    background:var(--cmsg-accent,#c42e44);color:var(--cmsg-on-accent,#fff);
    font-weight:700;line-height:1.2;text-decoration:none;transition:background-color .15s ease;
}
.cmsg-contact a.cmsg-contact-button:hover,.cmsg-contact a.cmsg-contact-button:focus-visible,.cmsg-contact a.cmsg-contact-button:visited{color:var(--cmsg-on-accent,#fff)}
.cmsg-contact a.cmsg-contact-button:hover,.cmsg-contact a.cmsg-contact-button:focus-visible{background:var(--cmsg-accent-hover,#a3233a)}
.cmsg-contact a.cmsg-contact-button svg{width:1.15rem;height:1.15rem}
