/* ═══════════════════════════════════════════════════════════
   SITE FOOTER — Mujeres Latinas Unidas
   Shared across all pages
   ─────────────────────────────────────────────────────────── */

/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --f-bg:     #D9593C;
  --f-white:  #FFFFFF;
  --f-gray:   #363636;
  --f-brown:  #803723;
  --f-max:    1280px;
}

/* ─── RESET (scoped to footer) ────────────────────────────── */
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── FOOTER WRAPPER ──────────────────────────────────────── */
.site-footer {
  background: var(--f-bg);
  font-family: 'Poppins', sans-serif;
  color: var(--f-white);
  padding: 3.5rem clamp(1.25rem, 5vw, 4rem) 2rem;
}

/* ─── INNER CONTAINER ─────────────────────────────────────── */
.footer-inner {
  max-width: var(--f-max);
  margin: 0 auto;
}

/* ─── BODY ROW (left + right) ─────────────────────────────── */
.footer-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

/* ─── LEFT SIDE ───────────────────────────────────────────── */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 220px;
  max-width: 300px;
}

.footer-logo-link {
  display: inline-block;
  line-height: 1;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Social icons row */
.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: var(--f-gray);
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.32);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: var(--f-gray);
  display: block;
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* Copyright */
.footer-copy {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* ─── RIGHT SIDE ──────────────────────────────────────────── */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
}

.footer-links-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--f-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-end;
}

/* Two-column links grid */
.footer-links-grid {
  display: flex;
  gap: 3rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col a {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--f-white);
  text-decoration: underline;
}

/* ─── LEGAL ROW ───────────────────────────────────────────── */
.footer-legal {
  text-align: right;
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--f-white);
}

.footer-legal .f-sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .footer-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer-left {
    max-width: 100%;
  }

  .footer-right {
    align-items: flex-start;
    width: 100%;
  }

  .footer-links-title {
    align-self: flex-start;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer-links-grid {
    gap: 2rem;
  }

  .footer-legal {
    font-size: 0.68rem;
  }
}
