.clients-logos {
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: linear-gradient(
    180deg,
    rgb(255 132 63 / 0%) 10%,
    rgb(237 100 23 / 80%) 100%
  );
  width: 100%;
  height: auto;
  padding: 3.5rem 0;
  max-width: unset;
}

.clients-logos .section-text h2 {
  margin-bottom: -1rem;
  font-size: 1.625rem;
}

.logos-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 85%;
  margin: auto;
  gap: var(--spacing-20);
  max-width: 1350px;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
}

@media screen and (max-width: 1200px) {
  .logos-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
  }

  .logo {
    aspect-ratio: unset;
    padding: var(--spacing-16) 0;
  }

  .clients-logos .section-text h2 {
    margin-bottom: var(--spacing-32);
  }
}

@media screen and (max-width: 768px) {
  .logos-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 90%;
  }
}

@media screen and (max-width: 576px) {
  .logos-container .logo img {
    width: 100%;
  }
}
