/* «О компании», тёмный блок «Закупки» (#goszakupki): анимация в пустом месте справа, варианты 1–5 (Иван 18.11.2026
   «добавим анимацию красивую, сделай 4-5 вариантов, чтобы занять эту пустоту»).
   Генератор: site_tools/claude_about_gz_variants_2026-11-18.py. Префиксы gzx-, g1…g5.
   Правило: без анимации (prefers-reduced-motion) видно конечное состояние картинки. */
.av-gz--x { position: relative; overflow: hidden; container-type: inline-size; }
/* по умолчанию (узкая карточка, ноутбук, телефон) — блок как раньше, без анимации: пустоты там нет (1366 px — ~60 px) */
.gzx-low { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.gzx-act { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.gzx { display: none; position: relative; min-height: 236px; border-radius: 16px; overflow: hidden; pointer-events: none; user-select: none;
  background: radial-gradient(120% 90% at 70% 25%, rgba(164, 38, 84, .22), transparent 62%), rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07); }
/* широкий экран, содержимое карточки шире 600 px (окно от ~1450 px): справа от тарифов — анимация */
@media (min-width: 901px) { @container (min-width: 601px) {
  .gzx-low { align-self: stretch; flex: 1 1 auto; display: grid; grid-template-columns: minmax(200px, 236px) minmax(0, 1fr); gap: 22px; min-height: 236px; }
  .gzx-act .av-laws { flex-direction: column; gap: 8px; }
  .gzx-act .av-laws span { flex-direction: row; align-items: baseline; gap: 10px; }
  .gzx-act .av-laws b { min-width: 70px; }
  .gzx { display: block; }
} }
@container (max-width: 720px) { /* .gzx--1 впереди — правило стоит выше базовых .g1 */
  .gzx--1 .g1 { inset: 0 12px; } .gzx--1 .g1 li div { width: 100px; left: -50px; } .gzx--1 .g1 b { font-size: 13px; } .gzx--1 .g1 span { font-size: 11px; }
  .gzx--1 .g1 li:nth-child(1) div { left: -10px; } .gzx--1 .g1 li:nth-child(5) div { left: auto; right: -10px; } }
@media (prefers-reduced-motion: reduce) { .gzx *, .gzx *::before, .gzx *::after { animation: none !important; } }

/* 1 — Путь закупки: линия с этапами, огонёк бежит слева направо, этапы загораются */
.g1 { position: absolute; inset: 0 22px; list-style: none; margin: 0; padding: 0; }
.g1::before, .g1::after { content: ""; position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.g1::after { background: linear-gradient(90deg, #f2a7c2, #d4477f); box-shadow: 0 0 12px rgba(212, 71, 127, .8); transform-origin: left; animation: g1-line 10s infinite; }
.g1__spark { position: absolute; top: 50%; left: 94%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 4px rgba(242, 167, 194, .35), 0 0 22px 6px rgba(212, 71, 127, .9); animation: g1-spark 10s infinite; }
.g1 li { position: absolute; top: 50%; width: 0; height: 0; }
.g1 li:nth-child(1) { left: 6%; } .g1 li:nth-child(2) { left: 28%; } .g1 li:nth-child(3) { left: 50%; } .g1 li:nth-child(4) { left: 72%; } .g1 li:nth-child(5) { left: 94%; }
.g1 i { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; background: #A42654; display: grid; place-items: center;
  box-shadow: 0 0 0 5px rgba(212, 71, 127, .22), 0 0 18px rgba(212, 71, 127, .7); z-index: 1; }
.g1 i::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.g1 li div { position: absolute; width: 140px; left: -70px; text-align: center; }
.g1 li:nth-child(odd) div { bottom: 24px; } .g1 li:nth-child(even) div { top: 24px; }
.g1 li:nth-child(1) div { left: -14px; text-align: left; } .g1 li:nth-child(5) div { left: auto; right: -14px; text-align: right; }
.g1 b { display: block; font-size: 15px; line-height: 1.2; color: #fff; }
.g1 span { display: block; font-size: 12px; line-height: 1.35; color: #aaa3a4; margin-top: 3px; }
.g1 li:nth-child(1) { animation: g1-s1 10s infinite; } .g1 li:nth-child(2) { animation: g1-s2 10s infinite; } .g1 li:nth-child(3) { animation: g1-s3 10s infinite; }
.g1 li:nth-child(4) { animation: g1-s4 10s infinite; } .g1 li:nth-child(5) { animation: g1-s5 10s infinite; }
@keyframes g1-line { 0%, 8% { transform: scaleX(0); opacity: 1; animation-timing-function: linear; } 72%, 90% { transform: scaleX(1); opacity: 1; } 96% { transform: scaleX(1); opacity: 0; } 100% { transform: scaleX(0); opacity: 0; } }
@keyframes g1-spark { 0% { left: 6%; opacity: 0; } 8% { left: 6%; opacity: 1; animation-timing-function: linear; } 72% { left: 94%; opacity: 1; } 80%, 100% { left: 94%; opacity: 0; } }
@keyframes g1-s1 { 0%, 7% { opacity: .3; filter: grayscale(1); } 9%, 90% { opacity: 1; filter: none; } 96%, 100% { opacity: .3; filter: grayscale(1); } }
@keyframes g1-s2 { 0%, 23% { opacity: .3; filter: grayscale(1); } 25%, 90% { opacity: 1; filter: none; } 96%, 100% { opacity: .3; filter: grayscale(1); } }
@keyframes g1-s3 { 0%, 39% { opacity: .3; filter: grayscale(1); } 41%, 90% { opacity: 1; filter: none; } 96%, 100% { opacity: .3; filter: grayscale(1); } }
@keyframes g1-s4 { 0%, 55% { opacity: .3; filter: grayscale(1); } 57%, 90% { opacity: 1; filter: none; } 96%, 100% { opacity: .3; filter: grayscale(1); } }
@keyframes g1-s5 { 0%, 71% { opacity: .3; filter: grayscale(1); } 73%, 90% { opacity: 1; filter: none; } 96%, 100% { opacity: .3; filter: grayscale(1); } }

/* 2 — Контракт и печать: строки пишутся, подпись, удар печати, справа статусы */
.g2 { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 34px; padding: 0 18px; }
.g2__doc { position: relative; width: 176px; height: 204px; flex: none; }
.g2__back, .g2__sheet { position: absolute; inset: 0; border-radius: 10px; }
.g2__back { background: #d9d2d3; opacity: .35; transform: rotate(7deg) translate(22px, 6px); }
.g2__sheet { background: #fbf9f9; padding: 16px 16px 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transform: rotate(-5deg); animation: g2-sheet 8s infinite; }
.g2__sheet b { display: block; font-size: 15px; color: #292C32; }
.g2__sheet small { display: block; font-size: 10px; color: #7A6E6F; margin: 2px 0 12px; line-height: 1.3; }
.g2__sheet i { display: block; height: 6px; border-radius: 3px; background: #e2dadb; margin: 0 0 9px; transform-origin: left; }
.g2__sheet i:nth-of-type(1) { width: 94%; animation: g2-l1 8s infinite; } .g2__sheet i:nth-of-type(2) { width: 78%; animation: g2-l2 8s infinite; }
.g2__sheet i:nth-of-type(3) { width: 88%; animation: g2-l3 8s infinite; } .g2__sheet i:nth-of-type(4) { width: 56%; animation: g2-l4 8s infinite; }
.g2__sign { position: absolute; left: 14px; bottom: 18px; width: 92px; height: 34px; overflow: visible; }
.g2__sign path { fill: none; stroke: #2b3a8f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 0; animation: g2-sign 8s infinite; }
.g2__stamp { position: absolute; right: -18px; bottom: 6px; width: 96px; height: 96px; transform: rotate(-12deg); animation: g2-stamp 8s infinite; }
.g2__stamp svg { width: 100%; height: 100%; display: block; }
.g2__stamp circle { fill: none; stroke: #A42654; }
.g2__stamp text { fill: #A42654; font-weight: 800; font-family: Montserrat, sans-serif; }
.g2__st { display: flex; flex-direction: column; gap: 10px; }
.g2__st span { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #fff; padding: 9px 14px 9px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; }
.g2__st span::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #A42654; display: grid; place-items: center; font-size: 12px; box-shadow: 0 0 12px rgba(212, 71, 127, .6); }
.g2__st span:nth-child(1) { animation: g2-p1 8s infinite; } .g2__st span:nth-child(2) { animation: g2-p2 8s infinite; } .g2__st span:nth-child(3) { animation: g2-p3 8s infinite; }
@keyframes g2-l1 { 0%, 5% { transform: scaleX(0); opacity: 1; } 11%, 88% { transform: scaleX(1); opacity: 1; } 94%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes g2-l2 { 0%, 11% { transform: scaleX(0); opacity: 1; } 17%, 88% { transform: scaleX(1); opacity: 1; } 94%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes g2-l3 { 0%, 17% { transform: scaleX(0); opacity: 1; } 23%, 88% { transform: scaleX(1); opacity: 1; } 94%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes g2-l4 { 0%, 23% { transform: scaleX(0); opacity: 1; } 29%, 88% { transform: scaleX(1); opacity: 1; } 94%, 100% { transform: scaleX(1); opacity: 0; } }
@keyframes g2-sign { 0%, 33% { stroke-dashoffset: 220; opacity: 1; } 47%, 88% { stroke-dashoffset: 0; opacity: 1; } 94%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes g2-stamp { 0%, 51% { opacity: 0; transform: rotate(-24deg) scale(1.9); } 55% { opacity: 1; transform: rotate(-12deg) scale(.92); } 58%, 88% { opacity: 1; transform: rotate(-12deg) scale(1); } 94%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes g2-sheet { 0%, 54.5% { transform: rotate(-5deg); } 55.5% { transform: rotate(-5deg) translateY(4px) scale(.985); } 58%, 100% { transform: rotate(-5deg); } }
@keyframes g2-p1 { 0%, 29% { opacity: 0; transform: translateX(14px); } 32%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes g2-p2 { 0%, 55% { opacity: 0; transform: translateX(14px); } 58%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes g2-p3 { 0%, 68% { opacity: 0; transform: translateX(14px); } 71%, 88% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@container (max-width: 760px) { .g2__st { display: none; } }

/* 3 — Орбита этапов: логотип в центре, этапы закупки вращаются по двум орбитам */
.g3 { position: absolute; inset: 0; display: grid; place-items: center; }
.g3::before { content: ""; position: absolute; width: 300px; height: 300px; left: 50%; top: 50%; margin: -150px 0 0 -150px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(212, 71, 127, .28), transparent); }
.g3__core { position: relative; width: 66px; height: 66px; border-radius: 50%; background: #fff; padding: 13px; box-sizing: border-box; z-index: 2;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 0 30px rgba(212, 71, 127, .7); }
.g3__core img { width: 100%; height: 100%; display: block; }
.g3__core::before, .g3__core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(242, 167, 194, .7); animation: g3-pulse 3.2s ease-out infinite; }
.g3__core::after { animation-delay: 1.6s; }
.g3__ring { position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  border: 1px dashed rgba(255, 255, 255, .2); border-radius: 50%; animation: g3-spin var(--t) linear infinite var(--d); }
.g3__ring--a { --r: 66px; --t: 22s; --d: normal; --d2: reverse; }
.g3__ring--b { --r: 103px; --t: 34s; --d: reverse; --d2: normal; }
.g3__ring::before { content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #f2a7c2; box-shadow: 0 0 12px #d4477f; }
.g3__ring span { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.g3__ring em { position: absolute; left: 0; top: 0; display: block; translate: -50% -50%; white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 700; color: #fff;
  padding: 6px 11px; border-radius: 999px; background: rgba(41, 44, 50, .82); border: 1px solid rgba(255, 255, 255, .18); animation: g3-spin var(--t) linear infinite var(--d2); }
.g3__ring em.pk { background: #A42654; border-color: #A42654; box-shadow: 0 0 16px rgba(212, 71, 127, .6); }
@keyframes g3-spin { to { transform: rotate(360deg); } }
@keyframes g3-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }

/* 4 — Доставка в учреждение: фургон «Мастер Офис» подъезжает, коробки уходят в здание, галочка «Поставлено» */
.g4 { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.g4 .bld { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .72); stroke-width: 2; stroke-linejoin: round; }
.g4 .gnd { stroke: rgba(255, 255, 255, .28); stroke-width: 2; }
.g4 .road { stroke: rgba(255, 255, 255, .13); stroke-width: 2; stroke-dasharray: 14 12; }
.g4 .cloud { fill: rgba(255, 255, 255, .07); animation: g4-cloud 14s ease-in-out infinite alternate; }
.g4 .cloud + .cloud { animation-duration: 18s; animation-direction: alternate-reverse; }
.g4 .flag { fill: #A42654; transform-box: fill-box; transform-origin: left center; animation: g4-flag 1.6s ease-in-out infinite alternate; }
.g4__van { animation: g4-van 10s infinite; }
.g4__wheel { transform-box: fill-box; transform-origin: center; animation: g4-wheel 10s infinite; }
.g4__box { opacity: 0; }
.g4__box.b1 { animation: g4-b1 10s infinite; } .g4__box.b2 { animation: g4-b2 10s infinite; } .g4__box.b3 { animation: g4-b3 10s infinite; }
.g4__ok { transform-box: fill-box; transform-origin: center; animation: g4-ok 10s infinite; }
.g4__ok text { fill: #fff; font: 700 14px Montserrat, sans-serif; }
@keyframes g4-van { 0% { transform: translateX(-190px); animation-timing-function: cubic-bezier(.2, .7, .3, 1); } 32%, 74% { transform: translateX(150px); animation-timing-function: cubic-bezier(.6, 0, .9, .5); } 94%, 100% { transform: translateX(600px); } }
@keyframes g4-wheel { 0% { transform: rotate(0); animation-timing-function: cubic-bezier(.2, .7, .3, 1); } 32%, 74% { transform: rotate(900deg); animation-timing-function: cubic-bezier(.6, 0, .9, .5); } 94%, 100% { transform: rotate(2200deg); } }
@keyframes g4-b1 { 0%, 35% { opacity: 0; transform: translate(0, 0); } 37% { opacity: 1; transform: translate(0, 0); } 42% { opacity: 1; transform: translate(70px, -26px); } 47% { opacity: 1; transform: translate(140px, -6px); } 49%, 100% { opacity: 0; transform: translate(140px, -6px); } }
@keyframes g4-b2 { 0%, 41% { opacity: 0; transform: translate(0, 0); } 43% { opacity: 1; transform: translate(0, 0); } 48% { opacity: 1; transform: translate(70px, -26px); } 53% { opacity: 1; transform: translate(140px, -6px); } 55%, 100% { opacity: 0; transform: translate(140px, -6px); } }
@keyframes g4-b3 { 0%, 47% { opacity: 0; transform: translate(0, 0); } 49% { opacity: 1; transform: translate(0, 0); } 54% { opacity: 1; transform: translate(70px, -26px); } 59% { opacity: 1; transform: translate(140px, -6px); } 61%, 100% { opacity: 0; transform: translate(140px, -6px); } }
@keyframes g4-ok { 0%, 60% { opacity: 0; transform: scale(.4); } 64% { opacity: 1; transform: scale(1.08); } 67%, 90% { opacity: 1; transform: scale(1); } 95%, 100% { opacity: 0; transform: scale(1); } }
@keyframes g4-cloud { to { transform: translateX(-36px); } }
@keyframes g4-flag { to { transform: scaleX(.82) skewY(-6deg); } }
@media (prefers-reduced-motion: reduce) { .g4__van { transform: translateX(150px); } .g4__box { display: none; } }

/* 5 — Светящиеся «44» и «223»: контурные цифры, по ним проходит блик, сетка точек и мягкое свечение */
.g5 { position: absolute; inset: 0; }
.g5__grid { position: absolute; inset: -20px; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.7px); background-size: 20px 20px;
  -webkit-mask: radial-gradient(70% 80% at 60% 50%, #000, transparent); mask: radial-gradient(70% 80% at 60% 50%, #000, transparent); animation: g5-grid 8s linear infinite; }
.g5__blob { position: absolute; width: 220px; height: 220px; border-radius: 50%; filter: blur(46px); opacity: .55; }
.g5__blob--a { background: #A42654; left: 18%; top: -10%; animation: g5-a 11s ease-in-out infinite alternate; }
.g5__blob--b { background: #5b3fa8; right: 4%; bottom: -24%; opacity: .4; animation: g5-b 13s ease-in-out infinite alternate; }
.g5__n { position: absolute; font-weight: 800; line-height: .9; letter-spacing: -.04em; font-size: clamp(76px, 15cqw, 124px); color: transparent;
  background: linear-gradient(100deg, rgba(255, 255, 255, .1) 36%, rgba(242, 167, 194, .95) 46%, #fff 50%, rgba(212, 71, 127, .95) 54%, rgba(255, 255, 255, .1) 64%) no-repeat;
  background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: g5-sweep 6s linear infinite; }
.g5__n sup { font-size: .2em; letter-spacing: .04em; color: #f2a7c2; vertical-align: top; margin-left: 6px; position: relative; top: .6em; }
.g5__n--a { left: 10%; top: 9%; }
.g5__n--b { right: 7%; bottom: 7%; animation-delay: -3s; }
.g5__p { position: absolute; bottom: -8px; width: 5px; height: 5px; border-radius: 50%; background: #f2a7c2; box-shadow: 0 0 10px #d4477f; opacity: 0; animation: g5-rise 7s linear infinite; }
.g5__p:nth-of-type(1) { left: 12%; } .g5__p:nth-of-type(2) { left: 31%; animation-delay: -2.4s; animation-duration: 8s; }
.g5__p:nth-of-type(3) { left: 48%; animation-delay: -4.8s; } .g5__p:nth-of-type(4) { left: 64%; animation-delay: -1.2s; animation-duration: 9s; }
.g5__p:nth-of-type(5) { left: 79%; animation-delay: -5.6s; } .g5__p:nth-of-type(6) { left: 92%; animation-delay: -3.3s; animation-duration: 6s; }
@keyframes g5-grid { to { background-position: 20px 20px; } }
@keyframes g5-a { to { transform: translate(120px, 60px) scale(1.15); } }
@keyframes g5-b { to { transform: translate(-150px, -40px) scale(.9); } }
@keyframes g5-sweep { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes g5-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 80% { opacity: .6; } 100% { transform: translateY(-250px); opacity: 0; } }
