/* ============================================================
   Legal Kanban - strona dla kancelarii zespołowych i wielooddziałowych
   (duze-kancelarie.html). Executive direction: głęboki granat, miedź,
   Fraunces dla nagłówków; spójna z styles.css / tr-landing.css
   (navbar, przyciski, container, reveal). Prefiks klas: eq-
   ============================================================ */

/* ---- Hero: ciemna banda wykonawcza (niezależna od motywu) ---- */
/* ---- Hero: pod motyw, dwukolumnowy - kopia | ramka produktu ---- */
.eq-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 500px at 88% -20%, rgba(37, 99, 235, 0.14), transparent 62%),
    radial-gradient(700px 420px at -12% 115%, rgba(180, 83, 9, 0.09), transparent 55%),
    var(--bg-accent);
  border-bottom: 1px solid var(--border);
  padding: clamp(64px, 9vw, 118px) 0 clamp(56px, 8vw, 96px);
}
.eq-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .eq-hero .container { grid-template-columns: 1fr; }
}

.eq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #b45309;
  border: 1px solid rgba(180, 83, 9, 0.4);
  background: rgba(180, 83, 9, 0.08);
  border-radius: 999px;
  padding: 7px 14px;
}
[data-theme="dark"] .eq-eyebrow { color: #fbbf24; border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.09); }
.eq-eyebrow .material-symbols-outlined { font-size: 16px; }
.eq-hero .eq-eyebrow { margin-bottom: 20px; }

.eq-hero-title {
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 4.3vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.eq-hero-title em { font-style: normal; color: var(--aqua); }
.eq-hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.62;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 600px;
  text-wrap: pretty;
}
.eq-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }

/* Prawa kolumna: ramka "product shot" z animowana tablica */
.eq-hero-visual { min-width: 0; }
.eq-hero-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 23, 41, 0.16), 0 4px 14px rgba(15, 23, 41, 0.06);
  padding: clamp(16px, 2vw, 26px);
  position: relative;
}
.eq-hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background:
    radial-gradient(360px 160px at 85% 0%, rgba(37, 99, 235, 0.08), transparent 65%),
    radial-gradient(300px 150px at 5% 100%, rgba(180, 83, 9, 0.07), transparent 60%);
  pointer-events: none;
}
.eq-hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
  position: relative;
}
/* plawajace elementy wystaja poza ramke - dopuszczamy */
.eq-hero-frame { overflow: visible; }

.eq-float-1 { animation: eqFloat1 7s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.eq-float-2 { animation: eqFloat2 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.eq-float-3 { animation: eqFloat1 8s ease-in-out 1.2s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes eqFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, -9px); } }
@keyframes eqFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7px, 7px); } }
@media (prefers-reduced-motion: reduce) {
  .eq-float-1, .eq-float-2, .eq-float-3 { animation: none; }
}

/* Dyskretny przelacznik segmentu (na dole kopi, pod trust) */
.eq-seg-switch {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
}
.eq-seg-switch .material-symbols-outlined { font-size: 18px; color: var(--aqua); }
.eq-seg-switch a { color: var(--aqua); font-weight: 600; text-decoration: none; }
.eq-seg-switch a:hover { text-decoration: underline; }

/* ---- Segment switch (powrot do wersji solo) ---- */
.eq-switch {
  margin-top: 26px;
  font-size: 0.92rem;
  color: #93a5c0;
}
.eq-switch a { color: #fbbf24; font-weight: 600; text-decoration: none; border-bottom: 1px dashed rgba(251, 191, 36, 0.5); }
.eq-switch a:hover { border-bottom-style: solid; }

/* ---- Sekcje ---- */
.eq-section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.eq-section--pains { background: var(--bg-accent); }
.eq-section--pillars { background: var(--bg); }
.eq-section--security { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-accent) 100%); }
.eq-section--rollout { background: var(--bg); }
.eq-section--cta {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(700px 380px at 100% 100%, rgba(180, 83, 9, 0.14), transparent 55%),
    var(--bg);
}

.eq-head { display: grid; gap: 14px; max-width: 860px; margin: 0 0 clamp(40px, 6vw, 64px); }
.eq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b45309;
  border: 1px solid rgba(180, 83, 9, 0.4);
  background: rgba(180, 83, 9, 0.08);
  border-radius: 999px;
  padding: 6px 13px;
}
[data-theme="dark"] .eq-kicker { color: #fbbf24; border-color: rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.09); }
.eq-kicker .material-symbols-outlined { font-size: 15px; }
.eq-title {
  font-family: var(--display-font);
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
}
.eq-title em { font-style: normal; color: var(--aqua); }
.eq-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--muted); margin: 0; max-width: 720px; }

/* ---- Stat / pain tiles: kontrastowy raster ---- */
.eq-pains { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .eq-pains { grid-template-columns: 1fr; } }
.eq-pain {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--danger);
  border-radius: 14px;
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
}
.eq-pain:nth-child(2) { border-top-color: var(--warning); }
.eq-pain:nth-child(3) { border-top-color: var(--info); }
.eq-pain:nth-child(4) { border-top-color: #7c3aed; }
.eq-pain-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}
.eq-pain h3 { font-family: var(--display-font); font-size: 1.14rem; margin: 10px 0 8px; line-height: 1.3; }
.eq-pain p { margin: 0; font-size: 0.95rem; color: var(--muted); line-height: 1.55; }
.eq-pain p strong { color: var(--ink); }

/* ---- Filary pracy zespołowej: SVG ilustracje + opis ---- */
.eq-pillars { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .eq-pillars { grid-template-columns: 1fr; } }
.eq-pillar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.eq-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 14px 34px rgba(15, 23, 41, 0.1);
}
.eq-pillar-art {
  background:
    radial-gradient(420px 200px at 70% 0%, rgba(37, 99, 235, 0.1), transparent 65%),
    var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.eq-pillar-art svg { display: block; width: 100%; height: auto; }
.eq-pillar h3 { font-family: var(--display-font); font-size: 1.2rem; margin: 0 0 8px; }
.eq-pillar p { margin: 0; font-size: 0.96rem; line-height: 1.6; color: var(--muted); }
.eq-pillar p strong { color: var(--ink); }

/* SVG wspólne: linie rysowane przy wejściu w kadr (reuse tr-draw keyframes) */
.eq-art { color: var(--ink); }
.eq-art .eq-draw path,
.eq-art .eq-draw rect,
.eq-art .eq-draw circle,
.eq-art .eq-draw line,
.eq-hero-visual .eq-draw path,
.eq-hero-visual .eq-draw rect,
.eq-hero-visual .eq-draw circle,
.eq-hero-visual .eq-draw line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.5s ease 0.15s;
}
.reveal.is-visible .eq-art .eq-draw path,
.reveal.is-visible .eq-art .eq-draw rect,
.reveal.is-visible .eq-art .eq-draw circle,
.reveal.is-visible .eq-art .eq-draw line,
.reveal.is-visible .eq-hero-visual .eq-draw path,
.reveal.is-visible .eq-hero-visual .eq-draw rect,
.reveal.is-visible .eq-hero-visual .eq-draw circle,
.reveal.is-visible .eq-hero-visual .eq-draw line { stroke-dashoffset: 0; }

/* HERO: zywy obraz - rysowanie wejscia, puls obecnosci, ruch lacznikow */
.eq-hero-visual .eq-draw path,
.eq-hero-visual .eq-draw rect,
.eq-hero-visual .eq-draw circle,
.eq-hero-visual .eq-draw line {
  transition: none;
  animation: eqDraw 1.4s ease forwards;
}
.eq-hero-visual .eq-draw ~ * .eq-dash-move,
.eq-hero-visual .eq-dash-move { animation: eqDashMove 1.1s linear infinite; }
.eq-hero-visual .eq-avatar-dot { transform-box: fill-box; transform-origin: center; animation: eqPulse 2.6s ease-in-out infinite; }
.eq-hero-visual .eq-avatar-dot:nth-of-type(2) { animation-delay: 0.5s; }
.eq-hero-visual .eq-avatar-dot:nth-of-type(3) { animation-delay: 1s; }
@keyframes eqDraw { to { stroke-dashoffset: 0; } }
@keyframes eqDashMove { to { stroke-dashoffset: -24; } }
@keyframes eqPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.7); opacity: 0.65; }
}

@media (prefers-reduced-motion: reduce) {
  .eq-hero-visual .eq-draw path,
  .eq-hero-visual .eq-draw rect,
  .eq-hero-visual .eq-draw circle,
  .eq-hero-visual .eq-draw line { animation: none; stroke-dashoffset: 0; }
  .eq-hero-visual .eq-dash-move,
  .eq-hero-visual .eq-avatar-dot,
  .eq-float-1, .eq-float-2, .eq-float-3 { animation: none; }
}
.eq-art .eq-glow { filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.45)); }
.eq-avatar {
  fill: var(--surface);
  stroke: currentColor;
  stroke-width: 2;
}
.eq-avatar-dot { fill: var(--aqua); stroke: none; }

/* ---- Bezpieczeństwo: lista kontroli ---- */
.eq-security-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .eq-security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .eq-security-grid { grid-template-columns: 1fr; } }
.eq-sec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.eq-sec-item .material-symbols-outlined { color: var(--success); font-size: 22px; flex-shrink: 0; }
.eq-sec-item h3 { font-size: 0.98rem; margin: 0 0 4px; }
.eq-sec-item p { margin: 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }

/* ---- Wdrożenie: pozioma os 4 kroków ---- */
.eq-steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: eqstep; }
.eq-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 18px 18px;
}
.eq-step::before {
  counter-increment: eqstep;
  content: counter(eqstep, decimal-leading-zero);
  font-family: var(--display-font);
  font-size: 1.5rem;
  color: var(--aqua);
  opacity: 0.85;
}
.eq-step h3 { font-size: 1.02rem; margin: 8px 0 6px; }
.eq-step p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.55; }

/* ---- CTA finał ---- */
.eq-cta-box {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 60px rgba(15, 23, 41, 0.12);
}
.eq-cta-box h2 { font-family: var(--display-font); font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 0 0 12px; line-height: 1.2; }
.eq-cta-box p { color: var(--muted); margin: 0 0 20px; line-height: 1.6; }
.eq-cta-aside {
  border-left: 1px solid var(--border);
  padding-left: clamp(18px, 3vw, 34px);
  display: grid;
  gap: 12px;
}
.eq-cta-aside .material-symbols-outlined { color: var(--aqua); }
.eq-cta-aside span { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; }
@media (max-width: 800px) {
  .eq-cta-box { grid-template-columns: 1fr; }
  .eq-cta-aside { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 18px; }
}

@media (max-width: 640px) {
  .eq-hero-actions .button { width: 100%; justify-content: center; }
}

/* ============================================================
   HERO storyboard (petla 16 s) - oś czasu wg ownera (2026-11-02):
   0-4%      klient pojawia się i wysyła WNIOSEK (dokument leci do kol1)
   8.5-14%   wniosek = górna karta kol1; pauza (praca)
   14-20%    AKT: karta kol1 -> kol2; B i C w górę; nowa od dołu
   20-29%    pauza (karta w kol2)
   29-36%    karta kol2 -> kol3
   36-44%    pauza w kol3
   44-52%    zakończenie sprawy (pieczęć rysuje się)
   56-62%    na koniec: FAKTURA wysuwa się (ZAPŁACONO + ptaszek)
   62-70%    KONTO + banknoty spadają (stos rośnie)
   74-88%    zadowolony klient + spokojny finał
   88-95%    scena wygasza, 95-100% reset
   ============================================================ */
.mv-travel { animation: eqMvTravel 16s ease-in-out infinite; }
.mv-b      { animation: eqMvB 16s ease-in-out infinite; }
.mv-c      { animation: eqMvC 16s ease-in-out infinite; }
.mv-new    { animation: eqMvNew 16s ease-in-out infinite; }
.mv-check  { animation: eqMvCheckAnim 16s ease-in-out infinite; }
.eq-invoice { animation: eqInvoice 16s ease-in-out infinite; }
.cl-client { animation: eqClClient 16s ease-in-out infinite; }
.cl-doc    { animation: eqClDoc 16s ease-in-out infinite; }
.cl-account { animation: eqClAccount 16s ease-in-out infinite; }
.cl-happy  { animation: eqClHappy 16s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.eq-note   { opacity: 0; transform-box: fill-box; transform-origin: center; }
.eq-note.n1 { animation: eqNote1 16s ease-in-out infinite; }
.eq-note.n2 { animation: eqNote2 16s ease-in-out infinite; }
.eq-note.n3 { animation: eqNote3 16s ease-in-out infinite; }
.eq-note.n4 { animation: eqNote4 16s ease-in-out infinite; }
.mv-check-mark,
.mv-check rect { animation: eqMvCheckAnim 16s ease-in-out infinite; }
.mv-check-mark { stroke-dasharray: 90; stroke-dashoffset: 90; }
.eq-inv-check circle,
.eq-inv-check path { stroke-dasharray: 90; stroke-dashoffset: 90; animation: eqInvCheckDraw 16s ease-in-out infinite; }

@keyframes eqMvTravel {
  0%, 7.5%  { transform: translate(0, 0); opacity: 0; }
  8.5%, 14% { transform: translate(0, 0); opacity: 1; }
  20%       { transform: translate(126px, 46px); opacity: 1; }
  29%       { transform: translate(126px, 46px); opacity: 1; }
  36%       { transform: translate(252px, 46px); opacity: 1; }
  85%       { transform: translate(252px, 46px); opacity: 1; }
  88%       { transform: translate(252px, 46px); opacity: 0; }
  92%       { transform: translate(0, 0); opacity: 0; }
  100%      { transform: translate(0, 0); opacity: 0; }
}
@keyframes eqMvB {
  0%, 13.5% { transform: translateY(0); opacity: 0.75; }
  20%       { transform: translateY(-46px); opacity: 1; }
  86%       { transform: translateY(-46px); opacity: 1; }
  89%       { transform: translateY(-46px); opacity: 0; }
  92%       { transform: translateY(0); opacity: 0; }
  97%, 100% { transform: translateY(0); opacity: 0.75; }
}
@keyframes eqMvC {
  0%, 13.5% { transform: translateY(0); opacity: 0.6; }
  20%       { transform: translateY(-46px); opacity: 0.75; }
  86%       { transform: translateY(-46px); opacity: 0.75; }
  89%       { transform: translateY(-46px); opacity: 0; }
  92%       { transform: translateY(0); opacity: 0; }
  97%, 100% { transform: translateY(0); opacity: 0.6; }
}
@keyframes eqMvNew {
  0%, 19.5% { transform: translateY(46px); opacity: 0; }
  23%       { transform: translateY(0); opacity: 1; }
  86%       { transform: translateY(0); opacity: 1; }
  89%       { transform: translateY(0); opacity: 0; }
  92%       { transform: translateY(46px); opacity: 0; }
  100%      { transform: translateY(46px); opacity: 0; }
}
@keyframes eqMvCheckAnim {
  0%, 35%   { opacity: 0; }
  40%, 85%  { opacity: 1; }
  88%, 100% { opacity: 0; }
}
.mv-check-mark {
  animation: eqMvMark 16s ease-in-out infinite;
}
@keyframes eqMvMark {
  0%, 41%   { stroke-dashoffset: 90; }
  48%, 85%  { stroke-dashoffset: 0; }
  88%, 100% { stroke-dashoffset: 90; }
}
.mv-check rect { animation: none; stroke: #16a34a; stroke-width: 3; }
@keyframes eqInvoice {
  0%, 55.5% { transform: translateY(50px); opacity: 0; }
  60%, 85%  { transform: translateY(0); opacity: 1; }
  89%, 100% { transform: translateY(50px); opacity: 0; }
}
@keyframes eqInvCheckDraw {
  0%, 61%   { stroke-dashoffset: 90; }
  68%, 85%  { stroke-dashoffset: 0; }
  89%, 100% { stroke-dashoffset: 90; }
}
@keyframes eqClClient {
  0%, 2.5%  { opacity: 0; transform: translateY(8px); }
  4%, 86%   { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(8px); }
}
@keyframes eqClDoc {
  0%, 3%    { transform: translate(0, 0); opacity: 0; }
  4%        { transform: translate(0, 0); opacity: 1; }
  8%        { transform: translate(80px, 22px); opacity: 1; }
  9.5%, 100% { transform: translate(80px, 22px); opacity: 0; }
}
@keyframes eqClAccount {
  0%, 62%   { transform: translateY(24px); opacity: 0; }
  66%, 85%  { transform: translateY(0); opacity: 1; }
  89%, 100% { transform: translateY(24px); opacity: 0; }
}
@keyframes eqNote1 {
  0%, 66.5% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
  70%, 85%  { transform: translateY(0) rotate(-2deg); opacity: 1; }
  88%, 100% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
}
@keyframes eqNote2 {
  0%, 70.5% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
  74%, 85%  { transform: translateY(0) rotate(2deg); opacity: 1; }
  88%, 100% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
}
@keyframes eqNote3 {
  0%, 74.5% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
  78%, 85%  { transform: translateY(0) rotate(-1deg); opacity: 1; }
  88%, 100% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
}
@keyframes eqNote4 {
  0%, 78.5% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
  82%, 85%  { transform: translateY(0) rotate(2.5deg); opacity: 1; }
  88%, 100% { transform: translateY(-26px) rotate(0deg); opacity: 0; }
}
@keyframes eqClHappy {
  0%, 83%   { opacity: 0; transform: scale(0.7); }
  86%, 88%  { opacity: 1; transform: scale(1); }
  91%, 100% { opacity: 0; transform: scale(0.7); }
}

@media (prefers-reduced-motion: reduce) {
  .mv-travel, .mv-b, .mv-c, .mv-new, .mv-check, .eq-invoice,
  .cl-client, .cl-doc, .cl-account, .cl-happy,
  .eq-note.n1, .eq-note.n2, .eq-note.n3, .eq-note.n4,
  .mv-check-mark, .mv-check rect, .eq-inv-check circle, .eq-inv-check path {
    animation: none;
  }
  .mv-check-mark, .eq-inv-check circle, .eq-inv-check path { stroke-dashoffset: 0; }
}

/* ---- Compliance flow: uzytkownik w PL -> WAF -> 2FA -> AV -> dane w UE ---- */
.eq-flow-wrap { max-width: 960px; margin: 0 auto clamp(36px, 5vw, 56px); }
.eq-flow {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
}
.eq-flow .eq-draw path,
.eq-flow .eq-draw rect,
.eq-flow .eq-draw circle,
.eq-flow .eq-draw line,
.eq-flow .eq-draw text { transition: none; }
.reveal.is-visible .eq-flow .eq-draw path,
.reveal.is-visible .eq-flow .eq-draw rect,
.reveal.is-visible .eq-flow .eq-draw circle,
.reveal.is-visible .eq-flow .eq-draw line { stroke-dashoffset: 0; }
.eq-flow-label { font-size: 11px; fill: var(--muted); font-family: var(--body-font); }
.eq-flow-node { stroke: currentColor; stroke-width: 2; fill: var(--surface); stroke-linecap: round; stroke-linejoin: round; }
.eq-flow-halo { opacity: 0; transform-box: fill-box; transform-origin: center; }
.ng1 { animation: eqHalo 8s ease-in-out infinite; }
.ng2 { animation: eqHalo 8s ease-in-out 1.1s infinite; }
.ng3 { animation: eqHalo 8s ease-in-out 2.9s infinite; }
.ng4 { animation: eqHalo 8s ease-in-out 4.6s infinite; }
.ng5 { animation: eqHalo 8s ease-in-out 7s infinite; }
@keyframes eqHalo {
  0%, 100% { opacity: 0; }
  12%, 18% { opacity: 0.35; }
}
.eq-flow-dot {
  fill: var(--aqua);
  filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.7));
  transform-box: fill-box;
  animation: eqFlowDot 8s ease-in-out infinite;
}
@keyframes eqFlowDot {
  0%    { transform: translate(0, 0); opacity: 1; }
  8%    { transform: translate(0, 0); }
  18%   { transform: translate(150px, 0); }
  28%   { transform: translate(150px, 0); }
  40%   { transform: translate(300px, 0); }
  50%   { transform: translate(300px, 0); }
  62%   { transform: translate(450px, 0); }
  72%   { transform: translate(450px, 0); }
  84%   { transform: translate(600px, 0); }
  96%, 100% { transform: translate(600px, 0); }
}
/* zielona kulka: z portalu klienta zmierza do serwerowni (dane szyfrowane) */
.eq-flow-dot-green {
  filter: drop-shadow(0 0 6px rgba(22, 163, 74, 0.7));
  transform-box: fill-box;
  animation: eqFlowDotGreen 8s ease-in-out infinite;
}
@keyframes eqFlowDotGreen {
  0%, 62%   { transform: translate(0, 0); opacity: 1; }
  70%       { transform: translate(-50px, 0); opacity: 1; }
  78%       { transform: translate(-100px, 0); opacity: 1; }
  84%, 94%  { transform: translate(-150px, 0); opacity: 1; }
  97%       { transform: translate(-150px, 0); opacity: 0; }
  100%      { transform: translate(0, 0); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .eq-flow-dot, .eq-flow-dot-green, .eq-flow-halo { animation: none; }
  .eq-flow-halo { opacity: 0.2; }
}

.eq-flow-caption { max-width: 960px; margin: 8px auto 20px; }

/* Karta segmentu pod eyebrowem w eq-hero (odstep jak na index) */
.eq-hero .tr-eyebrow { margin-bottom: 18px; }
.eq-hero .tr-segment-card { margin: 0 0 18px; }
