/* Hallmark · component: WhatsApp CTA · genre: modern-minimal · theme: project system · states: default, hover, focus-visible, active · contrast: pass · v2.0.0 */
/* Floating WhatsApp button: deep WhatsApp green with a white mark, bottom-left so it never competes with the assistant on the right. */

:root {
    --wa-bg: #0f756a;
    --wa-bg-hover: #0b5f56;
    --wa-bg-active: #084c45;
    --wa-ink: #ffffff;
    --wa-focus: #1e3a8a;
    --wa-focus-halo: rgba(255, 255, 255, 0.9);
    --wa-shadow: 0 18px 40px rgba(11, 18, 32, 0.24);
}

.dverto-wa {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    background: var(--wa-bg);
    color: var(--wa-ink);
    box-shadow: var(--wa-shadow);
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.dverto-wa svg {
    width: 1.75rem;
    height: 1.75rem;
}

.dverto-wa:hover {
    background: var(--wa-bg-hover);
    transform: translateY(-1px);
}

.dverto-wa:active {
    background: var(--wa-bg-active);
    transform: translateY(0);
}

.dverto-wa:focus-visible {
    outline: 2px solid var(--wa-focus);
    outline-offset: 3px;
    box-shadow: 0 0 0 5px var(--wa-focus-halo);
}

@media (max-width: 520px) {
    .dverto-wa {
        left: 1rem;
        bottom: 1rem;
        width: 3.25rem;
        height: 3.25rem;
    }

    .dverto-wa svg {
        width: 1.6rem;
        height: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dverto-wa {
        transition: none;
    }

    .dverto-wa:hover {
        transform: none;
    }
}
