/* ═══ FOOTER ═════════════════════════════════════════════════════════════════ */
.sbmat-footer {
  background: var(--bg1);
  border-top: 1px solid var(--border);
  padding-top: clamp(40px, 6vw, 80px);
}

.sbmat-footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
  padding-bottom: clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--border);
}

/* Brand */
.sbmat-footer__brand { }

.sbmat-footer__logo {
  font-family: var(--font-tektur);
  font-weight: 200;
  font-size: 22px;
  color: #fff;
  display: inline-block;
  margin-bottom: 10px;
}
.sbmat-footer__logo span { color: var(--accent); }

.sbmat-footer__tagline {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
}

/* Nav */
.sbmat-footer__nav {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.sbmat-footer__nav a {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--tr);
}
.sbmat-footer__nav a:hover { color: var(--accent); }

/* Contacts */
.sbmat-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.sbmat-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--tr);
}
.sbmat-footer__contact-link svg { color: var(--text-dim); transition: color var(--tr); }
.sbmat-footer__contact-link:hover { color: var(--accent); }
.sbmat-footer__contact-link:hover svg { color: var(--accent); }

/* Bottom bar */
.sbmat-footer__bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 16px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
  .sbmat-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .sbmat-footer__nav { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .sbmat-footer__contacts { align-items: center; }
  .sbmat-footer__bottom { flex-direction: column; text-align: center; }
}
