/* ============================= */
/* Floating Contact */
/* ============================= */

.floating-contact {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 175px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background-color: var(--clr-accent);
    color: var(--fc-white);
    font-family: var(--ff-primary);
    font-size: 18px;
    font-weight: var(--fw-bold);
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 10px 0 0 10px;
    border-top: 2px solid var(--clr-primary-white);
    border-left: 2px solid var(--clr-primary-white);
    border-bottom: 2px solid var(--clr-primary-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 999;
    cursor: pointer;
    right: calc(-175px + 54px);
    transition: right 0.25s ease, box-shadow 0.25s ease;
}

.floating-contact:hover {
    right: 0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.floating-contact .floating-icon {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-contact .floating-icon svg {
    width: 27px;
    height: 27px;
    display: block;
}

.floating-contact .floating-text {
    display: inline-block;
}

@media (max-width: 480px) {
    .floating-contact {
        width: 64px;
        right: -18px;
        padding: 0 12px;
        justify-content: center;
        font-size: 18px;
    }

    .floating-contact .floating-text {
        display: none;
    }
}
