/* LX-SITEMAP 20261127-134200
   /sitemap/ only (.sitemap exists solely on that page).
   - Hide the «НАВИГАЦИЯ» eyebrow above the H1; display:none so no gap.
   - Zero horizontal padding on .sitemap__section (!important, to beat
     late-loaded scoped shorthand) so columns share the H1 left edge
     at every breakpoint (32px ≥1200, 20px ≤1199 in the original CSS).
   - Floating orbs from homepage .home-why, distributed down the full
     page: two in the title band + one per section, alternating sides.
   Served from /home/bitrix/lx-nuxt/shared/lx-sitemap.css (survives deploy).
   Rollback: /root/lx-backups/20261127-134200-sitemap/README.txt
*/

/* ---- hide eyebrow, no leftover gap ---- */

.sitemap .sitemap__eyebrow {
  display: none !important;
}

/* ---- alignment ---- */

.sitemap .sitemap__section {
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  isolation: isolate;
}

.sitemap .sitemap-tree {
  margin-left: 0;
  padding-left: 0;
}

.sitemap .sitemap-tree .sitemap-tree {
  padding-left: 14px;
}

/* ---- floating orbs (tokens match /workspace/orbs/orbs.css) ---- */

.sitemap {
  --lx-orbs-opacity: .7;
  --lx-orbs-a: radial-gradient(closest-side, #0a6ee638, #0a6ee600);
  --lx-orbs-b: radial-gradient(closest-side, #ffb40033, #ffb40000);
  --lx-orbs-c: radial-gradient(closest-side, #3c8cff29, #3c8cff00);
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

html.dark .sitemap {
  --lx-orbs-opacity: .55;
  --lx-orbs-a: radial-gradient(closest-side, #0a6ee68c, #0a6ee600);
  --lx-orbs-b: radial-gradient(closest-side, #ffb40047, #ffb40000);
  --lx-orbs-c: radial-gradient(closest-side, #3c8cff66, #3c8cff00);
}

.sitemap::before,
.sitemap::after,
.sitemap .sitemap__section::before {
  content: "";
  pointer-events: none;
  z-index: -1;
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: var(--lx-orbs-opacity);
  will-change: transform;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  display: block;
}

/* Title band: soft blue left, warm amber right */
.sitemap::before {
  background: var(--lx-orbs-a);
  width: 520px;
  height: 520px;
  animation-name: lx-orbs-float-a;
  animation-duration: 18s;
  top: 24px;
  left: -120px;
}

.sitemap::after {
  background: var(--lx-orbs-b);
  width: 460px;
  height: 460px;
  animation-name: lx-orbs-float-b;
  animation-duration: 22s;
  top: 200px;
  right: -100px;
  left: auto;
}

/* One orb per nav block, alternating sides, slightly varied size/motion.
   First section orb sits lower so it doesn't stack on the title pair. */

.sitemap .sitemap__section:nth-of-type(1)::before {
  background: var(--lx-orbs-c);
  width: 380px;
  height: 380px;
  animation-name: lx-orbs-float-c;
  animation-duration: 26s;
  top: 52%;
  left: 38%;
}

.sitemap .sitemap__section:nth-of-type(2)::before {
  background: var(--lx-orbs-a);
  width: 520px;
  height: 520px;
  animation-name: lx-orbs-float-a;
  animation-duration: 20s;
  top: 8%;
  left: -120px;
}

.sitemap .sitemap__section:nth-of-type(3)::before {
  background: var(--lx-orbs-b);
  width: 460px;
  height: 460px;
  animation-name: lx-orbs-float-b;
  animation-duration: 24s;
  top: 18%;
  right: -100px;
  left: auto;
}

.sitemap .sitemap__section:nth-of-type(4)::before {
  background: var(--lx-orbs-c);
  width: 380px;
  height: 380px;
  animation-name: lx-orbs-float-c;
  animation-duration: 18s;
  top: 12%;
  left: -80px;
}

.sitemap .sitemap__section:nth-of-type(5)::before {
  background: var(--lx-orbs-b);
  width: 500px;
  height: 500px;
  animation-name: lx-orbs-float-b;
  animation-duration: 26s;
  top: 10%;
  right: -80px;
  left: auto;
}

.sitemap .sitemap__section:nth-of-type(6)::before {
  background: var(--lx-orbs-a);
  width: 440px;
  height: 440px;
  animation-name: lx-orbs-float-a;
  animation-duration: 22s;
  top: 8%;
  left: 20%;
}

@keyframes lx-orbs-float-a {
  0%, to { transform: translate(0); }
  50%    { transform: translate(140px, 60px); }
}

@keyframes lx-orbs-float-b {
  0%, to { transform: translate(0); }
  50%    { transform: translate(-160px, -80px); }
}

@keyframes lx-orbs-float-c {
  0%, to { transform: translate(0); }
  50%    { transform: translate(-120px, -120px); }
}

@media (prefers-reduced-motion: reduce) {
  .sitemap::before,
  .sitemap::after,
  .sitemap .sitemap__section::before {
    will-change: auto;
    animation: none;
  }
}
