/* ==========================================================================
   KOBIL — Homepage: trusted-by logo strip
   Figma: D-Homepage → 6019:111648 (mobile 6203:41857)

   Lifted out of the hero, where this block used to live: the Aug 2026
   design makes it its own section under the hero, with a headline of its
   own instead of the "REFERENCES" eyebrow. The marquee and the per-logo
   hover swap are unchanged — they already match the prototype's
   interactions (a 10s linear SMART_ANIMATE ticker on the strip, a
   0.1–0.3s DISSOLVE to the coloured variant per logo), so only the
   `sec-hero__…` class prefix was renamed to `sec-logos__…`.
   ========================================================================== */

.sec-logos {
  background: var(--white);
  padding: var(--w56) 0 var(--w64);
}

.sec-logos__head {
  max-width: var(--w1280);
  margin: 0 auto var(--w40);
  padding: 0 var(--w80);
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--w32);
  line-height: 1.3;
  color: var(--navy);
}

/* "Trusted" carries the same gradient ramp as the hero headline. */
.sec-logos__head-accent {
  background-image: linear-gradient(90deg, #696ef5 0%, #849ff8 50%, #ca80f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #849ff8;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

/* The lifted block used to sit at the bottom of the hero card and carried
   its own generous bottom padding; as a standalone section that spacing is
   the section's job (see .sec-logos above), so only the side inset stays. */
.sec-logos__inner {
  padding: 0 var(--w40);
}



.sec-logos__strip-marquee {
  display: flex;
  margin-top: var(--w24);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.sec-logos__strip-track {
  display: flex;
  align-items: center;
  gap: var(--w4);
  width: max-content;
  flex: 0 0 auto;
  animation: sec-logos-scroll 60s linear infinite;
}

.sec-logos__strip-marquee:hover .sec-logos__strip-track {
  animation-play-state: paused;
}

@keyframes sec-logos-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.sec-logos__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.sec-logos__logo-imgwrap {
  position: relative;
  display: inline-flex;
}

.sec-logos__logo-img {
  display: block;
  height: var(--w64);
  width: auto;
}

.sec-logos__logo-img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.sec-logos__logo:hover .sec-logos__logo-img--hover {
  opacity: 1;
}

.sec-logos__logo--tsystems {
  width: var(--w190);
  justify-content: center;
}

.sec-logos__logo--tsystems .sec-logos__logo-img {
  height: var(--w22);
}

/* ---- Mobile-only logo list (default: off) ---- */

.sec-logos__strip-mobile-marquee {
  display: none;
}

@media (max-width: 768px) {
  .sec-logos {
    padding: var(--m40) 0 var(--m44);
  }

  .sec-logos__head {
    margin-bottom: var(--m28);
    padding: 0 var(--m24);
    font-size: var(--m24);
  }

  /* The block used to sit inside the hero card, inset by 16px and topped by
     a hairline divider. As its own flush section it needs neither — the
     headline above it does the separating. */
  .sec-logos__inner {
    padding: 0;
  }

  .sec-logos__strip-marquee {
    display: none;
  }

  .sec-logos__strip-mobile-marquee {
    display: flex;
    overflow: hidden;
    margin-top: 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
    mask-image: linear-gradient(to right, transparent, black 24px, black calc(100% - 24px), transparent);
  }

  .sec-logos__strip-mobile-track {
    display: flex;
    align-items: center;
    gap: var(--m6);
    width: max-content;
    flex: 0 0 auto;
    animation: sec-logos-scroll-mobile 16s linear infinite;
  }

  @keyframes sec-logos-scroll-mobile {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }

  .sec-logos__logo--m {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--m64);
  }

  .sec-logos__logo--m img {
    width: auto;
    height: auto;
  }

  .sec-logos__logo--m-forbes {
    width: var(--m124);
    height: var(--m64);
  }

  .sec-logos__logo--m-tsystems {
    width: var(--m144);
  }

  .sec-logos__logo--m-tsystems img {
    width: var(--m102);
  }

  .sec-logos__logo--m-allianz {
    width: var(--m144);
  }

  .sec-logos__logo--m-allianz img {
    width: var(--m99);
  }

  .sec-logos__logo--m-db {
    width: var(--m176);
  }

  .sec-logos__logo--m-db img {
    width: var(--m162);
  }

  .sec-logos__logo--m-cb {
    width: var(--m140);
  }

  .sec-logos__logo--m-cb img {
    width: var(--m66);
  }

  .sec-logos__logo--m-wiwo {
    width: var(--m174);
  }

  .sec-logos__logo--m-wiwo img {
    width: var(--m138);
  }
}
