/* ── LUP Logo Slider ── */

.lup-ls-wrap {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 40px 0 20px;
  font-family: 'DM Sans', system-ui, sans-serif;
}

.lup-ls-wrap *,
.lup-ls-wrap *::before,
.lup-ls-wrap *::after {
  box-sizing: border-box;
}

/* ── Viewport ── */
.lup-ls-viewport {
  overflow: hidden;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}

.lup-ls-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}

/* ── Slide ── */
.lup-ls-slide {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  cursor: default;
}

.lup-ls-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

/* ── Logo image wrapper ── */
.lup-ls-logo-wrap {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.lup-ls-img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;

  /* Grayscale by default — overridden to .lup-ls-colour when setting is on */
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.4s ease, transform 0.3s ease;
  display: block;
}

/* Colour on hover (greyscale mode) */
.lup-ls-slide:hover .lup-ls-img,
.lup-ls-link:hover .lup-ls-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* ── Colour mode (always full colour, subtle dim → full on hover) ── */
.lup-ls-wrap.lup-ls-colour .lup-ls-img {
  filter: grayscale(0%) opacity(0.75);
}

.lup-ls-wrap.lup-ls-colour .lup-ls-slide:hover .lup-ls-img,
.lup-ls-wrap.lup-ls-colour .lup-ls-link:hover .lup-ls-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* ── Client name ── */
.lup-ls-name {
  font-size: 13px;
  font-weight: 400;
  color: #aaa;
  letter-spacing: 0.03em;
  text-align: center;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.lup-ls-slide:hover .lup-ls-name,
.lup-ls-link:hover .lup-ls-name {
  color: #404040;
}

/* ── Navigation ── */
.lup-ls-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.lup-ls-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #d8d8d8;
  background: #ffffff;
  color: #404040;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.18s;
  outline: none;
  padding: 0;
}

.lup-ls-btn:hover {
  background: #8cb83f;
  border-color: #8cb83f;
  color: #fff;
  transform: scale(1.08);
}

.lup-ls-btn:active {
  transform: scale(0.96);
  background: #7aa035;
  border-color: #7aa035;
}

.lup-ls-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .lup-ls-logo-wrap {
    height: 80px;
  }
  .lup-ls-img {
    max-height: 65px;
  }
  .lup-ls-name {
    font-size: 11px;
  }
}
