/* "Trusted by enterprises globally" client logo section, shared by the home page and About (2026-11-17).
   Markup and the one logo list: trusted-logos-1.js. Moved here from home-v4-17.css + home-scroll-4.css
   with the home page's values unchanged. Page-specific spacing (About) lives in that page's own CSS.
   Cached for a year: after any edit, rename this file (trusted-logos-3.css) and update both <link> tags. */

/* Section padding comes from the site-wide --section-space system in the main stylesheet (2026-11-18). */
.trusted { display: block; box-sizing: border-box; background: #FFFFFF; border-top: 0; }

.trusted .trusted__inner {
  box-sizing: border-box; margin-left: auto; margin-right: auto;
  max-width: calc(1360px + 2 * clamp(24px, 6.5vw, 120px));
  padding-left: clamp(24px, 6.5vw, 120px); padding-right: clamp(24px, 6.5vw, 120px);
}
.trusted .trusted-heading {
  margin: 0 auto var(--section-head-space); padding: 0;
  font-family: inherit; font-size: .75rem; font-weight: 700; line-height: 1.5; letter-spacing: .16em;
  text-transform: uppercase; text-align: center; text-wrap: balance; color: #000000;
}

/* Scrolling strip: two identical sets side by side, the track moves left by half its width and repeats */
.trusted .logo-marquee {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.trusted .logo-track { display: flex; width: max-content; animation: nzTrustedScroll 40s linear infinite; }
.trusted .logo-set { display: flex; flex: none; align-items: center; gap: 28px; margin: 0; padding: 0 28px 0 0; list-style: none; }
.trusted .logo-set li {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  height: 84px; padding: 14px 28px; background: transparent; border-radius: 14px;
}
.trusted .logo-set img {
  display: block; width: auto; height: max(44px, calc(56px * var(--s, 1)));
  max-height: 56px; max-width: 200px; object-fit: contain; opacity: 1;
}
@keyframes nzTrustedScroll { to { transform: translateX(-50%); } }

@media (max-width: 639.98px) {
  .trusted .logo-track { animation-duration: 34s; }
  .trusted .logo-set { gap: 20px; padding-right: 20px; }
  .trusted .logo-set li { height: 68px; padding: 12px 20px; }
  .trusted .logo-set img { height: max(34px, calc(44px * var(--s, 1))); max-height: 44px; max-width: 150px; }
}

/* Reduced motion: no scrolling, no edge fade, the duplicate set is hidden */
@media (prefers-reduced-motion: reduce) {
  .trusted .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .trusted .logo-track { animation: none; width: auto; }
  .trusted .logo-set { flex-wrap: wrap; justify-content: center; }
  .trusted .logo-set[aria-hidden] { display: none; }
}
