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

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding-top: var(--space-12);
  padding-bottom: var(--space-8);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
  }
}

/* ── Footer about ──────────────────────────────────────────────────────── */
.footer-about__name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: white;
  margin-bottom: var(--space-3);
}

.footer-about__desc {
  font-size: var(--fs-sm);
  color: var(--color-footer-text);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-5);
  max-width: 40ch;
}

/* ── Footer nav ────────────────────────────────────────────────────────── */
.footer-nav__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: white;
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-bottom: var(--space-4);
}

.footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav__list li {
  margin-bottom: var(--space-2);
}

.footer-nav__list a {
  font-size: var(--fs-sm);
  color: var(--color-footer-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav__list a:hover {
  color: white;
}

/* ── Social links ──────────────────────────────────────────────────────── */
.social-links {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-footer-text);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-size: var(--fs-sm);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ── Footer bottom ─────────────────────────────────────────────────────── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom__copyright {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

.footer-bottom__legal {
  display: flex;
  gap: var(--space-4);
}

.footer-bottom__legal a {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-bottom__legal a:hover {
  color: var(--color-footer-text);
}
