/* ============================================================
   INSTAWHEW — FOOTER
   Simple site footer + iw-footer-cols + iw-footer-newsletter.
   ============================================================ */

/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  flex-shrink: 0; /* don't compress footer in flex body */
  background: var(--surface-2);
  border-top: 1px solid var(--line-subtle);
  padding-block: var(--space-5);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--text-1);
  text-decoration: none;
  margin-right: auto;
}
.site-footer__brand:hover { opacity: 0.75; }
.site-footer__nav .site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__nav .site-footer__links a {
  font-size: var(--text-sm);
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.site-footer__nav .site-footer__links a:hover { color: var(--text-1); }
.site-footer__copy {
  font-size: var(--text-xs);
  color: var(--text-3);
  letter-spacing: var(--tracking-normal);
}

/* Footer — Four Columns */
.iw-footer-cols { background: var(--surface-2); border-top: 1px solid var(--line-subtle); padding-block: var(--space-6) var(--space-4); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.iw-footer-cols__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-5); margin-bottom: var(--space-5); }
.iw-footer-cols__logo { font-weight: 800; font-size: var(--text-lg); color: var(--text-1); text-decoration: none; display: block; margin-bottom: var(--space-2); }
.iw-footer-cols__tagline { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-relaxed); margin: 0 0 var(--space-3); }
.iw-footer-cols__social { display: flex; gap: var(--space-2); }
.iw-footer-cols__social-link { font-size: var(--text-base); color: var(--text-2); text-decoration: none; transition: color var(--motion-fast); display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; }
.iw-footer-cols__social-link:hover { color: var(--accent-600); }
.iw-footer-cols__heading { font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--text-2); margin: 0 0 var(--space-3); }
.iw-footer-cols__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.iw-footer-cols__list a { font-size: var(--text-sm); color: var(--text-2); text-decoration: none; transition: color var(--motion-fast); }
.iw-footer-cols__list a:hover { color: var(--accent-600); }
.iw-footer-cols__bar { border-top: 1px solid var(--line-subtle); padding-top: var(--space-4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); font-size: var(--text-xs); color: var(--text-2); }
@media (max-width: 768px) {
  .iw-footer-cols__grid { grid-template-columns: 1fr 1fr; }
  .iw-footer-cols__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .iw-footer-cols__grid { grid-template-columns: 1fr; } }

/* Footer — Newsletter */
.iw-footer-newsletter { background: var(--surface-2); border-top: 1px solid var(--line-subtle); padding-block: var(--space-6) var(--space-4); margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.iw-footer-newsletter__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; margin-bottom: var(--space-5); }
.iw-footer-newsletter__nav { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.iw-footer-newsletter__nav a { font-size: var(--text-sm); color: var(--text-2); text-decoration: none; transition: color var(--motion-fast); }
.iw-footer-newsletter__nav a:hover { color: var(--accent-600); }
.iw-footer-newsletter__label { font-weight: 700; font-size: var(--text-base); color: var(--text-1); margin: 0 0 var(--space-1); }
.iw-footer-newsletter__desc { font-size: var(--text-sm); color: var(--text-2); margin: 0 0 var(--space-3); }
@media (max-width: 640px) { .iw-footer-newsletter__grid { grid-template-columns: 1fr; } }
