footer {
  background: var(--color-dark);
  color: #a1a1aa;
  padding: 4.5rem 5% 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: #a1a1aa;
  margin-bottom: 1.5rem;
  max-width: 260px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.footer-social a:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.footer-links h4,
.footer-contact-col h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact-col h4.mt {
  margin-top: 1.75rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.65rem;
}

.footer-links a,
.footer-contact-col a {
  text-decoration: none;
  font-size: var(--text-sm);
  color: #a1a1aa;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact-col a:hover {
  color: #ffffff;
}

.footer-contact-col p {
  font-size: var(--text-sm);
  color: #a1a1aa;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-sm);
  color: #6b7280;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  text-decoration: none;
  color: #6b7280;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #ffffff;
}

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

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