.floating-contact {
    position: fixed;
    right: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    z-index: 1850;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-btn,
.back-to-top-btn {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
    text-decoration: none;
    font-size: 24px;
    cursor: pointer;
}

.floating-btn.whatsapp {
    background: #168b45;
    color: #ffffff;
}

.floating-btn.call {
    background: #ee6100;
    color: #ffffff;
}

.floating-btn:hover {
    color: #ffffff;
    filter: brightness(.92);
}

.floating-btn:focus-visible,
.back-to-top-btn:focus-visible {
    outline: 3px solid #252525;
    outline-offset: 3px;
}

.back-to-top-btn {
    position: fixed;
    right: 20px;
    bottom: calc(132px + env(safe-area-inset-bottom, 0px));
    z-index: 1850;
    background: #ffffff;
    color: #252525;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease;
}

.back-to-top-btn.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 600px) {
    .floating-contact,
    .back-to-top-btn {
        right: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .back-to-top-btn {
        transition: none;
    }
}
