: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%;
    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;
    text-decoration: none;
    border: none;
    border-radius: 0;
    transition: filter 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, #f97316 0%, #ea580c 100%);
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

@media (min-width: 961px) {
    .contact-action-bar {
        display: none;
    }

    body.has-contact-action-bar {
        padding-bottom: 0;
    }
}
