/* ===== FOOTER MODERNO OSCURO ===== */
.footer-moderno {
    background: #0f172a;
    color: #94a3b8;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
    border-top: none;
    font-size: 0.95rem;
}

.footer-moderno .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== TOP SECTION ===== */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    max-width: 120px;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.7;  /* 80% opaco, 20% transparente */
}

.footer-logo p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.5;
}

/* ===== NEWSLETTER ===== */
.footer-newsletter h4 {
    color: white;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid #1e293b;
    background: #1e293b;
    color: white;
    border-radius: 4px;
    min-width: 250px;
}

.newsletter-form input::placeholder {
    color: #64748b;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-primario);
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--color-primario);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #1e3a8a;
}

/* ===== GRID DE ENLACES ===== */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: white;
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

/* ===== CONTACTO ===== */
.contacto-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
}

.contacto-list .icono {
    font-size: 1.2rem;
    min-width: 1.5rem;
}

.contacto-list a {
    color: #94a3b8;
    text-decoration: none;
}

.contacto-list a:hover {
    color: white;
}

/* ===== BOTTOM ===== */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1e293b;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #1e293b;
    color: #94a3b8;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.social-links a:hover {
    background: var(--color-primario);
    color: white;
    transform: translateY(-2px);
}

.copyright {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20b859;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-logo {
        max-width: 100px;
    }
    
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-form input {
        flex: 1;
        min-width: 0;
    }
    
    /* Botón Flotante Whatsapp más chico en móvil */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }    
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}