/* ============================================================
   Vostok Consult - motion-plus styles (cinematic layer)
   Pairs with js/motion-plus.js. Additive + brand-safe.
   ============================================================ */

/* ---------- WebGL aurora hero (layered behind the grid) ------ */
#hero-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}
#hero-gl.is-on { opacity: 1; }
.hero #ai-net { z-index: 1; }                 /* neural grid rides over the shader */
#hero-gl.is-on ~ .hero-glow { opacity: 0; }   /* shader supplies the glow; retire the blurred div */

/* ---------- Cursor glow (fine pointers) ---------------------- */
.vc-cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, rgba(240, 169, 60, .55), rgba(240, 169, 60, 0) 70%);
  mix-blend-mode: screen;               /* glows over dark sections, vanishes over white */
  opacity: 0;
  transition: opacity .35s ease;
  will-change: transform;
}

/* ---------- Pinned horizontal Services showcase ------------- */
.services-pin { overflow: hidden; }
.svc-hwrap { padding: 6px 0 2px; }
.svc-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 0 26px;
  will-change: transform;
}
.svc-track .svc {
  flex: 0 0 clamp(270px, 30vw, 360px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.svc-track .svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(240, 169, 60, .45);
}
@media (min-width: 992px) {
  .services-pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  .services-pin .sec-head { margin-bottom: 34px; }
}
@media (min-width: 992px) {                 /* hairline count hint under the row */
  .svc-scrollhint {
    text-align: center;
    color: var(--muted-2);
    font-size: .84rem;
    margin-top: 22px;
    letter-spacing: .04em;
  }
}
@media (max-width: 991.98px) {
  .svc-scrollhint { display: none; }
  .svc-track { padding: 0 20px; }
}

/* ---------- Jurisdiction marquee ---------------------------- */
.zones-marquee { margin-top: 6px; }
.zones-marquee .vc-marquee-track span {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
  transition: border-color .25s, color .25s;
}
.zones-marquee .vc-marquee-track span:hover { border-color: var(--amber); color: var(--amber-2); }

/* ---------- Ambient orbs already provided by motion.css ------ */
.hero .vc-orb { z-index: 0; }

/* ---------- Reduced motion ---------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #hero-gl, .vc-cursor-glow { display: none !important; }
  .svc-track { transform: none !important; }
  /* marquee is paused when reduced -> let the row scroll instead of clipping */
  .zones-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
