/* Footer link columns (owner request 2026-10-01): four labelled groups instead of one tall stack.
   Phones: brand on top, columns 2 x 2. Tablets: columns 4 across under the brand. 1024px+: brand left, columns right. */
.sg-footer-grid { display: flex; flex-direction: column; align-items: center; gap: 2.25rem; text-align: center; }
.sg-footer-brand { max-width: 20rem; }
.sg-footer-brand img { margin: 0 auto; }
.sg-footer-brand p { margin-left: auto; margin-right: auto; }
.sg-footer-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem;
  width: 100%; max-width: 26rem; text-align: left;
}
.sg-footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; min-width: 0; }
.sg-footer-h {
  font-family: 'Montserrat', sans-serif; font-size: 11px; line-height: 1rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #64748b; margin: 0 0 0.375rem;
}
.sg-footer-col a {
  display: inline-flex; align-items: center; min-height: 28px;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: #cbd5e1; transition: color 0.2s ease;
}
.sg-footer-col a:hover, .sg-footer-col a:focus-visible { color: #60a5fa; }
.sg-footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; }

@media (min-width: 768px) {
  .sg-footer-cols { grid-template-columns: repeat(4, max-content); gap: 2rem 3rem; width: auto; max-width: none; }
  .sg-footer-col { gap: 0.625rem; }
  .sg-footer-col a { min-height: 0; }
  .sg-footer-h { margin-bottom: 0.25rem; }
  .sg-footer-bottom { margin-top: 3rem; padding-top: 2rem; }
}
@media (min-width: 1024px) {
  .sg-footer-grid { flex-direction: row; justify-content: space-between; align-items: flex-start; text-align: left; gap: 3rem; }
  .sg-footer-brand img, .sg-footer-brand p { margin-left: 0; margin-right: 0; }
  .sg-footer-cols { gap: 2rem 3.5rem; }
}
