.frontpage-contact-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.frontpage-contact-bubble {
    background: #1b405b;
    border-radius: 4px;
    padding: 6px 12px 8px;
    font-size: 14px;
    color: #fff;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    margin-right: 7px;
    width: 156px;
    letter-spacing: -0.03em;
    line-height: 1.5;
    transition: all 0.4s ease;
}

.frontpage-contact-bubble.show {
    opacity: 1;
    transform: translateY(-50%);
}

.frontpage-contact-bubble::after {
    display: none;
}

.frontpage-contact-btn {
    width: 100% !important;
    height: 56px !important;
    padding: 1em;
    background: #f05e22;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.frontpage-contact-btn:hover {
    background: #dd4d12;
    transform: scale(1.1);
}

.frontpage-contact-btn:focus {
    outline: none;
}

.frontpage-contact-btn svg {
    font-size: 1.15rem;
}

.btn-icon {
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-icon.rotate-out {
    opacity: 0 !important;
    transform: translate(-50%, -50%) rotate(180deg);
}

.btn-icon.rotate-in {
    opacity: 1 !important;
    transform: translate(-50%, -50%) rotate(0deg);
}

#whatsappIcon {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

#closeIcon {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-180deg);
}

.frontpage-contact-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: #1b405b;
    border-radius: 15px;
    padding: 15px;
    min-width: 250px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.frontpage-contact-options.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.frontpage-contact-options h6 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.frontpage-contact-options h6 > svg {
    color: #f05e22;
    font-size: 1.25rem;
    margin-right: 6px;
}

.frontpage-contact-option-btn {
    display: table;
    width: 100%;
    padding: 0.25em 0.5em 0.25em 4.5em;
    margin-bottom: 5px;
    border: none;
    border-radius: 4px 4px 4px 4px;
    border-left: 4px solid #2db742;
    background: #f5f7f9;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    position: relative;
}

.frontpage-contact-option-btn:hover,
a[href^="tel"].frontpage-contact-option-btn:hover {
    color: #1b405b;
    text-decoration: none;
}

.frontpage-contact-option-btn svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.frontpage-contact-option-btn .frontpage-contact-text {
    display: table-cell;
    vertical-align: middle;
    height: 48px;
    min-height: 48px;
}

.frontpage-contact-name {
    color: #363c47;
    font-size: 14px;
    line-height: 1.188em;
    font-weight: 600;
}

.frontpage-contact-subtitle {
    color: #989b9f;
    font-size: 11px;
    line-height: 1.125em;
    padding-top: 2px;
}

.frontpage-contact-widget.active .frontpage-contact-bubble {
    opacity: 0;
    transform: translateY(15px);
    visibility: hidden;
}

@media (max-width: 768px) {
    .frontpage-contact-options h6 {
        font-size: 0.9rem;
    }

    .frontpage-contact-widget {
        bottom: 20px;
        right: 20px;
    }

    .frontpage-contact-options {
        min-width: 200px;
        right: 15px;
    }

    .frontpage-contact-bubble {
        font-size: 12.5px;
        padding: 6px 10px;
        width: 140px;
    }

    .frontpage-contact-option-btn {
        padding: 0.25em 0.5em 0.25em 3.5em;
    }

    .frontpage-contact-option-btn svg {
        font-size: 1.5rem;
    }
}
