/* ============================================
   FOOTER & FLOATING ELEMENTS
   ============================================ */
.main-footer {
    background: var(--black);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.footer-about img {
    height: 50px;
    margin-bottom: var(--space-md);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-size: var(--font-lg);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-legal-badges {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.footer-legal-badges a {
    display: inline-block;
    padding: 0;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.footer-legal-badges a:hover {
    transform: scale(1.05);
    padding-left: 0;
}

.footer-legal-badges img {
    width: 110px;
    height: auto;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-sm);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: box-shadow 0.3s ease;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.whatsapp-float:hover {
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float.dragging {
    cursor: grabbing;
    opacity: 0.9;
    transition: none;
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.7);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    max-width: 400px;
    padding: var(--space-xl);
    z-index: 1001;
    display: none;
    /* JS will show it */
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--primary-dark);
}

.cookie-option input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--primary);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-about img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-legal-badges {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }

    .footer-legal-badges img {
        width: 110px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* Responsive WhatsApp Float */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        /* Position controlled by JavaScript, no static positioning */
    }

    /* Responsive Cookie Banner */
    .cookie-banner {
        bottom: 80px;
        right: var(--space-sm);
        left: var(--space-sm);
        max-width: 100%;
    }

    /* Responsive Cookie Settings Modal */
    .cookie-modal-content {
        max-height: 90vh;
        width: 95%;
    }

    .cookie-modal-footer {
        flex-direction: column !important;
    }

    .cookie-modal-footer button {
        width: 100% !important;
        margin-left: 0 !important;
        margin-bottom: 8px;
    }
}

/* ============================================
   COOKIE SETTINGS MODAL
   ============================================ */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--light-gray);
    sticky: top;
    background: var(--white);
}

.cookie-modal-header h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.cookie-modal-header h3 i {
    margin-right: 10px;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cookie-modal-close:hover {
    color: var(--primary-dark);
    transform: rotate(90deg);
}

.cookie-modal-body {
    padding: var(--space-lg);
    color: var(--primary-dark);
}

.cookie-modal-body p {
    margin-bottom: 12px;
    line-height: 1.5;
}

.cookie-modal-footer {
    display: flex;
    gap: 8px;
    padding: var(--space-lg);
    border-top: 1px solid var(--light-gray);
    background: rgba(0, 0, 0, 0.02);
}

.cookie-modal-footer button {
    flex: 1;
}

/* Removed duplicate WhatsApp Float definition - kept only one at line 86 */

}