/* ================================
   Footer
   ================================
   Shared across all pages
   ================================ */

/* ================================
   Footer Container
   ================================ */

.site-footer {
  background: #0e0f11;
  color: var(--color-text-muted);
  margin-top: 1px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  padding: 4.5rem 0;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

/* ================================
   Footer Brand Block
   ================================ */

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 48px;
  margin-bottom: 0.75rem;
  opacity: 0.75;
  transition: opacity var(--motion-medium) var(--ease-standard);
}

.footer-logo:hover {
  opacity: 1;
}

.footer-brand .footer-logo {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  max-width: 260px;
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ================================
   Footer Sections
   ================================ */

.footer-nav,
.footer-legal,
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
}

/* ================================
   Footer Lists
   ================================ */

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.65rem;
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--motion-medium) var(--ease-standard);
}

.site-footer a:hover {
  color: var(--color-text-primary);
}

/* ================================
   Footer Bottom
   ================================ */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

.footer-location {
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 6px;
}

/* ================================
   Responsive / Mobile
   ================================ */

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem var(--space-sm) 3rem;
  }

  .footer-logo {
    width: 24px;
  }

  .footer-brand .footer-tagline {
    max-width: none;
    font-size: 0.9rem;
  }

  .footer-heading {
    margin-bottom: 0.75rem;
    font-size: 0.7rem;
  }

  .site-footer li + li {
    margin-top: 0.5rem;
  }

  .site-footer a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding-inline: var(--space-sm);
    padding-block: 1rem;
  }

  .footer-bottom p {
    text-align: center;
    font-size: 0.75rem;
  }
}