.footer-bottom {
  grid-column: 1 / -1;
  width: 100%;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 5rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1440px;
  margin: 0 auto;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 631px;
}

.footer-legal-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  vertical-align: bottom;
}

.footer-social {
  max-width: 238px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .footer-bottom {
    padding: 1.5rem 1.25rem;
    min-width: 375px;
   
  }

  .footer-bottom-content {
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 1.25rem;
  }

  .footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    width: auto;
  }

  .footer-legal-link {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .footer-bottom {
    padding: 0.75rem 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .footer-legal {
    width: 100%;
    max-width: none;
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-social {
    max-width: none;
  }
}