/* ==========================================================================
   Devgen.pl: design system
   Fonty: Outfit (nagłówki) + Inter (tekst), hostowane lokalnie
   ========================================================================== */

/* ---------- Fonty ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokeny ---------- */
:root {
  --bg: #0a0118;
  --bg-elev: #110726;
  --bg-elev-2: #180d31;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f6f3fc;
  --text-2: #b4aec8;
  --muted: #8a849f;

  --violet: #b47cfd;
  --pink: #ff7fc2;
  --peach: #ffb38a;
  --green: #5ee6a8;

  --grad: linear-gradient(120deg, #b47cfd 0%, #ff7fc2 55%, #ffb38a 100%);
  --grad-soft: linear-gradient(120deg, rgba(180, 124, 253, 0.18), rgba(255, 127, 194, 0.12) 60%, rgba(255, 179, 138, 0.1));

  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 136px);
  --header-h: 76px;

  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(180, 124, 253, 0.25), 0 20px 60px -20px rgba(180, 124, 253, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--text); line-height: 1.12; letter-spacing: -0.02em; margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure, blockquote { margin: 0; }
::selection { background: rgba(255, 127, 194, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ---------- Ikony (sprite) ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }
.container--wide { max-width: calc(1400px + var(--gutter) * 2); }

.section { position: relative; padding-block: var(--section); overflow-x: clip; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--flush-top { padding-top: 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%); border-top: 1px solid var(--line); }
.section--line { border-top: 1px solid var(--line); }

.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: var(--stack, 1rem); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }

/* ---------- Tło dekoracyjne ---------- */
.bg-grid {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(80px); opacity: 0.55; }
.glow--violet { background: radial-gradient(circle, rgba(180,124,253,0.7), transparent 65%); }
.glow--pink { background: radial-gradient(circle, rgba(255,127,194,0.6), transparent 65%); }
.glow--peach { background: radial-gradient(circle, rgba(255,179,138,0.45), transparent 65%); }
.section > .container, .page-hero > .container, .hero > .container { position: relative; z-index: 1; }

/* ---------- Typografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--pink); }
.eyebrow--plain { background: none; border: 0; padding: 0; color: var(--pink); }
.eyebrow--plain::before { display: none; }

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

.display { font-size: clamp(2.5rem, 3.4vw + 1rem, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700; }
.h1 { font-size: clamp(2.25rem, 3.6vw + 1rem, 4rem); line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-size: clamp(1.875rem, 2.4vw + 1rem, 3.25rem); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); line-height: 1.2; }
.h4 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.25rem); line-height: 1.65; color: var(--text-2); }
.small { font-size: 0.875rem; }
.muted { color: var(--muted); }
strong, b { color: var(--text); font-weight: 600; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head > * + * { margin-top: 18px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px 64px; align-items: end; }
.section-head--split > * + * { margin-top: 0; }
.section-head--split .section-head__title > * + * { margin-top: 18px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* ---------- Przyciski ---------- */
.btn {
  --btn-h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding-inline: 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.005em; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { color: #170826; background: var(--grad); box-shadow: 0 10px 30px -10px rgba(255, 127, 194, 0.6), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(255, 127, 194, 0.75), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn--dark { color: var(--text); background: var(--bg); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--sm { --btn-h: 42px; padding-inline: 18px; font-size: 0.9375rem; }
.btn--lg { --btn-h: 60px; padding-inline: 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.center .btn-row, .btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--text); transition: gap 0.3s var(--ease), color 0.2s; }
.link-arrow .icon { width: 18px; height: 18px; color: var(--pink); }
.link-arrow:hover { gap: 12px; color: #fff; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open { background: rgba(10, 1, 24, 0.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
/* backdrop-filter tworzy blok zawierający dla position:fixed, więc przy otwartym menu mobilnym musi zniknąć */
.header.is-open { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header__inner { display: flex; align-items: center; gap: 24px; width: 100%; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--text); }
.logo svg { width: 23px; height: 36px; flex-shrink: 0; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding-inline: 14px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.9875rem; color: var(--text-2); transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__link.is-active, .nav__link[aria-current="page"] { color: var(--text); }
.nav__link.is-active::after, .nav__link[aria-current="page"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--grad); margin-left: 2px; }
.nav__link .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.nav__item { position: relative; }
.nav__item--has-menu:hover .nav__link .icon, .nav__item--has-menu.is-open .nav__link .icon { transform: rotate(180deg); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 500; color: var(--text-2); font-size: 0.9375rem; }
.header__phone:hover { color: var(--text); }
.header__phone .icon { color: var(--pink); width: 18px; height: 18px; }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(760px, 92vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0.25s;
  padding: 14px; border-radius: var(--radius-lg);
  background: rgba(17, 7, 38, 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto 0; height: 14px; }
.nav__item--has-menu:hover .mega, .nav__item--has-menu.is-open .mega, .nav__item--has-menu:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: var(--radius); transition: background-color 0.2s; }
.mega__link:hover { background: rgba(255,255,255,0.05); }
.mega__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--line); color: var(--pink); }
.mega__icon .icon { width: 20px; height: 20px; }
.mega__title { display: block; font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1rem; line-height: 1.3; }
.mega__desc { display: block; font-size: 0.8125rem; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.mega__extra { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 4px; padding: 12px 14px 4px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.mega__label { color: var(--muted); }
.mega__extra a { color: var(--text-2); transition: color 0.2s; }
.mega__extra a:hover { color: var(--pink); }
.mega__footer { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--line); font-size: 0.875rem; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); place-items: center; color: var(--text); margin-left: auto; }
.burger .icon { width: 22px; height: 22px; }
.burger .icon-close { display: none; }
.header.is-open .burger .icon-menu { display: none; }
.header.is-open .burger .icon-close { display: block; }

@media (max-width: 1180px) { .header__phone { display: none; } }
@media (max-width: 1024px) {
  .burger { display: grid; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0; padding: 20px var(--gutter) 40px;
    background: var(--bg); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .header.is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { height: 60px; width: 100%; justify-content: space-between; padding-inline: 4px; font-size: 1.25rem; color: var(--text); border-radius: 0; }
  .nav__link:hover { background: none; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; pointer-events: auto; display: none; grid-template-columns: 1fr; background: none; border: 0; box-shadow: none; padding: 0 0 16px; backdrop-filter: none; }
  .nav__item--has-menu:hover .mega { transform: none; }
  .nav__item--has-menu.is-open .mega { display: grid; transform: none; }
  .mega::before { display: none; }
  .mega__link { padding: 10px 4px; }
  .nav__mobile-cta { display: grid !important; gap: 12px; margin-top: 28px; }
}
@media (min-width: 1025px) { .nav__mobile-cta { display: none !important; } }
body.nav-open { overflow: hidden; }

/* ---------- Hero (strona główna) ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(48px, 8vw, 104px)); padding-bottom: clamp(56px, 8vw, 104px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero__content > * + * { margin-top: 24px; }
.hero__content .btn-row { margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 40px !important; padding-top: 28px; border-top: 1px solid var(--line); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; }
.trust-item strong { font-family: var(--font-display); font-size: 1.25rem; }
.stars { display: inline-flex; gap: 2px; color: #ffc46b; }
.stars .icon { width: 16px; height: 16px; }
@media (max-width: 1024px) { .hero__grid { grid-template-columns: 1fr; } .hero__visual { max-width: 640px; margin-inline: auto; width: 100%; } }

/* Kompozycja wizualna hero */
.hero__visual { position: relative; aspect-ratio: 1 / 0.92; }
.mock-browser {
  position: absolute; inset: 6% 4% 10% 6%;
  border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #1a0f33, #120827);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03) inset;
}
.mock-browser__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding-inline: 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.mock-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mock-browser__bar i:nth-child(1) { background: #ff6b8b; } .mock-browser__bar i:nth-child(2) { background: #ffc46b; } .mock-browser__bar i:nth-child(3) { background: #5ee6a8; }
.mock-browser__url { margin-left: 14px; flex: 1; height: 20px; border-radius: 6px; background: rgba(255,255,255,0.05); font-size: 11px; line-height: 20px; padding-inline: 10px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.mock-browser__url .icon { width: 11px; height: 11px; color: var(--green); }
.mock-browser__body { padding: 7% 8%; }
.mock-line { height: 10px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.mock-line--title { height: 22px; width: 78%; background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.55)); margin-bottom: 10px; }
.mock-line--grad { height: 22px; width: 56%; background: var(--grad); margin-bottom: 22px; }
.mock-line + .mock-line { margin-top: 9px; }
.mock-btns { display: flex; gap: 10px; margin-top: 22px; }
.mock-btns span { height: 28px; width: 104px; border-radius: 999px; background: var(--grad); }
.mock-btns span + span { background: none; border: 1px solid var(--line-strong); width: 90px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.mock-cards span { aspect-ratio: 1 / 0.8; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--line); }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 18px;
  background: rgba(24, 13, 49, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  animation: float 7s ease-in-out infinite;
}
.float-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #170826; flex: none; }
.float-card__icon .icon { width: 20px; height: 20px; }
.float-card__label { display: block; font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.float-card__value { display: block; font-family: var(--font-display); font-weight: 700; color: var(--text); font-size: 1.125rem; line-height: 1.2; }
.float-card--a { top: 0; right: 0; animation-delay: -1s; }
.float-card--b { bottom: 0; left: 0; animation-delay: -3s; }
.float-card--c { bottom: 16%; right: -2%; animation-delay: -5s; }
.score { position: relative; width: 44px; height: 44px; flex: none; }
.score svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.score circle { fill: none; stroke-width: 4; }
.score b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 0.875rem; color: var(--green); }
.spark { width: 120px; height: 36px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 560px) { .float-card { padding: 10px 12px; gap: 10px; } .float-card__icon { width: 34px; height: 34px; } .float-card--c { display: none; } .spark { width: 84px; } }

/* ---------- Page hero (podstrony) ---------- */
.page-hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero__inner { max-width: 880px; }
.page-hero__inner > * + * { margin-top: 22px; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero--center .btn-row, .page-hero--center .chips { justify-content: center; }
.page-hero--center .breadcrumbs ol { justify-content: center; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.page-hero__grid .page-hero__inner { max-width: none; }
@media (max-width: 960px) { .page-hero__grid { grid-template-columns: 1fr; } }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.875rem; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 5px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); opacity: 0.6; margin-right: 4px; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current] { color: var(--text-2); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.875rem; color: var(--text-2); }
.chip .icon { width: 16px; height: 16px; color: var(--green); }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--text-2); }
.tag--grad { background: var(--grad-soft); color: var(--text); }

/* ---------- Logotypy klientów ---------- */
.logos { position: relative; padding-block: 40px; }
.logos__title { text-align: center; font-family: var(--font-display); font-size: 0.9375rem; color: var(--muted); letter-spacing: 0.01em; margin-bottom: 28px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); padding-right: clamp(40px, 6vw, 80px); }
.marquee__group img { height: 34px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.5; transition: opacity 0.3s; }
.marquee__group img:hover { opacity: 0.95; }
.marquee__group img.is-tall { height: 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Karty ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 2.4vw, 32px); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.3s, background-color 0.3s, box-shadow 0.45s var(--ease);
}
.card--hover:hover, a.card:hover { transform: translateY(-4px); border-color: rgba(255,127,194,0.35); box-shadow: 0 30px 60px -30px rgba(255,127,194,0.35); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--pink); }
.card__icon .icon { width: 24px; height: 24px; }
.card__icon--solid { background: var(--grad); color: #170826; border: 0; }
.card__title { font-family: var(--font-display); font-size: 1.3125rem; font-weight: 600; color: var(--text); line-height: 1.25; letter-spacing: -0.015em; }
.card__text { color: var(--text-2); font-size: 0.975rem; }
.card__link { margin-top: auto; padding-top: 8px; }
.card__num { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--pink); letter-spacing: 0.06em; }
.card .check-list { margin-top: 4px; }

/* Bento: usługi */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 20px); }
.bento .card { grid-column: span 2; min-height: 280px; overflow: hidden; }
.bento .card--wide { grid-column: span 4; }
.bento .card--half { grid-column: span 3; }
.bento .card--feature { background: radial-gradient(120% 120% at 100% 0%, rgba(180,124,253,0.22), transparent 55%), linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); }
.bento .card__art { position: absolute; right: -20px; bottom: -20px; width: 46%; opacity: 0.9; pointer-events: none; }
.bento .card--wide .card__body { max-width: 56%; }
@media (max-width: 1024px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento .card, .bento .card--wide, .bento .card--half { grid-column: span 1; } .bento .card--wide { grid-column: span 2; } }
@media (max-width: 680px) { .bento { grid-template-columns: 1fr; } .bento .card--wide { grid-column: span 1; } .bento .card--wide .card__body { max-width: none; } .bento .card__art { display: none; } .bento .card { min-height: 0; } }

/* Lista z „ptaszkami” */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--text-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 110 20 10 10 0 010-20zm4.7 7.2a1 1 0 00-1.4-1.4L8.5 10.6 6.7 8.8a1 1 0 00-1.4 1.4l2.5 2.5a1 1 0 001.4 0l5.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 110 20 10 10 0 010-20zm4.7 7.2a1 1 0 00-1.4-1.4L8.5 10.6 6.7 8.8a1 1 0 00-1.4 1.4l2.5 2.5a1 1 0 001.4 0l5.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.check-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.check-list--lg li { font-size: 1.0625rem; color: var(--text); }
@media (max-width: 680px) { .check-list--2 { grid-template-columns: 1fr; } }

/* Funkcje/cechy z ikoną po lewej */
.feature { display: flex; gap: 18px; }
.feature__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--pink); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--text); line-height: 1.3; margin-bottom: 6px; }
.feature__text { font-size: 0.9625rem; }

/* ---------- Statystyki ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--radius-xl); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); overflow: hidden; }
.stat { padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2.5vw, 36px); position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 3.5vw + 0.5rem, 4rem); line-height: 1; letter-spacing: -0.04em; color: var(--text); display: flex; align-items: baseline; gap: 2px; }
.stat__value .text-grad { padding-right: 2px; }
.stat__label { margin-top: 12px; font-size: 0.9375rem; color: var(--text-2); }
.stat__label strong { display: block; font-family: var(--font-display); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--pink); margin-bottom: 4px; font-weight: 600; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Split: tekst + wizual ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--wide-text { grid-template-columns: 1.2fr 0.8fr; }
.split__content > * + * { margin-top: 20px; }
.split__content .btn-row { margin-top: 32px; }
.split--reverse .split__visual { order: -1; }
@media (max-width: 960px) { .split, .split--wide-text { grid-template-columns: 1fr; } .split--reverse .split__visual { order: 0; } }

.panel { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); border: 1px solid var(--line); overflow: hidden; }
.panel--grad { background: radial-gradient(120% 100% at 0% 0%, rgba(180,124,253,0.25), transparent 50%), radial-gradient(100% 100% at 100% 100%, rgba(255,127,194,0.18), transparent 55%), var(--bg-elev); border-color: var(--line-strong); }
.panel__title { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1.25rem; margin-bottom: 18px; }

/* Wykres/miernik dekoracyjny */
.meter { display: grid; gap: 14px; }
.meter__row { display: grid; grid-template-columns: 140px 1fr 44px; align-items: center; gap: 14px; font-size: 0.875rem; }
.meter__bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.meter__bar span { display: block; height: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; }
.meter__val { font-family: var(--font-display); color: var(--text); font-weight: 600; text-align: right; }
[data-reveal] .meter__bar span { transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
[data-reveal].is-visible .meter__bar span { transform: scaleX(1); }
@media (max-width: 480px) { .meter__row { grid-template-columns: 100px 1fr 36px; } }

/* ---------- Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.025); border: 1px solid var(--line); }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; color: #170826; background: var(--grad); margin-bottom: 20px; box-shadow: 0 0 0 6px rgba(255,127,194,0.1); }
.step__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.3; }
.step__text { font-size: 0.9375rem; }
.step::after { content: ""; position: absolute; top: 50px; right: -17px; width: 18px; height: 1px; background: var(--line-strong); }
.step:last-child::after { display: none; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step::after { display: none; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Oś czasu (pionowa) */
.timeline { list-style: none; position: relative; display: grid; gap: 28px; padding-left: 36px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--violet), var(--pink), transparent); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--pink); box-shadow: 0 0 0 4px rgba(255,127,194,0.12); }
.timeline h3 { font-size: 1.125rem; margin-bottom: 6px; }

/* ---------- Portfolio ---------- */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (max-width: 1024px) { .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .projects { grid-template-columns: 1fr; } }
.project { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); border: 1px solid var(--line); overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease); }
.project:hover { transform: translateY(-4px); border-color: rgba(255,127,194,0.35); box-shadow: 0 30px 60px -30px rgba(255,127,194,0.35); }
.project__media { position: relative; margin: 10px 10px 0; border-radius: 16px 16px 6px 6px; overflow: hidden; background: #1a0f33; border: 1px solid var(--line); }
.project__bar { display: flex; gap: 5px; align-items: center; height: 24px; padding-inline: 10px; background: rgba(255,255,255,0.04); border-bottom: 1px solid var(--line); }
.project__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.project__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px 22px 22px; }
.project__title { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.project__cat { font-size: 0.875rem; color: var(--muted); margin-top: 2px; }
.project__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.project__arrow { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease); }
.project:hover .project__arrow { background: var(--grad); color: #170826; border-color: transparent; transform: rotate(-45deg); }
.project__arrow .icon { width: 18px; height: 18px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { height: 40px; padding-inline: 18px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; transition: all 0.2s; }
.filter:hover { color: var(--text); border-color: rgba(255,255,255,0.35); }
.filter.is-active { background: var(--grad); color: #170826; border-color: transparent; }
.project.is-hidden { display: none; }

/* ---------- Opinie ---------- */
.testimonials { columns: 3 320px; column-gap: clamp(16px, 2vw, 24px); }
.testimonial { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 24px); padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)); border: 1px solid var(--line); }
.testimonial__quote { color: var(--text); font-size: 1rem; line-height: 1.7; margin-top: 16px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #170826; font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; flex: none; }
.testimonial__name { font-family: var(--font-display); font-weight: 600; color: var(--text); line-height: 1.2; }
.testimonial__city { font-size: 0.8125rem; color: var(--muted); }
.rating-badge { display: inline-flex; align-items: center; gap: 14px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.rating-badge strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid var(--line); transition: border-color 0.3s, background-color 0.3s; }
.faq__item[open] { border-color: rgba(255,127,194,0.3); background: rgba(255,255,255,0.045); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--text); line-height: 1.4; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7fc2' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform 0.35s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 24px 24px; color: var(--text-2); }
.faq__answer > * + * { margin-top: 12px; }
.faq__answer ul { padding-left: 20px; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-layout .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
@media (max-width: 960px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout .section-head { position: static; } }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(40px, 6vw, 80px); border-radius: var(--radius-xl);
  background: radial-gradient(80% 120% at 0% 0%, rgba(180,124,253,0.45), transparent 55%), radial-gradient(70% 120% at 100% 100%, rgba(255,127,194,0.35), transparent 55%), var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.cta-band__content > * + * { margin-top: 18px; }
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-contact { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius); background: rgba(10,1,24,0.5); border: 1px solid var(--line); width: 100%; transition: border-color 0.2s, background-color 0.2s; }
.cta-contact:hover { border-color: rgba(255,127,194,0.4); background: rgba(10,1,24,0.7); }
.cta-contact .icon { width: 22px; height: 22px; color: var(--pink); }
.cta-contact small { display: block; font-size: 0.75rem; color: var(--muted); line-height: 1.3; }
.cta-contact b { display: block; font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1.0625rem; line-height: 1.3; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Pakiety / rodzaje ---------- */
.package { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.package--featured { background: radial-gradient(120% 80% at 50% 0%, rgba(180,124,253,0.22), transparent 60%), var(--bg-elev); border-color: rgba(255,127,194,0.4); box-shadow: var(--shadow-glow); position: relative; }
.package__badge { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--grad); color: #170826; font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
.package__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--text); }
.package__for { font-size: 0.9375rem; }
.package__price { font-family: var(--font-display); color: var(--text); font-size: 1.125rem; font-weight: 600; padding-block: 16px; border-block: 1px solid var(--line); }
.package__price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.package .btn { margin-top: auto; }

/* Tabela porównawcza */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.9375rem; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-family: var(--font-display); font-weight: 600; color: var(--text); background: rgba(255,255,255,0.04); }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { color: var(--text); font-weight: 500; }
.table .yes { color: var(--green); font-weight: 600; }

/* Technologie / logotypy narzędzi */
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; color: var(--text); font-size: 0.9375rem; }
.tech span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* KPI / liczby w kartach */
.kpi { padding: 28px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.kpi__value { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; line-height: 1; letter-spacing: -0.03em; }
.kpi__label { margin-top: 10px; font-size: 0.9375rem; }

/* ---------- Prose (długie teksty SEO / blog) ---------- */
.prose { color: var(--text-2); font-size: 1.0625rem; line-height: 1.8; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.625rem, 1.4vw + 1rem, 2.25rem); margin-top: 2.2em; line-height: 1.15; letter-spacing: -0.025em; }
.prose h3 { font-size: clamp(1.25rem, 0.6vw + 1rem, 1.5rem); margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose a:not(.btn) { color: var(--text); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:not(.btn):hover { color: var(--pink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--pink); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--pink); border-radius: 0 var(--radius) var(--radius) 0; background: rgba(255,255,255,0.03); color: var(--text); font-size: 1.125rem; }
.prose { overflow-wrap: break-word; }
.prose code { overflow-wrap: anywhere; font-size: 0.9em; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,0.07); color: var(--text); }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.prose .table-wrap { margin-block: 1.6em; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 10px; text-align: center; }
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--line-strong); color: var(--text); }
.callout .icon { width: 24px; height: 24px; color: var(--pink); flex: none; margin-top: 2px; }
.callout p { font-size: 1rem; line-height: 1.65; }
.prose .callout { margin-block: 1.8em; }

/* Artykuł / spis treści */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 32px); padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); border: 1px solid var(--line); font-size: 0.9375rem; }
.toc__title { font-family: var(--font-display); font-weight: 600; color: var(--text); margin-bottom: 14px; }
.toc ol { list-style: none; display: grid; gap: 10px; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 10px; }
.toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-display); font-size: 0.8125rem; color: var(--pink); padding-top: 2px; }
.toc a { color: var(--text-2); line-height: 1.45; }
.toc a:hover { color: var(--text); }
.article-layout > * { min-width: 0; }
@media (max-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; order: -1; } }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; font-size: 0.9375rem; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta .icon { width: 16px; height: 16px; color: var(--pink); }

/* Karty bloga */
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: rgba(255,255,255,0.03); border: 1px solid var(--line); overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.3s; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(255,127,194,0.35); }
.post-card__cover { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; background: radial-gradient(100% 100% at 0% 0%, rgba(180,124,253,0.5), transparent 60%), radial-gradient(100% 100% at 100% 100%, rgba(255,127,194,0.4), transparent 60%), var(--bg-elev-2); border-bottom: 1px solid var(--line); }
.post-card__cover .icon { width: 56px; height: 56px; color: var(--text); stroke-width: 1.25; opacity: 0.9; }
.post-card__cover::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(circle at center, #000, transparent 70%); mask-image: radial-gradient(circle at center, #000, transparent 70%); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.post-card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.post-card__excerpt { font-size: 0.9375rem; }
.post-card__meta { margin-top: auto; padding-top: 12px; font-size: 0.8125rem; color: var(--muted); display: flex; gap: 14px; }

/* ---------- Kontakt / formularz ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-item { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.contact-item .icon { width: 22px; height: 22px; color: var(--pink); margin-top: 3px; }
.contact-item small { display: block; font-size: 0.8125rem; color: var(--muted); line-height: 1.3; }
.contact-item span, .contact-item a { display: block; font-family: var(--font-display); font-weight: 500; color: var(--text); font-size: 1.0625rem; line-height: 1.45; }
.contact-item a:hover { color: var(--pink); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); border: 1px solid var(--line-strong); }
.form__full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: 0.9375rem; color: var(--text); }
.field label .req { color: var(--pink); }
.input, .textarea, .select { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(10,1,24,0.55); color: var(--text); transition: border-color 0.2s, box-shadow 0.2s; }
.textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4aec8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.select option { background: var(--bg-elev); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(255,127,194,0.15); }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; line-height: 1.55; cursor: pointer; }
.checkbox input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--pink); }
.checkbox a { text-decoration: underline; text-underline-offset: 2px; }
.form__note { font-size: 0.8125rem; color: var(--muted); }
.form__status { grid-column: 1 / -1; display: none; padding: 14px 18px; border-radius: 12px; font-size: 0.9375rem; }
.form__status.is-ok { display: block; background: rgba(94,230,168,0.1); border: 1px solid rgba(94,230,168,0.35); color: #b8f5d9; }
.form__status.is-error { display: block; background: rgba(255,107,139,0.1); border: 1px solid rgba(255,107,139,0.35); color: #ffc2cf; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.map-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-elev); }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: invert(0.9) hue-rotate(200deg) saturate(0.6) brightness(0.9); }

/* ---------- Footer ---------- */
.footer { position: relative; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); padding-bottom: 32px; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, #07010f 100%); }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 36px; }
@media (max-width: 1180px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } .footer__brand { grid-column: 1 / -1; max-width: 560px; } }
.footer__brand > * + * { margin-top: 18px; }
.footer__brand p { max-width: 340px; font-size: 0.9375rem; }
.footer__title { font-family: var(--font-display); font-weight: 600; color: var(--text); font-size: 1rem; margin-bottom: 18px; }
.footer__links { list-style: none; display: grid; gap: 10px; font-size: 0.9375rem; }
.footer__links a { color: var(--text-2); transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__contact { list-style: none; display: grid; gap: 12px; font-size: 0.9375rem; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact .icon { width: 18px; height: 18px; color: var(--pink); margin-top: 4px; }
.footer__contact a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--text-2); transition: all 0.2s; }
.socials a:hover { color: #170826; background: var(--grad); border-color: transparent; }
.socials .icon { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__bottom a:hover { color: var(--text); }
.footer__wordmark { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 19vw, 17rem); line-height: 0.8; letter-spacing: -0.06em; text-align: center; margin-top: 48px; background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Przewijanie / animacje wejścia ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* Pasek „powrót na górę” / sticky CTA mobile */
.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(17,7,38,0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); transform: translateY(120%); transition: transform 0.4s var(--ease); }
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { flex: 1; --btn-h: 46px; padding-inline: 12px; }
@media (max-width: 680px) { .mobile-cta { display: flex; } .footer { padding-bottom: 96px; } }

/* ---------- 404 ---------- */
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 22vw, 14rem); line-height: 0.9; letter-spacing: -0.06em; }

/* ---------- Redukcja ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

.grid > .testimonial { margin-bottom: 0; }
.project__desc { font-size: 0.9375rem; color: var(--text-2); margin-top: 10px; line-height: 1.6; }
.timeline p { font-size: 0.9625rem; color: var(--text-2); }
.post-card__meta span + span::before { content: "·"; margin-right: 14px; color: var(--pink); }

/* Karty wpisów generowane przez build.py */
.post-card .tag { align-self: flex-start; }

/* Słownik pojęć (/slownik-seo/) */
.glossary-index { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.glossary-index a { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.03); font-family: var(--font-display); font-weight: 600; color: var(--text); transition: border-color 0.2s, background 0.2s; }
.glossary-index a:hover { border-color: rgba(255,127,194,0.45); background: rgba(255,127,194,0.08); }
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 48px; }
.glossary__item { padding: 22px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,0.03); scroll-margin-top: 110px; }
.glossary__item:target { border-color: var(--pink); background: rgba(255,127,194,0.07); }
.glossary dt { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.glossary dd { margin: 0; color: var(--text-2); }
.glossary dd p + p { margin-top: 8px; }
.glossary dd a { color: var(--pink); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 760px) { .glossary { grid-template-columns: minmax(0, 1fr); } }

/* Elementy siatek nie mogą rozpychać kolumn (szerokie tabele przewijają się w .table-wrap) */
.grid > *, .split > *, .page-hero__grid > *, .faq-layout > *, .section-head--split > *, .prose { min-width: 0; }
.page-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
@media (max-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.h1, .display { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 520px) { .btn { white-space: normal; text-align: center; height: auto; min-height: var(--btn-h); padding-block: 12px; line-height: 1.3; } }
