/* BestROI – podstrona Projekt technologiczny (11.2026). Ładowana tylko na projekt-technologiczny.html. */

/* ---------- Projekt technologiczny (podstrona /projekt-technologiczny.html, 11.2026) ---------- */
.seq { display: grid; gap: 8px; counter-reset: s; }
.seq li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.seq li::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-pale); color: var(--violet); font-size: 12px; font-weight: 800; }
.seq li.hot { color: var(--violet); }
.seq li.hot::before { background: var(--violet); color: var(--white); }
.seq li.loop::before { content: "↺"; background: var(--navy); color: var(--white); }

.defg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.defn { font-size: var(--t-lead); line-height: 1.6; }
.defn p + p { margin-top: 16px; }
.defn .hl { border-left: 3px solid var(--violet); padding: 4px 0 4px 18px; font-weight: 600; }
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.cmp > div { padding: 26px 24px; display: grid; gap: 12px; align-content: start; background: var(--white); }
.cmp > div.tech { background: var(--navy); color: var(--white); }
.cmp .who { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.cmp .tech .who { color: var(--lav); }
.cmp h3 { font-size: 20px; }
.cmp .tech h3 { color: var(--white); }
.cmp ul { display: grid; gap: 8px; }
.cmp li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.5; color: var(--steel); }
.cmp .tech li { color: #DADDE8; }
.cmp li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--silver); }
.cmp .tech li::before { background: var(--lav); }
.cmp .q { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--navy); }
.cmp .tech .q { border-color: rgba(255,255,255,.16); color: var(--white); }

.gantt { padding: clamp(18px, 2.4vw, 30px); overflow: hidden; }
.g-row { display: grid; grid-template-columns: minmax(220px, 31%) minmax(0, 1fr); gap: 18px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.g-row.g-head { border-top: 0; padding-top: 0; align-items: end; }
.g-lab { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.g-lab b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-pale); color: var(--violet); font-size: 12.5px; font-weight: 800; }
.g-lab strong { display: block; font-size: 15.5px; line-height: 1.3; }
.g-lab span { display: block; font-size: 13px; line-height: 1.4; color: var(--steel); margin-top: 2px; }
.g-track { position: relative; height: 34px; border-radius: 8px; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), var(--line) calc(10% - 1px) 10%); }
.g-bar { position: absolute; top: 5px; bottom: 5px; border-radius: 7px; background: var(--lav); display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; }
.g-bar.real { background: var(--silver); }
.g-bar.core { background: var(--violet); color: var(--white); top: 2px; bottom: 2px; }
.g-row.core { background: var(--lav-pale); margin: 0 calc(-1 * clamp(18px, 2.4vw, 30px)); padding-left: clamp(18px, 2.4vw, 30px); padding-right: clamp(18px, 2.4vw, 30px); border-top-color: transparent; }
.g-row.core .g-lab b { background: var(--violet); color: var(--white); }
.g-row.core + .g-row { border-top-color: transparent; }
.g-ph { display: grid; grid-template-columns: 2fr 6fr 10fr 12fr 10fr; gap: 4px; }
.g-ph div { font-size: 11.5px; line-height: 1.3; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); padding: 0 0 8px; border-bottom: 2px solid var(--violet); }
.g-ph div span { display: block; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--violet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-lab .g-who { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--violet); background: var(--lav-pale); padding: 2px 8px; border-radius: 6px; }
.g-lab .g-who.ext { color: var(--steel); background: var(--mist); }
.g-phases { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--steel); }
.g-phases b { color: var(--navy); }
.g-wk { display: none; }
.g-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: 14px; color: var(--steel); }
.g-legend i { display: inline-block; width: 22px; height: 10px; border-radius: 4px; background: var(--lav); margin-right: 8px; vertical-align: middle; }
.g-legend i.real { background: var(--silver); }
.g-legend i.core { background: var(--violet); }
.g-loop { margin-top: 22px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--navy); color: var(--white); }
.g-loop b { font-size: 28px; color: var(--lav); line-height: 1; }
.g-loop p { font-size: 16.5px; color: #DADDE8; }
.g-loop p strong { color: var(--white); }

.elems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.elem { padding: 24px 22px; display: grid; gap: 10px; align-content: start; }
.elem .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lav-pale); color: var(--violet); }
.elem .ic svg { width: 24px; height: 24px; }
.elem h3 { font-size: 18.5px; }
.elem p { font-size: 15px; line-height: 1.55; color: var(--steel); }

.etapy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.etap { padding: 28px 26px; display: grid; gap: 12px; align-content: start; position: relative; }
.etap .no { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.etap h3 { font-size: 21px; }
.etap .time { justify-self: start; font-size: 13px; font-weight: 700; color: var(--violet); background: var(--lav-pale); padding: 5px 10px; border-radius: 8px; }
.etap p { font-size: 15.5px; color: var(--steel); }
.etap ul { display: grid; gap: 7px; margin-top: 4px; }
.etap li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.etap li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.etap .out { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--steel); }
.etap .out b { color: var(--navy); }
.etap.mid { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); }
.etapy-note { margin-top: 22px; font-size: 16px; color: var(--steel); max-width: 900px; }
.etapy-note b { color: var(--navy); }

.whg { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.whq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.whq div { padding: 20px; display: grid; gap: 6px; align-content: start; }
.whq strong { font-size: 16.5px; line-height: 1.35; }
.whq span { font-size: 14.5px; line-height: 1.5; color: var(--steel); }
.whg .partner { margin-top: 22px; padding: 22px 24px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; }
.whg .partner b { font-size: 18px; }
.whg .partner p { font-size: 15.5px; color: var(--steel); }

.ptx-band { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0; overflow: hidden; text-decoration: none; color: inherit; background: var(--navy); border-color: var(--navy); }
.ptx-band .bd { padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; align-content: center; color: var(--white); }
.ptx-band .nm { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lav); }
.ptx-band h3 { color: var(--white); font-size: clamp(22px, 1rem + .9vw, 30px); }
.ptx-band p { color: #DADDE8; font-size: 16.5px; }
.ptx-band .go { color: var(--white); font-weight: 700; }
.ptx-band .seq { padding: clamp(24px, 3vw, 36px); background: var(--white); align-content: center; }
.ptx-band:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* menu z pozycją „Nowa hala” – bez łamania wierszy */
.nav > a, .dd > button { white-space: nowrap; }

/* 3 karty efektów */
.proof.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) {
  .elems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .defg, .whg, .ptx-band, .proof.three { grid-template-columns: minmax(0, 1fr); }
  .g-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .g-row.g-head .g-lab { display: none; }
  .g-ph div { font-size: 10px; } .g-ph div span { display: none; }
}
@media (max-width: 640px) {
  .cmp, .elems, .whq { grid-template-columns: minmax(0, 1fr); }
  .g-ph { display: none; }
  .g-row.g-head { display: none; }
  .g-bar { font-size: 0; padding: 0; }
  .g-track { height: 22px; }
  .g-lab .g-wk { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: var(--violet); margin-top: 2px; }
}

/* ---------- Projekt technologiczny v2 (24.11.2026): kolorowe pasy, grafiki, menu z grupami ---------- */
.sec.lav { background: var(--lav-pale); }
.sec.navy { background: var(--navy); color: var(--white); }
.sec.navy h2, .sec.navy > .wrap > h3 { color: var(--white); }
.sec.navy .s { color: var(--lav); }
.sec.navy .tag { color: var(--lav); }
.sec.navy .tag i { background: var(--lav); }
.sec.navy .lead { color: #C9CEDD; }
.sec.navy .datanote { color: #AEB4C6; }

.dd-panel.sm { width: 320px; }
.dd-panel a.plain { grid-template-columns: minmax(0, 1fr); }
.dd-panel b.ddpt { background: var(--navy); color: var(--white); }
.dd-panel b.ddpt { font-size: 11.5px; letter-spacing: .04em; }
.dd-panel .dd-sep { height: 1px; background: var(--line); margin: 6px 12px; }
.dd-panel a[aria-current] { background: var(--lav-pale); }

.ptx-hero { background: linear-gradient(180deg, var(--lav-pale) 0%, var(--white) 100%); }
.lay { margin: 0; padding: clamp(14px, 2vw, 22px); display: grid; gap: 12px; box-shadow: var(--sh); }
.lay svg { width: 100%; height: auto; display: block; }
.lay svg text { font-family: var(--f); }
.l-hall { fill: var(--white); stroke: var(--navy); stroke-width: 2; }
.l-gate { fill: var(--violet); }
.l-col rect { fill: var(--navy-2); }
.l-z1 { fill: var(--lav-pale); stroke: var(--lav); stroke-width: 1.5; }
.l-z2 { fill: var(--lav); }
.l-z3 { fill: var(--violet); }
.l-buf { fill: var(--white); stroke: var(--violet); stroke-width: 1.5; stroke-dasharray: 5 4; }
.l-t { font-size: 14px; font-weight: 700; fill: var(--navy); text-anchor: middle; }
.l-w { fill: var(--white); }
.l-s { font-size: 11.5px; font-weight: 600; fill: var(--steel); text-anchor: middle; }
.l-flow path { stroke: var(--violet); stroke-width: 3.5; fill: none; stroke-linecap: round; }
.l-arh { fill: var(--violet); }
.lay figcaption { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--steel); }
.sw { display: inline-block; width: 14px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: middle; }
.sw1 { background: var(--lav-pale); box-shadow: inset 0 0 0 1.5px var(--lav); }
.sw3 { background: var(--violet); }
.swf { height: 3px; background: var(--violet); }
.swc { width: 8px; height: 8px; border-radius: 1px; background: var(--navy-2); }

.q3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.q3 > div { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid rgba(196,181,221,.45); }
.q3 b { font-size: clamp(40px, 1rem + 2.4vw, 60px); line-height: 1; font-weight: 800; color: var(--lav); letter-spacing: -.03em; }
.q3 h3 { color: var(--white); font-size: clamp(21px, 1rem + .6vw, 26px); }
.q3 p { color: #C9CEDD; font-size: 16.5px; }
.q3-foot { margin-top: clamp(28px, 4vw, 44px); font-size: var(--t-lead); color: var(--white); font-weight: 600; max-width: 820px; }

.cmp { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); border: 0; overflow: visible; gap: 16px; align-items: stretch; }
.cmp > div { border: 1px solid var(--line); border-radius: var(--r); }
.cmp > div.tech { border-color: var(--navy); }
.cmp > .arrow { border: 0; background: none; padding: 0; display: grid; justify-items: center; align-content: center; gap: 8px; color: var(--violet); }
.cmp > .arrow svg { width: 34px; height: 34px; }
.cmp > .arrow span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }

.cost { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cost-notes { margin-top: 26px; display: grid; gap: 12px; }
.cost-notes div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 18px; background: var(--white); border-radius: 12px; border: 1px solid var(--line); }
.cost-notes b { font-size: 15px; }
.cost-notes span { font-size: 15px; color: var(--steel); }
.cost-notes div:last-child b { color: var(--bad); }
.cchart { margin: 0; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 14px; }
.cc-lg { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 13.5px; color: var(--steel); }
.cc-lg i { display: inline-block; width: 22px; height: 3px; border-radius: 2px; margin-right: 8px; vertical-align: middle; }
.cc-lg .ci { background: var(--violet); }
.cc-lg .cc { background: var(--bad); }
.cc-plot { position: relative; height: clamp(190px, 22vw, 250px); border-left: 1px solid var(--silver); border-bottom: 1px solid var(--silver); }
.cc-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; }
.cc-plot .gl { stroke: var(--line); stroke-width: 1; }
.cc-plot .ci { stroke: var(--violet); stroke-width: 3.5; fill: none; stroke-linecap: round; }
.cc-plot .cc { stroke: var(--bad); stroke-width: 3.5; fill: none; stroke-linecap: round; }
.cc-plot .ca { fill: var(--violet); opacity: .08; }
.cc-band { position: absolute; z-index: 0; top: 0; bottom: 0; left: 16.667%; width: 16.667%; background: var(--lav-pale); border-left: 1px dashed var(--lav); border-right: 1px dashed var(--lav); display: flex; align-items: flex-start; justify-content: center; padding: 8px 4px 0; font-size: 11.5px; font-weight: 700; line-height: 1.25; text-align: center; color: var(--violet); }
.cc-x { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; font-size: 12.5px; line-height: 1.3; text-align: center; color: var(--steel); hyphens: manual; }
.cc-x span:nth-child(2) { color: var(--violet); font-weight: 700; }

.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ba-c { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); display: grid; gap: 12px; align-content: start; }
.ba-c.good { background: var(--navy); color: var(--white); }
.ba-c.late { background: var(--white); border: 1px solid var(--lav); }
.ba-k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.ba-c.good .ba-k { color: var(--lav); }
.ba-c h3 { font-size: clamp(21px, 1rem + .6vw, 26px); }
.ba-c.good h3 { color: var(--white); }
.ba-c ul { display: grid; gap: 9px; }
.ba-c li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; }
.ba-c.good li { color: #DADDE8; }
.ba-c.late li { color: var(--steel); }
.ba-c li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.ba-c.good li::before { content: "✓"; background: rgba(196,181,221,.22); color: var(--lav); }
.ba-c.late li::before { content: "!"; background: var(--mist); color: var(--steel); }
.ba-do { margin-top: 20px; padding: clamp(22px, 3vw, 30px); background: var(--white); border-radius: var(--r); display: grid; gap: 16px; }
.ba-do h3 { font-size: 20px; }
.ba-do ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: d; }
.ba-do li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; align-content: start; }
.ba-do li::before { counter-increment: d; content: counter(d); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: var(--white); font-weight: 800; font-size: 14px; }
.ba-do li b { font-size: 16px; line-height: 1.35; }
.ba-do li span { font-size: 14.5px; color: var(--steel); }
.ba-hl { margin-top: 26px; padding-left: 20px; border-left: 4px solid var(--violet); font-size: clamp(20px, 1rem + .7vw, 27px); font-weight: 700; line-height: 1.35; color: var(--navy); max-width: 820px; }

.flow6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.flow6 li { position: relative; padding: 20px 18px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.flow6 li b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-pale); color: var(--violet); font-size: 14px; font-weight: 800; }
.flow6 li strong { font-size: 16.5px; line-height: 1.3; }
.flow6 li span { font-size: 14px; line-height: 1.45; color: var(--steel); }
.flow6 li.hot { background: var(--violet); border-color: var(--violet); }
.flow6 li.hot b { background: var(--white); }
.flow6 li.hot strong { color: var(--white); }
.flow6 li.hot span { color: #E7E1F3; }
.flow6 li.loop { background: var(--navy); border-color: var(--navy); }
.flow6 li.loop b { background: var(--lav); color: var(--navy); }
.flow6 li.loop strong { color: var(--white); }
.flow6 li.loop span { color: #C9CEDD; }
.flow6 li:not(:last-child)::after { content: ""; position: absolute; z-index: 1; right: -12px; top: 36px; width: 10px; height: 10px; border-top: 2.5px solid var(--violet); border-right: 2.5px solid var(--violet); transform: rotate(45deg); }

.signpost { background: var(--violet); color: var(--white); }
.signpost .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; }
.signpost p { font-size: 17px; }
.signpost p b { color: var(--white); }
.signpost div { display: flex; flex-wrap: wrap; gap: 8px; }
.signpost a { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.14); color: var(--white); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.signpost a:hover { background: rgba(255,255,255,.26); }

.elem h3 { font-size: 19px; }
.elem p { font-size: 14.5px; padding-top: 10px; border-top: 1px solid var(--line); }
.sec.navy .pf.card { border-color: transparent; }

@media (max-width: 1100px) {
  .flow6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow6 li:nth-child(3)::after { display: none; }
}
@media (max-width: 960px) {
  .cost, .ba, .q3 { grid-template-columns: minmax(0, 1fr); }
  .cmp { grid-template-columns: minmax(0, 1fr); }
  .cmp > .arrow { grid-auto-flow: column; }
  .cmp > .arrow svg { transform: rotate(90deg); }
  .cmp > .arrow span { writing-mode: horizontal-tb; transform: none; }
  .ba-do ol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .flow6 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow6 li { grid-template-columns: 34px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; }
  .flow6 li b { grid-row: span 2; }
  .flow6 li:not(:last-child)::after { display: none; }
  .cost-notes div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cc-x { font-size: 10.5px; }
  .cc-band { font-size: 10px; }
  .signpost .wrap { padding-top: 18px; padding-bottom: 18px; }
}

/* ---------- Projekt technologiczny v3: interaktywny rysunek hali, animacje, więcej koloru ---------- */
.sec.ink { background: linear-gradient(135deg, var(--navy) 0%, #2B3760 55%, #3A2E6E 100%); color: var(--white); }
.sec.ink h2 { color: var(--white); }
.sec.ink .s { color: var(--lav); }
.sec.ink .tag { color: var(--lav); }
.sec.ink .tag i { background: var(--lav); }
.sec.ink .lead { color: #C9CEDD; }
.sec.lavg { background: linear-gradient(180deg, var(--mist) 0%, var(--lav-pale) 100%); }
.sec.flowbg { background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%); }
.sec.mag .whq .card { background: var(--lav-pale); border-color: transparent; transition: border-color .2s, transform .2s, box-shadow .2s; }
.sec.mag .whq .card:hover { border-color: var(--violet); transform: translateY(-2px); box-shadow: var(--sh); }
.etap.card { transition: transform .2s, box-shadow .2s; }
.etap.card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.q3 > div { transition: border-color .25s; }
.q3 > div:hover { border-top-color: var(--lav); }

.plan-g { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.plan { margin: 0; padding: clamp(14px, 2vw, 22px); display: grid; gap: 10px; position: sticky; top: calc(var(--hdr) + 20px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.55); }
.plan svg { width: 100%; height: auto; display: block; }
.plan svg text { font-family: var(--f); }
.plan figcaption { font-size: 13px; color: var(--steel); }
.p-hall { fill: var(--white); stroke: var(--navy); stroke-width: 2; }
.p-col rect { fill: var(--navy-2); }
.p-gate { fill: var(--violet); }
.p-road { fill: var(--mist); stroke: var(--line); }
.p-z1 { fill: var(--lav-pale); stroke: var(--lav); stroke-width: 1.5; }
.p-z2 { fill: var(--lav); }
.p-z3 { fill: var(--violet); }
.p-buf { fill: var(--white); stroke: var(--violet); stroke-width: 1.5; stroke-dasharray: 6 5; }
.p-t { font-size: 15px; font-weight: 700; fill: var(--navy); text-anchor: middle; }
.p-w { fill: var(--white); }
.p-s { font-size: 12px; font-weight: 600; fill: var(--steel); text-anchor: middle; }
.p-flow path { stroke: var(--violet); stroke-width: 4; fill: none; stroke-linecap: round; stroke-dasharray: 7 6; }
.p-arh { fill: var(--violet); }
.p-num circle { fill: var(--navy); }
.p-num text { fill: var(--white); font-size: 12px; font-weight: 800; text-anchor: middle; }
.p-pill { fill: var(--white); stroke: var(--violet); stroke-width: 1.5; }
.p-pill.hot { fill: var(--navy); stroke: var(--navy); }
.p-pt { font-size: 12px; font-weight: 700; fill: var(--violet); text-anchor: middle; }
.p-pt.w { fill: var(--white); }
.p-clk circle { fill: var(--white); stroke: var(--violet); stroke-width: 2; }
.p-clk path { stroke: var(--violet); stroke-width: 2; fill: none; stroke-linecap: round; }
.p-ppl circle { fill: var(--navy); stroke: var(--white); stroke-width: 2; }
.p-med path { stroke: var(--violet-l); stroke-width: 3; stroke-dasharray: 2 6; fill: none; stroke-linecap: round; }
.plan .g, .plan .x { transition: opacity .35s ease; }
.plan .x { opacity: 0; }
.plan[data-on] .g { opacity: .18; }
.plan[data-on="1"] [data-k~="1"], .plan[data-on="2"] [data-k~="2"], .plan[data-on="3"] [data-k~="3"], .plan[data-on="4"] [data-k~="4"],
.plan[data-on="5"] [data-k~="5"], .plan[data-on="6"] [data-k~="6"], .plan[data-on="7"] [data-k~="7"], .plan[data-on="8"] [data-k~="8"] { opacity: 1; }
.plan[data-on="5"] .g[data-k~="7"]:not([data-k~="5"]), .plan[data-on="2"] .g[data-k~="8"] { opacity: .45; }

.pks { display: grid; gap: 8px; }
.pk { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .25s, border-color .25s, transform .25s; }
.pk b { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(196,181,221,.18); color: var(--lav); font-weight: 800; font-size: 14px; transition: background .25s, color .25s; }
.pk strong { color: var(--white); font-size: 16.5px; line-height: 1.3; }
.pk span { color: #C9CEDD; font-size: 14px; line-height: 1.45; }
.pk:hover { background: rgba(255,255,255,.11); }
.pk[aria-pressed="true"] { background: var(--white); border-color: var(--white); transform: translateX(-4px); }
.pk[aria-pressed="true"] b { background: var(--violet); color: var(--white); }
.pk[aria-pressed="true"] strong { color: var(--navy); }
.pk[aria-pressed="true"] span { color: var(--steel); }
.pk:focus-visible { outline: 2px solid var(--lav); outline-offset: 2px; }

@keyframes flowdash { to { stroke-dashoffset: -13; } }
@keyframes fup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: no-preference) {
  .p-flow path { animation: flowdash 1.2s linear infinite; }
  .cchart .cc-plot svg { clip-path: inset(0 0 0 0); transition: clip-path 1.8s cubic-bezier(.2,.7,.1,1); }
  .cchart.pre .cc-plot svg { clip-path: inset(0 100% 0 0); }
  .gantt .g-bar { transform-origin: left center; }
  .gantt.pre .g-bar { transform: scaleX(0); }
  .gantt.in .g-bar { animation: grow .7s cubic-bezier(.2,.7,.1,1) both; }
  .gantt.in .g-row:nth-child(3) .g-bar { animation-delay: .08s; } .gantt.in .g-row:nth-child(4) .g-bar { animation-delay: .16s; }
  .gantt.in .g-row:nth-child(5) .g-bar { animation-delay: .24s; } .gantt.in .g-row:nth-child(6) .g-bar { animation-delay: .32s; }
  .gantt.in .g-row:nth-child(7) .g-bar { animation-delay: .40s; } .gantt.in .g-row:nth-child(8) .g-bar { animation-delay: .48s; }
  .gantt.in .g-row:nth-child(9) .g-bar { animation-delay: .56s; } .gantt.in .g-row:nth-child(10) .g-bar { animation-delay: .64s; }
  .gantt.in .g-row:nth-child(11) .g-bar { animation-delay: .72s; }
  .flow6.pre li { opacity: 0; }
  .flow6.in li { animation: fup .55s cubic-bezier(.2,.7,.1,1) both; }
  .flow6.in li:nth-child(2) { animation-delay: .1s; } .flow6.in li:nth-child(3) { animation-delay: .2s; } .flow6.in li:nth-child(4) { animation-delay: .3s; }
  .flow6.in li:nth-child(5) { animation-delay: .4s; } .flow6.in li:nth-child(6) { animation-delay: .5s; }
  .flow6 li { transition: transform .2s, box-shadow .2s; }
  .flow6 li:hover { transform: translateY(-3px); box-shadow: var(--sh); }
}
@media (max-width: 960px) {
  .plan-g { grid-template-columns: minmax(0, 1fr); }
  .plan { top: calc(var(--hdr) + 8px); z-index: 2; }
  .pk[aria-pressed="true"] { transform: none; }
}

/* ---------- Projekt technologiczny v4: prostsza część dla prezesa, zwarty harmonogram ---------- */
.flow6.f5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow6.f5 li { padding: 22px 20px; }
.flow6.f5 li strong { font-size: 18px; }
.flow6.f5 li span { font-size: 15px; }
.warn { margin-top: 22px; padding: 16px 20px; border-radius: 12px; background: var(--mist); border-left: 4px solid var(--steel); font-size: 16.5px; color: var(--steel); max-width: 900px; }
.warn b { color: var(--navy); }

.pain4 { display: grid; grid-template-columns: 120px repeat(2, minmax(0, 1fr)); gap: 14px 16px; align-items: stretch; }
.p4h { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); padding: 0 4px; }
.p4h.ok { color: var(--violet); }
.p4r { align-self: center; font-size: 17px; font-weight: 800; color: var(--navy); }
.p4 { padding: 22px 24px; border-radius: var(--r); display: grid; gap: 8px; align-content: start; transition: transform .2s, box-shadow .2s; }
.p4:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.p4 b { font-size: 19px; line-height: 1.3; padding-left: 32px; position: relative; }
.p4 b::before { position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.p4 p { font-size: 15.5px; line-height: 1.55; }
.p4.bad { background: var(--white); border: 1px solid var(--lav); }
.p4.bad b { color: var(--navy); }
.p4.bad b::before { content: "!"; background: var(--mist); color: var(--steel); }
.p4.bad p { color: var(--steel); }
.p4.good { background: var(--navy); }
.p4.good b { color: var(--white); }
.p4.good b::before { content: "✓"; background: rgba(196,181,221,.25); color: var(--lav); }
.p4.good p { color: #C9CEDD; }

.gb { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gb-c { padding: clamp(22px, 3vw, 32px); border-radius: var(--r); display: grid; gap: 12px; align-content: start; background: var(--lav-pale); transition: transform .2s, box-shadow .2s; }
.gb-c.alt { background: linear-gradient(135deg, var(--navy) 0%, #3A2E6E 100%); }
.gb-c:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.gb-k { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.gb-c.alt .gb-k { color: var(--lav); }
.gb-c h3 { font-size: clamp(21px, 1rem + .6vw, 26px); }
.gb-c.alt h3 { color: var(--white); }
.gb-c p { font-size: 16.5px; color: var(--steel); }
.gb-c.alt p { color: #C9CEDD; }
.cost2 { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cost2 > div { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.c2i { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--lav-pale); color: var(--violet); }
.c2i svg { width: 28px; height: 28px; }
.cost2 .late .c2i { background: #F7E3E2; color: var(--bad); }
.cost2 p { display: grid; gap: 2px; }
.cost2 b { font-size: 17px; }
.cost2 .late b { color: var(--bad); }
.cost2 span { font-size: 15px; color: var(--steel); }

.cmp > div.tech { border-color: var(--navy); }

.gantt.v4 .g-row { grid-template-columns: minmax(220px, 29%) 190px minmax(0, 1fr); gap: 14px; padding-top: 7px; padding-bottom: 7px; }
.gantt.v4 .g-row.g-head { padding: 0 0 4px; }
.gantt.v4 .g-own strong { font-size: 15.5px; }
.gantt.v4 .g-lab strong { font-size: 15.5px; }
.gantt.v4 .g-lab span { font-size: 13px; margin-top: 0; }
.gantt.v4 .g-track { height: 28px; }
.own { display: inline-block; font-size: 12px; line-height: 1.35; font-weight: 700; padding: 4px 9px; border-radius: 7px; }
.own.b { background: var(--violet); color: var(--white); }
.own.m { background: var(--lav-pale); color: var(--violet); }
.own.e { background: var(--mist); color: var(--steel); box-shadow: inset 0 0 0 1px var(--line); }
.g-legend i.ownb { background: var(--violet); }
.g-legend i.ownm { background: var(--lav-pale); box-shadow: inset 0 0 0 1px var(--lav); }
.g-legend i.owne { background: var(--mist); box-shadow: inset 0 0 0 1px var(--silver); }

@media (max-width: 1100px) {
  .flow6.f5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .flow6.f5 li:nth-child(3)::after { display: block; }
}
@media (max-width: 960px) {
  .flow6.f5 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow6.f5 li { grid-template-columns: 34px minmax(0, 1fr); gap: 2px 14px; padding: 14px 16px; }
  .flow6.f5 li b { grid-row: span 2; }
  .flow6.f5 li:not(:last-child)::after { display: none; }
  .gb, .cost2 { grid-template-columns: minmax(0, 1fr); }
  .pain4 { grid-template-columns: minmax(0, 1fr); }
  .pain4 .p4h { display: none; }
  .p4r { margin-top: 8px; }
  .gantt.v4 .g-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .gantt.v4 .g-row.g-head { display: none; }
}

/* ---------- Projekt technologiczny v5: portfolio inwestycji, płynne wejścia sekcji ---------- */
.inv3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.inv { overflow: hidden; display: grid; grid-template-rows: auto 1fr; border-color: transparent; transition: transform .3s var(--ease), box-shadow .3s; }
.inv:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -28px rgba(0,0,0,.6); }
.inv-im { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.inv-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.inv:hover .inv-im img { transform: scale(1.06); }
.inv-im::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(27,39,71,.55)); }
.inv-t { position: absolute; z-index: 1; left: 14px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: var(--white); color: var(--violet); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.inv-bd { padding: 22px 24px 26px; display: grid; gap: 12px; align-content: start; }
.inv .ind { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.inv-n { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inv-n b { font-size: clamp(30px, 1rem + 1.4vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; color: var(--violet); font-variant-numeric: tabular-nums; }
.inv-n > span { font-size: 14px; color: var(--steel); }
.inv-bd > p { font-size: 15px; line-height: 1.55; color: var(--steel); }
.inv-ef { display: grid; gap: 7px; }
.inv-ef li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; color: var(--navy); }
.inv-ef li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-pale); color: var(--violet); font-size: 11px; font-weight: 800; }
.real-sub { margin: clamp(40px, 5vw, 60px) 0 20px; color: var(--white); font-size: clamp(22px, 1rem + .8vw, 28px); }

/* płynne wejście elementów przy przewijaniu (JS dodaje .up; przy „ogranicz ruch” nic się nie dzieje) */
@media (prefers-reduced-motion: no-preference) {
  .up { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
  .up.on { opacity: 1; transform: none; }
  .signpost a { transition: background .2s, transform .2s; }
  .signpost a:hover { transform: translateY(-1px); }
  .flow6 li.hot { animation: glow 2.8s ease-in-out 1.2s 2; }
  @keyframes glow { 50% { box-shadow: 0 0 0 6px rgba(109,74,174,.18); } }
}
@media (max-width: 960px) {
  .inv3 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Projekt technologiczny v6: zwrot z inwestycji, zdjęcia, animowany postęp ---------- */
.roig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.q3.col { grid-template-columns: minmax(0, 1fr); gap: 0; }
.q3.col > div { grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; padding: 18px 0; }
.q3.col b { grid-row: span 2; font-size: 38px; }
.q3.col h3 { font-size: 21px; }
.q3.col p { font-size: 15.5px; }
.roi { margin: 0; padding: clamp(20px, 2.6vw, 30px); display: grid; gap: 14px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.roi-k { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.roi .payc { height: 200px; margin-top: 30px; }
.roi .payl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; font-size: 13px; font-weight: 700; color: var(--steel); }
.chart.pre .payc .b { height: 0 !important; }
.chart .payc .th { transition: opacity .6s .9s; }
.chart.pre .payc .th { opacity: 0; }
.roi-t { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.roi-t div { padding: 12px 14px; border-radius: 12px; background: var(--lav-pale); display: grid; gap: 2px; }
.roi-t b { font-size: 16px; color: var(--violet); }
.roi-t span { font-size: 13px; line-height: 1.35; color: var(--steel); }
.roi figcaption { font-size: 14px; color: var(--steel); }

.f5-prog { height: 4px; border-radius: 2px; background: var(--lav-pale); margin-bottom: 18px; overflow: hidden; }
.f5-prog i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lav), var(--violet)); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .f5-prog.pre i { transform: scaleX(0); }
  .f5-prog.in i { animation: grow 2.6s cubic-bezier(.3,.6,.2,1) both; }
  .flow6.f5.in li { animation: fup .55s cubic-bezier(.2,.7,.1,1) both; }
  .flow6.f5.in li:nth-child(2) { animation-delay: .5s; } .flow6.f5.in li:nth-child(3) { animation-delay: 1s; }
  .flow6.f5.in li:nth-child(4) { animation-delay: 1.5s; } .flow6.f5.in li:nth-child(5) { animation-delay: 2s; }
  .pband img { animation: kb 18s ease-in-out infinite alternate; }
  @keyframes kb { from { transform: scale(1); } to { transform: scale(1.08) translateY(-2%); } }
}

.pband { position: relative; height: clamp(240px, 32vw, 420px); overflow: hidden; display: flex; align-items: flex-end; }
.pband img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pband::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(27,39,71,.05) 30%, rgba(27,39,71,.82) 100%); }
.pband .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(24px, 3.5vw, 44px); }
.pband p { max-width: 720px; color: #E4E6EF; font-size: clamp(18px, 1rem + .6vw, 24px); line-height: 1.45; }
.pband p b { color: var(--white); }

.gb-im { margin: calc(-1 * clamp(22px, 3vw, 32px)) calc(-1 * clamp(22px, 3vw, 32px)) 8px; aspect-ratio: 16 / 7; overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.gb-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gb-c:hover .gb-im img { transform: scale(1.05); }
.gb-c { overflow: hidden; }
.mag-im { margin: 0 0 22px; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; }
.mag-im img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 960px) {
  .roig { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .roi-t { grid-template-columns: minmax(0, 1fr); }
  .roi .payc { height: 170px; }
}
.roi .payc .b span { top: auto; bottom: 10px; color: var(--white); }
.roi .payc .th span { top: -20px; background: var(--white); padding: 0 4px; }
