/* ==========================================================================
   Darmowy wywóz mebli (BP Meble), wersja 3: karta marki w MARKA.md.
   Papier, tusz i żółć z logo „0 zł”; Archivo szerokie i ciężkie jak litery na banerze bazy; rogi ostre (4–8 px).
   Jeden akcent (żółty) tam, gdzie coś jest za darmo albo gdzie jest główny przycisk na ciemnym tle.
   Ruch tylko przy przewijaniu (raz), wyłączony przy ograniczonym ruchu; nic nie kręci się w kółko.
   ========================================================================== */

/* Archivo odchudzone fontTools: osie wght 400–900 i wdth 100–125 (varLib.instancer), *-latin to Latin-1 z typografią,
   *-latin-ext tylko polskie litery (pyftsubset). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0104-0107, U+0118-0119, U+0141-0144, U+015A-015B, U+0179-017C; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 100% 125%; font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193, U+2212; }

:root {
  --paper: #f2efe7;      /* tło */
  --surface: #fbfaf6;    /* karty, formularz, baner */
  --sunken: #e8e4d9;     /* pola wtopione */
  --ink: #161513;        /* tekst i ciemne panele */
  --text-2: #3b3833;
  --muted: #5e5a52;
  --line: #d9d4c7;
  --yellow: #f2d22e;     /* żółć z logo „0 zł” */
  --on-yellow: #161513;
  --panel: #161513;      /* ciemne sekcje (kroki, kontakt, stopka) */
  --on-panel: #f2efe7;
  --on-panel-2: #c9c4b8;
  --panel-line: #34312b;
  --cta: #161513;        /* główny przycisk na jasnym tle */
  --on-cta: #f2efe7;
  --ok: #2b9a47;
  --warn: #c9a227;
  --error: #a3281b;
  --shadow-object: 0 1px 2px rgb(22 21 19 / .12), 0 18px 40px -18px rgb(22 21 19 / .45);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1320px;
  --r: 6px;
  --r-lg: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151412; --surface: #1d1b18; --sunken: #24221e; --ink: #f2efe7; --text-2: #d6d1c4; --muted: #a8a398; --line: #34312b;
    --panel: #0d0c0b; --on-panel: #f2efe7; --on-panel-2: #c9c4b8; --panel-line: #2c2a26;
    --cta: #f2d22e; --on-cta: #161513; --ok: #3cc463; --error: #e0705f;
    --shadow-object: 0 1px 2px rgb(0 0 0 / .4), 0 18px 40px -18px rgb(0 0 0 / .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r); }
.skip-link:focus { top: 12px; }

/* nagłówki: ciężkie i szerokie jak litery na banerze; h2 dostaje wejście przy przewijaniu (.reveal, niżej) */
h1 { font-weight: 850; font-stretch: 118%; font-size: clamp(2.6rem, 1.5rem + 4.2vw, 5.4rem); line-height: .95; letter-spacing: -.035em; }
h2 { font-weight: 820; font-stretch: 114%; font-size: clamp(2rem, 1.25rem + 2.6vw, 3.4rem); line-height: 1; letter-spacing: -.03em; }
h3 { font-weight: 760; font-stretch: 106%; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.012em; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.5; color: var(--text-2); }

/* ---------- przyciski: prostokąty z rogami 6 px, bez strzałek i pigułek ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px;
  border-radius: var(--r); border: 2px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 750;
  font-stretch: 104%; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn svg { width: 18px; height: 18px; }
.btn--lg { min-height: 56px; padding: 15px 24px; font-size: 1.06rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
.btn--dark:hover { background: var(--text-2); border-color: var(--text-2); color: var(--paper); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
.btn--yellow:hover { background: #ffe14a; border-color: #ffe14a; }
.btn--ghost-light { border-color: var(--on-panel-2); color: var(--on-panel); }
.btn--ghost-light:hover { background: var(--on-panel); border-color: var(--on-panel); color: var(--panel); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link-btn { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 650; color: inherit; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; min-height: 44px; }

/* status „pracujemy teraz” (js/main.js): zielona kropka w godzinach pracy, bursztynowa poza nimi */
.dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.dot.is-open { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
.dot.is-closed { background: var(--warn); }

/* ---------- nagłówek strony ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.logo-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow);
  font-weight: 900; font-stretch: 112%; font-size: 13.5px; letter-spacing: -.02em; }
.logo-text { display: grid; line-height: 1.1; }
.logo-text small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.logo-text span { font-weight: 820; font-stretch: 110%; font-size: 17.5px; letter-spacing: -.015em; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 0; }
.main-nav a:hover { text-decoration: underline; }
.header-call { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: var(--r); background: var(--cta);
  color: var(--on-cta); text-decoration: none; font-weight: 750; font-stretch: 104%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.header-call .hc-ico { width: 18px; height: 18px; display: none; }
.header-call:hover { background: var(--text-2); color: var(--paper); }
@media (max-width: 1060px) {
  .header-inner { flex-wrap: wrap; gap: 0 16px; min-height: 0; padding-block: 10px 0; }
  .header-call { margin-left: auto; }
  .main-nav { order: 3; width: 100%; margin: 0; gap: 20px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; padding: 12px 0; }
}
@media (max-width: 520px) {
  .logo-mark { width: 38px; height: 38px; font-size: 12px; }
  .logo-text span { font-size: 15.5px; font-stretch: 104%; }
  .header-call { width: 48px; padding: 0; justify-content: center; }
  .header-call .hc-num, .header-call .dot { display: none; }
  .header-call .hc-ico { display: block; }
}

/* ---------- pierwszy ekran ---------- */
.hero { padding-top: clamp(1.5rem, 4vw, 3.5rem); }
/* komputer: nazwa usługi i tekst po lewej, żółta scena „0 zł” po prawej przez całą wysokość pierwszego ekranu */
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "title stage" "text stage"; column-gap: clamp(2rem, 5vw, 5rem); }
.hero-title { grid-area: title; }
.hero-text { grid-area: text; }
.hero-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .97rem; color: var(--muted); margin-bottom: 18px; }
.hero-area::before { content: "·"; margin-right: 10px; }
@media (max-width: 480px) { .hero-area { flex-basis: 100%; padding-left: 19px; } .hero-area::before { content: none; } }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 34ch; margin-top: clamp(1.25rem, 2.5vw, 2rem); }
.hero .actions { margin-top: 28px; }
.hero-rating { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  text-decoration: none; color: inherit; }
.hero-rating .big { font-weight: 850; font-stretch: 115%; font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; }
.hero-rating .stars { display: block; letter-spacing: .12em; font-size: .95rem; }
.hero-rating small { display: block; color: var(--muted); font-size: .93rem; }
.hero-rating:hover small { text-decoration: underline; }

/* scena „0 zł”: żółta płyta jak naklejka z logo, ogromna cena i w poprzek niej zdjęcie auta z windą (MARKA.md, element wyróżniający);
   zdjęcie stoi przed literami (warstwy), przy przewijaniu podjeżdża w górę jak meble na windzie */
.stage { grid-area: stage; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  grid-template-rows: auto minmax(0, 1fr) auto; align-self: stretch; min-height: 30rem;
  background: var(--yellow); color: var(--on-yellow); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 30px); overflow: clip;
  container-type: inline-size; }
.stage-price { grid-column: 1 / -1; grid-row: 1; z-index: 1; display: block; font-weight: 900; font-stretch: 125%; line-height: .78;
  font-size: 49cqi; letter-spacing: -.07em; white-space: nowrap; margin: .02em 0 0 -.04em; }
.stage-photo { grid-column: 2; grid-row: 1 / 4; z-index: 2; display: grid; align-self: stretch; margin: 33cqi 0 0 -3cqi; rotate: 2deg; }
/* zdjęcie jak odbitka: jasna ramka w obu motywach, bo płyta zawsze jest żółta */
.stage-photo img { width: 100%; height: 100%; min-height: 0; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 70%; border-radius: var(--r); border: 5px solid #fbfaf6;
  box-shadow: var(--shadow-object); background: var(--sunken); }
.stage-caption { grid-column: 1; grid-row: 3; align-self: end; z-index: 1; max-width: 21ch; padding-right: 14px; font-size: 1.02rem; line-height: 1.4;
  font-weight: 560; }
.stage-caption b { font-weight: 850; }

/* pasek pól u dołu pierwszego ekranu: cztery fakty jak w specyfikacji */
.facts { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--line); }
.facts li { display: grid; gap: 2px; align-content: start; padding: 18px 18px 20px 0; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.facts strong { font-weight: 780; font-stretch: 106%; font-size: 1.08rem; letter-spacing: -.01em; }
.facts span { color: var(--muted); font-size: .93rem; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "title" "text" "stage"; }
  .hero h1 { max-width: none; }
  .hero .lead { max-width: 44ch; }
  .stage { margin-top: 36px; width: min(100%, 36rem); }
}
@media (max-width: 760px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .hero .actions .btn { flex: 1 1 100%; }
  .facts li { padding-right: 12px; }
  .facts li + li { padding-left: 12px; }
  .facts li:nth-child(3) { padding-left: 0; }
  .facts strong { font-size: 1rem; }
}

/* ---------- sekcje ---------- */
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--notop { padding-top: 0; }
.head { display: grid; gap: 16px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head p { color: var(--text-2); font-size: 1.08rem; max-width: 56ch; }
.head--split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 16px clamp(2rem, 5vw, 5rem); }
.head--sticky { align-self: start; position: sticky; top: 104px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 900px) {
  .head--split, .split { grid-template-columns: minmax(0, 1fr); }
  .head--sticky { position: static; }
}

/* ---------- kiedy za darmo: trzy pozycje cennika ---------- */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto 1fr auto; gap: 0 clamp(12px, 1.6vw, 20px); }
.price { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 12px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); }
.price-value { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-height: 1.25em; margin-bottom: 6px; font-weight: 900; font-stretch: 122%;
  font-size: clamp(3.4rem, 2rem + 4vw, 5.6rem); line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.price-value small { font-size: max(1rem, .22em); font-weight: 750; font-stretch: 104%; letter-spacing: -.005em; line-height: 1.2; }
.price-value small:first-child { align-self: flex-end; margin: 0 -.25em .5em 0; font-size: max(1.1rem, .3em); }
.price p:not(.price-value) { color: var(--text-2); }
.price-foot { padding-top: 14px; border-top: 1px solid var(--line); font-weight: 650; color: var(--ink) !important; }
/* naklejka z ceną (gest marki): żółte koło jak logo „0 zł”, przyklejone jak cena na meblu; tylko tam, gdzie coś jest za darmo.
   W cenniku sama jest ceną; przy zdjęciu usługi siedzi w rogu */
.sticker { display: inline-grid; place-items: center; flex: none; width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--yellow);
  color: var(--on-yellow); font-size: 1em; letter-spacing: -.04em; rotate: -8deg; }
.price .sticker { font-size: .42em; width: 2.95em; height: 2.95em; font-stretch: 116%; letter-spacing: -.035em;
  box-shadow: 0 1px 2px rgb(22 21 19 / .16), 0 10px 22px -12px rgb(22 21 19 / .55); }
.sticker--small { position: absolute; top: 12px; right: 12px; width: 64px; height: 64px; font-weight: 900; font-stretch: 114%; font-size: 16px;
  box-shadow: 0 1px 2px rgb(22 21 19 / .18), 0 8px 18px -10px rgb(22 21 19 / .5); }
@media (max-width: 1000px) {
  .prices { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 12px; }
  .price { grid-row: auto; grid-template-rows: none; }
}

.price-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 5vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.price-notes > div { display: grid; gap: 12px; align-content: start; }
.price-notes p { color: var(--text-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ticks li { position: relative; padding-left: 22px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 4px; background: var(--yellow); border-radius: 1px; }
@media (max-width: 760px) { .price-notes { grid-template-columns: minmax(0, 1fr); } }

/* test w trzech pytaniach (js/main.js); bez JavaScriptu nie działa, więc wtedy znika */
.quiz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(2rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--sunken); }
@media (scripting: none) { .quiz { display: none; } }
.quiz-intro { display: grid; gap: 10px; align-content: start; }
.quiz-intro h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.quiz-intro p { color: var(--text-2); }
.quiz-bars { display: flex; gap: 6px; margin-top: 8px; }
.quiz-bars span { width: 44px; height: 6px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.quiz-bars span.on { background: var(--ink); }
.quiz-step { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.quiz-step legend { padding: 0; margin-bottom: 10px; font-weight: 760; font-size: 1.12rem; }
.quiz-num { display: inline-block; margin-right: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; font-variant-numeric: tabular-nums; }
.quiz-step button[data-answer] { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 14px 18px;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 650; text-align: left; cursor: pointer;
  transition: border-color .2s, background-color .2s; }
.quiz-step button[data-answer]:hover { border-color: var(--ink); }
.quiz-back { justify-self: start; background: none; border: 0; padding: 10px 0; font: inherit; color: var(--muted); cursor: pointer; min-height: 44px; }
.quiz-result { display: grid; gap: 12px; padding: clamp(20px, 2.5vw, 28px); border-radius: var(--r-lg); background: var(--surface); }
.quiz-tag { justify-self: start; padding: 5px 10px; border-radius: 4px; font-weight: 800; font-size: .92rem; background: var(--sunken); }
.quiz-tag[data-kind="yellow"] { background: var(--yellow); color: var(--on-yellow); }
.quiz-tag[data-kind="dark"] { background: var(--ink); color: var(--paper); }
.quiz-result h4 { font-size: 1.35rem; font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; outline: none; }
.quiz-result .quiz-text { color: var(--text-2); }
.quiz-result .actions { align-items: center; margin-top: 4px; }
@media (max-width: 900px) { .quiz { grid-template-columns: minmax(0, 1fr); } }

/* ---------- co zabieramy: lista w dwóch kolumnach ---------- */
.take-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.take-list li { display: grid; gap: 4px; padding: 18px 0 20px; border-top: 1px solid var(--line); }
.take-list h3 { font-size: 1.12rem; }
.take-list p { color: var(--text-2); font-size: .97rem; }
@media (max-width: 560px) { .take-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- usługi ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.service { display: flex; flex-direction: column; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: clip; }
.service-img { position: relative; aspect-ratio: 4 / 3; background: var(--sunken); }
.service-img img { width: 100%; height: 100%; object-fit: cover; }
.service-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.service-body p { color: var(--text-2); }
.service-more { margin-top: auto; padding-top: 8px; align-self: flex-start; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; }
.service-more:hover { text-decoration-thickness: 2px; }
/* karta „nie wiesz?” na ciemnym tle: jedyny żółty przycisk w sekcji usług */
.service--cta { justify-content: flex-end; gap: 14px; padding: clamp(22px, 2.4vw, 30px); background: var(--panel); border-color: var(--panel); }
.service--cta h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 1.9rem); font-weight: 820; font-stretch: 112%; letter-spacing: -.02em; color: var(--on-panel); }
.service--cta .btn { align-self: flex-start; white-space: normal; text-align: center; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* na telefonie rząd kart przewijany palcem z przyciąganiem; kropki pod spodem tam, gdzie przeglądarka umie (::scroll-marker) */
@media (max-width: 640px) {
  .services { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .services::-webkit-scrollbar { display: none; }
  .services > .service { flex: 0 0 84%; scroll-snap-align: start; }
}

/* ---------- ciemne panele: jak to działa, kontakt ---------- */
.dark { background: var(--panel); color: var(--on-panel); }
.dark .head p, .dark p { color: var(--on-panel-2); }
.dark a:not(.btn) { color: var(--on-panel); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(1rem, 2.5vw, 2rem);
  counter-reset: krok; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--panel-line); }
.steps li::before { content: ""; position: absolute; left: 0; top: -2px; width: 44px; height: 2px; background: var(--yellow); }
.step-num { font-weight: 850; font-stretch: 115%; font-size: 2.6rem; line-height: 1; letter-spacing: -.04em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.steps h3 { color: var(--on-panel); }
.actions--steps { margin-top: clamp(2rem, 4vw, 3rem); }
.audience { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--panel-line); display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.audience-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 800; font-stretch: 112%; letter-spacing: -.02em; }
.audience-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem clamp(1.5rem, 3vw, 2.5rem); }
.audience-list li { display: grid; gap: 6px; }
.audience-list h4 { font-size: 1.1rem; font-weight: 760; color: var(--on-panel); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2.5vw, 2rem); } }
@media (max-width: 760px) { .audience { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .steps, .audience-list { grid-template-columns: minmax(0, 1fr); } .actions--steps .btn { flex: 1 1 100%; } }

/* ---------- my czy kontener ---------- */
.split--compare { align-items: center; }
.split--compare .head { margin: 0; }
.split--compare .head .btn { justify-self: start; }
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 15px 14px; border-bottom: 1px solid var(--line); }
.compare thead th { font-weight: 800; font-stretch: 108%; font-size: 1.05rem; border-bottom: 2px solid var(--ink); }
.compare thead th.us { background: var(--yellow); color: var(--on-yellow); border-radius: var(--r) var(--r) 0 0; }
.compare tbody th { font-weight: 700; width: 24%; color: var(--ink); }
.compare td { color: var(--muted); }
.compare td.us { color: var(--ink); font-weight: 650; background: color-mix(in srgb, var(--yellow) 14%, transparent); }
.compare td svg { display: inline-block; width: 18px; height: 18px; margin: 0 8px -3px 0; }
.compare td.us svg { color: var(--ok); }
@media (max-width: 560px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare th, .compare td { border: 0; padding: 4px 0; }
  .compare tbody th { margin-bottom: 4px; }
  .compare td.us { background: none; }
  .compare td.us::before { content: "BP Meble: "; font-weight: 800; }
  .compare td:not(.us)::before { content: "Kontener: "; font-weight: 700; }
}

/* ---------- realizacje: zdjęcia z odbiorów, powiększenie w <dialog> ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 12px); }
.gallery button { position: relative; padding: 0; border: 0; border-radius: var(--r-lg); overflow: clip; background: var(--sunken); cursor: zoom-in; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease); }
.gallery button:hover img { scale: 1.04; }
.gallery span { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 6px 10px; border-radius: 4px; background: rgb(22 21 19 / .82);
  color: #f2efe7; font-size: .85rem; font-weight: 650; text-align: left; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; } }
@media (max-width: 480px) { .gallery { grid-auto-rows: 140px; gap: 8px; } .gallery span { left: 8px; bottom: 8px; font-size: 12px; padding: 5px 8px; } }
.lightbox { max-width: min(1100px, 94vw); padding: 0; border: 0; border-radius: var(--r-lg); background: #0d0c0b; color: #f2efe7; }
.lightbox::backdrop { background: rgb(13 12 11 / .85); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; }
.lightbox p { padding: 12px 16px 16px; font-weight: 650; }
.lightbox-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: var(--r); border: 0; background: rgb(13 12 11 / .7);
  color: #f2efe7; font-size: 26px; line-height: 1; cursor: pointer; }

/* opinie: ocena po lewej, opinie z Google w rzędzie z przyciąganiem (bez skryptu); kropki tam, gdzie przeglądarka umie */
.reviews { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4rem); margin-top: clamp(3.5rem, 7vw, 5.5rem);
  align-items: start; }
.reviews-summary { display: grid; gap: 14px; justify-items: start; position: sticky; top: 104px; }
.reviews-score { display: flex; align-items: baseline; gap: 12px; }
.reviews-score b { font-weight: 900; font-stretch: 120%; font-size: clamp(4rem, 3rem + 3vw, 6rem); line-height: .85; letter-spacing: -.05em; }
.reviews-score .stars { font-size: 1.2rem; letter-spacing: .1em; }
.reviews-summary h3 { font-size: 1.35rem; }
.reviews-summary p { color: var(--text-2); }
.reviews-summary .btn { white-space: normal; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.review { margin: 0; display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.review-stars { letter-spacing: .12em; font-size: .95rem; }
.review blockquote { margin: 0; color: var(--text-2); }
.review figcaption { margin-top: auto; display: grid; gap: 2px; }
.review figcaption small { color: var(--muted); }
@media (max-width: 900px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .reviews-summary { position: static; }
  .reviews-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; scroll-marker-group: after; }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid > .review { flex: 0 0 min(84%, 420px); scroll-snap-align: start; }
  .reviews-grid::scroll-marker-group { display: flex; justify-content: center; gap: 10px; padding-top: 14px; }
  .reviews-grid > .review::scroll-marker { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
  .reviews-grid > .review::scroll-marker:target-current { background: var(--ink); }
}

/* ---------- obszar działania i baza ---------- */
.area-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); }
.area-lists h3 { font-size: 1.1rem; padding-bottom: 12px; margin-bottom: 4px; border-bottom: 2px solid var(--ink); }
.places { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.places li { padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; color: var(--text-2); }
/* na telefonie listy zwinięte do 8 pozycji, „Pokaż wszystkie” rozwija (js/main.js); bez JS widać całość */
@media (max-width: 640px) and (scripting: enabled) {
  .places--collapsible:not(.is-open) li:nth-child(n+9) { display: none; }
}
.chips-more { display: none; }
@media (max-width: 640px) and (scripting: enabled) { .chips-more { display: inline-block; } }
@media (max-width: 760px) { .area-lists { grid-template-columns: minmax(0, 1fr); } }

.base-map { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: var(--r-lg);
  overflow: clip; border: 1px solid var(--line); background: var(--surface); }
.base-map-canvas { position: relative; min-height: 300px; background: var(--sunken); }
.base-map-canvas img { width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--yellow);
  border: 3px solid #161513; box-shadow: 0 4px 10px rgb(0 0 0 / .35); }
.map-pin-label { position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 0; padding: 6px 10px; border-radius: 4px; background: #161513;
  color: #f2efe7; font-size: 13px; font-weight: 700; white-space: nowrap; }
.map-credit { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #3b3833; background: rgb(255 255 255 / .8); padding: 2px 6px; border-radius: 3px; }
.base-card { display: grid; gap: 12px; align-content: center; padding: clamp(22px, 3vw, 36px); }
.base-card h3 { font-size: 1.35rem; font-weight: 800; font-stretch: 108%; }
.base-note { color: var(--muted); }
.base-card p { color: var(--text-2); }
.base-card .actions { margin-top: 6px; }
.base-trivia { font-size: .92rem; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .base-map { grid-template-columns: minmax(0, 1fr); } .base-map-canvas { aspect-ratio: 16 / 9; min-height: 0; } }

/* ---------- częste pytania ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 52px 20px 0; font-weight: 720; font-size: 1.1rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 48px 22px 0; color: var(--text-2); }
@media (max-width: 560px) { .faq details p { padding-right: 0; } }

/* ---------- kontakt ---------- */
.split--contact { align-items: start; }
.contact-info { display: grid; gap: 18px; }
.big-phone { display: inline-block; justify-self: start; font-weight: 900; font-stretch: 116%; font-size: clamp(2.6rem, 1.2rem + 3.2vw, 4.1rem); line-height: 1; white-space: nowrap;
  letter-spacing: -.04em; text-decoration: none; color: var(--yellow) !important; font-variant-numeric: tabular-nums; margin-block: 8px; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.contact-grid { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--panel-line); }
.contact-grid > div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--panel-line); }
.contact-grid dt { color: var(--on-panel-2); }
.contact-grid dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.company { font-size: .93rem; }
@media (max-width: 480px) { .contact-grid > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } .big-phone { font-size: 12.6vw; } }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 36px); }
.dark .form-card p { color: var(--text-2); }
.dark .form-card a { color: var(--ink); }
.lead-form { display: grid; gap: 18px; }
.lead-form h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 820; font-stretch: 112%; letter-spacing: -.02em; }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.topics legend { padding: 0; margin-bottom: 10px; font-weight: 700; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topics span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--paper); font-weight: 650; font-size: .95rem; }
.topics input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.topics input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fields label { display: grid; gap: 6px; font-weight: 650; font-size: .95rem; }
.fields .full { grid-column: 1 / -1; }
.fields input, .fields textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-strong, var(--line));
  background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; }
.fields input:focus, .fields textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.fields textarea { resize: vertical; min-height: 110px; }
.dropzone { position: relative; display: grid; place-items: center; min-height: 72px; padding: 14px; border-radius: var(--r); border: 2px dashed var(--line);
  background: var(--paper); text-align: center; cursor: pointer; transition: border-color .2s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--ink); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone small { display: block; color: var(--muted); }
.thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; width: 72px; height: 72px; border-radius: var(--r); overflow: clip; background: var(--sunken); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border-radius: 4px; border: 0; background: rgb(22 21 19 / .8); color: #fff;
  font-size: 17px; line-height: 1; cursor: pointer; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent;
  animation: krec .7s linear infinite; }
.is-sending .spinner { display: inline-block; }
.is-sending .btn-label { opacity: .7; }
@keyframes krec { to { rotate: 1turn; } }
.form-status { min-height: 1.4em; font-weight: 650; font-size: .95rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--error); }
.form-legal { font-size: .85rem; color: var(--muted) !important; }
.form-success { display: grid; gap: 14px; justify-items: start; padding: 16px 0; outline: none; }
.form-success .ok { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); }
.form-success .ok svg { width: 26px; height: 26px; }
.form-success h3 { font-size: 1.8rem; font-weight: 820; font-stretch: 110%; }
@media (max-width: 480px) { .fields { grid-template-columns: minmax(0, 1fr); } }

/* ---------- stopka ---------- */
.site-footer { background: var(--panel); color: var(--on-panel); border-top: 1px solid var(--panel-line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 2rem clamp(2rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { color: var(--on-panel-2); max-width: 40ch; }
.logo--light .logo-text small { color: var(--on-panel-2); }
.site-footer h2 { font-size: 1rem; font-weight: 750; font-stretch: 104%; letter-spacing: 0; margin-bottom: 14px; color: var(--on-panel); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--on-panel-2); }
.site-footer a { color: var(--on-panel); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 28px; border-top: 1px solid var(--panel-line);
  color: var(--on-panel-2); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* pływający przycisk „Zadzwoń” (telefon; pokazuje go js/main.js, gdy pierwszy ekran i kontakt są poza widokiem) */
.float-call { position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 18px; border-radius: var(--r-lg); background: var(--yellow); color: var(--on-yellow); font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 26px -10px rgb(0 0 0 / .55); opacity: 0; translate: 0 12px; transition: opacity .25s var(--ease), translate .25s var(--ease); }
.float-call svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .float-call { display: inline-flex; pointer-events: none; } .float-call.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; } }

/* ---------- ruch przy przewijaniu: tylko gdzie przeglądarka umie i bez ograniczonego ruchu; raz, bez pętli ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* nagłówki sekcji wjeżdżają raz przy wejściu na ekran (translate, nie transform) */
    .reveal { animation: wjazd linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes wjazd { from { opacity: 0; translate: 0 28px; } }
    /* zdjęcie w scenie „0 zł” podjeżdża w górę jak meble na windzie auta, gdy zaczynasz przewijać; litery stoją w miejscu.
       Oś przewijania strony (scena jest na górze), bo oś widoku na komputerze startowałaby od połowy */
    .stage-photo { animation: winda linear both; animation-timeline: scroll(root); animation-range: 0px 560px; }
    @keyframes winda { from { translate: 0 12cqi; } }
    /* naklejki przyklejają się raz, gdy kafel wchodzi na ekran */
    .price .sticker { animation: naklejka linear both; animation-timeline: view(); animation-range: entry 20% entry 80%; }
    @keyframes naklejka { from { opacity: 0; scale: 1.25; rotate: -24deg; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ==========================================================================
   Podstrony (tools/build_pages.py): usługi, poradnik, opinia, statystyki, polityka, 404
   ========================================================================== */
.breadcrumbs { padding-top: 18px; font-size: .92rem; color: var(--muted); }
.breadcrumbs a { color: var(--muted); }
.page-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: center;
  padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.page-hero-text { display: grid; gap: 20px; justify-items: start; }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem); }
.page-hero .lead { max-width: 46ch; }
.page-hero-img { margin: 0; position: relative; }
.page-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); border: 5px solid var(--surface); box-shadow: var(--shadow-object); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.page-chips li { position: relative; padding-left: 20px; color: var(--text-2); font-weight: 600; font-size: .97rem; }
.page-chips li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 4px; background: var(--yellow); border-radius: 1px; }
@media (max-width: 900px) { .page-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .page-hero .actions .btn { flex: 1 1 100%; } }

.index-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 2.5rem); }
.index-list li { display: grid; gap: 4px; padding: 18px 0 20px; border-top: 1px solid var(--line); }
.index-list h3 { font-size: 1.12rem; }
.index-list p { color: var(--text-2); font-size: .97rem; }
@media (max-width: 560px) { .index-list { grid-template-columns: minmax(0, 1fr); } }

.sand { background: var(--sunken); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.card { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); }
.card p { color: var(--text-2); }
.card-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 820; font-stretch: 112%; letter-spacing: -.02em; }
.card--dark { background: var(--panel); color: var(--on-panel); }
.card--dark p, .card--dark span { color: var(--on-panel-2); }
.card--dark .btn { justify-self: start; }
.mini-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: krok; }
.mini-steps li { counter-increment: krok; display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; }
.mini-steps li::before { content: counter(krok); grid-row: span 2; font-weight: 850; font-stretch: 115%; font-size: 1.8rem; line-height: 1; color: var(--yellow); }
.mini-steps b { color: var(--on-panel); }
@media (max-width: 860px) { .duo { grid-template-columns: minmax(0, 1fr); } }

.cta-band { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
.cta-band > div:first-child { display: grid; gap: 14px; }
.cta-band .actions { justify-content: flex-end; }
@media (max-width: 900px) { .cta-band { grid-template-columns: minmax(0, 1fr); } .cta-band .actions { justify-content: flex-start; } }
@media (max-width: 480px) { .cta-band .actions .btn { flex: 1 1 100%; } }

.related-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.related-card { display: flex; align-items: center; min-height: 64px; padding: 16px 20px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--surface); font-weight: 700; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px;
  transition: border-color .2s var(--ease), text-decoration-color .2s var(--ease); }
.related-card:hover { border-color: var(--ink); text-decoration-color: currentColor; }
.related-card--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--on-yellow); }
@media (max-width: 900px) { .related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .related { grid-template-columns: minmax(0, 1fr); } }

/* strony pomocnicze: opinia, statystyki, 404, polityka */
.page { padding-block: clamp(2.5rem, 6vw, 5rem); }
.center-page { display: grid; place-items: center; min-height: 60vh; text-align: center; }
.thanks { display: grid; gap: 18px; justify-items: center; max-width: 640px; }
.thanks-stars { font-size: 2rem; letter-spacing: .14em; color: var(--ink); }
.thanks-note { color: var(--muted); font-size: .95rem; }
/* 404: duża liczba w stylu cen ze strony głównej */
.not-found { display: grid; gap: 18px; justify-items: center; max-width: 640px; }
.not-found-code { font-weight: 900; font-stretch: 125%; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: .8; letter-spacing: -.06em; }
.not-found .actions { justify-content: center; }
.stats-title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.stats-login { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-block: 24px; }
.stats-login label { display: grid; gap: 6px; font-weight: 650; }
.stats-login input { min-height: 48px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.stats-out { display: grid; gap: 20px; }
.stats-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.stats-tiles > * { padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }
.stats-table, .article-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.stats-table th, .stats-table td, .article-table th, .article-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.stats-table th, .article-table thead th { font-weight: 750; }
.article-table tr.is-us td, .article-table tr.is-us th { background: color-mix(in srgb, var(--yellow) 16%, transparent); }

/* poradnik i polityka prywatności: tekst w kolumnie do ok. 68 znaków */
.article { padding-block: clamp(1.5rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem); }
.article-head { display: grid; gap: 16px; max-width: 860px; padding-block: 12px clamp(2rem, 4vw, 3rem); }
.article-head h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.8rem); }
.article-meta { color: var(--muted); font-size: .95rem; }
.article-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--text-2); }
.article-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 5rem); align-items: start; }
.article-toc { position: sticky; top: 104px; display: grid; gap: 8px; font-size: .95rem; }
.article-toc a:not(.btn) { color: var(--text-2); }
.article-toc ol { margin: 0 0 18px; padding-left: 1.2rem; display: grid; gap: 6px; }
.toc-title { font-size: 1rem; font-weight: 750; font-stretch: 104%; letter-spacing: 0; }
.article-body, .prose { display: grid; gap: 18px; max-width: 68ch; }
.article-body h2, .prose h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); margin-top: 18px; }
.article-body h3, .prose h3 { margin-top: 8px; }
.article-body p, .article-body li, .prose p, .prose li { color: var(--text-2); }
.article-body ul, .article-body ol, .prose ul, .prose ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 6px; }
.article-cta { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--panel); color: var(--on-panel); }
.article-cta p { color: var(--on-panel-2); }
.article-cta .btn { justify-self: start; }
.article-sources { font-size: .9rem; color: var(--muted); }
.article-sources a { color: var(--muted); }
@media (max-width: 900px) { .article-grid { grid-template-columns: minmax(0, 1fr); } .article-toc { position: static; } }
@media (max-width: 560px) { .article-cta .btn { width: 100%; } }
