/* ═══════════════════════════════════════════════════════════
   SITE FOOTER — Mujeres Latinas Unidas
   ─────────────────────────────────────────────────────────── */

:root {
  --f-bg:     #B75C3C;
  --f-white:  #FFFFFF;
}

/* ─── BACK TO TOP ─────────────────────────────────────────── */
.back-top-btn {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; margin-left: auto;
  background: transparent; border: 1.5px solid rgba(255,255,255,.45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.85);
  transition: border-color .2s, transform .2s, background .2s;
}
.back-top-btn:hover { border-color: rgba(255,255,255,.75); transform: translateY(-3px); background: rgba(255,255,255,.1); }
.back-top-btn svg { width: 18px; height: 18px; stroke-width: 2; }

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

/* ─── WRAPPER ──────────────────────────────────────────────── */
.site-footer {
  background: #B75C3C !important;
  font-family: 'Poppins', sans-serif;
  color: var(--f-white);
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem) 1.5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ─── TOP ROW: logo + quick links ──────────────────────────── */
.footer-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3rem;
}

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

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

/* Quick links */
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-links-grid {
  display: flex;
  gap: 2.5rem;
}

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

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

.footer-links-col a:hover { color: #fff; text-decoration: underline; }

/* ─── MID ROW: socials + divider ───────────────────────────── */
.footer-mid {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
}

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

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

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  display: block;
}

.footer-divider {
  flex: 1;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* ─── BOTTOM ROW: copyright + legal ────────────────────────── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: none !important;
  padding-top: 0 !important;
}

.footer-copy {
  font-size: 0.75rem;
  color: #ffffff;
}

.footer-legal {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
}

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

.footer-legal a:hover { color: #fff; }

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

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

  .footer-links-grid { gap: 1.5rem; flex-wrap: wrap; }

  .footer-links-col a { white-space: normal; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal { justify-content: flex-start; flex-wrap: wrap; }

  .footer-copy { word-break: break-word; }
}

@media (max-width: 480px) {
  .footer-links-grid { flex-wrap: wrap; gap: 1rem; }
  .footer-logo-img { height: 70px; }
}
