/* ===== Czcionka (lokalnie, bez Google Fonts) ===== */
@font-face { font-family: "Jakarta"; src: url(fonts/pjs-latin-ext.woff2) format("woff2"); font-weight: 200 800; 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jakarta"; src: url(fonts/pjs-latin.woff2) format("woff2"); font-weight: 200 800; 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; }

:root {
  --bg: #0d1513; --bg-2: #13201c; --card: rgba(255,255,255,.06); --line: rgba(255,255,255,.1); --line-2: rgba(255,255,255,.18);
  --ink: #f7f6f2; --muted: #a9b0bc; --dim: #7a8190;
  --sun: #6ee7a8; --orange: #22c55e; --pink: #4ade80; --violet: #2dd4bf; --green: #34d399;
  --grad: linear-gradient(100deg, #ffffff 0%, #d1fae5 28%, #6ee7a8 62%, #16a34a 100%);
  --glow: #22c55e;
  --r: 22px; --pad: clamp(18px, 4vw, 48px);
  --ease: cubic-bezier(.2,.75,.15,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: -10%; z-index: -5; pointer-events: none; background:
  radial-gradient(45% 40% at 88% 4%, rgba(74,222,128,.32), transparent 70%),
  radial-gradient(40% 45% at 4% 38%, rgba(16,185,129,.26), transparent 70%),
  radial-gradient(45% 40% at 70% 96%, rgba(220,255,235,.2), transparent 70%),
  radial-gradient(35% 35% at 28% 78%, rgba(45,212,191,.14), transparent 70%),
  linear-gradient(180deg, #0f1a17, #0b1311 60%, #0f1916);
  animation: aurora 26s ease-in-out infinite alternate; }
@keyframes aurora { 50% { transform: translate3d(-3%, 2%, 0) scale(1.06) rotate(2deg); } 100% { transform: translate3d(2%, -2%, 0) scale(1.03) rotate(-1deg); } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 "Jakarta", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .98; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: #000; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: min(1240px, 100% - 2 * var(--pad)); margin-inline: auto; }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05; 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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ===== Nagłówek ===== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5,6,7,.6); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; padding-inline: var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 14px; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 28px; margin-inline: auto; font-size: 13px; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--ink); }
.pill-cta { font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 99px; background: var(--sun); color: #052e16; box-shadow: 0 0 24px -4px rgba(74,222,128,.6); transition: transform .2s, box-shadow .2s; }
.pill-cta:hover { transform: translateY(-1px); box-shadow: 0 0 34px -2px rgba(74,222,128,.8); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== Przyciski ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 24px; border-radius: 99px; font-weight: 700; font-size: 15px; border: 0; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-glow { background: linear-gradient(180deg, #d1fae5, #22c55e); color: #052e16; box-shadow: 0 10px 40px -10px rgba(34,197,94,.9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-block { width: 100%; }

/* ===== Animacja tekstu: wyostrzanie z rozmycia ===== */
.blur-h .w { display: inline-block; white-space: pre; filter: blur(14px); opacity: 0; transform: translateY(.35em); transition: filter 1s var(--ease), opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.on .blur-h .w, .blur-h.in .w { filter: blur(0); opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.blur-h.reveal { opacity: 1; transform: none; filter: none; }

/* ===== STORY ===== */
.story { position: relative; height: 680vh; }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.story-glow { position: absolute; z-index: -2; left: 50%; top: 50%; width: 120vmax; height: 120vmax; transform: translate(-50%,-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--glow) 38%, transparent), color-mix(in srgb, var(--glow) 10%, transparent) 45%, transparent 70%); transition: background .3s; }
@media (min-width: 900px) { .story-glow { left: 66%; width: 90vmax; height: 90vmax; } .bw-1 { left: 68%; font-size: clamp(110px, 15vw, 300px); } }
.story-sticky::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 50% 110%, color-mix(in srgb, var(--glow) 30%, transparent), transparent 55%); }
.bigword { position: absolute; z-index: -1; left: 50%; top: 44%; transform: translate(-50%,-50%); font-weight: 800; font-size: clamp(110px, 24vw, 420px); letter-spacing: -.07em; line-height: .8; white-space: nowrap; pointer-events: none; user-select: none; background: linear-gradient(180deg, color-mix(in srgb, var(--glow) 75%, transparent), color-mix(in srgb, var(--glow) 8%, transparent) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bw-2 { opacity: 0; background: linear-gradient(180deg, #fff, rgba(255,255,255,.05) 90%); -webkit-background-clip: text; background-clip: text; }
.story-canvas { position: absolute; inset: 0; z-index: 1; }
.story-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.stage-fallback { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); height: 70%; width: auto; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.is-3d .stage-fallback { display: none; }
.callouts { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }
.callout { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; white-space: nowrap; color: #d9dcda; will-change: transform; }
.callout i { width: 34px; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.7), rgba(255,255,255,.15)); translate: 0 -.5px; }
.callout i::before { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: #fff; translate: -2px -2px; box-shadow: 0 0 10px #fff; }
.callout span { translate: 0 -50%; position: relative; top: 8px; padding: 4px 10px; border-radius: 99px; background: rgba(10,12,13,.6); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.callout b { color: var(--glow); margin-right: 6px; font-weight: 700; }

.chapter { position: absolute; z-index: 3; left: var(--pad); bottom: clamp(70px, 12vh, 130px); width: min(560px, 46vw); pointer-events: none; }
.chapter.on { pointer-events: auto; }
.chapter > :not(h1):not(h2) { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); }
.chapter.on > :not(h1):not(h2) { opacity: 1; transform: none; filter: none; transition-delay: .25s; }
.chapter:not(.on) .w { transition-duration: .35s; transition-delay: 0s !important; }
.chapter h1 { font-size: clamp(46px, 6.2vw, 100px); margin: 18px 0 22px; }
.chapter h2 { font-size: clamp(38px, 5vw, 76px); margin: 6px 0 20px; }
.chapter p { color: #b6bbb8; max-width: 44ch; font-size: clamp(15px, 1.25vw, 18px); }
.chapter .lead { font-size: clamp(16px, 1.4vw, 20px); }
.grad { background: linear-gradient(90deg, #ecfdf5, #22c55e 60%, #16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); letter-spacing: .02em; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(34,197,94,.7); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chapter .num { display: inline-block; font-weight: 800; font-size: clamp(90px, 13vw, 200px); letter-spacing: -.07em; line-height: .85; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapter .unit { display: inline-block; margin-left: 10px; font-size: clamp(22px, 2.4vw, 36px); font-weight: 700; color: var(--glow); vertical-align: top; }
.ch-final { width: min(440px, 34vw); }
.ch-final h2 { font-size: clamp(32px, 3.6vw, 56px); }
.ch-final p { margin-bottom: 26px; }
.ch-final .num { font-size: clamp(64px, 8vw, 120px); }
.swatches { display: flex; gap: 12px; margin-top: 26px; }
.swatches button { display: grid; gap: 10px; padding: 10px 10px 12px; width: 118px; text-align: left; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.swatches button:hover { transform: translateY(-3px); }
.swatches button[aria-checked="true"] { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }
.swatches i { display: block; height: 62px; border-radius: 11px; }
.swatches b { font-size: 13px; padding-left: 2px; }
.sw-dom { background: linear-gradient(140deg, #ffffff, #86efac); }
.sw-firma { background: linear-gradient(140deg, #99f6e4, #0d9488); }
.sw-gosp { background: linear-gradient(140deg, #9be7b1, #16a34a); }
#sw-text { min-height: 4.8em; }
#sw-text.swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; filter: blur(6px); transform: translateY(8px); } }
.story-hud { position: absolute; z-index: 4; right: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.story-index b { color: var(--ink); }
.story-progress { width: 120px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.story-progress i { display: block; height: 100%; background: var(--glow); transform-origin: left; transform: scaleX(0); }
.scroll-cue { letter-spacing: .2em; text-transform: uppercase; font-size: 10px; animation: cue 2s infinite; }
@keyframes cue { 50% { opacity: .3; } }

/* ===== Pasek partnerów ===== */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee-track { display: flex; gap: 70px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee img { height: 30px; width: auto; filter: grayscale(1) brightness(0) invert(1); opacity: .45; }
@keyframes marquee { to { transform: translateX(calc(-50% - 35px)); } }

/* ===== Sekcje ===== */
.sec { padding: clamp(90px, 14vw, 180px) 0 0; position: relative; }
.sec-head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 70px); }
.kicker { font-size: 12px; text-transform: uppercase; letter-spacing: .22em; color: var(--sun); margin-bottom: 18px; font-weight: 700; }
.sec h2 { font-size: clamp(40px, 6vw, 92px); }
.sub { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); margin-top: 22px; max-width: 52ch; }

/* Dom 3D */
.stage { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 16 / 8.2; isolation: isolate; background: linear-gradient(180deg, var(--sky-top, #16304d), var(--sky-bot, #0b1522)); border: 1px solid var(--line); box-shadow: 0 60px 120px -40px rgba(34,197,94,.25); transition: background .4s; }
.stage-canvas { position: absolute; inset: 0; }
.stage-canvas canvas { display: block; width: 100% !important; height: 100% !important; touch-action: pan-y; }
.stage .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; transform: none; object-fit: cover; }
.stage-hint { position: absolute; top: 18px; left: 50%; translate: -50% 0; display: flex; gap: 6px; align-items: center; font-size: 13px; padding: 8px 14px; border-radius: 99px; background: rgba(0,0,0,.45); backdrop-filter: blur(10px); border: 1px solid var(--line-2); transition: opacity .5s; z-index: 3; pointer-events: none; }
.stage-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.stage.touched .stage-hint, .stage:not(.is-3d) .stage-hint, .stage:not(.is-3d) .stage-panel { opacity: 0; display: none; }
.stage-panel { position: absolute; left: 18px; bottom: 18px; width: min(440px, calc(100% - 36px)); display: grid; gap: 14px; padding: 16px 18px; border-radius: 20px; background: rgba(8,10,11,.6); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(1.4); z-index: 3; }
.readout { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
.readout-label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.readout-value { font-size: 14px; color: var(--muted); }
.readout-value b { font-size: 34px; color: var(--ink); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.meter { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.meter i { display: block; height: 100%; width: 50%; background: linear-gradient(90deg, var(--green), var(--sun)); box-shadow: 0 0 12px var(--sun); transition: width .2s; }
.time-control { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; }
.play { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.08); display: grid; place-items: center; }
.play svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.4; fill: none; stroke-linecap: round; }
.play .i-play { fill: currentColor; stroke: none; }
.play[aria-pressed="true"] .i-play, .play[aria-pressed="false"] .i-pause { display: none; }
.time-slider { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.time-slider b { color: var(--ink); font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sun) var(--p, 50%), rgba(255,255,255,.14) var(--p, 50%)); outline-offset: 6px; }
#day-time { background: linear-gradient(90deg, #16a34a, #ecfdf5 50%, #16a34a); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(74,222,128,.25), 0 2px 10px rgba(0,0,0,.5); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(74,222,128,.25); cursor: grab; }
.hotspot { position: absolute; left: 0; top: 0; z-index: 2; background: none; border: 0; padding: 0; transition: opacity .3s; }
.hotspot.behind { opacity: .25; }
.hs-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #000; box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 0 20px rgba(74,222,128,.7); animation: hs 2.4s infinite; }
.hs-dot::before { content: "+"; font-weight: 800; font-size: 16px; line-height: 1; transition: transform .3s; }
.hotspot.open .hs-dot::before { transform: rotate(45deg); }
@keyframes hs { 50% { box-shadow: 0 0 0 11px rgba(255,255,255,.06), 0 0 26px rgba(74,222,128,.9); } }
.hs-tip { position: absolute; left: 50%; bottom: calc(100% + 12px); translate: -50% 6px; width: 230px; padding: 12px 14px; border-radius: 14px; text-align: left; font-size: 13px; line-height: 1.45; color: #c9cdcb; background: rgba(8,10,11,.85); backdrop-filter: blur(12px); border: 1px solid var(--line-2); opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s; }
.hs-tip b { display: block; color: #fff; margin-bottom: 2px; }
.hotspot.open .hs-tip { opacity: 1; translate: -50% 0; }
.flow { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.flow li { background: var(--bg); padding: 26px 24px 28px; }
.flow span { font-size: 12px; color: var(--sun); font-weight: 700; letter-spacing: .1em; }
.flow h3 { font-size: 24px; margin: 14px 0 8px; }
.flow p { color: var(--muted); font-size: 15px; }

/* Kalkulator */
.calc { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid var(--line); margin-top: 34px; }
.seg button { border: 0; background: none; padding: 10px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.seg button[aria-checked="true"] { background: var(--ink); color: #000; }
.bill { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; margin-top: 36px; }
.bill span { color: var(--muted); font-size: 15px; }
.bill output { font-size: 40px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.bill input { grid-column: 1 / -1; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; border-top: 1px solid var(--line); }
.specs div { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.specs div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.specs div:nth-child(even) { padding-left: 22px; }
.specs b { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.specs div > span { color: var(--muted); font-size: 14px; }
.calc-right { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: 32px; background: radial-gradient(circle at 70% 0%, rgba(34,197,94,.28), transparent 60%), var(--card); border: 1px solid var(--line); overflow: hidden; }
.mega-label { display: block; color: var(--muted); font-size: 14px; }
.mega { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 6px; }
.mega b { font-size: clamp(76px, 10vw, 150px); font-weight: 800; letter-spacing: -.07em; line-height: .9; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mega small { font-size: 28px; font-weight: 700; color: var(--sun); }
.mega-range { color: var(--muted); font-size: 15px; }
.panels-viz { display: flex; flex-wrap: wrap; gap: 5px; margin: 28px 0; min-height: 22px; }
.panels-viz i { width: 16px; height: 24px; border-radius: 3px; background: linear-gradient(160deg, #3d63c9, #172a63); box-shadow: inset 0 0 0 1px rgba(160,190,255,.35); animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.6); } }
.fineprint { font-size: 12px; color: var(--dim); margin-top: 18px; line-height: 1.5; }

/* Porównanie */
.compare { border-top: 1px solid var(--line-2); }
.c-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.c-row > span:first-child { color: var(--muted); font-size: 15px; }
.c-row b { display: block; font-size: clamp(24px, 3.2vw, 48px); letter-spacing: -.045em; line-height: 1; }
.c-row b.hi { color: var(--sun); text-shadow: 0 0 30px rgba(74,222,128,.35); }
.c-row small { display: block; color: var(--dim); font-size: 13px; margin-top: 8px; }
.c-head { padding: 18px 0; }
.c-head span { font-size: 13px !important; text-transform: uppercase; letter-spacing: .18em; color: var(--ink) !important; font-weight: 700; }

/* Oferta */
.services { border-top: 1px solid var(--line-2); }
.svc { display: grid; grid-template-columns: 90px 1fr 1fr 40px; gap: 20px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .4s; }
.svc-n { color: var(--dim); font-weight: 700; font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(26px, 3vw, 44px); transition: color .3s; }
.svc p { color: var(--muted); }
.svc i { font-style: normal; font-size: 26px; color: var(--dim); transition: transform .4s var(--ease), color .3s; }
.svc:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(34,197,94,.08), transparent 60%); }
.svc:hover h3, .svc:hover i { color: var(--sun); }
.svc:hover i { transform: translateX(6px); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.75); transition: transform 1.2s var(--ease), filter .6s; }
.gallery figure:hover img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,.8)); }
.gallery figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 1; font-weight: 800; font-size: 26px; letter-spacing: -.04em; }

/* Proces */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline li { padding: 26px 0 0; border-top: 1px solid var(--line-2); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -1px; left: 0; height: 1px; width: 0; background: var(--sun); box-shadow: 0 0 12px var(--sun); transition: width 1.2s var(--ease) .3s; }
.timeline li.in::before { width: 100%; }
.timeline span { display: block; font-size: clamp(54px, 6vw, 90px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.3); margin-bottom: 18px; }
.timeline b { font-size: 20px; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* Znajdź nas */
.social-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.map-card { grid-row: span 2; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.map-art { position: relative; flex: 1; min-height: 240px; overflow: hidden; }
.map-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.map-card:hover .map-art svg { transform: scale(1.08); }
.pin { position: absolute; left: 50%; top: 46%; translate: -50% -100%; width: 54px; height: 54px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 40px rgba(74,222,128,.5); animation: bob 3s ease-in-out infinite; }
.pin img { width: 32px; rotate: 45deg; }
@keyframes bob { 50% { translate: -50% -112%; } }
.pulse { position: absolute; left: 50%; top: 46%; width: 16px; height: 16px; translate: -50% -50%; border-radius: 50%; background: var(--sun); }
.pulse::before, .pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--sun); animation: ring 2.4s infinite; }
.pulse::after { animation-delay: 1.2s; }
@keyframes ring { to { transform: scale(7); opacity: 0; } }
.map-meta { display: grid; gap: 6px; padding: 24px 26px; border-top: 1px solid var(--line); }
.map-meta b { font-size: 22px; letter-spacing: -.03em; }
.soc-label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.go { color: var(--sun); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; }
.go i { font-style: normal; transition: transform .3s var(--ease); }
a:hover .go i { transform: translateX(5px); }
.soc { position: relative; display: grid; align-content: end; gap: 6px; min-height: 230px; padding: 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), border-color .3s; }
.soc b { font-size: 19px; letter-spacing: -.02em; word-break: break-word; }
.soc::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 260px; height: 260px; border-radius: 50%; background: var(--c); filter: blur(70px); opacity: .3; transition: opacity .4s, transform .6s var(--ease); }
.soc:hover::before { opacity: .65; transform: scale(1.2); }
.soc:hover, .map-card:hover { transform: translateY(-5px); border-color: var(--line-2); }
.soc-logo { position: absolute; top: 22px; left: 24px; width: 34px; height: 34px; fill: #fff; transition: transform .5s var(--ease); }
.soc-logo.stroke { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.soc:hover .soc-logo { transform: scale(1.15) rotate(-6deg); }
.soc-in { grid-column: span 2; min-height: 180px; }
.soc-fb { --c: #1877f2; } .soc-ig { --c: conic-gradient(#feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); } .soc-in { --c: #0a66c2; }
.soc-ig::before { background: radial-gradient(circle, #d62976, #fa7e1e 50%, transparent 70%); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.phones a { padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 19px; letter-spacing: -.02em; transition: border-color .3s, transform .3s var(--ease); }
.phones a:hover { border-color: rgba(74,222,128,.5); transform: translateY(-2px); }
.phones small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgba(255,255,255,.04); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s; }
.form select option { background: #111; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sun); background: rgba(74,222,128,.05); }
.form .consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 12px; line-height: 1.5; }
.consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--sun); }
.consent a { text-decoration: underline; }
.form-note { font-size: 14px; color: var(--green); min-height: 1.4em; }
.form-note.error { color: #ff6b5a; }

/* Stopka */
.site-footer { position: relative; margin-top: clamp(100px, 14vw, 180px); padding: 0 0 40px; overflow: hidden; }
.footer-word { font-weight: 800; font-size: 27vw; line-height: .78; letter-spacing: -.08em; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.14), transparent 80%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; margin-bottom: -2vw; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding-top: 30px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.f-brand { display: flex; gap: 14px; align-items: center; }
.f-brand strong { color: var(--ink); }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.f-social a:hover { background: var(--sun); border-color: var(--sun); transform: translateY(-3px); }
.f-social a:hover svg { fill: #000; stroke: #000; }
.f-social svg { width: 18px; height: 18px; fill: #fff; }
.f-social svg.stroke { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.f-funding summary { cursor: pointer; font-size: 13px; }
.f-funding img { margin-top: 12px; max-width: 420px; border-radius: 12px; }
.f-legal { font-size: 13px; }
.call-fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; place-items: center; background: linear-gradient(180deg, #d1fae5, #22c55e); box-shadow: 0 10px 30px -6px rgba(34,197,94,.8); }
.call-fab svg { width: 22px; height: 22px; fill: #052e16; }

/* ===== Responsywność ===== */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .map-card { grid-column: 1 / -1; grid-row: auto; }
  .soc-in { grid-column: 1 / -1; min-height: 170px; }
}
@media (max-width: 899px) {
  .nav { position: fixed; inset: 64px 0 auto; flex-direction: column; gap: 0; padding: 10px var(--pad) 24px; background: rgba(5,6,7,.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); font-size: 20px; color: var(--ink); transform: translateY(-120%); transition: transform .5s var(--ease); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open { transform: none; }
  .nav-toggle { display: block; }
  .pill-cta { margin-left: auto; }
  .chapter { left: var(--pad); right: var(--pad); width: auto; bottom: 64px; }
  .ch-final { width: auto; }
  .chapter h1 { margin: 14px 0 14px; }
  .chapter .num { font-size: clamp(76px, 22vw, 120px); }
  .chapter p { font-size: 15px; }
  .bigword { top: 30%; font-size: 30vw; }
  .story-glow { top: 32%; }
  .callout { font-size: 10px; }
  .callout i { width: 16px; }
  .story-hud { left: var(--pad); right: auto; bottom: 22px; }
  .scroll-cue { display: none; }
  .calc, .contact { grid-template-columns: 1fr; }
  .flow, .timeline { grid-template-columns: 1fr 1fr; }
  .timeline { row-gap: 34px; }
  .svc { grid-template-columns: 50px 1fr 30px; }
  .svc p { grid-column: 2; grid-row: 2; }
  .svc i { grid-column: 3; grid-row: 1; }
  .gallery { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .gallery figcaption { font-size: 15px; left: 12px; bottom: 10px; }
  .stage { aspect-ratio: 4 / 3.6; }
  .call-fab { display: grid; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .chapter .actions .btn-ghost { display: none; }
  .actions { margin-top: 22px; }
  .swatches button { width: auto; flex: 1; }
  .swatches i { height: 44px; }
  .stage { aspect-ratio: 1 / 1.42; border-radius: 24px; }
  .stage.is-3d .stage-canvas { bottom: 150px; }
  .stage-panel { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .flow { grid-template-columns: 1fr; }
  .c-row { grid-template-columns: 1fr 1fr; gap: 10px 16px; }
  .c-row > span:first-child { grid-column: 1 / -1; }
  .c-head > span:first-child { display: none; }
  .social-grid { grid-template-columns: 1fr; }
  .soc { min-height: 170px; }
  .phones, .form .row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure { aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ===== Jaśniejszy motyw + gradient firmowy ===== */
.site-header.scrolled { background: rgba(10,20,16,.62); }
.grad, .chapter .unit, .kicker, .c-row b.hi, .mega small { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-block; }
.c-row b.hi { text-shadow: none; filter: drop-shadow(0 0 22px rgba(52,211,153,.3)); }
.btn-glow, .pill-cta, .call-fab { background: linear-gradient(100deg, #ffffff, #a7f3d0 55%, #4ade80); color: #052e16; box-shadow: 0 10px 40px -10px rgba(34,197,94,.9), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-glow { background-size: 140% 100%; transition: background-position .5s var(--ease), transform .25s var(--ease), box-shadow .25s; }
.btn-glow:hover { background-position: 100% 0; }
.calc-right, .map-card, .soc, .phones a, .form, .flow li { backdrop-filter: blur(14px) saturate(1.3); }
.calc-right { background: radial-gradient(circle at 80% 0%, rgba(52,211,153,.3), transparent 55%), radial-gradient(circle at 0% 100%, rgba(45,212,191,.22), transparent 55%), var(--card); }
.story-progress i, .timeline li::before { background: var(--grad); }
.panels-viz i { background: linear-gradient(160deg, #31415f, #121a2b); box-shadow: inset 0 0 0 1px rgba(200,215,255,.3); }
.seg button[aria-checked="true"] { background: #fff; }
input[type=range] { background: linear-gradient(90deg, #ffffff, #4ade80 var(--p, 50%), rgba(255,255,255,.16) var(--p, 50%)); }
.marquee img { opacity: .6; }
.gallery img { filter: saturate(.95) brightness(.85); }
.map-art svg rect:first-child { fill: #1a2030; }
.story-sticky::after { background: radial-gradient(ellipse at 50% 115%, color-mix(in srgb, var(--glow) 38%, transparent), transparent 55%); }

/* ===== Diagram „Jak to działa” ===== */
.diagram { display: flex; align-items: stretch; gap: 0; padding: clamp(20px, 3vw, 34px); border-radius: 32px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); backdrop-filter: blur(16px); }
.dg-node { flex: 1 1 0; min-width: 0; position: relative; display: grid; align-content: start; gap: 8px; padding: 22px 18px 20px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid var(--line); animation: dgPulse 6s infinite; animation-delay: calc(var(--d) * 1.2s); }
.dg-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(255,255,255,.22), rgba(220,255,235,.18) 60%, rgba(45,212,191,.2)); border: 1px solid rgba(255,255,255,.16); margin-bottom: 6px; }
.dg-ico svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dg-n { position: absolute; top: 16px; right: 18px; font-size: 12px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.dg-node b { font-size: 21px; letter-spacing: -.03em; line-height: 1.1; }
.dg-node p { color: var(--muted); font-size: 14px; line-height: 1.45; }
@keyframes dgPulse { 0%, 22%, 100% { border-color: var(--line); box-shadow: none; } 8% { border-color: rgba(134,239,172,.7); box-shadow: 0 0 0 4px rgba(34,197,94,.12), 0 20px 50px -20px rgba(34,197,94,.6); } }
.dg-link { flex: 0 0 92px; position: relative; display: grid; place-items: center; }
.dg-link i { position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; border-radius: 3px; translate: 0 -50%; background: repeating-linear-gradient(90deg, #ffffff 0 8px, transparent 8px 16px); background-size: 32px 100%; animation: dgFlow .9s linear infinite; filter: drop-shadow(0 0 6px rgba(134,239,172,.8)); }
.dg-link i::after { content: ""; position: absolute; right: -4px; top: 50%; translate: 0 -50%; border: 6px solid transparent; border-left: 8px solid #ffffff; border-right: 0; }
.dg-link.ac i { background-image: repeating-linear-gradient(90deg, #a7f3d0 0 8px, transparent 8px 16px); }
.dg-link.ac i::after { border-left-color: #a7f3d0; }
.dg-link.out i { background-image: repeating-linear-gradient(90deg, #4ade80 0 8px, transparent 8px 16px); }
.dg-link.out i::after { border-left-color: #4ade80; }
.dg-link.both i { background-image: repeating-linear-gradient(90deg, #2dd4bf 0 8px, transparent 8px 16px); animation-direction: alternate; animation-duration: 1.8s; }
.dg-link.both i::after { border-left-color: #2dd4bf; }
.dg-link.both i::before { content: ""; position: absolute; left: -4px; top: 50%; translate: 0 -50%; border: 6px solid transparent; border-right: 8px solid #2dd4bf; border-left: 0; }
.dg-tag { position: absolute; top: calc(50% - 34px); font-size: 9.5px; max-width: 86px; text-align: center; line-height: 1.2; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); white-space: normal; padding: 3px 7px; border-radius: 99px; background: rgba(10,20,16,.85); border: 1px solid var(--line-2); }
@keyframes dgFlow { to { background-position: 32px 0; } }
.dg-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 14px; }
.dg-note span { display: inline-flex; align-items: center; gap: 8px; }
.dg-note i { width: 22px; height: 3px; border-radius: 3px; display: inline-block; }
@media (max-width: 1000px) {
  .diagram { flex-direction: column; }
  .dg-node { grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .dg-ico { grid-row: span 2; margin: 0; }
  .dg-node p { grid-column: 2; }
  .dg-link { flex-basis: 58px; }
  .dg-link i { left: 50%; right: auto; top: 6px; bottom: 6px; width: 3px; height: auto; translate: -50% 0; background-image: repeating-linear-gradient(180deg, #ffffff 0 8px, transparent 8px 16px); background-size: 100% 32px; animation-name: dgFlowV; }
  .dg-link.ac i { background-image: repeating-linear-gradient(180deg, #a7f3d0 0 8px, transparent 8px 16px); }
  .dg-link.out i { background-image: repeating-linear-gradient(180deg, #4ade80 0 8px, transparent 8px 16px); }
  .dg-link.both i { background-image: repeating-linear-gradient(180deg, #2dd4bf 0 8px, transparent 8px 16px); }
  .dg-link i::after { right: auto; left: 50%; top: auto; bottom: -4px; translate: -50% 0; border: 6px solid transparent; border-top: 8px solid; border-top-color: inherit; border-bottom: 0; }
  .dg-link i::after { border-top-color: #ffffff; } .dg-link.ac i::after { border-top-color: #a7f3d0; } .dg-link.out i::after { border-top-color: #4ade80; } .dg-link.both i::after { border-top-color: #2dd4bf; }
  .dg-link.both i::before { left: 50%; top: -4px; translate: -50% 0; border: 6px solid transparent; border-bottom: 8px solid #2dd4bf; border-top: 0; }
  .dg-tag { top: 50%; left: calc(50% + 18px); translate: 0 -50%; }
}
@keyframes dgFlowV { to { background-position: 0 32px; } }
