/* ==========================================================================
   Business "Trusted by" logo strip (nafas.com/id-en/business)
   Live: >= 810 frame framer-aijxh5 (212.2px tall), ticker variant "INDO ONLY" (2582 x 109, gap 80);
         <= 809.98 frame framer-1l05a97 "Text" (126.2px tall), ticker variant "Mobile" (1328 x 44, gap 32).
   Framer Ticker (Ticker.mjs): direction right, speed 50px/s, linear, infinite, gap 10 (phone 0), fade mask 25%
   (12.5% each side), hoverFactor 1 (hover does not slow it), paused while out of view. JS sets the track's
   left and the WAAPI animation exactly like the component (see js/15-trusted.js).
   Label: >= 810 fades 0 -> 1 (spring 0.6 / bounce 0.1, once, 50% in view); phone animates per character
   (opacity 0.001, blur 4px, y 10px -> rest; 0.3s cubic-bezier(.12,.23,.5,1), +0.02s per character, once).
   ========================================================================== */

.nf-biz-trusted {
  --nf-biz-trusted-regular: "SF Pro Display Regular", "SF Pro Display Regular Placeholder", sans-serif;
  position: relative; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  width: 100%; padding: 60px 0 0;
  background-color: var(--nf-white);
  overflow: visible;
}

/* ---------- label ---------- */
.nf-biz-trusted__label { position: relative; flex: none; width: auto; height: auto; white-space: pre; }
.nf-biz-trusted__label--phone { display: none; }
.nf-biz-trusted__title {
  font-family: var(--nf-biz-trusted-regular); font-weight: 400; font-size: 21px; line-height: 1.2em;
  letter-spacing: normal; color: var(--nf-black); text-align: start; white-space: pre;
}
.nf-biz-trusted [data-biz-trusted-fade] {
  opacity: 0; will-change: transform;
  transition: opacity 0.6s linear(0, 0.0506 4.17%, 0.1641 8.33%, 0.3007 12.5%, 0.4369 16.67%, 0.5605 20.83%, 0.6662 25%, 0.7526 29.17%, 0.821 33.33%, 0.8735 37.5%, 0.9129 41.67%, 0.9418 45.83%, 0.9623 50%, 0.9767 54.17%, 0.9864 58.33%, 0.9928 62.5%, 0.9968 66.67%, 0.9993 70.83%, 1.0006 75%, 1.0013 79.17%, 1.0015 83.33%, 1.0015 87.5%, 1.0013 91.67%, 1.0011 95.83%, 1);
}
.nf-biz-trusted [data-biz-trusted-fade].is-in { opacity: 1; }
.nf-biz-trusted__word { white-space: nowrap; }
.nf-biz-trusted__word > span {
  display: inline-block; white-space: nowrap;
  opacity: 0.001; filter: blur(4px); transform: translateY(10px);
  transition: opacity 0.3s cubic-bezier(0.12, 0.23, 0.5, 1), filter 0.3s cubic-bezier(0.12, 0.23, 0.5, 1), transform 0.3s cubic-bezier(0.12, 0.23, 0.5, 1);
  transition-delay: var(--nf-biz-trusted-char-delay, 0s);
}
.nf-biz-trusted [data-biz-trusted-chars].is-in .nf-biz-trusted__word > span { opacity: 1; filter: blur(0px); transform: none; }
@media (scripting: none) {
  .nf-biz-trusted [data-biz-trusted-fade], .nf-biz-trusted__word > span { opacity: 1; filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nf-biz-trusted [data-biz-trusted-fade], .nf-biz-trusted__word > span { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ---------- ticker ---------- */
.nf-biz-trusted__ticker { position: relative; flex: none; width: 100%; height: 111px; }
.nf-biz-trusted__clip {
  display: flex; place-items: center;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 12.5%, rgb(0, 0, 0) 87.5%, rgba(0, 0, 0, 0) 100%);
}
.nf-biz-trusted__track {
  position: relative;
  display: flex; flex-direction: row; place-items: center; gap: 10px;
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  margin: 0; padding: 0; list-style: none; text-indent: 0;
  will-change: transform;
}
.nf-biz-trusted__item { flex: none; height: 109px; }
.nf-biz-trusted__item[aria-hidden="true"] { will-change: transform; }
.nf-biz-trusted__set {
  position: relative; flex-shrink: 0;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 80px;
  width: min-content; height: min-content; padding: 0 80px 0 0;
  overflow: visible;
}
.nf-biz-trusted__logo { position: relative; flex: none; height: auto; }
.nf-biz-trusted__logo img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: fill; object-position: 50% 50%;
}
/* desktop / laptop / tablet variant "INDO ONLY" */
.nf-biz-trusted__logo--qdb { width: 114px; aspect-ratio: 1.96721 / 1; }
.nf-biz-trusted__logo--sis { width: 125px; aspect-ratio: 1.21359 / 1; }
.nf-biz-trusted__logo--hei { width: 63px; aspect-ratio: 0.728125 / 1; }
.nf-biz-trusted__logo--qf { width: 133px; aspect-ratio: 1.77848 / 1; }
.nf-biz-trusted__logo--wpp { width: 106px; height: 32px; }
.nf-biz-trusted__logo--bni { width: 91px; aspect-ratio: 2.67857 / 1; }
.nf-biz-trusted__logo--dbs { width: 103px; aspect-ratio: 2.77273 / 1; }
.nf-biz-trusted__logo--embassy { width: 110px; aspect-ratio: 1.14029 / 1; mix-blend-mode: multiply; }
.nf-biz-trusted__logo--mazars { width: 115px; height: 20px; mix-blend-mode: multiply; filter: grayscale(1); }
.nf-biz-trusted__logo--pwc { width: 134px; aspect-ratio: 1.95506 / 1; }
.nf-biz-trusted__logo--noc { width: 108px; aspect-ratio: 0.986842 / 1; }
.nf-biz-trusted__logo--bsj { width: 108px; aspect-ratio: 3.73861 / 1; }
.nf-biz-trusted__logo--nzs { width: 232px; aspect-ratio: 3.52273 / 1; }
.nf-biz-trusted__logo--pwc img, .nf-biz-trusted__logo--bsj img, .nf-biz-trusted__logo--nzs img { object-fit: cover; }

/* ========== phone <= 809.98: frame "Text", ticker variant "Mobile" ========== */
@media (max-width: 809.98px) {
  .nf-biz-trusted { gap: 8px; padding: 16px; }
  .nf-biz-trusted__label--wide { display: none; }
  .nf-biz-trusted__label--phone { display: block; }
  .nf-biz-trusted__title { font-size: 16px; }
  .nf-biz-trusted__ticker { height: 67px; }
  .nf-biz-trusted__track { gap: 0; }
  .nf-biz-trusted__item { height: 44px; }
  .nf-biz-trusted__set { justify-content: center; gap: 32px; height: 100%; padding: 0 32px 0 0; }
  .nf-biz-trusted__logo--qdb { width: 69px; aspect-ratio: 1.95833 / 1; }
  .nf-biz-trusted__logo--sis { width: 54px; aspect-ratio: 1.22388 / 1; }
  .nf-biz-trusted__logo--hei { width: 32px; aspect-ratio: 0.719298 / 1; }
  .nf-biz-trusted__logo--qf { width: 79px; }
  .nf-biz-trusted__logo--wpp { width: 86px; height: 25px; }
  .nf-biz-trusted__logo--bni { width: 73px; height: 28px; aspect-ratio: auto; }
  .nf-biz-trusted__logo--dbs { width: 85px; }
  .nf-biz-trusted__logo--embassy { width: 50px; }
  .nf-biz-trusted__logo--mazars { width: 101px; height: auto; aspect-ratio: 5.76923 / 1; }
  .nf-biz-trusted__logo--pwc { width: 77px; aspect-ratio: 1.93333 / 1; }
  .nf-biz-trusted__logo--noc { width: 44px; }
  .nf-biz-trusted__logo--bsj { width: 74px; aspect-ratio: 3.68182 / 1; }
  .nf-biz-trusted__logo--nzs { width: 88px; aspect-ratio: 3.5 / 1; }
  .nf-biz-trusted__logo--sis img, .nf-biz-trusted__logo--embassy img, .nf-biz-trusted__logo--noc img { object-fit: cover; }
}
