.home-clients-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
  background: #fffefa;
}

.home-clients-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.68;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='620' viewBox='0 0 760 620'%3E%3Cg fill='none' stroke='%23efb437' stroke-width='1.2' opacity='.72'%3E%3Cpath d='M-75 12 46 133-75 254M46 133l128-128 128 128-128 128zM174 5l128 128 128-128M430 5 302 133l128 128M430 5h230v230H430zM660 5v230h230M-74 357 46 237l128 128L46 493zM174 365h228v228H174zM402 365l130-130c72 0 130 58 130 130S604 495 532 495L402 365zM532 495l128 128M-75 493 46 614l128-121'/%3E%3Cpath d='M302 593 430 465l128 128-128 128zM660 235v258h230'/%3E%3C/g%3E%3C/svg%3E");
  background-size: clamp(500px, 52vw, 760px) auto;
  background-position: center top;
}

.home-clients-section > .brand-section-motif {
  display: none !important;
}

.home-clients-heading {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.home-clients-heading .section-head {
  max-width: 920px;
  margin-inline: auto;
}

.home-clients-heading h2 {
  color: #194846;
}

.clients-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 2.25rem) clamp(1.1rem, 3vw, 3rem);
  align-items: start;
}

.client-logo-spotlight {
  display: grid;
  grid-template-rows: clamp(72px, 8vw, 106px) minmax(1.35rem, auto);
  place-items: center;
  min-width: 0;
  margin: 0;
  text-align: center;
}

.client-logo-spotlight img {
  display: block;
  width: min(100%, 180px);
  height: clamp(64px, 7vw, 94px);
  object-fit: contain;
  filter: grayscale(1) contrast(0.74) opacity(0.72);
  mix-blend-mode: multiply;
  transform: scale(0.96);
  transition: filter 420ms ease, transform 420ms ease, opacity 420ms ease;
}

.client-logo-name {
  display: block;
  max-width: 100%;
  color: #194846;
  font-size: clamp(0.72rem, 0.85vw, 0.88rem);
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 320ms ease, transform 320ms ease;
}

.client-logo-spotlight.is-active img {
  filter: grayscale(0) contrast(1) opacity(1);
  transform: scale(1.06);
}

.client-logo-spotlight.is-active .client-logo-name {
  opacity: 1;
  transform: translateY(0);
}

.clients-partners-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.clients-partners-action .button {
  min-width: min(100%, 250px);
  justify-content: center;
}

[data-theme="dark"] .home-clients-section {
  background: #102f2d;
}

[data-theme="dark"] .home-clients-section::before {
  opacity: 0.28;
}

[data-theme="dark"] .home-clients-heading h2,
[data-theme="dark"] .client-logo-name {
  color: #f9bb3c;
}

[data-theme="dark"] .client-logo-spotlight img {
  mix-blend-mode: normal;
}

@media (max-width: 991px) {
  .clients-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .home-clients-section {
    padding-block: 3.25rem;
  }

  .clients-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 0.75rem;
  }

  .client-logo-spotlight {
    grid-template-rows: 72px minmax(2.2rem, auto);
  }

  .client-logo-spotlight img {
    width: min(100%, 132px);
    height: 66px;
  }

  .client-logo-name {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-spotlight img,
  .client-logo-name {
    transition: none;
  }
}
