.footer {
  background: #202b52;
  color: #ffffff;
  padding: 60px 0 30px;
  font-family: "Montserrat", "Lato", "Open Sans", sans-serif;
}

.footer-inner {
  max-width: var(--page-content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section {
  min-width: 0;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  margin: 0;
  color: #ffffff;
  opacity: 0.9;
  line-height: 1.8;
}

.footer-nav {
  margin-top: 1rem;
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-item {
  margin: 0;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  font-family: inherit;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-link:hover {
  color: #a0c4f7;
  opacity: 1;
}

.footer-nav-title,
.footer-social-title {
  color: #ffffff;
  margin: 0 0 1rem;
  font-family: "Playfair Display", "Libre Baskerville", serif;
  font-weight: 600;
  font-size: 1.125rem;
}

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

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  opacity: 0.9;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.social-icon:hover {
  color: #a0c4f7;
  opacity: 1;
  transform: translateY(-2px);
}

.social-icon i {
  font-size: 1.3rem;
  line-height: 1;
}

.social-icon-text {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(224, 231, 237, 0.25);
}

.footer-copyright {
  margin: 0;
  color: #ffffff;
  opacity: 0.8;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-legal a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.footer-legal a:hover {
  color: #a0c4f7;
  opacity: 1;
}

.footer-legal-sep {
  color: #ffffff;
  opacity: 0.6;
  user-select: none;
}

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

@media (max-width: 768px) {
  .footer {
    padding: 48px 0 24px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
}
