/* Site footer: brand column + four link columns, copyright bar with payment logos. Shared by every page.
   Layout is intrinsic: the brand column sits beside the links while there is room (>= ~920px) and above them
   otherwise; the link columns go 4 -> 3 -> 2 across by themselves. Mobile spacing is ~35% tighter. */
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 3.33vw, 48px);
  padding-block: 24px;
  border-top: 1px solid var(--c-divider);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 96px;
}
.site-footer__brand {
  flex: 1 1 192px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(20px, 2.14vw, 30px);
}
.site-footer__about {
  color: var(--c-text-muted);
  font-size: var(--fs-md);
  line-height: 20px;
}
.site-footer__social { display: flex; gap: 24px; align-self: center; } /* centred on phones; left from 768 */
.icon-btn--flat { box-shadow: var(--shadow-md); }

.site-footer__nav {
  flex: 999 1 632px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px 24px;
}
.footer-col { display: flex; flex-direction: column; gap: clamp(16px, 2.22vw, 32px); }
.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 16px;
}
.footer-col__title::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
}
.footer-col__list { display: flex; flex-direction: column; gap: clamp(8px, 1.11vw, 16px); }
.footer-col__list a {
  display: block;
  padding-block: 3px 1px;
  font-size: var(--fs-md);
  line-height: 20px;
}
.footer-col__list a:hover { color: var(--c-green); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  border-top: 1px solid #fafafa;
}
.site-footer__copy {
  color: var(--c-text-muted);
  font-size: var(--fs-sm);
  line-height: 16px;
  text-transform: uppercase;
}
.site-footer__payments { display: flex; align-items: center; gap: 24px; }
.site-footer__payments img { height: 40px; width: auto; }

@media (min-width: 768px) {
  .site-footer__social { align-self: auto; }
}
