/* =========================================================
   JKwebsites — style
   Kolorystyka: ciepłe espresso (ciemne sekcje) + piasek (jasne sekcje)
   Akcent: gradient z logo (złoto → pomarańcz → czerwień)
   ========================================================= */

:root {
  --bg: #2D241E;
  --bg-deep: #241D18;
  --surface: #372D26;
  --surface-2: #42362D;
  --line: rgba(255, 214, 170, .13);
  --text: #F7EFE6;
  --muted: #CDBBA9;

  --sand: #F4EEE7;
  --sand-2: #EADFD3;
  --card: #FFFCF8;
  --ink: #1F1711;
  --ink-muted: #66564A;
  --line-light: rgba(31, 23, 17, .1);

  --o1: #FFD27A;
  --o2: #FF9A2E;
  --o3: #FF6A00;
  --o4: #E8380D;
  --o-text: #B04508;            /* pomarańcz czytelny na jasnym tle (kontrast 4,9:1) */
  --grad: linear-gradient(120deg, var(--o1) 0%, var(--o2) 35%, var(--o3) 68%, var(--o4) 100%);

  --font-d: "Sora", system-ui, sans-serif;
  --font-b: "Manrope", system-ui, sans-serif;
  --radius: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 76px;
}

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.65 var(--font-b);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-d); margin: 0; line-height: 1.12; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--o2); color: var(--ink); }
:focus-visible { outline: 2px solid var(--o2); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section--light .grad { background: linear-gradient(120deg, #F08A1C, #E25A08 55%, #C8340B); -webkit-background-clip: text; background-clip: text; }

/* ---------- przyciski ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .85em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700; font-size: .98rem; line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary {
  background: var(--grad);
  background-size: 160% 100%;
  background-origin: border-box;
  color: #2A1406;
  box-shadow: 0 10px 30px -10px rgba(255, 106, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 106, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn--primary:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: var(--line); background: rgba(255, 255, 255, .04); color: var(--text); }
.btn--ghost:hover { border-color: rgba(255, 154, 46, .6); background: rgba(255, 154, 46, .08); }
.btn--dark { background: var(--ink); color: var(--sand); }
.btn--dark:hover { box-shadow: 0 14px 30px -12px rgba(31, 23, 17, .6); }
.btn--sm { padding: .65em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- pasek postępu + poświata kursora ---------- */
.progress {
  position: fixed; inset: 0 0 auto; height: 3px; z-index: 120;
  background: var(--grad);
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
}
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 40, .13), transparent 65%);
  pointer-events: none;
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow.is-on { opacity: 1; } }

/* ---------- INTRO: otwierany laptop, wjazd kamery w ekran ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: radial-gradient(ellipse 70% 60% at 50% 58%, #3A2C20 0%, #1E1813 62%, #16110D 100%);
  perspective: 1500px;
  transition: opacity .35s var(--ease), visibility .35s;
}
.intro.done { opacity: 0; visibility: hidden; }
html:not(.js) .intro, .no-preload .intro { display: none; }
.intro__scene { width: min(70vw, 760px); opacity: 0; translate: 0 24px; transition: transform .55s cubic-bezier(.7, 0, .2, 1); will-change: transform; }
.intro.play .intro__scene { animation: introIn .35s 0s var(--ease) forwards; }
@keyframes introIn { to { opacity: 1; translate: 0 0; } }
.intro__laptop { transform: rotateX(16deg); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.intro.zoom .intro__laptop { transform: rotateX(0deg); }
.intro__lid {
  position: relative; padding: 2.2% 2.2% 2.8%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #3A3633, #121110 42%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 80px -30px rgba(0, 0, 0, .9);
  transform-origin: 50% 100%; transform: rotateX(-94deg);
}
.intro.play .intro__lid { animation: lidOpen .55s .15s cubic-bezier(.3, .9, .25, 1) forwards, lidGlow .4s .5s ease forwards; }
@keyframes lidOpen { to { transform: rotateX(0deg); } }
@keyframes lidGlow { to { box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 120px -10px rgba(255, 130, 40, .45); } }
.intro__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #0A0908; }
.intro__screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 140, 40, .32), transparent 60%), #1C150F; opacity: 0; }
.intro.play .intro__screen::before { animation: fadeIn .25s .5s ease forwards; }
.intro__shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; }
.intro.play .intro__shot { animation: fadeIn .25s .82s ease forwards; }
.intro.dim .intro__shot, .intro.dim .intro__screen::before { animation: dimOut .22s ease forwards; }
@keyframes dimOut { from { opacity: 1; } to { opacity: 0; } }
.intro__logo { position: absolute; left: 50%; top: 50%; width: 17%; height: auto; translate: -50% -50%; opacity: 0; scale: .8; }
.intro.play .intro__logo { animation: logoIn .25s .52s var(--ease) forwards, fadeOut .2s .82s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes logoIn { to { opacity: 1; scale: 1; } }
.intro__base {
  position: relative; height: 0; padding-bottom: 3.4%; margin: 0 -7%;
  border-radius: 2px 2px 14px 14px / 2px 2px 22px 22px;
  background: linear-gradient(180deg, #5A5550 0%, #2E2B28 45%, #1A1816 100%);
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .9);
}
.intro__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #1A1816; }
.intro.zoom .intro__base { opacity: 0; transition: opacity .4s; }
.intro__skip {
  position: absolute; right: clamp(16px, 3vw, 32px); bottom: calc(clamp(16px, 3vw, 32px) + env(safe-area-inset-bottom));
  padding: .55em 1.1em; border-radius: 99px;
  border: 1px solid rgba(255, 214, 170, .2); background: rgba(255, 255, 255, .04);
  color: var(--muted); font-size: .85rem; font-weight: 600; cursor: pointer;
  transition: color .25s, border-color .25s;
}
.intro__skip:hover { color: var(--text); border-color: rgba(255, 154, 46, .6); }
/* telefon zamiast laptopa na małych ekranach (to samo tempo co laptop) */
.intro__phone { display: none; }
@media (max-width: 699px) {
  .intro__laptop { display: none; }
  .intro__scene { width: min(56vw, 250px); }
  .intro__phone {
    display: block; position: relative; padding: 3.2%;
    border-radius: 14% / 6.6%;
    background: linear-gradient(150deg, #3A3633, #0E0D0C 45%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 70px -25px rgba(0, 0, 0, .9);
    transform: perspective(900px) rotateX(48deg) translateY(18%) scale(.9);
    transition: box-shadow .5s;
  }
  .intro.play .intro__phone { animation: phoneIn .55s .15s cubic-bezier(.25, .9, .25, 1) forwards, phoneGlow .4s .5s ease forwards; }
  @keyframes phoneIn { to { transform: perspective(900px) rotateX(0deg) translateY(0) scale(1); } }
  @keyframes phoneGlow { to { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 70px -25px rgba(0, 0, 0, .9), 0 0 90px -10px rgba(255, 130, 40, .5); } }
  .intro__pscreen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 11% / 5.2%; background: #0A0908; }
  .intro__pscreen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255, 140, 40, .32), transparent 62%), #1C150F; opacity: 0; }
  .intro__pscreen::after { content: ""; position: absolute; z-index: 2; top: 1.6%; left: 50%; width: 30%; height: 2.8%; transform: translateX(-50%); border-radius: 99px; background: #000; }
  .intro.play .intro__pscreen::before { animation: fadeIn .25s .5s ease forwards; }
  .intro__pshot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
  .intro.play .intro__pshot { animation: fadeIn .25s .82s ease forwards; }
  .intro__plogo { position: absolute; left: 50%; top: 50%; width: 42%; height: auto; translate: -50% -50%; opacity: 0; scale: .8; }
  .intro.play .intro__plogo { animation: logoIn .25s .52s var(--ease) forwards, fadeOut .2s .82s ease forwards; }
  .intro.dim .intro__pshot, .intro.dim .intro__pscreen::before { animation: dimOut .22s ease forwards; }
  .intro.zoom .intro__pscreen::after { opacity: 0; transition: opacity .3s; }
}


/* ---------- nagłówek ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, border-color .4s, backdrop-filter .4s, height .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  --header-h: 66px;
  background: rgba(40, 32, 26, .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo { display: block; margin-right: auto; color: var(--text); }
.header__logo svg { height: 30px; width: auto; display: block; }
.nav { display: flex; gap: 30px; }
.nav a { position: relative; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .3s; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover, .nav a.is-active { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(36, 29, 24, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 20px) 24px 40px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.mobile-menu a:not(.btn) {
  font: 700 clamp(2rem, 9vw, 2.8rem)/1.25 var(--font-d); letter-spacing: -.03em;
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mobile-menu .btn { margin-top: 26px; align-self: flex-start; opacity: 0; transition: opacity .5s .35s; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .25s; }
.menu-open { overflow: hidden; }

/* ---------- tła z plamami światła ---------- */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: blob 18s ease-in-out infinite alternate; }
.blob--1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -8%; top: -12%; background: radial-gradient(circle, rgba(255, 106, 0, .55), transparent 65%); }
.blob--2 { width: 38vw; height: 38vw; max-width: 520px; max-height: 520px; left: -12%; bottom: -18%; background: radial-gradient(circle, rgba(255, 196, 110, .35), transparent 65%); animation-duration: 22s; }
.blob--3 { width: 26vw; height: 26vw; max-width: 380px; max-height: 380px; left: 38%; top: 30%; background: radial-gradient(circle, rgba(232, 56, 13, .3), transparent 65%); animation-duration: 26s; }
.hero__bg--soft .blob { opacity: .35; }
@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, 6%) scale(1.08); }
  100% { transform: translate(-5%, -3%) scale(.95); }
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 214, 170, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 214, 170, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 30px) 0 80px;
  overflow: clip;
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .5em 1em; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: .86rem; font-weight: 600; color: var(--muted);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #5BE38B; box-shadow: 0 0 0 0 rgba(91, 227, 139, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(91, 227, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 227, 139, 0); } }

.hero__title { font-size: clamp(2.7rem, 6.4vw, 5.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.04em; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .word { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.hero__title .line:nth-child(1) .word:nth-child(2) { transition-delay: .07s; }
.hero__title .rotator { transform: translateY(105%); transition: transform 1s .16s var(--ease); }
body.loaded .hero__title .word, body.loaded .hero__title .rotator { transform: none; }

.rotator { display: inline-grid; vertical-align: bottom; }
.rotator__word {
  grid-area: 1 / 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(105%);
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}
.rotator__word.is-active { opacity: 1; transform: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-105%); }

.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 33rem; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; font-weight: 600; color: var(--muted); }
.hero__checks li { display: flex; align-items: center; gap: .5em; }
.hero__checks .ic { color: var(--o2); stroke-width: 2.6; }

/* wizualizacja w hero */
.hero__visual { position: relative; aspect-ratio: 1 / 1.06; width: 100%; max-width: 560px; justify-self: end; }
[data-depth] { transition: translate .6s var(--ease); }

/* wycięte zdjęcie w tle hero */
.hero__photo {
  position: absolute; bottom: 0; right: max(-40px, calc((100% - 1220px) / 2 - 20px));
  height: 90%; aspect-ratio: 900 / 1117;
}
.hero__photo::before { /* poświata za postacią */
  content: ""; position: absolute; left: 0%; right: 0%; top: 4%; height: 70%;
  background: radial-gradient(circle at 52% 42%, rgba(255, 128, 30, .5), rgba(255, 106, 0, .16) 42%, transparent 66%);
  filter: blur(20px);
  animation: casePulse 8s ease-in-out infinite alternate;
}
.hero__photo img {
  position: relative; display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to left, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to left, transparent 0%, #000 22%);
  mask-composite: intersect;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
  opacity: 0; transform: translateY(24px) scale(.98); transform-origin: 50% 100%;
  transition: opacity 1.4s .3s var(--ease), transform 1.8s .3s var(--ease);
}
body.loaded .hero__photo img, html:not(.js) .hero__photo img { opacity: 1; transform: none; }

/* animacja postaci: oddech, głębia, światło za kursorem */
@property --lx { syntax: "<percentage>"; inherits: true; initial-value: 34%; }
@property --ly { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
.hero__figure {
  position: relative; width: 100%; height: 100%;
  transform-origin: 50% 100%;
  animation: breathe 7s ease-in-out infinite;
  transition: translate .9s var(--ease);
}
@keyframes breathe { 50% { scale: 1.012; } }
.hero__light {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(255, 226, 184, 1), rgba(255, 162, 72, .5) 20%, transparent 44%);
  mix-blend-mode: soft-light;
  -webkit-mask-image: url("../assets/img/jakub-hero.webp?v=3"), linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to left, transparent 0%, #000 22%);
  -webkit-mask-size: contain, 100% 100%, 100% 100%; -webkit-mask-position: 50% 100%, 0 0, 0 0; -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in, source-in;
  mask-image: url("../assets/img/jakub-hero.webp?v=3"), linear-gradient(to top, transparent 0%, #000 26%), linear-gradient(to left, transparent 0%, #000 22%);
  mask-size: contain, 100% 100%, 100% 100%; mask-position: 50% 100%, 0 0, 0 0; mask-repeat: no-repeat;
  mask-composite: intersect;
  opacity: 0; transition: opacity .6s var(--ease), --lx .5s var(--ease), --ly .5s var(--ease);
}
.hero__figure.is-tracking .hero__light { opacity: 1; }

.float {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(55, 45, 38, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
  animation: bob 6s ease-in-out infinite;
}
.float strong { display: block; font: 700 1.05rem/1.2 var(--font-d); }
.float span { display: block; font-size: .78rem; color: var(--muted); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.float--speed { right: 0; top: 44%; animation-delay: -1s; }
.float--speed strong { font-size: 1.45rem; }
.ring { width: 46px; height: 46px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 214, 170, .14); stroke-width: 4.5; }
.ring .ring__val { stroke: #5BE38B; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s 1.2s var(--ease); }
body.loaded .ring .ring__val { stroke-dashoffset: 2; }
.float--lead { left: 0; top: auto; bottom: 24%; animation-duration: 7s; }
.float--name { right: 4%; bottom: 4%; animation-duration: 8s; animation-delay: -3s; }
.float--name .pill__dot { flex: none; }
.float__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #2A1406; }
.float--lead .float__icon { animation: nudge 5s 2.5s infinite; }
@keyframes nudge { 0%, 88%, 100% { transform: none; } 91% { transform: rotate(-12deg) scale(1.08); } 94% { transform: rotate(10deg) scale(1.08); } 97% { transform: rotate(-6deg); } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; z-index: 2; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--o2); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- TICKER (pas pod hero) ---------- */
.ticker {
  position: relative; z-index: 3; overflow: hidden;
  padding: 20px 0;
  background:
    linear-gradient(90deg, transparent, rgba(255, 154, 46, .55), transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(255, 154, 46, .25), transparent) bottom / 100% 1px no-repeat,
    radial-gradient(ellipse 55% 140% at 50% 50%, rgba(255, 106, 0, .13), transparent 70%),
    var(--bg-deep);
}
.ticker__row {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.ticker__track { display: flex; width: max-content; will-change: transform; }
.ticker__group { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); }
.ticker__row--chips .ticker__group { gap: 12px; padding-right: 12px; }
.t-chip {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .6em 1.15em; border-radius: 99px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .035);
  color: var(--muted); font-size: .92rem; font-weight: 700; white-space: nowrap;
  transition: border-color .3s, color .3s, background-color .3s;
}
.t-chip .ic { color: var(--o2); }
.t-chip:hover { border-color: rgba(255, 154, 46, .5); color: var(--text); background: rgba(255, 154, 46, .08); }

/* ---------- sekcje ---------- */
.section { position: relative; padding: clamp(84px, 10vw, 140px) 0; overflow: clip; }
.section > .container { position: relative; z-index: 1; }
.section--light { background: var(--sand); color: var(--ink); }
.section--dark { background: var(--bg); }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 60px; flex-wrap: wrap; }
.section__head--split > div { max-width: 640px; }
.section__head--split .section__lead { max-width: 380px; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin-bottom: 18px;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .18em;
  color: var(--o2);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--grad); }
.section--light .eyebrow { color: var(--o-text); }
.h2 { font-size: clamp(2rem, 4.3vw, 3.45rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; }
.h2--xl { font-size: clamp(2.3rem, 5.2vw, 4.2rem); }
.section__lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: var(--muted); max-width: 38rem; margin-bottom: 0; }
.section--light .section__lead { color: var(--ink-muted); }

/* reveal */
.js .reveal { opacity: 0; translate: 0 30px; transition: opacity .9s var(--ease), translate .9s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s; }
.js .reveal.is-in { opacity: 1; translate: none; }

/* spotlight (poświata pod kursorem na kartach) */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 154, 46, .14), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before { opacity: 1; }

/* ---------- BENTO (dlaczego) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bento__item {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line-light);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 40px -30px rgba(80, 50, 20, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.bento__item:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(80, 50, 20, .45); }
.bento__item--wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento__item h3 { font-size: 1.28rem; margin-bottom: 10px; }
.bento__item p { color: var(--ink-muted); margin: 0; }
.bento__item--wide h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bento__item--wide p { font-size: 1.06rem; max-width: 34rem; }
.bento__icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; background: var(--grad); color: #2A1406; font-size: 1.25rem; box-shadow: 0 10px 20px -10px rgba(255, 106, 0, .6); }
.bento__item--accent { background: var(--ink); color: var(--sand); border-color: transparent; background-image: radial-gradient(circle at 100% 0%, rgba(255, 106, 0, .35), transparent 55%); }
.bento__item--accent p { color: #CDBBA9; }

.funnel { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.funnel__bar {
  height: 46px; border-radius: 14px; width: var(--w);
  display: flex; align-items: center; padding: 0 18px;
  background: var(--sand-2); color: var(--ink-muted); font-weight: 700; font-size: .92rem;
  transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease);
}
.funnel__bar span { white-space: nowrap; opacity: 0; transition: opacity .5s .7s; }
.funnel__bar:nth-child(2) { transition-delay: .1s; } .funnel__bar:nth-child(3) { transition-delay: .2s; } .funnel__bar:nth-child(4) { transition-delay: .3s; }
.funnel__bar--hot { background: var(--grad); color: #2A1406; }
.is-in .funnel__bar { transform: none; }
.is-in .funnel__bar span { opacity: 1; }
.meter { margin-top: 22px; height: 10px; border-radius: 99px; background: var(--sand-2); overflow: hidden; }
.meter span { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, #5BE38B, #2DBE6C); transform-origin: left; transform: scaleX(0); transition: transform 1.6s .3s var(--ease); }
.is-in .meter span { transform: none; }

/* ---------- CENNIK ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px 24px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)), var(--surface);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.plan:hover { transform: translateY(-8px); border-color: rgba(255, 154, 46, .35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.plan--featured {
  border: 1.5px solid transparent;
  background: linear-gradient(180deg, #4A3B30, #3B2F27) padding-box, conic-gradient(from var(--ang), var(--o1), var(--o3), var(--o4), rgba(255, 214, 170, .15), var(--o1)) border-box;
  animation: spin 6s linear infinite;
  box-shadow: 0 40px 80px -40px rgba(255, 106, 0, .55);
  top: -14px;
}
.plan--featured:hover { transform: translateY(-8px); }
@keyframes spin { to { --ang: 360deg; } }
.plan__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 6px 16px; border-radius: 99px;
  background: var(--grad); color: #2A1406;
  font-size: .76rem; font-weight: 800; letter-spacing: .04em; white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(255, 106, 0, .7);
}
.plan__head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; margin-bottom: 18px; }
.plan__icon { grid-row: span 2; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 154, 46, .13); color: var(--o2); font-size: 1.2rem; }
.plan--featured .plan__icon { background: var(--grad); color: #2A1406; }
.plan__name { font-size: 1.32rem; font-weight: 800; line-height: 1.15; }
.plan__type { margin: 0; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.plan__desc { color: var(--muted); font-size: .95rem; min-height: 7.4em; }
.plan__price { font: 800 clamp(2.2rem, 2.8vw, 2.7rem)/1 var(--font-d); letter-spacing: -.04em; margin: 4px 0 14px; }
.plan__price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan__price--text { font-size: clamp(1.75rem, 2.2vw, 2.1rem); padding: .12em 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan--custom {
  border: 1px dashed rgba(255, 154, 46, .45);
  background: radial-gradient(circle at 100% 0%, rgba(255, 154, 46, .14), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)), var(--surface);
}
.plan__badge--soft { background: var(--surface-2); color: var(--o1); border: 1px solid rgba(255, 154, 46, .45); box-shadow: none; }
.plan--featured .plan__price span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__time { display: inline-flex; align-items: center; gap: .5em; align-self: flex-start; padding: .45em .9em; border-radius: 99px; background: rgba(255, 154, 46, .1); color: var(--o1); font-size: .86rem; font-weight: 700; margin-bottom: 24px; }
.plan__list { display: grid; gap: 12px; padding-top: 24px; margin-bottom: 30px; border-top: 1px dashed var(--line); }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.plan__list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 154, 46, .14); color: var(--o2); stroke-width: 3; margin-top: 1px; }
.plan--featured .plan__list .ic { background: var(--grad); color: #2A1406; }
.plan .btn { margin-top: auto; }

.addons { margin-top: clamp(48px, 6vw, 72px); }
.addons__title { text-align: center; font-weight: 700; color: var(--muted); margin-bottom: 20px; }
.addons__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.addon { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .3s, background-color .3s; }
.addon:hover { border-color: rgba(255, 154, 46, .4); background: rgba(255, 154, 46, .06); }
.addon > .ic { font-size: 1.35rem; color: var(--o2); }
.addon strong { display: block; font-size: .95rem; }
.addon span { font-size: .85rem; color: var(--muted); }

/* ---------- REALIZACJE: case study Inverno ---------- */
.case {
  --gold: #D8B26E;
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(30px, 4vw, 60px); align-items: center;
  padding: clamp(28px, 4.5vw, 64px);
  border-radius: 36px;
  background: radial-gradient(circle at 0% 0%, #2B2116, transparent 55%), #15110D;
  color: var(--text);
  box-shadow: 0 50px 90px -50px rgba(40, 25, 10, .8);
}
.case__glow {
  position: absolute; z-index: -1; left: 8%; top: 10%; width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 178, 110, .32), transparent 62%);
  filter: blur(30px);
  animation: casePulse 7s ease-in-out infinite alternate;
}
@keyframes casePulse { to { transform: scale(1.15) translate(4%, 3%); opacity: .7; } }

/* scena z urządzeniami */
.case__stage { position: relative; display: block; aspect-ratio: 1.22 / 1; perspective: 1600px; cursor: pointer; }
.case__stage [data-case-depth] { transition: translate .7s var(--ease); }

.laptop { position: absolute; left: 0; top: 4%; width: 88%; }
.laptop__lid {
  position: relative;
  padding: 2.4% 2.4% 3%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #3A3633, #121110 40%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 70px -30px rgba(0, 0, 0, .9);
  transform-origin: 50% 100%;
  transform: rotateX(-88deg);
  transition: transform 1.4s .2s cubic-bezier(.2, .9, .25, 1);
}
.laptop__lid::before { content: ""; position: absolute; top: 1%; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #2A2A2D; }
.case__stage.is-in .laptop__lid { transform: rotateX(0deg); }
.laptop__screen { position: relative; overflow: hidden; border-radius: 6px; background: #0B0B0B; }
.laptop__screen::after { /* odblask szkła */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .1) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, .04));
}
.laptop__bar { display: flex; align-items: center; gap: 5px; padding: 1.2% 2%; background: #1E1B18; }
.laptop__bar i { width: 7px; height: 7px; border-radius: 50%; background: #3A3632; }
.laptop__bar span {
  display: inline-flex; align-items: center; gap: 5px;
  margin: 0 auto; padding: 2px 14px; border-radius: 99px;
  background: #2A2622; color: #B9A995; font-size: clamp(.75rem, .9vw, .8rem); font-weight: 600;
}
.laptop__bar .ic { width: 10px; height: 10px; color: #5BE38B; }
.laptop__view { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; }
.laptop__base {
  position: relative; height: 0; padding-bottom: 3.2%;
  margin: 0 -7%;
  border-radius: 2px 2px 14px 14px / 2px 2px 22px 22px;
  background: linear-gradient(180deg, #5A5550 0%, #2E2B28 45%, #1A1816 100%);
  box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .9);
}
.laptop__base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #1A1816; }

.iphone {
  position: absolute; right: 0; bottom: 0; width: 25%;
  padding: 2.2%;
  border-radius: 13% / 6.2%;
  background: linear-gradient(150deg, #3A3633, #0E0D0C 45%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 60px -20px rgba(0, 0, 0, .9);
  opacity: 0; transform: translate(40%, 20%) rotate(8deg);
  transition: opacity 1s .9s var(--ease), transform 1.3s .9s var(--ease);
}
.case__stage.is-in .iphone { opacity: 1; transform: rotate(-3deg); }
.iphone__screen { position: relative; overflow: hidden; aspect-ratio: 9 / 19.5; border-radius: 11% / 5.2%; background: #0B0B0B; }
.iphone__screen::before { content: ""; position: absolute; z-index: 2; top: 2%; left: 50%; width: 32%; height: 3.2%; transform: translateX(-50%); border-radius: 99px; background: #000; }

/* przewijane zrzuty */
.shot { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; }
.case__stage.is-in .shot--desktop { animation: scrollDesktop 26s 2s cubic-bezier(.65, 0, .35, 1) infinite; }
.case__stage.is-in .shot--mobile { animation: scrollMobile 30s 2.6s cubic-bezier(.65, 0, .35, 1) infinite; }
.case__stage:hover .shot { animation-play-state: paused; }
/* desktop: widoczne 900 z 4420 px → max przesunięcie 79.6% */
@keyframes scrollDesktop {
  0%, 8%   { transform: translateY(0); }
  20%, 28% { transform: translateY(-20%); }
  40%, 48% { transform: translateY(-40.5%); }
  60%, 68% { transform: translateY(-60%); }
  80%, 90% { transform: translateY(-79.6%); }
  100%     { transform: translateY(0); }
}
/* telefon: widoczne ~2.17 z 17.95 szer. → max przesunięcie 87.9% */
@keyframes scrollMobile {
  0%, 6%   { transform: translateY(0); }
  16%, 22% { transform: translateY(-17%); }
  32%, 38% { transform: translateY(-34%); }
  48%, 54% { transform: translateY(-52%); }
  64%, 70% { transform: translateY(-70%); }
  82%, 90% { transform: translateY(-87.9%); }
  100%     { transform: translateY(0); }
}

.case__chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .55em .95em; border-radius: 99px;
  background: rgba(30, 24, 19, .75);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(216, 178, 110, .3);
  color: #F3E6CF; font-size: .8rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .8);
  opacity: 0; scale: .7;
  transition: opacity .6s var(--ease), scale .6s var(--ease), translate .7s var(--ease);
}
.case__chip .ic { color: var(--gold); }
.case__chip--1 { left: -2%; top: 58%; transition-delay: 1.5s; animation: bob 6s 2s ease-in-out infinite; }
.case__chip--2 { right: 8%; top: -1%; transition-delay: 1.7s; animation: bob 7s 2.4s ease-in-out infinite; }
.case__chip--3 { left: 30%; bottom: 2%; transition-delay: 1.9s; animation: bob 8s 2.8s ease-in-out infinite; }
.case__stage.is-in .case__chip { opacity: 1; scale: 1; }

.case__visit {
  position: absolute; z-index: 4; left: 44%; top: 42%;
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.3em; border-radius: 99px;
  background: var(--grad); color: #2A1406; font-weight: 800; font-size: .92rem;
  box-shadow: 0 14px 30px -10px rgba(255, 106, 0, .8);
  transform: translate(-50%, -50%) scale(.8); opacity: 0;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.case__visit .ic { transform: rotate(-45deg); }
.case__stage:hover .case__visit, .case__stage:focus-visible .case__visit { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* opis */
.case__kicker { display: inline-flex; align-items: center; gap: .6em; margin-bottom: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.case__kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #F2D7A0, #B8893F); }
.case__title {
  font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 18px;
  background: linear-gradient(110deg, #FFF3DC 0%, #E7C88E 40%, #B8893F 60%, #FFF3DC 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldShine 6s linear infinite;
}
@keyframes goldShine { to { background-position: -250% 0; } }
.case__desc { color: var(--muted); font-size: 1.04rem; }
.case__list { display: grid; gap: 10px; margin: 22px 0; }
.case__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.case__list .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; margin-top: 2px; background: rgba(216, 178, 110, .16); color: var(--gold); stroke-width: 3; }
.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.case__tags em { font-style: normal; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.case__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.next-project {
  display: flex; align-items: center; gap: 22px;
  margin-top: 22px; padding: 22px 26px;
  border-radius: 26px;
  background: var(--card); border: 1px solid var(--line-light);
  box-shadow: 0 20px 40px -30px rgba(80, 50, 20, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.next-project:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(80, 50, 20, .45); }
.next-project__mark { flex: none; width: 56px; height: auto; padding: 12px 10px; border-radius: 16px; background: var(--ink); box-sizing: content-box; transition: transform .6s var(--ease); }
.next-project:hover .next-project__mark { transform: rotate(-8deg); }
.next-project > div { margin-right: auto; }
.next-project strong { display: block; font: 700 1.25rem/1.3 var(--font-d); }
.next-project > div span { color: var(--ink-muted); }

/* ---------- PROCES ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps__line { position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px; border-radius: 2px; background: var(--line); }
.steps__line span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__icon {
  position: relative; width: 70px; height: 70px; margin: 0 auto 22px;
  display: grid; place-items: center; border-radius: 22px;
  background: var(--surface-2); border: 0; box-shadow: inset 0 0 0 1px var(--line);
  color: var(--o2); font-size: 1.5rem;
  transition: background .6s var(--ease), color .6s, transform .6s var(--ease), box-shadow .6s;
}
.step.is-lit .step__icon { background: var(--grad); color: #2A1406; transform: translateY(-4px) rotate(-4deg); box-shadow: 0 16px 30px -12px rgba(255, 106, 0, .7); }
.step__num { display: block; margin-bottom: 10px; font: 800 .82rem var(--font-d); letter-spacing: .14em; color: var(--o2); }
.step h3 { font-size: 1.22rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- O MNIE ---------- */
.about { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.about__photos { position: relative; padding: 0 4% 0 0; }
.photo { position: relative; margin: 0; overflow: hidden; background: linear-gradient(160deg, #EADFD3, #D9C6B3); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.photo--main { aspect-ratio: 4 / 5; border-radius: 30px; box-shadow: 0 40px 70px -40px rgba(80, 50, 20, .55); }
.photo__ph { position: absolute; inset: 14px; border: 2px dashed rgba(31, 23, 17, .18); border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; color: var(--ink-muted); font-weight: 700; }
.photo--main .photo__ph { border-radius: 20px; }
.photo__ph .ic { width: 52px; height: 52px; stroke-width: 1.4; opacity: .6; }
.photo__ph small { font-weight: 500; font-size: .76rem; opacity: .75; }
.about__badge { position: absolute; left: -18px; top: 9%; z-index: 3; width: 86px; height: 86px; padding: 20px 17px; border-radius: 24px; background: var(--ink); box-shadow: 0 20px 40px -15px rgba(31, 23, 17, .7); transform: rotate(-8deg); animation: bob 7s ease-in-out infinite; display: grid; place-items: center; }
.about__badge svg { width: 100%; height: auto; }
.about__status {
  position: absolute; right: -2%; bottom: 9%; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 16px; border-radius: 18px;
  background: rgba(255, 252, 248, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-light);
  box-shadow: 0 20px 40px -20px rgba(80, 50, 20, .55);
  animation: bob 7s ease-in-out infinite;
}
.about__status .pill__dot { flex: none; }
.about__status strong { display: block; font: 700 .98rem/1.2 var(--font-d); color: var(--ink); }
.about__status span:not(.pill__dot) { display: block; font-size: .8rem; color: var(--ink-muted); }
.about__copy > p { color: var(--ink-muted); font-size: 1.07rem; }
.about__copy > .about__role {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .2em .5em;
  margin: -4px 0 22px; padding: .5em 1em; border-radius: 99px;
  background: var(--card); border: 1px solid var(--line-light);
  font-size: .9rem; font-weight: 700; color: var(--ink);
}
.about__role::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.about__quote {
  position: relative; margin: 26px 0 0; padding: 22px 24px 20px 58px;
  border-radius: 20px;
  background: var(--ink); color: var(--sand);
  background-image: radial-gradient(circle at 100% 0%, rgba(255, 106, 0, .3), transparent 55%);
}
.about__quote::before {
  content: "“"; position: absolute; left: 18px; top: 6px;
  font: 800 3.4rem/1 var(--font-d);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__quote p { margin: 0 0 8px; font: 600 1.06rem/1.5 var(--font-d); letter-spacing: -.01em; }
.about__quote footer { font-size: .86rem; font-weight: 700; color: var(--o1); }
.about__copy strong { color: var(--ink); }
.about__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 30px 0 34px; }
.about__facts li { display: flex; gap: 14px; align-items: center; padding: 15px 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line-light); }
.about__facts .ic { font-size: 1.3rem; color: var(--o-text); }
.about__facts strong { display: block; font-size: .95rem; line-height: 1.3; }
.about__facts span { font-size: .84rem; color: var(--ink-muted); }

/* ---------- GWARANCJE ---------- */
.guarantees { position: relative; background: var(--bg-deep); border-block: 1px solid var(--line); padding: 46px 0; }
.guarantees__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; }
.guarantee > .ic { width: 48px; height: 48px; padding: 12px; border-radius: 15px; background: rgba(255, 154, 46, .12); color: var(--o2); }
.guarantee strong { display: block; font: 700 1.04rem/1.3 var(--font-d); margin: 3px 0 3px; }
.guarantee span { font-size: .9rem; color: var(--muted); }
.guarantee--hot > .ic { background: var(--grad); color: #2A1406; box-shadow: 0 10px 22px -10px rgba(255, 106, 0, .8); }
.guarantee--hot strong { color: var(--o1); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__intro .section__lead { margin-bottom: 30px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0;
  font: 600 clamp(1.02rem, 1.5vw, 1.15rem)/1.4 var(--font-d);
  cursor: pointer; list-style: none;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--o1); }
.faq__plus { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: transform .45s var(--ease), background .3s, color .3s, border-color .3s; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--grad) border-box; color: #2A1406; border-color: transparent; }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--muted); padding: 0 50px 24px 0; margin: 0; }
.faq__item[open] .faq__body { animation: faq .5s var(--ease); }
@keyframes faq { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- KONTAKT ---------- */
.contact { background: var(--bg-deep); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact__channels { display: grid; gap: 12px; margin-top: 34px; }
.contact__channels a {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  font-weight: 700;
  transition: border-color .3s, transform .4s var(--ease), background-color .3s;
}
.contact__channels a:hover { border-color: rgba(255, 154, 46, .5); background: rgba(255, 154, 46, .06); transform: translateX(6px); }
.contact__channels span { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad); color: #2A1406; font-size: 1.15rem; flex: none; }
.contact__channels small { display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

.form {
  display: grid; gap: 18px;
  padding: clamp(24px, 3.5vw, 38px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)), var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: .86rem; font-weight: 700; color: var(--muted); padding: 0; margin-bottom: 8px; }
.field > span { margin-bottom: 0; }
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(20, 15, 12, .3);
  outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(205, 187, 169, .5); }
.field input:focus, .field textarea:focus { border-color: var(--o2); box-shadow: 0 0 0 4px rgba(255, 154, 46, .15); background: rgba(20, 15, 12, .45); }
.field .is-invalid { border-color: #FF6B5A; box-shadow: 0 0 0 4px rgba(255, 107, 90, .15); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: .6em 1.05em; border-radius: 99px; border: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--muted); transition: all .3s var(--ease); }
.chip:hover span { border-color: rgba(255, 154, 46, .5); color: var(--text); }
.chip input:checked + span { background: var(--grad) border-box; color: #2A1406; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(255, 106, 0, .7); }
.chip input:focus-visible + span { outline: 2px solid var(--o2); outline-offset: 2px; }
.form__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }
.form__note .ic { color: #5BE38B; }
.form__status { margin: 0; text-align: center; font-weight: 700; color: var(--o1); }
.form__status:empty { display: none; }

/* ---------- STOPKA ---------- */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.footer__logo { display: inline-block; color: var(--text); margin-bottom: 14px; }
.footer__logo svg { height: 32px; width: auto; display: block; }
.footer__brand p { color: var(--muted); margin: 0; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-weight: 600; color: var(--muted); }
.footer__nav a { display: inline-block; padding: 4px 0; }
.footer__nav a:hover { color: var(--text); }
.footer__top { display: inline-block; padding: 4px 0; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.footer__top:hover { color: var(--o1); }

/* ---------- przycisk przyklejony (telefon) ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80;
  align-items: center; justify-content: center; gap: .6em;
  padding: 16px; border-radius: 18px;
  background: var(--grad); color: #2A1406; font-weight: 800;
  box-shadow: 0 16px 40px -10px rgba(255, 106, 0, .7), 0 0 0 1px rgba(255, 255, 255, .2) inset;
  transform: translateY(160%); transition: transform .5s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1180px) {
  .guarantees__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; gap: 30px 20px; }
  .plan--featured { top: 0; }
  .plan__desc { min-height: 0; }
  .nav { gap: 22px; }
  .addons__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .header__inner { gap: 14px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); padding-bottom: 70px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .hero__visual { justify-self: center; max-width: 520px; margin-top: 10px; }
  .hero__photo { right: 50%; translate: 50% 0; height: auto; width: min(100%, 460px); }
  .float--speed { top: 56%; }
  .scroll-hint { display: none; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide { grid-column: span 2; grid-row: auto; }

  .plan--featured:hover { transform: translateY(-8px); }
  .plan__desc { min-height: 0; }

  .steps { grid-template-columns: 1fr; gap: 34px; padding-left: 4px; }
  .steps__line { top: 10px; bottom: 10px; left: 38px; right: auto; width: 2px; height: auto; }
  .steps__line span { width: 100%; height: 100%; transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step { text-align: left; padding: 0 0 0 100px; min-height: 70px; }
  .step__icon { position: absolute; left: 0; top: 0; margin: 0; }

  .case { grid-template-columns: 1fr; }
  .case__stage { max-width: 640px; width: 100%; margin-inline: auto; }
  .about { grid-template-columns: 1fr; }
  .about__photos { max-width: 520px; width: 100%; margin-inline: auto; }

  .guarantees__grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee--hot { grid-column: 1 / -1; }
  .faq { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .contact__inner { grid-template-columns: 1fr; }

  .sticky-cta { display: flex; }
  .footer { padding-bottom: 100px; }
}

@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; }
  .bento__item--wide { grid-column: auto; }
  .bento__item { padding: 26px 24px; }
  .section__head--split { align-items: flex-start; }
}

@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.4rem, 11.5vw, 3.6rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { aspect-ratio: 1 / 1.08; }
  .float { padding: 9px 12px; gap: 9px; border-radius: 14px; }
  .float strong { font-size: .9rem; }
  .float span { font-size: .7rem; }
  .float--speed strong { font-size: 1.15rem; }
  .ring { width: 36px; height: 36px; }
  .float__icon { width: 32px; height: 32px; border-radius: 10px; }
  .float--speed { display: none; }
  /* karty przy krawędziach ekranu, po bokach postaci — nie zasłaniają zdjęcia */
  .hero__visual .float { max-width: 26%; padding: 7px 9px; gap: 6px; border-radius: 11px; }
  .hero__visual .float div span { display: none; }
  .hero__visual .float strong { font-size: .75rem; line-height: 1.2; }
  .hero__visual .float__icon { width: 20px; height: 20px; border-radius: 6px; font-size: .8rem; }
  .float--lead { left: -10px; top: 30%; bottom: auto; }
  .float--name { right: -10px; top: 52%; bottom: auto; }

  .case { border-radius: 26px; }
  .case__chip { font-size: .75rem; }
  .footer__nav { gap: 0 22px; }
  .footer__nav a, .footer__top { padding: 11px 0; } /* min. 44 px wysokości pod palec */
  .chip span { min-height: 44px; display: inline-flex; align-items: center; }
  .header__logo, .footer__logo { padding: 7px 0; }
  .footer__nav a { min-width: 44px; }
  .case__chip--3 { display: none; }
  .case__actions .btn { flex: 1 1 100%; }
  .next-project { flex-wrap: wrap; padding: 20px; }
  .next-project .btn { width: 100%; }
  .addons__list { grid-template-columns: 1fr; }
  .guarantees__grid { grid-template-columns: 1fr; gap: 20px; }
  .about__facts { grid-template-columns: 1fr; }
  .about__status { padding: 10px 14px; }
  .about__badge { width: 68px; height: 68px; padding: 16px 13px; left: -6px; }
  .form__row { grid-template-columns: 1fr; }
  .plan { padding: 30px 22px 24px; }
  .faq__body p { padding-right: 0; }
  .step { padding-left: 88px; }
  .footer__bottom { flex-direction: column; }
}

/* ---------- ograniczony ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: none; }
}
