/* AI Mentors: nowy wygląd stron oferty (strona główna, Wdrożenia AI, strony branżowe, Szkolenia z AI).
   Czarne tło, fiolet jako jedyny akcent, nagłówki zdaniem z kropką, przyciski w kształcie pigułki, karty z zaokrągleniem 28 px.
   Ładowany razem z wspolne.css (czcionka, zmienne, menu, stopka). Starsze podstrony korzystają ze style.css. */

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: #000000; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000000; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
img, video { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #000000; }
sup { margin-left: 2px; font-size: .5em; line-height: 0; }
sup a { display: inline-block; padding: 12px 6px; margin: -12px -6px; text-decoration: none; }
/* Wiązka przy etykietach sekcji na stronie głównej sięga krawędzi ekranu: przycinamy ją bez przewijania w poziomie. */
main { overflow-x: clip; }
/* Kotwica nie chowa się pod przyklejonym paskiem sekcji. */
[id] { scroll-margin-top: 76px; }

/* ---------- typografia ---------- */
.h-hero { font-size: clamp(44px, 6vw, 80px); font-weight: 600; line-height: 1.05; letter-spacing: -.022em; overflow-wrap: break-word; }
.h-sec { font-size: clamp(36px, 4.6vw, 56px); font-weight: 600; line-height: 1.07; letter-spacing: -.018em; }
.h-card { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.sub { font-size: clamp(21px, 2vw, 28px); font-weight: 400; line-height: 1.3; color: var(--soft); }
.body { font-size: 17px; line-height: 1.55; color: var(--muted); }
.lead { max-width: 720px; font-size: 19px; line-height: 1.5; color: var(--muted); }
.small { font-size: 14px; line-height: 1.5; color: var(--faint); }
/* Akapit-wprowadzenie: szary tekst, najważniejsze zdania na biało. */
.statement { max-width: 900px; margin-inline: auto; font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; line-height: 1.24; letter-spacing: -.012em; color: var(--faint); }
.statement strong { font-weight: 600; color: #ffffff; }

/* ---------- przyciski i linki ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--accent); font-size: 17px; font-weight: 600; text-decoration: none; white-space: nowrap; color: #0b0a0f; transition: background-color .2s ease; }
.btn:hover, .btn:focus-visible { background: var(--accent-hover); color: #0b0a0f; }
/* Przycisk drugorzędny: sam obrys. */
.btn--line { background: transparent; box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn--line:hover, .btn--line:focus-visible { background: rgba(182, 156, 255, .12); color: var(--accent-hover); }
/* Link „Dowiedz się więcej ›”. */
.lnk { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; font-weight: 500; text-decoration: none; color: var(--accent); }
.lnk:hover { text-decoration: underline; }
.lnk::after { content: "\203A"; margin-left: 6px; font-size: 1.2em; line-height: 1; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; }

/* ---------- układ ---------- */
.sec { padding: clamp(96px, 11vw, 150px) var(--gutter); }
/* Sekcja, która kontynuuje poprzednią: bez górnego odstępu. */
.sec--flush { padding-top: 0; }
.sec--near { padding-top: clamp(64px, 7vw, 96px); }
.wrap { max-width: var(--measure); margin-inline: auto; }
.head { display: flex; flex-direction: column; gap: 18px; max-width: 820px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin-top: 28px; }
.after { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 56px); text-align: center; }
.after--narrow { gap: 8px; max-width: 720px; margin: clamp(36px, 4.4vw, 56px) auto 0; }
/* Akapit pod kartami usług na Wdrożeniach. */
.lead--narrow { max-width: 640px; line-height: 1.55; }

/* ---------- nagłówek strony ---------- */
.hero { padding: clamp(72px, 9vw, 120px) var(--gutter) clamp(32px, 4vw, 48px); text-align: center; }
.hero .in { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 920px; margin-inline: auto; }
.hero .ctas { margin-top: 14px; }
/* Strona główna: film na całą szerokość, tekst na dole, na przyciemnionym tle. */
.hero--home { position: relative; display: flex; align-items: flex-end; justify-content: center; min-height: clamp(640px, 58vw, 880px); padding: 0 var(--gutter) clamp(48px, 5vw, 72px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .72) 72%, #000000 100%); }
.hero--home .in { position: relative; z-index: 1; gap: 22px; max-width: 980px; }
.hero--home .h-hero { font-size: clamp(46px, 6.6vw, 92px); line-height: 1.03; letter-spacing: -.025em; }
.hero--home .sub { max-width: 780px; line-height: 1.25; }
.hero--home .ctas { margin-top: 12px; }
.hero--home .ctas, .zz .ctas { gap: 14px 24px; }
.hero--branza { padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(24px, 3vw, 40px); }
.hero--branza .in { max-width: 960px; }
/* Film pod nagłówkiem strony, wygaszony u góry i u dołu. */
.stage { position: relative; height: clamp(380px, 50vw, 720px); overflow: hidden; }
.stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fade { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 82%, transparent 100%); }
/* Ścieżka nawigacji na stronach branżowych. */
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 8px; padding: 0; list-style: none; font-size: 14px; color: var(--faint); }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: "\203A"; margin-right: 8px; color: var(--faint); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--muted); }
.crumbs a:hover { text-decoration: underline; color: #ffffff; }

/* ---------- karty ---------- */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 14px; padding: clamp(32px, 3.6vw, 48px); overflow: hidden; border-radius: 28px; background: var(--tile); }
/* Karta ze zdjęciem u góry. */
.card--pic { padding: 0; }
.card--pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.card--pic .txt { display: flex; flex-direction: column; gap: 12px; padding: 8px clamp(32px, 3.6vw, 48px) clamp(32px, 3.6vw, 44px); }
/* Przykłady na dole karty. */
.ex { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.ex p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.ex b { display: block; margin-bottom: 2px; font-weight: 600; color: #ffffff; }
/* Na stronach branżowych przykłady stoją ciaśniej. */
.ex--tight { gap: 6px; }

/* ---------- Wdrożenia: branże (kafle z linkiem do strony branżowej) ---------- */
.who { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.who li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-radius: 22px; background: var(--tile); transition: background-color .2s ease; }
.who li:hover { background: var(--tile-hover); }
.who li:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.who h3 { font-size: 19px; font-weight: 600; line-height: 1.25; color: #ffffff; }
.who p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.who-link { text-decoration: none; color: #ffffff; }
.who-link:hover { color: #ffffff; }
.who-link:focus-visible { outline: none; }
/* Cały kafel jest linkiem: obszar linku z nagłówka rozciąga się na kafel. */
.who-link::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.go { color: var(--accent); }
.who-more { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: clamp(36px, 4.4vw, 56px); text-align: center; }

/* ---------- Wdrożenia: etapy z cenami na świecącej osi ---------- */
/* Oś biegnie nad kolumnami, każdy etap ma na niej punkt; na telefonie oś stoi pionowo po lewej. */
.cmp { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4.4vw, 64px); padding-top: 48px; }
.cmp::before { content: ""; position: absolute; top: 6px; left: 6px; right: 0; height: 1px; background: linear-gradient(90deg, rgba(182, 156, 255, .9) 0%, rgba(182, 156, 255, .45) 70%, rgba(182, 156, 255, 0) 100%); filter: drop-shadow(0 0 4px rgba(182, 156, 255, .7)); }
.cmp > div { position: relative; display: flex; flex-direction: column; gap: 16px; }
.cmp > div::before { content: ""; position: absolute; top: -48px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #ece4ff; box-shadow: 0 0 0 5px rgba(182, 156, 255, .16), 0 0 16px 3px rgba(182, 156, 255, .75); }
/* „Bezpłatnie” przy pierwszym etapie w kolorze akcentu. */
.cmp > div:first-child .price { color: #c9b6ff; }
.cmp .row { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.cmp .row--end { margin-top: auto; }
.cmp .lbl { font-size: 14px; font-weight: 600; color: #ffffff; }
.cmp .price { font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: #ffffff; }

/* ---------- trzy cechy z ikonami (bezpieczeństwo) ---------- */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4.4vw, 64px); }
.feat > div { display: flex; flex-direction: column; gap: 12px; }
.feat h3 { font-size: 22px; font-weight: 600; line-height: 1.25; }
.ico { display: block; width: 44px; height: 44px; margin-bottom: 10px; color: var(--accent); }

/* ---------- strony branżowe: pomysły, narzędzia, inne branże ---------- */
.ideas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.ideas li { display: flex; flex-direction: column; gap: 8px; padding: 28px 26px; border-radius: 22px; background: var(--tile); }
.ideas h3 { font-size: 19px; font-weight: 600; line-height: 1.25; color: #ffffff; }
.ideas p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.tools li { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 22px; background: var(--tile); }
.tools b { font-size: 15px; font-weight: 600; color: #ffffff; }
.tools span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 960px; margin-inline: auto; padding: 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--tile); font-size: 15px; text-decoration: none; color: var(--soft); transition: background-color .2s ease; }
.chips a:hover { background: #1d1b26; color: #ffffff; }

/* ---------- pytania ---------- */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding: 26px 0; list-style: none; font-size: 21px; font-weight: 600; line-height: 1.3; color: #ffffff; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 30px; font-weight: 300; line-height: 1; color: var(--accent); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 68ch; padding: 0 0 28px; }

/* ---------- Szkolenia: liczby, plan dnia, cennik ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; max-width: var(--measure); margin-inline: auto; padding: 0; list-style: none; text-align: center; }
.facts b { display: block; white-space: nowrap; font-size: clamp(44px, 5vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; color: #ffffff; font-variant-numeric: tabular-nums; }
.facts span { display: block; max-width: 22ch; margin: 10px auto 0; font-size: 17px; line-height: 1.45; color: var(--muted); }
.plan { margin-top: 20px; padding: clamp(32px, 3.6vw, 48px); border-radius: 28px; background: var(--tile); }
.plan h3 { margin-bottom: 12px; }
.plan ul { padding: 0; list-style: none; }
.plan li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.plan time { font-size: 17px; font-weight: 600; color: #ffffff; font-variant-numeric: tabular-nums; }
.plan li p { font-size: 17px; line-height: 1.5; color: var(--muted); }
.plan li strong { font-weight: 600; color: #ffffff; }
.plan .small { margin-top: 16px; }
.price-card { display: flex; flex-direction: column; gap: 18px; max-width: 640px; margin-inline: auto; padding: clamp(36px, 4vw, 56px); border-radius: 28px; background: var(--tile); }
.price-card .price { font-size: clamp(52px, 6vw, 72px); font-weight: 600; line-height: 1; letter-spacing: -.025em; color: #ffffff; font-variant-numeric: tabular-nums; }
.price-card .btn { align-self: flex-start; margin-top: 8px; }
.checks { display: flex; flex-direction: column; gap: 12px; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: var(--soft); }
.checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 40px; max-width: 640px; margin: 36px auto 0; padding: 0; list-style: none; }
.notes li { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- realizacje (szablon templates/realizacja.html) ---------- */
.hero--case { padding-bottom: clamp(48px, 6vw, 80px); }
.case-head { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 860px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.meta { font-size: 15px; font-weight: 500; color: var(--muted); }
.shot { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; padding: 24px; border-radius: 28px; background: var(--tile); text-align: center; font-size: 17px; line-height: 1.5; color: var(--muted); }
.facts--case { margin-top: clamp(64px, 8vw, 104px); }
.facts--case b { font-size: clamp(40px, 4.4vw, 56px); }
.story { display: flex; flex-direction: column; max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.story > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.story h3 { font-size: 24px; font-weight: 600; line-height: 1.25; }
.story .body { font-size: 19px; }
.plan--case { max-width: 880px; margin: 0 auto; }
.plan--case li { grid-template-columns: 160px minmax(0, 1fr); }
.quote { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote p { font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; line-height: 1.24; letter-spacing: -.012em; color: #ffffff; }
.quote figcaption { font-size: 17px; line-height: 1.5; color: var(--muted); }
@media (max-width: 833px) {
	.story > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}

/* Pole do uzupełnienia przed publikacją (cena, okres opieki, dane realizacji). Wdrożenie przerywa się, dopóki takie pole jest w site/. */
.ph { color: var(--accent); }

/* ---------- panel z filmem na końcu strony ---------- */
.cta { position: relative; display: flex; align-items: center; justify-content: center; min-height: clamp(580px, 52vw, 720px); padding: 96px var(--gutter); overflow: hidden; text-align: center; }
.cta video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta .shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 60%, rgba(0, 0, 0, 0) 100%); }
.cta .in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 780px; }
.cta .ctas { margin-top: 14px; }

/* ---------- strona główna ---------- */
/* Trzy korzyści pod nagłówkiem. */
.gains-wrap { padding: clamp(24px, 3vw, 40px) var(--gutter) 0; }
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); max-width: var(--measure); margin: 0 auto; padding: 0; list-style: none; text-align: center; }
.gains b { display: block; margin-bottom: 8px; font-size: clamp(22px, 2vw, 26px); font-weight: 600; line-height: 1.2; color: #ffffff; }
.gains span { display: block; max-width: 30ch; margin-inline: auto; font-size: 17px; line-height: 1.5; color: var(--muted); }
/* Sekcje na przemian: tekst i obraz (zz), w odwróconej kolejności (zz--rev). */
.zz { padding: clamp(96px, 11vw, 160px) var(--gutter); }
.zz-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4.4vw, 72px); align-items: center; max-width: 1280px; margin-inline: auto; }
.zz--rev .zz-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.zz--rev .zz-txt { order: 2; }
.zz--rev .zz-media { order: 1; }
.zz-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.zz-txt .ctas { justify-content: flex-start; margin-top: 8px; }
.h-zz { font-size: clamp(36px, 4vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; }
.zz-media { position: relative; aspect-ratio: 16 / 9; }
.zz-media video, .zz-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.fade-all {
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
	mask-composite: intersect;
}
.drift { animation: drift 14s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-12px) scale(1.03); } }
/* Etykieta sekcji z wiązką światła biegnącą od krawędzi ekranu. Stoi w nagłówku sekcji, w osobnym wierszu nad jego treścią. */
.zz-lbl { position: relative; display: block; width: fit-content; margin-bottom: 22px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; color: #c9b6ff; text-shadow: 0 0 18px rgba(182, 156, 255, .35); }
.zz-lbl::before {
	content: "";
	position: absolute;
	top: 50%;
	right: calc(100% + 14px);
	width: 100vw;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(236, 228, 255, .95) 50%, rgba(255, 255, 255, 0) 100%) no-repeat, linear-gradient(90deg, rgba(182, 156, 255, 0) 0%, rgba(182, 156, 255, .8) 100%);
	background-size: 180px 100%, 100% 100%;
	background-position: -180px 0, 0 0;
	filter: drop-shadow(0 0 4px rgba(182, 156, 255, .7));
	animation: beamL 7s linear infinite;
}
.zz-lbl::after { content: ""; position: absolute; top: 50%; left: -17px; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #e6dcff; box-shadow: 0 0 0 3px rgba(182, 156, 255, .18), 0 0 12px 2px rgba(182, 156, 255, .7); animation: node 3.5s ease-in-out infinite; }
.zz--rev .zz-lbl::before { right: auto; left: calc(100% + 14px); background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(236, 228, 255, .95) 50%, rgba(255, 255, 255, 0) 100%) no-repeat, linear-gradient(90deg, rgba(182, 156, 255, .8) 0%, rgba(182, 156, 255, 0) 100%); background-size: 180px 100%, 100% 100%; animation-name: beamR; }
.zz--rev .zz-lbl::after { left: auto; right: -17px; }
@keyframes beamL { 0% { background-position: -180px 0, 0 0; } 70%, 100% { background-position: 100vw 0, 0 0; } }
@keyframes beamR { 0% { background-position: 100vw 0, 0 0; } 70%, 100% { background-position: -180px 0, 0 0; } }
@keyframes node { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
/* Sekcja poza ekranem (site.js): wiązka i punkt stoją. */
.zz.is-idle .zz-lbl::before, .zz.is-idle .zz-lbl::after { animation-play-state: paused; }
/* Lista z fioletowymi „ptaszkami”. */
.ticks { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.45; color: var(--soft); }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
/* Liczby i pary pojęć w sekcjach strony głównej. */
.stats, .duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; padding: 18px 0 4px; list-style: none; border-top: 1px solid var(--line); }
.stats { gap: 22px 32px; }
.stats b { display: block; white-space: nowrap; font-size: clamp(34px, 3.4vw, 46px); font-weight: 600; line-height: 1; letter-spacing: -.02em; color: #ffffff; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.duo { gap: 20px 28px; }
.duo b { display: block; font-size: 22px; font-weight: 600; color: #ffffff; }
.duo span { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--muted); }
/* Przewijany pasek branż. Lista jest powtórzona (druga kopia ukryta przed czytnikami), żeby pętla nie miała przerwy. */
.brands { padding: clamp(24px, 3vw, 40px) 0; text-align: center; }
.brands h2 { margin-bottom: 28px; padding: 0 var(--gutter); font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
.brands .lnk { margin-top: 20px; }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.mq-track { display: flex; width: max-content; padding: 8px 0; animation: mq 100s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
/* Przy przechodzeniu klawiaturą pasek staje w miejscu i przewija się do aktywnego linku. */
.mq:focus-within { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: none; mask-image: none; }
.mq:focus-within .mq-track { animation: none; }
.mq ul { display: flex; padding: 0; list-style: none; }
.mq li { width: 200px; margin-right: 24px; }
.mq a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 4px; border-radius: 20px; text-decoration: none; color: var(--nav); }
.mq a:hover { color: #ffffff; }
.mq img { display: block; width: 160px; height: 160px; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.mq a:hover img { transform: translateY(-6px) scale(1.06); }
.mq .nm { font-size: 16px; font-weight: 500; line-height: 1.3; text-align: center; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- ruch ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes fromL { from { opacity: 0; transform: translateX(-96px); } to { opacity: 1; transform: none; } }
@keyframes fromR { from { opacity: 0; transform: translateX(96px); } to { opacity: 1; transform: none; } }
.hero--home .in > *, .gains li { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero--home .in > :nth-child(2) { animation-delay: .08s; }
.hero--home .in > :nth-child(3) { animation-delay: .16s; }
.gains li:nth-child(1) { animation-delay: .3s; }
.gains li:nth-child(2) { animation-delay: .4s; }
.gains li:nth-child(3) { animation-delay: .5s; }
/* Sekcje wjeżdżają przy przewijaniu: site.js dodaje klasę .reveal do <html> i .is-in do sekcji, gdy pojawi się na ekranie.
   Bez JavaScriptu (albo przy ograniczeniu ruchu) treść jest widoczna od razu. Nie używamy animation-timeline: view(),
   bo w Safari na iPhonie tekst sekcji zostawał przezroczysty (czarny ekran z samym punktem etykiety). */
.reveal .from-l, .reveal .from-r, .reveal .rise { opacity: 0; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal .from-l { transform: translateX(-96px); }
.reveal .from-r { transform: translateX(96px); }
.reveal .rise { transform: translateY(36px); }
.reveal .from-l.is-in, .reveal .from-r.is-in, .reveal .rise.is-in { opacity: 1; transform: none; }

/* ---------- szerokości ekranu ---------- */
@media (max-width: 1068px) {
	.who, .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 833px) {
	/* Tekst i obraz jeden pod drugim; wiązka przy etykiecie zawsze biegnie z lewej. */
	.zz-in, .zz--rev .zz-in { grid-template-columns: minmax(0, 1fr); }
	.zz--rev .zz-txt { order: 1; }
	.zz--rev .zz-media { order: 2; }
	.zz--rev .zz-lbl::before { left: auto; right: calc(100% + 14px); background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(236, 228, 255, .95) 50%, rgba(255, 255, 255, 0) 100%) no-repeat, linear-gradient(90deg, rgba(182, 156, 255, 0) 0%, rgba(182, 156, 255, .8) 100%); background-size: 180px 100%, 100% 100%; animation-name: beamL; }
	.zz--rev .zz-lbl::after { right: auto; left: -17px; }
	.grid2, .feat, .ideas, .notes, .gains { grid-template-columns: minmax(0, 1fr); }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.cmp { grid-template-columns: minmax(0, 1fr); row-gap: 48px; padding-top: 0; padding-left: 40px; }
	.cmp::before { top: 6px; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(182, 156, 255, .9) 0%, rgba(182, 156, 255, .45) 70%, rgba(182, 156, 255, 0) 100%); }
	.cmp > div::before { top: 2px; left: -40px; }
	.cta .shade { background: rgba(0, 0, 0, .6); }
	/* Na wąskim ekranie sekcje wjeżdżają od dołu, nie z boku. */
	.reveal .from-l, .reveal .from-r { transform: translateY(36px); }
}
@media (max-width: 600px) {
	.who, .tools { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
	.plan li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
/* Najwęższe telefony (poniżej 375 px): liczby („15 osób”) i długie słowa w nagłówkach („architektonicznego.”)
   wyszłyby poza ekran, więc są mniejsze. Od 375 px wygląd jak w projekcie. */
@media (max-width: 374px) {
	.facts b { font-size: clamp(32px, 10vw, 44px); }
	.hero--branza .h-hero { font-size: min(44px, calc(11.5vw - 5px)); }
}
@media (prefers-reduced-motion: reduce) {
	.btn, .chips a, .who li, .mq img, .faq summary::after { transition: none; }
	.hero--home .in > *, .gains li, .drift, .zz-lbl::before, .zz-lbl::after, .mq-track { animation: none; }
	.mq { overflow-x: auto; scrollbar-width: none; }
	.mq ul[aria-hidden] { display: none; }
}
