/* Pie de página compartido: el mismo en la portada y en todas las subpáginas
   (organización Footer 1 de Efferd). Solo usa variables de base.css. */
.site-footer { position: relative; padding: 56px 32px 28px; background: var(--ivory); color: var(--ink); border-top: 1px solid rgba(22, 22, 22, .1); }
.site-footer :focus-visible { outline-color: #8F101F; }
.footer-principal, .footer-nav, .footer-bottom { width: 100%; max-width: 1120px; margin: 0 auto; }
/* Fila 1: logo a la izquierda, iconos de redes a la derecha (solo logos, sin nombres). */
.footer-principal { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand img { width: 180px; max-width: 100%; height: auto; mix-blend-mode: multiply; } /* el JPG trae fondo blanco: así se funde con el marfil */
.footer-social { display: flex; align-items: center; gap: 8px; }
.footer-social-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink); transition: background 160ms var(--ease-out), color 160ms var(--ease-out); }
.footer-social-btn:hover { background: rgba(22, 22, 22, .06); color: #8F101F; }
.footer-social-btn svg { width: 20px; height: 20px; }
/* Fila 2: navegación en una sola línea con envoltorio. */
.footer-nav ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-nav a { min-height: 44px; display: inline-flex; align-items: center; color: rgba(22, 22, 22, .78); text-decoration: none; font: 500 12px/1.3 "Vivita Bashan", sans-serif; letter-spacing: .04em; }
.footer-nav a:hover { color: #8F101F; }
/* Fila 3: barra inferior separada por borde — © y contacto a la izquierda, Built by a la derecha. */
.footer-bottom { margin-top: 12px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(22, 22, 22, .1); }
.footer-info > p { margin: 0; color: rgba(22, 22, 22, .66); font: 500 10px/1.4 "Vivita Bashan", sans-serif; letter-spacing: .06em; }
.footer-contacto { margin-top: 4px; }
.footer-contacto a { color: rgba(22, 22, 22, .66); text-decoration: none; font: 500 11px/1.5 "Vivita Bashan", sans-serif; letter-spacing: .03em; }
.footer-contacto a:hover { color: #8F101F; }
.footer-built { min-height: 44px; display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; }
.footer-built span { color: rgba(22, 22, 22, .66); font: 500 9px/1 "Vivita Bashan", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.footer-built img { width: auto; height: 18px; mix-blend-mode: multiply; }

/* Línea legal solo en las páginas de pago, encima del pie. */
.pie-legal-pago { margin: 0; padding: 20px 24px; background: var(--ivory); color: var(--muted); text-align: center; font-size: 12.5px; }

@media (hover: none), (pointer: coarse) {
  .site-footer { padding: 48px 20px 24px; }
  .footer-brand img { width: 168px; }
  .footer-nav ul { gap: 4px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-built { justify-content: flex-start; }
}

/* Pie «de noche»: en la portada sigue al cierre negro sin corte (estudio de color 2026-11-09).
   Logos claros: Bashan dorado y On Set blanco. */
.site-footer--noche { background: var(--ink); color: var(--ivory); border-top: 0; }
.site-footer--noche::after { content: ""; position: absolute; inset: 0; background-image: var(--grano); opacity: .05; pointer-events: none; }
.site-footer--noche :focus-visible { outline-color: var(--gold); }
.site-footer--noche .footer-brand img,
.site-footer--noche .footer-built img { mix-blend-mode: normal; }
.site-footer--noche .footer-social-btn { color: var(--ivory); }
.site-footer--noche .footer-social-btn:hover { background: rgba(248, 248, 248, .1); color: var(--gold); }
.site-footer--noche .footer-nav a { color: rgba(248, 248, 248, .78); }
.site-footer--noche .footer-nav a:hover,
.site-footer--noche .footer-contacto a:hover { color: var(--gold); }
.site-footer--noche .footer-bottom { border-top-color: rgba(248, 248, 248, .12); }
.site-footer--noche .footer-info > p,
.site-footer--noche .footer-contacto a,
.site-footer--noche .footer-built span { color: rgba(248, 248, 248, .72); }
