/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--c-bg-dark);
  color: var(--c-text-inverse);
  padding: var(--sp-16) 0 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.site-footer__brand p {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  margin-top: var(--sp-4);
  line-height: var(--lh-relaxed);
}

.site-footer__brand img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.site-footer__col-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-4);
}

.site-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__links li {
  margin-bottom: var(--sp-2);
}

.site-footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}

.site-footer__links a:hover {
  color: var(--c-primary-300);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-6) 0;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.4);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.site-footer__legal {
  display: flex;
  gap: var(--sp-4);
}

.site-footer__legal a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: rgba(255,255,255,0.7);
}

/* ── Scroll to Top ─────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-primary-500);
  color: var(--c-text-inverse);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base) var(--ease);
  z-index: var(--z-base);
  box-shadow: var(--shadow-md);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--c-primary-700);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}
