/* ===== BASE COMÚN (todas las páginas) ===== */

:root {
    --azul: #006cb4;
    --azul-oscuro: #004a7c;
    --amarillo: #fcd107;
    --amarillo-hover: #eac100;
    --oscuro: #1d1d1b;
    --gris-claro: #f4f7f6;
    --blanco: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--oscuro);
    background: var(--blanco);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ===== FOOTER (común) ===== */
footer { background: var(--oscuro); color: var(--blanco); text-align: center; padding: 50px 5%; }
footer .contenedor { max-width: 900px; margin: 0 auto; }
footer .f-logo {
    height: 60px;
    width: auto;
    margin: 0 auto 18px;
    filter: brightness(0) invert(1);
}
footer .f-nombre { font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; }
footer .f-contacto { color: #ccc; margin-bottom: 6px; font-size: 0.95rem; }
footer .f-contacto a { color: var(--amarillo); text-decoration: none; }
footer .f-contacto a:hover { text-decoration: underline; }
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
    color: #bbb;
    font-size: 0.85rem;
}
.footer-logos span { font-weight: 600; }

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.footer-menu a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color .2s;
}
.footer-menu a:hover { color: var(--amarillo); text-decoration: underline; }

.footer-original { margin-top: 24px; font-size: 0.85rem; color: #bbb; }
.footer-original a { color: var(--amarillo); text-decoration: none; }
.footer-original a:hover { text-decoration: underline; }