/* Customers / logo marquee section */
.customers-section {
  padding: 52px 0;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.customers-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 0 24px;
}

.customers-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.customers-header h2 em {
  font-style: normal;
  color: #2a65f6;
}

.customers-header p {
  font-size: 0.9rem;
  color: #64748b;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .customers-section {
    padding: 40px 0;
  }

  .customers-header {
    margin-bottom: 24px;
  }
}

/* Seamless logo marquee */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #fff 20%, transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #fff 20%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  animation: marquee-scroll var(--marquee-duration, 40s) linear infinite;
  will-change: transform;
}

.marquee-inner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 56px;
  padding: 12px 0;
}

.marquee-inner + .marquee-inner {
  /* No gap between duplicate strips — loop must be flush */
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--marquee-shift, 0px)), 0, 0);
  }
}

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

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  transition: transform 0.3s ease;
}

.logo-item:hover {
  transform: scale(1.3);
}

.logo-item img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}
