/**
 * Layout: Footer
 * Estilos para el pie de página, widgets y copyright.
 */
.footer {
    background: var(--color-primary);
    color: #ccc;
    padding: 60px 20px 30px;
    border-top: 5px solid var(--color-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

/* Links Relacionados */
.footer-links {
    margin-bottom: 45px;
}

.footer-links h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 8px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.footer-links a:hover {
    color: #fff;
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Widgets */
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.footer-widget-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}

.footer-widget ul li:last-child {
    border-bottom: none;
}

.footer-widget a {
    color: #bbb;
    transition: color 0.2s;
}

.footer-widget a:hover {
    color: #947e1e;
    padding-left: 5px;
}

/* Copyright */
.footer-copy {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #888;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }
    .footer-links a {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    .footer-widgets {
        text-align: center;
    }
}