/* =========================================================
   RAWADS – główny arkusz stylów
   Kolory i fonty zmienisz w sekcji :root poniżej.
   ========================================================= */

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

/* ---------- Zmienne ---------- */
:root {
  --bg: #0E0E0E;
  --surface: #141414;
  --surface-2: #1A1A1A;
  --surface-3: #1C1C1C;
  --line: #222222;
  --line-2: #262626;
  --line-3: #2E2E2E;
  --line-4: #3A3A3A;
  --text: #F4F4F0;
  --text-2: #C4C4BE;
  --text-3: #B5B5B0;
  --muted: #A3A39E;
  --accent: #F04A0C;          /* główny pomarańczowy */
  --accent-text: #FF7A45;     /* jaśniejszy pomarańczowy do małego tekstu */
  --on-accent: #111111;
  --google: #FBBC04;
  --google-blue: #4285F4;
  --google-red: #EA4335;
  --google-green: #34A853;
  --meta: #2D88FF;
  --openai: #10A37F;
  --tiktok-cyan: #25F4EE;
  --tiktok-red: #FE2C55;

  --font-display: "Bricolage", "Arial Narrow", Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 32px);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--text); }
a:hover { color: var(--accent-text); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; 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: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px;
  font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typografia ---------- */
.display, h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.03em; }
.h-section { font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 620px; }
.label { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.text-accent { color: var(--accent); }
.text-accent-soft { color: var(--accent-text); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; border: none;
  font-family: var(--font-body); font-weight: 800; font-size: 16px; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { color: var(--on-accent); }
.btn-dark { background: #111111; color: var(--text); }
.btn-dark:hover { color: var(--text); }
.link-underline {
  font-weight: 700; text-decoration: none; padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s ease;
}
.link-underline:hover { background-size: 100% 2px; }

/* ---------- Nagłówek strony ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 14, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; padding-block: 22px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 2vw, 24px);
  letter-spacing: -0.03em; text-decoration: none; color: var(--text);
}
.logo span { color: var(--accent); }
.logo:hover { color: var(--text); }
.main-nav ul { display: flex; flex-wrap: wrap; gap: clamp(18px, 4vw, 36px); }
.main-nav a {
  font-size: 15px; font-weight: 700; text-decoration: none; color: var(--muted);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover { color: var(--text); border-bottom-color: var(--line-4); }
.main-nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }

/* ---------- Animacja wejścia (tylko pierwszy ekran) ---------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.intro { animation: rise-in .9s var(--ease) both; }
.intro-1 { animation-delay: .08s; } .intro-2 { animation-delay: .2s; }
.intro-3 { animation-delay: .34s; } .intro-4 { animation-delay: .48s; }

/* ---------- Przejścia między podstronami (View Transitions) ----------
   Stara strona szybko przygasa, nowa łagodnie się pojawia; pasek z logo i menu stoi w miejscu.
   Przeglądarki bez tej funkcji po prostu przechodzą bez animacji. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .2s ease-in both; }
::view-transition-new(root) { animation: vt-in .4s cubic-bezier(.2, .7, .2, 1) .05s both; }
::view-transition-group(site-header) { animation-duration: .35s; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }

/* =========================================================
   MARKETING (strona główna)
   ========================================================= */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; padding-block: clamp(53px, 6.9vw, 88px) clamp(48px, 6.25vw, 80px); }
/* Hero na cały pierwszy ekran: pasek liczb (.stats) zaczyna się dopiero pod nim, więc nigdy nie jest ucięty w połowie */
@media (min-width: 761px) { .hero { min-height: calc(100svh - 84px); } }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-title { font-weight: 700; font-size: clamp(38px, 5.8vw, 78px); line-height: 1.02; letter-spacing: -0.045em; }
.hero-title .rest { display: block; max-width: 14ch; }
/* H1 strony głównej: krótka linijka z kropkami RGB nad animowanym napisem */
.hero-eyebrow { font-family: var(--font-body); margin-bottom: -10px; }

/* Rotujące nazwy platform (przełącza je main.js razem z kaflem .platforms) */
.rotator { display: grid; overflow: hidden; padding: 0.04em 0.06em 0.1em 0.04em; margin-left: -0.04em; }
.rotator > span {
  grid-area: 1 / 1; white-space: nowrap; font-weight: 800; opacity: 0; transform: translateY(55%);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.rotator > span.is-active { opacity: 1; transform: none; }
.rotator > span.is-leaving { transform: translateY(-55%); }
.rotator i { font-style: normal; }
.r-google .r-name i:nth-child(1), .r-google .r-name i:nth-child(4) { color: var(--google-blue); }
.r-google .r-name i:nth-child(2), .r-google .r-name i:nth-child(6) { color: var(--google-red); }
.r-google .r-name i:nth-child(3) { color: var(--google); }
.r-google .r-name i:nth-child(5) { color: var(--google-green); }
.r-meta .r-name { color: var(--meta); }
.r-tiktok .r-name { text-shadow: -0.02em -0.014em 0 var(--tiktok-cyan), 0.02em 0.014em 0 var(--tiktok-red); }
.r-openai .r-name { color: var(--openai); }

.hero-points { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 600; color: #E2E2DE; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { flex: none; }
.hero-points svg, .ticks svg { color: var(--accent-text); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 12px; }

/* Kafel z platformami: podgląd przykładowej reklamy w każdej platformie + opis po kliknięciu.
   Klasy mają prefiks pf- (nie ad-), bo blokery reklam ukrywają elementy z klasami typu .ad-google czy .ad-label.
   Poprzednia wersja (kolorowe plamy) jest w _archiwum/kafel-platformy-plamy-2026-10-13. */
.platforms {
  flex: 0 1 440px; min-width: 280px; position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: #F5F5F7;
  --text: #1D1D1F; --text-2: #424245; color: var(--text);  /* kafel zawsze jasny, niezależnie od motywu */
}
.platforms-hit {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 66px 20px 20px; background: none; border: none; color: var(--text); cursor: pointer;
}
.platforms-more {
  flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 18px 0 10px; border-radius: 999px;
  background: #1D1D1F; color: #FFFFFF; font-size: 14px; font-weight: 800; transition: transform .25s ease, opacity .3s ease;
}
.platforms-more .explorer-plus { width: 20px; height: 20px; }
.platforms-hit:hover .platforms-more { transform: translateY(-2px); }
.platforms-hit:hover .platforms-more .explorer-plus { transform: rotate(90deg); }

/* Scena z makietami reklam – wszystkie leżą w jednym miejscu, widać tylko aktywną */
.pf-stage { position: relative; flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; text-align: left; font-family: var(--font-body); }
.pf-stage b { font-weight: 800; }
.pf-mock {
  grid-area: 1 / 1; position: relative; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(18px) scale(.97); transition: opacity .45s var(--ease), transform .7s var(--ease);
}
.pf-mock.is-active { opacity: 1; transform: none; }
/* Miękka poświata w kolorze platformy – osobna warstwa pod makietą */
.pf-glow { grid-area: 1 / 1; width: 92%; aspect-ratio: 1; border-radius: 50%; filter: blur(48px); opacity: 0; transition: opacity .8s var(--ease); }
.pf-glow.is-active { opacity: .38; }
.pf-glow[data-platform="google"] { background: conic-gradient(from 40deg, var(--google-blue), var(--google-green), var(--google), var(--google-red), var(--google-blue)); }
.pf-glow[data-platform="meta"] { background: linear-gradient(135deg, #0866FF, #A259FF); }
.pf-glow[data-platform="tiktok"] { background: linear-gradient(135deg, var(--tiktok-cyan) 0 45%, var(--tiktok-red) 55% 100%); }
.pf-glow[data-platform="openai"] { background: radial-gradient(circle, #19C37D, rgba(16, 163, 127, .25)); }

.pf-label { font-size: 11px; font-weight: 800; color: #1D1D1F; }
.pf-fav { flex: none; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--rgb-r), var(--rgb-g) 55%, var(--rgb-b)); }
.pf-brand { display: flex; align-items: center; gap: 8px; }
.pf-brand > span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pf-brand b { font-size: 13px; color: #1D1D1F; }
.pf-brand small { font-size: 11px; color: #6E6E73; }
@keyframes pf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Google: wpisywane zapytanie i reklama w wynikach */
.pf-google { width: min(330px, 100%); gap: 10px; }
.g-search {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px;
  background: #FFFFFF; box-shadow: 0 6px 20px rgba(0, 0, 0, .08); color: #5F6368; font-size: 14px;
}
.g-query { color: #1D1D1F; font-weight: 600; white-space: nowrap; }
.g-result { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 18px; background: #FFFFFF; box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.g-title { font-size: 16px; font-weight: 700; line-height: 1.3; color: #1A0DAB; }
.g-desc { font-size: 12.5px; line-height: 1.45; color: #4D5156; }
.g-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.g-links span { padding: 4px 10px; border-radius: 999px; background: #F1F3F4; color: #1A0DAB; font-size: 12px; font-weight: 700; }
.g-organic { gap: 8px; }
.g-organic i { height: 8px; border-radius: 4px; background: #E8E8ED; }
.g-organic i:nth-child(1) { width: 40%; } .g-organic i:nth-child(2) { width: 92%; } .g-organic i:nth-child(3) { width: 70%; }
.pf-google.is-active .g-query { animation: g-type .9s steps(17, end) .25s both; }
.pf-google.is-active .g-top { animation: pf-rise .6s var(--ease) 1.2s both; }
.pf-google.is-active .g-organic { animation: pf-rise .6s var(--ease) 1.4s both; }
@keyframes g-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Meta: post sponsorowany na Instagramie */
.pf-meta { width: min(280px, 100%); border-radius: 18px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.pf-meta > * { position: relative; }
.ig-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 13px; }
.ig-head > span:not(.ig-more) { display: flex; flex-direction: column; line-height: 1.25; }
.ig-head small { font-size: 11px; color: #6E6E73; }
.ig-more { margin-left: auto; font-size: 10px; letter-spacing: 1px; color: #1D1D1F; }
.ig-media {
  aspect-ratio: 5 / 4; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 14px;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, .35), transparent 45%), linear-gradient(135deg, #0866FF, #7B61FF 55%, #FF5E9C);
  color: #FFFFFF; overflow: hidden;
}
.ig-tag { padding: 4px 10px; border-radius: 999px; background: #FFFFFF; color: #1D1D1F; font-size: 12px; font-weight: 800; }
.ig-claim { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -0.03em; }
.ig-cta {
  display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; background: #EFF4FF; color: #0866FF;
  font-size: 13px; font-weight: 800;
}
.ig-actions { display: flex; gap: 14px; padding: 10px 12px 2px; color: #1D1D1F; }
.ig-heart { fill: none; stroke: currentColor; stroke-width: 2; transform-origin: center; }
.ig-likes { padding: 4px 12px 12px; font-size: 12px; font-weight: 800; }
.pf-meta.is-active .ig-claim { animation: pf-rise .6s var(--ease) .35s both; }
.pf-meta.is-active .ig-tag { animation: pop .45s var(--ease) .6s both; }
.pf-meta.is-active .ig-cta { animation: ig-cta .4s ease 1.7s both; }
.pf-meta.is-active .ig-heart { animation: heart .55s var(--ease) 1.2s both; }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes ig-cta { from { background: #EFF4FF; color: #0866FF; } to { background: #0866FF; color: #FFFFFF; } }
@keyframes heart {
  0% { transform: scale(1); }
  45% { transform: scale(1.35); fill: #FF3040; stroke: #FF3040; }
  100% { transform: scale(1); fill: #FF3040; stroke: #FF3040; }
}

/* TikTok: pionowy film z przyciskiem */
.pf-tiktok {
  width: 216px; aspect-ratio: 9 / 16; max-height: 100%; border-radius: 22px; overflow: hidden; background: #0B0B0F; color: #FFFFFF;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.tt-video { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, #1B1B24 0%, #0B0B0F 100%); }
.tt-video i { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; filter: blur(30px); opacity: .7; }
.tt-video i:nth-child(1) { left: -15%; top: 8%; background: var(--tiktok-cyan); }
.tt-video i:nth-child(2) { right: -20%; top: 34%; background: var(--tiktok-red); }
.pf-tiktok.is-active .tt-video i { animation: tt-drift 4.5s ease-in-out both; }
.pf-tiktok.is-active .tt-video i:nth-child(2) { animation-direction: reverse; }
@keyframes tt-drift { from { translate: 0 0; } 50% { translate: 18% 10%; } to { translate: -6% 22%; } }
.tt-side { position: absolute; right: 8px; bottom: 92px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 10px; font-weight: 700; }
.tt-side > span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tt-side svg { fill: #FFFFFF; }
.tt-side .pf-fav { width: 34px; height: 34px; border: 2px solid #FFFFFF; }
.tt-heart { transform-origin: center; }
.tt-info { position: absolute; left: 12px; right: 12px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12px; line-height: 1.35; }
.tt-info b { font-size: 13px; }
.tt-info small { padding: 1px 6px; border-radius: 4px; background: rgba(255, 255, 255, .2); font-size: 10px; font-weight: 700; }
.tt-info > span:not(.tt-cta) { padding-right: 44px; }
.tt-cta { align-self: stretch; margin-top: 6px; padding: 8px; border-radius: 6px; background: rgba(255, 255, 255, .22); text-align: center; font-weight: 800; }
.tt-progress { position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .25); }
.tt-progress i { display: block; width: 100%; height: 100%; background: #FFFFFF; transform-origin: left; }
.pf-tiktok.is-active .tt-progress i { animation: tt-progress 4.5s linear both; }
.pf-tiktok.is-active .tt-heart { animation: tt-heart .55s var(--ease) 1.3s both; }
.pf-tiktok.is-active .tt-cta { animation: tt-cta .4s ease 1.8s both; }
@keyframes tt-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tt-heart { 0% { transform: scale(1); } 45% { transform: scale(1.35); fill: var(--tiktok-red); } 100% { transform: scale(1); fill: var(--tiktok-red); } }
@keyframes tt-cta { from { background: rgba(255, 255, 255, .22); } to { background: var(--tiktok-red); } }

/* OpenAI: odpowiedź w ChatGPT z polecaną reklamą */
.pf-openai {
  width: min(320px, 100%); gap: 12px; padding: 14px; border-radius: 20px; background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08); font-size: 13px; line-height: 1.4;
}
.ai-user { align-self: flex-end; max-width: 85%; padding: 9px 14px; border-radius: 18px; background: #F4F4F4; color: #1D1D1F; }
.ai-answer { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.ai-logo { width: 24px; height: 24px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #FFFFFF 0 28%, transparent 30%), var(--openai); }
.ai-dots, .ai-lines { grid-area: 1 / 2; }
.ai-dots { display: flex; gap: 4px; padding-top: 9px; opacity: 0; }
.ai-dots i { width: 6px; height: 6px; border-radius: 50%; background: #8E8E93; }
.ai-lines { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.ai-lines i { height: 8px; border-radius: 4px; background: #E8E8ED; }
.ai-lines i:nth-child(1) { width: 100%; } .ai-lines i:nth-child(2) { width: 90%; } .ai-lines i:nth-child(3) { width: 58%; }
.ai-card { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid #E5E5EA; border-radius: 14px; }
.ai-card .pf-brand b { font-size: 12.5px; }
.ai-card .pf-brand svg { flex: none; margin-left: auto; color: #1D1D1F; }
.ai-input {
  display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 6px 0 14px;
  border: 1px solid #E5E5EA; border-radius: 999px; color: #8E8E93;
}
.ai-input i { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #1D1D1F; color: #FFFFFF; }
.pf-openai.is-active .ai-user { animation: pf-rise .5s var(--ease) .2s both; }
.pf-openai.is-active .ai-dots { animation: ai-dots 1.1s ease .6s both; }
.pf-openai.is-active .ai-dots i { animation: ai-bounce .6s ease-in-out infinite alternate; }
.pf-openai.is-active .ai-dots i:nth-child(2) { animation-delay: .15s; }
.pf-openai.is-active .ai-dots i:nth-child(3) { animation-delay: .3s; }
.pf-openai.is-active .ai-lines i { animation: ai-line .5s ease both; }
.pf-openai.is-active .ai-lines i:nth-child(1) { animation-delay: 1.6s; }
.pf-openai.is-active .ai-lines i:nth-child(2) { animation-delay: 1.75s; }
.pf-openai.is-active .ai-lines i:nth-child(3) { animation-delay: 1.9s; }
.pf-openai.is-active .ai-card { animation: pf-rise .6s var(--ease) 2.2s both; }
@keyframes ai-dots { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ai-bounce { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes ai-line { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.platforms-tabs { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.platforms-tab {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px 0 10px; border-radius: 999px; cursor: pointer;
  border: none; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--text); font-family: var(--font-body); font-size: 13px; font-weight: 800; transition: background-color .25s ease, box-shadow .25s ease;
}
.platforms-tab i { width: 9px; height: 9px; border-radius: 50%; }
.platforms-tab[data-platform="google"] i { background: conic-gradient(var(--google-blue) 0 25%, var(--google-green) 0 50%, var(--google) 0 75%, var(--google-red) 0); }
.platforms-tab[data-platform="meta"] i { background: var(--meta); }
.platforms-tab[data-platform="tiktok"] i { background: linear-gradient(135deg, var(--tiktok-cyan) 50%, var(--tiktok-red) 50%); }
.platforms-tab[data-platform="openai"] i { background: var(--openai); }
.platforms-tab:hover { background: rgba(255, 255, 255, .85); }
.platforms-tab[aria-pressed="true"] { background: #FFFFFF; box-shadow: 0 4px 16px rgba(0, 0, 0, .1); }

.platforms-info {
  position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 26px 24px 24px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .12);
  opacity: 0; transform: translateY(24px); visibility: hidden;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .5s;
}
.platforms.is-open .platforms-info { opacity: 1; transform: none; visibility: visible; }
.platforms.is-open .platforms-more { opacity: 0; }
.platforms-close { position: absolute; top: 14px; right: 14px; }
.platforms-article { display: none; flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 36px; }
.platforms-article.is-active { display: flex; }
.platforms-article-title { font-weight: 700; font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; }
.platforms-article p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.platforms-article a { margin-top: 4px; font-size: 15px; color: var(--text); }

/* Liczby */
/* Liczby wyśrodkowane w pionie między linią nad nimi a linią pasa z logotypami */
.stats { display: flex; flex-wrap: wrap; row-gap: 28px; border-top: 1px solid var(--line-3); padding-block: clamp(36px, 3.6vw, 50px) clamp(20px, 2.5vw, 34px); }  /* dół mniejszy o ~16 px zapasu pod liczbami */
.stat { flex: 1 1 260px; padding: 0 32px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stat dd { margin: 0; order: -1; }
.stat-value { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4.4vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.stat-label { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Pasek logotypów */
.logos { border-block: 1px solid var(--line); padding-block: clamp(32px, 3.6vw, 52px) clamp(38px, 4.9vw, 71px); }
.logos .label { margin-bottom: clamp(22px, 2.4vw, 34px); }
.logos-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.logos-track { display: flex; align-items: center; gap: 56px; width: max-content; padding-right: 56px; animation: logos-scroll 50s linear infinite; }
.logos:hover .logos-track { animation-play-state: paused; }
.logos-track li { flex: none; display: flex; align-items: center; height: 84px; }
/* Logotypy w jednolitej szarości, kolor po najechaniu; kwadratowe znaki są wyższe, żeby optycznie ważyły tyle co poziome */
.logos-track img { height: 42px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .55; transition: opacity .3s ease, filter .3s ease; }
.logos-track li.is-square img { height: 66px; }
.logos-track li:hover img { filter: none; opacity: 1; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; white-space: nowrap; color: var(--muted); opacity: .8; }
@keyframes logos-scroll { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* Sekcje */
.section { padding-block: clamp(72px, 9.4vw, 120px) clamp(58px, 7.5vw, 96px); }
.section-tight { padding-block: 0 clamp(72px, 9.4vw, 120px); }
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; max-width: 820px; }

/* Kafelki z pytaniami */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 320px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-md);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--text); }
.card-num { font-size: 13px; font-weight: 800; color: var(--accent-text); }
.card h3 { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; }
.card p { font-size: 16px; line-height: 1.55; color: var(--text-3); }
.statement { margin-top: 48px; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.3; }

/* Usługi */
.services { border-bottom: 1px solid var(--line-2); margin-top: 40px; }
.service {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  padding: 32px 0; border-top: 1px solid var(--line-2);
}
.service-name { flex: 1 1 280px; min-width: 0; display: flex; align-items: baseline; gap: 20px; }
.service-num { width: 28px; flex: none; font-size: 14px; font-weight: 800; color: var(--muted); }
.service h3 { font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1.1; }
.service p { flex: 2 1 340px; font-size: 16px; line-height: 1.55; color: var(--text-3); }
.service-arrow {
  width: 52px; height: 52px; flex: none; border-radius: 50%; border: 1.5px solid var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background-color .3s ease, border-color .3s ease;
}
a.service { text-decoration: none; color: var(--text); }
a.service:hover .service-arrow { transform: translateX(6px); background: var(--accent); border-color: var(--accent); }

/* Transparentność */
.panel { background: #161616; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(32px, 6vw, 80px); }
.panel h2 { font-weight: 700; font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -0.045em; max-width: 14ch; margin-bottom: 16px; }
.panel .lead { margin-bottom: 48px; }
.pillars { display: flex; flex-wrap: wrap; gap: 36px 48px; }
.pillar { flex: 1 1 300px; display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--text); padding-top: 20px; }
.pillar h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.pillar p { font-size: 16px; line-height: 1.55; color: var(--text-3); }

/* Proces współpracy */
.steps { display: flex; margin-top: 56px; counter-reset: step; }
.step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; padding-right: 24px; }
.step:last-child { padding-right: 0; }
.step-head { display: flex; align-items: center; gap: 14px; }
.step-num {
  width: 60px; height: 60px; flex: none; border-radius: 50%; border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
}
.step:first-child .step-num { background: var(--accent); color: var(--on-accent); }
.step-conn { flex: 1; display: flex; align-items: center; color: #6A6A66; }
.step-line { flex: 1; height: 2px; background: var(--line-4); transform-origin: left center; transform: scaleX(0); transition: transform .8s var(--ease); }
.steps.is-visible .step-line { transform: scaleX(1); }
.steps.is-visible .step:nth-child(2) .step-line { transition-delay: .3s; }
.steps.is-visible .step:nth-child(3) .step-line { transition-delay: .6s; }
.steps.is-visible .step:nth-child(4) .step-line { transition-delay: .9s; }
.step-body { display: flex; flex-direction: column; gap: 8px; }
.step-body h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.step-body p { font-size: 15px; line-height: 1.55; color: var(--text-3); }

/* Uczciwa rekomendacja */
.honest { display: flex; flex-wrap: wrap; gap: 32px 64px; border-top: 1px solid var(--line-3); padding-top: 56px; }
.honest h2 { flex: 3 1 520px; font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.035em; }
.honest p { flex: 2 1 320px; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Końcowe CTA */
.cta-box { background: var(--accent); color: var(--on-accent); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 88px); display: flex; flex-direction: column; gap: 24px; }
.cta-box h2 { font-weight: 700; font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.045em; max-width: 13ch; }
.cta-box p { font-size: 18px; line-height: 1.6; color: #1E1E1E; max-width: 560px; }
.cta-box .btn { align-self: flex-start; margin-top: 8px; }

/* =========================================================
   VIDEO
   ========================================================= */
.video-hero { display: flex; flex-direction: column; gap: 28px; padding-block: clamp(53px, 6.9vw, 88px) clamp(48px, 6.25vw, 80px); }
.video-title { font-weight: 700; font-size: clamp(38px, 5.8vw, 78px); line-height: 1.02; letter-spacing: -0.045em; max-width: 13ch; }

/* Kafel z realizacjami (wybór po lewej, kadr w tle) */
.explorer-heading { font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; letter-spacing: -0.035em; margin-bottom: clamp(24px, 3vw, 40px); }
.explorer {
  position: relative; isolation: isolate; overflow: hidden; interpolate-size: allow-keywords;
  display: flex; align-items: center; min-height: clamp(600px, 52vw, 720px);
  padding: clamp(24px, 4vw, 56px) clamp(24px, 6.5vw, 80px);
  border-radius: var(--radius-lg); background: #000;
}
.explorer-media { position: absolute; inset: 0; z-index: -1; }
.explorer-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, 0) 68%);
}
.explorer-layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.explorer-layer.is-active { opacity: 1; transform: none; }
.explorer-layer img, .explorer-layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.explorer-round {
  width: 36px; height: 36px; flex: none; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(66, 66, 69, .72); color: var(--text);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color .2s ease, opacity .35s ease, visibility .35s;
}
.explorer-round:hover { background: rgba(92, 92, 96, .85); }
.explorer-close { position: absolute; top: 20px; right: 20px; }
.explorer-nav { position: absolute; top: 50%; left: clamp(12px, 2.2vw, 24px); transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.explorer-close, .explorer-nav { opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.explorer.is-open .explorer-close, .explorer.is-open .explorer-nav { opacity: 1; visibility: visible; }

.explorer-list { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: min(420px, 100%); }
.explorer-item {
  width: fit-content; max-width: 100%; overflow: hidden; border-radius: 28px;
  background: rgba(42, 42, 45, .72); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5);
  transition: width .5s var(--ease), background-color .25s ease;
}
.explorer-item:not(.is-open):hover { background: rgba(58, 58, 62, .82); }
.explorer-item.is-open { width: 100%; }
.explorer-pill {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; padding: 10px 24px 10px 14px;
  background: none; border: none; color: var(--text); cursor: pointer; text-align: left;
  font-family: var(--font-body); font-size: 15px; font-weight: 800; line-height: 1.3;
  transition: padding .5s var(--ease);
}
.explorer-plus {
  position: relative; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid currentColor;
  transition: width .4s var(--ease), margin .4s var(--ease), opacity .25s ease, transform .3s ease;
}
.explorer-plus::before, .explorer-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: currentColor; border-radius: 1px; }
.explorer-plus::after { transform: rotate(90deg); }
.explorer-item:not(.is-open) .explorer-pill:hover .explorer-plus { transform: rotate(90deg); }
.explorer-item.is-open .explorer-pill { cursor: default; padding: 26px 28px 0; font-size: 18px; }
.explorer-item.is-open .explorer-plus { width: 0; margin-right: -12px; opacity: 0; border-width: 0; }
.explorer-body { display: grid; grid-template-rows: 0fr; width: 0; min-width: 100%; transition: grid-template-rows .5s var(--ease); }
.explorer-item.is-open .explorer-body { grid-template-rows: 1fr; }
.explorer-body-inner {
  min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 0 28px; opacity: 0; transition: opacity .3s ease, padding .5s var(--ease);
}
.explorer-item.is-open .explorer-body-inner { padding: 8px 28px 26px; opacity: 1; transition: opacity .45s .15s ease, padding .5s var(--ease); }
.explorer-client { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text); }
.explorer-body p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.explorer-play {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 6px; padding: 0 20px 0 6px;
  border: none; border-radius: 999px; background: var(--accent); color: var(--on-accent); cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 800;
  transition: transform .2s ease;
}
.explorer-play:hover { transform: translateY(-2px); }
.explorer-play-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--on-accent); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.explorer-play-icon svg[fill="currentColor"] { margin-left: 2px; }

.roles { display: flex; flex-wrap: wrap; gap: 6px; }
.roles li { padding: 4px 11px; border-radius: 999px; background: color-mix(in srgb, currentColor 8%, transparent); font-size: 12px; font-weight: 700; color: var(--text-2); }

/* Nagłówek bloku: tytuł + jedno zdanie */
.block-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); }
.block-head .explorer-heading { margin-bottom: 0; }
.block-head p { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 640px; }

/* Galeria zdjęć */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.gallery-item { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 0; border: none; background: none; color: var(--text); text-align: left; cursor: zoom-in; }
.gallery-frame { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); background: var(--surface); }
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover .gallery-frame img { transform: scale(1.03); }
.gallery-caption { padding-left: 4px; font-size: 15px; font-weight: 800; }

/* Co zyskujesz */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.perk { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--radius-md); background: var(--surface); }
.perk-num { font-size: 13px; font-weight: 800; color: var(--accent-text); }
.perk:nth-child(3n+1) .perk-num { color: var(--rgb-r-text); }
.perk:nth-child(3n+2) .perk-num { color: var(--rgb-g-text); }
.perk:nth-child(3n) .perk-num { color: var(--rgb-b-text); }
.perk h3 { font-weight: 600; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; }
.perk p { font-size: 15px; line-height: 1.55; color: var(--text-3); }

/* ---------- Strona Video w układzie z PDF ---------- */
/* Pierwszy ekran: kompaktowy nagłówek + duży film, który mieści się w oknie */
.vstage { padding-bottom: clamp(64px, 8vw, 112px); }
.vstage.work--feature { margin-bottom: 0; }
.vstage-fill { display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 32px); }
.vhero { flex: none; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding-top: clamp(28px, 4vw, 52px); }
.vhero-title { display: flex; flex-direction: column; align-items: inherit; gap: 10px; }
.vhero h1 { font-weight: 800; font-size: clamp(44px, 5.4vw, 76px); line-height: .95; letter-spacing: -0.05em; }
.work-thumb--hero { flex: 0 1 auto; }

/* Nagłówek Video: „pigułka” z kropkami RGB + tytuł wjeżdżający słowo po słowie */
.vhero-badge {
  padding: 7px 14px 7px 10px; gap: 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg);
  font-size: 12px; letter-spacing: 0.12em; animation: badge-in .7s var(--ease) both;
}
@keyframes badge-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.rgb-dots--rec i { animation: dot-pop .5s var(--ease) both; }
.rgb-dots--rec i:nth-child(1) { animation: dot-pop .5s var(--ease) .3s both, rec-blink 1.1s ease-in-out 1.3s 3; }
.rgb-dots--rec i:nth-child(2) { animation-delay: .42s; }
.rgb-dots--rec i:nth-child(3) { animation-delay: .54s; }
@keyframes dot-pop { from { opacity: 0; transform: scale(0); } 60% { opacity: 1; transform: scale(1.35); } to { opacity: 1; transform: scale(1); } }
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
/* maska ma zapas na boki i dół, żeby nie przycinać liter (ujemny odstęp liter wypycha je poza pudełko) */
.vhero-h1 .word { display: inline-block; overflow: hidden; padding: 0 .12em .2em; margin: 0 -.12em -.2em; vertical-align: bottom; }
.vhero-h1 .word > span { display: inline-block; animation: word-up 1s var(--ease) .2s both; }
.vhero-h1 .word:nth-child(2) > span { animation-delay: .3s; }
@keyframes word-up { from { transform: translateY(105%); } to { transform: none; } }
/* Jednorazowy odblask przechodzący przez kolorowe „wideo” */
.text-rgb.text-shine {
  background-image: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%), linear-gradient(90deg, var(--rgb-r-text), var(--rgb-b-text) 50%, var(--rgb-g-text));
  background-image: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%), linear-gradient(90deg in oklch, var(--rgb-r-text), var(--rgb-b-text) 50%, var(--rgb-g-text));
  background-size: 250% 100%, 100% 100%; background-repeat: no-repeat; background-position: -20% 0, 0 0;
  padding-right: .08em; margin-right: -.08em;  /* gradient obejmuje całe ostatnie „o” */
}
.vhero-h1 .text-shine { animation: word-up 1s var(--ease) .4s both, shine 1.3s ease-in-out 1.2s both; }
@keyframes shine { from { background-position: 120% 0, 0 0; } to { background-position: -20% 0, 0 0; } }
.vstage .work-info { margin-top: 18px; }
@media (min-width: 761px) {
  /* Tytuł po lewej, opis po prawej – mniej wysokości, więcej miejsca na film */
  .vhero { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; text-align: left; padding-top: clamp(24px, 3vw, 40px); }
  .vhero-title { align-items: flex-start; }
    /* 84 px nagłówka strony + 20 px oddechu od dołu okna; film zmniejsza się (lekko kadrując), zamiast wychodzić poza ekran,
     ale nie robi się węższy niż ok. 2,5 : 1 */
  .vstage-fill { max-height: calc(100vh - 104px); max-height: calc(100svh - 104px); }
  .work-thumb--hero { min-height: min(calc((100vw - 64px) / 2.5), 455px); }
}

.sec-head { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-label { font-size: 14px; font-weight: 700; color: var(--muted); }
.sec-head h2 { font-weight: 700; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -0.04em; }
.sec-head p { font-size: 17px; color: var(--muted); }

.work { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.work--feature { margin-bottom: clamp(40px, 5vw, 64px); }
.work-thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: none; overflow: hidden; cursor: pointer;
  border-radius: var(--radius-lg); background: var(--surface);
}
.work-thumb.is-photo { aspect-ratio: 3 / 2; cursor: zoom-in; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-thumb:hover img { transform: scale(1.025); }
.work-watch {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 5px;
  border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15); color: #1D1D1F; font-size: 14px; font-weight: 800; transition: transform .25s ease;
}
.work-watch i { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #1D1D1F; color: #FFFFFF; }
.work-watch svg { margin-left: 2px; }
.work-thumb:hover .work-watch { transform: translateY(-2px); }

.work-info { display: flex; flex-direction: column; gap: 12px; padding-inline: 4px; }
.work-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; }
.work-meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.work-title { font-weight: 700; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.025em; }
.work-link { font-size: 14px; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.work-link:hover { text-decoration: underline; }
/* Kafel z kilkoma filmami (np. Huawei): przełącznik zmienia kadr, opis i film */
.work-variants { display: flex; flex-wrap: wrap; gap: 6px; }
.work-variant {
  min-height: 34px; padding: 0 14px; border: 1px solid var(--line-4); border-radius: 999px; background: transparent; cursor: pointer;
  color: var(--text-2); font-family: var(--font-body); font-size: 13px; font-weight: 700; transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.work-variant:hover { border-color: var(--text); color: var(--text); }
.work-variant.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
@media (max-width: 480px) { .work-variants { flex-wrap: nowrap; gap: 5px; } .work-variant { flex: 1 1 auto; padding: 0 8px; font-size: 12px; white-space: nowrap; } }
.work-thumb img.is-swapping { opacity: 0; }
.work-thumb img { transition: transform .8s var(--ease), opacity .3s ease; }
.roles-block { display: flex; flex-direction: column; gap: 8px; }
.roles-label { font-size: 12px; font-weight: 700; color: var(--muted); }

/* Wyróżniony film: opis po lewej, zakres pracy po prawej */
.work--feature .work-info { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.work-head { flex: 1 1 360px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.work--feature .work-title { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.035em; }
.work-side { flex: 0 1 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2.2vw, 28px); }

/* W czym pomagam – ciemne karty jak w PDF; pierwsza na całą szerokość z listą formatów */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scope-card {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); color: var(--text);
}
.scope-card--wide { grid-column: 1 / -1; gap: clamp(32px, 4vw, 48px); min-height: 0; }
.scope-text { display: flex; flex-direction: column; gap: 12px; }
.scope-icon {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px;
  color: var(--scope-c); background: color-mix(in srgb, var(--scope-c) 12%, transparent);
}
.scope-icon svg { width: 32px; height: 32px; }
.scope-card:nth-child(1) { --scope-c: var(--rgb-r); }
.scope-card:nth-child(2) { --scope-c: var(--rgb-g); }
.scope-card:nth-child(3) { --scope-c: var(--rgb-b); }
.scope-card h3 { margin-top: 8px; font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -0.03em; }
.scope-card p { max-width: 460px; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* Formaty: obramówki w prawdziwych proporcjach, wszystkie tej samej wysokości (szerokość ~ proporcji) */
.scope-formats [data-f="916"] { --f: var(--rgb-r); }
.scope-formats [data-f="45"] { --f: var(--rgb-g); }
.scope-formats [data-f="11"] { --f: var(--rgb-b); }
.scope-formats [data-f="169"] { --f: #8E5CFF; }
/* --h = wysokość ramek; każda kolumna ma min. 170 px, żeby podpisy miały miejsce */
.formats { --h: clamp(140px, 15vw, 200px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px clamp(28px, 3.4vw, 48px); }
.formats li { flex: none; width: max(170px, calc(var(--h) * var(--r))); display: flex; flex-direction: column; gap: 3px; }
.fmt-box { display: flex; align-items: flex-end; height: var(--h); margin-bottom: 16px; }
.fmt-frame {
  display: flex; align-items: center; justify-content: center; width: min(100%, calc(var(--h) * var(--r))); aspect-ratio: var(--ar);
  border: 2px solid var(--f); border-radius: 16px; color: var(--f); transition: background-color .3s ease;
}
.formats li:hover .fmt-frame { background: color-mix(in srgb, var(--f) 7%, transparent); }
.fmt-ratio { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.03em; line-height: 1; }
.fmt-size { font-size: 14px; font-weight: 800; color: var(--text); }
.fmt-use { font-size: 14px; line-height: 1.45; color: var(--text-2); }
@media (max-width: 1000px) {  /* tablet i telefon: formaty 2 × 2 */
  .formats { --h: 130px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .formats li { width: auto; min-width: 0; }
}

.perks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.perks--2 .perk { padding: clamp(24px, 3vw, 36px); }
.perks--2 .perk-num { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.perk p strong { color: var(--text); font-weight: 700; }
.cta-box.is-center { align-items: center; text-align: center; }
.cta-box.is-center h2 { max-width: 16ch; }
.cta-box.is-center .btn { align-self: center; }

.video-cta-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.video-cta-text p { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 520px; }
.video-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; border-top: 1px solid var(--line-3); padding-top: 72px; margin-bottom: clamp(67px, 8.75vw, 112px); }
.video-cta h2 { font-weight: 700; font-size: clamp(36px, 5vw, 68px); line-height: 1; letter-spacing: -0.045em; max-width: 12ch; }

/* Okno odtwarzacza */
.lightbox { width: min(1100px, 94vw); max-width: none; padding: 0; border: none; background: transparent; color: var(--text); overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .86); }
.lightbox-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-md); overflow: hidden; }
.lightbox-frame iframe, .lightbox-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Ładowanie filmu: kadr z miniatury + wskaźnik, potem płynne pojawienie się odtwarzacza */
.lightbox-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transition: opacity .6s ease .15s; }
.lightbox-loader {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: opacity .3s ease, transform .3s ease;
}
.lightbox-loader::after {
  content: ""; position: absolute; inset: 18px; border-radius: 50%;
  border: 3px solid rgba(29, 29, 31, .15); border-top-color: #1D1D1F; animation: lb-spin .8s linear infinite;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lightbox-frame iframe, .lightbox-frame video { opacity: 0; transition: opacity .6s ease; }
.lightbox-frame.is-ready iframe, .lightbox-frame.is-ready video { opacity: 1; }
.lightbox-frame.is-ready .lightbox-poster { opacity: 0; }
.lightbox-frame.is-ready .lightbox-loader { opacity: 0; transform: scale(.8); }

/* Wejście okna: tło i przyciski pojawiają się płynnie, zdjęcia lekko się powiększają */
.lightbox[open]::backdrop { animation: lb-fade .35s ease both; }
.lightbox[open] .lightbox-close, .lightbox[open] .lightbox-count, .lightbox.has-gallery[open] .lightbox-nav { animation: lb-fade .35s .25s ease both; }
.lightbox[open] .lightbox-frame.is-photo { animation: lb-pop .45s var(--ease) both; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lightbox-close {
  position: absolute; right: 0; top: -56px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-4); background: var(--bg); color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
/* Galeria zdjęć w tym samym oknie */
.lightbox-frame.is-photo { aspect-ratio: auto; background: transparent; border-radius: 0; overflow: visible; display: flex; justify-content: center; }
.lightbox-frame.is-photo img { width: auto; max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: var(--radius-md); }
.lightbox-count { position: absolute; left: 0; top: -56px; margin: 0; line-height: 44px; font-size: 15px; font-weight: 800; color: var(--text); }
.lightbox-nav {
  display: none; position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  border: 1px solid var(--line-4); background: var(--bg); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center; transition: transform .2s ease;
}
.lightbox-nav:hover { transform: scale(1.08); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }
.lightbox.has-gallery .lightbox-nav { display: flex; }

/* =========================================================
   KONTAKT
   ========================================================= */
.contact { display: flex; flex-wrap: wrap; gap: 56px 72px; align-items: flex-start; padding-block: clamp(53px, 6.9vw, 88px) clamp(72px, 9.4vw, 120px); }
.contact-info { flex: 1 1 380px; display: flex; flex-direction: column; gap: 28px; }
.contact-info h1 { font-weight: 700; font-size: clamp(48px, 6.4vw, 88px); line-height: .95; letter-spacing: -0.05em; }
.contact-info h1 span { color: var(--accent); }
/* Kolor tematu: Marketing niebieski, Video czerwony; płynnie przechodzi przy przełączaniu */
@property --topic-c { syntax: "<color>"; inherits: true; initial-value: #0071E3; }
.contact { --topic-c: var(--accent); transition: --topic-c .6s ease; }
.contact[data-topic="video"] { --topic-c: #D93025; }
.contact-info h1 span { color: var(--topic-c) !important; }
.topic-text { display: flex; flex-direction: column; gap: 28px; }
/* Wejście tekstu: akapity wyłaniają się po kolei z lekkiego rozmycia */
.topic-text > * { animation: topic-in .9s var(--ease) both; }
.topic-text > *:nth-child(2) { animation-delay: .14s; }
@keyframes topic-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
/* Wyróżniony fragment: tylko kolor tematu */
.topic-hl { color: var(--topic-c); font-weight: 600; }
/* Przycisk wysyłki w kolorze tematu (ten sam kolor na hover, lekko przyciemniony) */
.theme-light .contact .btn-accent, .contact .btn-accent { background: var(--topic-c); }
.theme-light .contact .btn-accent:hover, .contact .btn-accent:hover { background: color-mix(in srgb, var(--topic-c) 88%, #000); }

/* Przełącznik Marketing / Video */
.segmented { position: relative; display: flex; padding: 4px; border-radius: 999px; background: var(--surface-3); }
/* Białe tło aktywnej opcji przesuwa się między Marketing i Video */
.segmented::before {
  content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--bg); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); transition: transform .5s var(--ease);
}
.contact[data-topic="video"] .segmented::before { transform: translateX(100%); }
.segmented label { position: relative; flex: 1; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 800; color: var(--muted); transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.segmented span:hover { color: var(--text); }
.segmented input:checked + span { color: var(--topic-c, var(--text)); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.contact-info .lead { max-width: 460px; font-size: 18px; }
.info-block { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line-2); padding-top: 24px; }
.info-block p { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 440px; }
.direct { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.direct-email { font-family: var(--font-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; text-decoration: none; word-break: break-word; }
.direct-phone { font-size: 18px; font-weight: 700; text-decoration: none; }
.chip-btn {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-4);
  background: transparent; color: var(--text); font-size: 13px; font-weight: 800; cursor: pointer;
}

.form-card { flex: 1.3 1 460px; min-width: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form legend, .field-label { display: block; font-size: 14px; font-weight: 800; margin-bottom: 10px; padding: 0; }
.field-row { display: flex; flex-wrap: wrap; gap: 18px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 800; }
.form > .field { flex: none; }  /* pole w kolumnie formularza: bez sztywnej wysokości z flex-basis */
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--line-3); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; font-weight: 500;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { padding: 14px 16px; line-height: 1.5; min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6E6E69; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(240, 74, 12, .3); }
.field-optional { font-weight: 500; color: var(--muted); }

.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; cursor: pointer;
  border: 1.5px solid var(--line-4); background: transparent; color: var(--text);
  font-size: 14px; font-weight: 700; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.choice-pill span { border-radius: 999px; border-width: 1px; }
.choice-pill input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.choice-chip span { border-radius: var(--radius-sm); padding: 0 16px; }
.choice-chip input:checked + span { background: #2A160D; border-color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }

.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-footer p { flex: 1 1 240px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-error { display: none; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid #7A2A12; background: #2A140C; color: #FFC4AD; font-size: 15px; }
.form-error.is-visible { display: block; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px 0; }
.form-success[hidden] { display: none; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: flex; align-items: center; justify-content: center; }
.form-success h2 { font-weight: 700; font-size: 34px; letter-spacing: -0.03em; }
.form-success p { font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 440px; }

/* =========================================================
   Strony tekstowe (polityki, 404)
   ========================================================= */
.prose { max-width: 760px; padding-block: clamp(53px, 6.9vw, 88px) clamp(72px, 9.4vw, 120px); }
.prose h1 { font-weight: 700; font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.04em; margin-bottom: 24px; }
.prose h2 { font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin-top: 12px; }
.prose li + li { margin-top: 6px; }
.prose .note { padding: 16px 18px; border: 1px solid var(--line-3); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 32px; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); color: var(--text-2); vertical-align: top; }
.prose th { color: var(--text); }
.table-wrap { overflow-x: auto; }
.links-404 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* =========================================================
   Stopka
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); }
.footer-main { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-block: clamp(34px, 4.4vw, 56px) 32px; }
.footer-brand { flex: 1 1 320px; max-width: 440px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-brand .motto { color: var(--text); font-weight: 800; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a, .footer-col button { text-decoration: none; background: none; border: none; padding: 0; cursor: pointer; text-align: left; color: var(--text); font-size: 15px; }
.footer-col button:hover { color: var(--accent-text); }
.footer-col .label { font-size: 12px; letter-spacing: 0.1em; margin-bottom: 2px; }
.footer-bottom { padding-bottom: 32px; font-size: 13px; color: var(--muted); }

/* =========================================================
   Baner zgód (cookies)
   ========================================================= */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  max-width: 560px; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line-3); border-radius: var(--radius-md);
  padding: 24px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8);
  display: flex; flex-direction: column; gap: 16px;
}
.consent[hidden] { display: none; }
.consent h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.consent p { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent-actions .btn { min-height: 46px; padding: 0 20px; font-size: 14px; flex: 1 1 auto; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line-4); }
.btn-outline:hover { color: var(--text); border-color: var(--text); }
.btn-text { background: none; border: none; color: var(--muted); min-height: 46px; padding: 0 8px; font-weight: 700; cursor: pointer; font-size: 14px; text-decoration: underline; }
.consent-options { display: flex; flex-direction: column; gap: 10px; }
.consent-options[hidden] { display: none; }
.consent-option { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.consent-option input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent-option strong { display: block; font-size: 14px; }
.consent-option span { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 760px) {
  .service { padding-right: 60px; }
  .service-arrow { position: absolute; right: 0; top: 30px; width: 44px; height: 44px; }

  .steps { flex-direction: column; }
  .step { flex: none; flex-direction: row; gap: 20px; padding-right: 0; }
  .step-head { flex-direction: column; align-self: stretch; gap: 8px; }
  .step-conn { flex: 1; flex-direction: column; min-height: 24px; }
  .step-line { flex: 1; width: 2px; height: auto; transform-origin: top center; transform: scaleY(0); }
  .steps.is-visible .step-line { transform: scaleY(1); }
  .step-conn svg { transform: rotate(90deg); }
  .step-body { padding: 12px 0 32px; }
  .step:last-child .step-body { padding-bottom: 0; }

  .lightbox-close { top: -52px; }

  .explorer { aspect-ratio: auto; min-height: 640px; align-items: flex-end; padding: 72px 16px 16px; }
  .explorer-media::after { background: linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 75%); }
  .explorer-nav { top: 16px; left: 16px; transform: none; flex-direction: row; gap: 10px; }
  .explorer-close { top: 16px; right: 16px; }
  .explorer-list { width: 100%; gap: 10px; }
  .gallery, .work-grid, .perks--2, .scope { grid-template-columns: 1fr; }
  .explorer-item.is-open .explorer-pill { padding: 22px 22px 0; }
  .explorer-item.is-open .explorer-body-inner { padding: 8px 22px 22px; }
}
@media (max-width: 480px) {
  .btn { padding: 0 22px; font-size: 15px; }
  .platforms { min-width: 0; flex-basis: 100%; aspect-ratio: auto; min-height: 540px; }
  .platforms-tabs { flex-wrap: nowrap; left: 10px; right: 10px; gap: 4px; }
  .platforms-tab { gap: 5px; padding: 0 9px 0 8px; font-size: 12px; }
}
@media (max-width: 380px) {
  .platforms-tab i { display: none; }
}

/* Ograniczone animacje */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pf-stage *, .pf-stage *::before { animation: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .logos-track { animation: none !important; }
  .step-line { transform: none !important; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =========================================================
   Podstrony usług (Google Ads, Meta Ads, TikTok Ads, Audyt)
   ========================================================= */
.breadcrumbs { padding-top: clamp(28px, 4vw, 48px); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-4); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

.page-hero { display: flex; flex-direction: column; gap: 28px; padding-block: clamp(24px, 3vw, 40px) clamp(56px, 7vw, 96px); }
.page-hero > * { max-width: 980px; }
.page-title { font-weight: 700; font-size: clamp(36px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.045em; }
.brand-google, .brand-meta, .brand-tiktok { font-weight: 800; }
.brand-google { color: var(--google); }
.brand-meta { color: var(--meta); }
.brand-tiktok { color: var(--text); text-shadow: -0.02em -0.014em 0 var(--tiktok-cyan), 0.02em 0.014em 0 var(--tiktok-red); }
.brand-openai { font-weight: 800; color: var(--openai); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.cards-grid .card { flex: none; }

.segments { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
.segment { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--text); padding-top: 20px; }
.segment h3 { font-weight: 600; font-size: 26px; letter-spacing: -0.02em; }
.segment > p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.ticks { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.ticks svg { flex: none; margin-top: 3px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 10px 16px; border: 1px solid var(--line-4); border-radius: 999px; font-size: 15px; font-weight: 600; }

.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; background: #161616; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(28px, 4.5vw, 56px); }
.band-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.band h2 { font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.035em; }
.band p { font-size: 16px; line-height: 1.6; color: var(--text-2); max-width: 620px; }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--line-4); }

.related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.related .label { margin-right: 8px; }
.related a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 1px solid var(--line-4); border-radius: 999px; text-decoration: none; font-weight: 700; transition: border-color .2s ease; }
.related a:hover { border-color: var(--text); color: var(--text); }
.stack-lg > * + * { margin-top: clamp(56px, 7vw, 96px); }

/* =========================================================
   Akcenty RGB (czerwony, zielony, niebieski)
   ========================================================= */
:root {
  --rgb-r: #FF3B30; --rgb-g: #34C759; --rgb-b: #007AFF;                 /* kropki, paski, ikony */
  --rgb-r-text: #FF453A; --rgb-g-text: #30D158; --rgb-b-text: #0A84FF;  /* tekst (na ciemnym tle) */
}
/* Kolejność R → B → G: przejścia przez fiolet i turkus zamiast brązu między czerwonym a zielonym */
.text-rgb {
  background-image: linear-gradient(90deg, var(--rgb-r-text), var(--rgb-b-text) 50%, var(--rgb-g-text));
  background-image: linear-gradient(90deg in oklch, var(--rgb-r-text), var(--rgb-b-text) 50%, var(--rgb-g-text));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.video-hero .eyebrow { margin-bottom: -10px; }
.rgb-dots { display: inline-flex; gap: 5px; }
.rgb-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--rgb-r); }
.rgb-dots i:nth-child(2) { background: var(--rgb-g); }
.rgb-dots i:nth-child(3) { background: var(--rgb-b); }

/* Każda realizacja w kaflu dostaje po kolei kolor R, G, B */
.explorer-item:nth-child(3n+1) { --tone: var(--rgb-r); --tone-text: var(--rgb-r-text); }
.explorer-item:nth-child(3n+2) { --tone: var(--rgb-g); --tone-text: var(--rgb-g-text); }
.explorer-item:nth-child(3n) { --tone: var(--rgb-b); --tone-text: var(--rgb-b-text); }
.explorer-client { color: var(--tone-text, var(--accent-text)); }
.explorer-item:not(.is-open) .explorer-pill:hover .explorer-plus { color: var(--tone-text); }

/* =========================================================
   Jasny motyw (w stylu Apple) – włącza go klasa theme-light na <html>
   ========================================================= */
html.theme-light {
  color-scheme: light;
  --bg: #FFFFFF;
  --surface: #F5F5F7;
  --surface-2: #F5F5F7;
  --surface-3: #E8E8ED;
  --line: #E8E8ED;
  --line-2: #E5E5EA;
  --line-3: #D2D2D7;
  --line-4: #C7C7CC;
  --text: #1D1D1F;
  --text-2: #424245;
  --text-3: #515154;
  --muted: #6E6E73;
  --accent: #0071E3;
  --accent-text: #0066CC;
  --on-accent: #FFFFFF;
  --rgb-r-text: #D70015; --rgb-g-text: #1E7F37; --rgb-b-text: #0066CC;  /* ciemniejsze, czytelne na białym */
  --radius-lg: 30px;
  --radius-md: 22px;
}
.theme-light ::selection { background: rgba(0, 113, 227, .18); }
.theme-light .site-header {
  background: rgba(255, 255, 255, .8); border-bottom-color: rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
}
.theme-light .logo span { color: var(--rgb-b); }
.theme-light .main-nav a[aria-current="page"] { border-image: linear-gradient(90deg, var(--rgb-r), var(--rgb-g), var(--rgb-b)) 1; }
.theme-light .btn-accent:hover { background: #0077ED; }
.theme-light .btn-dark { background: var(--text); color: #FFFFFF; }

.theme-light .explorer { background: var(--surface); min-height: clamp(480px, 44vw, 580px); }
.theme-light .explorer-media::after { display: none; }
/* Kadr po prawej, płynnie wtopiony w tło kafla – lista po lewej stoi na czystym tle */
.theme-light .explorer-layer { left: 30%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%); mask-image: linear-gradient(90deg, transparent, #000 28%); }
@media (max-width: 760px) {
  .theme-light .explorer-layer { left: 0; bottom: 40%; -webkit-mask-image: linear-gradient(180deg, #000 65%, transparent); mask-image: linear-gradient(180deg, #000 65%, transparent); }
}
.theme-light .explorer-item {
  background: rgba(255, 255, 255, .8); box-shadow: 0 6px 24px rgba(0, 0, 0, .07);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
}
.theme-light .explorer-item:not(.is-open):hover { background: rgba(255, 255, 255, .95); }
.theme-light .explorer-round { background: rgba(255, 255, 255, .8); box-shadow: 0 4px 14px rgba(0, 0, 0, .1); }
.theme-light .explorer-round:hover { background: #FFFFFF; }
.theme-light .explorer-play { background: var(--text); color: #FFFFFF; }
.theme-light .explorer-play-icon { background: var(--tone, var(--accent)); color: #FFFFFF; }

.theme-light .video-cta {
  border-top: none;
  background: linear-gradient(90deg, var(--rgb-r), var(--rgb-g), var(--rgb-b)) top / 100% 2px no-repeat;
}
.theme-light .lightbox::backdrop { background: rgba(245, 245, 247, .94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.theme-light .lightbox-close, .theme-light .lightbox-nav { border-color: transparent; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.theme-light .site-footer { background: var(--surface); border-top-color: var(--line-2); }
.theme-light .consent { background: #FFFFFF; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .25); }

/* Akcenty w tekście: zamiast pomarańczowego – gradient RGB */
.theme-light .text-accent, .theme-light .text-accent-soft {
  background-image: linear-gradient(90deg, var(--rgb-r-text), var(--rgb-b-text) 50%, var(--rgb-g-text));
  background-image: linear-gradient(90deg in oklch, var(--rgb-r-text), var(--rgb-b-text) 50%, var(--rgb-g-text));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.theme-light .brand-google {
  background-image: linear-gradient(90deg, var(--google-blue), var(--google-red) 35%, #F29900 60%, var(--google-green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.theme-light .brand-meta { color: #0866FF; }

/* Strona główna i podstrony */
.theme-light .hero-points { color: var(--text-2); }
.theme-light .hero-points svg, .theme-light .ticks svg { color: var(--rgb-g-text); }
.theme-light .card, .theme-light .form-card { border-color: transparent; }
.theme-light .card:hover { border-color: transparent; box-shadow: 0 14px 34px rgba(0, 0, 0, .08); }
.theme-light .cards .card:nth-child(3n+1) .card-num { color: var(--rgb-r-text); }
.theme-light .cards .card:nth-child(3n+2) .card-num { color: var(--rgb-g-text); }
.theme-light .cards .card:nth-child(3n) .card-num { color: var(--rgb-b-text); }
.theme-light .panel, .theme-light .band { background: var(--surface); border-color: transparent; }
.theme-light a.service:hover .service-arrow { color: #FFFFFF; }
.theme-light .cta-box {
  color: #FFFFFF;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 59, 48, .38), transparent 38%),
    radial-gradient(circle at 70% 105%, rgba(52, 199, 89, .32), transparent 40%),
    radial-gradient(circle at 105% 60%, rgba(0, 122, 255, .45), transparent 42%),
    #1D1D1F;
}
.theme-light .cta-box p { color: rgba(255, 255, 255, .8); }
.theme-light .cta-box .btn-dark { background: var(--accent); color: #FFFFFF; }
.theme-light .cta-box .btn-dark:hover { background: #0077ED; }

/* Kontakt */
.theme-light .field input:focus, .theme-light .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, .18); }
.theme-light .choice-chip input:checked + span { background: #E8F1FC; border-color: var(--accent); }
.theme-light .form-error { border-color: #F2B8B5; background: #FFF1F0; color: #B3261E; }

/* ---------- Podstrony usług: blok tekstu i FAQ ---------- */
.article, .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px 64px; border-top: 1px solid var(--line-3); padding-top: clamp(32px, 4vw, 56px); }
.article h2, .faq h2 { font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.article-body { display: flex; flex-direction: column; gap: 16px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.article-body ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.article-body a, .faq-list a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.article-body .article-note { font-size: 14px; color: var(--muted); }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list details:first-child { border-top: 1px solid var(--line-2); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 400; line-height: 1; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent-text, var(--text)); }
.faq-list details p { max-width: 640px; padding-bottom: 22px; font-size: 16px; line-height: 1.7; color: var(--text-2); }
@media (max-width: 760px) {
  .article, .faq { grid-template-columns: 1fr; }
  .faq-list summary { font-size: 17px; }
}
