/* RESET BÁSICO PARA EL FOOTER */
.main-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 4% 40px 4%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* --- ESTILOS PARTE SUPERIOR --- */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 60px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 25px;
    font-weight: bold;
    transition: opacity 0.2s;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.language-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.language-selector select {
    background: transparent;
    color: white;
    border: none;
    font-weight: bold;
    margin-left: 10px;
    outline: none;
    cursor: pointer;
    appearance: none;
    /* Elimina la flecha nativa si deseas un look más limpio */
}

/* --- ESTILOS PARTE CENTRAL (LEGAL/REDES) --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}

.legal-links a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 15px;
    font-size: 12px;
    opacity: 0.8;
}

.legal-links a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    display: inline-block;
    width: 20px;
    /* Tamaño exacto de la captura */
    height: 20px;
    margin-left: 20px;
    color: #ffffff;
    /* Blanco puro */
    transition: opacity 0.2s;
}

.social-links a svg {
    width: 100%;
    height: 100%;
    display: block;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Ajuste para móvil */
@media (max-width: 850px) {
    .social-links {
        margin-left: 0;
        margin-top: 20px;
    }

    .social-links a {
        margin-left: 0;
        margin-right: 20px;
    }
}

/* --- ESTILOS CRÉDITOS FINALES --- */
.footer-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 11px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.brand {
    font-weight: bold;
    color: #ffffff;
}

.locations span {
    margin: 0 10px;
}

.roman-date {
    letter-spacing: 2px;
}

/* RESPONSIVE */
@media (max-width: 850px) {

    .footer-top,
    .footer-bottom,
    .footer-credits {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .social-links {
        margin-left: 0;
        padding-top: 10px;
    }

    .social-links a {
        margin-left: 0;
        margin-right: 20px;
    }
}