/* =============================================
   COOL CLIENT WE SERVE SECTION
   ============================================= */

.clients {
  background-color: #1a1a1a;
  padding: 70px 0 60px;
}

.clients__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.clients__header {
  margin-bottom: 40px;
}

.clients__title {
  font-family: 'Poppins', sans-serif;
  font-size: 90px;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 1px;
}

.clients__title--white  { color: #ffffff; display: block; }
.clients__title--orange { color: #FF6600; display: block; }

/* Slider wrap — ikuti lebar container, overflow visible biar panah tidak terpotong */
.clients__slider-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Arrow — absolute di luar strip */
.clients__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  user-select: none;
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.clients__arrow--prev { left: -40px; }
.clients__arrow--next { right: -40px; }

.clients__arrow:hover {
  border-color: #FF6600;
  color: #FF6600;
}

/* Clip — wrapper overflow hidden, biar panah di luar tidak terpotong body */
.clients__clip {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
}

/* Strip */
.clients__strip {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 28px 40px;
  cursor: grab;
  box-sizing: border-box;
}

.clients__strip:active {
  cursor: grabbing;
}

/* Track */
.clients__track {
  display: flex;
  align-items: center;
  gap: 20px;
  will-change: transform;
}

/* Desktop: 5 logo tampil */
.clients__logo {
  flex: 0 0 calc((100% - 80px) / 5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.clients__logo img {
  max-height: 65px;
  width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.2s;
}

.clients__logo img:hover {
  opacity: 0.75;
}

/* =============================================
   RESPONSIVE – CLIENTS
   ============================================= */

@media (max-width: 768px) {

  .clients { padding: 50px 0 40px; }
  .clients__inner { padding: 0 24px; }
  .clients__title { font-size: 64px; }
  .clients__header { margin-bottom: 28px; }

  .clients__slider-wrap {
    padding: 0 24px;
    gap: 10px;
  }

  .clients__arrow {
    width: 36px;
    height: 36px;
    font-size: 22px;
    position: static;
    transform: none;
    flex-shrink: 0;
  }

  .clients__arrow--prev { left: auto; }
  .clients__arrow--next { right: auto; }

  .clients__clip { border-radius: 16px; }

  .clients__strip {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .clients__track { gap: 12px; }

  /* Mobile: 3 logo tampil */
  .clients__logo {
    flex: 0 0 calc((100% - 24px) / 3);
  }

  .clients__logo img { max-height: 44px; }
}

@media (max-width: 480px) {

  .clients { padding: 40px 0 32px; }
  .clients__inner { padding: 0 16px; }
  .clients__title { font-size: 48px; }

  .clients__slider-wrap {
    padding: 0 16px;
    gap: 8px;
  }

  .clients__arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;
    position: static;
    transform: none;
  }

  .clients__arrow--prev { left: auto; }
  .clients__arrow--next { right: auto; }

  .clients__clip { border-radius: 14px; }

  .clients__strip {
    padding: 16px 12px;
    border-radius: 14px;
  }

  .clients__track { gap: 10px; }

  .clients__logo {
    flex: 0 0 calc((100% - 20px) / 3);
  }

  .clients__logo img { max-height: 36px; }
}
