.bep-contact-floating {
    position: fixed;
    right: 18px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bep-contact-item {
    display: flex;
    min-width: 48px;
    height: 48px;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 24px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
    transition: padding .25s ease, transform .25s ease;
}

.bep-contact-item:hover {
    padding-right: 18px;
    color: #fff;
    transform: translateY(-2px);
}

.bep-contact-icon {
    display: flex;
    width: 48px;
    min-width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.bep-contact-text {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width .25s ease, opacity .25s ease;
}

.bep-contact-item:hover .bep-contact-text {
    max-width: 150px;
    opacity: 1;
}

.bep-contact-phone {
    background: #e53935;
}

.bep-contact-zalo {
    background: #0878f9;
}

.bep-contact-messenger {
    background: #006aff;
}

.bep-contact-quote {
    background: var(--bep-primary-dark);
}

.bep-mobile-contact {
    display: none;
}

@media (max-width: 849px) {
    body {
        padding-bottom: 64px;
    }

    .bep-contact-floating {
        display: none;
    }

    .bep-mobile-contact {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9999;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        min-height: 58px;
        border-top: 1px solid var(--bep-border);
        background: #fff;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
    }

    .bep-mobile-contact a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        border-right: 1px solid var(--bep-border);
        color: var(--bep-primary-dark);
        font-size: 12px;
        text-decoration: none;
    }

    .bep-mobile-contact a:last-child {
        border-right: 0;
    }

    .bep-mobile-contact span {
        font-size: 18px;
        line-height: 1;
    }
}
