/* MICHALE Automatyka — proja62. Pathway Extreme (wąskie nagłówki + tekst) · B612 Mono (odczyty HUD)
   Paleta: grafit #111316 · stal #1e2228 · chłodna biel #eef1f4 · srebro #c3c9d0 · jasna stal #dfe3e8 · pomarańcz SIASUN #ff5419 · błękit techniczny #3d9bff */
@font-face { font-family: 'Pathway Extreme'; src: url(/fonts/pathway-lat.woff2) format('woff2'); font-weight: 100 900; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Pathway Extreme'; src: url(/fonts/pathway-ext.woff2) format('woff2'); font-weight: 100 900; font-stretch: 75% 100%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'B612 Mono'; src: url(/fonts/b612-400.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: 'B612 Mono'; src: url(/fonts/b612-700.woff2) format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  --g0: #0a0b0d; --g1: #111316; --g2: #1e2228; --g3: #2c3139; --g4: #454c56;
  --biel: #eef1f4; --srebro: #c3c9d0; --stal: #dfe3e8; --stal2: #cdd3da; --tj: #14171b; --tj2: #4a525c;
  --pom: #ff5419; --pom2: #d93d06; --nieb: #3d9bff;
  --nav: 68px; --wrap: min(1320px, 100% - 2 * var(--pad)); --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: 'Pathway Extreme', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'B612 Mono', 'Pathway Extreme', ui-monospace, monospace;
}
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav); -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--g1); color: var(--biel); font: 400 17px/1.6 var(--sans); font-stretch: 100%; overflow-x: clip; -webkit-font-smoothing: antialiased; }
main, .stopka { overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-stretch: 75%; font-weight: 800; line-height: .95; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(2.3rem, 5.6vw, 5.4rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--pom); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--nieb); outline-offset: 3px; }
.wrap { width: var(--wrap); margin-inline: auto; position: relative; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.drobny { font-size: .85rem; opacity: .72; }

/* etykieta sekcji */
.etykieta { display: flex; align-items: center; gap: .7em; margin: 0 0 1.4rem; color: var(--pom); }
.etykieta i { width: 26px; height: 2px; background: currentColor; }
.sek-hd { margin-bottom: clamp(2rem, 5vw, 4rem); max-width: 980px; }
.sek-lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 60ch; opacity: .85; margin-top: 1.2rem; }

/* przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 52px; padding: .9em 1.5em; border: 0; border-radius: 2px; font: 700 .86rem/1.15 var(--sans); font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; transition: background-color .2s, color .2s, translate .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { translate: 0 1px; }
.btn--accent { background: var(--pom); color: #fff; box-shadow: 0 0 0 0 rgba(255, 84, 25, .4); }
.btn--accent:hover { background: #ff6a33; box-shadow: 0 10px 30px -10px rgba(255, 84, 25, .7); }
.btn--ghost { background: rgba(238, 241, 244, .06); color: var(--biel); box-shadow: inset 0 0 0 1px rgba(238, 241, 244, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(238, 241, 244, .14); }
.btn--dark { background: var(--tj); color: var(--biel); }
.btn--dark:hover { background: var(--pom); }
.btn--line { background: none; color: inherit; padding-inline: 0; min-height: 44px; box-shadow: inset 0 -2px 0 var(--pom); }
.btn--line:hover { color: var(--pom); }
.btn .ico { transition: translate .2s; }
.btn:hover .ico { translate: 4px 0; }

/* listy */
.lista-kr { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.lista-kr li { position: relative; padding: .5em 0 .5em 1.6em; border-top: 1px solid rgba(127, 135, 145, .3); }
.lista-kr li::before { content: ''; position: absolute; left: 0; top: 1.05em; width: .7em; height: 2px; background: var(--pom); }

/* sekcje: jasne / ciemne */
.ciemna { background: var(--g1); color: var(--biel); }
.jasna { background: var(--stal); color: var(--tj); }
.jasna .etykieta { color: var(--pom2); }
.ziarno { position: relative; isolation: isolate; }
.ziarno::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* zakreślenie słów */
.zak { background: none; color: inherit; position: relative; white-space: nowrap; }
.zak svg { position: absolute; left: -3%; bottom: -.28em; width: 106%; height: .5em; overflow: visible; pointer-events: none; }
.zak path { fill: none; stroke: var(--pom); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) .2s; }
html.anim .zak:not(.on) path { stroke-dashoffset: 600; }
h2 .zak svg { bottom: -.12em; height: .3em; }

/* =========== NAWIGACJA =========== */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav); display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); background: rgba(14, 16, 19, .62); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid rgba(238, 241, 244, .08); color: var(--biel); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.nav-logo img { width: 38px; height: 38px; }
.nav-logo span { font: 800 1.35rem/1 var(--sans); font-stretch: 75%; letter-spacing: .04em; display: flex; flex-direction: column; }
.nav-logo small { font: 400 .58rem/1.4 var(--mono); letter-spacing: .28em; color: var(--srebro); }
.nav-menu { margin-left: auto; }
.nav-menu > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu > ul > li { position: relative; display: flex; align-items: center; }
.nav-menu > ul > li > a { display: block; padding: 10px 11px; font: 600 .8rem/1 var(--sans); font-stretch: 88%; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: rgba(238, 241, 244, .82); transition: color .15s; }
.nav-menu > ul > li > a:hover, .nav-menu > ul > li > a.akt { color: #fff; }
.nav-menu > ul > li > a.akt { box-shadow: inset 0 -2px 0 var(--pom); }
.mega-btn { background: none; border: 0; padding: 8px 6px 8px 0; color: var(--srebro); display: grid; place-items: center; }
.mega-btn svg { width: 11px; transition: rotate .2s; }
.ma-mega.otw .mega-btn svg { rotate: 180deg; }
.mega { position: fixed; left: 0; right: 0; top: var(--nav); padding: 0 var(--pad) 28px; background: rgba(14, 16, 19, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(238, 241, 244, .08); opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .16s, translate .16s, visibility 0s .16s; }
.ma-mega.otw .mega { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .16s, translate .16s; }
.mega-in { width: var(--wrap); margin: 0 auto; }
.mega-hd { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 14px; color: var(--srebro); }
.mega-hd a { display: inline-flex; align-items: center; gap: .5em; color: var(--pom); font-weight: 700; text-decoration: none; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mega-it { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 2px; text-decoration: none; background: rgba(238, 241, 244, .04); transition: background .15s; }
.mega-it:hover { background: rgba(255, 84, 25, .16); }
.mega-it img { width: 96px; height: 60px; object-fit: cover; filter: saturate(.85); }
.mega-it span { font: 700 .9rem/1.15 var(--sans); font-stretch: 85%; text-transform: uppercase; }
.mega-it b { display: block; font: 400 .7rem var(--mono); color: var(--pom); }
.nav-tel { flex: none; text-decoration: none; font: 700 .9rem var(--sans); padding: 9px 14px; border: 1px solid rgba(255, 84, 25, .7); border-radius: 2px; transition: background .15s; }
.nav-tel:hover { background: var(--pom); }
.nav-tel .mono { color: var(--pom); margin-right: 4px; font-size: .62rem; }
.nav-tel:hover .mono { color: #fff; }
.burger { display: none; }
.menu-stopka { display: none; }

@media (max-width: 1180px) {
  .nav-menu > ul > li > a { padding: 10px 8px; font-size: .74rem; }
  .nav-tel { display: none; }
}
@media (max-width: 980px) {
  :root { --nav: 60px; }
  .burger { display: grid; margin-left: auto; width: 48px; height: 48px; place-content: center; gap: 6px; background: none; border: 0; }
  .burger span { display: block; width: 26px; height: 2px; background: var(--biel); transition: translate .2s, rotate .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { translate: 0 8px; rotate: 45deg; }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { translate: 0 -8px; rotate: -45deg; }
  .nav-menu { position: fixed; inset: var(--nav) 0 0; margin: 0; background: rgba(12, 13, 16, .98); padding: 10px var(--pad) 30px; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: opacity .15s, visibility 0s .15s; }
  .nav.otw .nav-menu { visibility: visible; opacity: 1; transition: opacity .15s; }
  .nav-menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > ul > li { flex-wrap: wrap; border-bottom: 1px solid rgba(238, 241, 244, .08); }
  .nav-menu > ul > li > a { flex: 1; padding: 17px 0; font-size: 1.25rem; font-stretch: 75%; font-weight: 800; }
  .mega-btn { width: 52px; height: 52px; padding: 0; }
  .mega { position: static; flex-basis: 100%; padding: 0 0 14px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; opacity: 1; visibility: visible; translate: none; display: none; }
  .ma-mega.otw .mega { display: block; }
  .mega-in { width: auto; }
  .mega-hd { padding-top: 0; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mega-it { grid-template-columns: 64px minmax(0, 1fr); }
  .mega-it img { width: 64px; height: 42px; }
  .menu-stopka { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
  .menu-stopka a { font: 700 1.1rem var(--sans); text-decoration: none; color: var(--pom); }
}

/* =========== INTRO =========== */
.intro { position: fixed; inset: 0; z-index: 150; pointer-events: none; color: var(--biel); }
html.intro-on .intro { display: block !important; }
.intro > * { pointer-events: auto; }
.intro-pas { position: absolute; left: 0; right: 0; height: 11vh; background: #050506; transition: translate .9s var(--ease); pointer-events: none !important; }
.intro-pas--g { top: 0; }
.intro-pas--d { bottom: 0; }
.intro-hud { position: absolute; top: calc(11vh + 18px); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; color: var(--srebro); pointer-events: none !important; }
.intro-hud span:first-child { color: var(--pom); }
.intro-slogan { position: absolute; left: var(--pad); bottom: calc(11vh + 120px); margin: 0; display: flex; flex-direction: column; font: 800 clamp(2.4rem, 7.4vw, 7.6rem)/.9 var(--sans); font-stretch: 75%; text-transform: uppercase; pointer-events: none !important; text-shadow: 0 4px 40px rgba(0, 0, 0, .5); }
.intro-slogan .is { display: block; opacity: 0; translate: 0 .4em; clip-path: inset(0 0 100% 0); transition: opacity .5s, translate .8s var(--ease), clip-path .8s var(--ease); }
.intro-slogan .is:last-child { color: var(--pom); }
.intro.s1 .is:nth-child(1), .intro.s2 .is:nth-child(-n+2), .intro.s3 .is { opacity: 1; translate: 0 0; clip-path: inset(0 0 -10% 0); }
.intro-btns { position: absolute; left: var(--pad); bottom: calc(11vh + 36px); display: flex; gap: 12px; flex-wrap: wrap; }
.intro-pasek { position: absolute; left: 0; right: 0; bottom: 11vh; height: 2px; background: rgba(238, 241, 244, .12); pointer-events: none !important; }
.intro-pasek i { display: block; height: 100%; width: 100%; background: var(--pom); transform-origin: 0 0; scale: var(--ip, 0) 1; }
.intro.koniec .intro-pas--g { translate: 0 -100%; }
.intro.koniec .intro-pas--d { translate: 0 100%; }
.intro.koniec > :not(.intro-pas) { opacity: 0; transition: opacity .4s; pointer-events: none; }
html.intro-on .hero-txt, html.intro-on .hero-pasek, html.intro-on .hud { opacity: 0; }
html.intro-on .nav { translate: 0 -100%; }
.nav { transition: translate .6s var(--ease); }
@media (max-width: 760px) {
  .intro-pas { height: 8vh; }
  .intro-hud { top: calc(8vh + 12px); font-size: .62rem; }
  .intro-slogan { bottom: auto; top: calc(8vh + 60px); font-size: clamp(2rem, 10.4vw, 3.6rem); right: var(--pad); }
  .intro-btns { bottom: calc(8vh + 22px); right: var(--pad); flex-direction: column; }
  .intro-btns .btn { width: 100%; }
  .intro-pasek { bottom: 8vh; }
}

/* =========== HERO =========== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; background: radial-gradient(120% 90% at 72% 40%, #262b33 0%, #15181c 45%, #0b0c0e 100%); isolation: isolate; }
.hero-scena { position: absolute; inset: 0; z-index: 0; }
.hero-scena canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-plakat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transition: opacity .6s; }
.hero-scena.gotowe .hero-plakat { opacity: 0; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 11, 13, .86) 0%, rgba(10, 11, 13, .5) 36%, rgba(10, 11, 13, 0) 62%), linear-gradient(0deg, rgba(10, 11, 13, .8), rgba(10, 11, 13, 0) 30%); }
.hero-txt { position: relative; z-index: 3; align-self: center; padding: calc(var(--nav) + 40px) var(--pad) 40px; max-width: min(820px, 100%); transition: opacity .8s; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 6.4rem); line-height: .9; }
.hero h1 .ln:nth-child(3) { color: var(--pom); }
.ln { display: block; overflow: hidden; padding-bottom: .04em; }
.lni { display: block; }
html.anim .hero.wejscie .lni { animation: wjazd .9s var(--ease) both; animation-delay: calc(var(--i) * .09s + .05s); }
@keyframes wjazd { from { translate: 0 105%; } to { translate: 0 0; } }
.hero-lead { max-width: 52ch; margin: 1.6rem 0 2rem; font-size: clamp(1rem, 1.25vw, 1.15rem); color: rgba(238, 241, 244, .86); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-pasek { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(238, 241, 244, .14); background: rgba(10, 11, 13, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity .8s; }
.hero-pasek a { display: flex; align-items: center; gap: 12px; padding: 20px var(--pad); text-decoration: none; font: 800 clamp(1rem, 1.5vw, 1.3rem)/1 var(--sans); font-stretch: 75%; letter-spacing: .04em; border-left: 1px solid rgba(238, 241, 244, .1); transition: background .2s, color .2s; }
.hero-pasek a:first-child { border-left: 0; }
.hero-pasek a:hover { background: var(--pom); }
.hero-pasek .mono { color: var(--pom); }
.hero-pasek a:hover .mono { color: #fff; }
/* HUD */
.hud { position: absolute; inset: calc(var(--nav) + 18px) var(--pad) 90px; z-index: 2; pointer-events: none; transition: opacity .8s; }
.hud-r { position: absolute; width: 22px; height: 22px; border: 0 solid rgba(195, 201, 208, .5); }
.hud-r--lg { left: 0; top: 0; border-width: 1px 0 0 1px; }
.hud-r--pg { right: 0; top: 0; border-width: 1px 1px 0 0; }
.hud-r--ld { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.hud-r--pd { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.hud-odczyt { position: absolute; right: 34px; top: 16px; display: flex; gap: 14px; color: var(--srebro); }
.hud-odczyt span { color: var(--nieb); }
.hud-odczyt b { font-weight: 400; min-width: 9ch; }
.hud-model { position: absolute; right: 34px; bottom: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; color: var(--srebro); }
.hud-model span:first-child { color: var(--pom); }
@media (max-width: 760px) {
  .hero { grid-template-rows: auto 1fr auto; }
  .hero-scena { top: 34%; }
  .hero-plakat { object-position: 62% 40%; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 11, 13, .92) 0%, rgba(10, 11, 13, .75) 38%, rgba(10, 11, 13, .1) 62%, rgba(10, 11, 13, .7) 100%); }
  .hero-txt { align-self: start; padding-top: calc(var(--nav) + 26px); }
  .hero h1 { font-size: clamp(2.1rem, 10.4vw, 3.4rem); }
  .hero-lead { font-size: .98rem; margin: 1rem 0 1.3rem; }
  .hero-btns .btn { flex: 1 1 100%; min-height: 50px; }
  .hud { inset: auto var(--pad) 72px; height: 50px; }
  .hud-r, .hud-odczyt { display: none; }
  .hud-model { right: 0; bottom: 0; font-size: .6rem; }
  .hero-pasek { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-pasek a { padding: 14px var(--pad); font-size: .95rem; border-top: 1px solid rgba(238, 241, 244, .1); }
  .hero-pasek a:nth-child(3) { border-left: 0; }
}

/* =========== REEL (okno-strzałka „play” rośnie do pełnego kadru) =========== */
.reel { position: relative; height: 230vh; }
.reel-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.reel-okno { --p: 1; position: absolute; inset: 0; background: #000; clip-path: polygon(calc(50% - 31vmin * (1 - var(--p)) - 50% * var(--p)) calc(50% - 34vmin * (1 - var(--p)) - 50% * var(--p)), calc(50% + 38vmin * (1 - var(--p)) + 50% * var(--p)) calc(50% - 50% * var(--p)), calc(50% + 38vmin * (1 - var(--p)) + 50% * var(--p)) calc(50% + 50% * var(--p)), calc(50% - 31vmin * (1 - var(--p)) - 50% * var(--p)) calc(50% + 34vmin * (1 - var(--p)) + 50% * var(--p))); }
.reel-okno video { width: 100%; height: 100%; object-fit: cover; scale: calc(1.25 - .25 * var(--p)); }
.reel-okno::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 13, .88) 0%, rgba(10, 11, 13, .5) 45%, rgba(10, 11, 13, .1) 75%); opacity: var(--p); }
.reel-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; color: #fff; opacity: calc(1 - var(--p) * 3); }
.reel-tc { position: absolute; right: var(--pad); bottom: 28px; z-index: 2; color: var(--srebro); }
.reel-tc b { color: var(--pom); font-weight: 400; }
.reel-txt { position: relative; z-index: 2; width: var(--wrap); margin-inline: auto; max-width: none; }
.reel-txt > * { max-width: 640px; }
.reel-txt h2 { font-size: clamp(2.2rem, 5vw, 4.8rem); margin-bottom: 1.4rem; }
.reel-txt p { font-size: clamp(1.02rem, 1.3vw, 1.2rem); }
.reel-txt .podpis { font-size: .66rem; color: var(--srebro); margin-top: 2rem; }
html.anim .reel-txt { opacity: clamp(0, (var(--rp, 1) - .55) * 4, 1); translate: 0 calc((1 - clamp(0, (var(--rp, 1) - .55) * 4, 1)) * 40px); }
@media (max-width: 760px) {
  .reel { height: 190vh; }
  .reel-okno { clip-path: polygon(calc(50% - 30vw * (1 - var(--p)) - 50% * var(--p)) calc(30% - 33vw * (1 - var(--p)) - 30% * var(--p)), calc(50% + 36vw * (1 - var(--p)) + 50% * var(--p)) calc(30% - 30% * var(--p)), calc(50% + 36vw * (1 - var(--p)) + 50% * var(--p)) calc(30% + 70% * var(--p)), calc(50% - 30vw * (1 - var(--p)) - 50% * var(--p)) calc(30% + 33vw * (1 - var(--p)) + 70% * var(--p))); }
  .reel-play { top: 30%; }
  .reel-okno::after { background: linear-gradient(0deg, rgba(10, 11, 13, .95) 0%, rgba(10, 11, 13, .7) 55%, rgba(10, 11, 13, .15) 100%); }
  .reel-pin { place-items: end center; padding-bottom: 60px; }
}

/* =========== OBSZARY =========== */
.obszary { position: relative; padding: clamp(80px, 12vw, 160px) 0; isolation: isolate; }
.zalew { position: absolute; inset: 0; z-index: -1; background: var(--g1); clip-path: polygon(0 0, 100% 0, 100% var(--zh, 0px), 0 calc(var(--zh, 0px) * 1.9)); }
.obszar { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(70px, 10vw, 140px); }
.obszar:last-child { margin-bottom: 0; }
.obszar-foto { margin: 0; position: relative; overflow: hidden; background: var(--stal2); min-width: 0; }
.obszar-foto img { width: 100%; height: 100%; object-fit: cover; }
.obszar-foto figcaption, .robo-wizja figcaption, .firma-foto figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: rgba(10, 11, 13, .78); color: var(--srebro); font-size: .62rem; max-width: 100%; }
.obszar-nr { font-size: .9rem; color: var(--pom2); margin-bottom: .6rem; }
.obszar-txt { min-width: 0; }
.obszar-txt h3 { font-size: clamp(2.2rem, 4.4vw, 4rem); margin-bottom: 1.2rem; }
.obszar-txt > p { font-size: 1.08rem; max-width: 52ch; color: var(--tj2); }
.obszar--1 { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.obszar--1 .obszar-foto { aspect-ratio: 4 / 3; min-height: 0; }
.obszar--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.obszar--2 .obszar-txt { order: -1; }
.obszar--2 .obszar-foto { aspect-ratio: 16 / 10; min-height: 0; border: 14px solid var(--tj); border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.obszar--2 .obszar-foto figcaption { left: auto; right: 0; }
.obszar--3 { grid-template-columns: minmax(0, 1fr); position: relative; }
.obszar--3 .obszar-foto { aspect-ratio: 21 / 9; min-height: 0; }
.obszar--3 .obszar-txt { position: relative; margin: -120px 0 0 auto; width: min(560px, 92%); background: var(--g1); color: var(--biel); padding: clamp(24px, 3.4vw, 44px); }
.obszar--3 .obszar-txt > p { color: rgba(238, 241, 244, .8); }
.obszar--3 .obszar-nr { color: var(--pom); }
.obszar--3 .btn--dark { background: var(--pom); }
@media (max-width: 900px) {
  .obszar--1, .obszar--2 { grid-template-columns: minmax(0, 1fr); }
  .obszar--2 .obszar-txt { order: 0; }
  .obszar--2 .obszar-foto { border-width: 8px; }
  .obszar--3 .obszar-foto { aspect-ratio: 4 / 3; }
  .obszar--3 .obszar-txt { margin-top: -50px; width: 94%; }
}

/* =========== ROBOTYZACJA (wiersze sticky + kreska) =========== */
.robo { padding: clamp(80px, 12vw, 160px) 0; }
.robo-uklad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.robo-wizja { position: sticky; top: calc(var(--nav) + 30px); }
.robo-wizja-in { position: relative; aspect-ratio: 4 / 5; min-height: 0; max-height: calc(100vh - var(--nav) - 60px); overflow: hidden; background: var(--g2); }
.rw { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .5s, clip-path .7s var(--ease); clip-path: inset(0 0 100% 0); }
.rw.on { opacity: 1; clip-path: inset(0 0 0 0); }
.rw img { width: 100%; height: 100%; object-fit: cover; }
.skan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--pom); box-shadow: 0 0 18px 2px rgba(255, 84, 25, .7); opacity: 0; pointer-events: none; }
.robo-wizja.skanuj .skan { animation: skan .7s var(--ease); }
@keyframes skan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.rw-licz { position: absolute; right: 12px; top: 12px; background: rgba(10, 11, 13, .7); padding: 6px 10px; }
.rw-licz b { color: var(--pom); font-weight: 400; }
.robo-lista { list-style: none; margin: 0; padding: 0; }
.zast { position: relative; padding: 0 0 clamp(50px, 7vw, 90px); }
.zast-hd { position: sticky; top: var(--nav); z-index: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 0 18px; padding: 18px 0 14px; background: var(--g1); }
.zast-nr { color: var(--pom); font-size: .9rem; padding-bottom: .4em; }
.zast h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.kreska { grid-column: 1 / -1; display: block; height: 1px; margin-top: 14px; background: rgba(238, 241, 244, .16); }
.kreska i { display: block; height: 2px; margin-top: -.5px; background: var(--pom); transform-origin: 0 0; scale: var(--k, 1) 1; }
.zast-foto { display: none; margin: 0 0 18px; position: relative; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; }
.zast-foto img { width: 100%; height: 100%; object-fit: cover; }
.zast-foto figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 10px; font-size: .58rem; background: rgba(10, 11, 13, .78); color: var(--srebro); }
.zast > p { margin-top: 18px; font-size: 1.05rem; color: rgba(238, 241, 244, .84); max-width: 54ch; }
.korz { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.korz li { font-size: .86rem; padding: 6px 12px; border: 1px solid rgba(195, 201, 208, .3); border-radius: 2px; }
.korz li::before { content: '+ '; color: var(--pom); font-family: var(--mono); }
@media (max-width: 900px) {
  .robo-uklad { grid-template-columns: minmax(0, 1fr); }
  .robo-wizja { display: none; }
  .zast-foto { display: block; }
  .zast-hd { position: relative; top: auto; }
}

/* =========== SIASUN =========== */
.siasun { position: relative; background: radial-gradient(80% 70% at 30% 50%, #1b2027 0%, var(--g0) 80%); overflow: hidden; }
.siasun::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(61, 155, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(61, 155, 255, .07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 60% at 30% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 60% at 30% 50%, #000, transparent); }
.siasun-uklad { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; }
.siasun-scena { position: sticky; top: 0; align-self: start; height: 100vh; height: 100svh; touch-action: pan-y; cursor: grab; }
.siasun-scena:active { cursor: grabbing; }
.siasun-scena canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.siasun-plakat { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; transition: opacity .6s; }
.siasun-scena.gotowe .siasun-plakat { opacity: 0; }
.siasun-hud { position: absolute; left: var(--pad); top: 96px; display: flex; flex-direction: column; gap: 4px; color: var(--nieb); pointer-events: none; }
.siasun-hud span:last-child { color: var(--pom); font-size: 1rem; }
.siasun-wskazowka { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; margin: 0; color: var(--srebro); pointer-events: none; white-space: nowrap; }
.siasun-txt { padding: clamp(70px, 9vw, 130px) var(--pad) clamp(60px, 8vw, 110px) clamp(10px, 2vw, 30px); position: relative; z-index: 1; max-width: 680px; }
.siasun-txt h2 { font-size: clamp(2.2rem, 4.2vw, 4.2rem); margin-bottom: 1.4rem; }
.siasun-txt > p { color: rgba(238, 241, 244, .82); }
.kraje { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 1.8rem; }
.kraje span { padding: 5px 9px; border: 1px solid rgba(61, 155, 255, .45); color: #a9cff9; }
.zakladki { display: flex; gap: 0; border-bottom: 1px solid rgba(238, 241, 244, .16); margin-bottom: 1.2rem; overflow-x: auto; }
.zakladki button { background: none; border: 0; padding: 14px 18px; min-height: 48px; font: 800 1.1rem var(--sans); font-stretch: 75%; letter-spacing: .02em; color: rgba(238, 241, 244, .55); box-shadow: inset 0 -2px 0 transparent; white-space: nowrap; }
.zakladki button[aria-selected="true"] { color: #fff; box-shadow: inset 0 -3px 0 var(--pom); }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 11px 0; border-bottom: 1px solid rgba(238, 241, 244, .1); font-weight: 400; }
.spec th { color: rgba(238, 241, 244, .66); }
.spec td { text-align: right; font-size: 1.05rem; color: #fff; }
.ceny { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 1rem; }
.ceny div { padding: 12px; background: rgba(255, 84, 25, .1); border-left: 2px solid var(--pom); }
.ceny dt { font-size: .78rem; opacity: .75; }
.ceny dd { margin: 4px 0 0; font-size: .82rem; color: #fff; text-transform: none; }
.siasun-btns { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 1.6rem; }
.cert-mini { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; text-align: left; color: var(--srebro); }
.cert-mini img { width: 48px; height: 68px; object-fit: cover; border: 1px solid rgba(238, 241, 244, .3); }
@media (max-width: 900px) {
  .siasun-uklad { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .siasun-scena { position: relative; min-height: 0; height: 62vh; }
  .siasun-hud { top: 70px; }
  .siasun-txt { padding-top: 10px; }
  .ceny { grid-template-columns: minmax(0, 1fr); }
}

/* =========== LINIA MASZYN =========== */
.linia { padding: clamp(80px, 12vw, 160px) 0; }
.linia-podglad { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; margin-bottom: 30px; }
.lp-foto { margin: 0; position: relative; aspect-ratio: 16 / 10; min-height: 0; overflow: hidden; background: var(--tj); }
.lp-foto img, .lp-foto video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-foto::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; background: linear-gradient(var(--pom), var(--pom)) 0 0 / 22px 2px no-repeat, linear-gradient(var(--pom), var(--pom)) 0 0 / 2px 22px no-repeat, linear-gradient(var(--pom), var(--pom)) 100% 100% / 22px 2px no-repeat, linear-gradient(var(--pom), var(--pom)) 100% 100% / 2px 22px no-repeat; }
.lp-foto.zoom img { animation: zoomwej .6s var(--ease); }
@keyframes zoomwej { from { scale: 1.18; opacity: .2; } to { scale: 1; opacity: 1; } }
.lp-nr { color: var(--pom2); }
.lp-txt h3 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin: .4rem 0 1rem; }
.lp-txt > p { color: var(--tj2); font-size: 1.05rem; }
.lp-param { display: inline-block; padding: 8px 12px; background: var(--tj); color: var(--biel) !important; font-size: .74rem !important; margin-bottom: 1.6rem; }
.linia-tor { position: relative; display: grid; grid-template-columns: repeat(9, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; padding: 20px 2px 26px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.tor-szyna { position: absolute; left: 0; right: 0; bottom: 12px; height: 6px; min-width: 1400px; background: repeating-linear-gradient(90deg, var(--tj) 0 18px, var(--g4) 18px 22px); border-radius: 3px; }
.stacja { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0 0 12px; background: none; border: 0; text-align: left; color: var(--tj); scroll-snap-align: start; }
.stacja img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; filter: grayscale(.85) contrast(1.05); transition: filter .25s, translate .25s; outline: 2px solid transparent; outline-offset: 2px; }
.stacja:hover img { filter: grayscale(0); translate: 0 -4px; }
.stacja.on img { filter: grayscale(0); outline-color: var(--pom); }
.stacja .mono { color: var(--pom2); font-size: .66rem; }
.stacja b { font: 800 1rem/1.05 var(--sans); font-stretch: 75%; text-transform: uppercase; }
.stacja::after { content: ''; position: absolute; left: 50%; bottom: -14px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--stal); border: 2px solid var(--tj); }
.stacja.on::after { background: var(--pom); border-color: var(--pom); }
.linia-inne { margin-top: 26px; color: var(--tj2); font-size: .95rem; }
.linia-inne .mono { color: var(--tj); margin-right: 6px; }
@media (max-width: 900px) {
  .linia-podglad { grid-template-columns: minmax(0, 1fr); }
  .linia-tor { grid-template-columns: repeat(9, 140px); margin-right: calc(-1 * var(--pad)); padding-right: var(--pad); }
}

/* =========== REALIZACJE (przelot kart) =========== */
.real { position: relative; height: calc(var(--n) * 85vh + 100vh); }
.real-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.real-hd { position: absolute; left: var(--pad); top: calc(var(--nav) + 28px); z-index: 3; }
.real-hd h2 { font-size: clamp(2rem, 4vw, 3.8rem); }
.real-licz { position: absolute; right: var(--pad); top: calc(var(--nav) + 34px); z-index: 3; color: var(--srebro); font-size: 1rem; }
.real-licz b { color: var(--pom); font-weight: 400; font-size: 1.6rem; }
.real-scena { position: absolute; inset: 0; perspective: 1400px; }
html.anim .real-pin::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--nav) + 150px); z-index: 2; pointer-events: none; background: linear-gradient(180deg, var(--g1) 62%, rgba(17, 19, 22, 0)); }
.karta { position: absolute; left: 50%; top: 54%; width: min(34vw, 500px); aspect-ratio: 4 / 5; min-height: 0; margin: 0; translate: -50% -50%; will-change: transform; }
.karta-in { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; overflow: hidden; background: var(--g2); text-align: left; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.karta-in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.karta-in:hover img { scale: 1.05; }
.karta-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 20px 18px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(0deg, rgba(10, 11, 13, .95), rgba(10, 11, 13, 0)); color: var(--biel); }
.karta-meta .mono { color: var(--srebro); font-size: .66rem; }
.karta-meta b { font: 800 clamp(1.5rem, 2.4vw, 2.2rem)/.95 var(--sans); font-stretch: 75%; text-transform: uppercase; }
.karta-meta em { font-style: normal; color: var(--pom); font-size: .9rem; }
.karta-cta { display: inline-flex; align-items: center; gap: .5em; color: var(--pom) !important; }
html:not(.anim) .real { height: auto; }
html:not(.anim) .real-pin { position: relative; height: auto; padding: calc(var(--nav) + 120px) var(--pad) 80px; }
html:not(.anim) .real-scena { position: relative; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; perspective: none; }
html:not(.anim) .karta { position: relative; left: auto; top: auto; width: auto; translate: none; }
@media (max-width: 760px) {
  .real { height: calc(var(--n) * 70vh + 100vh); }
  .karta { width: 74vw; top: 56%; }
  .real-licz { top: auto; bottom: 26px; }
}

/* =========== PROCES =========== */
.proces { padding: clamp(80px, 12vw, 160px) 0; }
.os { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.os-linia { position: absolute; left: 0; right: 0; top: 56px; height: 2px; background: var(--stal2); }
.os-linia i { display: block; height: 100%; background: var(--pom); transform-origin: 0 0; scale: var(--op, 1) 1; }
.krok { position: relative; padding-top: 0; }
.krok-nr { display: block; font: 800 3rem/1 var(--sans); font-stretch: 75%; color: var(--tj); letter-spacing: 0; height: 48px; }
.krok-pkt { display: block; width: 16px; height: 16px; margin: 0 0 24px; border-radius: 50%; background: var(--stal); border: 2px solid var(--tj); position: relative; top: 1px; transition: background .3s, border-color .3s; }
.krok.on .krok-pkt { background: var(--pom); border-color: var(--pom); box-shadow: 0 0 0 6px rgba(255, 84, 25, .18); }
.krok h3 { font-size: clamp(1.3rem, 1.9vw, 1.8rem); margin-bottom: .7rem; }
.krok p { color: var(--tj2); font-size: .97rem; }
@media (max-width: 900px) {
  .os { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 40px; }
  .os-linia { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .os-linia i { width: 100%; height: 100%; scale: 1 var(--op, 1); }
  .krok { padding-bottom: 34px; }
  .krok-nr { font-size: 2.2rem; height: auto; margin-bottom: 8px; }
  .krok-pkt { position: absolute; left: -40px; top: 8px; margin: 0; }
}

/* =========== KORZYŚCI (zalew pomarańczem) =========== */
.korz-sek { position: relative; padding: clamp(90px, 13vw, 180px) 0; background: var(--g2); color: #fff; isolation: isolate; overflow: hidden; }
.zalew-kolo { position: absolute; inset: 0; z-index: -1; background: var(--pom); clip-path: circle(calc(var(--kp, 1) * 150%) at 50% 0); }
.korz-sek::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 14px); clip-path: circle(calc(var(--kp, 1) * 150%) at 50% 0); }
.slogan { font-size: clamp(2.6rem, 8vw, 8.4rem); line-height: .86; margin-bottom: clamp(50px, 7vw, 90px); color: var(--g1); }
.slogan .ln:nth-child(2) { color: #fff; }
.liczby { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 2px solid rgba(17, 19, 22, .9); }
.liczba { padding: 22px 20px 0 0; border-right: 1px solid rgba(17, 19, 22, .25); margin-right: 20px; }
.liczba:last-child { border-right: 0; }
.liczba dt { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; color: var(--g1); }
.ln-n { font: 800 clamp(2.6rem, 4.6vw, 4.6rem)/1 var(--sans); font-stretch: 75%; letter-spacing: -.01em; text-transform: none; }
.ln-j { font: 700 1rem var(--sans); text-transform: uppercase; }
.liczba dd { margin: 10px 0 0; font-size: .92rem; line-height: 1.45; color: #fff; }
@media (max-width: 900px) {
  .liczby { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .liczba { border-right: 0; margin-right: 0; padding-bottom: 22px; border-bottom: 1px solid rgba(17, 19, 22, .25); }
  .liczba:nth-child(odd) { padding-right: 14px; }
}

/* =========== O FIRMIE =========== */
.firma { padding: clamp(80px, 12vw, 160px) 0; }
.firma-gora { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(50px, 7vw, 90px); }
.firma h2 { font-size: clamp(2.2rem, 4.6vw, 4.6rem); }
.firma .sek-lead { color: var(--tj2); }
.wyr { list-style: none; padding: 0; margin: 2rem 0 0; }
.wyr li { display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--stal2); font-weight: 600; }
.wyr .mono { color: var(--pom2); padding-top: 3px; }
.firma-foto { margin: 0; position: relative; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; }
.firma-foto img { width: 100%; height: 100%; object-fit: cover; }
.firma-kafle { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.2fr) minmax(0, .8fr); gap: 14px; }
.kafel { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; border: 0; text-align: left; color: var(--tj); text-decoration: none; min-width: 0; font-size: .95rem; }
.kafel h3 { font-size: 1.6rem; margin-bottom: 6px; }
.oddz { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--stal); }
.oddz b { font: 800 1.15rem var(--sans); font-stretch: 75%; text-transform: uppercase; }
.oddz span { color: var(--tj2); font-size: .9rem; }
.oddz .mono { font-size: .68rem; color: var(--tj); text-transform: none; }
.kafel--cert img { width: 100%; max-width: 180px; aspect-ratio: 1414 / 2000; height: auto; object-fit: cover; border: 1px solid var(--stal2); }
.kafel--cert .mono, .kafel--real .mono { color: var(--pom2); display: inline-flex; align-items: center; gap: .4em; margin-top: auto; }
.kafel--cert:hover, .kafel--real:hover { outline: 2px solid var(--pom); }
.kafel--targi img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.kafel--targi p { color: var(--tj2); margin: 0; }
.kafel--real { background: var(--g1); color: var(--biel); }
.kafel--real p { color: rgba(238, 241, 244, .8); }
.klienci { margin-top: clamp(50px, 7vw, 90px); }
.klienci > .mono { color: var(--tj2); margin-bottom: 14px; }
.klienci-tasma { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.klienci-ruch { display: flex; width: max-content; animation: tasma 40s linear infinite; }
.klienci-tasma:hover .klienci-ruch { animation-play-state: paused; }
.klienci-grupa { display: flex; gap: 14px; padding-right: 14px; }
.kl { display: grid; place-items: center; width: 180px; height: 96px; padding: 14px 20px; background: #fff; }
.kl img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .8; transition: filter .2s, opacity .2s; }
.kl:hover img { filter: grayscale(0); opacity: 1; }
@keyframes tasma { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .klienci-ruch { animation: none; flex-wrap: wrap; width: auto; } .klienci-grupa[aria-hidden] { display: none; } .klienci-grupa { flex-wrap: wrap; } }
@media (max-width: 1100px) { .firma-kafle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .firma-gora { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .firma-kafle { grid-template-columns: minmax(0, 1fr); } .kl { width: 140px; height: 80px; } }

/* =========== WIEDZA / ROI =========== */
.wiedza { padding: clamp(80px, 12vw, 160px) 0; background: #e8ecf0; }
.roi { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); background: #fff; box-shadow: 0 30px 70px -40px rgba(20, 23, 27, .45); }
.roi-form { padding: clamp(22px, 3.4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.roi-form h3 { grid-column: 1 / -1; font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 1.2rem; }
.roi-form fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.roi-form fieldset:first-of-type { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.roi-form fieldset:first-of-type legend, .roi-form fieldset:first-of-type .przel { grid-column: 1 / -1; }
.roi-form legend { color: var(--pom2); padding: 0; margin-bottom: 6px; }
.pole { display: block; margin-bottom: 10px; }
.pole > span:first-child { display: block; font-size: .84rem; color: var(--tj2); margin-bottom: 4px; }
.pole-in { display: flex; align-items: center; border: 1px solid var(--stal2); background: #f6f8fa; }
.pole-in:focus-within { border-color: var(--pom); }
.pole input { flex: 1; min-width: 0; border: 0; background: none; padding: 11px 12px; font: 600 1.05rem var(--sans); color: var(--tj); -moz-appearance: textfield; appearance: textfield; }
.pole input:focus { outline: none; }
.pole input::-webkit-inner-spin-button, .pole input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pole em { font-style: normal; color: var(--tj2); padding-right: 12px; font-size: .66rem; white-space: nowrap; }
.przel { display: flex; align-items: center; gap: 10px; font-size: .92rem; padding: 6px 0; cursor: pointer; }
.przel input { width: 22px; height: 22px; accent-color: var(--pom); }
.roi-wynik { padding: clamp(22px, 3.4vw, 44px); background: var(--g1); color: var(--biel); display: flex; flex-direction: column; min-width: 0; }
.roi-wynik > .mono { color: var(--pom); margin: 0; }
.roi-zwrot { margin: 4px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.roi-zwrot b { font: 800 clamp(4rem, 8vw, 7rem)/.9 var(--sans); font-stretch: 75%; }
.roi-zwrot span { font: 700 1.2rem var(--sans); text-transform: uppercase; }
.roi-wykres { display: flex; align-items: center; gap: 4px; height: 110px; margin: 6px 0 16px; position: relative; border-bottom: 0; }
.roi-wykres::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(238, 241, 244, .3); }
.roi-wykres .sl { flex: 1; position: relative; height: 100%; }
.roi-wykres .sl i { position: absolute; left: 0; right: 0; background: var(--pom); transition: top .4s var(--ease), bottom .4s var(--ease), height .4s var(--ease); }
.roi-wykres .sl.minus i { background: #6b737d; }
.roi-wykres .sl span { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; font: 400 .56rem var(--mono); color: var(--srebro); }
.roi-dl { margin: 14px 0 14px; }
.roi-dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(238, 241, 244, .1); font-size: .92rem; }
.roi-dl dt { color: rgba(238, 241, 244, .72); }
.roi-dl dd { margin: 0; font-family: var(--mono); font-size: .86rem; text-align: right; white-space: nowrap; }
.zalozenia { margin: 0 0 20px; font-size: .86rem; color: rgba(238, 241, 244, .8); }
.zalozenia summary { cursor: pointer; padding: 10px 0; color: var(--biel); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.zalozenia ul { padding-left: 1.1em; margin: 0; }
.zalozenia li { margin-bottom: 6px; }
.roi-wynik .btn { margin-top: auto; }
.wiedza-dol { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; margin-top: 14px; }
.wiedza-dol > * { background: #fff; padding: clamp(22px, 3vw, 36px); min-width: 0; }
.wiedza-dol h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.ulga { position: relative; overflow: hidden; }
.ulga-50 { position: absolute; right: -6px; top: -14px; font: 800 7rem/1 var(--sans) !important; font-stretch: 75%; color: var(--stal); letter-spacing: 0 !important; margin: 0; z-index: 0; pointer-events: none; }
.ulga > :not(.ulga-50) { position: relative; z-index: 1; }
.ulga h3 { max-width: 70%; }
.plik { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--stal); text-decoration: none; }
.plik .mono { grid-column: 1; color: var(--pom2); font-size: .64rem; }
.plik b { grid-column: 1; font-weight: 700; line-height: 1.3; }
.plik .ico { grid-column: 2; grid-row: 1 / 3; color: var(--pom2); }
.plik:hover b { color: var(--pom2); }
.art ul { list-style: none; padding: 0; margin: 0; }
.art a { display: block; padding: 11px 0; border-top: 1px solid var(--stal); text-decoration: none; font-weight: 600; line-height: 1.3; }
.art a:hover { color: var(--pom2); }
.art .mono { display: block; font-size: .62rem; color: var(--tj2); margin-bottom: 2px; }
@media (max-width: 1000px) { .roi { grid-template-columns: minmax(0, 1fr); } .wiedza-dol { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .roi-form, .roi-form fieldset:first-of-type { grid-template-columns: minmax(0, 1fr); } }

/* =========== KONTAKT =========== */
.kontakt { padding: clamp(80px, 12vw, 160px) 0; }
.kontakt-uklad { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.kontakt h2 { font-size: clamp(2.3rem, 5vw, 5rem); line-height: .9; }
.kontakt h2 .ln:nth-child(3) { color: var(--pom); }
.kontakt-dane { list-style: none; padding: 0; margin: 2rem 0 1.2rem; }
.kontakt-dane li { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: baseline; padding: 12px 0; border-top: 1px solid rgba(238, 241, 244, .12); }
.kontakt-dane .mono { color: var(--pom); font-size: .66rem; }
.kontakt-dane a { font: 800 clamp(1.3rem, 2vw, 1.8rem) var(--sans); font-stretch: 75%; text-decoration: none; }
.kontakt-dane a:hover { color: var(--pom); }
.formularz { background: var(--g2); padding: clamp(22px, 3.4vw, 44px); border-top: 3px solid var(--pom); }
.f-rzad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.f-pole { display: block; margin-bottom: 14px; }
.f-pole > span { display: block; font-size: .84rem; color: rgba(238, 241, 244, .75); margin-bottom: 5px; }
.f-pole input, .f-pole select, .f-pole textarea { width: 100%; border: 1px solid rgba(238, 241, 244, .18); background: var(--g1); color: var(--biel); padding: 13px 14px; font: 400 1rem var(--sans); border-radius: 2px; }
.f-pole select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--srebro) 50%), linear-gradient(135deg, var(--srebro) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.f-pole textarea { resize: vertical; min-height: 130px; }
.f-pole input:focus, .f-pole select:focus, .f-pole textarea:focus { outline: none; border-color: var(--pom); box-shadow: 0 0 0 3px rgba(255, 84, 25, .2); }
.f-pole.zle input, .f-pole.zle textarea { border-color: #ff7a6b; }
.f-blad { display: block; font-style: normal; font-size: .8rem; color: #ff9a8c; min-height: 0; margin-top: 4px; }
.f-blad:empty { display: none; }
.f-zgoda { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .86rem; color: rgba(238, 241, 244, .78); margin: 6px 0 18px; cursor: pointer; }
.f-zgoda input { width: 22px; height: 22px; margin: 0; accent-color: var(--pom); }
.f-zgoda .f-blad { grid-column: 2; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-wyslij { width: 100%; }
.f-wyslij[disabled] { opacity: .6; cursor: progress; }
.f-status { margin: 14px 0 0; font-size: .95rem; min-height: 1.4em; }
.f-status.ok { padding: 14px 16px; background: rgba(61, 155, 255, .12); border-left: 3px solid var(--nieb); }
.f-status.blad { padding: 14px 16px; background: rgba(255, 84, 25, .12); border-left: 3px solid var(--pom); }
@media (max-width: 900px) { .kontakt-uklad { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .f-rzad { grid-template-columns: minmax(0, 1fr); } }

/* =========== STOPKA =========== */
.stopka { background: var(--g0); color: rgba(238, 241, 244, .8); padding: 70px 0 30px; font-size: .95rem; }
.stopka-kol { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(238, 241, 244, .1); }
.st-marka { display: flex; gap: 16px; align-items: flex-start; }
.st-marka img { width: 56px; height: 56px; flex: none; }
.st-marka b { color: #fff; font-stretch: 75%; font-size: 1.2rem; text-transform: uppercase; }
.st-t { color: var(--pom); margin-bottom: 10px; }
.stopka ul { list-style: none; padding: 0; margin: 0; }
.stopka li { padding: 4px 0; }
.stopka a { text-decoration: none; }
.stopka a:hover { color: var(--pom); }
.st-social { margin-top: 12px; }
.stopka-dol { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; flex-wrap: wrap; }
.stopka-dol p { margin: 0; }
@media (max-width: 900px) { .stopka-kol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-marka { grid-column: 1 / -1; } }
@media (max-width: 560px) { .stopka-dol { justify-content: center; text-align: center; } }

/* podpis Bogate Ananasy (komponent z WDK) */
.m-only { display: none; }
@media (max-width: 767px) { .m-only { display: inline; } .d-only { display: none; } }
.made-by { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; transition: color .3s; }
.made-by:hover { color: var(--pom); }
.made-by img { height: 1.75rem; width: auto; display: block; }
.logo-wrap { position: relative; top: -3px; z-index: 1; display: block; transform-origin: 50% 50%; animation: logo-spin 5s ease-in-out infinite; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .made-by:hover .logo-wrap { animation: logo-spin-loop 1.6s linear infinite; }
  .made-by:hover img { animation: logo-shine-loop 1.6s ease-in-out infinite; }
  .made-by:hover .glint { animation: logo-glint-loop 1.6s linear infinite; }
}
.made-by img { animation: logo-shine 5s ease-in-out infinite; }
.glint { position: absolute; inset: 0; pointer-events: none; -webkit-mask: url(/img/bogate-ananasy-logo.webp) center / contain no-repeat; mask: url(/img/bogate-ananasy-logo.webp) center / contain no-repeat; background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 200, .95) 50%, transparent 65%) 0 0 / 300% 100% no-repeat; mix-blend-mode: screen; animation: logo-glint 5s ease-in-out infinite; }
@keyframes logo-spin { 0%, 80% { transform: perspective(200px) rotateY(0); } 100% { transform: perspective(200px) rotateY(360deg); } }
@keyframes logo-spin-loop { from { transform: perspective(200px) rotateY(0); } to { transform: perspective(200px) rotateY(360deg); } }
@keyframes logo-shine-loop { 0%, 100% { filter: brightness(1.25) saturate(1.2); } 50% { filter: brightness(1.7) saturate(1.35); } }
@keyframes logo-glint-loop { 0% { background-position: 100% 0; opacity: 1; } 100% { background-position: 0 0; opacity: 1; } }
@keyframes logo-shine { 0%, 80%, 100% { filter: brightness(1) saturate(1); } 90% { filter: brightness(1.6) saturate(1.3); } }
@keyframes logo-glint { 0%, 80% { background-position: 100% 0; opacity: 0; } 82% { opacity: 1; } 98% { background-position: 0 0; opacity: 1; } 100% { background-position: 0 0; opacity: 0; } }
.to-top { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: -0.5rem 0; border-radius: 999px; color: inherit; transition: color .3s; }
.to-top:hover { color: var(--pom); }
.to-top path { animation: fly-up 1.6s cubic-bezier(.4, 0, .2, 1) infinite; }
.to-top path:nth-child(2) { animation-delay: .2s; }
.to-top path:nth-child(3) { animation-delay: .4s; }
.to-top:hover path { animation-duration: .9s; }
@media (max-width: 767px) { .to-top path { animation-duration: 2.6s; } .to-top path:nth-child(2) { animation-delay: .35s; } .to-top path:nth-child(3) { animation-delay: .7s; } }
@keyframes fly-up { 0% { transform: translateY(6px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .to-top path { animation: none; opacity: 1; } .logo-wrap, .made-by img, .glint { animation: none; } .glint { opacity: 0; } }

/* =========== OKNO (szczegóły, case) i LIGHTBOX =========== */
.okno { position: fixed; inset: 0; z-index: 200; }
.okno-tlo { position: absolute; inset: 0; background: rgba(5, 6, 8, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.okno-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(760px, 100%); background: var(--g1); color: var(--biel); overflow-y: auto; overscroll-behavior: contain; padding: 70px clamp(20px, 4vw, 54px) 50px; animation: wsun .35s var(--ease); outline: none; }
@keyframes wsun { from { translate: 40px 0; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.okno-x { position: absolute; right: 14px; top: 12px; width: 48px; height: 48px; border: 0; background: rgba(238, 241, 244, .08); color: #fff; font-size: 1.2rem; border-radius: 2px; z-index: 3; }
.okno-x:hover { background: var(--pom); }
.okno-tresc h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 6px 0 18px; }
.okno-tresc .mono.kl-n { color: var(--pom); }
.okno-tresc h3 { font-size: 1.2rem; margin: 26px 0 10px; color: var(--pom); }
.okno-tresc p { color: rgba(238, 241, 244, .86); }
.okno-gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 18px 0; }
.okno-gal button { padding: 0; border: 0; background: var(--g2); aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; }
.okno-gal button:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.okno-gal img, .okno-gal video { width: 100%; height: 100%; object-fit: cover; }
.case-siatka { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.case-efekt { margin-top: 26px; padding: 20px; background: var(--pom); color: #fff; }
.case-efekt p { color: #fff; margin: 0; font-weight: 600; font-size: 1.1rem; }
.case-efekt .mono { display: block; margin-bottom: 6px; }
.okno-tresc .btn { margin-top: 26px; }
@media (max-width: 560px) { .case-siatka { grid-template-columns: minmax(0, 1fr); } .okno-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lightbox { position: fixed; inset: 0; z-index: 220; background: rgba(5, 6, 8, .95); display: grid; place-items: center; padding: 60px 60px; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox figcaption { color: var(--srebro); text-align: center; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 72px; border: 0; background: rgba(238, 241, 244, .08); color: #fff; font-size: 2rem; }
.lb-nav:hover { background: var(--pom); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
@media (max-width: 760px) { .lightbox { padding: 64px 8px 70px; } .lb-nav { top: auto; bottom: 10px; translate: none; height: 52px; } }
body.zablokowany { overflow: hidden; }

/* wejścia elementów (krycie + przesunięcie na osobnej właściwości translate) */
html.anim .wej { opacity: 0; translate: 0 34px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
html.anim .wej.on { opacity: 1; translate: 0 0; }
