/* IMAGIFT — strona główna (index.html). Wymaga: tokeny.css + wspolne.css. Prefiks klas: st-
   Spis: 1 intro · 2 warstwa sceny · 3 hero · 4 nagłówki sekcji i drobiazgi · 5 dlaczego · 6 jak to działa ·
         7 realizacje · 8 dla kogo · 9 linie · 10 progi · 11 platforma · 12 eko · 13 kalendarz · 14 proces ·
         15 wycena · 16 demo box · 17 faq · 18 finał · 19 tablet · 20 telefon (≤ 767 px) · 21 ograniczony ruch
   Zasady: zero wersalików i kursywy; siatki kafli 3/6/9/12; style telefonu wyłącznie w @media (max-width: 767px). */

/* =========================================================================
   1. INTRO — duże logo maluje się kropkami, potem odlatuje do paska (strona.js)
   ========================================================================= */
.st-intro { display: none; }
html.st-intro-on .st-intro {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background-color: var(--ig-bialy);
  transition: background-color 0.7s var(--ig-e-out);
}
html.st-intro-leci .st-intro { background-color: rgba(255, 255, 255, 0); pointer-events: none; }
.st-intro-logo { position: relative; width: min(74vw, 720px); transform-origin: 0 0; will-change: transform; }
.st-intro-logo .ig-logo-svg { width: 100%; height: auto; overflow: visible; }
.st-intro-logo canvas { pointer-events: none; }
/* zanim ruszy malowanie, ostre logo czeka ukryte (sterowanie przejmuje scena albo zapasowa animacja) */
html.st-intro-on .st-intro-logo:not(.is-maluje) .ig-logo-svg { opacity: 0; }
.st-intro-pomin {
  position: absolute; left: 0; right: 0; bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  text-align: center; font-size: var(--ig-t-drobny); color: var(--ig-cichy);
  opacity: 0; animation: st-pojaw 0.8s var(--ig-e-out) 1.1s forwards;
}
html.st-intro-leci .st-intro-pomin { opacity: 0 !important; animation: none; transition: opacity 0.3s; }
html.st-intro-on .ig-pasek { opacity: 0; transition: opacity 0.7s var(--ig-e-out); }
html.st-intro-leci .ig-pasek { opacity: 1; }
html.st-intro-on .ig-pasek .ig-logo { visibility: hidden; }
@keyframes st-pojaw { to { opacity: 1; } }

/* =========================================================================
   2. WARSTWA SCENY — jedno płótno WebGL (scena.js) przyklejone do hero, a potem do opowieści „Jak to działa”
   Położenie (--sc-x/-y/-w/-h) i przesunięcie (transform) ustawia strona.js.
   ========================================================================= */
.st-scena {
  position: fixed; left: 0; top: 0; z-index: 1;
  width: 100%; height: 100vh;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.9s var(--ig-e-out);
}
.st-scena.is-gotowa { opacity: 1; }
html.st-intro-on:not(.st-intro-leci) .st-scena { opacity: 0; }
.st-scena-plotno {
  position: absolute; display: block; max-width: none;
  left: var(--sc-x, 50%); top: var(--sc-y, 0px);
  width: var(--sc-w, 50%); height: var(--sc-h, 100%);
}
html:not(.st-ma-scene) .st-scena, html.st-bez-sceny .st-scena { display: none; }

/* =========================================================================
   3. HERO — tytuł bez taga, akapit z pogrubieniami, dwie pigułki; po prawej scena (albo slot renderu)
   ========================================================================= */
.st-hero {
  position: relative; z-index: 2;
  min-height: max(620px, 100svh);
  display: grid; align-items: center;
  padding: calc(var(--ig-pasek-h) + var(--ig-pasek-gora) + 40px) 0 64px;
}
.st-dwie, .st-hero-siatka {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px); align-items: center;
}
.st-hero-tresc { display: grid; gap: 28px; justify-items: start; }
.st-hero-h1 { max-width: 11ch; }
.st-hero-lead { max-width: 54ch; }
.st-hero-akcje { display: flex; flex-wrap: wrap; gap: 12px 14px; }
/* trzy punkty jeden pod drugim — bez rzędu 2 + 1 */
.st-hero-fakty { display: grid; justify-items: start; gap: 10px; font-size: var(--ig-t-maly); color: var(--ig-tekst); }
.st-hero-fakty li { display: inline-flex; align-items: center; gap: 10px; }
.st-hero-fakty .ig-kropka { width: 10px; height: 10px; }
.st-hero-scena { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; }
.st-hero-render { width: 100%; }
/* scena działa → slot renderu zostaje tylko miejscem (rezerwacja kadru), płótno stoi w warstwie */
html.st-ma-scene:not(.st-bez-sceny) .st-hero-render { visibility: hidden; }

/* wjazd hero po intro (albo od razu przy kolejnym wejściu) */
html.ig-ruch .st-hero [data-st-wjazd]:not(h1) {
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 0.9s var(--ig-e-out), transform 1.1s var(--ig-e-out);
  transition-delay: calc(var(--d, 0) * 120ms + 150ms);
  animation: st-awaryjnie 0.01s linear 7s forwards;
}
html.ig-ruch .st-hero-h1 .ig-slowo-in {
  transform: translate3d(0, 112%, 0) rotate(3deg);
  transition: transform 1.2s var(--ig-e-out);
  transition-delay: calc(var(--w, 0) * 60ms + 60ms);
  animation: st-awaryjnie 0.01s linear 7s forwards;
}
html.ig-ruch .st-hero.is-wjazd [data-st-wjazd]:not(h1),
html.ig-ruch .st-hero.is-wjazd .st-hero-h1 .ig-slowo-in { opacity: 1; transform: none; animation: none; }
@keyframes st-awaryjnie { to { opacity: 1; transform: none; } }

/* =========================================================================
   4. NAGŁÓWKI SEKCJI (każda sekcja inna kompozycja) I DROBIAZGI
   ========================================================================= */
.st-glowa { position: relative; display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(44px, 2rem + 3vw, 80px); }
.st-glowa--rzad { max-width: none; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; gap: 24px clamp(32px, 5vw, 88px); }
.st-glowa--srodek { margin-inline: auto; text-align: center; justify-items: center; max-width: 860px; }
.st-glowa--srodek .ig-lead { margin-inline: auto; }
.st-glowa--waska { max-width: 680px; }
.st-glowa--srodek.st-glowa--waska { max-width: 760px; }
.st-glowa--linie { max-width: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(32px, 5vw, 88px); }
.st-glowa-bok { display: grid; gap: 18px; }
.st-glowa--progi { max-width: 900px; }
.st-glowa--progi h2 { max-width: 19ch; }

/* listy z kropkami */
.st-punkty { display: grid; gap: 8px; font-size: var(--ig-t-maly); line-height: 1.5; color: var(--ig-tekst); }
.st-punkty li { position: relative; padding-left: 20px; }
.st-punkty li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--k, var(--ig-g)); }
.st-punkty--minus li::before { top: 0.72em; width: 9px; height: 2px; border-radius: 2px; background: var(--ig-cichy); }
.st-punkty--plus li::before { left: 0; top: 0.42em; width: 13px; height: 13px; background: var(--k, var(--ig-g)); -webkit-mask: var(--ig-ptaszek) center / 12px no-repeat; mask: var(--ig-ptaszek) center / 12px no-repeat; }
.st-chipy { display: flex; flex-wrap: wrap; gap: 6px; }
.st-chipy li { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: var(--ig-r-pigulka); background: var(--ig-papier); font-size: var(--ig-t-drobny); color: var(--ig-tekst); line-height: 1.3; }

/* znak prezentu (4 kropki G I F T) */
.st-znak-duzy, .st-znak-maly { display: grid; grid-template-columns: repeat(2, 1fr); flex: none; }
.st-znak-duzy { width: 92px; height: 92px; gap: 8px; }
.st-znak-maly { width: 30px; height: 30px; gap: 3px; }
.st-znak-duzy i, .st-znak-maly i { display: block; border-radius: 50%; background: var(--ig-g); transition: transform 0.7s var(--ig-e-out); }
.st-znak-duzy i:nth-child(2), .st-znak-maly i:nth-child(2) { background: var(--ig-i); }
.st-znak-duzy i:nth-child(3), .st-znak-maly i:nth-child(3) { background: var(--ig-f); }
.st-znak-duzy i:nth-child(4), .st-znak-maly i:nth-child(4) { background: var(--ig-t); }

/* konfetti przy nagłówkach (paralaksa w strona.js) */
.st-konfetti { position: absolute; inset: -30px -90px; pointer-events: none; z-index: -1; }
.st-konfetti i { position: absolute; display: block; border-radius: 50%; }
.st-konfetti--a i:nth-child(1) { left: 0; top: 22%; width: 34px; height: 34px; background: var(--ig-g); }
.st-konfetti--a i:nth-child(2) { left: 52px; top: 64%; width: 12px; height: 12px; background: var(--ig-i); }
.st-konfetti--a i:nth-child(3) { right: 30px; top: 10%; width: 18px; height: 18px; background: var(--ig-t); }
.st-konfetti--a i:nth-child(4) { right: 0; top: 62%; width: 26px; height: 26px; background: var(--ig-f); }
.st-konfetti--b i:nth-child(1) { left: 44px; top: 6%; width: 16px; height: 16px; background: var(--ig-f); }
.st-konfetti--b i:nth-child(2) { left: 0; top: 52%; width: 28px; height: 28px; background: var(--ig-t); }
.st-konfetti--b i:nth-child(3) { right: 0; top: 18%; width: 30px; height: 30px; background: var(--ig-i); }
.st-konfetti--b i:nth-child(4) { right: 48px; top: 70%; width: 11px; height: 11px; background: var(--ig-g); }
/* węziej niż komputer: dwie kropki w pasie nad nagłówkiem (bez paralaksy) */
@media (max-width: 991px) {
  .st-konfetti { inset: -34px 0 auto 0; height: 26px; }
  .st-konfetti i:nth-child(n+3) { display: none; }
  .st-konfetti i:nth-child(1) { left: auto; right: calc(50% + 14px); top: 0; width: 22px; height: 22px; }
  .st-konfetti i:nth-child(2) { left: calc(50% + 14px); right: auto; top: 8px; width: 12px; height: 12px; }
}

/* duża jasna pigułka (np. „Zobacz wszystkie realizacje”) */
.st-btn-duzy { min-height: 68px; padding: 7px 7px 7px 34px; font-size: 1.125rem; gap: 22px; }
.st-btn-duzy .ig-btn-pole { width: 54px; height: 54px; }
.st-btn-duzy::before { right: 34px; }
.st-tel { display: none; }

/* =========================================================================
   5. DLACZEGO — sześć liczb z rynku (każda ze źródłem)
   ========================================================================= */
.st-dane { --ig-kafle-odstep: 20px; }
.st-dana {
  overflow: hidden;
  gap: 14px; padding: clamp(24px, 1rem + 1.4vw, 36px);
  background: var(--ig-bialy);
}
.st-dana::before {
  content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 160px; height: 160px; border-radius: 50%;
  background: var(--k-mgla); transform: scale(0.55); transform-origin: 70% 30%;
  transition: transform 0.9s var(--ig-e-out);
}
@media (hover: hover) { .st-dana:hover::before { transform: scale(5.2); } }
.st-dana-liczba {
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--ig-f-display); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95;
  font-size: clamp(3.2rem, 1.8rem + 3.4vw, 5.4rem); color: var(--ig-tusz);
  font-variant-numeric: tabular-nums;
}
.st-dana-liczba small { font-size: 0.5em; font-weight: 500; color: var(--k-tusz); letter-spacing: -0.02em; }
.st-dana-liczba::before { content: ""; align-self: flex-start; width: 14px; height: 14px; margin: 0.12em 10px 0 0; border-radius: 50%; background: var(--k); flex: none; }
.st-dana-tekst { font-size: 1.0625rem; line-height: 1.5; color: var(--ig-tekst); }
.st-dana-tekst strong { color: var(--ig-tusz); }
.st-dana-zrodlo { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ig-linia); font-size: var(--ig-t-drobny); line-height: 1.45; color: var(--ig-cichy); }

/* =========================================================================
   6. JAK TO DZIAŁA — tryb statyczny (3 karty) i tryb opowieści (.is-scena: przyklejona scena, karty jedna na drugiej)
   ========================================================================= */
.st-jak { z-index: 2; }
.st-jak-siatka { display: grid; grid-template-columns: minmax(0, 1fr); }
.st-jak-lewa { display: grid; gap: 22px; min-width: 0; }
.st-jak-h2 { display: block; max-width: 18ch; }
.st-jak-fraza { display: inline; }
.st-jak-lead { max-width: 52ch; }
.st-jak-prawa { display: none; }
.st-jak-karty { margin-top: 26px; }
.st-jak-karta {
  position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0;
  padding: 12px; border-radius: var(--ig-r-karta); background: var(--ig-papier);
}
.st-jak-karta .ig-render { background: var(--ig-bialy); border-radius: 16px; }
.st-jak-karta-tekst { display: grid; gap: 12px; padding: 20px 14px 14px; }
.st-jak-karta h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; }
.st-jak-karta h3 .ig-kropka { width: 14px; height: 14px; }
.st-jak-karta p { font-size: 1.0625rem; line-height: 1.55; }
.st-jak-karta p strong { color: var(--ig-tusz); }

/* tryb opowieści — tylko komputer/tablet z pełnym ruchem (klasę nadaje strona.js) */
.st-jak-tor { position: relative; }
/* miara opowieści: od tego elementu scena.js (data-scena-scroll) i strona.js liczą postęp 0…1 — kończy się 45vh przed końcem toru */
.st-jak-miara { position: absolute; left: 0; top: 0; width: 1px; height: calc(100% - 45vh); min-height: 1px; visibility: hidden; pointer-events: none; }
.st-jak.is-scena { padding-top: 0; }
.st-jak.is-scena .st-jak-tor { height: 330vh; }
.st-jak.is-scena .st-jak-scena {
  position: sticky; top: 0; height: 100vh;
  display: grid; align-items: center;
  padding-top: calc(var(--ig-pasek-h) + 4px);
}
.st-jak.is-scena .st-jak-siatka { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.st-jak.is-scena .st-jak-prawa { display: block; height: 100%; }
.st-jak.is-scena .st-jak-lewa { gap: 18px; }
.st-jak.is-scena .st-jak-h2 { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.9rem); line-height: 1.04; }
.st-jak.is-scena .st-jak-fraza {
  position: relative; display: block; width: fit-content; color: var(--ig-cichy);
  transition: color 0.6s var(--ig-e-out), transform 0.8s var(--ig-e-out);
}
.st-jak.is-scena .st-jak-fraza b { font-weight: 400; transition: font-weight 0.3s; }
.st-jak.is-scena .st-jak-fraza.is-teraz { color: var(--ig-tusz); transform: translateX(4px); }
.st-jak.is-scena .st-jak-fraza.is-teraz b { font-weight: 600; }
/* kropka wisi w marginesie — tekst wszystkich fraz stoi na linii leadu i karty */
.st-jak.is-scena .st-jak-fraza::before {
  content: ""; position: absolute; left: -0.5em; top: 0.42em; width: 0.32em; height: 0.32em; margin: 0; border-radius: 50%;
  background: var(--k, var(--ig-g)); transform: scale(0);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.st-jak.is-scena .st-jak-fraza.is-teraz::before { transform: scale(1); }
.st-jak-fraza[data-krok="0"] { --k: var(--ig-g); }
.st-jak-fraza[data-krok="1"] { --k: var(--ig-i); }
.st-jak-fraza[data-krok="2"] { --k: var(--ig-f); }
.st-jak.is-scena .st-jak-karty {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; margin-top: 6px;
}
.st-jak.is-scena .st-jak-karta {
  grid-area: 1 / 1;
  flex-direction: row; align-items: stretch; gap: 0;
  opacity: 0; visibility: hidden;
  clip-path: inset(0 0 100% 0 round var(--ig-r-karta));
  transform: translate3d(0, 24px, 0);
  transition: clip-path 0.9s var(--ig-e-mocny), opacity 0.5s var(--ig-e-out), transform 0.9s var(--ig-e-out), visibility 0s linear 0.9s;
}
.st-jak.is-scena .st-jak-karta.is-bylo { clip-path: inset(0 0 0 0 round var(--ig-r-karta)); transform: translate3d(0, -18px, 0) scale(0.98); }
.st-jak.is-scena .st-jak-karta.is-teraz {
  opacity: 1; visibility: visible; clip-path: inset(0 0 0 0 round var(--ig-r-karta)); transform: none;
  transition: clip-path 0.9s var(--ig-e-mocny), opacity 0.4s var(--ig-e-out), transform 0.9s var(--ig-e-out), visibility 0s;
}
.st-jak.is-scena .st-jak-karta .ig-render { flex: 0 0 44%; aspect-ratio: 4 / 3 !important; align-self: center; }
.st-jak.is-scena .st-jak-karta-tekst { align-content: center; padding: 10px 14px 10px 26px; gap: 10px; }
.st-jak.is-scena .st-jak-karta h3 { font-size: 1.375rem; }
.st-jak.is-scena .st-jak-karta p { font-size: 1rem; }
/* niskie okno (np. 1156 × 700): scena opowieści musi zmieścić się w jednym ekranie */
@media (max-height: 860px) {
  .st-jak.is-scena .st-jak-h2 { font-size: clamp(1.9rem, 6.2vh, 3.3rem); }
  .st-jak.is-scena .st-jak-lead { font-size: 1rem; line-height: 1.55; }
  .st-jak.is-scena .st-jak-lewa { gap: 14px; }
  .st-jak.is-scena .st-jak-karta .st-punkty { display: none; }
  .st-jak.is-scena .st-jak-karta .ig-render { flex-basis: 40%; }
  .st-jak.is-scena .st-jak-nawi { gap: 10px; margin-top: 2px; }
}
.st-jak-nawi { display: grid; gap: 14px; margin-top: 8px; }
.st-jak-kroki { display: flex; flex-wrap: wrap; gap: 6px; }
.st-jak-kroki button {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px;
  border-radius: var(--ig-r-pigulka); font-family: var(--ig-f-display); font-weight: 500; font-size: 0.9375rem;
  color: var(--ig-tekst); box-shadow: inset 0 0 0 1px var(--ig-linia-mocna);
  transition: background-color var(--ig-d-srednio) var(--ig-e-out), color var(--ig-d-srednio) var(--ig-e-out), box-shadow var(--ig-d-srednio) var(--ig-e-out);
}
.st-jak-kroki button::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--k); }
.st-jak-kroki button[data-krok="0"] { --k: var(--ig-g); }
.st-jak-kroki button[data-krok="1"] { --k: var(--ig-i); }
.st-jak-kroki button[data-krok="2"] { --k: var(--ig-f); }
.st-jak-kroki button[aria-current] { background: var(--ig-tusz); color: var(--ig-bialy); box-shadow: none; }
@media (hover: hover) { .st-jak-kroki button:not([aria-current]):hover { box-shadow: inset 0 0 0 1.5px var(--ig-tusz); color: var(--ig-tusz); } }
.st-jak-postep { height: 4px; border-radius: 4px; background: var(--ig-mgla); overflow: hidden; }
.st-jak-postep i { display: block; height: 100%; border-radius: inherit; background: var(--ig-wstazka); transform: scaleX(0); transform-origin: 0 50%; }

/* =========================================================================
   7. REALIZACJE — 6 kart z danych (realizacje-dane.js)
   ========================================================================= */
.st-real-siatka { --ig-kafle-odstep: 24px; }
.st-real-karta {
  overflow: hidden; gap: 0; padding: 12px;
  border-radius: var(--ig-r-karta); background: var(--ig-bialy); color: var(--ig-tekst);
}
.st-real-karta .ig-render { border-radius: 16px; background: var(--ig-papier); }
.st-real-karta .ig-render-zastepnik, .st-real-karta .ig-render-obraz { transition: transform 1.1s var(--ig-e-out), opacity 0.9s var(--ig-e-out); }
.st-real-tekst { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 12px 12px; }
.st-real-kat { display: inline-flex; align-items: center; gap: 9px; font-size: var(--ig-t-drobny); font-weight: 600; color: var(--k-tusz); }
.st-real-kat .ig-kropka { width: 9px; height: 9px; }
.st-real-karta h3 { font-size: 1.375rem; line-height: 1.2; }
.st-real-haslo { font-size: var(--ig-t-maly); line-height: 1.55; color: var(--ig-tekst); }
.st-real-linia { margin-top: auto; padding-top: 10px; font-size: var(--ig-t-drobny); color: var(--ig-cichy); }
.st-real-strzalka {
  position: absolute; z-index: 3; top: 24px; right: 24px;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ig-bialy); color: var(--ig-tusz); box-shadow: var(--ig-cien-1);
  transform: scale(0.6) rotate(-45deg); opacity: 0;
  transition: transform 0.6s var(--ig-e-out), opacity 0.4s var(--ig-e-out), background-color 0.4s var(--ig-e-out);
}
.st-real-strzalka::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ig-strzalka) center / contain no-repeat; mask: var(--ig-strzalka) center / contain no-repeat; }
@media (hover: hover) {
  .st-real-karta:hover { box-shadow: var(--ig-cien-2); transform: translateY(-4px); }
  .st-real-karta:hover .ig-render-zastepnik, .st-real-karta:hover .ig-render.is-jest .ig-render-obraz { transform: scale(1.045); }
  .st-real-karta:hover .st-real-strzalka { opacity: 1; transform: none; background: var(--k); }
}
@media (hover: none) { .st-real-strzalka { opacity: 1; transform: none; } }
.st-real-wiecej { display: flex; justify-content: center; margin-top: clamp(40px, 2rem + 2vw, 64px); }

/* =========================================================================
   8. DLA KOGO — trzy równe karty; kolor zalewa kartę od ikony (najechanie / karta w centrum talii)
   ========================================================================= */
.st-dla-karty { --ig-kafle-odstep: 20px; }
.st-dla-karta { overflow: hidden; gap: 18px; padding: clamp(24px, 1rem + 1.2vw, 34px); }
.st-dla-karta::after {
  content: ""; position: absolute; z-index: -1; left: 26px; top: 26px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--k-mgla); transform: scale(0); transition: transform 0.9s var(--ig-e-out);
}
@media (hover: hover) { .st-dla-karta:hover::after { transform: scale(40); } }
.st-dla-gora { display: flex; align-items: center; gap: 14px; }
.st-dla-gora .ig-kafel-ikona { margin: 0; }
.st-dla-kto { font-family: var(--ig-f-display); font-weight: 500; font-size: 1rem; color: var(--k-tusz); }
.st-dla-karta h3 { font-size: clamp(1.4rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.16; }
.st-dla-listy { display: grid; gap: 16px; }
.st-dla-etykieta { margin-bottom: 8px; font-family: var(--ig-f-display); font-weight: 600; font-size: 0.875rem; color: var(--ig-tusz); }
.st-dla-dana { margin-top: auto; padding: 16px 18px; border-radius: 16px; background: var(--ig-papier); font-size: var(--ig-t-maly); line-height: 1.5; color: var(--ig-tekst); transition: background-color 0.6s var(--ig-e-out); }
.st-dla-dana strong { color: var(--ig-tusz); }
.st-dla-dana span { display: block; margin-top: 6px; font-size: var(--ig-t-drobny); color: var(--ig-cichy); }
@media (hover: hover) { .st-dla-karta:hover .st-dla-dana { background: var(--ig-bialy); } }
.st-dla-link { --k: var(--k-tusz); align-self: flex-start; }

/* =========================================================================
   9. LINIE — 5 linii + kafel „Dobierzemy razem” (6 = zasada trójek)
   ========================================================================= */
.st-zawsze { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: var(--ig-t-maly); color: var(--ig-tekst); }
.st-zawsze li { display: inline-flex; align-items: center; gap: 9px; }
.st-zawsze li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ig-g); }
.st-zawsze li:nth-child(2)::before { background: var(--ig-f); }
.st-zawsze li:nth-child(3)::before { background: var(--ig-t); }
.st-linie-karty { --ig-kafle-odstep: 20px; }
.st-linia { gap: 12px; padding: 12px 12px 22px; background: var(--ig-bialy); }
.st-linia .ig-render { border-radius: 14px; background: var(--ig-papier); margin-bottom: 6px; }
.st-linia > :not(.ig-render) { margin-inline: 10px; }
.st-linia h3 { font-size: 1.5rem; line-height: 1.15; }
.st-prog {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  min-height: 30px; padding: 0 12px; border-radius: var(--ig-r-pigulka);
  background: var(--k-mgla); color: var(--k-tusz); font-size: var(--ig-t-drobny); font-weight: 600; line-height: 1.3;
}
.st-prog .ig-kropka { width: 8px; height: 8px; }
.st-linia-opis { display: grid; gap: 10px; margin: 4px 0 0; }
.st-linia-opis div { display: grid; gap: 2px; padding-top: 10px; border-top: 1px solid var(--ig-linia); }
.st-linia-opis dt { font-size: var(--ig-t-drobny); color: var(--ig-cichy); }
.st-linia-opis dd { margin: 0; font-size: var(--ig-t-maly); line-height: 1.5; color: var(--ig-tekst); }
.st-linia-opis strong { color: var(--ig-tusz); }
.st-linia-przyklad { --k: var(--k-tusz); margin-top: auto; align-self: flex-start; min-height: 40px; font-size: var(--ig-t-maly); text-underline-offset: 5px; }
.st-linia--razem {
  justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(26px, 1rem + 2vw, 40px);
  background: var(--ig-bialy); box-shadow: inset 0 0 0 1.5px var(--ig-mgla) !important;
  background-image: radial-gradient(circle, var(--ig-mgla) 0 1.6px, transparent 2px); background-size: 18px 18px;
}
.st-linia--razem > * { margin-inline: 0; }
.st-linia--razem h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.15; }
.st-linia--razem p { font-size: var(--ig-t-maly); line-height: 1.55; }
.st-linia--razem .st-znak-duzy { margin-bottom: 6px; }
.st-linia-btn { margin-top: 6px; }
@media (hover: hover) {
  .st-linia--razem:hover .st-znak-duzy i:nth-child(1) { transform: translate(-8px, -8px); }
  .st-linia--razem:hover .st-znak-duzy i:nth-child(2) { transform: translate(8px, -8px); }
  .st-linia--razem:hover .st-znak-duzy i:nth-child(3) { transform: translate(-8px, 8px); }
  .st-linia--razem:hover .st-znak-duzy i:nth-child(4) { transform: translate(8px, 8px); }
  .st-linia--razem:hover .ig-btn::before { transform: translate(50%, -50%) scale(1); }
  .st-linia--razem:hover .ig-btn { color: var(--b-zal-na); }
  .st-linia--razem:hover .ig-btn-pole { background: var(--ig-bialy); }
}
html.ig-ruch .st-linia--razem .st-znak-duzy i { animation: st-oddech 4.2s var(--ig-e-in-out) infinite; }
html.ig-ruch .st-linia--razem .st-znak-duzy i:nth-child(2) { animation-delay: -1.05s; }
html.ig-ruch .st-linia--razem .st-znak-duzy i:nth-child(3) { animation-delay: -2.1s; }
html.ig-ruch .st-linia--razem .st-znak-duzy i:nth-child(4) { animation-delay: -3.15s; }
@keyframes st-oddech { 0%, 100% { scale: 1; } 50% { scale: 0.78; } }

/* =========================================================================
   10. PROGI — miarka z czterema progami (oś rysuje się przy przewijaniu)
   ========================================================================= */
.st-miarka { position: relative; padding-top: 70px; }
.st-miarka-os {
  position: absolute; left: 0; right: 0; top: 22px; height: 8px; border-radius: 8px; background: var(--ig-papier); overflow: hidden;
  background-image: repeating-linear-gradient(90deg, var(--ig-mgla) 0 2px, transparent 2px 22px);
}
.st-miarka-wyp { position: absolute; inset: 0; display: block; border-radius: inherit; background: var(--ig-tusz); transform: scaleX(0); transform-origin: 0 50%; }
html:not(.ig-ruch) .st-miarka-wyp { transform: none; }
.st-miarka-progi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.st-prog-punkt { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 12px; }
.st-prog-punkt::before {
  content: ""; position: absolute; left: 0; top: -60px; width: 28px; height: 28px; margin-left: -2px; border-radius: 50%;
  background: var(--k); box-shadow: 0 0 0 6px var(--ig-bialy);
  transform: scale(0.35); transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.st-prog-punkt.is-on::before, html:not(.ig-ruch) .st-prog-punkt::before { transform: none; }
.st-prog-kwota { font-family: var(--ig-f-display); font-size: var(--ig-t-maly); color: var(--ig-cichy); line-height: 1.1; }
.st-prog-kwota span { display: block; margin-bottom: 4px; font-size: clamp(2.4rem, 1.4rem + 2.6vw, 3.9rem); font-weight: 600; letter-spacing: -0.04em; color: var(--ig-tusz); }
.st-prog-punkt h3 { font-size: 1.25rem; color: var(--k-tusz); }
.st-prog-punkt p { font-size: var(--ig-t-maly); line-height: 1.55; }
.st-prog-punkt strong { color: var(--ig-tusz); }
.st-prog-pasuje { margin-top: 4px; font-size: var(--ig-t-drobny) !important; color: var(--ig-cichy); }
html.ig-ruch .st-prog-punkt > * { opacity: 0.18; transform: translateY(14px); transition: opacity 0.7s var(--ig-e-out), transform 0.9s var(--ig-e-out); }
html.ig-ruch .st-prog-punkt.is-on > * { opacity: 1; transform: none; }
.st-progi-uwagi {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 4vw, 64px);
  margin-top: clamp(48px, 2rem + 3vw, 80px); padding: clamp(24px, 1rem + 1.6vw, 36px) clamp(24px, 1rem + 2vw, 44px);
  border-radius: var(--ig-r-karta); background: var(--ig-papier);
}
.st-progi-uwagi p { font-size: var(--ig-t-maly); line-height: 1.6; }
.st-progi-uwagi b { color: var(--ig-tusz); }
.st-progi-uwagi strong { color: var(--ig-tusz); }
.st-progi-zastrz { max-width: 80ch; margin-top: 18px; }

/* =========================================================================
   11. PLATFORMA — makieta (2 sloty renderu, przyklejona) + 6 modułów jako lista
   ========================================================================= */
.st-plat-siatka { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
/* kolumna makiety ma wysokość listy modułów — przyklejona makieta jedzie razem z listą aż do CTA */
.st-plat-media { align-self: stretch; }
.st-plat-przyklej { position: sticky; top: calc(var(--ig-pasek-h) + 40px); padding: 0 6% 10% 0; }
.st-plat-panel { box-shadow: var(--ig-cien-2); }
.st-plat-tel { position: absolute; right: 0; bottom: 0; width: 34%; border-radius: 22px; box-shadow: 0 0 0 7px var(--ig-papier), var(--ig-cien-2); }
.st-glowa--plat { margin-bottom: 36px; }
.st-moduly { display: grid; }
.st-moduly li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--ig-linia); }
.st-moduly li:last-child { border-bottom: 1px solid var(--ig-linia); }
.st-modul-ik { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--k-mgla); color: var(--k-tusz); }
.st-modul-ik svg { width: 22px; height: 22px; }
.st-moduly h3 { font-size: 1.1875rem; font-weight: 500; margin-bottom: 4px; }
.st-moduly p { font-size: var(--ig-t-maly); line-height: 1.55; }
.st-moduly strong { color: var(--ig-tusz); }

/* =========================================================================
   12. EKO — skreślone hasła vs paszport prezentu + 3 zasady
   ========================================================================= */
.st-eko-siatka { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; margin-bottom: clamp(40px, 2rem + 2vw, 64px); }
.st-eko-zamiast { display: grid; gap: 14px; justify-items: start; }
.st-eko-etykieta { font-family: var(--ig-f-display); font-weight: 600; font-size: 0.9375rem; color: var(--ig-f-tusz); }
.st-skreslone { display: grid; gap: 4px; margin-bottom: 18px; }
.st-skreslone s {
  text-decoration: none; position: relative; display: inline-block;
  font-family: var(--ig-f-display); font-size: clamp(1.9rem, 1.1rem + 2.2vw, 3.1rem); letter-spacing: -0.03em; line-height: 1.15; color: var(--ig-cichy);
}
.st-skreslone s::after {
  content: ""; position: absolute; left: -4px; right: -4px; top: 54%; height: 4px; border-radius: 4px; background: var(--ig-g);
  transform: scaleX(1); transform-origin: 0 50%;
}
html.ig-ruch .st-eko-zamiast .st-skreslone s::after { transform: scaleX(0); transition: transform 0.9s var(--ig-e-mocny); }
html.ig-ruch .st-eko-zamiast.is-pokazany .st-skreslone li:nth-child(1) s::after { transform: scaleX(1); transition-delay: 0.5s; }
html.ig-ruch .st-eko-zamiast.is-pokazany .st-skreslone li:nth-child(2) s::after { transform: scaleX(1); transition-delay: 0.8s; }
html.ig-ruch .st-eko-zamiast.is-pokazany .st-skreslone li:nth-child(3) s::after { transform: scaleX(1); transition-delay: 1.1s; }
.st-eko-konkret { font-family: var(--ig-f-display); font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem); line-height: 1.3; letter-spacing: -0.015em; color: var(--ig-tusz); max-width: 26ch; }
.st-paszport {
  position: relative; display: grid; gap: 18px; max-width: 470px; justify-self: center; width: 100%;
  padding: 28px; border-radius: var(--ig-r-karta); background: var(--ig-bialy); box-shadow: var(--ig-cien-2);
}
.st-paszport::before { content: ""; position: absolute; left: 28px; right: 28px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--ig-wstazka); }
.st-paszport-glowa { display: flex; align-items: center; gap: 14px; }
.st-paszport-tytul { font-family: var(--ig-f-display); font-weight: 600; font-size: 1.25rem; color: var(--ig-tusz); line-height: 1.2; }
.st-paszport-pod { font-size: var(--ig-t-maly); color: var(--ig-cichy); }
.st-paszport-dane { display: grid; margin: 0; }
.st-paszport-dane div { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; border-top: 1px solid var(--ig-linia); }
.st-paszport-dane dt { font-size: var(--ig-t-maly); color: var(--ig-cichy); flex: none; }
.st-paszport-dane div::after { content: ""; order: 1; flex: 1; height: 1px; margin-bottom: 4px; background: radial-gradient(circle, var(--ig-mgla) 0 1px, transparent 1.5px) 0 0 / 6px 2px repeat-x; }
.st-paszport-dane dd { order: 2; margin: 0; font-weight: 500; font-size: var(--ig-t-maly); color: var(--ig-tusz); text-align: right; }
.st-paszport-nota { font-size: var(--ig-t-drobny); color: var(--ig-cichy); line-height: 1.45; }
.st-eko-zasady .ig-kafel { background: var(--ig-bialy); }
.st-eko-zasady .ig-kafel-tytul { display: flex; align-items: center; gap: 10px; }
.st-eko-zasady .ig-kafel-tytul::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ig-f); flex: none; }
.st-eko-zasady strong { color: var(--ig-tusz); }

/* =========================================================================
   13. KALENDARZ — licznik dni do zamknięcia zamówień (prawdziwa data) + 12 miesięcy
   Tryb toru (.is-tor, komputer z pełnym ruchem): miesiące jadą w bok przy przewijaniu przyklejonej sceny.
   ========================================================================= */
.st-kal-glowa { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px clamp(32px, 5vw, 88px); align-items: end; margin-bottom: 28px; }
.st-kal-tytul { display: grid; gap: 18px; }
.st-kal-licznik {
  --k: var(--ig-g); --k-tusz: var(--ig-g-tusz);
  position: relative; overflow: hidden; display: grid; gap: 6px;
  padding: 26px 28px; border-radius: var(--ig-r-karta); background: var(--ig-g-mgla);
}
.st-kal-licznik-tekst { font-size: var(--ig-t-maly); color: var(--ig-tekst); max-width: 30ch; }
.st-kal-dni { display: flex; align-items: baseline; gap: 10px; font-family: var(--ig-f-display); font-weight: 600; letter-spacing: -0.045em; line-height: 0.95; color: var(--ig-tusz); }
.st-kal-dni span { font-size: clamp(3.6rem, 2rem + 4vw, 6rem); font-variant-numeric: tabular-nums; }
.st-kal-dni small { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ig-g-tusz); }
.st-kal-licznik-nota { font-size: var(--ig-t-drobny); line-height: 1.5; color: var(--ig-tekst); }
.st-kal-licznik-nota strong { color: var(--ig-tusz); }
.st-kal-licznik::after { content: ""; position: absolute; right: -26px; top: -26px; width: 110px; height: 110px; border-radius: 50%; background: var(--ig-g); opacity: 0.9; }
.st-kal-licznik > * { position: relative; z-index: 1; max-width: calc(100% - 70px); }
.st-kal-legenda { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 22px; font-size: var(--ig-t-drobny); color: var(--ig-tekst); }
.st-kal-legenda span { display: inline-flex; align-items: center; gap: 8px; }
.st-kal-legenda span::before, .st-mies-lista li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--k); flex: none; }
.st-kal-okno { width: min(var(--ig-szer-max), 100% - 2 * var(--ig-o-margines)); margin-inline: auto; }
.st-miesiace { --ig-kafle-odstep: 16px; }
.st-mies { gap: 14px; padding: 24px; background: var(--ig-papier); box-shadow: none; }
.st-mies-nazwa { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.5rem; }
.st-mies-teraz { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--ig-r-pigulka); background: var(--ig-tusz); color: var(--ig-bialy); font-family: var(--ig-f-tekst); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0; }
.st-mies-lista { display: grid; gap: 9px; }
.st-mies-lista li { display: flex; align-items: baseline; gap: 10px; font-size: var(--ig-t-maly); line-height: 1.45; color: var(--ig-tekst); }
.st-mies-lista li::before { transform: translateY(-1px); }
.st-mies--termin { background: var(--ig-g-mgla); }
.st-mies.is-teraz { background: var(--ig-bialy); box-shadow: inset 0 0 0 2px var(--ig-tusz); }
.st-kal.is-tor { padding-top: 0; }
.st-kal.is-tor .st-kal-scena {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--ig-pasek-h) + 8px);
}
/* tor nie biegnie od krawędzi do krawędzi: 24 px marginesu okna i wygaszenie kart na brzegach */
.st-kal.is-tor .st-kal-okno {
  width: auto; margin-inline: 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent);
}
.st-kal.is-tor .st-miesiace {
  display: flex; gap: 16px; width: max-content;
  padding-inline: max(calc(var(--ig-o-margines) - 24px), calc((100vw - var(--ig-szer-max)) / 2 - 24px));
  will-change: transform;
}
.st-kal.is-tor .st-mies { width: clamp(260px, 22vw, 320px); flex: none; min-height: 236px; }

/* =========================================================================
   14. PROCES — oś etapów rysowana przy przewijaniu
   ========================================================================= */
.st-proces-siatka { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.st-proces-glowa { position: sticky; top: calc(var(--ig-pasek-h) + 48px); display: grid; gap: 18px; }
.st-os { position: relative; display: grid; gap: 18px; padding-left: 64px; }
.st-os-linia { position: absolute; left: 21px; top: 30px; bottom: 30px; width: 4px; border-radius: 4px; background: var(--ig-mgla); overflow: hidden; }
.st-os-linia i { position: absolute; inset: 0; display: block; background: linear-gradient(180deg, var(--ig-g) 0 25%, var(--ig-i) 25% 50%, var(--ig-f) 50% 75%, var(--ig-t) 75% 100%); transform: scaleY(0); transform-origin: 50% 0; }
html:not(.ig-ruch) .st-os-linia i { transform: none; }
.st-os-krok { position: relative; display: grid; gap: 10px; padding: 26px 28px; border-radius: var(--ig-r-kafel); background: var(--ig-bialy); }
.st-os-krok::before {
  content: ""; position: absolute; left: -54px; top: 30px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ig-bialy); box-shadow: inset 0 0 0 3px var(--ig-mgla), 0 0 0 6px var(--ig-papier);
  transition: background-color 0.5s var(--ig-e-out), box-shadow 0.5s var(--ig-e-out), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.st-os-krok.is-on::before, html:not(.ig-ruch) .st-os-krok::before { background: var(--k); box-shadow: inset 0 0 0 3px var(--k), 0 0 0 6px var(--ig-papier); transform: scale(1.12); }
.st-os-krok h3 { font-size: 1.375rem; }
.st-os-krok p { font-size: 1rem; line-height: 1.55; }
.st-os-krok strong { color: var(--ig-tusz); }
.st-os-krok .st-chipy { margin-top: 4px; }

/* =========================================================================
   15. WYCENA — trzy części połączone plusami + pasek dla agencji
   ========================================================================= */
.st-wycena-czesci { --ig-kafle-odstep: 56px; }
.st-czesc { gap: 12px; padding: clamp(26px, 1rem + 1.4vw, 36px); }
.st-czesc + .st-czesc::after {
  content: "+"; position: absolute; left: -46px; top: 50%; width: 36px; height: 36px; margin-top: -18px;
  display: grid; place-items: center; border-radius: 50%; background: var(--ig-bialy); box-shadow: inset 0 0 0 1px var(--ig-linia-mocna);
  font-family: var(--ig-f-display); font-size: 1.375rem; font-weight: 500; line-height: 1; color: var(--ig-tusz);
}
.st-czesc-znak { width: 18px; height: 18px; border-radius: 50%; background: var(--k); margin-bottom: 8px; }
.st-czesc .ig-kafel-tytul { font-size: 1.5rem; }
.st-czesc .ig-kafel-opis { font-size: 1rem; }
.st-czesc .ig-kafel-opis strong { color: var(--ig-tusz); }
.st-czesc .st-punkty { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ig-linia); }
.st-wycena-nota { margin-top: 22px; text-align: center; font-size: var(--ig-t-maly); color: var(--ig-cichy); }
.st-agencje {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 28px;
  margin-top: clamp(40px, 2rem + 2vw, 64px); padding: 22px 28px; border-radius: var(--ig-r-karta);
  box-shadow: inset 0 0 0 1px var(--ig-linia-mocna);
}
.st-agencje p { font-size: 1rem; line-height: 1.55; }
.st-agencje b, .st-agencje strong { color: var(--ig-tusz); }

/* =========================================================================
   16. DEMO BOX
   ========================================================================= */
.st-demo-siatka { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.st-demo-render { box-shadow: var(--ig-cien-2); }
.st-demo-tekst { display: grid; gap: 22px; }
.st-demo-lista { font-size: 1rem; --k: var(--ig-i-tusz); }

/* =========================================================================
   17. FAQ — wyśrodkowane, jedno pytanie otwarte naraz, płynne rozwijanie (strona.js)
   ========================================================================= */
.st-faq-lista { display: grid; gap: 10px; }
.st-faq-q { border-radius: var(--ig-r-kafel); background: var(--ig-bialy); box-shadow: inset 0 0 0 1px var(--ig-mgla); transition: box-shadow 0.4s var(--ig-e-out), background-color 0.4s var(--ig-e-out); }
.st-faq-q:nth-child(4n+1) { --k: var(--ig-g); --k-mgla: var(--ig-g-mgla); }
.st-faq-q:nth-child(4n+2) { --k: var(--ig-i); --k-mgla: var(--ig-i-mgla); }
.st-faq-q:nth-child(4n+3) { --k: var(--ig-f); --k-mgla: var(--ig-f-mgla); }
.st-faq-q:nth-child(4n+4) { --k: var(--ig-t); --k-mgla: var(--ig-t-mgla); }
.st-faq-q[open]:not(.is-zwija) { background: var(--ig-papier); box-shadow: inset 0 0 0 1px transparent; }
.st-faq-q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 16px 18px 16px 26px; cursor: pointer; list-style: none; border-radius: inherit;
  font-family: var(--ig-f-display); font-weight: 500; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.35; letter-spacing: -0.01em; color: var(--ig-tusz);
}
.st-faq-q summary::-webkit-details-marker { display: none; }
.st-faq-q summary i {
  position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--k-mgla); color: var(--ig-tusz);
  transition: transform 0.6s var(--ig-e-out), background-color 0.4s var(--ig-e-out);
}
.st-faq-q summary i::before, .st-faq-q summary i::after { content: ""; grid-area: 1 / 1; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.st-faq-q summary i::after { transform: rotate(90deg); }
.st-faq-q[open]:not(.is-zwija) summary i { transform: rotate(135deg); background: var(--k); }
@media (hover: hover) { .st-faq-q:not([open]):hover { box-shadow: inset 0 0 0 1.5px var(--k); } }
.st-faq-a { overflow: hidden; }
.st-faq-a p { padding: 0 26px 24px; max-width: 64ch; font-size: 1rem; line-height: 1.65; }
.st-faq-a strong { color: var(--ig-tusz); }

/* =========================================================================
   18. FINAŁ — wielkie zaproszenie na malinie z wybuchem konfetti
   ========================================================================= */
.st-final { padding-top: clamp(24px, 1rem + 2vw, 48px); }
.st-final-zapis {
  grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 34px;
  margin-top: 0; padding: clamp(72px, 3rem + 7vw, 168px) clamp(28px, 1rem + 6vw, 120px);
}
.st-final-zapis::after { display: none; }
.st-final-zapis .ig-zapis-tresc { justify-items: center; max-width: 60rem; gap: 22px; }
.st-final-tytul { font-size: clamp(2.4rem, 1rem + 4.6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.st-final-zapis .ig-zapis-zdanie { max-width: 46ch; margin-inline: auto; }
.st-final-akcje { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 12px 14px; justify-self: center !important; }
.st-final-zapis .ig-btn:not(.ig-btn--jasny) { --btn-k: var(--ig-i); }
.st-final-kropki { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.st-final-kropki i { position: absolute; display: block; border-radius: 50%; }

/* =========================================================================
   19. TABLET (768–991 px)
   ========================================================================= */
@media (min-width: 768px) and (max-width: 991px) {
  .st-glowa--rzad, .st-glowa--linie { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .st-dla-karta h3 { font-size: 1.3rem; }
  .st-miarka-progi { gap: 18px; }
  .st-plat-siatka, .st-proces-siatka { grid-template-columns: minmax(0, 1fr); }
  .st-plat-przyklej, .st-proces-glowa { position: relative; top: 0; }
  .st-plat-przyklej { max-width: 640px; }
  .st-kal-glowa { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .st-jak.is-scena .st-jak-karta { flex-direction: column; }
  .st-jak.is-scena .st-jak-karta .ig-render { flex: none; width: 100%; aspect-ratio: 16 / 9 !important; }
  .st-jak.is-scena .st-jak-karta-tekst { padding: 14px 10px 6px; }
  .st-jak.is-scena .st-jak-karta .st-punkty { display: none; }
  .st-wycena-czesci { --ig-kafle-odstep: 44px; }
  .st-czesc + .st-czesc::after { left: -40px; }
}

/* =========================================================================
   20. TELEFON (≤ 767 px) — talie kart, dok u dołu (z ramy), tekst ≥ 20 px od krawędzi
   ========================================================================= */
@media (max-width: 767px) {
  .st-hero { min-height: 0; align-items: start; padding: calc(var(--ig-pasek-h) + var(--ig-pasek-gora) + 4px) 0 48px; }
  .st-hero-siatka { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .st-hero-scena { order: -1; aspect-ratio: auto; height: min(46svh, 420px); margin-inline: calc(-1 * var(--ig-o-margines)); }
  .st-hero-render { width: auto; height: 100%; aspect-ratio: 1 / 1 !important; max-width: calc(100% - 24px); }
  .st-hero-tresc { gap: 22px; }
  .st-hero-h1 { max-width: none; font-size: clamp(2.45rem, 1.2rem + 7vw, 3.4rem); }
  .st-hero-akcje { display: grid; width: 100%; gap: 10px; }
  .st-hero-akcje .ig-btn { width: 100%; }
  .st-hero-fakty { display: grid; gap: 8px; }

  .st-glowa { margin-bottom: 32px; gap: 14px; }
  .st-glowa--rzad, .st-glowa--linie { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 14px; }
  .st-btn-duzy { width: 100%; min-height: 60px; padding-left: 24px; font-size: 1rem; }
  .st-bez-tel { display: none; }
  .st-tel { display: inline; }
  .st-btn-duzy .ig-btn-pole { width: 46px; height: 46px; }

  /* karty w taliach: media na górze, równa wysokość */
  .st-dana { min-height: 0; }
  .st-dana-liczba { font-size: 3.4rem; }
  .st-dana::before { transition-duration: 0.7s; }
  .ig-talia .st-dana.is-talia-teraz::before { transform: scale(5.2); }

  .st-jak-h2 { max-width: none; }
  .st-jak-karty { margin-top: 10px; }
  .st-jak-karta-tekst { padding: 18px 8px 10px; }
  .st-jak-karta h3 { font-size: 1.3rem; }
  .st-jak-karta p { font-size: 1rem; }

  .st-real-karta { padding: 10px; }
  .st-real-tekst { padding: 16px 10px 10px; }
  .st-real-karta h3 { font-size: 1.25rem; }

  .st-dla-karta { gap: 14px; padding: 22px 20px; }
  .ig-talia .st-dla-karta.is-talia-teraz::after { transform: scale(40); }
  .ig-talia .st-dla-karta.is-talia-teraz .st-dla-dana { background: var(--ig-bialy); }
  .st-dla-karta h3 { font-size: 1.3rem; }
  .st-dla-kto { white-space: nowrap; }
  /* karta talii mieści się między paskiem a dokiem: po 2 punkty na listę, link do briefu nad dowodem */
  .st-dla-listy li:nth-child(n+3) { display: none; }
  .st-dla-dana { order: 1; padding: 14px 16px; }

  .st-linia h3 { font-size: 1.3rem; }
  .st-prog { white-space: nowrap; }
  /* „W pudełku” pokazuje render na górze karty — na telefonie zostają „Kiedy” i „Po dotknięciu” */
  .st-linia-opis div:nth-child(2) { display: none; }
  /* szósta karta jak pozostałe: media 4/3 na górze (znak prezentu na papierze), przycisk na dole */
  .st-linia--razem { justify-content: flex-start; align-items: stretch; gap: 12px; padding: 12px 12px 22px; background-image: none; }
  .st-linia--razem > * { margin-inline: 10px; }
  .st-linia--razem .st-znak-duzy {
    width: auto; height: auto; aspect-ratio: 4 / 3; margin: 0 0 6px;
    grid-template-columns: repeat(2, 32px); grid-auto-rows: 32px; place-content: center; gap: 6px;
    border-radius: 14px; background-color: var(--ig-papier);
    background-image: radial-gradient(circle, var(--ig-mgla) 0 1.6px, transparent 2px); background-size: 18px 18px;
  }
  .st-linia--razem .st-linia-btn { align-self: flex-start; margin-top: auto; }

  .st-miarka { padding-top: 0; padding-left: 44px; }
  .st-miarka-os { left: 12px; right: auto; top: 10px; bottom: 10px; width: 6px; height: auto; background-image: repeating-linear-gradient(180deg, var(--ig-mgla) 0 2px, transparent 2px 22px); }
  .st-miarka-wyp { transform: scaleY(0); transform-origin: 50% 0; }
  .st-miarka-progi { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .st-prog-punkt { padding-top: 0; }
  .st-prog-punkt::before { left: -44px; top: 4px; width: 24px; height: 24px; margin-left: 3px; }
  .st-prog-kwota span { font-size: 2.6rem; }
  .st-progi-uwagi { grid-template-columns: minmax(0, 1fr); margin-inline: calc(12px - var(--ig-o-margines)); padding: 22px 20px; border-radius: 24px; }

  .st-plat-siatka { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .st-plat-przyklej { position: relative; top: 0; padding: 0 8% 14% 0; }
  .st-plat-tel { width: 38%; border-radius: 16px; box-shadow: 0 0 0 5px var(--ig-papier), var(--ig-cien-2); }
  .st-moduly li { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 18px 0; }
  .st-modul-ik { width: 42px; height: 42px; border-radius: 13px; }
  .st-moduly h3 { font-size: 1.0625rem; }

  .st-eko-siatka { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st-skreslone s { white-space: nowrap; font-size: min(2rem, 6.6vw); }
  .st-paszport { padding: 24px 20px; }
  .st-paszport::before { left: 20px; right: 20px; }
  .st-paszport-dane div { flex-wrap: wrap; }

  .st-kal-glowa { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; }
  .st-kal-licznik { margin-inline: calc(12px - var(--ig-o-margines)); padding: 22px 20px; }
  .st-kal-dni span { font-size: 4rem; }
  .st-kal-okno { width: calc(100% - 2 * var(--ig-o-margines)); }
  .st-mies { padding: 20px; }

  .st-proces-siatka { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .st-proces-glowa { position: relative; top: 0; }
  .st-os { padding-left: 40px; gap: 12px; margin-right: calc(12px - var(--ig-o-margines)); }
  .st-os-linia { left: 9px; }
  .st-os-krok { padding: 20px; }
  .st-os-krok::before { left: -40px; top: 24px; width: 22px; height: 22px; }
  .st-chipy li { white-space: nowrap; }

  .st-wycena-czesci { gap: 52px; }
  .st-czesc + .st-czesc::after { left: 50%; top: -44px; margin: 0 0 0 -18px; }
  .st-agencje { grid-template-columns: minmax(0, 1fr); margin-inline: calc(12px - var(--ig-o-margines)); padding: 22px 20px; gap: 12px; }

  .st-demo-siatka { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .st-faq-q summary { min-height: 64px; padding: 14px 14px 14px 20px; gap: 14px; }
  .st-faq-q summary i { width: 36px; height: 36px; }
  .st-faq-a p { padding: 0 20px 20px; }
  .st-faq-lista { margin-inline: calc(12px - var(--ig-o-margines)); }

  .st-final-zapis { padding: 92px 20px 28px !important; gap: 26px; }
  .st-final-tytul { font-size: clamp(2.1rem, 1rem + 6vw, 2.8rem); }
  .st-final-akcje { display: grid !important; width: 100%; justify-self: stretch !important; }
  .st-final-akcje .ig-btn { width: 100%; }
}

/* najwęższe telefony (320–374 px): pigułki mieszczą napis i pole strzałki w jednej linii — napis zostaje ≥ 16 px od pola */
@media (max-width: 374px) {
  .st-strona .ig-btn { gap: 16px; padding-left: 20px; font-size: 0.9375rem; }
}

/* =========================================================================
   21. OGRANICZONY RUCH — wszystko stoi w kadrze końcowym
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .st-intro { display: none !important; }
  .st-linia--razem .st-znak-duzy i { animation: none !important; }
  .st-jak-fraza, .st-jak-karta { transition: none !important; }
}
