/* ===== CLIENTS SECTION ===== */
.clients-section { padding: 4px; }

/* Ticker */
.ticker-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  margin-bottom: 22px;
  cursor: default;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.ticker-wrap::-webkit-scrollbar { display: none; }
.ticker-wrap:active { cursor: default; }
.ticker-wrap:focus-visible { outline: 2px solid rgba(95,214,111,0.6); outline-offset: 3px; border-radius: 8px; }
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
}
/* Unified look for all logos: green outline + neutral (light) background so every logo
   stays fully visible at rest, not just on hover. */
.ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
  padding: 6px 14px;
  height: 44px;
  background: rgba(240,242,240,0.96);
  border-radius: 8px;
  border: 1.5px solid rgba(63,174,77,0.65);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.ticker-item:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(95,214,111,0.95);
  transform: translateY(-1px);
}
.ticker-item img {
  max-width: 72px;
  max-height: 30px;
  object-fit: contain;
  opacity: 1;
  filter: grayscale(0.5);
  transition: transform 0.2s, filter 0.2s;
}
.ticker-item:hover img {
  transform: scale(1.03);
  filter: grayscale(0);
}
/* HT.kz artwork is light/near-white, so it needs a dark chip to stay visible;
   every other rule (border, radius, hover lift) stays identical to the rest. */
.ticker-item.ticker-dark {
  background: rgba(8,10,9,0.97);
}
.ticker-item.ticker-dark:hover {
  background: rgba(16,20,17,1);
}

/* Niche grid */
.clients-niches { display: flex; flex-direction: column; gap: 14px; }
.niche-row { display: flex; flex-direction: column; gap: 8px; }
.niche-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mute-on-dark);
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--divider-dark);
}
.niche-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nl-item {
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(95,214,111,0.2);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.nl-item:hover { border-color: rgba(95,214,111,0.75); transform: translateY(-1px); }
.nl-item.light { background: rgba(238,238,238,0.92); }
.nl-item.light:hover { background: rgba(255,255,255,1); }
.nl-item.dark  { background: rgba(30,40,32,0.95); border-color: rgba(95,214,111,0.15); }
.nl-item.dark:hover { background: rgba(40,58,44,1); border-color: rgba(95,214,111,0.75); }
.nl-item img {
  max-width: 52px;
  max-height: 24px;
  object-fit: contain;
}
.nl-item.dark img { filter: brightness(1.4); opacity: 0.85; }
.nl-item span {
  font-size: 11px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
}
.nl-item.dark span { color: var(--mute-on-dark); }

.clients-total {
  text-align: center;
  font-size: 12px;
  color: var(--mute-on-dark);
  margin-top: 16px;
  line-height: 1.5;
}
