/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin-top: 2px;
}

/* Modal de WhatsApp */
.whatsapp-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.whatsapp-modal-content {
    background-color: #fefefe;
    margin: 8% auto;
    padding: 0;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-30px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.whatsapp-modal-header {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
    position: relative;
}

.whatsapp-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.whatsapp-modal-header .whatsapp-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.whatsapp-close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.whatsapp-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-modal-body {
    padding: 30px 25px;
    text-align: center;
}

.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whatsapp-option {
    background: white;
    border: 2px solid #e1f5fe;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.whatsapp-option:hover {
    background: #e8f5e8;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    text-decoration: none;
    color: #333;
}

.whatsapp-option-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.whatsapp-option-content {
    text-align: left;
    flex: 1;
}

.whatsapp-option-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.whatsapp-option-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 26px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .whatsapp-modal-body {
        padding: 20px 15px;
    }
    
    .whatsapp-option {
        padding: 15px;
    }
    
    .whatsapp-option-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .whatsapp-option-title {
        font-size: 16px;
    }
    
    .whatsapp-option-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}
