/* ============================================================
   Marquee — приложения-приёмники (бегущая строка)
   ============================================================ */

.apps {
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
}

.apps .section-head { max-width: 720px; margin-bottom: 56px; }

.apps-marquee {
  position: relative;
  /* overflow-x: clip обрезает горизонтальные «хвосты» бегущей ленты,
     но позволяет hover-pill подниматься на translateY(-2px) без
     обрезания верхнего края контейнера. padding+margin компенсация
     резервирует место под hover, не меняя визуальный layout. */
  overflow-x: clip;
  overflow-y: visible;
  padding: 6px 0;
  margin: -6px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.apps-marquee + .apps-marquee { margin-top: 8px; }

.apps-track {
  display: flex; gap: 12px;
  width: max-content;
  animation: apps-scroll 50s linear infinite;
}
.apps-track.reverse { animation-direction: reverse; animation-duration: 60s; }

@keyframes apps-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.app-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-1);
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .2s, background .2s, transform .2s;
}
.app-pill:hover {
  border-color: var(--red-line);
  background: var(--bg-3);
  transform: translateY(-2px);
}
.app-pill .dot {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ─── logo cloud (компании-пользователи) ─────────── */
.users-strip {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.users-strip .lbl {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.users-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
@media (max-width: 720px) {
  .users-grid { grid-template-columns: repeat(3, 1fr); }
}
.users-grid .pl {
  height: 36px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
