.footer {
  border-top: 0.5px solid var(--border-color);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer_container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer_top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Brand */
.footer_logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.footer_logo span {
  color: var(--primary-color);
}

.footer_tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 220px;
}

/* Nav */
.footer_nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer_link {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer_link:hover {
  color: var(--primary-color);
}

/* Social */
.footer_social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer_social_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0.5px solid var(--border-color);
  color: var(--text-muted);
  font-size: 20px;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.footer_social_link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: color-mix(in srgb, var(--primary-color) 8%, transparent);
}

/* Bottom */
.footer_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 0.5px solid var(--border-color);
}

.footer_copy,
.footer_credit {
  font-size: 12px;
  color: var(--text-muted);
}

.footer_credit span {
  color: var(--primary-color);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
  .footer_top {
    flex-direction: column;
    gap: 32px;
  }

  .footer_nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer_bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
