:root {
    --contact-bar-h: 3.35rem;
}

body.has-contact-action-bar {
    padding-bottom: calc(var(--contact-bar-h) + env(safe-area-inset-bottom, 0px));
}

.contact-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 220;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #fff;
    box-shadow: 0 -6px 28px rgba(15, 23, 42, 0.14);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.contact-action-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--contact-bar-h);
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: clamp(0.82rem, 2.8vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none;
    border-radius: 0;
    transition: filter 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.contact-action-bar__btn svg {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

.contact-action-bar__btn--call {
    background: linear-gradient(180deg, #4f46e5 0%, #4338ca 100%);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-action-bar__btn--call:hover,
.contact-action-bar__btn--call:focus-visible {
    filter: brightness(1.08);
    color: #fff;
}

.contact-action-bar__btn--wa {
    background: linear-gradient(180deg, #2fd96c 0%, #20bd5a 100%);
    color: #fff;
}

.contact-action-bar__btn--wa:hover,
.contact-action-bar__btn--wa:focus-visible {
    filter: brightness(1.06);
    color: #fff;
}

.contact-action-bar__btn:active {
    filter: brightness(0.96);
}

body.menu-open .contact-action-bar,
body.ts-mobile-nav-open .contact-action-bar,
html.menu-open .contact-action-bar {
    display: none;
}

.whatsapp-button,
.whatsapp-float,
.wa-float {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .contact-action-bar__btn {
        transition: none;
    }
}
