/* ============================================================
   FAME PRODUCTION — fameproduction.eu
   Redesign: "Signal" — editorial dark, WebGL, near-monochrome luxe
   ============================================================ */

:root {
  /* palette — deep, rich, restrained */
  --bg:       #07070B;
  --bg-2:     #0B0B11;
  --surface:  #101019;
  --ink:      #F3F3F8;
  --ink-dim:  #9E9EB4;
  --ink-faint:#5C5C74;
  --accent:   #018BD3;
  --accent-2: #35BBFF;
  --line:     rgba(255,255,255,.09);
  --line-2:   rgba(255,255,255,.05);

  --f-disp: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-serif:'Instrument Serif', Georgia, serif;
  --f-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22,.9,.28,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --nav-h: 84px;
  --pad: clamp(20px, 5vw, 88px);
  --beat: 484ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Białe płótno dokumentu: strefa nad viewportem (pasek statusu iPhone'a, overscroll)
   pokazuje tło html — ma zlewać się z białym headerem, nie świecić czernią. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: #fff; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::after { /* subtle grain */
  content: ''; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: #00131f; }

/* Custom scrollbar (dark) */
* { scrollbar-width: thin; scrollbar-color: rgba(1,139,211,.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(1,139,211,.28); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(1,139,211,.5); }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 500;
  background: var(--accent); color: #001018; padding: 10px 18px; border-radius: 6px;
  font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Type helpers ---------- */
.serif { font-family: var(--f-serif); font-weight: 400; }
.serif em { font-style: italic; }

.label, .sec-index, .cinfo-label, .clients-cap, .trusted-label, .deck-label, .vdj-meta {
  font-family: var(--f-body);
  font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 600;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  display: none; place-items: center;
  position: fixed; top: 0; left: 0; z-index: 9000;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: width .3s var(--ease-out), height .3s var(--ease-out),
              background .3s, opacity .3s;
  mix-blend-mode: difference;
  will-change: transform;
}
body.has-cursor .cursor { display: grid; }
.cursor.is-hover {
  width: 58px; height: 58px;
  background: rgba(255,255,255,.14);
  mix-blend-mode: normal;
  border: 1px solid rgba(255,255,255,.35);
}
.cursor.is-label { width: 84px; height: 84px; background: var(--accent); mix-blend-mode: normal; border: 0; }
.cursor-label {
  font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .06em;
  color: #00131f; text-transform: uppercase; opacity: 0; transition: opacity .25s;
  white-space: nowrap;
}
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-down { transform: translate(-50%,-50%) scale(.7); }
body.has-cursor { cursor: none; }
body.has-cursor a, body.has-cursor button, body.has-cursor [data-cursor] { cursor: none; }

/* ============================================================
   PRELOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 800;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-word {
  font-family: var(--f-disp); font-weight: 800; font-size: clamp(22px, 4vw, 34px);
  letter-spacing: -.02em; color: var(--ink);
}
.loader-word i { color: var(--accent); font-style: normal; }
.loader-bar { width: 180px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; width: 0; height: 100%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.progress {
  position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 2px; z-index: 400;
  background: transparent; pointer-events: none;
}
.progress i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(1,139,211,.5);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  /* JASNY chrome: logo klienta jest projektowane na biel — header ma białe, kryjące tło.
     Kolory dzieci przełączone scope'owanymi zmiennymi (jak .sec--invert). */
  --ink: #0D0D15;
  --ink-dim: #3F3F54;
  --ink-faint: #8A8A9E;
  --line: rgba(10,10,25,.16);
  --line-2: rgba(10,10,25,.08);
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  /* viewport-fit=cover: nav sięga fizycznej góry ekranu, treść schodzi pod notch o safe-area */
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; gap: 28px;
  padding-left: var(--pad); padding-right: var(--pad);
  background: #fff;
  color: var(--ink);
  transition: height .35s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid rgba(10,10,25,.08);
}
.nav.is-scrolled {
  height: calc(66px + env(safe-area-inset-top, 0px));
  box-shadow: 0 10px 30px rgba(5,10,30,.10);
}
/* nadpisania hardcode'ów pod jasny chrome */
.nav .cta-pill { color: #fff; }
.nav .lang-menu { background: rgba(255,255,255,.98); box-shadow: 0 18px 44px rgba(5,10,30,.16); }
/* przy chowaniu nav ląduje w strefie NAD viewportem, która na iPhone bywa widoczna
   (za paskiem statusu) — dlatego oprócz przesunięcia całkowicie go wygaszamy */
.nav.is-hidden { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.nav { transition: transform .5s var(--ease), opacity .35s var(--ease), background .4s var(--ease), height .35s var(--ease), border-color .4s; }
/* iOS przycina elementy FIXED do viewportu — dlatego biała czapa nad headerem jest
   elementem STICKY (kompozytowany, renderuje się w płótnie dokumentu, czyli również
   w strefie paska statusu nad viewportem). Div .ios-status-cap = pierwsze dziecko body. */
.ios-status-cap { position: sticky; top: 0; height: 0; z-index: 299; pointer-events: none; }
.ios-status-cap::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: #fff;
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-logo { height: 46px; width: auto; display: block; }
.brand-mark { height: 34px; width: auto; display: block; }
.brand-word { font-family: var(--f-disp); font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.brand-word b { color: var(--ink-dim); font-weight: 500; }

.nav-links { margin-left: auto; display: flex; gap: clamp(4px, 1.2vw, 20px); }
.nav-links a {
  position: relative; padding: 8px 4px;
  font-size: 14px; font-weight: 500; color: var(--ink-dim);
  transition: color .3s;
}
.nav-links a span { position: relative; }
.nav-links a span::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px;
  background: var(--accent); transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active span::after { right: 0; }

.nav-right { display: flex; align-items: center; gap: 16px; margin-left: 8px; }

/* Language dropdown */
.lang { position: relative; }
.lang-toggle {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
  transition: border-color .25s, background .25s;
}
.lang-toggle:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.03); }
.lang-caret {
  width: 7px; height: 7px; border-right: 1.5px solid var(--ink-dim); border-bottom: 1.5px solid var(--ink-dim);
  transform: rotate(45deg) translate(-1px,-1px); transition: transform .3s var(--ease);
}
.lang[data-open="true"] .lang-caret { transform: rotate(-135deg) translate(-1px,-1px); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 156px;
  background: rgba(16,16,25,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 12px; padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.lang[data-open="true"] .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li + li { margin-top: 2px; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-dim);
  transition: background .2s, color .2s;
}
.lang-menu button:hover { background: rgba(255,255,255,.05); color: var(--ink); }
.lang-menu button.is-active { color: var(--accent); }
.lang-menu button.is-active::after { content: '•'; color: var(--accent); }

.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 100px;
  background: var(--ink); color: #07070B;
  font-size: 13px; font-weight: 700; letter-spacing: -.01em;
  transition: background .3s, color .3s, transform .3s var(--ease-out);
}
.cta-pill i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  transition: transform .3s var(--ease-out);
}
.cta-pill:hover { background: var(--accent); color: #00131f; }
.cta-pill:hover i { background: #00131f; transform: scale(1.4); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--ink); transition: .35s var(--ease); }
.burger span:nth-child(2) { width: 18px; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); width: 26px; }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); width: 26px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(1,139,211,.5); }
  70% { box-shadow: 0 0 0 12px rgba(1,139,211,0); }
  100% { box-shadow: 0 0 0 0 rgba(1,139,211,0); }
}

/* ---------- Mobile menu ---------- */
.mobile-menu[hidden] { display: none; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 250;
  background: var(--bg);
  /* flex-start + scroll: przy justify-center lista wyższa niż ekran nachodziła na pasek nav */
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 6px) var(--pad) calc(40px + env(safe-area-inset-bottom, 0px));
  overflow: hidden; /* scroll żyje w liście poniżej — pozycje nie wjeżdżają pod przezroczysty header */
}
/* wysokość = widoczny viewport (pasek Safari), żeby dolne dane kontaktowe nie chowały się za paskiem */
@supports (height: 100dvh) {
  .mobile-menu { bottom: auto; height: 100dvh; }
}
.mobile-menu nav {
  display: flex; flex-direction: column;
  /* lista przewija się we własnym boxie i przycina na górnej krawędzi (pod headerem) */
  flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line-2);
  font-family: var(--f-disp); font-size: clamp(24px, 6.6vw, 34px); font-weight: 700;
  letter-spacing: -.02em;
  opacity: 0; transform: translateY(20px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
/* stan końcowy niezależny od animacji — bezpieczny także przy reduced-motion */
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(1) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .16s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .20s; }
.mobile-menu.is-open nav a:nth-child(6) { transition-delay: .24s; }
.mobile-menu.is-open nav a:nth-child(7) { transition-delay: .28s; }
.mobile-menu.is-open nav a:nth-child(8) { transition-delay: .32s; }
.mobile-menu nav a em { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--accent); font-style: normal; }
.mobile-foot { margin-top: auto; padding-top: 28px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-dim); font-size: 15px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 14px) var(--pad) clamp(28px, 4.5vh, 50px);
  /* safe-area: góra pod wyższy nav (notch), dół nad home indicator */
  padding-top: calc(var(--nav-h) + 14px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(clamp(28px, 4.5vh, 50px) + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero.no-webgl { /* fallback gradient */
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(53,187,255,.18), transparent 55%),
    radial-gradient(100% 80% at 20% 85%, rgba(1,139,211,.20), transparent 55%),
    var(--bg);
}
.hero-fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,7,11,.55) 0%, transparent 22%, transparent 55%, rgba(7,7,11,.85) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-dim); margin-bottom: auto;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse calc(var(--beat)*2) infinite; }

.hero-title {
  font-family: var(--f-disp);
  font-size: clamp(46px, 8.7vw, 150px);
  font-weight: 800; line-height: .93; letter-spacing: -.035em;
  text-transform: none;
  margin-top: clamp(20px, 3vh, 32px);
}
.hero-title .hl { display: block; overflow: hidden; }
.hero-title .hl > * { display: block; }
/* linia italiku dostaje oddech (wizualnie +.05em nad / +.18em pod glifami);
   marginesy są ujemne, bo box linii jest sztucznie wyższy o padding em-a (.15em/.3em)
   rozszerzający obszar malowania gradientu — kompensacja tu, NIE na em (margin collapse). */
.hero-title .serif { letter-spacing: -.01em; margin: -.1em 0 -.12em; }
.hero-title .serif em {
  font-weight: 400;
  background: linear-gradient(100deg, #fff 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* em jest blokiem (.hl > *), więc przy interlinii .93 box jest niższy niż glify —
     background-clip:text maluje gradient tylko w boxie i tnie descendery płaską linią.
     Padding rozszerza obszar malowania na cały tusz glifów; kompensacja layoutu
     jest w marginesach .hero-title .serif (ujemny margines tutaj by się zapadał). */
  padding: .15em .08em .3em .04em;
  margin-left: -.04em;
}

.hero-bottom {
  /* CTA pod tekstem intro, wyrównane do lewej (nie rozpychane do prawej krawędzi) */
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
  margin-top: clamp(24px, 4vh, 44px);
}
.hero-sub { max-width: 42ch; color: var(--ink-dim); font-size: clamp(15px, 1.4vw, 18px); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 44px);
  margin-top: clamp(20px, 2.6vh, 32px); padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hstat { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.hnum {
  display: flex; align-items: baseline; line-height: 1;
  font-family: var(--f-disp); font-weight: 700; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -.03em;
}
.hnum i { color: var(--accent); font-style: normal; }
.hstat em {
  font-style: normal; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 600; line-height: 1.3;
}

.scroll-cue {
  position: absolute; right: var(--pad); bottom: clamp(30px,5vh,54px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600;
  writing-mode: vertical-rl;
}
.scroll-cue i { width: 1px; height: 46px; background: linear-gradient(var(--accent), transparent); animation: cue 1.9s var(--ease) infinite; }
@keyframes cue { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ============================================================
   TRUSTED STRIP
   ============================================================ */
.trusted {
  display: flex; align-items: center; gap: 34px;
  padding: 26px var(--pad);
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  background: var(--bg-2);
  overflow: hidden;
}
.trusted-label { flex-shrink: 0; color: var(--ink-faint); }
.trusted-track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trusted-inner { display: flex; gap: 48px; width: max-content; animation: marquee 48s linear infinite; }
.trusted-inner span {
  font-family: var(--f-disp); font-size: 17px; font-weight: 500; letter-spacing: -.01em;
  color: var(--ink-dim); white-space: nowrap; opacity: .6; transition: opacity .3s;
}
.trusted:hover .trusted-inner { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.sec { position: relative; padding: clamp(80px, 12vh, 170px) var(--pad); }

/* ---------- Warianty sekcji (rytm kolorystyczny strony) ----------
   sec--tinted: głęboki granat z brandową poświatą (Format VDJ);
   sec--invert: jasny rewers — kolory dzieci przełączane scope'owanymi zmiennymi. */
.sec.sec--tinted {
  background:
    radial-gradient(90% 70% at 82% 8%, rgba(1,139,211,.30), transparent 60%),
    radial-gradient(75% 60% at 12% 92%, rgba(53,187,255,.16), transparent 55%),
    linear-gradient(180deg, #08192B 0%, #071322 100%);
  border-top: 1px solid rgba(53,187,255,.14);
  border-bottom: 1px solid rgba(53,187,255,.14);
}
.sec.sec--invert {
  --ink: #0D0D15;
  --ink-dim: #46465C;
  --ink-faint: #84849A;
  --line: rgba(10,10,25,.14);
  --line-2: rgba(10,10,25,.08);
  --surface: #FFFFFF;
  background: #EDEFF4;
  color: var(--ink);
}
.sec.sec--invert ::selection { background: var(--accent); color: #fff; }
.sec-head { max-width: 1600px; margin: 0 auto clamp(46px, 7vh, 88px); }
.sec-index {
  display: inline-flex; align-items: center; gap: 12px; color: var(--ink-dim);
  margin-bottom: 26px;
}
.sec-index i { color: var(--accent); font-style: normal; font-family: var(--f-disp); font-weight: 700; }
.sec-index::before { content: ''; width: 40px; height: 1px; background: var(--line); margin-right: 4px; }

.sec-title {
  font-family: var(--f-disp);
  font-size: clamp(34px, 5.4vw, 88px); font-weight: 700; line-height: 1.02; letter-spacing: -.03em;
  max-width: 20ch;
}
.sec-title span { display: inline; }
.sec-title .serif { display: inline-block; }
.sec-title .serif em {
  font-weight: 400;
  background: linear-gradient(100deg, var(--ink) 20%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.sec-sub { max-width: 62ch; margin-top: 26px; color: var(--ink-dim); font-size: clamp(15px, 1.3vw, 18px); }

.sec > *:not(.sec-head) { max-width: 1600px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-size: 14px; font-weight: 700; letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease-out), background .3s, color .3s, border-color .3s, box-shadow .3s;
  will-change: transform;
}
.btn-primary { background: var(--accent); color: #00131f; box-shadow: 0 6px 30px rgba(1,139,211,.24); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(1,139,211,.42); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.03); transform: translateY(-2px); }
.btn-block { width: 100%; margin-top: 8px; padding: 17px; }

/* ============================================================
   01 / O NAS
   ============================================================ */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.about-lead .lead {
  font-family: var(--f-disp); font-size: clamp(20px, 2.1vw, 30px); font-weight: 500;
  line-height: 1.35; letter-spacing: -.02em;
}
.about-body p { color: var(--ink-dim); font-size: 16px; }
.about-body p + p { margin-top: 18px; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: clamp(50px, 7vh, 100px);
  border-top: 1px solid var(--line);
}
.pillar {
  position: relative; padding: 38px 34px 38px 0;
  border-right: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar { padding-left: 34px; }
.pillar:first-child { padding-left: 0; }
.pillar-no {
  display: inline-block; font-family: var(--f-disp); font-size: 13px; font-weight: 700;
  color: var(--accent); margin-bottom: 22px;
  width: 34px; height: 34px; line-height: 32px; text-align: center;
  border: 1px solid var(--line); border-radius: 50%;
}
.pillar h3 { font-family: var(--f-disp); font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.pillar p { color: var(--ink-dim); font-size: 15px; }

/* ============================================================
   02 / VDJ
   ============================================================ */
.sec-vdj { background: var(--bg-2); }
.vdj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: start; }
.vdj-sticky { position: sticky; top: calc(var(--nav-h) + 20px); }
.vdj-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.vdj-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vdj-screen.no-webgl { background:
  radial-gradient(circle at 35% 40%, rgba(1,139,211,.35), transparent 55%),
  radial-gradient(circle at 70% 65%, rgba(53,187,255,.4), transparent 55%),
  #05050a; }
.vdj-eq {
  position: absolute; left: 22px; right: 22px; bottom: 46px; z-index: 2;
  display: flex; align-items: flex-end; gap: 4px; height: 34%;
}
.vdj-eq i {
  flex: 1; border-radius: 2px 2px 0 0; height: 20%;
  background: linear-gradient(to top, rgba(255,255,255,.25), rgba(255,255,255,.85));
  mix-blend-mode: overlay;
  animation: eq 900ms ease-in-out infinite alternate;
}
.vdj-eq i:nth-child(2n){animation-duration:720ms;animation-delay:-200ms}
.vdj-eq i:nth-child(3n){animation-duration:600ms;animation-delay:-420ms}
.vdj-eq i:nth-child(4n){animation-duration:980ms;animation-delay:-90ms}
.vdj-eq i:nth-child(5n){animation-duration:540ms;animation-delay:-330ms}
@keyframes eq { from { height: 8%; } to { height: 92%; } }
.vdj-screen-ui { position: absolute; inset: 0; z-index: 3; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.vdj-brand {
  align-self: flex-start;
  font-family: var(--f-disp); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; padding: 7px 13px; border: 1px dashed rgba(255,255,255,.45); border-radius: 6px;
  text-shadow: 0 0 16px rgba(0,0,0,.5);
}
.vdj-meta { color: rgba(255,255,255,.7); text-shadow: 0 0 12px rgba(0,0,0,.6); }

.vdj-intro { font-family: var(--f-disp); font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; line-height: 1.4; letter-spacing: -.015em; margin-bottom: 44px; }
.vdj-list { border-top: 1px solid var(--line); }
.vdj-list li {
  display: flex; gap: 22px; padding: 26px 0; align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.vdj-n { font-family: var(--f-disp); font-size: 13px; font-weight: 700; color: var(--accent); flex-shrink: 0; width: 30px; }
.vdj-list h3 { font-family: var(--f-disp); font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.vdj-list p { color: var(--ink-dim); font-size: 15px; }
.vdj-note { margin-top: 40px; font-family: var(--f-serif); font-style: italic; font-size: clamp(19px, 2vw, 26px); color: var(--ink); line-height: 1.4; }

/* ============================================================
   03 / ARTYŚCI
   ============================================================ */
.lineup-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: clamp(50px, 7vh, 90px);
}
.lfact { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); }
.lfact:last-child { border-right: 0; }
.lfact + .lfact { padding-left: 26px; }
.lfact b { display: block; font-family: var(--f-disp); font-size: clamp(34px, 4vw, 56px); font-weight: 700; letter-spacing: -.03em; margin-bottom: 6px; }
.lfact b .count { font: inherit; }
.lfact span { font-size: 13px; color: var(--ink-dim); letter-spacing: .02em; }

.atypes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(60px, 8vh, 110px);
}
.atypes li {
  position: relative; padding: 34px 30px 34px 0;
  border-bottom: 1px solid var(--line); border-right: 1px solid var(--line);
}
.atypes li:nth-child(3n) { border-right: 0; }
.atypes li { padding-left: 30px; }
.atypes li:nth-child(3n+1) { padding-left: 0; }
.atype-n { font-family: var(--f-disp); font-size: 12px; font-weight: 700; color: var(--accent); }
.atypes h3 { font-family: var(--f-disp); font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin: 14px 0 8px; }
.atypes p { color: var(--ink-dim); font-size: 15px; }
.atypes li::after {
  content: ''; position: absolute; right: 30px; top: 38px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--line);
}
.atypes li:nth-child(3n)::after { right: 0; }

.lineup-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.lineup-head h3 { font-family: var(--f-disp); font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
/* oddech między tytułem sekcji a filtrami */
.sec-head .chips { margin-top: clamp(14px, 2.5vw, 22px); }
.chip {
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--ink-dim);
  transition: .3s var(--ease);
}
.chip:hover { color: var(--ink); border-color: rgba(255,255,255,.35); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #07070B; }

.lineup { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.acard {
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--surface);
}
.acard.is-hidden { display: none; }
.ph-avatar {
  position: relative; aspect-ratio: 1; display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(53,187,255,.14), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 10px, transparent 10px 20px),
    #0d0d16;
  border-bottom: 1px solid var(--line);
}
.ph-avatar > span { font-family: var(--f-disp); font-size: 20px; font-weight: 700; color: var(--ink-faint); letter-spacing: .04em; }
.ph-avatar i {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-style: normal; font-size: 8.5px; letter-spacing: .12em; font-weight: 700; color: var(--ink-faint);
  border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; white-space: nowrap;
}
.ph-avatar i::before { content: attr(data-ph); }
.acard-meta { padding: 16px 18px 18px; }
.ph-name { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--ink-dim); margin-bottom: 10px; }
.atags { display: flex; gap: 6px; flex-wrap: wrap; }
.atags span { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(1,139,211,.3); border-radius: 100px; padding: 3px 9px; }

.pullquote {
  max-width: 22ch; margin: clamp(70px, 9vh, 120px) auto 0; text-align: center;
}
.pullquote .serif em {
  font-size: clamp(28px, 4.4vw, 62px); line-height: 1.18; letter-spacing: -.01em;
  background: linear-gradient(100deg, var(--ink) 30%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pullquote { max-width: 24ch; }

/* ============================================================
   04 / USŁUGI
   ============================================================ */
.services { border-top: 1px solid var(--line); }
.srv {
  display: grid; grid-template-columns: 72px 1fr; gap: 24px; align-items: start; padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.srv-no { font-family: var(--f-disp); font-size: 15px; font-weight: 700; color: var(--accent); padding-top: 4px; }
.srv-txt { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; align-items: baseline; }
.srv h3 { font-family: var(--f-disp); font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: -.025em; }
.srv p { color: var(--ink-dim); font-size: 15px; }

/* ============================================================
   05 / TECHNIKA
   ============================================================ */
.sec-tech { background: var(--bg-2); }
.tech { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.tech li {
  display: flex; align-items: center; gap: 22px; padding: 28px 30px 28px 0;
  border-bottom: 1px solid var(--line);
}
.tech li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 40px; }
.tech li:nth-child(even) { padding-left: 40px; }
.tech li span { font-family: var(--f-disp); font-size: 13px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.tech li p { font-family: var(--f-disp); font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; letter-spacing: -.015em; }

/* ============================================================
   06 / KLIENCI
   ============================================================ */
.clients { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 100px); }
.clients-cap { color: var(--accent); margin-bottom: 26px; }
.hotels { columns: 2; column-gap: 40px; }
.hotels li {
  break-inside: avoid; padding: 13px 0; border-bottom: 1px solid var(--line-2);
  font-size: 15.5px; font-weight: 600; display: flex; flex-direction: column; gap: 2px;
}
.hotels li em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--ink-faint); letter-spacing: .01em; }

.timeline { border-top: 1px solid var(--line); }
.timeline li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.sp-tag {
  flex-shrink: 0; width: 104px; padding-top: 3px;
  font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.sp-body { display: flex; flex-direction: column; gap: 3px; }
.sp-body b { font-family: var(--f-disp); font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.sp-body span { font-size: 13.5px; color: var(--ink-dim); }
.intl { margin-top: 44px; }
.intl-flags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.intl-flags span {
  font-family: var(--f-disp); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; color: var(--ink);
}

/* ============================================================
   07 / GALERIA
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
.gitem { position: relative; border-radius: 12px; overflow: hidden; }
.gitem-tall { grid-row: span 2; }
.gitem-wide { grid-column: span 2; }
.gitem.is-hidden { display: none; }
.gitem:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ph-img {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 60% 30%, rgba(1,139,211,.07), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.028) 0 14px, transparent 14px 28px),
    #0d0d15;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 18px;
  transition: transform .7s var(--ease-out), background-color .4s;
}
.gitem:hover .ph-img { transform: scale(1.04); }
.gitem > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.gitem:hover > img { transform: scale(1.04); }
.gitem::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 12px; pointer-events: none; transition: border-color .4s; }
.gitem:hover::after { border-color: rgba(1,139,211,.5); }
.ph-n { font-family: var(--f-disp); font-size: 30px; font-weight: 700; color: rgba(255,255,255,.1); letter-spacing: -.03em; }
.ph-cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(1,139,211,.3); border-radius: 100px; padding: 4px 11px; align-self: flex-end; }
.gallery-note { margin-top: 26px; text-align: center; color: var(--ink-faint); font-size: 13px; }

/* ============================================================
   08 / KONTAKT
   ============================================================ */
.sec-contact { padding-bottom: clamp(60px, 8vh, 100px); }
.contact-hero { max-width: 1600px; margin: 0 auto clamp(40px, 6vh, 70px); }
.contact-title { font-family: var(--f-disp); font-size: clamp(42px, 7vw, 120px); font-weight: 700; line-height: .98; letter-spacing: -.035em; }
.contact-title .serif em {
  font-weight: 400;
  background: linear-gradient(100deg, #fff 10%, var(--accent) 60%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(36px, 5vw, 80px); align-items: start; }

.cform { border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 3vw, 44px); background: var(--surface); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { margin-bottom: 20px; display: flex; flex-direction: column; gap: 9px; }
.fld label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.fld input, .fld select, .fld textarea {
  /* min. 16px — poniżej Safari na iOS auto-zoomuje stronę przy fokusie pola */
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px;
  transition: border-color .3s, box-shadow .3s; width: 100%;
}
.fld select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239E9EB4' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(1,139,211,.13); }
.fld input::-webkit-calendar-picker-indicator { filter: invert(.65); }
.fld textarea { resize: vertical; min-height: 110px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { margin-top: 16px; font-weight: 600; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #ff6b6b; }

.cinfo { display: flex; flex-direction: column; gap: 30px; }
.cinfo-block { display: flex; flex-direction: column; gap: 5px; }
.cinfo-label { color: var(--ink-faint); margin-bottom: 8px; }
.cinfo-big { font-family: var(--f-disp); font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; letter-spacing: -.02em; transition: color .3s; }
.cinfo-big:hover { color: var(--accent); }
.cinfo-name { font-weight: 700; font-size: 16px; }
.cinfo-region { color: var(--ink-dim); font-size: 15px; }
.cinfo-block a:not(.cinfo-big) { color: var(--ink-dim); transition: color .3s; }
.cinfo-block a:not(.cinfo-big):hover { color: var(--accent); }
.cinfo-fb { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); border-radius: 100px; padding: 12px 20px; align-self: flex-start; transition: .3s var(--ease-out); }
.cinfo-fb:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  /* jasna stopka — logo klienta na bieli (spójnie z headerem) */
  --ink: #0D0D15;
  --ink-dim: #3F3F54;
  --ink-faint: #77778C;
  --line: rgba(10,10,25,.14);
  background: #fff; color: var(--ink);
  padding: clamp(50px, 8vh, 90px) var(--pad) calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 0; overflow: hidden;
}
.foot-logo { display: flex; justify-content: center; margin-bottom: clamp(30px, 5vh, 60px); }
.foot-logo img { width: clamp(200px, 30vw, 330px); height: auto; }
.foot-big {
  font-family: var(--f-disp); font-weight: 800; letter-spacing: -.05em; line-height: .9;
  font-size: clamp(44px, 13.2vw, 200px); text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(243,243,248,.06) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: clamp(30px, 5vh, 60px); user-select: none;
}
.foot-big b { font-weight: 500; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; max-width: 1600px; margin: 0 auto; }
.foot-copy, .foot-mid { color: var(--ink-faint); font-size: 13px; }
.foot-top { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink); transition: gap .3s; }
.foot-top i { width: 8px; height: 8px; border-top: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent); transform: rotate(-45deg); }
.foot-top:hover { gap: 14px; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(4,4,8,.94); backdrop-filter: blur(10px); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lb-body { width: min(1040px, 88vw); height: min(680px, 76vh); height: min(680px, 76dvh); position: relative; }
/* realne zdjęcia (klon z galerii) — pełny kadr wycentrowany, bez przycięcia */
.lb-body > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lb-body .ph-img { border-radius: 16px; }
.lb-body .ph-img::after { display: none; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; z-index: 2; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(16,16,25,.85); color: var(--ink);
  font-size: 26px; line-height: 1; display: grid; place-items: center; transition: .3s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   FORM CONSENT + FOOTER LINKS + COOKIE
   ============================================================ */
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; cursor: pointer; }
.consent input { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; }
.consent span { font-size: 13px; line-height: 1.5; color: var(--ink-dim); }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent a:hover { color: var(--accent); }

.foot-links { display: flex; gap: 22px; }
.foot-links a { font-size: 13px; color: var(--ink-faint); transition: color .25s; }
.foot-links a:hover { color: var(--ink); }

.btn-sm { padding: 11px 22px; font-size: 13px; }

/* Sticky CTA — tylko mobile/tablet, gdy przycisk z nawigacji jest ukryty.
   safe-area: na iPhone musi być NAD dolnym paskiem Safari / home indicatorem */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; z-index: 240;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; border-radius: 100px;
  background: var(--accent); color: #00131f; font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  box-shadow: 0 12px 34px rgba(1,139,211,.38);
  transform: translateY(160%); transition: transform .45s var(--ease-out);
}
.mobile-cta i { width: 7px; height: 7px; border-radius: 50%; background: #00131f; }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 1024px) { .mobile-cta { display: flex; } }
/* iOS Safari kotwiczy fixed-bottom w DUŻYM viewporcie (jakby pasek adresu nie istniał),
   a env(safe-area-inset-bottom) nie obejmuje paska — tylko home indicator.
   Dlatego kotwiczymy górą do 100dvh (śledzi stan paska) i wysuwamy element w górę o 100% jego wysokości. */
@supports (height: 100dvh) {
  .mobile-cta { bottom: auto; top: calc(100dvh - 14px); transform: translateY(40%); }
  .mobile-cta.is-visible { transform: translateY(-100%); }
}

.cookie {
  position: fixed; left: 20px; right: 20px; z-index: 550;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  max-width: 640px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 20px 24px; border-radius: 16px;
  background: rgba(16,16,25,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
  transform: translateY(140%); transition: transform .55s var(--ease-out);
}
.cookie.is-visible { transform: none; }
.cookie[hidden] { display: none; }
/* jak .mobile-cta: kotwiczenie do 100dvh zamiast fixed-bottom (pasek Safari) */
@supports (height: 100dvh) {
  .cookie { bottom: auto; top: calc(100dvh - 20px); transform: translateY(40%); }
  .cookie.is-visible { transform: translateY(-100%); }
}
.cookie-text { flex: 1 1 280px; font-size: 13.5px; line-height: 1.55; color: var(--ink-dim); }
.cookie-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-text a:hover { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { border-top: 1px solid var(--line); max-width: 940px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; text-align: left;
  font-family: var(--f-disp); font-size: clamp(17px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.02em;
  color: var(--ink); transition: color .25s;
}
.faq-q:hover { color: var(--accent); }
.faq-ico { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-ico::before, .faq-ico::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--accent);
  transition: transform .35s var(--ease);
}
.faq-ico::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-ico::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-ico::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; min-height: 0; }
/* odpowiedź płynie na pełną szerokość wiersza pytania — bez sztucznego łamania w wąskiej kolumnie */
.faq-a p { color: var(--ink-dim); font-size: 16px; line-height: 1.7; padding-bottom: 26px; }

/* ============================================================
   FORM — stan sukcesu (animowany checkmark)
   ============================================================ */
.cform.is-sent > *:not(.form-done) { display: none; }
.form-done { display: none; text-align: center; padding: 24px 0; }
.cform.is-sent .form-done { display: block; }
.form-check { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 22px; }
.form-check svg { width: 76px; height: 76px; }
.form-check circle { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }
.form-check path { stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.cform.is-sent .form-check circle { animation: fa-draw .55s var(--ease-out) forwards; }
.cform.is-sent .form-check path { animation: fa-draw .4s .38s var(--ease-out) forwards; }
@keyframes fa-draw { to { stroke-dashoffset: 0; } }
.form-done h3 { font-family: var(--f-disp); font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 10px; }
.form-done p { color: var(--ink-dim); max-width: 42ch; margin: 0 auto; font-size: 16px; }

/* ============================================================
   FOCUS-VISIBLE (nawigacja klawiaturą)
   ============================================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }
.btn:focus-visible, .cta-pill:focus-visible, .chip:focus-visible, .lang-toggle:focus-visible,
.foot-top:focus-visible, .cinfo-fb:focus-visible { outline-offset: 4px; }
.fld input:focus-visible, .fld select:focus-visible, .fld textarea:focus-visible { outline: none; }

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
/* hero headline uses a clean mask-slide, not the generic fade */
.hero-title .hl[data-reveal] { opacity: 1; transform: none; }
.hero-title .hl > * { transform: translateY(110%); transition: transform 1.05s var(--ease-out); }
.hero-title .hl.in > * { transform: none; }
/* po zakończeniu animacji odsłona przestaje ciąć descendery (overflow → visible) */
.hero-title .hl.in { animation: hl-unmask 1ms linear 1.3s forwards; }
@keyframes hl-unmask { to { overflow: visible; } }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .hl { overflow: visible; }
  .hero-title .hl > * { transform: none; }
  .trusted-inner { animation: none !important; }
  .cursor { display: none; }
  body.has-cursor { cursor: auto; }
  .form-check circle, .form-check path { stroke-dashoffset: 0 !important; }
}

/* WP additions */
.avatar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
