/*
 * Alf Theme — Footer
 *
 * Pixel-matched to Figma nodes:
 *   Desktop: 545:334  bg #252525  padding 160px 120px  gap 96px
 *   Mobile:  554:75   bg #252525  padding 120px 16px
 *
 * Font weights:
 *   Desktop — Regular (400) body, Regular (400) headings (uppercase via CSS)
 *   Mobile  — Light (300) body per Figma Mobile/M Light Body 16
 */

/* ── Container ────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 96px;
  padding: var(--spacing-between-sections) var(--section-pad-desktop);
}

/* ── Top footer ───────────────────────────────────────────────────── */
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 107px;
  align-items: flex-start;
}

/* ── Brand column ─────────────────────────────────────────────────── */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.site-footer__logo img {
  width: 46px;
  height: 44px;
  display: block;
}

.site-footer__tagline {
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  color: var(--color-bg);
  line-height: 1.5;
  width: 340px;
  max-width: 100%;
  margin: 0;
}

/* ── Social icons ─────────────────────────────────────────────────── */
.site-footer__social {
  display: flex;
  align-items: center;
  gap: 20px;
  line-height: 0;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.site-footer__social-link:hover {
  opacity: 0.7;
}

.site-footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Nav columns ──────────────────────────────────────────────────── */
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 107px;
  flex: 1;
  font-weight: var(--font-weight-regular);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex-shrink: 0;
  white-space: nowrap;
}

.footer-col__heading {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-regular);
  color: var(--color-bg);
  line-height: 1;
  margin: 0;
  text-decoration: none;
  display: block;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col__links a {
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  color: var(--color-bg);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-col__links a:hover {
  opacity: 0.7;
}

/* ── Bottom footer ────────────────────────────────────────────────── */
.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.site-footer__divider {
  height: 1px;
  background-color: var(--color-grey);
  border: none;
  margin: 0;
}

.site-footer__copy {
  font-size: var(--font-size-body-md);
  font-weight: var(--font-weight-regular);
  color: var(--color-bg);
  line-height: 1;
  margin: 0;
}

/* ── Responsive: tablet ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .site-footer {
    padding-inline: var(--section-pad-tab-landscape);
    gap: 80px;
  }

  .site-footer__top {
    gap: 60px;
  }

  .site-footer__nav {
    gap: 40px;
  }
}

/* ── Responsive: mobile ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-footer {
    padding: var(--spacing-between-sections-mobile) 16px;
    gap: 80px;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 40px;
  }

  .site-footer__brand {
    width: 100%;
  }

  .site-footer__tagline {
    width: 100%;
    font-weight: var(--font-weight-light);
  }

  .site-footer__nav {
    gap: 40px;
  }

  .footer-col__links a {
    font-weight: var(--font-weight-light);
  }

  .site-footer__copy {
    font-weight: var(--font-weight-light);
  }
}
