/* ========== BOTÓN WHATSAPP ========== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    animation: slideInUp 0.8s ease-out;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 0.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    overflow: hidden;
    position: relative;
    width: 60px;
    height: 60px;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-btn:hover::before {
    opacity: 1;
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    fill: white;
    z-index: 2;
    position: relative;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.whatsapp-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: absolute;
    left: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    width: 200px;
    justify-content: flex-start;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: rotate(10deg) scale(1.1);
}

.whatsapp-btn:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    left: 0;
    margin-left: 0.8rem;
}

.whatsapp-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* ========== BOTÓN SUGERENCIAS ========== */
.sugerencias-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.sugerencias-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    overflow: hidden;
    position: relative;
    width: 60px;
    height: 60px;
    white-space: nowrap;
}

.sugerencias-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sugerencias-btn:hover::before {
    opacity: 1;
}

.sugerencias-btn i {
    font-size: 1.5rem;
    z-index: 2;
    position: relative;
    transition: transform 0.3s ease;
}

.sugerencias-text {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    position: absolute;
    left: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.sugerencias-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
    width: 240px;
    justify-content: flex-start;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.sugerencias-btn:hover i {
    transform: rotate(10deg) scale(1.1);
}

.sugerencias-btn:hover .sugerencias-text {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    left: 0;
    margin-left: 0.8rem;
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.modal-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    display: none;
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    color: #155724;
}

.success-message.show {
    display: block;
    animation: slideDown 0.5s ease;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-message p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ========== ANIMACIONES ========== */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceWithPulse {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
    25% {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    75% {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    }
}

@keyframes initialBounce {
    0% {
        transform: translateY(100px) scale(0.3);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }
    65% {
        transform: translateY(5px) scale(0.95);
        opacity: 0.9;
    }
    80% {
        transform: translateY(-3px) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.whatsapp-btn {
    animation: 
        initialBounce 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s 1,
        bounceWithPulse 4s ease-in-out 1.2s infinite;
}

.whatsapp-btn:hover {
    animation: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .whatsapp-btn:hover {
        width: 220px;
        justify-content: flex-start;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    
    .whatsapp-btn:hover .whatsapp-text {
        margin-left: 0.8rem;
        position: relative;
        left: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 15px;
    }
    
    .sugerencias-float {
        bottom: 85px;
        right: 15px;
    }
    
    .whatsapp-btn {
        padding: 0.9rem;
        width: 58px;
        height: 58px;
    }
    
    .sugerencias-btn {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-btn:hover {
        width: 240px;
        justify-content: flex-start;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        transform: translateY(-2px) scale(1.01);
    }
    
    .whatsapp-btn:hover .whatsapp-text {
        margin-left: 0.6rem;
        position: relative;
        left: 0;
    }
    
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
    
    .whatsapp-text {
        font-size: 0.9rem;
        font-weight: 600;
        left: 44px;
    }
    
    .modal-container {
        width: 95%;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .whatsapp-float {
        bottom: 18px;
        right: 12px;
    }
    
    .sugerencias-float {
        bottom: 83px;
        right: 12px;
    }
    
    .whatsapp-btn {
        padding: 0.85rem;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-btn:hover {
        width: 260px;
        justify-content: flex-start;
        padding: 0.85rem 1.5rem;
        gap: 0.6rem;
    }
    
    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-text {
        font-size: 0.88rem;
        font-weight: 600;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 10px;
    }
    
    .sugerencias-float {
        bottom: 80px;
        right: 10px;
    }
    
    .whatsapp-btn {
        padding: 0.8rem;
        width: 54px;
        height: 54px;
    }
    
    .sugerencias-btn {
        width: 54px;
        height: 54px;
    }
    
    .whatsapp-btn:hover {
        width: 280px;
        justify-content: flex-start;
        padding: 0.8rem 1.8rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0.5rem;
    }
    
    .whatsapp-icon {
        width: 22px;
        height: 22px;
    }
    
    .whatsapp-text {
        font-size: 0.85rem;
        font-weight: 600;
        margin-left: 0.1rem;
        white-space: nowrap;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
}

@media (max-width: 360px) {
    .whatsapp-float {
        bottom: 12px;
        right: 8px;
    }
    
    .sugerencias-float {
        bottom: 77px;
        right: 8px;
    }
    
    .whatsapp-btn {
        padding: 0.75rem;
        width: 52px;
        height: 52px;
    }
    
    .sugerencias-btn {
        width: 52px;
        height: 52px;
    }
    
    .whatsapp-btn:hover {
        width: 300px;
        justify-content: flex-start;
        padding: 0.75rem 2rem;
        gap: 0.5rem;
    }
    
    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }
    
    .whatsapp-text {
        font-size: 0.82rem;
        font-weight: 600;
    }
}

@media (max-width: 320px) {
    .whatsapp-btn:hover {
        width: calc(100vw - 16px);
        justify-content: flex-start;
        padding: 0.75rem 2.5rem;
        border-radius: 25px 0 0 25px;
        gap: 0.5rem;
    }
}

/********************************************************************************************