/* ============================================================
   new-footer.css - Estilos específicos para el footer
   ============================================================ */

/* ============================================================
   CONTENEDOR PRINCIPAL
   ============================================================ */
.site-footer {
    background: #0d0d0d !important;
    color: #e0e0e0 !important;
    padding: 2rem 1rem !important;
    margin-top: 2rem !important;
    border-top: 2px solid #333 !important;
    width: 100% !important;
    clear: both !important;
    display: block !important;
}

/* ============================================================
   FILA 1: TRES COLUMNAS
   ============================================================ */
.footer-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

.footer-col {
    flex: 1 !important;
    min-width: 200px !important;
}

.footer-col h4 {
    color: #e0e0e0 !important;
    font-size: 1rem !important;
    border-bottom: 1px solid #333 !important;
    padding-bottom: 0.4rem !important;
    font-family: Georgia, serif !important;
}

.footer-col p {
    color: #888 !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col ul li {
    margin-bottom: 0.4rem !important;
}

.footer-col ul li a {
    color: #888 !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
}

.footer-col ul li a:hover {
    color: #4fc3f7 !important;
    text-decoration: underline !important;
}

/* ============================================================
   FILA 2: AUTOR Y LICENCIA
   ============================================================ */
.footer-bottom {
    border-top: 1px solid #333 !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
}

.footer-bottom-content {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
}

.footer-bottom-content p {
    color: #888 !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
}

.footer-licencia {
    display: inline-flex !important;
    align-items: center !important;
}

.footer-licencia a {
    color: #888 !important;
    text-decoration: none !important;
}

.footer-licencia a:hover {
    color: #4fc3f7 !important;
}

.footer-licencia img {
    vertical-align: middle !important;
    border: 0 !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .footer-col {
        flex: 1 1 100% !important;
    }
    .footer-col-desc {
        order: 1;
    }
    .footer-col-menu {
        order: 2;
    }
    .footer-col-legal {
        order: 3;
    }
    .footer-bottom-content {
        flex-direction: column !important;
        text-align: center !important;
    }
    .footer-licencia a {
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 1.5rem 0.5rem 1rem !important;
    }
    .footer-row {
        gap: 1.5rem !important;
        padding: 0 0.5rem !important;
    }
    .footer-col h4 {
        font-size: 0.9rem !important;
    }
    .footer-col p,
    .footer-col ul li a {
        font-size: 0.75rem !important;
    }
    .footer-bottom-content p {
        font-size: 0.7rem !important;
    }
    .footer-licencia img {
        width: 70px !important;
        height: auto !important;
    }
}