/* ==========================================================================
   IT Express Solutions — style strony głównej
   Źródło projektu: makiety/strona-glowna (hybryda A+C, decyzja 001), pomarańcz #F26A1B (004).
   Układ: desktop ≥ 1000 px (kolumny jak w makiecie 1440), tablet 640–1000, mobile < 640 (makieta 390).
   ========================================================================== */

:root {
  --ciemne: #0B1017;
  --panel: #0F1620;
  --granat: #141A22;
  --jasne: #F6F4EF;
  --biel: #FFFFFF;
  --tekst: #141A22;
  --tekst-jasny: #E8ECF1;
  --szary-c: #9AA6B5;   /* na ciemnym: tekst wyciszony */
  --szary-d: #7F8B99;   /* na ciemnym: etykiety */
  --szary-jj: #B7C0CC;  /* na ciemnym: lead */
  --szary-j: #5B6673;   /* na jasnym: tekst wyciszony */
  --linia-c: rgba(255, 255, 255, 0.14);
  --linia-j: rgba(20, 26, 34, 0.14);
  --akcent: #F26A1B;
  --akcent-ciemny: #C4530F;
  --halo: rgba(242, 106, 27, 0.22);
  --display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Manrope', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --kontener: 1240px;
  --bok: clamp(20px, 5vw, 40px);
  color-scheme: light;
}

/* ===== Baza ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--jasne); color: var(--tekst); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .display { font-family: var(--display); letter-spacing: -0.02em; }
.mono { font-family: var(--mono); }
a { color: inherit; }
img, svg { max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pomin { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--akcent); color: var(--biel); font-weight: 700; }
.pomin:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--akcent); outline-offset: 3px; }

.kontener { width: 100%; max-width: calc(var(--kontener) + 2 * var(--bok)); margin-inline: auto; padding-inline: var(--bok); }
.grain { background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 6px 6px; }

/* Pionowa linia „toru” przy lewej krawędzi treści (jak w makiecie) */
.rail { position: relative; }
.rail::before { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; left: max(var(--bok), calc((100% - var(--kontener)) / 2)); background: linear-gradient(to bottom, rgba(20, 26, 34, 0) 0%, rgba(20, 26, 34, 0.14) 12%, rgba(20, 26, 34, 0.14) 88%, rgba(20, 26, 34, 0) 100%); pointer-events: none; }
.rail--ciemny::before { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.14) 12%, rgba(255, 255, 255, 0.14) 88%, rgba(255, 255, 255, 0) 100%); }

/* ===== Przyciski, karty, etykiety ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--akcent); color: var(--biel); font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform 0.25s, box-shadow 0.25s, background 0.25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(242, 106, 27, 0.35); }
.btn:hover .strzalka { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--biel); outline-offset: 3px; }
.strzalka { flex: none; transition: transform 0.25s; }
.btn--maly { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--drugi { background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--tekst-jasny); font-weight: 600; }
.btn--drugi:hover { box-shadow: none; border-color: rgba(255, 255, 255, 0.4); }
.btn--pelny { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; box-shadow: none; }

.karta { border-radius: 22px; background: var(--biel); border: 1px solid rgba(20, 26, 34, 0.08); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s; }
.karta:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(20, 26, 34, 0.10); }
.kicker { font-size: 11px; letter-spacing: 0.18em; color: var(--szary-j); }
.kicker--akcent { color: var(--akcent); }
.stacja { width: 11px; height: 11px; border-radius: 50%; background: var(--akcent); box-shadow: 0 0 0 5px var(--halo); flex: none; }
.stacja--mala { width: 10px; height: 10px; }
.stacja-etykieta { display: flex; align-items: center; gap: 12px; margin: 0 0 0 -5px; font-size: 12px; letter-spacing: 0.18em; color: var(--szary-j); }
.tylko-mobile { display: none; }
.sekcja--ciemna .stacja-etykieta { color: var(--szary-d); }

/* ===== Sekcje ===== */
.sekcja { padding-block: clamp(56px, 7.2vw, 104px); }
.sekcja--jasna { background: var(--jasne); color: var(--tekst); }
.sekcja--po-jasnej { padding-top: 24px; }
.sekcja--ciemna { background: var(--ciemne); color: var(--tekst-jasny); padding-block: clamp(64px, 7.2vw, 104px) clamp(64px, 7.8vw, 112px); }
.sekcja-naglowek { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 28px; }
.sekcja-naglowek h2 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; font-weight: 800; max-width: 760px; text-wrap: balance; }
.sekcja-lead { margin: 0; max-width: 380px; font-size: 17px; line-height: 1.55; color: var(--szary-j); }
@media (min-width: 1000px) {
  .sekcja-naglowek, .siatka, .bento, .faq, .kontakt, .certyfikaty { padding-left: 40px; }
}
@media (max-width: 800px) {
  .sekcja-naglowek { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 20px; }
  .sekcja-lead { max-width: 560px; font-size: 16px; }
}

/* ===== Hero ===== */
.hero { position: relative; background: var(--ciemne); color: var(--tekst-jasny); overflow: hidden; }
.hero-poswiata { position: absolute; inset: 0; background: radial-gradient(ellipse 720px 420px at 78% 42%, rgba(242, 106, 27, 0.22) 0%, transparent 70%); pointer-events: none; }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.nav::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 100vw; height: 1px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.08); }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-tekst { display: flex; flex-direction: column; line-height: 1; }
.logo-tekst b { font-size: 18px; font-weight: 800; letter-spacing: 0.02em; color: var(--biel); }
.logo-tekst span { font-size: 10px; letter-spacing: 0.34em; color: var(--szary-c); margin-top: 4px; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-linki { display: flex; gap: 36px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; color: #C7CFD9; }
.nav-linki a { text-decoration: none; transition: color 0.2s; }
.nav-linki a:hover { color: var(--biel); }
.nav-przelacznik { display: none; }

/* Kompaktowy pasek nawigacji (po minięciu hero, przy przewijaniu w górę) */
.pasek { position: fixed; top: 0; left: 0; right: 0; z-index: 40; background: rgba(11, 16, 23, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); color: var(--tekst-jasny); transform: translateY(-100%); transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s; }
.pasek.is-widoczny { transform: translateY(0); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }
.nav--pasek { padding-block: 10px; }
.nav--pasek::after { display: none; }
.nav--pasek .logo-tekst b { font-size: 15px; }
.nav--pasek .logo-tekst span { font-size: 9px; letter-spacing: 0.3em; }
.nav--pasek .nav-linki { font-size: 14px; gap: 26px; }
.nav--pasek .nav-menu { gap: 26px; }
.nav--pasek .btn--maly { height: 40px; padding: 0 16px; font-size: 14px; }
.pasek-akcje { display: none; align-items: center; gap: 10px; }

.hero-siatka { position: relative; display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); gap: 56px; padding-block: clamp(44px, 6vw, 88px) clamp(56px, 6.6vw, 96px); align-items: center; }
.hero-tekst { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.etykieta { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; color: var(--szary-c); }
.hero h1 { margin: 0; font-size: clamp(40px, 4.45vw, 64px); line-height: 1.02; font-weight: 800; color: var(--biel); }
.hero-h1-linia { display: block; }
.slowa { position: relative; display: block; height: 1.05em; color: var(--akcent); }
.slowo { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; animation: slowo 9s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.slowo:nth-child(2) { animation-delay: 3s; }
.slowo:nth-child(3) { animation-delay: 6s; }
@keyframes slowo { 0% { opacity: 0; transform: translateY(0.5em); } 6%, 30% { opacity: 1; transform: translateY(0); } 36%, 100% { opacity: 0; transform: translateY(-0.5em); } }
.hero-lead { margin: 0; max-width: 560px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--szary-jj); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.scena-kolumna { display: flex; flex-direction: column; min-width: 0; }
.scena-naglowek { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; font-size: 11px; letter-spacing: 0.18em; color: var(--szary-d); }
.scena { position: relative; aspect-ratio: 640 / 520; isolation: isolate; }
.eko { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: opacity 0.6s ease; }
.scena-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s ease; touch-action: pan-y; }
.etykiety { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease 0.3s; }
.scena.is-3d .eko { opacity: 0; pointer-events: none; }
.scena.is-3d .scena-canvas, .scena.is-3d .etykiety { opacity: 1; }
.etykieta-modulu { visibility: hidden; position: absolute; left: 0; top: 0; pointer-events: auto; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 8px; background: rgba(15, 22, 32, 0.9); color: var(--tekst-jasny); font-size: 11px; letter-spacing: 0.06em; white-space: nowrap; cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.etykieta-modulu:hover, .etykieta-modulu[aria-pressed='true'] { color: var(--akcent); border-color: var(--akcent); background: #141C26; }
.scena-status { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--linia-c); font-size: 12px; letter-spacing: 0.06em; color: var(--szary-c); }
.znacznik-stanu { width: 7px; height: 7px; border-radius: 50%; background: var(--akcent); flex: none; animation: puls 1.6s ease-in-out infinite; }
@keyframes puls { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 106, 27, 0.45); } 60% { box-shadow: 0 0 0 10px rgba(242, 106, 27, 0); } }
.detal { padding-top: 16px; border-top: 1px solid var(--linia-c); min-height: 96px; }
.detal-kicker { display: block; margin-bottom: 8px; font-size: 11px; letter-spacing: 0.16em; color: var(--szary-d); }
.detal h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--biel); }
.detal p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--szary-c); }

/* Poster: izometryczny ekosystem */
.eko-modul { transform-box: fill-box; transform-origin: center; animation: ekoplyw 6s ease-in-out infinite; }
.eko-modul-2 { animation-delay: -1s; } .eko-modul-3 { animation-delay: -2s; } .eko-modul-4 { animation-delay: -3s; } .eko-modul-5 { animation-delay: -4s; } .eko-modul-6 { animation-delay: -5s; }
@keyframes ekoplyw { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.eko-srodek { transform-box: fill-box; transform-origin: center; animation: ekosrodek 4s ease-in-out infinite; }
@keyframes ekosrodek { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.eko-wiazka { stroke-dasharray: 6 9; animation: ekowiazka 1.6s linear infinite; }
@keyframes ekowiazka { to { stroke-dashoffset: -30; } }
.eko-czastka { offset-rotate: 0deg; animation: ekoczastka 5.4s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
@keyframes ekoczastka { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* ===== Taśma ===== */
.tasma-pas { background: var(--ciemne); color: var(--tekst-jasny); padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); overflow: hidden; }
.tasma { display: flex; gap: 56px; width: max-content; white-space: nowrap; font-size: 13px; letter-spacing: 0.12em; color: var(--szary-c); animation: tasma 36s linear infinite; }
.tasma:hover { animation-play-state: paused; }
.tasma .jasny { color: var(--biel); }
@keyframes tasma { to { transform: translateX(-50%); } }

/* ===== 01 Dla kogo ===== */
.siatka { display: grid; gap: 20px; margin-top: 56px; }
.siatka--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.siatka--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.karta--sytuacja { display: flex; flex-direction: column; gap: 16px; padding: 28px; min-height: 270px; }
.karta--sytuacja h3 { margin: 0; font-size: 22px; font-weight: 700; }
.karta--sytuacja p { margin: -8px 0 0; font-size: 15px; line-height: 1.55; color: var(--szary-j); }
.karta-cta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px; border-radius: 22px; border: 1px dashed rgba(20, 26, 34, 0.25); }
.karta-cta h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; }
.karta-cta p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--szary-j); }

/* ===== 02 Usługi (bento) ===== */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.bento--szeroki { grid-column: span 2; }
.karta--usluga { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 28px; min-height: 300px; }
.karta-opis { display: flex; flex-direction: column; gap: 10px; }
.karta-opis h3 { margin: 0; font-size: 22px; font-weight: 700; }
.karta-opis p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--szary-j); }
.bento--szeroki .karta-opis h3 { font-size: 24px; }
.scenka { display: block; width: 100%; height: 110px; }
.konsola { min-height: 132px; padding: 18px 20px; border-radius: 14px; background: var(--ciemne); font-size: 13px; line-height: 1.75; color: var(--szary-jj); overflow: hidden; }
.konsola-czas { color: var(--szary-d); }
.konsola-ok { color: var(--akcent); }
.kursor { color: #4E5A68; animation: mrug 1s steps(1, end) infinite; }
.karta--automat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 28px; border-radius: 22px; background: var(--granat); color: var(--tekst-jasny); min-height: 300px; }
.karta--automat-tekst { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.karta--automat .karta-opis h3 { font-size: 26px; color: var(--biel); }
.karta--automat .karta-opis p { color: var(--szary-jj); }
.scenka--automat { height: auto; min-height: 220px; }

/* mikro-sceny kafelków */
.log { opacity: 0; animation: log 10s steps(1, end) infinite; }
.log:nth-child(1) { animation-delay: 0.3s; } .log:nth-child(2) { animation-delay: 1.4s; } .log:nth-child(3) { animation-delay: 3.2s; } .log:nth-child(4) { animation-delay: 5.4s; }
@keyframes log { 0% { opacity: 0; } 4%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes mrug { 50% { opacity: 0; } }
.krawedz { stroke-dasharray: 460; stroke-dashoffset: 460; animation: krawedz 6s ease-in-out infinite; }
@keyframes krawedz { 0% { stroke-dashoffset: 460; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 460; } }
.wezel { transform-box: fill-box; transform-origin: center; animation: wezel 6s ease-in-out infinite; }
.wezel:nth-of-type(2) { animation-delay: 0.5s; } .wezel:nth-of-type(3) { animation-delay: 1s; } .wezel:nth-of-type(4) { animation-delay: 1.5s; }
@keyframes wezel { 0%, 20% { fill: #FFFFFF; transform: scale(1); } 30%, 80% { fill: #F26A1B; transform: scale(1.15); } 90%, 100% { fill: #FFFFFF; transform: scale(1); } }
.pakiet { transform-box: fill-box; transform-origin: center; animation: pakiet 3.6s ease-in infinite; }
.pakiet:nth-of-type(2) { animation-delay: 1.2s; } .pakiet:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes pakiet { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 62% { transform: translateX(46px); opacity: 1; } 68% { transform: translateX(46px) scale(2.2); opacity: 0; } 100% { opacity: 0; } }
.tarcza-puls { transform-box: fill-box; transform-origin: center; animation: tarczapuls 3.6s ease-out infinite; animation-delay: 2.2s; }
@keyframes tarczapuls { 0%, 60% { transform: scale(1); } 66% { transform: scale(1.06); } 80%, 100% { transform: scale(1); } }
.kod { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: kod 7s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
.kod:nth-of-type(2) { animation-delay: 0.5s; } .kod:nth-of-type(3) { animation-delay: 1s; } .kod:nth-of-type(4) { animation-delay: 1.5s; }
@keyframes kod { 0% { transform: scaleX(0); } 12%, 85% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
.ui { transform-box: fill-box; transform-origin: center; animation: ui 7s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
@keyframes ui { 0%, 30% { transform: scale(0.85); opacity: 0; } 42%, 85% { transform: scale(1); opacity: 1; } 92%, 100% { transform: scale(0.85); opacity: 0; } }
.dok { offset-rotate: 0deg; animation: dok 4.5s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
.dok-1 { offset-path: path('M76 50 C110 50 110 120 140 120'); } .dok-2 { offset-path: path('M76 120 H140'); animation-delay: 0.8s; } .dok-3 { offset-path: path('M76 190 C110 190 110 120 140 120'); animation-delay: 1.6s; }
@keyframes dok { 0% { offset-distance: 0%; opacity: 0; } 10% { opacity: 1; } 80% { offset-distance: 100%; opacity: 1; } 86%, 100% { offset-distance: 100%; opacity: 0; } }
.wezel-ml { transform-box: fill-box; transform-origin: center; animation: wezelml 4.5s ease-in-out infinite; }
@keyframes wezelml { 0%, 74% { transform: scale(1); } 82% { transform: scale(1.14); } 100% { transform: scale(1); } }
.wynik { animation: wynik 4.5s ease-out infinite; }
@keyframes wynik { 0%, 80% { opacity: 0.35; } 88%, 100% { opacity: 1; } }
.blok { transform-box: fill-box; animation: blok 4s ease-in-out infinite; }
.blok:nth-of-type(2) { animation-delay: 0.7s; } .blok:nth-of-type(3) { animation-delay: 1.4s; }
@keyframes blok { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 70% { transform: translateX(84px); opacity: 1; } 78%, 100% { transform: translateX(84px); opacity: 0; } }
.ptaszek { stroke-dasharray: 40; stroke-dashoffset: 40; animation: ptaszek 4s ease-out infinite; }
@keyframes ptaszek { 0%, 70% { stroke-dashoffset: 40; } 85%, 100% { stroke-dashoffset: 0; } }

/* ===== 03 Jak pracujemy ===== */
.jp { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 48px; align-items: start; }
.jp-intro { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 24px; padding-right: 24px; }
.jp-intro h2 { margin: 0; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.02; font-weight: 800; color: var(--biel); text-wrap: balance; }
.jp-intro h2 span { display: block; color: var(--szary-c); }
.jp-lead { margin: 0; max-width: 34ch; font-size: 17px; line-height: 1.6; color: var(--szary-c); }
.jp-teraz { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding-left: 18px; border-left: 2px solid var(--akcent); }
.jp-teraz-label { font-size: 11px; letter-spacing: 0.18em; color: var(--szary-d); }
.jp-teraz strong { font-weight: 500; font-size: 15px; color: var(--akcent); }
.jp-tor { position: relative; min-width: 0; padding-left: 10px; }
.jp-trasa { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.jp-trasa-baza { fill: none; stroke: var(--linia-c); stroke-width: 1.5; }
.jp-trasa-swiatlo { fill: none; stroke: var(--akcent); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(242, 106, 27, 0.35)); }
.jp-punkt { fill: var(--biel); filter: drop-shadow(0 0 6px var(--akcent)); }
.jp-halo-punktu { fill: rgba(242, 106, 27, 0.14); stroke: rgba(242, 106, 27, 0.28); stroke-width: 1; }
.jp-stacja { display: grid; grid-template-columns: 56px 1fr; gap: 40px; position: relative; padding: 0 0 78px; min-height: 260px; }
.jp-stacja:last-child { padding-bottom: 0; min-height: 180px; }
.jp-znacznik { position: relative; z-index: 1; width: 44px; height: 44px; align-self: start; border: 1px solid var(--linia-c); border-radius: 50%; background: var(--ciemne); color: var(--szary-c); font-size: 12px; font-weight: 500; cursor: pointer; transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s; }
.jp-znacznik:hover { border-color: var(--akcent); color: var(--akcent); }
.jp-znacznik:focus-visible { outline: 2px solid var(--akcent); outline-offset: 6px; }
.jp-stacja.is-active .jp-znacznik, .jp-stacja.is-past .jp-znacznik { color: var(--biel); background: var(--akcent); border-color: var(--akcent); }
.jp-stacja.is-active .jp-znacznik { box-shadow: 0 0 0 6px var(--halo); }
.jp-tresc { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; opacity: 0.72; transition: opacity 0.4s; }
.jp-stacja.is-active .jp-tresc, .jp-stacja.is-past .jp-tresc { opacity: 1; }
.jp-kicker { font-size: 11px; letter-spacing: 0.18em; color: var(--akcent); }
.jp-stacja h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 700; color: var(--biel); }
.jp-stacja p { margin: 0; max-width: 44ch; font-size: 16px; line-height: 1.7; color: var(--szary-c); }
.jp-tag { align-self: flex-start; padding-bottom: 4px; border-bottom: 1px solid var(--linia-c); font-size: 12px; letter-spacing: 0.06em; color: var(--tekst-jasny); }

/* ===== 04 Zespół ===== */
.osoba { display: flex; flex-direction: column; overflow: hidden; }
.foto { position: relative; display: flex; align-items: center; justify-content: center; height: 280px; background: var(--granat); color: var(--tekst-jasny); overflow: hidden; transition: background 0.4s; }
.inicjaly { font-size: 64px; font-weight: 800; color: var(--akcent); transition: color 0.4s; }
.bio { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 20px 24px; background: rgba(11, 16, 23, 0.92); color: var(--tekst-jasny); font-size: 14px; line-height: 1.5; transform: translateY(100%); transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.osoba:hover .foto, .osoba:focus-within .foto { background: var(--akcent); }
.osoba:hover .inicjaly, .osoba:focus-within .inicjaly { color: var(--ciemne); }
.osoba:hover .bio, .osoba:focus-within .bio { transform: translateY(0); }
.osoba-opis { display: flex; flex-direction: column; gap: 8px; padding: 24px 28px 28px; }
.osoba-opis h3 { margin: 0; font-size: 24px; font-weight: 700; }
.osoba-opis p { margin: 0; font-size: 14px; color: var(--szary-j); }
@media (hover: none) {
  .foto { flex-direction: column; height: auto; padding: 32px 0 0; gap: 16px; }
  .bio { position: static; transform: none; }
}

/* Certyfikaty zespołu (podsekcja Zespołu) */
.certyfikaty { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--linia-j); }
.certyfikaty-naglowek { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.certyfikaty-naglowek h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.1; }
.certyfikaty-naglowek p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--szary-j); }
.certyfikaty-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.certyfikat { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--biel); border: 1px solid rgba(20, 26, 34, 0.08); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s; }
.certyfikat:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(20, 26, 34, 0.10); }
.certyfikat-odznaka { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: #FFF1E8; color: var(--akcent); object-fit: contain; }
img.certyfikat-odznaka { padding: 6px; background: var(--jasne); }
.certyfikat-tresc { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.certyfikat-nazwa { font-size: 16px; font-weight: 700; line-height: 1.25; }
.certyfikat-wystawca { font-size: 13px; color: var(--szary-j); }
.certyfikat-link { font-size: 11px; letter-spacing: 0.08em; color: var(--akcent-ciemny); text-decoration: none; margin-top: 4px; }
.certyfikat-link:hover { text-decoration: underline; }
.certyfikat-kto { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--granat); color: var(--akcent); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; }

/* ===== 05 Pytania ===== */
.faq { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; margin-top: 28px; align-items: start; }
.faq h2 { margin: 0; font-size: clamp(34px, 3.1vw, 44px); line-height: 1.05; font-weight: 800; text-wrap: balance; }
.faq-lista { display: flex; flex-direction: column; }
.faq-pozycja { border-top: 1px solid var(--linia-j); }
.faq-pozycja:last-child { border-bottom: 1px solid var(--linia-j); }
.faq-pozycja summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; }
.faq-pozycja summary::-webkit-details-marker { display: none; }
.faq-pozycja summary h3 { margin: 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 700; }
.faq-znak::before { content: "+"; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--szary-j); }
.faq-pozycja[open] .faq-znak::before { content: "−"; color: var(--akcent); }
.faq-pozycja p { margin: -4px 0 22px; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--szary-j); }

/* ===== 06 Kontakt ===== */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; margin-top: 28px; align-items: start; }
.kontakt-tekst { display: flex; flex-direction: column; gap: 28px; }
.kontakt-tekst h2 { margin: 0; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; font-weight: 800; text-wrap: balance; }
.kontakt-tekst .sekcja-lead { max-width: 480px; }
.kontakt-kanaly { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.kontakt-kanaly li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.kontakt-kanaly svg { flex: none; }
.kontakt-mail { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; color: var(--tekst); text-decoration: none; overflow-wrap: anywhere; }
.kontakt-mail:hover { color: var(--akcent-ciemny); }
.formularz { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px; background: var(--biel); border: 1px solid rgba(20, 26, 34, 0.08); box-shadow: 0 24px 60px rgba(20, 26, 34, 0.08); }
.pola--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pole { display: flex; flex-direction: column; gap: 6px; }
.pole label { font-size: 11px; letter-spacing: 0.14em; color: var(--szary-j); }
.pole input, .pole textarea { width: 100%; height: 48px; padding: 0 14px; border: 1px solid rgba(20, 26, 34, 0.16); border-radius: 12px; background: #FBFAF7; font: inherit; font-size: 15px; color: var(--tekst); }
.pole textarea { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; }
.pole input::placeholder, .pole textarea::placeholder { color: var(--szary-c); }
.pole input:focus-visible, .pole textarea:focus-visible { outline: 2px solid var(--akcent); outline-offset: 1px; border-color: var(--akcent); }
.zgoda { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--szary-j); }
.zgoda input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--akcent); }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formularz-status { margin: 0; font-size: 14px; line-height: 1.5; }
.formularz-status:empty { display: none; }
.formularz-status[data-typ='ok'] { color: #1F7A3A; }
.formularz-status[data-typ='blad'] { color: #B3480A; }
.formularz-status[data-typ='info'] { color: var(--szary-j); }
.formularz-rodo { margin: 0; font-size: 12px; line-height: 1.5; color: var(--szary-d); }
.formularz-rodo a { color: var(--akcent-ciemny); }

/* ===== Stopka ===== */
.stopka { position: relative; padding: clamp(56px, 6.6vw, 96px) 0 32px; background: var(--ciemne); color: var(--tekst-jasny); overflow: hidden; }
.stopka-gora { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: end; }
.stopka-cta { display: flex; flex-direction: column; gap: 28px; min-width: 0; container-type: inline-size; }
.stopka-tytul { margin: 0; font-size: clamp(44px, 5.2vw, 84px); line-height: 0.9; font-weight: 800; letter-spacing: -0.04em; color: var(--biel); white-space: nowrap; }
@supports (font-size: 1cqw) { .stopka-tytul { font-size: clamp(40px, 11.4cqw, 88px); } }
.litera { display: inline-block; }
/* Litery chowają się tylko, gdy działa JS (klasa .js na <html>); bez JS nagłówek jest widoczny od razu. */
.js .stopka-tytul:not(.is-widoczny) .litera { opacity: 0; transform: translateY(0.6em); }
.js .stopka-tytul.is-widoczny .litera { opacity: 0; transform: translateY(0.6em); animation: litera 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.litera:nth-child(2) { animation-delay: 0.05s; } .litera:nth-child(3) { animation-delay: 0.1s; } .litera:nth-child(4) { animation-delay: 0.15s; } .litera:nth-child(5) { animation-delay: 0.2s; } .litera:nth-child(6) { animation-delay: 0.25s; } .litera:nth-child(7) { animation-delay: 0.3s; } .litera:nth-child(8) { animation-delay: 0.35s; } .litera:nth-child(9) { animation-delay: 0.4s; } .litera:nth-child(10) { animation-delay: 0.45s; } .litera:nth-child(11) { animation-delay: 0.5s; } .litera:nth-child(12) { animation-delay: 0.55s; } .litera:nth-child(13) { animation-delay: 0.6s; } .litera:nth-child(14) { animation-delay: 0.7s; }
.litera--akcent { color: var(--akcent); }
@keyframes litera { to { opacity: 1; transform: translateY(0); } }
.stopka-cta-rzad { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.stopka-obietnica { font-size: 12px; letter-spacing: 0.08em; color: var(--szary-d); }
.akcent { color: var(--akcent); }
.stopka-kolumny { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; font-size: 14px; color: #C7CFD9; }
.stopka-kolumna { display: flex; flex-direction: column; gap: 10px; }
.stopka-kolumna a { text-decoration: none; transition: color 0.2s; }
.stopka-kolumna a:hover { color: var(--biel); }
.stopka-kolumna .jasny { color: var(--biel); overflow-wrap: anywhere; }
/* Linia w stopce: HTML + CSS zamiast SVG, żeby kropki nie były ucinane i nie rozciągały się na wąskich ekranach */
.stopka-linia { position: relative; height: 20px; margin: 56px 4px 0; }
.stopka-linia::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.14); }
.stopka-linia-start, .stopka-linia-koniec, .stopka-linia-punkt { position: absolute; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translate(-50%, -50%); }
.stopka-linia-start { left: 0; background: var(--akcent); }
.stopka-linia-koniec { left: 100%; background: rgba(255, 255, 255, 0.5); }
.stopka-linia-punkt { left: 0; background: var(--akcent); box-shadow: 0 0 0 6px rgba(242, 106, 27, 0.18); opacity: 0; animation: jazda 9s cubic-bezier(0.45, 0, 0.2, 1) infinite; }
@keyframes jazda { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.stopka-dane { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 28px 0 0; font-size: 12px; line-height: 1.7; color: var(--szary-d); }
.stopka-dol { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; font-size: 13px; color: var(--szary-j); }
.stopka-dol a { text-decoration: none; }
.stopka-dol a:hover { color: var(--tekst-jasny); }
.stopka-dol-linki { display: flex; align-items: center; gap: 24px; }
.stopka-dol-linki .mono { font-size: 11px; letter-spacing: 0.16em; }

/* ===== Strona prosta (polityka, 404) ===== */
.prosta { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--bok) 80px; }
.prosta h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; margin: 0 0 24px; }
.prosta h2 { font-size: 22px; margin: 36px 0 12px; }
.prosta p, .prosta li { font-size: 16px; line-height: 1.65; color: #3C4650; }
.prosta a { color: var(--akcent-ciemny); }
.prosta-nav { background: var(--ciemne); color: var(--tekst-jasny); }
.prosta-nav .nav::after { display: none; }

/* ===== Tablet ≤ 1100 ===== */
@media (max-width: 1100px) {
  .siatka--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kontakt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .stopka-gora { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .jp { grid-template-columns: 43% minmax(0, 1fr); gap: 32px; }
}

/* ===== ≤ 1000: hero i kontakt w jednej kolumnie ===== */
@media (max-width: 1000px) {
  .rail::before { display: none; }
  .stacja-etykieta { margin-left: 0; }
  .hero-siatka { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .kontakt { grid-template-columns: minmax(0, 1fr); }
  .siatka--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ===== ≤ 900: nawigacja mobilna ===== */
@media (max-width: 900px) {
  .nav-przelacznik { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px; background: transparent; cursor: pointer; }
  .nav-przelacznik span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--tekst-jasny); transition: transform 0.25s, opacity 0.25s; }
  .nav-przelacznik[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-przelacznik[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-przelacznik[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 30; flex-direction: column; align-items: stretch; gap: 8px; padding: 12px var(--bok) 20px; background: var(--panel); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35); }
  .nav-menu.is-otwarte { display: flex; }
  .nav-linki { flex-direction: column; gap: 0; font-size: 17px; }
  .nav-linki a { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-menu .btn { margin-top: 10px; }
  .pasek-akcje { display: flex; }
  .pasek-cta-desktop { display: none; }
  .nav--pasek .nav-linki { font-size: 17px; gap: 0; }
  .siatka--3 { grid-template-columns: minmax(0, 1fr); }
  .jp { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .jp-intro { position: static; padding-right: 0; }
  .jp-teraz { display: none; }
  .jp-tor { padding-left: 0; }
  .jp-stacja { grid-template-columns: 44px 1fr; gap: 22px; min-height: 240px; padding-bottom: 56px; }
  .jp-stacja:last-child { min-height: 170px; }
  .stopka-kolumny { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stopka-kolumna:last-child { grid-column: 1 / -1; }
}

/* ===== Mobile ≤ 640 (makieta 390) ===== */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .btn { height: 52px; padding: 0 22px; font-size: 15px; }
  .hero h1 { font-size: 40px; }
  .etykieta { font-size: 11px; letter-spacing: 0.14em; }
  .tylko-desktop { display: none; }
  .tylko-mobile { display: inline; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-siatka { padding-block: 40px 44px; }
  .tasma { gap: 36px; font-size: 11px; }
  .sekcja { padding-block: 48px; }
  .sekcja--po-jasnej { padding-top: 16px; }
  .sekcja--ciemna { padding-block: 56px; }
  .siatka, .bento { margin-top: 24px; gap: 12px; }
  .siatka--4 { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento--szeroki { grid-column: auto; }
  .karta--sytuacja { min-height: 0; padding: 20px; }
  .karta--usluga { min-height: 0; padding: 22px; }
  .karta-cta { flex-direction: column; align-items: stretch; padding: 22px; }
  .karta-cta .btn { width: 100%; }
  .karta--automat { grid-template-columns: minmax(0, 1fr); padding: 22px; min-height: 0; }
  .konsola { font-size: 12px; padding: 14px 16px; }
  .foto { height: 220px; }
  .certyfikaty { margin-top: 32px; padding-top: 28px; }
  .certyfikaty-lista { grid-template-columns: minmax(0, 1fr); margin-top: 20px; }
  .faq-pozycja summary { padding: 18px 0; }
  .formularz { padding: 22px; }
  .pola--2 { grid-template-columns: minmax(0, 1fr); }
  .stopka-linia { margin-top: 36px; height: 16px; }
  .stopka-cta-rzad .btn { width: 100%; }
}

/* ===== Ograniczony ruch ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slowo:first-child, .log, .kod, .ui, .litera { opacity: 1; transform: none; }
  .krawedz, .ptaszek { stroke-dashoffset: 0; }
  .stopka-linia-punkt, .dok, .pakiet, .blok, .eko-czastka { display: none; }
  .tasma { animation: none; }
}
