@font-face { font-family: 'ClientsNunito'; src: url('../fonts/Nunito-VariableFont_wght.ttf') format('truetype'); font-weight: 200 1000; font-style: normal; font-display: swap; }
.clients { clear: both; font-family: 'ClientsNunito', sans-serif; padding: 64px 0 56px; background: #f7f8fc; border-top: 1px solid #eeebf5; border-bottom: 1px solid #eeebf5; }
.clients__heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; margin: 0 auto 32px; padding: 0 5%; }
.clients h2 { margin: 0 0 8px; color: #512da8; font-family: 'ClientsNunito', sans-serif; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; letter-spacing: -1px; text-transform: none; }
.clients__viewport { overflow-x: auto; scrollbar-width: thin; padding: 8px 0 16px; }
.clients__track { display: flex; width: max-content; }
.clients__group { display: flex; flex-shrink: 0; width: max-content; min-width: 0; max-width: none; gap: 20px; list-style: none; margin: 0; padding: 0 20px 0 0; }
.clients__group[aria-hidden] { display: none; }
.clients__item { flex: 0 0 216px; width: 216px; }
.clients__card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; box-sizing: border-box; height: 154px; padding: 22px 20px 18px; border: 1px solid #eeebf5; border-radius: 14px; background: #fff; color: #36334a; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.clients__card:hover { border-color: #53c5d1; box-shadow: 0 5px 16px #512da80d; }
.clients__logo { display: flex; align-items: center; justify-content: center; width: 176px; height: 72px; }
.clients__logo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.clients__name { font: 800 14px/1.3 'ClientsNunito', sans-serif; text-align: center; }
.clients__card--dark { background: #252536; border-color: #252536; color: #fff; }
.clients.is-ready .clients__viewport { overflow: hidden; }
.clients.is-ready .clients__group[aria-hidden] { display: flex; }
.clients.is-ready .clients__track { animation: clients-scroll 86s linear infinite; }
.clients__viewport:focus-within .clients__track { animation-play-state: paused; }
@media (hover: hover) { .clients__viewport:hover .clients__track { animation-play-state: paused; } }
@keyframes clients-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .clients { padding: 40px 0 32px; }
  .clients__heading { align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .clients__item { flex-basis: 190px; width: 190px; }
  .clients__logo { width: 150px; }
  .clients__card { height: 144px; padding: 18px; }
  .clients__group { gap: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .clients.is-ready .clients__track { animation: none; }
  .clients.is-ready .clients__viewport { overflow-x: auto; }
  .clients.is-ready .clients__group[aria-hidden] { display: none; }
  .clients__card { transition: none; }
}
