/* =========================================================
   Stronea (identyfikacja "Okna")
   Kolory z księgi znaku: fiolet #5B3DF5, granat #0D0F1B, jasny #F4F5F7.
   Kształty jak w znaku: zaokrąglone kwadraty. Karty 24px, przyciski i pola 14px.
   Warstwy (z-index): nav 50, menu mobilne 45, ziarno 80, loader 90.
   ========================================================= */

:root {
  --bg: #0d0f1b;
  --bg-2: #151826;
  --bg-3: #1e2232;
  --fg: #f4f5f7;
  --muted: #9ba0b4;
  --line: rgba(244, 245, 247, .1);
  --accent: #5b3df5;
  --accent-ink: #a594ff;
  --on-accent: #ffffff;
  --accent-soft: rgba(91, 61, 245, .16);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .75);
  --mk-front: #5b3df5;
  --mk-dots: #ffffff;
  --field-border: rgba(244, 245, 247, .6);
  --step-bg: #151826;
  --step-alt: #1c1838;
  --step-border: rgba(244, 245, 247, .14);
  --step-shadow: rgba(0, 0, 0, .7);

  --r-card: 24px;
  --r-input: 14px;

  --font-display: "Anybody", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  /* Krój maszynowy tylko tam, gdzie to naprawdę kod: adresy na paskach okien, edytor i publikacja w scenie „Budowa” */
  --font-code: "Geist Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f4f5f7;
  --bg-2: #ffffff;
  --bg-3: #e9ebf1;
  --fg: #0d0f1b;
  --muted: #565c70;
  --line: rgba(13, 15, 27, .1);
  --accent: #5b3df5;
  --accent-ink: #4a2de0;
  --on-accent: #ffffff;
  --accent-soft: rgba(91, 61, 245, .1);
  --shadow: 0 40px 90px -40px rgba(30, 24, 90, .35);
  --field-border: #0d0f1b;
  --step-bg: #ffffff;
  --step-alt: #ece8ff;
  --step-border: rgba(13, 15, 27, .16);
  --step-shadow: rgba(30, 24, 90, .28);
  --card-shadow: 0 1px 2px rgba(13, 15, 27, .06), 0 14px 30px -18px rgba(30, 24, 90, .32);
  color-scheme: light;
}
/* Jasny motyw: białe karty na jasnym tle się zlewały.
   Tło o ton ciemniejsze, mocniejsze obramowania i lekki fioletowy cień pod kartami. */
:root[data-theme="light"] {
  --bg: #eceef3;
  --bg-3: #e1e4ec;
  --line: rgba(13, 15, 27, .15);
  --step-border: rgba(13, 15, 27, .2);
  --accent-soft: rgba(91, 61, 245, .13);
}
/* Niska waga selektora: stany :hover i .active komponentów niżej nadal wygrywają */
:root[data-theme="light"] :where(.sc-item, .sc-stage, .cell, .pc, .step-inner, .pr-card, .pr-facts li, .pr-gantt-card, .pr-prep-grid article, .pr-split > div,
  .cn-info-card, .cn-opt, .cn-step, .cn-stats > div, .calc-summary, .hq-top, .hq-cats a, .qf-card, .sv-card, .fq-group .qa, .fq-nav,
  .company-card, .legal-toc, .ad-card, .qa-copy, .editor, .serp, .pf-filter) { box-shadow: var(--card-shadow); }
:root[data-theme="light"] .sc-item.active { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), var(--card-shadow); }

/* Wordmark z księgi znaku (wektor), kolorowany przez currentColor */
.wordmark-img {
  display: inline-block; aspect-ratio: 611 / 97; background: currentColor;
  -webkit-mask: url("assets/wordmark.svg") center / contain no-repeat;
  mask: url("assets/wordmark.svg") center / contain no-repeat;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 18px; max-width: 52ch; margin-top: 18px; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 120%;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.035em;
}
/* Wszystkie nagłówki w szerokim kroju, jak wordmark */
.hero-title, .h2, .contact-title, .step h3, .cell h3, .work-meta h3, .cta-card h3,
.qa-q, .sum-price, .work-name, .cta-h, .ring-num, .marquee span, .manifest p, .mobile-menu a, .direct-link,
.editor p, .form-done h3, .calc-group output, .viewer-title b { font-stretch: 120%; }

/* Podział tekstu na słowa (JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; }

/* ---------- Ziarno ---------- */
.grain {
  position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="light"] .grain { opacity: .02; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 90; background: #0d0f1b; color: #f4f5f7;
  display: grid; place-items: center;
  animation: loaderFail 0s 9s forwards;
}
/* Jasny motyw: intro jak w jasnej wersji z księgi znaku (granatowe logo na jasnym tle) */
:root[data-theme="light"] .loader { background: #f4f5f7; color: #0d0f1b; }
@keyframes loaderFail { to { visibility: hidden; } }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(20px, 3vw, 36px); }
.loader-mark { width: clamp(84px, 11vw, 140px); overflow: visible; }
.lm-back { stroke-dasharray: 100; stroke-dashoffset: 0; }
.loader-word { overflow: hidden; display: flex; }
.loader-word .wordmark-img, .loader-wm { width: clamp(200px, 26vw, 360px); }
.loader-wm { display: block; height: auto; aspect-ratio: 611 / 97; overflow: visible; }
.logo-wm { display: block; width: 104px; height: auto; aspect-ratio: 611 / 97; color: var(--fg); }
html:not(.js) .loader { display: none; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 54px; padding: 0 26px; border-radius: var(--r-input);
  font-weight: 600; font-size: 15px; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.btn-sm { height: 44px; padding: 0 20px; font-size: 14px; border-radius: 12px; }
.btn i { font-size: 1.1em; transition: transform .45s var(--ease); }
.btn:hover i.ph-arrow-up-right { transform: translate(2px, -2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fg); transform: translateY(102%); transition: transform .5s var(--ease);
}
.btn-accent:hover { color: var(--bg); }
.btn-accent:hover::before { transform: none; }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { background: var(--bg-2); border-color: transparent; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); font-size: 19px; transition: background-color .3s, transform .3s var(--ease);
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn:active { transform: scale(.94); }

/* ---------- Nawigacja ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.nav.is-solid {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; gap: 12px; color: var(--fg); }
.logo-mark { width: 30px; height: 30px; overflow: visible; transition: transform .6s var(--ease); }
.logo .wordmark-img { width: 104px; }
.logo:hover .logo-mark { transform: translate(-2px, 2px) rotate(-6deg); }
.nav-links { display: flex; gap: 34px; font-size: 15px; }
.nav-links a { position: relative; padding-block: 6px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
body.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg);
  display: flex; align-items: flex-end; padding: 100px var(--gutter) 48px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: inset(0); visibility: visible; }
/* Bez Lenisa (?motion=0) strona pod otwartym menu też nie powinna się przewijać */
html:has(body.menu-open) { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 11vw, 4rem); letter-spacing: -.04em; line-height: 1.05; }
.mobile-menu .accent-link { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: clamp(24px, 3vw, 40px);
  padding-top: 104px; padding-bottom: 56px;
}
.hero-title {
  grid-column: 1 / -1;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: .95; letter-spacing: -.04em;
}
.hl { display: block; }
.hero-kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: clamp(14px, 1.6vw, 22px);
  font-family: var(--font-body); font-stretch: 100%; font-weight: 600; font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: 0; line-height: 1.4; color: var(--accent-ink);
}
/* Gwiazdka z paska z branżami (element marki) zamiast kreski */
.hero-kicker .kicker-spark { width: 1.15em; height: 1.15em; flex: none; }
.wow { color: var(--accent); }
.hero-side { grid-column: 1 / span 5; align-self: start; display: flex; flex-direction: column; gap: 32px; padding-top: 8px; }
.hero-sub { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 39ch; }
.hero-sub > span { color: var(--fg); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.morph-wrap { grid-column: 6 / -1; align-self: start; perspective: 1400px; max-width: 800px; justify-self: end; width: calc(100% - 28px); position: relative; margin-top: 28px; }
/* Tylne okno jak w znaku: sam kontur, przesunięty w prawo i do góry */
.morph-ghost {
  position: absolute; inset: 0; translate: 28px -28px; border-radius: calc(var(--r-card) + 6px);
  border: 3px solid var(--fg); opacity: .9; pointer-events: none;
}

/* Szkic / gotowa strona */
.morph {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 10.4; border-radius: var(--r-card); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow);
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize;
  container-type: inline-size;
}
.morph-bar {
  position: absolute; inset: 0 0 auto 0; height: 36px; z-index: 3;
  display: flex; align-items: center; gap: 14px; padding-inline: 16px;
  background: var(--accent); color: #fff; --sb-fill: #fff;
}
/* Pasek okna Stronea: zamiast trzech kropek znak z logo (dwa zachodzące kwadraty), adres od lewej jak ścieżka */
.sb-mark { position: relative; flex: none; width: 15px; height: 15px; }
.sb-mark::before, .sb-mark::after { content: ""; position: absolute; box-sizing: border-box; transition: background-color .4s, border-color .4s; }
.sb-mark::before { right: 0; top: 0; width: 73%; height: 63%; border: 1.5px solid currentColor; border-radius: 32%; }
.sb-mark::after { left: 0; bottom: 0; width: 73%; height: 66%; border-radius: 30%; background: var(--sb-fill, var(--accent)); }
.url, .win-url, .pw-url { display: flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url::before, .win-url::before, .pw-url::before { content: "/"; margin-right: 10px; opacity: .45; }
.url { flex: 1; font: 500 11.5px var(--font-code); letter-spacing: .02em; color: #fff; }
.morph-layer { position: absolute; inset: 36px 0 0 0; }
.morph-final { clip-path: inset(0 0 0 var(--pos)); }
.morph-handle {
  position: absolute; top: 36px; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; z-index: 4;
  background: var(--accent);
}
.knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; translate: -50% -50%;
  border-radius: 999px; background: var(--accent); color: var(--on-accent);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); transition: scale .3s var(--ease);
}
.morph:active .knob, .morph-handle:focus-visible .knob { scale: 1.12; }
.morph-tag {
  position: absolute; bottom: 14px; z-index: 3; padding: 6px 12px; border-radius: 999px;
  font: 500 12px/1 var(--font-body); pointer-events: none;
}
.morph-tag.left { left: 14px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.morph-tag.right { right: 14px; background: #ffb38a; color: #0d1a20; }

/* Mini strona w środku (własna paleta klienta) */
.ms { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 3.2cqw 4cqw; gap: 3cqw; }
.ms-nav { display: flex; align-items: center; gap: 3cqw; font-size: 1.7cqw; }
.ms-nav b { font-size: 2.5cqw; margin-right: auto; letter-spacing: -.03em; }
.ms-nav i { font-style: normal; margin-left: 2cqw; padding: .8cqw 1.8cqw; border-radius: 99px; }
.ms-hero { flex: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 3cqw; min-height: 0; }
.ms-hero .ms-img { order: -1; }
.ms-copy { display: flex; flex-direction: column; justify-content: center; gap: 2cqw; }
.ms-img { border-radius: 1.6cqw; overflow: hidden; min-height: 0; }
.ms-img img { width: 100%; height: 100%; object-fit: cover; }

.ms-f { background: #1d2b22; color: #efe9dc; font-family: var(--font-display); }
.ms-f .ms-nav span { opacity: .75; }
.ms-f .ms-nav i { background: #efe9dc; color: #1d2b22; font-weight: 600; }
.ms-f .ms-h { font-size: 5cqw; line-height: .98; letter-spacing: -.045em; font-weight: 700; }
.ms-f p { font-family: var(--font-body); font-size: 1.75cqw; line-height: 1.5; opacity: .78; max-width: 34ch; }
.ms-btn { align-self: flex-start; background: #e9b44c; color: #1d2b22; font-weight: 700; font-size: 1.7cqw; padding: 1.3cqw 2.6cqw; border-radius: 99px; }

.ms-w { background: var(--bg-2); font-family: var(--font-body); color: var(--muted); }
.wb {
  border: 1px dashed color-mix(in srgb, var(--muted) 55%, transparent); border-radius: .8cqw;
  font: 500 1.4cqw/1 var(--font-body); font-style: normal; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bg-3) 70%, transparent);
}
.ms-w .ms-nav b { justify-content: flex-start; padding: 1cqw 1.6cqw; font-size: 1.4cqw; flex: 0 0 auto; margin-right: auto; }
.wb.sm { width: 7cqw; height: 2cqw; }
.ms-w .ms-nav i { width: 11cqw; height: 3.4cqw; margin-left: 2cqw; }
.wb.h { height: 6cqw; }
.wb.h2 { height: 6cqw; width: 75%; }
.wb.p { height: 5cqw; width: 85%; }
.wb.btnw { height: 4.4cqw; width: 16cqw; border-radius: 99px; }
.ms-w .ms-img { border-radius: 1.6cqw; }

/* ---------- Hero: przykładowy hotel górski "Halny" (rozmiary w cqw = procent szerokości ramki) ----------
   Własny język klienta: zdjęcie na całą ramkę, wąski krój Archivo (wdth 62), lodowe szkło i ciepły akcent zachodu słońca. */
/* Dół: miejsce na etykiety "Szkic" / "Gotowa strona" pod paskiem rezerwacji */
.hln { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; padding: 0 3.4cqw calc(1.4cqw + 44px); }
.hl-f { --snow: #f4f6f7; --glow: #ffb38a; --ink: #0d1a20; background: #0d1a20; color: var(--snow); font-family: "Archivo", var(--font-body); }
.hl-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: hlZoom 24s ease-in-out infinite alternate; }
.hl-f::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 26, 32, .55) 0%, rgba(13, 26, 32, 0) 26%, rgba(13, 26, 32, .1) 52%, rgba(13, 26, 32, .82) 100%); }
.hl-f > *:not(.hl-bg) { position: relative; }
.hl-f .hl-nav, .hl-f .hl-kicker, .hl-f .hl-h, .hl-f .hl-book { text-shadow: 0 1px 10px rgba(13, 26, 32, .45); }
.hl-f .hl-cta, .hl-f .hl-go { text-shadow: none; }
@keyframes hlZoom { from { transform: scale(1.04); } to { transform: scale(1.16) translateX(-2%); } }

/* Śnieg */
.hl-snow { position: absolute !important; inset: 0; pointer-events: none; }
.hl-snow i { position: absolute; top: -2cqw; width: .45cqw; height: .45cqw; border-radius: 50%; background: #fff; opacity: .75; animation: hlSnow 9s linear infinite; }
.hl-snow i:nth-child(3n) { width: .3cqw; height: .3cqw; opacity: .5; animation-duration: 12s; }
.hl-snow i:nth-child(4n) { width: .6cqw; height: .6cqw; filter: blur(.08cqw); animation-duration: 7s; }
.hl-snow i:nth-child(1) { left: 6%; animation-delay: -1s; }   .hl-snow i:nth-child(2) { left: 14%; animation-delay: -6s; }
.hl-snow i:nth-child(3) { left: 21%; animation-delay: -3s; }  .hl-snow i:nth-child(4) { left: 29%; animation-delay: -8s; }
.hl-snow i:nth-child(5) { left: 37%; animation-delay: -2s; }  .hl-snow i:nth-child(6) { left: 45%; animation-delay: -5s; }
.hl-snow i:nth-child(7) { left: 52%; animation-delay: -9s; }  .hl-snow i:nth-child(8) { left: 60%; animation-delay: -4s; }
.hl-snow i:nth-child(9) { left: 67%; animation-delay: -7s; }  .hl-snow i:nth-child(10) { left: 74%; animation-delay: -1.5s; }
.hl-snow i:nth-child(11) { left: 81%; animation-delay: -6.5s; } .hl-snow i:nth-child(12) { left: 88%; animation-delay: -3.5s; }
.hl-snow i:nth-child(13) { left: 94%; animation-delay: -10s; } .hl-snow i:nth-child(14) { left: 98%; animation-delay: -2.5s; }
@keyframes hlSnow { to { transform: translate(4cqw, 70cqw); } }

/* Nawigacja: linki po lewej, logo na środku, rezerwacja po prawej */
.hl-nav { flex: none; display: grid; grid-template-columns: auto auto auto 1fr auto auto; align-items: center; gap: 2.6cqw; padding: 2.4cqw 0 0; font-size: 1.3cqw; font-weight: 500; letter-spacing: .02em; }
.hl-logo { grid-column: 4; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: .3cqw; font-weight: 800; font-stretch: 62%; font-size: 3.4cqw; line-height: .9; letter-spacing: .14em; text-transform: uppercase; margin-left: -8cqw; }
.hl-logo small { font-weight: 500; font-stretch: 100%; font-size: .85cqw; letter-spacing: .32em; opacity: .8; }
.hl-lang { opacity: .7; }
.hl-cta { padding: .95cqw 2cqw; border-radius: 99px; background: var(--snow); color: var(--ink); font-weight: 700; }

/* Główna część: ogromny wąski nagłówek + karta oferty */
.hl-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3cqw; padding-bottom: 2.4cqw; }
.hl-copy { display: flex; flex-direction: column; gap: 1.2cqw; min-width: 0; }
.hl-kicker { display: inline-flex; align-items: center; gap: 1cqw; font-size: 1.15cqw; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.hl-kicker::before { content: ""; width: 3cqw; height: 1px; background: currentColor; opacity: .7; }
.hl-h { font-weight: 800; font-stretch: 62%; font-size: 10.4cqw; line-height: .84; letter-spacing: -.01em; text-transform: uppercase; padding-bottom: .4cqw; }
.hl-h em { font-style: normal; font-weight: 300; color: var(--glow); }
.hl-side { display: flex; flex-direction: column; align-items: flex-end; gap: 1.2cqw; width: 23cqw; }
.hl-chip { display: inline-flex; align-items: center; gap: .7cqw; padding: .8cqw 1.4cqw; border-radius: 99px; font-size: 1.1cqw; background: rgba(244, 246, 247, .16); border: 1px solid rgba(244, 246, 247, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hl-chip i { color: #bfe6ff; font-size: 1.4cqw; animation: hlSpin 8s linear infinite; }
.hl-chip b { font-weight: 700; }
@keyframes hlSpin { to { transform: rotate(360deg); } }
.hl-card { width: 100%; display: flex; flex-direction: column; gap: .5cqw; padding: 1.6cqw 1.8cqw; border-radius: 1.4cqw; background: var(--snow); color: var(--ink); box-shadow: 0 2cqw 4cqw -1.5cqw rgba(0, 0, 0, .55); }
.hl-card small { font-size: 1cqw; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }
.hl-card > b { font-weight: 800; font-stretch: 62%; font-size: 2.6cqw; line-height: 1; text-transform: uppercase; }
.hl-card-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: .5cqw; font-size: 1.15cqw; }
.hl-card-row strong { font-size: 1.6cqw; font-weight: 800; }
.hl-left { display: inline-flex; align-items: center; gap: .5cqw; color: #c2471f; font-weight: 600; }
.hl-left::before { content: ""; width: .7cqw; height: .7cqw; border-radius: 50%; background: currentColor; animation: hlPulse 1.6s ease-in-out infinite; }
@keyframes hlPulse { 50% { opacity: .25; } }

/* Pasek rezerwacji: lodowe szkło */
.hl-book {
  flex: none; display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; align-items: center;
  padding: .7cqw .7cqw .7cqw 2.4cqw; border-radius: 99px;
  background: rgba(244, 246, 247, .14); border: 1px solid rgba(244, 246, 247, .32);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.hl-book > div { display: flex; flex-direction: column; gap: .35cqw; padding-right: 1.6cqw; }
.hl-book > div + div { padding-left: 1.6cqw; border-left: 1px solid rgba(244, 246, 247, .25); }
.hl-book small { font-size: .9cqw; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.hl-book b { font-size: 1.5cqw; font-weight: 700; }
.hl-go { display: inline-flex; align-items: center; gap: .8cqw; padding: 1.3cqw 2.4cqw; border-radius: 99px; background: var(--glow); color: var(--ink); font-weight: 700; font-size: 1.35cqw; white-space: nowrap; }

.no-motion .hl-bg, .no-motion .hl-snow i, .no-motion .hl-chip i, .no-motion .hl-left::before { animation: none; }
.no-motion .hl-snow { display: none; }

/* Szkic hotelu */
.hl-w { background: var(--bg-2); color: var(--muted); }
.hl-w .hl-nav { grid-template-columns: auto auto auto 1fr auto auto; }
.hl-wlogo { grid-column: 4; justify-self: center; width: 11cqw; height: 4.2cqw; margin-left: -8cqw; }
.hl-wlang { width: 3cqw; height: 2cqw; }
.hl-wbtn { width: 10cqw; height: 3.2cqw; border-radius: 99px; }
.hl-wk { height: 1.4cqw; width: 34%; }
.hl-wh { height: 8.6cqw; width: 70%; }
.hl-wh2 { width: 95%; }
.hl-wchip { width: 14cqw; height: 3cqw; border-radius: 99px; }
.hl-wcard { width: 100%; height: 10cqw; border-radius: 1.4cqw; }
.hl-wbook { flex: none; height: 5.6cqw; border-radius: 99px; }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: clamp(18px, 2.4vw, 32px); overflow: hidden; }
.marquee-inner { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); }
.marquee span { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 4.6rem); letter-spacing: -.04em; line-height: 1.1; white-space: nowrap; }
.mq-spark { width: clamp(32px, 3.8vw, 54px); height: auto; aspect-ratio: 1; flex: none; }
.marquee-group .mq-spark:nth-of-type(even) { width: clamp(18px, 2.2vw, 32px); }
/* Gwiazdka: obracamy kształt wewnątrz SVG, nie całą ikonę.
   Obrót całego elementu przeglądarka robi na gotowej bitmapie (ząbkowane krawędzie),
   a obrót wewnątrz SVG jest rysowany od nowa jako wektor w każdej klatce: ostro w każdej rozdzielczości. */
.mq-spark use, .kicker-spark use { transform-box: view-box; transform-origin: 50% 50%; animation: sparkSpin 8s linear infinite; }
.marquee-group .mq-spark:nth-of-type(even) use { animation-direction: reverse; }
@keyframes sparkSpin { to { transform: rotate(360deg); } }

/* ---------- Manifest ---------- */
.manifest { padding-block: clamp(96px, 16vw, 220px); }
.manifest p {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.035em;
  font-size: clamp(1.9rem, 4.4vw, 4.1rem); line-height: 1.08; max-width: 24ch;
}
.mw { opacity: .16; }

/* ---------- Usługi ---------- */
.services { padding-bottom: clamp(80px, 10vw, 150px); }
.services .h2 { margin-bottom: clamp(36px, 5vw, 64px); max-width: 14ch; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(36px, 4vw, 56px) clamp(24px, 5vw, 80px); }
.svc { border-top: 1.5px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: start; }
.svc-icon {
  grid-row: span 2; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 24px; transition: transform .5s var(--ease);
}
.svc:hover .svc-icon { transform: rotate(-8deg) scale(1.06); }
.svc h3 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.035em; line-height: 1.1; margin-bottom: 10px; }
.svc p { color: var(--muted); max-width: 46ch; }
.svc-more { margin-top: clamp(36px, 4vw, 56px); }
.svc-wide { grid-column: 1 / -1; }
.svc-wide p { max-width: 70ch; }
.svc p a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Podstrona Realizacje ---------- */
.nav-links a[aria-current="page"], .nav-links a[aria-current="true"] { color: var(--accent-ink); }
.nav-links a[aria-current="page"]::after, .nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.pf-hero { padding-top: clamp(120px, 14vw, 180px); padding-bottom: clamp(32px, 4vw, 56px); }
.pf-title {
  font-family: var(--font-display); font-stretch: 120%; font-weight: 700;
  font-size: clamp(3rem, 10vw, 9rem); line-height: .92; letter-spacing: -.045em;
  display: flex; align-items: flex-start; gap: .12em;
}/* linijka z frazą kluczową nad dużym słowem nagłówka (część h1: Google widzi frazę, czytelnik mały podpis) */
.pf-title { flex-wrap: wrap; }
.pf-kicker {
  flex-basis: 100%; margin-bottom: .55rem; font-family: var(--font-body); font-stretch: 100%; font-weight: 500;
  font-size: clamp(13px, 1.1vw, 15px); line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
}

.pf-count {
  font-family: var(--font-body); font-stretch: 100%; font-size: clamp(1rem, 1.6vw, 1.4rem); font-weight: 500;
  letter-spacing: 0; line-height: 1; padding: .45em .7em; border-radius: 12px; margin-top: .5em;
  background: var(--accent); color: #fff;
}
.pf-lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); max-width: 52ch; margin-top: 24px; }
.pf-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.5vw, 44px); }
.pf-filter {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px;
  border: 1.5px solid var(--step-border); background: var(--bg-2); font-size: 15px; font-weight: 500;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.pf-filter small { font: 500 12px var(--font-body); color: var(--muted); transition: color .3s; }
.pf-filter:hover { border-color: var(--accent); }
.pf-filter:active { transform: scale(.97); }
.pf-filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pf-filter[aria-pressed="true"] small { color: rgba(255,255,255,.8); }

.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 3.4vw, 48px) clamp(18px, 2.4vw, 32px); padding-bottom: clamp(64px, 8vw, 110px); }
.pf-item { display: flex; flex-direction: column; gap: 18px; }
.pf-item[hidden] { display: none; }
.pf-item.is-featured { grid-column: 1 / -1; }
.pf-item.is-featured .work-media { aspect-ratio: 16 / 8; }
.pf-meta { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: baseline; padding-inline: 4px; }
.pf-meta h2 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.035em; line-height: 1.1; }
.pf-item.is-featured .pf-meta h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
.pf-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pf-tag { font: 500 12.5px var(--font-body); padding: 5px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); white-space: nowrap; }
.pf-desc { grid-column: 1 / -1; color: var(--muted); max-width: 60ch; }
.pf-empty { grid-column: 1 / -1; padding: 48px; text-align: center; color: var(--muted); border: 1.5px dashed var(--step-border); border-radius: var(--r-card); }

.pf-cta {
  position: relative; overflow: hidden; border-radius: calc(var(--r-card) + 8px); background: var(--accent); color: #fff;
  padding: clamp(36px, 6vw, 88px); display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
  margin-bottom: clamp(64px, 8vw, 110px);
}
.pf-cta h2 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: .95; letter-spacing: -.045em; max-width: 12ch; position: relative; z-index: 1; }
.pf-cta p { color: rgba(255,255,255,.82); max-width: 44ch; position: relative; z-index: 1; }
.pf-cta .btn { background: #fff; color: #0d0f1b; position: relative; z-index: 1; }
.pf-cta .btn::before { background: #0d0f1b; }
.pf-cta .btn:hover { color: #fff; }
.pf-cta::after {
  content: ""; position: absolute; right: -6%; bottom: -22%; width: min(46%, 520px); aspect-ratio: 156 / 135;
  border: clamp(14px, 2vw, 26px) solid rgba(255,255,255,.16); border-radius: 22%; pointer-events: none;
}

/* ---------- Podstrona Usługi ---------- */
.sv-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 3.5vw, 44px); }
.sv-jump .pf-filter i { font-size: 18px; color: var(--accent-ink); transition: color .3s; }
.sv-jump .pf-filter:hover { background: var(--accent); color: #fff; }
.sv-jump .pf-filter:hover i { color: #fff; }
.sv { padding-bottom: clamp(24px, 3vw, 40px); scroll-margin-top: 90px; }
.sv-card {
  border-radius: calc(var(--r-card) + 6px); border: 1.5px solid var(--step-border); background: var(--step-bg);
  padding: clamp(22px, 3.4vw, 48px); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px);
  box-shadow: 0 30px 70px -50px var(--step-shadow);
}
.sv:nth-of-type(odd) .sv-card { background: var(--step-alt); }
.sv-head { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: start; }
.sv-icon { width: 64px; height: 64px; border-radius: 18px; font-size: 30px; grid-row: auto; transition: none; }
.sv-head h2 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; }
.sv-lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 18.5px); max-width: 58ch; }
.sv-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
.sv-price { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.8rem); letter-spacing: -.03em; white-space: nowrap; }
.sv-price b { color: var(--accent-ink); font-weight: 700; }
.sv-price small { font-family: var(--font-body); font-stretch: 100%; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sv-time { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.sv-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.sv-visual .work-media { aspect-ratio: 16 / 11; }
.sv-example { margin-top: 12px; font-size: 14px; color: var(--muted); }
.sv-example b { color: var(--fg); font-weight: 600; }
.sv-info h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 12px; letter-spacing: .02em; }
.sv-info h3:not(:first-child) { margin-top: 26px; }
.sv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.sv-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 16px; line-height: 1.5; }
.sv-list i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 14px; }
.sv-list b { font-weight: 600; }
.sv-for { color: var(--muted); max-width: 52ch; }
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.sv-visual-seo {
  border-radius: var(--r-card); background: var(--bg); border: 1.5px solid var(--step-border);
  padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.seo-ring { position: relative; width: min(260px, 70%); aspect-ratio: 1; display: grid; place-items: center; }
.seo-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.seo-ring circle { fill: none; stroke-width: 7; }
.seo-ring .ring-num { position: relative; inset: auto; font-size: clamp(3rem, 5vw, 4.6rem); }
.seo-ring small { position: absolute; bottom: -6px; left: 50%; translate: -50% 100%; white-space: nowrap; font-size: 13px; color: var(--muted); }
.seo-serp { width: 100%; max-width: 440px; margin-top: 18px; }

/* ---------- Grafika do druku: przykładowe projekty (rysowane w CSS, skalowane przez cqw) ---------- */
.gx-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gx { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gx-cards { grid-column: 1 / 4; grid-row: 1; }
.gx-flyer-fig { grid-column: 4 / 7; grid-row: 1 / 3; }
.gx-voucher-fig { grid-column: 1 / 4; grid-row: 2; }
/* Ostatni rząd: billboard i oklejone auto obok siebie, w tych samych proporcjach co wizytówki i voucher */
.gx-bb-fig { grid-column: 1 / 4; grid-row: 3; }
.gx-bb-fig .gx-stage { aspect-ratio: 16 / 11; }
.gx-bb-fig .bb-3d { left: 7cqw; top: 15cqw; width: 76cqw; }
.gx-car-fig { grid-column: 4 / 7; grid-row: 3; }
.mk-car { background: #0b0d17; }
.mk-car img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform 1.2s var(--ease); }
.gx-car-fig:hover .mk-car img { transform: scale(1.05); }
.gx-3d { position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; background: rgba(13, 15, 27, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font: 600 13px var(--font-body); transition: background-color .4s; }
.gx-3d i { font-size: 16px; color: #a594ff; }
.gx-car-fig:hover .gx-3d { background: var(--accent); }
.gx-car-fig:hover .gx-3d i { color: #fff; }

/* ---------- Oklejenie auta: model 3D (oklejenie-auta.html) ---------- */
.car-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .3s; }
.car-back:hover { color: var(--fg); }
.car-section { margin-top: clamp(20px, 3vw, 40px); padding-bottom: clamp(48px, 6vw, 88px); }
/* Obrót 360° z renderów (obrot360.js): poziome przeciąganie obraca auto, pionowe na telefonie przewija stronę */
.car3d { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: #0b0d17; border: 1.5px solid var(--step-border); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.car3d.is-dragging { cursor: grabbing; }
.car3d:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.car3d-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.car3d-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; }
.car3d-views { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.car3d-views button { height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background-color .3s, color .3s; }
.car3d-views button:hover { color: var(--fg); background: var(--line); }
.car3d-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.car3d-hint i { font-size: 18px; color: var(--accent-ink); }
.gx-stage { position: relative; overflow: hidden; border-radius: var(--r-card); container-type: inline-size; aspect-ratio: 16 / 11; display: grid; place-items: center; isolation: isolate; }
.gx-flyer-fig .gx-stage { aspect-ratio: auto; flex: 1 1 0; min-height: 0; }
/* Makiety rysują się dopiero blisko ekranu: ich 5 krojów (ok. 400 KB) nie zabiera łącza tekstowi na górze strony.
   Wymiary dają aspect-ratio i siatka, więc nic nie skacze. */
.gx-stage { content-visibility: auto; contain-intrinsic-size: auto 320px; }
.gx figcaption { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-inline: 4px; }
.gx figcaption b { font-family: var(--font-display); font-stretch: 115%; font-size: 1.2rem; letter-spacing: -.02em; }
.gx figcaption span { color: var(--muted); font-size: 14px; }
.gx figcaption em { margin-left: auto; font: 600 13px var(--font-body); font-style: normal; padding: 5px 10px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }

/* Makiety jak zdjęcia produktowe: prawdziwa powierzchnia, jedno źródło światła z lewej góry,
   cienie rzucane w prawo w dół, faktura papieru i ziarno „zdjęcia” na wierzchu. */
.gx-stage::before { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: url("assets/tx/grain.svg"); opacity: .2; mix-blend-mode: overlay; }
.gx-stage > * { grid-area: 1 / 1; }

/* Wizytówki: stół z orzecha */
.mk-wood {
  background:
    radial-gradient(90% 80% at 10% 0%, rgba(255, 196, 140, .3), transparent 60%),
    radial-gradient(130% 110% at 50% 45%, transparent 42%, rgba(8, 4, 2, .72)),
    linear-gradient(180deg, transparent 0 37.6%, rgba(0, 0, 0, .5) 37.6% 38.1%, rgba(255, 220, 190, .06) 38.1% 38.6%, transparent 38.6%),
    url("assets/tx/wood.svg") 0 0 / 100% 100%,
    linear-gradient(172deg, #6e4a33, #4b2f1e 55%, #3a2316);
}
.bc {
  position: absolute; width: 54cqw; aspect-ratio: 90 / 50; border-radius: .5cqw; transition: transform .9s var(--ease);
  box-shadow: 0 0 0 .14cqw #d4542a, .15cqw .3cqw .25cqw rgba(0, 0, 0, .55), 1cqw 1.8cqw 2.2cqw -.4cqw rgba(10, 5, 2, .55), 2.6cqw 4.2cqw 5cqw -1cqw rgba(10, 5, 2, .4);
}
.bc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgba(255, 240, 220, .1), transparent 42%); }
.bc-front {
  left: 5cqw; top: 29cqw; z-index: 3; transform: rotate(-8deg);
  background: linear-gradient(125deg, #2b2925, #181713 55%, #121110);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.7cqw;
}
/* złocenie miedzią: gradient metalu przycięty do liter, przy najechaniu przesuwa się refleks */
.bc-logo {
  font-family: "DM Serif Display", Georgia, serif; font-size: 8.8cqw; line-height: 1.05; padding: 0 .4cqw;
  background: linear-gradient(105deg, #74361a 0%, #d98a58 18%, #ffd5ad 28%, #b0602f 42%, #d27f4b 58%, #f8c193 70%, #8a4423 88%, #b8693a 100%) 0 0 / 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .1cqw 0 rgba(0, 0, 0, .7)); transition: background-position 1.2s var(--ease);
}
.gx-cards:hover .bc-logo { background-position: 100% 0; }
.bc-tag { font: 500 1.5cqw "Outfit", var(--font-body); text-transform: uppercase; letter-spacing: .32em; color: #46433b; text-shadow: 0 -.08cqw 0 rgba(0, 0, 0, .7), 0 .08cqw 0 rgba(255, 255, 255, .08); }
.bc-back {
  left: 40cqw; top: 6cqw; z-index: 2; transform: rotate(6deg); color: #171612; font-family: "Outfit", var(--font-body);
  background: linear-gradient(125deg, #f7f6f2, #e6e4dc);
  display: flex; flex-direction: column; justify-content: space-between; padding: 3.4cqw 3.6cqw;
}
.bc-back::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("assets/tx/grain.svg"); opacity: .14; mix-blend-mode: multiply; pointer-events: none; }
.bc-who { display: flex; flex-direction: column; gap: .5cqw; }
.bc-who b { font: 400 3.7cqw/1 "DM Serif Display", Georgia, serif; }
.bc-who span { font-weight: 600; font-size: 1.35cqw; text-transform: uppercase; letter-spacing: .26em; color: #c4552d; }
.bc-data { display: grid; grid-template-columns: auto 1fr; gap: .4cqw 1.8cqw; margin: 0; font-size: 1.62cqw; font-weight: 500; }
.bc-data dt { color: #8d897d; }
.bc-data dd { margin: 0; }
.bc-mono { position: absolute; right: 3.2cqw; top: 2.6cqw; font: 400 4.4cqw/1 "DM Serif Display", Georgia, serif; }
.bc-mono em { font-style: normal; color: #d4542a; }
.gx-cards:hover .bc-front { transform: rotate(-11deg) translate(-2cqw, 1.6cqw); }
.gx-cards:hover .bc-back { transform: rotate(8deg) translate(2cqw, -1.6cqw); }

/* Ulotka A5: jasny blat, światło z okna rzuca cień ramy na papier */
.mk-desk { background: radial-gradient(120% 90% at 18% 0%, #f4f3f0, #dcdbd6 62%, #c8c7c1); }
.mk-desk::after {
  content: ""; position: absolute; inset: -12%; z-index: 5; pointer-events: none; mix-blend-mode: multiply; filter: blur(9px);
  background:
    linear-gradient(116deg, transparent 0 31%, rgba(40, 42, 52, .2) 31% 33.5%, transparent 33.5% 60%, rgba(40, 42, 52, .24) 60%),
    linear-gradient(26deg, transparent 0 46%, rgba(40, 42, 52, .16) 46% 48%, transparent 48%);
}
.fl {
  position: relative; width: 66cqw; aspect-ratio: 148 / 210; border-radius: .25cqw; overflow: hidden; transform: rotate(-4deg);
  background: #f7f8f4; color: #121614; font-family: "Bricolage Grotesque", var(--font-body); display: flex; flex-direction: column;
  box-shadow: .1cqw .2cqw .2cqw rgba(30, 32, 40, .25), 1.4cqw 2.6cqw 3cqw -1cqw rgba(30, 32, 40, .35), 3.4cqw 6cqw 8cqw -3cqw rgba(30, 32, 40, .3);
  transition: transform .9s var(--ease);
}
/* lekkie wygięcie kartki */
.fl::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(98deg, rgba(0, 0, 0, .06), transparent 14%, rgba(255, 255, 255, .12) 52%, transparent 70%, rgba(0, 0, 0, .07)); }
.fl-under { transform: rotate(5deg) translate(5cqw, 2.4cqw); background: linear-gradient(#f2f3ef 0 86%, #ff4d6d 86%); }
.gx-flyer-fig:hover .fl:not(.fl-under) { transform: rotate(-1.5deg) translateY(-1.2cqw); }
.fl-photo { position: relative; height: 43%; flex: none; }
.fl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92) contrast(1.04); }
/* taśma kinezjologiczna z identyfikacji Prosto: splot, postrzępiony koniec */
.fl-tape {
  position: absolute; left: -1.5cqw; bottom: 2.6cqw; padding: .9cqw 4cqw .9cqw 3.4cqw; transform: rotate(-5deg);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 .25cqw, transparent .25cqw .8cqw), #ff4d6d;
  color: #fff; font-weight: 800; font-size: 3.4cqw; letter-spacing: -.04em; line-height: 1;
  clip-path: polygon(0 0, 100% 0, 97% 18%, 100% 36%, 96.5% 55%, 100% 74%, 97% 90%, 100% 100%, 0 100%);
  filter: drop-shadow(0 .3cqw .5cqw rgba(0, 0, 0, .25));
}
.fl-body { flex: 1; min-height: 0; padding: 3.4cqw 4cqw 3.2cqw; display: flex; flex-direction: column; gap: 2cqw; }
.fl-h { margin: 0; font-weight: 800; font-stretch: 85%; font-size: 6.3cqw; line-height: .94; letter-spacing: -.045em; }
.fl-list { list-style: none; margin: 0; padding: 0; }
.fl-list li { display: flex; justify-content: space-between; gap: 2cqw; padding: .85cqw 0; border-bottom: .12cqw solid rgba(18, 22, 20, .14); font-size: 1.7cqw; font-weight: 600; }
.fl-list b { color: #d92a4c; font-weight: 800; }
.fl-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 2.4cqw; }
.fl-foot b { display: block; font-size: 1.75cqw; font-weight: 700; line-height: 1.2; margin-bottom: .6cqw; }
.fl-foot span { font-size: 1.3cqw; font-weight: 600; color: #5b605d; }
.fl-qr { flex: none; width: 9.5cqw; display: flex; flex-direction: column; align-items: center; gap: .4cqw; }
.fl-qr img { width: 100%; height: auto; display: block; }
.fl-qr small { font-size: 1.05cqw; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }

/* Voucher: karta Rowka na limonkowym tle fotograficznym, pod spodem koperta z papieru pakowego */
.mk-lime { background: radial-gradient(110% 85% at 22% 8%, #dcf86a, #bde22c 55%, #97bd14); }
.vc-env {
  position: absolute; left: 24cqw; top: 25cqw; width: 66cqw; aspect-ratio: 220 / 110; transform: rotate(7deg);
  border-radius: .4cqw;
  background:
    linear-gradient(to top right, transparent calc(50% - .12cqw), rgba(70, 45, 15, .28) 50%, rgba(255, 235, 200, .18) calc(50% + .12cqw), transparent calc(50% + .3cqw)) 0 100% / 50% 100% no-repeat,
    linear-gradient(to top left, transparent calc(50% - .12cqw), rgba(70, 45, 15, .28) 50%, rgba(255, 235, 200, .18) calc(50% + .12cqw), transparent calc(50% + .3cqw)) 100% 100% / 50% 100% no-repeat,
    linear-gradient(160deg, #cfa878, #b48b5b 70%);
  box-shadow: .2cqw .3cqw .3cqw rgba(50, 60, 0, .35), 2cqw 3.4cqw 4cqw -1.2cqw rgba(50, 60, 0, .45);
}
.vc-env::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("assets/tx/grain.svg"); opacity: .35; mix-blend-mode: multiply; }
.vc-env i { position: absolute; inset: 0 0 38%; background: linear-gradient(180deg, #b98f5f, #a67c4d); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 .2cqw .2cqw rgba(0, 0, 0, .3)); }
.vc {
  position: absolute; left: 9cqw; top: 11cqw; z-index: 2; width: 62cqw; aspect-ratio: 85 / 55; border-radius: 1.1cqw; overflow: hidden; transform: rotate(-6deg);
  background: #0f0f0d; color: #ececE7; font-family: "Schibsted Grotesk", var(--font-body);
  box-shadow: .15cqw .3cqw .3cqw rgba(40, 50, 0, .45), 1.6cqw 2.8cqw 3cqw -1cqw rgba(40, 50, 0, .5), 3.4cqw 5.4cqw 7cqw -2.4cqw rgba(40, 50, 0, .4);
  transition: transform .9s var(--ease);
}
.vc::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .09), transparent 40%); }
.gx-voucher-fig:hover .vc { transform: rotate(-2.5deg) translate(-1cqw, -1.4cqw); }
/* płyta: rowki lakierem wybiórczym, refleks zmienia się z kątem */
.vc-disc {
  position: absolute; right: -15cqw; top: 50%; width: 44cqw; aspect-ratio: 1; translate: 0 -50%; border-radius: 50%; display: grid; place-items: center;
  background:
    conic-gradient(from 20deg, transparent, rgba(255, 255, 255, .16) 8%, transparent 17%, transparent 50%, rgba(255, 255, 255, .11) 58%, transparent 67%),
    repeating-radial-gradient(circle, #1b1b18 0 .22cqw, #0a0a09 .22cqw .44cqw);
  box-shadow: 0 0 0 .3cqw #1d1d1a; transition: rotate 1.4s var(--ease);
}
.gx-voucher-fig:hover .vc-disc { rotate: 40deg; }
.vc-disc span { width: 16cqw; aspect-ratio: 1; border-radius: 50%; background: #c6f132; color: #0d0d0b; display: flex; align-items: baseline; justify-content: center; padding-top: 4.6cqw; font-weight: 900; font-size: 4.4cqw; letter-spacing: -.05em; line-height: 1; position: relative; }
.vc-disc span small { font-size: 1.8cqw; margin-left: .3cqw; letter-spacing: 0; }
.vc-disc span::after { content: ""; position: absolute; left: 50%; bottom: 3.6cqw; width: 1.2cqw; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; background: #0d0d0b; }
.vc-main { position: relative; z-index: 1; height: 100%; width: 62%; padding: 4cqw 4.2cqw; display: flex; flex-direction: column; gap: .6cqw; }
.vc-brand { font-weight: 900; font-size: 5.4cqw; letter-spacing: -.06em; line-height: 1; }
.vc-brand i { font-style: normal; color: #c6f132; font-size: 1.8cqw; vertical-align: .4em; margin-left: .3cqw; }
.vc-kicker { margin-top: auto; font: 600 1.6cqw var(--font-body); text-transform: uppercase; letter-spacing: .18em; color: #c6f132; }
.vc-value { font-weight: 800; font-size: 6.2cqw; letter-spacing: -.05em; line-height: 1; }
.vc-meta { font: 500 1.45cqw var(--font-body); opacity: .6; }

/* Billboard: pochmurne niebo, konstrukcja kratownicowa, plakat z paneli z widocznymi łączeniami.
   Całość w 3D (perspektywa od dołu z lewej), żeby wyglądało jak zdjęcie z ulicy. */
.mk-sky { background: linear-gradient(180deg, #dfe3e8, #f3f4f6 55%, #e6e8eb); }
.bb { position: absolute; inset: 0; perspective: 90cqw; perspective-origin: 20% 110%; }
.bb-3d { position: absolute; left: 21cqw; top: 9cqw; width: 54cqw; aspect-ratio: 2.4; container-type: inline-size; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(11deg) rotateZ(-1deg); }
.bb-board {
  position: absolute; inset: 0; overflow: hidden; background: #0e1622;
  box-shadow: 0 0 0 0.92cqw #1d2026, 0 0 0 1.12cqw #34373e, 0 3.95cqw 6.58cqw -2.63cqw rgba(20, 25, 35, .45);
}
.bb-board img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.85) contrast(1.05); }
/* łączenia paneli (pasy papieru/winylu), lekkie pofalowanie i matowy połysk */
.bb-board::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(16.66% - 0.16cqw), rgba(0, 0, 0, .32) calc(16.66% - 0.16cqw) 16.66%, rgba(255, 255, 255, .14) 16.66% calc(16.66% + 0.13cqw), transparent calc(16.66% + 0.13cqw) 16.66%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 3%, transparent 3% 8.33%, rgba(0, 0, 0, .05) 8.33% 11%, transparent 11% 16.66%),
    linear-gradient(105deg, rgba(255, 255, 255, .12), transparent 35%, transparent 70%, rgba(0, 0, 0, .18));
}
.bb-ad {
  position: absolute; inset: 0; z-index: 1; padding: 3.95cqw 4.74cqw; display: flex; flex-direction: column; align-items: flex-start; color: #fff;
  background: linear-gradient(90deg, rgba(9, 16, 28, .88), rgba(9, 16, 28, .55) 45%, transparent 75%);
  font-family: var(--font-display); text-transform: uppercase;
}
.bb-logo { display: flex; flex-direction: column; gap: 0.53cqw; font-weight: 800; font-stretch: 55%; font-size: 4.21cqw; line-height: .85; letter-spacing: .16em; }
.bb-logo small { font-weight: 600; font-stretch: 100%; font-size: 1.12cqw; letter-spacing: .3em; opacity: .8; }
.bb-h { margin: auto 0 0; font-weight: 800; font-stretch: 70%; font-size: 8.69cqw; line-height: .86; letter-spacing: -.01em; }
.bb-h em { font-style: normal; color: #f0a46c; }
.bb-cta { margin-top: 2.37cqw; display: flex; align-items: center; gap: 1.84cqw; padding: 1.18cqw 2.11cqw; border-radius: 99px; background: #f0a46c; color: #1a1209; font-weight: 700; font-size: 1.51cqw; letter-spacing: .08em; }
.bb-cta b { font-weight: 800; opacity: .75; }
/* konstrukcja za plakatem wystaje z lewej, nogi kratownicowe schodzą poza kadr */
.bb-back { position: absolute; inset: -1.32cqw -1.32cqw -1.32cqw -1.32cqw; transform: translateZ(-6.58cqw); background: linear-gradient(45deg, transparent 47%, #3a3d44 47% 53%, transparent 53%) 0 0 / 6.58cqw 6.58cqw, linear-gradient(-45deg, transparent 47%, #3a3d44 47% 53%, transparent 53%) 0 0 / 6.58cqw 6.58cqw, linear-gradient(90deg, #2a2d33 0 0.79cqw, transparent 0.79cqw) 0 0 / 6.58cqw 100%; outline: 0.79cqw solid #2a2d33; }
.bb-legs { position: absolute; left: 4%; right: 4%; top: 100%; height: 92.12cqw; transform: translateZ(-3.95cqw); display: flex; justify-content: space-between; }
.bb-legs i {
  width: 11.84cqw; height: 100%; box-shadow: inset 0.66cqw 0 0 #23262c, inset -0.66cqw 0 0 #23262c;
  background:
    linear-gradient(45deg, transparent 46%, #2e3138 46% 54%, transparent 54%) 0 0 / 100% 11.84cqw,
    linear-gradient(-45deg, transparent 46%, #2e3138 46% 54%, transparent 54%) 0 0 / 100% 11.84cqw,
    linear-gradient(180deg, #23262c 0 0.59cqw, transparent 0.59cqw) 0 0 / 100% 11.84cqw;
}
.bb-walk { position: absolute; left: -1.32cqw; right: -1.32cqw; top: calc(100% + 1.18cqw); height: 2.9cqw; transform: translateZ(1.97cqw); background: repeating-linear-gradient(90deg, #2b2e35 0 0.33cqw, transparent 0.33cqw 1.58cqw), linear-gradient(180deg, #3d4048, #1f2227); box-shadow: 0 -0.53cqw 0 #1a1c21; }
/* lampy na wysięgnikach nad plakatem i oprawy pod nim */
.bb-lamps { position: absolute; inset: 0; transform: translateZ(1.32cqw); pointer-events: none; }
.bb-lamps i { position: absolute; bottom: 100%; width: 0.46cqw; height: 8.55cqw; background: #2a2d33; transform-origin: 50% 100%; rotate: 32deg; }
.bb-lamps i::after { content: ""; position: absolute; top: -0.66cqw; left: -1.32cqw; width: 3.16cqw; height: 1.32cqw; border-radius: 0.26cqw; background: linear-gradient(180deg, #4a4e57, #1c1e23); }
.bb-lamps i:nth-child(1) { left: 12%; } .bb-lamps i:nth-child(2) { left: 37%; } .bb-lamps i:nth-child(3) { left: 62%; } .bb-lamps i:nth-child(4) { left: 87%; }
.gx-bb-fig:hover .bb-3d { transform: rotateY(-18deg) rotateX(10deg) rotateZ(-1deg); }
.bb-3d { transition: transform 1.2s var(--ease); }
.sv-body-print { grid-template-columns: 1fr 1fr; align-items: start; }
.gx-prices { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gx-prices li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1.5px solid var(--step-border); }
.gx-prices i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 20px; }
.gx-prices b { display: block; font-size: 15px; }
.gx-prices small { color: var(--muted); font-size: 13px; }
.gx-prices em { font-style: normal; font: 600 14px var(--font-body); color: var(--accent-ink); white-space: nowrap; }

.sv-addons { padding-top: clamp(64px, 8vw, 120px); scroll-margin-top: 90px; }
.ad-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.ad-card {
  grid-column: span 2; border-radius: var(--r-card); border: 1.5px solid var(--step-border); background: var(--step-bg);
  padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), border-color .3s;
}
.ad-card:nth-child(n+4) { grid-column: span 3; }
.ad-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.ad-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 24px; margin-bottom: 6px; }
.ad-card h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }
.ad-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.ad-price { align-self: flex-start; margin-top: 8px; font: 600 15px var(--font-body); padding: 6px 12px; border-radius: 10px; background: var(--accent); color: #fff; }

.sv-flow { padding-block: clamp(64px, 8vw, 120px); }
.flow { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: flow; }
.flow li { position: relative; padding-top: 28px; border-top: 2px solid var(--accent); display: flex; flex-direction: column; gap: 8px; }
.flow li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 4px; background: var(--accent); }
.flow b { font-family: var(--font-display); font-stretch: 120%; font-size: 1.5rem; letter-spacing: -.03em; }
.flow span { color: var(--muted); font-size: 15.5px; }

.process-more { margin-bottom: clamp(32px, 4vw, 56px); }
.process-title + .process-more { margin-top: calc(-1 * clamp(16px, 3vw, 40px)); }
.sv-flow .process-more { margin: 18px 0 0; }

/* ---------- Podstrona FAQ ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Pułapka na boty w formularzach: niewidoczna dla ludzi i czytników ekranu */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.fq-search {
  position: relative; margin-top: clamp(26px, 3.4vw, 40px); max-width: 680px; display: flex; align-items: center;
  border-radius: 18px; border: 1.5px solid var(--field-border); background: var(--bg-2); transition: border-color .3s, box-shadow .3s;
}
.fq-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
/* Lupa, pole i krzyżyk stoją obok siebie (flex), więc tekst nigdy nie wchodzi pod ikonę, niezależnie od przeglądarki */
.fq-search { gap: 12px; padding: 0 10px 0 20px; }
.fq-search > i { flex: none; font-size: 22px; color: var(--accent-ink); pointer-events: none; }
.fq-search input {
  flex: 1; min-width: 0; height: 64px; padding: 0; border: 0; background: transparent; color: var(--fg);
  font: 500 17px var(--font-body); outline: none; -webkit-appearance: none; appearance: none; border-radius: 0;
}
.fq-search input::placeholder { color: var(--muted); opacity: 1; }
.fq-search input::-webkit-search-cancel-button, .fq-search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.fq-clear { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: var(--muted); }
.fq-clear:hover { background: var(--bg-3); color: var(--fg); }
.fq-clear[hidden] { display: none; }
.fq-status { margin-top: 12px; min-height: 1.5em; font-size: 14.5px; color: var(--accent-ink); }

.fq-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-bottom: clamp(64px, 8vw, 110px); }
.fq-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: var(--r-card); background: var(--bg-2); border: 1.5px solid var(--step-border); }
.fq-nav > b { font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px 10px 10px; }
.fq-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.fq-nav li[hidden] { display: none; }
.fq-nav ul a { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 11px; font-size: 14.5px; transition: background-color .25s, color .25s; }
.fq-nav ul a i { font-size: 18px; color: var(--accent-ink); }
.fq-nav ul a small { font: 500 12px var(--font-body); color: var(--muted); }
.fq-nav ul a:hover { background: var(--accent-soft); }
.fq-nav ul a.active { background: var(--accent); color: #fff; }
.fq-nav ul a.active i, .fq-nav ul a.active small { color: #fff; }
.fq-nav-cta { margin-top: 12px; }

.fq-groups { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); min-width: 0; }
.fq-group { scroll-margin-top: 100px; }
.fq-group[hidden] { display: none; }
.fq-group h2 { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.035em; line-height: 1.1; }
.fq-icon { width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 22px; }
.fq-group .qa { border-bottom: 1px solid var(--line); scroll-margin-top: 120px; border-radius: 0; transition: background-color .6s; }
.fq-group .qa[hidden] { display: none; }
.fq-group .qa-q { font-size: clamp(1.05rem, 1.5vw, 1.3rem); padding: 22px 0; }
.fq-group .qa-a p { padding-bottom: 14px; font-size: 16.5px; line-height: 1.7; }
.fq-group .qa-a p a, .fq-group .qa-a p b { color: var(--accent-ink); }
.fq-group .qa-a p a { text-decoration: underline; text-underline-offset: 3px; }
.fq-group .qa.flash { background: var(--accent-soft); }
.qa mark { background: color-mix(in srgb, var(--accent) 35%, transparent); color: inherit; border-radius: 4px; padding: 0 2px; }
.qa-copy { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; padding: 6px 10px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); transition: color .25s, border-color .25s, background-color .25s; }
.qa-copy:hover { color: var(--accent-ink); border-color: var(--accent); }
.qa-copy.done { color: #fff; background: var(--accent); border-color: var(--accent); }

.fq-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: clamp(32px, 5vw, 64px); border-radius: var(--r-card); border: 1.5px dashed var(--step-border); }
.fq-empty[hidden] { display: none; }
.fq-empty > i { font-size: 44px; color: var(--accent-ink); }
.fq-empty h3 { font-family: var(--font-display); font-stretch: 115%; font-size: 1.5rem; letter-spacing: -.03em; }
.fq-empty p { color: var(--muted); max-width: 44ch; margin-bottom: 8px; }

.fq-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.fq-cta-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 16px; }
.fq-cta-link:hover { text-decoration: underline; text-underline-offset: 3px; }
#zadaj-pytanie { scroll-margin-top: 90px; }

@media (max-width: 1000px) {
  .fq-layout { grid-template-columns: 1fr; }
  .fq-nav { position: relative; top: 0; }
  .fq-nav ul { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .fq-nav ul a { grid-template-columns: auto auto auto; border: 1px solid var(--step-border); }
  .fq-nav-cta { display: none; }
}

/* ---------- Podstrona Proces ---------- */
.pr-facts { list-style: none; margin: clamp(32px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pr-facts li { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: var(--r-card); border: 1.5px solid var(--step-border); background: var(--step-bg); }
.pr-facts li:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.pr-facts li:first-child span { color: rgba(255,255,255,.82); }
.pr-facts b { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.04em; line-height: 1; }
.pr-facts span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }

.pr-gantt-wrap { padding-bottom: clamp(56px, 7vw, 100px); }
.pr-gantt-card { border-radius: calc(var(--r-card) + 6px); border: 1.5px solid var(--step-border); background: var(--step-bg); padding: clamp(22px, 3vw, 40px); overflow-x: auto; }
.pr-gantt-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.pr-gantt-head h2 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.035em; }
.pr-gantt-head p { color: var(--muted); font-size: 15px; }
.pr-gantt { --label: 180px; min-width: 640px; display: flex; flex-direction: column; gap: 8px; }
.pr-gantt-axis, .pr-gantt-row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; gap: 12px; }
.pr-gantt-axis { grid-template-columns: calc(var(--label) + 12px) repeat(7, 1fr); gap: 0; font: 500 12px var(--font-body); color: var(--muted); padding-bottom: 6px; }
.pr-gantt-axis span:not(:first-child) { padding-left: 8px; border-left: 1px solid var(--line); }
.pr-gantt-axis span:last-child { color: var(--accent-ink); }
.pr-gantt-row a { font-size: 14.5px; font-weight: 500; transition: color .25s; }
.pr-gantt-row a:hover { color: var(--accent-ink); }
.pr-track {
  position: relative; height: 34px; border-radius: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 7 - 1px), var(--line) calc(100% / 7 - 1px) calc(100% / 7));
}
.pr-bar {
  position: absolute; top: 5px; bottom: 5px; border-radius: 8px; background: var(--accent);
  left: calc(var(--s) / 7 * 100%); width: calc((var(--e) - var(--s)) / 7 * 100%); min-width: 10px;
}
.pr-bar-launch { background: linear-gradient(90deg, var(--accent), #a594ff); }
.pr-bar-after { background: repeating-linear-gradient(135deg, var(--accent-soft) 0 8px, transparent 8px 16px); border: 1.5px dashed var(--accent); }

.pr-steps { position: relative; padding-left: 76px; display: flex; flex-direction: column; gap: 22px; padding-bottom: clamp(64px, 8vw, 110px); }
.pr-line { position: absolute; left: 25px; top: 32px; bottom: clamp(64px, 8vw, 110px); width: 2px; background: var(--line); border-radius: 2px; }
.pr-line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
.pr-step { position: relative; scroll-margin-top: 100px; }
.pr-dot {
  position: absolute; left: -76px; top: 30px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--bg); border: 2px solid var(--step-border); color: var(--muted); font-size: 24px; z-index: 1;
  transition: background-color .4s, border-color .4s, color .4s, transform .5s var(--ease), box-shadow .4s;
}
.pr-step.is-active .pr-dot { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px var(--accent-soft); }
.pr-step.is-done .pr-dot { transform: none; box-shadow: none; }
.pr-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(22px, 3.4vw, 52px); align-items: center;
  border-radius: calc(var(--r-card) + 6px); border: 1.5px solid var(--step-border); background: var(--step-bg);
  padding: clamp(22px, 3.2vw, 44px); box-shadow: 0 30px 70px -50px var(--step-shadow); transition: border-color .4s;
}
.pr-step:nth-child(odd) .pr-card { background: var(--step-alt); }
.pr-step.is-active .pr-card { border-color: color-mix(in srgb, var(--accent) 55%, var(--step-border)); }
.pr-text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.pr-when { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 10px; background: var(--accent); color: #fff; font: 600 13.5px var(--font-body); }
.pr-text h2 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 3.2rem); letter-spacing: -.04em; line-height: 1; }
.pr-lead { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); max-width: 52ch; }
.pr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 0; width: 100%; }
.pr-split > div { padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1.5px solid var(--step-border); }
.pr-split dt { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--accent-ink); }
.pr-split dd { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.pr-result { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.pr-result i { color: var(--accent-ink); font-size: 22px; flex: none; }

.pr-visual { margin: 0; border-radius: var(--r-card); overflow: hidden; }
.pr-visual > img { width: 100%; height: auto; aspect-ratio: 9 / 7; object-fit: cover; }
.pr-visual-doc, .pr-visual-phone { overflow: visible; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: clamp(18px, 3vw, 36px); background: radial-gradient(70% 70% at 50% 40%, var(--accent-soft), transparent 70%); }
.pr-visual-phone figcaption { font-size: 13.5px; color: var(--muted); }

.pr-doc { width: 100%; max-width: 420px; border-radius: 20px; background: var(--bg); border: 1.5px solid var(--step-border); padding: 22px; box-shadow: 0 30px 60px -36px var(--step-shadow); }
.pr-doc-head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 14px; }
.pr-doc-head svg { width: 26px; height: 26px; color: var(--fg); overflow: visible; }
.pr-doc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.pr-doc li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--bg-2); font-size: 14.5px; }
.pr-doc li b { font: 500 13px var(--font-body); color: var(--accent-ink); white-space: nowrap; }
.pr-doc li.is-hl { background: var(--accent); color: #fff; }
.pr-doc li.is-hl b { color: #fff; }

.pr-wire { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-card); overflow: hidden; border: 1.5px solid var(--step-border); container-type: inline-size; }

.pr-phone { width: min(250px, 72%); padding: 10px; border-radius: 40px; background: #17181b; box-shadow: 0 0 0 1.5px #2a2b30, 0 40px 80px -40px rgba(30, 24, 90, .6); }
.pr-phone-screen { position: relative; width: 100%; aspect-ratio: 390 / 844; border-radius: 30px; overflow: hidden; background: #fff; }
.pr-phone-screen iframe { position: absolute; top: 0; left: 0; width: 390px; height: 844px; border: 0; transform: scale(var(--ps, .6)); transform-origin: 0 0; pointer-events: none; }

.pr-prep { padding-bottom: clamp(64px, 8vw, 110px); }
.pr-prep-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.pr-prep-grid article { border-radius: var(--r-card); border: 1.5px solid var(--step-border); background: var(--step-bg); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.pr-prep-grid h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; line-height: 1.15; }
.pr-prep-grid p { color: var(--muted); font-size: 15px; }
.pr-prep-actions { margin-top: 28px; }

@media (max-width: 1100px) {
  .pr-facts { grid-template-columns: 1fr 1fr; }
  .pr-card { grid-template-columns: 1fr; }
  .pr-visual { order: -1; }
  .pr-prep-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .pr-steps { padding-left: 52px; }
  .pr-line { left: 17px; }
  .pr-dot { left: -52px; width: 36px; height: 36px; border-radius: 11px; font-size: 17px; top: 18px; }
  .pr-split { grid-template-columns: 1fr; }
  .pr-prep-grid { grid-template-columns: 1fr; }
  .pr-gantt { --label: 120px; }
}

/* ---------- Podstrona Cennik ---------- */
.cn-promises { list-style: none; margin: clamp(24px, 3vw, 36px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cn-promises li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: 14.5px; font-weight: 500; }
.cn-promises i { font-size: 18px; }

.cn { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; padding-bottom: clamp(64px, 8vw, 110px); }
.cn-steps { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.cn-step {
  margin: 0; min-width: 0; border-radius: var(--r-card); border: 1.5px solid var(--step-border); background: var(--step-bg);
  padding: clamp(20px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 18px;
}
.cn-step legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.25rem, 1.8vw, 1.6rem); letter-spacing: -.03em; }
.cn-step legend + * { clear: both; }
.cn-n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: #fff; font: 600 15px var(--font-body); flex: none; }

.cn-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cn-step[hidden] { display: none; }
.cn-step.is-main { border-color: var(--accent); }
.cn-summary.is-empty .cn-price, .cn-summary.is-empty .cn-stats { opacity: .35; }
.cn-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.cn-type { position: relative; cursor: pointer; }
.cn-type input { position: absolute; opacity: 0; pointer-events: none; }
.cn-type span {
  height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px;
  border: 1.5px solid var(--step-border); background: var(--bg); transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.cn-type i { font-size: 26px; color: var(--accent-ink); margin-bottom: 6px; }
.cn-type b { font-family: var(--font-display); font-stretch: 115%; font-size: 1.15rem; letter-spacing: -.02em; }
.cn-type small { color: var(--muted); font-size: 13.5px; line-height: 1.45; flex: 1; }
.cn-type em { font-style: normal; font: 600 14px var(--font-body); color: var(--accent-ink); margin-top: 6px; }
.cn-type:hover span { border-color: var(--accent); }
.cn-type input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; }
.cn-type input:checked + span i, .cn-type input:checked + span em { color: #fff; }
.cn-type input:checked + span small { color: rgba(255,255,255,.82); }
.cn-type input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.cn-type:active span { transform: scale(.98); }

.cn-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.cn-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cn-field[hidden] { display: none; }
.cn-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; }
.cn-label output { font-family: var(--font-display); font-stretch: 115%; font-size: 1.8rem; color: var(--accent-ink); letter-spacing: -.03em; line-height: 1; }
.cn-hint { color: var(--muted); font-size: 13.5px; }
.cn-seg { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cn-seg span { background: var(--bg); border-width: 1.5px; border-color: var(--step-border); }
.cn-seg small { line-height: 1.4; }
.cn-stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; border: 1.5px solid var(--step-border); background: var(--bg); align-self: flex-start; }
.cn-stepper button { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; transition: background-color .25s, color .25s; }
.cn-stepper button:hover:not(:disabled) { background: var(--accent); color: #fff; }
.cn-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.cn-stepper output { min-width: 44px; text-align: center; font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 1.5rem; }

.cn-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; }
#cnProducts { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.cn-opt {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; cursor: pointer;
  padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--step-border); background: var(--bg);
  transition: border-color .3s, background-color .3s, transform .3s var(--ease), opacity .3s;
}
.cn-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cn-opt-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 20px; transition: background-color .3s, color .3s; }
.cn-opt-text { display: flex; flex-direction: column; min-width: 0; }
.cn-opt-text b { font-size: 15px; font-weight: 600; }
.cn-opt-text small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.cn-opt-price { font: 600 13px var(--font-body); color: var(--accent-ink); white-space: nowrap; }
.cn-opt:hover { border-color: var(--accent); }
.cn-opt:active { transform: scale(.985); }
.cn-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.cn-opt:has(input:checked) .cn-opt-icon { background: var(--accent); color: #fff; }
.cn-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.cn-opt.is-disabled { opacity: .4; cursor: not-allowed; }
.cn-opt.is-disabled::after { content: "tylko sklep"; position: absolute; top: 8px; right: 10px; font: 500 11px var(--font-body); color: var(--muted); }
.cn-opt.is-disabled .cn-opt-price { visibility: hidden; }
.cn-opt-wide { grid-column: 1 / -1; }

.cn-summary {
  position: sticky; top: 96px; border-radius: calc(var(--r-card) + 4px); border: 1.5px solid var(--accent);
  background: var(--step-bg); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 30px 80px -40px rgba(91, 61, 245, .55); max-height: calc(100dvh - 116px); overflow-y: auto; overscroll-behavior: contain;
}
.cn-sum-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cn-sum-head > span { font: 500 13px var(--font-body); color: var(--muted); }
.cn-vat { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--bg); border: 1.5px solid var(--step-border); }
.cn-vat button { height: 30px; padding: 0 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--muted); transition: background-color .25s, color .25s; }
.cn-vat button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.cn-price { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -.045em; line-height: 1; white-space: nowrap; transform-origin: left center; }
.cn-price b { color: var(--accent-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.cn-to { color: var(--muted); font-variant-numeric: tabular-nums; }
.cn-raty { font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.cn-raty:empty { display: none; }
.cn-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 6px; }
.cn-stats > div[hidden] { display: none; }
.cn-stats:has(> div[hidden]) { grid-template-columns: 1fr; }
.cn-stats > div { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1.5px solid var(--step-border); }
.cn-stats i { grid-row: span 2; font-size: 20px; color: var(--accent-ink); align-self: center; }
.cn-stats span { font-size: 12.5px; color: var(--muted); }
.cn-stats b { font-size: 15px; }
.cn-breakdown { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.cn-breakdown summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 14.5px; padding: 4px 0 8px; }
.cn-breakdown summary::-webkit-details-marker { display: none; }
.cn-breakdown summary i { transition: transform .35s var(--ease); }
.cn-breakdown:not([open]) summary i { transform: rotate(-90deg); }
.cn-breakdown ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.cn-breakdown li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.cn-breakdown li span:last-child { color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cn-breakdown li.cn-group { font: 500 12px var(--font-body); color: var(--accent-ink); margin-top: 8px; }
.cn-breakdown li.cn-group:first-child { margin-top: 0; }
.cn-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.cn-actions > .btn { width: 100%; }
.cn-actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-actions-row .btn { flex: 1 1 auto; }
.cn-toast { font-size: 13.5px; color: var(--accent-ink); }

.cn-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 18px; background: var(--accent); color: #fff;
  box-shadow: 0 20px 50px -20px rgba(30, 24, 90, .6); transform: translateY(140%); transition: transform .5s var(--ease);
}
.cn-bar small { display: block; font-size: 12px; opacity: .8; }
.cn-bar b { font-family: var(--font-display); font-stretch: 115%; font-size: 1.3rem; letter-spacing: -.03em; }
.cn-bar .btn { background: #fff; color: #0d0f1b; }
.cn-bar .btn::before { background: #0d0f1b; }
.cn-bar .btn:hover { color: #fff; }
.cn-bar.is-on { transform: none; }

.cn-info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; padding-bottom: clamp(64px, 8vw, 110px); }
.cn-info-card { border-radius: var(--r-card); border: 1.5px solid var(--step-border); background: var(--step-bg); padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.cn-info-card h2 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.035em; }
.cn-always { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.cn-pay { grid-template-columns: 1fr 1fr; margin: 6px 0 4px; }
.cn-pay b { font-size: 1.15rem; }

@media (max-width: 1100px) {
  .cn { grid-template-columns: 1fr; }
  .cn-summary { position: relative; top: 0; max-height: none; }
  .cn-bar { display: flex; }
  .cn-info { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .cn-types, .cn-row, .cn-opts, .cn-always { grid-template-columns: 1fr; }
  .cn-type span { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; }
  .cn-type i { margin: 0; }
  .cn-type small { flex-basis: 100%; }
}

/* ---------- Cennik: formularz "Wyślij wycenę" ---------- */
.qf { padding-bottom: clamp(48px, 6vw, 80px); scroll-margin-top: 90px; }
.qf-card {
  position: relative; overflow: hidden; border-radius: calc(var(--r-card) + 8px); padding: clamp(24px, 3.6vw, 52px);
  background: radial-gradient(90% 70% at 100% 0%, var(--accent-soft), transparent 60%), var(--step-bg);
  border: 1.5px solid color-mix(in srgb, var(--accent) 50%, var(--step-border));
  box-shadow: 0 40px 90px -60px rgba(91, 61, 245, .7);
}
.qf-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; aspect-ratio: 156 / 135;
  border: 16px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 22%; pointer-events: none;
}
.qf-head { position: relative; z-index: 1; margin-bottom: clamp(24px, 3vw, 40px); max-width: 760px; }
.qf-head h2 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -.045em; line-height: 1; }
.qf-head h2 span { display: block; color: var(--muted); font-size: .5em; letter-spacing: -.025em; margin-top: 10px; line-height: 1.2; }
.qf-head p { color: var(--muted); margin-top: 14px; }
.qf-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.qf-grid[hidden], .qf-head[hidden] { display: none; }
.qf-form { display: flex; flex-direction: column; gap: 20px; }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf-form .field input, .qf-form .field textarea { background: var(--bg); }
.qf-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.qf-choice legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.qf-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-pills label { position: relative; cursor: pointer; }
.qf-pills input { position: absolute; opacity: 0; pointer-events: none; }
.qf-pills span {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500;
  border: 1.5px solid var(--field-border); background: var(--bg); transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.qf-pills i { font-size: 17px; }
.qf-pills label:hover span { border-color: var(--accent); }
.qf-pills label:active span { transform: scale(.97); }
.qf-pills input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.qf-pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.qf-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 4px; }
.qf-foot .btn { min-width: 220px; }
.qf-foot .btn:disabled { opacity: .45; cursor: not-allowed; }

.qf-quote {
  position: sticky; top: 100px; border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 6px;
  background: var(--bg); border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, transparent);
}
.qf-quote-label { display: inline-flex; align-items: center; gap: 6px; font: 500 13px var(--font-body); color: var(--accent-ink); margin-bottom: 8px; }
.qf-quote-type { font-weight: 600; }
.qf-quote-price { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.8rem); letter-spacing: -.04em; line-height: 1.05; white-space: nowrap; }
.qf-quote-price b { color: var(--accent-ink); font-weight: 700; }
.qf-quote-price small { font-family: var(--font-body); font-stretch: 100%; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.qf-quote-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.qf-quote-meta span { display: inline-flex; align-items: center; gap: 6px; }
.qf-quote-meta span[hidden] { display: none; }
.qf-quote-meta b { color: var(--fg); }
.qf-quote-list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.qf-quote-list li { display: flex; align-items: flex-start; gap: 8px; }
.qf-quote-list i { color: var(--accent-ink); font-size: 14px; margin-top: 4px; flex: none; }
.qf-quote-list .qf-more, .qf-quote-list .qf-empty { color: var(--muted); padding-left: 22px; }
.qf-quote-list .qf-empty { padding-left: 0; }
.qf-edit { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }
.qf-edit:hover { text-decoration: underline; text-underline-offset: 3px; }

.qf-done { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: clamp(8px, 2vw, 24px) 0; }
.qf-done[hidden] { display: none; }
.qf-done-icon { font-size: 72px; color: var(--accent-ink); line-height: 1; }
.qf-done h3 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3rem); letter-spacing: -.04em; }
.qf-done > p { color: var(--muted); max-width: 48ch; }
.qf-next { list-style: none; margin: 18px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 860px; text-align: left; }
.qf-next li { padding: 16px 18px; border-radius: 16px; background: var(--bg); border: 1.5px solid var(--step-border); display: flex; flex-direction: column; gap: 4px; }
.qf-next b { color: var(--accent-ink); font-size: 14px; }
.qf-next span { color: var(--muted); font-size: 14.5px; }

@media (max-width: 1000px) {
  .qf-grid { grid-template-columns: 1fr; }
  .qf-quote { position: relative; top: 0; order: -1; }
}
@media (max-width: 640px) {
  .qf-row, .qf-next { grid-template-columns: 1fr; }
  .qf-foot .btn { width: 100%; }
}

/* Druk wyceny: tylko podsumowanie */
/* ---------- Cennik: wybór PDF lub druk ---------- */
.cn-actions-row { position: relative; }
.cn-export { flex: 1 1 auto; display: flex; } /* menu przypięte do całego rzędu, żeby nie wychodziło poza panel */
.cn-export > .btn { flex: 1 1 auto; }
.cn-export > .btn .ph-caret-down { font-size: 12px; transition: transform .3s var(--ease); }
.cn-export > .btn[aria-expanded="true"] .ph-caret-down { transform: rotate(180deg); }
.cn-export-menu {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: calc(100% + 8px);
  display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 16px;
  background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(0, 0, 0, .55);
  transform-origin: 70% 100%; animation: cnMenuIn .28s var(--ease);
}
.cn-export-menu[hidden] { display: none; }
@keyframes cnMenuIn { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.cn-export-menu button {
  display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; width: 100%; padding: 10px 12px 10px 10px;
  border-radius: 11px; text-align: left; color: var(--fg); transition: background-color .2s;
}
.cn-export-menu button:hover, .cn-export-menu button:focus-visible { background: var(--accent-soft); outline: none; }
.cn-export-menu button i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); font-size: 20px; }
.cn-export-menu b { display: block; font-size: 15px; font-weight: 600; }
.cn-export-menu small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.cn-export-menu button[aria-busy="true"] { cursor: progress; }
.cn-export-menu button[aria-busy="true"] i { animation: cnSpin 1s linear infinite; }
@keyframes cnSpin { to { transform: rotate(360deg); } }

/* Dokument wyceny A4 (druk i PDF): style w quote-doc.css */

/* ---------- Strona główna: scena z realizacjami ---------- */
.sc-section { padding-block: clamp(72px, 9vw, 130px); scroll-margin-top: 80px; }
.sc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sc { display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 44px); align-items: stretch; }
.sc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sc-item {
  position: relative; overflow: hidden; width: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px;
  padding: 18px 20px 22px; border-radius: 18px; border: 1.5px solid var(--step-border); background: var(--step-bg);
  transition: border-color .3s, background-color .4s, transform .4s var(--ease);
}
.sc-item:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--step-border)); transform: translateX(4px); }
.sc-name { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -.03em; line-height: 1.1; }
.sc-type { font-size: 14px; color: var(--muted); }
.sc-desc { display: grid; grid-template-rows: 0fr; font-size: 14.5px; color: var(--muted); transition: grid-template-rows .5s var(--ease), margin .5s var(--ease); overflow: hidden; }
.sc-item.active { border-color: var(--accent); background: var(--accent-soft); }
.sc-item.active .sc-name { color: var(--accent-ink); }
.sc-item.active .sc-desc { grid-template-rows: 1fr; margin-top: 6px; }
/* Pasek postępu: gdy się zapełni, wjeżdża następny projekt */
.sc-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }
.sc-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.sc-item.active .sc-bar i { animation: scBar var(--sc-time, 7s) linear forwards; }
.sc.is-paused .sc-item.active .sc-bar i, .sc.is-offscreen .sc-item.active .sc-bar i { animation-play-state: paused; }
/* Przy otwartym podglądzie projekt się nie zmienia: nowe strony demo pod spodem zjadałyby pamięć (iPhone) */
html:has(#viewer[open]) .sc-item.active .sc-bar i { animation-play-state: paused; }
.sc.is-manual .sc-bar { display: none; }
@keyframes scBar { to { transform: scaleX(1); } }
.sc-cta a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); color: var(--muted); font-size: 14.5px; transition: background-color .3s, color .3s; }
.sc-cta b { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.sc-cta a:hover { background: var(--accent-soft); color: var(--fg); }

.sc-stage {
  position: relative; min-width: 0; border-radius: calc(var(--r-card) + 8px); padding: clamp(18px, 3vw, 44px) clamp(18px, 3vw, 44px) clamp(40px, 5vw, 72px);
  background: radial-gradient(80% 70% at 70% 20%, var(--accent-soft), transparent 70%), var(--bg-2);
  border: 1.5px solid var(--step-border); overflow: hidden; isolation: isolate;
}
.sc-stage::before {
  content: ""; position: absolute; z-index: -1; right: -60px; top: -70px; width: 46%; aspect-ratio: 156 / 135;
  border: clamp(12px, 1.6vw, 20px) solid color-mix(in srgb, var(--accent) 20%, transparent); border-radius: 22%;
}
.sc-desktop { position: relative; width: 88%; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1.5px solid var(--step-border); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); cursor: zoom-in; }
.sc-desktop .win-bar { position: relative; height: 34px; }
.sc-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.sc-live { position: absolute; top: 0; left: 0; transform-origin: 0 0; transform: scale(var(--sd, .5)); transition: transform 3.2s var(--ease); }
.sc-live iframe { width: 100%; height: 100%; border: 0; pointer-events: none; background: #fff; }
.sc-desktop:hover .sc-live { transform: scale(var(--sd, .5)) translateY(-1500px); }
.sc-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* iPhone w scenie: rysowany w naturalnym rozmiarze (434 × 906, ekran 402 × 874) i skalowany całością przez --sp */
.sc-phone { position: absolute; right: clamp(14px, 3vw, 40px); bottom: clamp(16px, 2.4vw, 32px); width: 26%; max-width: 250px; aspect-ratio: 434 / 906; }
.scp { position: absolute; top: 0; left: 0; width: 434px; height: 906px; transform: scale(var(--sp, .5)); transform-origin: 0 0; }
.scp::before {
  content: ""; position: absolute; inset: 0; border-radius: 78px;
  background: linear-gradient(135deg, #8d8e93 0%, #4a4b50 18%, #2a2b2f 50%, #55565b 82%, #9b9ca1 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 70px 110px -40px rgba(0, 0, 0, .75);
}
.scp-bezel { position: absolute; inset: 4px; border-radius: 74px; background: #050506; box-shadow: 0 0 0 1.5px #3b3c40; }
.scp-screen { position: absolute; inset: 12px; border-radius: 62px; overflow: hidden; background: var(--scp-tint, #fff); padding-top: 54px; isolation: isolate; }
.sc-phone-screen { position: relative; height: 100%; overflow: hidden; background: var(--scp-tint, #fff); }
/* Strona o 2 px szersza z każdej strony niż ekran: przy skalowaniu brzeg strony nie prześwituje */
.sc-phone-screen .sc-live { transform: none; left: -2px; }
.sc-phone-screen .sc-live iframe { background: transparent; }
.scp-status {
  position: absolute; z-index: 2; inset: 0 0 auto; height: 57px; padding: 6px 30px 3px 52px;
  display: flex; align-items: center; justify-content: space-between; background: var(--scp-tint, #fff);
  color: #000; font: 600 17px/1 -apple-system, "SF Pro Text", var(--font-body); letter-spacing: -.01em;
}
.scp-screen.is-dark-top .scp-status { color: #fff; }
.scp-time { width: 54px; text-align: center; }
.scp-icons { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.scp-batt { position: relative; width: 26px; height: 13px; margin-left: 2px; border: 1.2px solid currentColor; border-radius: 4px; }
.scp-batt::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; opacity: .5; }
.scp-batt span { position: absolute; inset: 1.5px; width: 70%; border-radius: 2px; background: currentColor; }
.scp-island { position: absolute; z-index: 3; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.scp-island::after { content: ""; position: absolute; right: 22px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2c3550, #0b0d14 60%); }
.scp-home { position: absolute; z-index: 3; bottom: 8px; left: 50%; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: #fff; mix-blend-mode: difference; }
.scp-btn { position: absolute; width: 5px; border-radius: 2px; background: linear-gradient(90deg, #3a3b40, #8d8e93 60%, #4a4b50); }
.scp-action { left: -4px; top: 166px; height: 34px; }
.scp-vol-up { left: -4px; top: 228px; height: 64px; }
.scp-vol-down { left: -4px; top: 306px; height: 64px; }
.scp-power { right: -4px; top: 256px; height: 100px; }
.sc-open { position: absolute; left: clamp(18px, 3vw, 44px); bottom: clamp(14px, 2vw, 24px); z-index: 2; }

@media (max-width: 900px) {
  .sc { grid-template-columns: minmax(0, 1fr); }
  .sc-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
  .sc-list::-webkit-scrollbar { display: none; }
  .sc-list li { flex: 0 0 72%; scroll-snap-align: start; }
  .sc-item:hover { transform: none; }
  .sc-cta { display: none; }
  .sc-desktop { width: 100%; }
  .sc-phone { width: 30%; right: 12px; bottom: 54px; }
  .sc-stage { padding-bottom: 72px; }
}

/* ---------- Realizacje ---------- */
.work-head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.work { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 3vw, 40px); padding-block: 96px 40px; overflow: hidden; }
.work-head { display: flex; flex-direction: column; gap: 14px; }
.work-note { color: var(--muted); display: flex; align-items: center; gap: 8px; font-size: 15px; }
.work-note i { color: var(--accent); font-size: 18px; }
.work-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.work-card { flex: none; width: min(62vw, calc((100dvh - 330px) * 1.6)); display: flex; flex-direction: column; gap: 16px; }
.work-media {
  display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden;
  position: relative; background: var(--bg-2); border: 1px solid var(--line); text-align: left;
  transition: transform .6s var(--ease);
}
.work-media:hover { transform: scale(.985); }
/* Karta jako okno przeglądarki (motyw ze znaku) */
.work-media.win { padding-top: 34px; }
.win-bar {
  position: absolute; inset: 0 0 auto 0; height: 34px; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding-inline: 14px;
  background: var(--bg-3); border-bottom: 1px solid var(--line); transition: background-color .4s var(--ease);
}
.win-bar { color: var(--muted); transition: background-color .4s var(--ease), color .4s; }
.win-url { flex: 1; font: 500 12px var(--font-code); letter-spacing: .02em; color: var(--fg); }
.win-url::before { color: var(--muted); opacity: .7; }
.sb-go { font-size: 14px; opacity: .55; transition: transform .4s var(--ease), opacity .4s; }
.work-media.win:hover .win-bar { background: var(--accent); color: #fff; --sb-fill: #fff; }
.work-media.win:hover .win-url, .work-media.win:hover .win-url::before { color: #fff; }
.work-media.win:hover .sb-go { opacity: 1; transform: translate(2px, -2px); }
.work-media.win .live { top: 34px; }
.work-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work-media:hover > img { transform: scale(1.05); }
.live {
  position: absolute; top: 0; left: 0; width: 1440px; height: 2600px;
  transform-origin: 0 0; transform: scale(var(--s, .5)) translateY(0);
  transition: transform 3.2s var(--ease);
}
.work-media:hover .live { transform: scale(var(--s, .5)) translateY(-1700px); }
.live iframe { width: 100%; height: 100%; border: 0; pointer-events: none; background: #fff; }
/* Telefon i tablet: bez przewijania po najechaniu, więc krótsza ramka = dużo mniej pamięci */
@media (hover: none) { .live { height: 1100px; } .work-media:hover .live { transform: scale(var(--s, .5)); } }
.work-hover {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px;
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work-media:hover .work-hover, .work-media:focus-visible .work-hover { opacity: 1; transform: none; }
.work-meta { display: flex; align-items: baseline; gap: 14px; padding-inline: 4px; }
.work-meta h3, .work-meta .work-name { color: var(--fg); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -.035em; }
.work-meta p { color: var(--muted); font-size: 15px; }
.work-meta span { margin-left: auto; font: 500 13px var(--font-body); color: var(--muted); }

.cta-card .work-media {
  background: var(--accent); color: var(--on-accent); border: 0;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 3vw, 44px);
}
.cta-card .work-media:hover { transform: none; }
.cta-card h3, .cta-card .cta-h { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 4.4rem); line-height: .95; letter-spacing: -.05em; max-width: 10ch; }
.cta-card .btn { align-self: flex-start; background: #fff; color: #0d0f1b; }
.cta-card .btn::before { background: #0d0f1b; }
.cta-card .btn:hover { color: #fff; }
.cta-card .work-media::after {
  content: ""; position: absolute; right: -8%; bottom: -14%; width: 52%; aspect-ratio: 156 / 135;
  border: 14px solid rgba(255,255,255,.18); border-radius: 22%; pointer-events: none;
}

.work-progress { height: 1px; background: var(--line); overflow: hidden; }
.work-progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* ---------- Proces ---------- */
.process { padding-block: clamp(96px, 12vw, 180px) 40px; }
.process-title { max-width: 16ch; margin-bottom: clamp(40px, 6vw, 80px); }
.step { position: sticky; top: calc(96px + var(--i) * 20px); margin-bottom: 8vh; }
.step:last-child { margin-bottom: 0; }
.step-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; min-height: min(66vh, 600px);
  border-radius: var(--r-card); overflow: hidden; background: var(--step-bg); border: 1.5px solid var(--step-border);
  box-shadow: 0 -18px 50px -24px var(--step-shadow), 0 30px 60px -40px var(--step-shadow);
  transform-origin: 50% 0; will-change: transform;
}
/* Co druga karta w lekkim fiolecie, żeby karty w stosie się nie zlewały */
.step:nth-child(2) .step-inner { background: var(--step-alt); }
/* Przyciemnienie karty, gdy przykrywa ją następna (sterowane z JS przez --dim) */
.step-inner::after {
  content: ""; position: absolute; inset: 0; background: var(--bg); opacity: var(--dim, 0);
  pointer-events: none; border-radius: inherit;
}
.step-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 40px; }
.step-when {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px;
  font: 600 14px var(--font-body); background: var(--accent); color: #fff;
}
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5.6rem); letter-spacing: -.05em; line-height: .95; margin-bottom: 20px; }
.step-copy p { font-size: 18px; color: var(--muted); max-width: 38ch; }
.step-media { overflow: hidden; }
.step-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.step-accent .step-inner { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.step-accent .step-copy p { color: color-mix(in srgb, var(--on-accent) 82%, transparent); }
.step-accent .step-when { background: #fff; color: var(--accent); }

/* =========================================================
   Proces jako cztery krótkie sceny z życia jednego projektu (hotel Halny z hero):
   telefon od klienta, rysowanie makiety, kod pisany na żywo, publikacja i rezerwacje.
   Animacje odpala main.js, gdy karta wjedzie na ekran. Bez JS wszystko jest widoczne.
   ========================================================= */
.step-media.pj { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: clamp(22px, 3.4vw, 48px); }
.pw { position: relative; width: 100%; max-width: 620px; border-radius: 14px; overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line), 0 34px 60px -34px rgba(0, 0, 0, .7); }
.pw-bar { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 12px; background: var(--accent); color: #fff; --sb-fill: #fff; }
.pw-bar .sb-mark { width: 12px; height: 12px; }
.pw-bar .sb-mark::before { border-width: 1.3px; }
.pw-url { flex: 1; font: 500 10.5px var(--font-code); letter-spacing: .02em; }
.pw-url::before { margin-right: 8px; }
.pw-screen { position: relative; aspect-ratio: 16 / 9.6; overflow: hidden; container-type: inline-size; }
.pw .hln { padding-bottom: 3.2cqw; }
.pw .hl-bg { animation: none; transform: scale(1.06); }
.pj-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); font: 500 12.5px/1.3 var(--font-body); color: var(--muted); }
.pj-note i { font-size: 16px; color: var(--accent-ink); }

/* ---------- 1. Telefon od klienta ---------- */
.phone { position: relative; width: min(300px, 100%); padding: 22px 20px 20px; border-radius: 36px; background: linear-gradient(180deg, #1a1d2e, #10121e); color: #f4f5f7; box-shadow: 0 0 0 6px #0b0c14, 0 0 0 7px rgba(244, 245, 247, .12), 0 40px 70px -30px rgba(0, 0, 0, .8); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.call-top { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.call-status { font: 500 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: #a594ff; }
.call-name { font: 700 24px/1.1 var(--font-display); font-stretch: 115%; margin-top: 6px; }
.call-sub { font-size: 13px; color: #9ba0b4; }
.call-timer { font: 500 15px/1 var(--font-body); color: #f4f5f7; margin-top: 4px; font-variant-numeric: tabular-nums; }
.call-av { position: relative; width: 72px; height: 72px; display: grid; place-items: center; }
.call-av span { position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 22px; background: var(--accent); font: 700 28px var(--font-display); font-stretch: 120%; color: #fff; }
.call-ring { position: absolute; inset: 0; border-radius: 22px; border: 2px solid rgba(165, 148, 255, .7); opacity: 0; }
.phone.is-ringing .call-ring { animation: callRing 1.4s cubic-bezier(.16, 1, .3, 1) infinite; }
.phone.is-ringing .call-ring + .call-ring { animation-delay: .7s; }
@keyframes callRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.call-wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 30px; width: 100%; }
.call-wave i { width: 3px; height: 4px; border-radius: 2px; background: #a594ff; opacity: .5; transition: height .3s, opacity .3s; }
.phone.is-live .call-wave i { opacity: 1; animation: callWave .9s ease-in-out infinite alternate; }
.call-wave i:nth-child(3n) { animation-delay: -.3s !important; } .call-wave i:nth-child(4n+1) { animation-delay: -.55s !important; } .call-wave i:nth-child(5n+2) { animation-delay: -.15s !important; }
@keyframes callWave { 0% { height: 4px; } 100% { height: 26px; } }
.call-script { width: 100%; min-height: 138px; display: flex; flex-direction: column; gap: 7px; }
.call-script p { max-width: 92%; padding: 8px 11px; border-radius: 12px 12px 12px 4px; background: rgba(244, 245, 247, .08); font-size: 13px; line-height: 1.4; }
.call-script p.me { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: var(--accent); }
.call-script p:empty { display: none; }
.call-actions { display: flex; justify-content: center; gap: 56px; width: 100%; }
.call-btn { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; color: #fff; }
.call-no { background: #ff5a6a; }
.call-yes { background: #2fcf7a; }
.phone.is-live .call-yes { display: none; }
.phone.is-live .call-actions { gap: 0; }

/* ---------- 2. Kursor rysuje makietę ---------- */
.pj-cursor { position: absolute; z-index: 3; left: 0; top: 0; width: 22px; height: 22px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45)); pointer-events: none; opacity: 0; }
.pj-pin { position: absolute; z-index: 3; left: 58%; top: 18%; display: flex; align-items: center; gap: 6px; padding: 4px 9px 4px 4px; border-radius: 999px 999px 999px 4px; background: #fff; color: #0d0f1b; font-size: 12px; font-weight: 500; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); white-space: nowrap; opacity: 0; }
.pj-pin b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; }
.pj-pin.done b { background: #2fcf7a; }

/* ---------- 3. Kod pisany na żywo ---------- */
.pj-build .pw { margin-bottom: 40px; }
.pj-built { position: absolute; inset: 0; }
.code { position: absolute; z-index: 2; left: clamp(10px, 2vw, 28px); bottom: clamp(14px, 2.4vw, 32px); width: min(330px, 74%); border-radius: 12px; overflow: hidden; background: #0b0c14; box-shadow: 0 0 0 1px rgba(244, 245, 247, .1), 0 24px 50px -20px rgba(0, 0, 0, .85); }
.code-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #151826; font: 500 11px var(--font-code); color: #9ba0b4; }
.code-bar i { color: #ff8f5a; font-size: 14px; }
.code-body { min-height: 118px; margin: 0; padding: 10px 12px; font: 500 11.5px/1.65 var(--font-code); color: #d7dae4; white-space: pre-wrap; }
.code-body .c-tag { color: #a594ff; } .code-body .c-attr { color: #5ac8fa; } .code-body .c-str { color: #ffc857; } .code-body .c-com { color: #6b7086; }
.code-caret { display: inline-block; width: 7px; height: 13px; margin-left: 1px; vertical-align: -2px; background: #a594ff; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- 4. Publikacja i rezerwacje ---------- */
.deploy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 12%; background: rgba(11, 12, 20, .94); color: #f4f5f7; font: 500 12.5px/1.4 var(--font-code); opacity: 0; pointer-events: none; }
.deploy-title { font-size: 14px; font-weight: 600; }
.deploy-bar { height: 6px; border-radius: 4px; background: rgba(244, 245, 247, .12); overflow: hidden; }
.deploy-bar i { display: block; width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #a594ff); }
.deploy ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.deploy li { display: flex; align-items: center; gap: 8px; color: #9ba0b4; }
.deploy li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(244, 245, 247, .3); }
.deploy li.ok { color: #f4f5f7; }
.deploy li.ok::before { background: #2fcf7a; box-shadow: none; }
.step-accent .pw { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25), 0 34px 60px -30px rgba(13, 15, 27, .8); }
.toasts { position: relative; z-index: 3; align-self: flex-end; display: grid; gap: 8px; margin: -64px 4% 0 0; }
.pj-toast { display: inline-flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 14px; background: #fff; color: #0d0f1b; box-shadow: 0 22px 44px -20px rgba(13, 15, 27, .65); }
.pj-toast i { font-size: 24px; color: var(--accent); }
.pj-toast b { display: block; font-size: 14px; color: #0d0f1b; }
.pj-toast > span { font-size: 12.5px; line-height: 1.35; color: #565c70; white-space: nowrap; }

/* ---------- Bento ---------- */
.perks { padding-block: clamp(96px, 12vw, 180px); }
.perks .h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(250px, auto); gap: 16px; }
.cell {
  border-radius: var(--r-card); border: 1px solid var(--line); background: var(--bg-2);
  padding: clamp(22px, 2.6vw, 36px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  position: relative; overflow: hidden;
}
.cell h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.035em; line-height: 1.05; margin-bottom: 10px; }
.cell p { color: var(--muted); font-size: 16px; max-width: 42ch; }
.cell-speed { grid-column: span 3; grid-row: span 2; background: radial-gradient(120% 80% at 100% 0%, var(--accent-soft), transparent 60%), var(--bg-2); }
.cell-mobile { grid-column: span 3; background: var(--accent-soft); }
.cell-cms { grid-column: span 3; background: var(--bg-3); }
.cell-seo { grid-column: span 2; }
.cell-own { grid-column: span 4; padding: 0; border: 0; justify-content: flex-end; min-height: 300px; }

.ring { position: relative; width: clamp(180px, 22vw, 300px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 7; }
.ring-bg { stroke: var(--line); }
.ring-fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 326.73; }
.ring-num { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 6vw, 5.6rem); letter-spacing: -.05em; }
.ring-num { display: flex; align-items: center; justify-content: center; }

.resize-demo { height: 110px; display: flex; align-items: center; }
.rd-frame { width: 100%; height: 100%; border-radius: 12px; border: 1.5px solid var(--fg); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.rd-top { height: 12px; width: 40%; border-radius: 4px; background: var(--fg); opacity: .8; }
.rd-grid { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.rd-grid i { flex: 1 1 60px; min-height: 14px; border-radius: 6px; background: var(--accent); }
.rd-grid i:nth-child(2) { opacity: .6; }
.rd-grid i:nth-child(3) { opacity: .35; }

.editor { border-radius: 14px; background: var(--bg); border: 1px solid var(--line); padding: 16px 18px; }
.editor-label { display: flex; align-items: center; gap: 6px; font: 500 12px var(--font-body); color: var(--muted); margin-bottom: 10px; }
.editor p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; color: var(--fg); max-width: none; min-height: 1.3em; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -0.12em; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.serp { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.serp-url { font: 400 12px var(--font-body); color: var(--muted); }
.serp-title { color: #8ab4f8; font-size: 17px; font-weight: 500; }
:root[data-theme="light"] .serp-title { color: #1a0dab; }
.serp-desc { font-size: 13px; color: var(--muted); }

.cell-own img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cell-own:hover img { transform: scale(1.04); }
.cell-own::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,12,.88) 10%, rgba(10,10,12,.1) 75%); }
.cell-own-copy { position: relative; z-index: 1; padding: clamp(22px, 2.6vw, 36px); color: #f2f1ec; }
.cell-own-copy p { color: rgba(242,241,236,.78); }

/* ---------- Kalkulator ---------- */
.pricing { padding-block: clamp(80px, 10vw, 160px); }
.pricing-head { margin-bottom: clamp(36px, 5vw, 64px); }
.calc { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: start; }
.calc-controls { display: flex; flex-direction: column; gap: 36px; }
.calc-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-group legend { display: flex; align-items: baseline; gap: 12px; font-weight: 600; margin-bottom: 14px; padding: 0; font-size: 16px; }
.calc-group output { font-family: var(--font-display); font-size: 28px; color: var(--accent-ink); letter-spacing: -.03em; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.seg-2 { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
.seg label, .chip { position: relative; cursor: pointer; }
.seg input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--bg-2); transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.seg span b { font-weight: 600; font-size: 16px; }
.seg span small { color: var(--muted); font-size: 13px; }
.seg label:hover span { border-color: color-mix(in srgb, var(--fg) 30%, transparent); }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.seg input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.seg label:active span { transform: scale(.98); }

input[type="range"] { width: 100%; accent-color: var(--accent); height: 28px; cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2); font-size: 15px; transition: background-color .3s, color .3s, border-color .3s;
}
.chip span i { transition: transform .4s var(--ease); }
.chip span em { font-style: normal; color: var(--muted); font-size: 13px; }
.chip input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip input:checked + span em { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.chip input:checked + span i { transform: rotate(45deg); }

.calc-summary {
  position: sticky; top: 100px; border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px);
  background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
}
.sum-label { font: 500 13px var(--font-body); color: var(--muted); }
.sum-price { font-family: var(--font-display); font-weight: 700; letter-spacing: -.05em; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; margin-top: 8px; white-space: nowrap; }
.sum-price b { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.sum-to { color: var(--muted); font-variant-numeric: tabular-nums; }
.sum-time { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.sum-list { list-style: none; margin: 10px 0 24px; padding: 0; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 15px; }
.sum-list li { display: flex; justify-content: space-between; gap: 12px; }
.sum-list li span:last-child { font-variant-numeric: tabular-nums; color: var(--fg); }
.sum-btn { width: 100%; }
.sum-full { width: 100%; margin-top: 10px; font-size: 14px; }

/* ---------- Ceny w skrócie (strona główna) ---------- */
.pc-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.pc {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  padding: clamp(22px, 2.6vw, 34px); border-radius: calc(var(--r-card) + 4px);
  border: 1.5px solid var(--step-border); background: var(--step-bg); color: var(--fg);
  transition: transform .6s var(--ease), border-color .3s, box-shadow .5s var(--ease);
}
.pc:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 30px 60px -40px rgba(91, 61, 245, .6); }
.pc-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 26px; margin-bottom: 8px; }
.pc h3 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.035em; line-height: 1.05; }
.pc-desc { color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.pc-price { margin-top: auto; padding-top: 14px; font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; line-height: 1; }
.pc-price b { color: var(--accent-ink); font-weight: 700; }
.pc-price small { font-family: var(--font-body); font-stretch: 100%; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pc-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.pc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pc-meta b { color: var(--fg); font-weight: 600; }
.pc-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 15px; color: var(--accent-ink); }
.pc-go i { transition: transform .5s var(--ease); }
.pc:hover .pc-go i { transform: translateX(5px); }

.pc-main { grid-row: 1 / 3; background: var(--accent); border-color: var(--accent); color: #fff; }
.pc-main::after {
  content: ""; position: absolute; right: -14%; top: -10%; width: 62%; aspect-ratio: 156 / 135;
  border: clamp(14px, 1.8vw, 22px) solid rgba(255, 255, 255, .14); border-radius: 22%; pointer-events: none;
}
.pc-main .pc-icon { background: rgba(255, 255, 255, .16); color: #fff; }
.pc-main h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.pc-main .pc-desc, .pc-main .pc-meta { color: rgba(255, 255, 255, .82); }
.pc-main .pc-meta b, .pc-main .pc-price b, .pc-main .pc-go { color: #fff; }
.pc-main .pc-price { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.pc-price { white-space: nowrap; }
.pc-main:hover { border-color: #fff; }
.pc-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pc-list li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.pc-list i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); font-size: 12px; flex: none; }
.pc-main .pc-go { margin-top: 18px; align-self: flex-start; padding: 12px 18px; border-radius: 12px; background: #fff; color: #0d0f1b; }

.pc-wide { grid-column: 2 / 4; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center; }
.pc-wide .pc-icon { grid-row: span 2; margin: 0; }
.pc-wide .pc-price { margin: 0; padding: 0; text-align: right; }
.pc-wide .pc-go { grid-column: 3; justify-self: end; margin: 0; }

.pc-full {
  margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 40px); border-radius: calc(var(--r-card) + 4px);
  border: 1.5px dashed color-mix(in srgb, var(--accent) 60%, transparent); background: var(--accent-soft);
}
.pc-full h3 { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.2rem, 1.9vw, 1.6rem); letter-spacing: -.03em; margin-bottom: 12px; }
.pc-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pc-feats li { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; color: var(--muted); }
.pc-feats i { color: var(--accent-ink); font-size: 16px; }

@media (max-width: 1000px) {
  .pc-grid { grid-template-columns: 1fr 1fr; }
  .pc-main { grid-row: auto; grid-column: 1 / -1; }
  .pc-wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc-wide { display: flex; }
  .pc-wide .pc-price { text-align: left; }
}

/* ---------- Strona główna: "Masz pytanie?" (pełne FAQ na faq.html) ---------- */
.hq { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(80px, 10vw, 150px); scroll-margin-top: 80px; }
.hq .lead b { color: var(--fg); }
.hq-search { margin-top: clamp(22px, 3vw, 32px); padding-right: 8px; }
.hq-search .btn { flex: none; }
.hq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hq-cats a {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--step-border); background: var(--bg-2); transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.hq-cats a i { color: var(--accent-ink); font-size: 17px; transition: color .25s; }
.hq-cats a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.hq-cats a:hover i { color: #fff; }
.hq-top { border-radius: calc(var(--r-card) + 4px); border: 1.5px solid var(--step-border); background: var(--step-bg); padding: clamp(22px, 3vw, 36px); }
.hq-label { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--font-body); color: var(--accent-ink); margin-bottom: 10px; }
.hq-list { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: hq; }
.hq-list li { counter-increment: hq; border-bottom: 1px solid var(--line); }
.hq-list a { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 16px 0; font-family: var(--font-display); font-stretch: 112%; font-weight: 600; font-size: clamp(1.02rem, 1.4vw, 1.2rem); letter-spacing: -.02em; transition: color .25s; }
.hq-list a::before { content: counter(hq); width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font: 600 13px var(--font-body); letter-spacing: 0; }
.hq-list a i { color: var(--muted); transition: transform .4s var(--ease), color .25s; }
.hq-list a:hover { color: var(--accent-ink); }
.hq-list a:hover i { transform: translateX(5px); color: var(--accent-ink); }
.hq-all { width: 100%; }

/* ---------- Strona główna: szybki kontakt ---------- */
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(18px, 3vw, 32px); align-items: stretch; }
.ct-card { border-radius: calc(var(--r-card) + 6px); padding: clamp(22px, 3.4vw, 44px); background: var(--step-bg); border: 1.5px solid color-mix(in srgb, var(--accent) 45%, var(--step-border)); box-shadow: 0 40px 90px -60px rgba(91, 61, 245, .7); }
.ct-form { display: flex; flex-direction: column; gap: 22px; }
.ct-form[hidden] { display: none; }
.ct-form .field input, .ct-form .field textarea { background: var(--bg); }
.qf-choice legend small { color: var(--muted); font-weight: 400; }
.ct-side { display: flex; flex-direction: column; gap: 16px; }
.ct-path { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(20px, 2.6vw, 30px); border-radius: calc(var(--r-card) + 2px); background: var(--step-bg); border: 1.5px solid var(--step-border); }
.ct-path b { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.15; }
.ct-path > span:not(.ct-path-icon) { color: var(--muted); font-size: 15px; }
.ct-path-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-size: 22px; margin-bottom: 6px; }
/* Telefon i e-mail w kroju tekstu: szeroki krój nagłówków ma wąskie cyfry i mały „+”, przez co numer odstawał od adresu */
.ct-path .direct-link { font-family: var(--font-body); font-stretch: 100%; font-weight: 700; letter-spacing: -.01em; font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-variant-numeric: lining-nums tabular-nums; }
.ct-path-main { flex: 1; background: var(--accent); border-color: var(--accent); color: #fff; transition: transform .6s var(--ease), box-shadow .5s; }
.ct-path-main:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(91, 61, 245, .9); }
.ct-path-main .ct-path-icon { background: rgba(255,255,255,.16); color: #fff; }
.ct-path-main > span:not(.ct-path-icon) { color: rgba(255,255,255,.85); }
.ct-path-main em { margin-top: auto; padding-top: 12px; font-style: normal; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.ct-path-main em i { transition: transform .4s var(--ease); }
.ct-path-main:hover em i { transform: translateX(5px); }
.ct-path-main::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 170px; aspect-ratio: 156 / 135; border: 14px solid rgba(255,255,255,.14); border-radius: 22%; pointer-events: none; }

.hq-main, .hq-top, .ct-card, .ct-side { min-width: 0; }
@media (max-width: 1000px) {
  .hq { grid-template-columns: minmax(0, 1fr); }
  .ct-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hq-search .btn { padding: 0 14px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 80px); padding-block: clamp(80px, 10vw, 160px); align-items: start; }
.faq-side { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq-title { position: static; }
@media (max-width: 900px) { .faq-side { position: static; } }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  padding: 26px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.9vw, 1.6rem); letter-spacing: -.025em;
  transition: color .3s;
}
.qa-q:hover { color: var(--accent-ink); }
.qa-q i { flex: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.qa-q[aria-expanded="true"] i { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); border-color: transparent; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { color: var(--muted); padding-bottom: 26px; max-width: 58ch; }
.qa.open .qa-a { grid-template-rows: 1fr; }

/* ---------- Kontakt ---------- */
.contact { padding-block: clamp(80px, 10vw, 160px) clamp(80px, 8vw, 120px); }
.contact-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 8.6vw, 7.2rem);
  line-height: .95; letter-spacing: -.05em; max-width: 13ch; margin-bottom: clamp(40px, 6vw, 80px);
}
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; position: relative; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; color: var(--fg); background: var(--bg-2); border: 1.5px solid var(--field-border);
  border-radius: var(--r-input); padding: 14px 16px; min-height: 52px; width: 100%;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 17px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--accent); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field.invalid input, .field.invalid textarea { border-color: #e5484d; }
.help { font-size: 14px; color: var(--muted); }
.err { font-size: 14px; color: #ff6b6f; min-height: 0; }
:root[data-theme="light"] .err { color: #c4282d; }
.err:empty { display: none; }
.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.form-legal { font-size: 13px; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.form-legal a, .legal-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-done {
  grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; padding: 32px; border-radius: var(--r-card);
  background: var(--accent-soft); border: 1px solid var(--accent);
}
.form-done[hidden] { display: none; }
.form-done i { font-size: 40px; color: var(--accent); }
.form-done h3 { font-family: var(--font-display); font-size: 2rem; letter-spacing: -.04em; }
.form.sent .field, .form.sent .form-foot { display: none; }

.contact-direct { display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }
.contact-direct > p:first-child { font-weight: 600; }
.direct-link {
  display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem); letter-spacing: -.03em; width: fit-content; position: relative;
}
.direct-link i { color: var(--accent); }
.direct-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.direct-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Stopka ---------- */
/* Stopka: fioletowy pasek */
.footer { background: var(--accent); color: #fff; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; font-size: 15px; font-weight: 500; flex-wrap: wrap; }
.footer-row nav { display: flex; gap: 28px; }
.footer-row a { color: rgba(255, 255, 255, .82); transition: color .3s; }
.footer-row a:hover { color: #fff; }
.to-top {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .14); color: #fff !important; transition: background-color .3s;
}
.to-top:hover { background: rgba(255, 255, 255, .26); }
.to-top i { transition: transform .4s var(--ease); }
.to-top:hover i { transform: translateY(-3px); }
.footer :focus-visible { outline-color: #fff; }

/* ---------- Polityka prywatności ---------- */
.legal-nav { position: sticky; }
.legal { padding-top: 120px; padding-bottom: clamp(80px, 10vw, 140px); }
.legal-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 72px); }
.legal-head h1 { font-family: var(--font-display); font-stretch: 120%; font-weight: 700; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.legal-head p { color: var(--muted); font-size: 18px; max-width: 60ch; }
.legal-date { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 10px; background: var(--accent); color: #fff; font: 600 14px var(--font-body); margin-bottom: 22px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.legal-toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--r-card); background: var(--bg-2); border: 1.5px solid var(--step-border); }
.legal-toc b { font-size: 13px; color: var(--muted); font-weight: 600; padding: 4px 10px 10px; }
.legal-toc a { font-size: 14px; padding: 7px 10px; border-radius: 10px; color: var(--fg); transition: background-color .25s, color .25s; }
.legal-toc a:hover { background: var(--accent-soft); color: var(--accent-ink); }
.legal-body { max-width: 760px; }
.legal-body section { padding-top: 8px; margin-bottom: 44px; scroll-margin-top: 100px; }
.legal-body h2 { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.03em; line-height: 1.15; margin-bottom: 16px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.legal-body p + p { margin-top: 12px; }
.legal-body strong { color: var(--fg); font-weight: 600; }
.legal-body ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.legal-body li::marker { color: var(--accent); }
.company-card { display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; padding: 22px 24px; border-radius: var(--r-card); background: var(--bg-2); border: 1.5px solid var(--step-border); margin-top: 14px; }
.company-card dt { font-size: 14px; color: var(--muted); }
.company-card dd { margin: 0; font-size: 15px; color: var(--fg); font-weight: 500; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--fg); font-weight: 600; background: var(--bg-2); }
.legal-table td { color: var(--muted); }
.legal-table-wrap { overflow-x: auto; border-radius: 14px; border: 1.5px solid var(--step-border); }
.legal-table tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .company-card { grid-template-columns: 1fr; gap: 2px; }
  .company-card dd { margin-bottom: 10px; }
}

/* ---------- Podgląd na urządzeniach ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 2000;
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--bg); color: var(--fg); display: none; flex-direction: column;
}
.viewer[open] { display: flex; }
.viewer::backdrop { background: rgba(8, 8, 10, .6); }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; padding-inline: var(--gutter); border-bottom: 1px solid var(--line); flex: none;
  /* Pasek nad podglądem: Safari na iPhonie łapie dotknięcia pomniejszonej ramki w jej pełnym rozmiarze, więc ramka zasłaniała przyciski */
  position: relative; z-index: 2; background: var(--bg); }
.viewer-logo { flex: none; }
.viewer-title { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.viewer-title b { font-family: var(--font-display); font-size: 22px; letter-spacing: -.03em; }
.viewer-title span { color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.devices { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.devices button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: background-color .35s, color .35s; }
.devices button i { font-size: 18px; }
.devices button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.viewer-actions { display: flex; gap: 8px; }
.viewer-stage { position: relative; z-index: 1; isolation: isolate; flex: 1; overflow: hidden; background: radial-gradient(60% 60% at 50% 40%, var(--bg-2), var(--bg)); }
.device {
  position: absolute; left: 50%; top: 50%; width: 1440px; height: 900px;
  border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow);
}
.device.is-framed { border-radius: 36px; box-shadow: 0 0 0 12px #17181b, 0 0 0 13px #2a2b30, var(--shadow); }
.device-screen { width: 100%; height: 100%; }
.device-screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.device-screen { overflow: hidden; }
.device-screen .img-scroll { width: 100%; height: 100%; overflow-y: auto; }
.device.is-framed .img-scroll { scrollbar-width: none; }
.device.is-framed .img-scroll::-webkit-scrollbar { display: none; }
.device-screen .img-scroll img { width: 100%; height: auto; }

/* iPhone (402 × 874 pt) i iPad (834 × 1194 pt): ramka, pasek stanu, Dynamic Island / kamera.
   Ekran ma tło w kolorze górnej krawędzi strony (--tint), a pasek stanu leży na nim przezroczysty: zero szwów. */
.ip-chrome { display: none; }
.device.is-phone, .device.is-tablet { --tint: #fff; overflow: visible; background: transparent; box-shadow: none; }
.device.is-phone { --sb: 54px; --r: 62px; border-radius: 62px; }
.device.is-tablet { --sb: 32px; --r: 20px; border-radius: 20px; }
.device.is-phone .ip-chrome, .device.is-tablet .ip-chrome { display: block; }
/* Strona o 2 px szersza z każdej strony niż ekran: przy skalowaniu brzeg strony nie prześwituje */
.device.is-phone .device-screen iframe, .device.is-tablet .device-screen iframe { margin-left: -2px; }
.device.is-phone .device-screen, .device.is-tablet .device-screen {
  position: absolute; inset: 0; width: auto; height: auto; padding-top: var(--sb);
  border-radius: var(--r); background: var(--tint); transition: background-color .3s;
}
/* Obudowa: zewnętrzny metal (::before) i czarna ramka wokół ekranu (::after) */
.device.is-phone::before, .device.is-tablet::before {
  content: ""; position: absolute; z-index: -1;
  background: linear-gradient(135deg, #8d8e93 0%, #4a4b50 18%, #2a2b2f 50%, #55565b 82%, #9b9ca1 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 60px 120px -40px rgba(0, 0, 0, .7);
}
.device.is-phone::after, .device.is-tablet::after { content: ""; position: absolute; z-index: -1; background: #050506; box-shadow: 0 0 0 1.5px #3b3c40; }
.device.is-phone::before { inset: -16px; border-radius: 78px; }
.device.is-phone::after { inset: -12px; border-radius: 74px; }
.device.is-tablet::before { inset: -26px; border-radius: 46px; background: linear-gradient(135deg, #c9cacd 0%, #8e8f93 22%, #6d6e72 50%, #96979b 80%, #d2d3d6 100%); }
.device.is-tablet::after { inset: -22px; border-radius: 42px; }

.ip-status {
  /* 3px niżej niż górna krawędź strony: zakrywa prześwit przewijanej treści nad przyklejonym nagłówkiem przy skalowaniu */
  position: absolute; inset: 0 0 auto; height: calc(var(--sb) + 3px); padding-bottom: 3px; z-index: 2; pointer-events: none;
  border-radius: var(--r) var(--r) 0 0; background: var(--tint); transition: color .2s, background-color .2s;
  display: flex; align-items: center; justify-content: space-between;
  color: #000; font: 600 17px/1 -apple-system, "SF Pro Text", var(--font-body); letter-spacing: -.01em;
}
.device.is-dark-top .ip-status { color: #fff; }
.ip-left { display: flex; align-items: baseline; gap: 7px; }
.ip-icons { display: flex; align-items: center; gap: 6px; font-size: 18px; }
.ip-batt { position: relative; width: 26px; height: 13px; margin-left: 2px; border: 1.2px solid currentColor; border-radius: 4px; opacity: .95; }
.ip-batt::after { content: ""; position: absolute; right: -4px; top: 3.5px; width: 2px; height: 4px; border-radius: 0 1px 1px 0; background: currentColor; opacity: .5; }
.ip-batt span { position: absolute; inset: 1.5px; width: 70%; border-radius: 2px; background: currentColor; }
.ip-home { position: absolute; z-index: 3; bottom: 8px; left: 50%; width: 140px; height: 5px; margin-left: -70px; border-radius: 3px; background: #fff; mix-blend-mode: difference; pointer-events: none; }
.ip-island, .ip-lens, .ip-date, .ip-pct, .ip-btn { display: none; }

/* iPhone */
.is-phone .ip-status { padding: 6px 30px 3px 52px; }
.is-phone .ip-time { width: 54px; text-align: center; }
.is-phone .ip-island { display: block; position: absolute; z-index: 3; top: 11px; left: 50%; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.is-phone .ip-island::after { content: ""; position: absolute; right: 22px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2c3550, #0b0d14 60%); }
.is-phone .ip-btn { display: block; position: absolute; width: 5px; border-radius: 2px; background: linear-gradient(90deg, #3a3b40, #8d8e93 60%, #4a4b50); }
.is-phone .ip-action { left: -20px; top: 150px; height: 34px; }
.is-phone .ip-vol-up { left: -20px; top: 212px; height: 64px; }
.is-phone .ip-vol-down { left: -20px; top: 290px; height: 64px; }
.is-phone .ip-power { right: -20px; top: 240px; height: 100px; }
.is-phone .ip-cam { right: -19px; top: 520px; height: 58px; width: 4px; }

/* iPad: data obok godziny, procent baterii, bez zasięgu, kamera w ramce, przyciski na górze i z prawej */
.is-tablet .ip-status { padding: 0 22px 3px; font-size: 14px; }
.is-tablet .ip-date { display: inline; }
.is-tablet .ip-sig { display: none; }
.is-tablet .ip-pct { display: inline; font-size: 13px; margin-left: 2px; }
.is-tablet .ip-icons { font-size: 16px; gap: 5px; }
.is-tablet .ip-batt { width: 24px; height: 12px; }
.is-tablet .ip-home { width: 300px; margin-left: -150px; bottom: 7px; }
.is-tablet .ip-lens { display: block; position: absolute; z-index: 3; top: -15px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #2c3550, #0b0d14 65%); }
.is-tablet .ip-btn { display: block; position: absolute; border-radius: 2px; background: linear-gradient(180deg, #d2d3d6, #8e8f93); }
.is-tablet .ip-power { top: -30px; right: 70px; width: 70px; height: 5px; }
.is-tablet .ip-vol-up { right: -30px; top: 90px; width: 5px; height: 60px; background: linear-gradient(90deg, #8e8f93, #d2d3d6); }
.is-tablet .ip-vol-down { right: -30px; top: 160px; width: 5px; height: 60px; background: linear-gradient(90deg, #8e8f93, #d2d3d6); }

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
  .nav-links { gap: 24px; }
  .hero-side { grid-column: 1 / span 6; }
  .morph-wrap { grid-column: 7 / -1; margin-top: 0; }
  .calc { grid-template-columns: 1fr; }
  .calc-summary { position: relative; top: 0; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }

  .hero { display: flex; flex-direction: column; min-height: auto; padding-top: 112px; gap: 28px; }
  .hero-title { font-size: clamp(3rem, 13.5vw, 6rem); }
  /* kontur za makietą wysunięty o 14 px: tyle miejsca zostawiamy z prawej, żeby nie wystawał poza ekran */
  .morph-wrap { margin-top: 26px; align-self: stretch; width: calc(100% - 14px); justify-self: start; }
  .morph-ghost { translate: 14px -14px; }

  .work { min-height: auto; padding-block: 72px 32px; }
  .work-viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .work-viewport::-webkit-scrollbar { display: none; }
  .work-card { width: 84vw; scroll-snap-align: center; }
  .work-progress { display: none; }

  .step { position: relative; top: 0; margin-bottom: 16px; }
  .step-inner { grid-template-columns: 1fr; min-height: 0; }
  .step-media { aspect-ratio: 16 / 10; order: -1; }
  .step-media.pj { aspect-ratio: auto; }
  /* Telefon: edytor kodu pod oknem zamiast na nim, drobniejsza lista publikacji */
  .pj-build .pw { margin-bottom: 0; }
  .code { position: relative; left: auto; bottom: auto; width: 100%; }
  .code-body { min-height: 0; font-size: 11px; }
  .deploy { gap: 7px; padding: 0 7%; font-size: 10.5px; }
  .deploy-title { font-size: 12px; }
  .deploy li::before { width: 11px; height: 11px; }
  .toasts { align-self: stretch; margin: 0; gap: 6px; }
  .pj-toast { gap: 10px; padding: 8px 12px; border-radius: 12px; }
  .pj-toast i { font-size: 18px; }
  .pj-toast b { font-size: 12.5px; }
  .pj-toast > span { font-size: 11.5px; }

  .svc-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: 1fr; }
  .sv-head { grid-template-columns: auto 1fr; }
  .sv-meta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px; text-align: left; }
  .sv-body { grid-template-columns: 1fr; }
  .gx-grid { grid-template-columns: 1fr; }
  .gx-cards, .gx-flyer-fig, .gx-voucher-fig, .gx-bb-fig, .gx-car-fig { grid-column: auto; grid-row: auto; }
  .car3d-views button { padding: 0 13px; }
  .gx-bb-fig .gx-stage { aspect-ratio: 16 / 11; }
  .bb-3d { left: 7cqw; top: 15cqw; width: 76cqw; }
  .gx-flyer-fig .gx-stage { aspect-ratio: 4 / 5; flex: none; min-height: 0; }
  .sv-body-print { grid-template-columns: 1fr; }
  .ad-grid { grid-template-columns: 1fr; }
  .ad-card, .ad-card:nth-child(n+4) { grid-column: auto; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .pf-item.is-featured .work-media { aspect-ratio: 16 / 10; }
  .pf-meta { grid-template-columns: 1fr; }
  .pf-tags { justify-content: flex-start; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento .cell { grid-column: auto; grid-row: auto; min-height: 240px; }

  .seg { grid-template-columns: 1fr; }
  .seg-2 { grid-template-columns: 1fr 1fr; }

  .faq { grid-template-columns: 1fr; }
  .faq-title { position: static; }

  .contact-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }

  .devices span { display: none; }
  .devices button { padding: 0 12px; }
  .viewer-title span { display: none; }
}

@media (max-width: 520px) {
  /* Pierwsze zdanie hero w jednej linii także na wąskich telefonach */
  .hero-sub { font-size: clamp(15px, 4.7vw - 1.6px, 17px); }
  /* Podgląd na telefonie: pasek mieści się w ekranie (sam znak zamiast pełnego logo, ciaśniejsze przyciski) */
  .viewer-bar { gap: 8px; padding-inline: 12px; height: 64px; }
  .viewer-logo .wordmark-img { display: none; }
  .devices button { height: 40px; padding: 0 11px; }
  .viewer-actions { gap: 4px; }
  body { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .footer-row { justify-content: center; text-align: center; }
  .footer-row nav { gap: 20px; }
}

/* ---------- Bez animacji (tylko gdy w adresie jest ?motion=0) ---------- */
.no-motion *, .no-motion *::before, .no-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
.no-motion .loader { display: none; }
.no-motion .mw { opacity: 1; }
.no-motion .work-media:hover .live { transform: scale(var(--s, .5)); }

/* ---------- Wejście podstron (CSS zamiast GSAP) ----------
   Nagłówek, opis i elementy nad linią zgięcia ruszają od pierwszego wyświetlenia, bez czekania na skrypty
   (szybsze LCP, brak mignięcia treści). Czasy i kolejność jak wcześniej w JS. fill-mode: backwards, żeby po
   animacji nie blokować transformacji z :hover. ?motion=0 wyłącza wszystko (.no-motion). */
@keyframes inTitle { from { opacity: 0; transform: translateY(60%); } }
@keyframes inUp { from { opacity: 0; transform: translateY(var(--in-y, 24px)); } }
@keyframes inLeft { from { opacity: 0; transform: translateX(-30px); } }
@keyframes inRight { from { opacity: 0; transform: translateX(40px); } }
@keyframes inPop { from { transform: scale(0) rotate(-20deg); } }
@keyframes inNav { from { opacity: 0; transform: translateY(-20px); } }
:root:not(.no-motion) .pf-title-text { display: inline-block; animation: inTitle 1.1s cubic-bezier(.16, 1, .3, 1) .1s backwards; }
/* opis pod nagłówkiem to zwykle największy tekst (LCP): wjeżdża bez zanikania, żeby był widoczny od pierwszego wyświetlenia */
@keyframes inSlide { from { transform: translateY(18px); } }
:root:not(.no-motion) .pf-lead { animation: inSlide .9s cubic-bezier(.16, 1, .3, 1) .2s backwards; }
:root:not(.no-motion) .pf-count { animation: inPop .8s cubic-bezier(.34, 1.8, .64, 1) .45s backwards; }
:root:not(.no-motion) .pf-filter, :root:not(.no-motion) .cn-promises li { --in-y: 16px; animation: inUp .7s cubic-bezier(.16, 1, .3, 1) backwards; }
:root:not(.no-motion) .pf-filter:nth-child(1), :root:not(.no-motion) .cn-promises li:nth-child(1) { animation-delay: .5s; }
:root:not(.no-motion) .pf-filter:nth-child(2), :root:not(.no-motion) .cn-promises li:nth-child(2) { animation-delay: .55s; }
:root:not(.no-motion) .pf-filter:nth-child(3), :root:not(.no-motion) .cn-promises li:nth-child(3) { animation-delay: .6s; }
:root:not(.no-motion) .pf-filter:nth-child(4), :root:not(.no-motion) .cn-promises li:nth-child(4) { animation-delay: .65s; }
:root:not(.no-motion) .pf-filter:nth-child(n+5), :root:not(.no-motion) .cn-promises li:nth-child(n+5) { animation-delay: .7s; }
:root:not(.no-motion) .pr-facts li { --in-y: 30px; animation: inUp .9s cubic-bezier(.16, 1, .3, 1) backwards; }
:root:not(.no-motion) .pr-facts li:nth-child(1) { animation-delay: .45s; } :root:not(.no-motion) .pr-facts li:nth-child(2) { animation-delay: .53s; }
:root:not(.no-motion) .pr-facts li:nth-child(3) { animation-delay: .61s; } :root:not(.no-motion) .pr-facts li:nth-child(n+4) { animation-delay: .69s; }
:root:not(.no-motion) .fq-search { animation: inUp .9s cubic-bezier(.16, 1, .3, 1) .5s backwards; }
:root:not(.no-motion) .fq-nav { animation: inLeft .9s cubic-bezier(.16, 1, .3, 1) .6s backwards; }
:root:not(.no-motion) .cn-summary { animation: inRight 1s cubic-bezier(.16, 1, .3, 1) .6s backwards; }
:root:not(.no-motion) body:has(.pf-hero) .nav > * { animation: inNav .8s cubic-bezier(.16, 1, .3, 1) backwards; }
:root:not(.no-motion) body:has(.pf-hero) .nav > :nth-child(2) { animation-delay: .06s; }
:root:not(.no-motion) body:has(.pf-hero) .nav > :nth-child(3) { animation-delay: .12s; }
/* Realizacje: miejsce na filtry i kafelki budowane skryptem, żeby treść nie skakała przy ładowaniu */
.pf-filters:empty { min-height: 44px; }
.pf-grid:empty { min-height: 110vh; }
