/* ==========================================================================
   ESTILOS DEL BOTÓN FLOTANTE (FAB)
   ========================================================================== */

.contact-fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-fab {
    background-color: #E53935;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: absolute;
    bottom: 0;
    right: 0;
}

.contact-fab:hover {
    transform: scale(1.1);
    background-color: #d32f2f;
}

.contact-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: none; /* Oculto por defecto */
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.contact-popup.show {
    display: block;
    animation: fadeInPopup 0.3s ease;
}

@keyframes fadeInPopup {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.popup-header {
    background-color: #0b0c10; /* Gris oscuro ORDI */
    color: #ffffff;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.popup-header button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.popup-options {
    display: flex;
    flex-direction: column;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 15px;
    text-decoration: none;
    color: #0b0c10;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.option-item:last-child {
    border-bottom: none;
}

.option-item:hover {
    background-color: #f5f5f5;
}

.option-item i {
    font-size: 24px;
    margin-right: 15px;
}

.option-item .fa-envelope {
    color: #E53935;
}

.option-item .fa-whatsapp {
    color: #25D366; /* Verde oficial de WhatsApp */
}