/* ============================================================
   WayGo — Footer
   Clean, minimal, organized
   ============================================================ */

.footer {
  position: relative;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--bg-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* Brand */
.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.footer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-glow-teal);
}

.footer-logo-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Columns */
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--duration-fast) ease;
}

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

/* Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  transition: all var(--duration-fast) ease;
}

.footer-social a:hover {
  background: rgba(13, 148, 136, 0.12);
  color: var(--brand-teal-light);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
