.footer {
  background: var(--primary);
  color: var(--neutral-light);
  padding: clamp(3rem, 6vw, 4rem) 2rem 2rem 2rem;
}

.footer-container {
  max-width: 75rem;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 0.125rem solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.footer-logo img {
  width: clamp(2.5rem, 4vw, 3.5rem);
  height: clamp(2.5rem, 4vw, 3.5rem);
  border-radius: 0.5rem;
  object-fit: cover;
}

.footer-logo h3 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
  font-weight: var(--fw-bold);
  color: var(--neutral-light);
  margin: 0;
  line-height: 1.2;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex: 2;
  justify-content: center;
}

.footer-links a {
  color: var(--neutral-light);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.5vw + 0.25rem, 1rem);
  font-weight: var(--fw-medium);
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
  transform: translateY(-0.125rem);
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}

.footer-social-icon {
  width: clamp(2.5rem, 4vw, 3rem);
  height: clamp(2.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-light);
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  transition: all 0.3s ease;
  border: 0.125rem solid rgba(255, 255, 255, 0.2);
}

.footer-social-icon:hover {
  background: var(--accent);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.2vw + 0.25rem, 0.9rem);
  color: var(--neutral-light);
  opacity: 0.7;
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .footer {
    padding: clamp(2.5rem, 4vw, 3rem) 1.5rem 2rem 1.5rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
  }

  .footer-logo {
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: none;
    flex: none;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
    max-width: 32rem;
    flex: none;
  }

  .footer-social {
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
    flex: none;
  }

  .footer-bottom {
    text-align: center;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 2rem 1rem 1.5rem 1rem;
  }

  .footer-content {
    gap: 1.5rem;
    text-align: center;
    align-items: center;
  }

  .footer-logo {
    order: 1;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-social {
    gap: 1rem;
  }
}
