/* ============================================================================
 * firma-pro.css — strony PRO firm (otoauta: salon | magazyn | gielda;
 *                                    osiedlo: rezydencje | mapa | inwestycje)
 * Utworzony 2026-09-29 wg KONTRAKT.md §5 i zatwierdzonych makiet (scratchpad/makiety).
 *
 * ZASADY
 *  • Wszystko w przestrzeni `.fp` / `fp-*` — strona siedzi między nagłówkiem i stopką
 *    portalu (Bootstrap + otoauta.css), więc nie wolno nam dotknąć niczego poza #firmaPro.
 *  • Szablon = zestaw ZMIENNYCH (kolory, kroje, promienie) + reguły układu. Tryb
 *    jasny/ciemny tylko podmienia zmienne, dlatego każdy szablon ma obie wersje za darmo.
 *  • Akcent firmy przychodzi jako --fp-akcent; JS liczy z niego --fp-akcent-tekst
 *    (kontrast ≥ 4.5:1 do tła) i --fp-na-akcencie (kolor napisu na przycisku).
 *  • Para krojów: domyślnie z makiety szablonu („nowoczesne"); klasyczne/techniczne/
 *    eleganckie nadpisują ją (klasa fp-cz--*).
 * ========================================================================== */
/* 2026-09-29 (test na produkcji): arkusz portalu ustawia h1–h5 kolor var(--ink) i własny krój —
   w ciemnych szablonach nagłówki sekcji wychodziły granatowe na czarnym (niewidoczne). Nagłówki
   strony PRO dziedziczą kolor po sekcji i biorą krój szablonu; reguły niżej (bardziej szczegółowe) wygrywają. */
.fp h1, .fp h2, .fp h3, .fp h4, .fp h5 { color: inherit; font-family: var(--fp-fh); letter-spacing: normal; }


/* ---------- 1. ZMIENNE BAZOWE ---------- */
.fp {
  --fp-akcent: #f5631e;
  --fp-akcent-tekst: #b8440f;
  --fp-akcent-pas: #f5631e;
  --fp-na-akcencie: #140c06;
  --fp-bg: #ffffff; --fp-bg2: #f5f6f8; --fp-surface: #ffffff; --fp-surface2: #f5f6f8;
  --fp-ink: #141a26; --fp-muted: #4e5869; --fp-line: #dde1e8;
  --fp-pas: #0a1730; --fp-pas-ink: #f6f2ea; --fp-pas-muted: #b9c2d3; --fp-pas-line: #2a3a57;
  --fp-ciemny: #15171c; --fp-ciemny-ink: #ffffff;
  --fp-fh: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fp-fb: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fp-fm: var(--fp-fb);
  --fp-r: 12px; --fp-r-s: 8px;
  --fp-h-transform: none; --fp-h-waga: 700; --fp-h-lsp: -0.01em;
  --fp-shadow: 0 1px 2px rgba(10, 16, 30, .06), 0 8px 24px -12px rgba(10, 16, 30, .18);
  --fp-gutter: clamp(16px, 3.4vw, 32px);
  --fp-sekcja: clamp(56px, 7vw, 96px);
  background: var(--fp-bg); color: var(--fp-ink);
  font-family: var(--fp-fb); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  display: block; overflow-x: clip; position: relative;
}
.fp *, .fp *::before, .fp *::after { box-sizing: border-box; }
/* Resety w :where() — zerowa specyficzność, żeby NIE przebijały klas komponentów
   (np. margin-top na .fp-more czy .fp-feat__specs), a jednocześnie zbijały style Bootstrapa. */
:where(.fp) img { max-width: 100%; display: block; }
:where(.fp) a { color: inherit; text-decoration: none; }
:where(.fp) :where(p, h1, h2, h3, h4, figure, blockquote) { margin: 0; }
:where(.fp) :where(h1, h2, h3, h4) { color: inherit; }
:where(.fp) button { font: inherit; color: inherit; }
:where(.fp) :where(ul, ol) { margin: 0; padding: 0; }
:where(.fp) :where(dl, dd) { margin: 0; }
.fp [hidden] { display: none !important; }
.fp-img--brak { visibility: hidden; }

/* Fokus zawsze widoczny i w akcencie — z obwódką tła, by był czytelny i na zdjęciu. */
.fp :focus { outline: none; }
.fp :focus-visible { outline: 3px solid var(--fp-akcent-tekst); outline-offset: 2px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--fp-bg) 80%, transparent); border-radius: 2px; }
.fp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
html.fp-bez-przewijania { overflow: hidden; }

.fp-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--fp-gutter); }
.fp-wrap--waska { max-width: 920px; }
.fp-s { padding-block: var(--fp-sekcja); scroll-margin-top: 72px; }
.fp-s + .fp-s { padding-top: 0; }
/* Po hero i po sekcjach „pasowych" (własne tło) kolejna sekcja potrzebuje oddechu od góry —
   inaczej treść dotyka krawędzi pasa. */
.fp-s--hero + .fp-s:not(.fp-s--wyrozniona),
.fp--salon :is(.fp-s--kupteraz, .fp-s--finansowanie) + .fp-s,
.fp--rezydencje :is(.fp-s--wyrozniona, .fp-s--zespol) + .fp-s,
.fp--magazyn .fp-s--kontakt + .fp-s,
.fp--mapa .fp-s--pelna + .fp-s { padding-top: var(--fp-sekcja); }
.fp-s--hero, .fp-s--wyrozniona { padding-block: 0; }

/* ---------- 2. TYPOGRAFIA ---------- */
.fp-h2 { font-family: var(--fp-fh); font-weight: var(--fp-h-waga); text-transform: var(--fp-h-transform); letter-spacing: var(--fp-h-lsp);
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.4rem); line-height: 1.02; }
.fp-kicker { font-family: var(--fp-fb); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fp-akcent-tekst); margin-bottom: 12px; }
.fp-mut { color: var(--fp-muted); font-size: .9rem; }
.fp-link { display: inline-flex; align-items: center; gap: 6px; color: var(--fp-akcent-tekst); font-weight: 700; font-size: .9rem; background: none; border: 0; padding: 0; cursor: pointer; }
.fp-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.fp-md p + p, .fp-md p + ul, .fp-md ul + p, .fp-md .fp-md__h + p { margin-top: .9em; }
.fp-md .fp-md__h { font-family: var(--fp-fh); font-size: 1.2rem; margin: 1.2em 0 .4em; }
.fp-md__ul { padding-left: 1.2em !important; margin-top: .6em !important; }
.fp-md__ul li + li { margin-top: .3em; }
.fp-md { color: var(--fp-muted); }
.fp-md strong { color: var(--fp-ink); }

.fp-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.fp-sh__l { min-width: 0; max-width: 820px; }
.fp-sh__r { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fp-sh__opis { max-width: 460px; color: var(--fp-muted); }

/* ---------- 3. PRZYCISKI I POLA ---------- */
.fp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px;
  border-radius: var(--fp-r-s); border: 1.5px solid transparent; font-family: var(--fp-fb); font-weight: 700; font-size: .95rem;
  cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.fp-btn .bi { font-size: 1.05em; }
.fp-btn--akcent { background: var(--fp-akcent); color: var(--fp-na-akcencie); }
.fp-btn--akcent:hover { filter: brightness(1.06); }
.fp-btn--ciemny { background: var(--fp-ciemny); color: var(--fp-ciemny-ink); }
.fp-btn--ciemny:hover { filter: brightness(1.25); }
.fp-btn--obrys { background: transparent; border-color: currentColor; color: var(--fp-ink); }
.fp-btn--obrys:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.fp-btn--duch { background: var(--fp-surface); border-color: var(--fp-line); color: var(--fp-ink); }
.fp-btn--duch:hover { border-color: var(--fp-muted); }
.fp-btn--tekst { background: none; border: 0; padding: 0 6px; color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.fp-btn--blok { width: 100%; }
.fp-btn--mini { min-height: 34px; padding: 0 12px; font-size: .82rem; font-weight: 600; border-color: var(--fp-ink); color: var(--fp-ink); background: transparent; border-radius: 2px; }
.fp-btn[disabled] { opacity: .5; cursor: not-allowed; }

.fp-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fp-f > span { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-muted); }
.fp-f small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.fp :where(input:not([type=checkbox]):not([type=radio]), select, textarea) {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--fp-line); border-radius: var(--fp-r-s);
  background: var(--fp-surface); color: var(--fp-ink); font: inherit; font-size: .95rem; }
.fp :where(textarea) { min-height: 120px; resize: vertical; }
.fp input::placeholder, .fp textarea::placeholder { color: var(--fp-muted); opacity: .85; }
.fp input:focus-visible, .fp select:focus-visible, .fp textarea:focus-visible { border-color: var(--fp-akcent-tekst); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fp-akcent) 25%, transparent); outline: none; }
.fp input[aria-invalid=true], .fp textarea[aria-invalid=true] { border-color: #c62828; }
.fp input[type=checkbox], .fp input[type=radio] { width: 18px; height: 18px; accent-color: var(--fp-ink); flex: none; }
.fp-err { font-style: normal; font-size: .8rem; color: #c62828; min-height: 0; }
.fp-tryb--ciemny .fp-err { color: #ff8a80; }
.fp-sort { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--fp-muted); }
.fp-sort select { width: auto; min-height: 42px; padding-right: 32px; }
.fp-szukaj { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
.fp-szukaj > .bi { position: absolute; left: 14px; color: var(--fp-muted); pointer-events: none; }
.fp-szukaj input { padding-left: 40px !important; }

.fp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--fp-line);
  background: transparent; color: var(--fp-ink); font-weight: 600; font-size: .88rem; cursor: pointer; }
.fp-chip span { color: var(--fp-muted); font-weight: 500; }
.fp-chip:hover { border-color: var(--fp-muted); }
.fp-chip[aria-pressed=true] { background: var(--fp-ink); border-color: var(--fp-ink); color: var(--fp-bg); }
.fp-chip[aria-pressed=true] span { color: inherit; opacity: .75; }
.fp-seg { display: inline-flex; background: var(--fp-bg2); border-radius: var(--fp-r-s); padding: 4px; gap: 2px; }
.fp-seg button { border: 0; background: transparent; min-height: 38px; padding: 0 14px; border-radius: calc(var(--fp-r-s) - 2px); font-weight: 600; cursor: pointer; color: var(--fp-ink); }
.fp-seg button[aria-pressed=true] { background: var(--fp-ciemny); color: var(--fp-ciemny-ink); }
.fp-badge { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 3px;
  background: rgba(12, 13, 15, .82); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fp-badge--kup, .fp-badge--lic { background: var(--fp-akcent); color: var(--fp-na-akcencie); }

.fp-empty { text-align: center; padding: 40px 16px; border: 1.5px dashed var(--fp-line); border-radius: var(--fp-r); color: var(--fp-muted); display: grid; gap: 14px; justify-items: center; }
.fp-more { display: flex; justify-content: center; margin-top: 32px; }
.fp-zrodlo { margin-top: 12px; font-size: .78rem; color: var(--fp-muted); }
.fp-rule { height: 3px; background: var(--fp-ink); margin-bottom: 18px; }

/* ---------- 4. SZKIELET ŁADOWANIA ---------- */
.fp-szkielet { padding-block: 24px 80px; }
.fp-szkielet__bar, .fp-szkielet__hero, .fp-szkielet__card { background: linear-gradient(90deg, var(--fp-bg2) 0%, color-mix(in srgb, var(--fp-bg2) 60%, var(--fp-line)) 50%, var(--fp-bg2) 100%);
  background-size: 200% 100%; animation: fpSzk 1.4s ease-in-out infinite; border-radius: var(--fp-r-s); }
.fp-szkielet__bar { height: 64px; margin-bottom: 24px; }
.fp-szkielet__hero { height: clamp(220px, 40vw, 440px); margin-bottom: 28px; }
.fp-szkielet__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.fp-szkielet__card { height: 300px; }
@keyframes fpSzk { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.fp-brak__box { max-width: 560px; margin: 0 auto; text-align: center; display: grid; gap: 14px; justify-items: center; padding: 40px 0; }
.fp-brak__box > .bi { font-size: 2.6rem; color: var(--fp-muted); }

/* ---------- 5. PASEK FIRMY (wspólny) ---------- */
.fp-util { border-bottom: 1px solid var(--fp-line); font-size: .8rem; color: var(--fp-muted); }
.fp-util__in { display: flex; align-items: center; gap: 16px; min-height: 40px; }
.fp-crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; }
.fp-crumbs a:hover { color: var(--fp-ink); text-decoration: underline; }
.fp-crumbs [aria-current] { color: var(--fp-ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.fp-util__mid { flex: 1; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-util__r { display: flex; gap: 18px; margin-left: auto; }
.fp-util__btn { background: none; border: 0; padding: 6px 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; color: var(--fp-muted); font-size: .8rem; }
.fp-util__btn:hover { color: var(--fp-ink); }
.fp-top { background: var(--fp-bg); position: relative; z-index: 5; }
.fp-top__in { display: flex; align-items: center; gap: 20px 28px; min-height: 96px; padding-block: 14px; }
.fp-top__id { display: flex; align-items: center; gap: 18px; min-width: 0; flex: 0 1 auto; }
.fp-logo { flex: none; width: 128px; height: 64px; border-radius: 6px; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06); }
.fp-logo img { width: 100%; height: 100%; object-fit: contain; }
.fp-logo--ini { background: var(--fp-akcent); color: var(--fp-na-akcencie); font-family: var(--fp-fh); font-weight: 700; font-size: 1.5rem; width: 64px; }
.fp-top__txt { min-width: 0; }
.fp-top__name { font-family: var(--fp-fh); font-weight: var(--fp-h-waga); text-transform: var(--fp-h-transform); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); line-height: 1.05; letter-spacing: var(--fp-h-lsp); }
.fp-top__sub { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; color: var(--fp-muted); font-size: .86rem; }
.fp-top__sub span { display: inline-flex; gap: 6px; align-items: center; }
.fp-nav { display: flex; align-items: center; gap: 4px 22px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.fp-nav a { font-size: .95rem; font-weight: 500; padding: 8px 0; color: var(--fp-ink); opacity: .86; border-bottom: 2px solid transparent; white-space: nowrap; }
.fp-nav a:hover, .fp-nav a[aria-current] { opacity: 1; border-bottom-color: var(--fp-akcent); }
.fp-nav__n { font-size: .78em; color: var(--fp-muted); }
.fp-top__cta { flex: none; }

/* ---------- 6. KARTY OFERT ---------- */
.fp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fp-card { position: relative; background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r-s); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.fp-card:hover { border-color: var(--fp-muted); }
.fp-card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--fp-bg2); overflow: hidden; }
.fp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fp-card:hover .fp-card__media img { transform: scale(1.03); }
.fp-card__cnt { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(12, 13, 15, .78); color: #fff; font-size: .74rem; padding: 3px 8px; border-radius: 4px; display: inline-flex; gap: 5px; }
.fp-card__body { padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.fp-card__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.fp-card__t { font-family: var(--fp-fb); font-size: 1.05rem; font-weight: 600; line-height: 1.3; min-width: 0; }
.fp-card__t a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* cała karta klikalna, jeden link w tabulacji */
.fp-card__t a:focus-visible::after { outline: 3px solid var(--fp-akcent-tekst); outline-offset: -3px; }
.fp-card__t a:focus-visible { outline: none; box-shadow: none; }
.fp-card__price { font-family: var(--fp-fh); font-weight: 700; font-size: 1.45rem; line-height: 1.05; white-space: nowrap; text-align: right; }
.fp-card__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.fp-card__chips li { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--fp-muted); border: 1px solid var(--fp-line); border-radius: 999px; padding: 4px 10px; }
.fp-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--fp-line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .86rem; color: var(--fp-muted); }
.fp-card__foot .fp-link { font-size: .85rem; }
.fp-card__meta { font-size: .85rem; color: var(--fp-muted); }

.fp-hcard { position: relative; display: grid; grid-template-columns: 210px 1fr; background: var(--fp-surface); border: 1.5px solid var(--fp-line); border-radius: var(--fp-r); overflow: hidden; min-height: 158px; transition: border-color .15s, box-shadow .15s; }
.fp-hcard:hover, .fp-hcard.is-on { border-color: var(--fp-ink); }
.fp-hcard__media { display: block; background: var(--fp-bg2); }
.fp-hcard__media img { width: 100%; height: 100%; object-fit: cover; }
.fp-hcard__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fp-hcard__k { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-akcent-tekst); }
.fp-hcard__t { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.fp-hcard__t a::after { content: ""; position: absolute; inset: 0; }
.fp-hcard__spec, .fp-hcard__loc { font-size: .86rem; color: var(--fp-muted); display: flex; gap: 6px; align-items: center; }
.fp-hcard__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .8rem; color: var(--fp-muted); }
.fp-hcard__price { font-family: var(--fp-fh); font-size: 1.35rem; color: var(--fp-ink); }

/* ---------- 7. WYRÓŻNIONA (baza) ---------- */
.fp-feat { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: var(--fp-sekcja); }
.fp-feat__media { order: 2; min-width: 0; }
.fp-feat__main { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--fp-r-s); background: var(--fp-bg2); }
.fp-feat__main img { width: 100%; height: 100%; object-fit: cover; }
.fp-feat__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.fp-feat__th { aspect-ratio: 16 / 10; border: 1.5px solid var(--fp-line); border-radius: var(--fp-r-s); overflow: hidden; background: var(--fp-surface); padding: 0; cursor: pointer; display: grid; place-items: center; gap: 4px; font-size: .82rem; color: var(--fp-muted); text-align: center; }
.fp-feat__th img { width: 100%; height: 100%; object-fit: cover; }
.fp-feat__th.is-on { border-color: var(--fp-akcent); }
.fp-feat__th--more { padding: 8px; display: flex; flex-direction: column; justify-content: center; aspect-ratio: auto; }
.fp-feat__th:hover { border-color: var(--fp-muted); }
.fp-feat__body { min-width: 0; }
.fp-feat__t { font-family: var(--fp-fh); font-weight: var(--fp-h-waga); text-transform: var(--fp-h-transform); font-size: clamp(2.2rem, 1.2rem + 4vw, 5.4rem); line-height: .95; letter-spacing: var(--fp-h-lsp); overflow-wrap: anywhere; }
.fp-feat__lead { margin-top: 18px; color: var(--fp-muted); font-size: 1.05rem; }
.fp-feat__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--fp-line); }
.fp-feat__specs > div { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--fp-line); min-width: 0; }
/* Salon: cztery liczby w jednym rzędzie z pionowymi kreskami — jak w makiecie. */
.fp--salon .fp-feat__specs { display: flex; flex-wrap: wrap; border-top: 0; }
.fp--salon .fp-feat__specs > div { padding: 0 26px; border-bottom: 0; border-left: 1px solid var(--fp-line); }
.fp--salon .fp-feat__specs > div:first-child { padding-left: 0; border-left: 0; }
.fp-feat__specs dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); }
.fp-feat__specs dd { font-family: var(--fp-fh); font-size: 1.45rem; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.fp--salon .fp-feat__specs dd { font-size: 1.9rem; }
.fp-feat__buy { margin-top: 30px; }
.fp-feat__price span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); }
.fp-feat__price strong { font-family: var(--fp-fh); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.6rem); line-height: 1.05; font-weight: 700; }
.fp-feat__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fp-feat__cap { margin-top: 10px; font-size: .78rem; color: var(--fp-muted); }
.fp-kontur { color: transparent; -webkit-text-stroke: 1.5px var(--fp-ink); }
@supports not (-webkit-text-stroke: 1px black) { .fp-kontur { color: inherit; } }

/* ---------- 8. SEKCJE WSPÓLNE ---------- */
/* O nas */
.fp-onas { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.fp-onas__lead { font-size: 1.12rem; margin: 20px 0 14px; color: var(--fp-muted); }
.fp-onas__l .fp-md { font-size: 1rem; }
.fp-onas__img { margin-top: 26px; border-radius: var(--fp-r-s); overflow: hidden; aspect-ratio: 16 / 7; }
.fp-onas__img img { width: 100%; height: 100%; object-fit: cover; }
.fp-rzym { list-style: none; counter-reset: rz; border-top: 1px solid var(--fp-line); }
.fp-rzym li { counter-increment: rz; display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--fp-line); font-size: 1.05rem; }
.fp-rzym li::before { content: counter(rz, upper-roman); font-family: var(--fp-fh); font-style: italic; color: var(--fp-akcent-tekst); font-size: 1.15rem; }
.fp-checks { list-style: none; display: grid; gap: 14px; }
.fp-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 6px; }
.fp-checks .bi { color: var(--fp-akcent-tekst); font-size: 1.2rem; }

/* Liczby */
.fp-liczby { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--fp-line); border-radius: var(--fp-r-s); overflow: hidden; }
.fp-liczby > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 24px; border-right: 1px solid var(--fp-line); }
.fp-liczby > div:last-child { border-right: 0; }
.fp-liczby dd { font-family: var(--fp-fh); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1; }
.fp-liczby dt { color: var(--fp-muted); font-size: .88rem; }

/* Zespół */
.fp-team { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.fp-team__o { border: 1px solid var(--fp-line); border-radius: var(--fp-r-s); padding: 22px; display: grid; gap: 14px; align-content: start; background: var(--fp-surface); }
.fp-team__img, .fp-team__ini { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.fp-team__ini { display: grid; place-items: center; background: var(--fp-bg2); border: 1px solid var(--fp-line); font-family: var(--fp-fh); font-size: 1.5rem; }
.fp-team__txt h3 { font-size: 1.08rem; font-weight: 600; }
.fp-team__txt p { color: var(--fp-muted); font-size: .88rem; margin-top: 2px; }
.fp-team__tel { display: inline-flex; gap: 8px; align-items: center; margin-top: 10px; color: var(--fp-akcent-tekst); font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.fp-team__tel + .fp-team__tel { margin-top: 4px; }
.fp-team__txt { display: flex; flex-direction: column; align-items: flex-start; }

/* Galeria */
.fp-gal { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.fp-gal figure { margin: 0; }
.fp-gal__btn { display: block; width: 100%; padding: 0; border: 0; background: var(--fp-bg2); aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; border-radius: var(--fp-r-s); }
.fp-gal__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fp-gal__btn:hover img { transform: scale(1.04); }
.fp-gal figcaption { margin-top: 8px; font-size: .8rem; color: var(--fp-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-gal li:first-child { grid-column: span 2; grid-row: span 2; }
.fp-gal li:first-child .fp-gal__btn { aspect-ratio: auto; height: calc(100% - 28px); min-height: 240px; }

/* Aktualności */
.fp-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fp-news__i { position: relative; display: flex; flex-direction: column; border-top: 2px solid var(--fp-ink); padding-top: 16px; }
.fp-news__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--fp-r-s); margin-bottom: 16px; background: var(--fp-bg2); }
.fp-news__media img { width: 100%; height: 100%; object-fit: cover; }
.fp-news time { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fp-muted); }
.fp-news h3 { font-family: var(--fp-fh); font-size: 1.3rem; line-height: 1.2; margin-top: 6px; }
.fp-news h3 a::after { content: ""; position: absolute; inset: 0; }
.fp-news h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fp-news p { margin-top: 8px; color: var(--fp-muted); font-size: .92rem; }

/* Dokumenty */
.fp-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.fp-docs__g h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); padding-bottom: 10px; border-bottom: 2px solid var(--fp-ink); }
.fp-docs__g ul { list-style: none; }
.fp-docs__g li { position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--fp-line); }
.fp-docs__ic { font-size: 1.5rem; color: var(--fp-akcent-tekst); line-height: 1; }
.fp-docs__t a { font-weight: 600; }
.fp-docs__t a::after { content: ""; position: absolute; inset: 0; }
.fp-docs__t a:hover { text-decoration: underline; }
.fp-docs__t p { color: var(--fp-muted); font-size: .86rem; margin-top: 2px; }
.fp-docs__meta { font-size: .78rem; color: var(--fp-muted); white-space: nowrap; font-family: var(--fp-fm); }

/* Wideo (lekkie osadzenie) */
.fp-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--fp-r-s); overflow: hidden; background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--fp-akcent) 55%, #111) 0%, #0c0d0f 70%); color: #fff; }
.fp-video__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.fp-video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: none; border: 0; cursor: pointer; color: #fff; font-weight: 600; font-size: 1rem; }
.fp-video__ic { width: 84px; height: 84px; border-radius: 50%; background: var(--fp-akcent); color: var(--fp-na-akcencie); display: grid; place-items: center; font-size: 2.4rem; transition: transform .2s; }
.fp-video__play:hover .fp-video__ic { transform: scale(1.06); }
.fp-video__note { position: absolute; left: 16px; bottom: 12px; font-size: .74rem; opacity: .85; }
.fp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.fp-faq { border-top: 1px solid var(--fp-line); }
.fp-faq__i { border-bottom: 1px solid var(--fp-line); }
.fp-faq__i summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.05rem; }
.fp-faq__i summary::-webkit-details-marker { display: none; }
.fp-faq__i summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--fp-akcent-tekst); transition: transform .2s; }
.fp-faq__i[open] summary::after { transform: rotate(45deg); }
.fp-faq__o { padding: 0 0 20px; max-width: 760px; }

/* Bloki własne */
.fp-blok-tz { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.fp-blok-tz--prawo .fp-blok-tz__img { order: 2; }
.fp-blok-tz__img { border-radius: var(--fp-r-s); overflow: hidden; aspect-ratio: 4 / 3; background: var(--fp-bg2); }
.fp-blok-tz__img img { width: 100%; height: 100%; object-fit: cover; }
.fp-blok-tz__txt .fp-md, .fp-blok-tekst .fp-md { margin-top: 18px; font-size: 1.02rem; }
.fp-blok-tekst .fp-h2 { margin-bottom: 4px; }
.fp-s--blok .fp-h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); }
.fp-s--blok .fp-liczby, .fp-s--blok .fp-faq, .fp-s--blok .fp-video { margin-top: 24px; }
.fp-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--fp-r); background: var(--fp-pas); color: var(--fp-pas-ink); }
.fp-cta p { margin-top: 10px; color: var(--fp-pas-muted); max-width: 640px; }

/* Opinie (moduł wspólny portalu ma własne style — dajemy tylko ramę) */
.fp-opinie { background: var(--fp-surface); color: #141a26; border: 1px solid var(--fp-line); border-radius: var(--fp-r); padding: 20px; }

/* Kontakt */
.fp-kontakt { display: grid; grid-template-columns: 1.15fr .9fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.fp-kontakt--bez-mapy { grid-template-columns: 1.2fr 1fr; }
.fp-form { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.fp-form__t { font-family: var(--fp-fh); font-weight: var(--fp-h-waga); text-transform: var(--fp-h-transform); font-size: 1.6rem; line-height: 1.1; }
.fp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fp-form__rodo { font-size: .76rem; color: var(--fp-muted); }
.fp-form__status { font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.fp-form__status.is-ok { color: #1d6b3a; }
.fp-form__status.is-err { color: #c62828; }
.fp-tryb--ciemny .fp-form__status.is-ok { color: #7ee2a0; }
.fp-tryb--ciemny .fp-form__status.is-err { color: #ff8a80; }
.fp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fp-kontakt__info { display: grid; gap: 12px; align-content: start; }
.fp-kontakt__adr { font-family: var(--fp-fh); font-size: 1.3rem; line-height: 1.25; }
.fp-kontakt__tel { display: inline-flex; gap: 10px; align-items: center; font-family: var(--fp-fh); font-size: 1.6rem; font-weight: 600; color: var(--fp-ink); }
.fp-kontakt__tel .bi { color: var(--fp-akcent-tekst); font-size: 1.2rem; }
.fp-kontakt__l { list-style: none; display: grid; gap: 8px; }
.fp-kontakt__l a { display: inline-flex; gap: 10px; align-items: center; color: var(--fp-muted); overflow-wrap: anywhere; }
.fp-kontakt__l a:hover { color: var(--fp-ink); text-decoration: underline; }
.fp-kontakt__h { display: flex; gap: 8px; align-items: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); margin-top: 12px; }
.is-otw { color: #1d8a47; } .is-zam { color: var(--fp-muted); }
.fp-tryb--ciemny .is-otw { color: #6fdc98; }
.fp-hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.fp-hours th, .fp-hours td { padding: 9px 0; border-bottom: 1px solid var(--fp-line); text-align: left; font-weight: 400; color: var(--fp-muted); }
.fp-hours td { text-align: right; color: var(--fp-ink); font-weight: 600; font-family: var(--fp-fm); }
.fp-hours td.is-zamkn { font-weight: 400; color: var(--fp-muted); }
.fp-hours tr.is-dzis th, .fp-hours tr.is-dzis td { color: var(--fp-akcent-tekst); }
.fp-social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.fp-social a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: .88rem; }
.fp-social a:hover { color: var(--fp-akcent-tekst); }
.fp-kontakt__map { position: relative; align-self: stretch; display: flex; min-height: 380px; }
.fp-kontakt__map .fp-map { flex: 1; min-height: 0; }
.fp-map { width: 100%; height: 100%; min-height: 380px; border-radius: var(--fp-r); overflow: hidden; background: var(--fp-bg2); border: 1px solid var(--fp-line); z-index: 0; }
.fp-map__trasa { position: absolute; right: 12px; bottom: 12px; z-index: 500; background: var(--fp-surface); color: var(--fp-akcent-tekst); font-weight: 700; font-size: .85rem; padding: 9px 14px; border-radius: var(--fp-r-s); box-shadow: var(--fp-shadow); display: inline-flex; gap: 6px; }
.fp .leaflet-container { font-family: var(--fp-fb); }
.fp-pin-biuro span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--fp-akcent); color: var(--fp-na-akcencie); font-size: 1.05rem; box-shadow: 0 0 0 6px color-mix(in srgb, var(--fp-akcent) 25%, transparent), 0 6px 16px rgba(0, 0, 0, .3); }
.fp-pin span { display: inline-block; transform: translate(-50%, -100%); margin-top: -6px; white-space: nowrap; background: #0a1730; color: #fff; font: 700 12.5px/1 var(--fp-fb); padding: 7px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .28); position: relative; }
.fp-pin span::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #0a1730; }
.fp-pin.is-on span, .fp-pin:hover span { background: var(--fp-akcent); color: var(--fp-na-akcencie); }
.fp-pin.is-on span::after, .fp-pin:hover span::after { border-top-color: var(--fp-akcent); }
.fp-pin.is-on { z-index: 1000 !important; }
.fp-pop { display: grid; gap: 8px; color: #141a26 !important; text-decoration: none; }
.fp-pop img { width: 100%; height: 120px; object-fit: cover; border-radius: 6px; }
.fp-pop b { display: block; font-size: .9rem; line-height: 1.3; }
.fp-pop em { font-style: normal; font-weight: 700; font-size: 1.05rem; }

/* Pasek szybkiego kontaktu (telefon) */
.fp-dock { display: none; }

/* Stopka strony firmy */
.fp-stopka { border-top: 1px solid var(--fp-line); font-size: .8rem; color: var(--fp-muted); }
.fp-stopka .fp-wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 22px; }

/* Okno (lightbox / porównanie) */
.fp-modal { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 8, 12, .86); display: grid; place-items: center; padding: 16px; animation: fpIn .18s ease-out; }
.fp-modal__box { background: var(--fp-bg); color: var(--fp-ink); border-radius: var(--fp-r); width: min(1100px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; overflow: hidden; }
.fp-modal__hd { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--fp-line); }
.fp-modal__hd h2 { font-size: 1.05rem; font-family: var(--fp-fb); }
.fp-modal__x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--fp-line); background: var(--fp-surface); cursor: pointer; display: grid; place-items: center; }
.fp-modal__bd { overflow: auto; padding: 18px; position: relative; }
.fp-modal--lb .fp-modal__box { background: #0b0c0e; color: #fff; width: min(1400px, 100%); }
.fp-modal--lb .fp-modal__hd { border-color: #2a2d33; }
.fp-modal--lb .fp-modal__hd h2 { color: #fff; }
.fp-modal--lb .fp-modal__x { background: #16181b; border-color: #2a2d33; color: #fff; }
.fp-lb { margin: 0; display: grid; gap: 10px; justify-items: center; }
.fp-lb__img img { max-height: calc(100vh - 170px); width: auto; max-width: 100%; object-fit: contain; }
.fp-lb__cap { font-size: .86rem; color: #cfd2d8; text-align: center; }
.fp-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #0b0c0e; font-size: 1.3rem; cursor: pointer; display: grid; place-items: center; }
.fp-lb__nav--p { left: 24px; } .fp-lb__nav--n { right: 24px; }
@keyframes fpIn { from { opacity: 0; } to { opacity: 1; } }
.fp-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 2100; background: #15171c; color: #fff; padding: 12px 18px; border-radius: 8px; font-size: .9rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: opacity .3s; }
.fp-toast.is-out { opacity: 0; }

/* Tabele */
.fp-tbl-wrap { overflow-x: auto; border: 1px solid var(--fp-line); background: var(--fp-surface); }
.fp-tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.fp-tbl th, .fp-tbl td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--fp-line); vertical-align: middle; }
.fp-tbl thead th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); font-weight: 600; background: var(--fp-surface); }
.fp-tbl thead th button { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.fp-tbl .r { text-align: right; }
.fp-tbl .m { font-family: var(--fp-fm); white-space: nowrap; }
.fp-tbl .b { font-weight: 700; color: var(--fp-ink); }
.fp-tbl tbody tr:hover { background: color-mix(in srgb, var(--fp-akcent) 5%, var(--fp-surface)); }
.fp-tbl--cmp { table-layout: fixed; min-width: 560px; }
.fp-tbl--cmp th[scope=col] { vertical-align: top; }
.fp-tbl--cmp th[scope=col] img { width: 100%; height: 110px; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.fp-tbl--cmp th[scope=col] a { font-size: .92rem; text-transform: none; letter-spacing: 0; color: var(--fp-ink); font-weight: 600; }
.fp-tbl--cmp th[scope=row] { color: var(--fp-muted); font-weight: 500; width: 140px; }


/* Kup Teraz + aukcje (otoauta) */
.fp-kt { display: grid; grid-template-columns: 1.5fr 1fr .8fr; gap: 24px; align-items: stretch; }
.fp-kt__big, .fp-kt__sm, .fp-kt__auk { position: relative; background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r-s); overflow: hidden; }
.fp-kt__big { display: flex; flex-direction: column; }
.fp-kt__big .fp-kt__media { display: block; position: relative; aspect-ratio: 16 / 11; background: var(--fp-bg2); }
.fp-kt__media img { width: 100%; height: 100%; object-fit: cover; }
.fp-kt__big .fp-kt__body { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 22px 24px; flex-wrap: wrap; margin-top: auto; }
.fp-kt__t { font-family: var(--fp-fh); font-weight: var(--fp-h-waga); text-transform: var(--fp-h-transform); font-size: 1.4rem; line-height: 1.1; }
.fp-kt__big .fp-kt__t { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); }
.fp-kt__t a::after { content: ""; position: absolute; inset: 0; }
.fp-kt__price span { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-muted); text-align: right; }
.fp-kt__price strong { font-family: var(--fp-fh); font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.6rem); color: var(--fp-akcent-tekst); line-height: 1; }
.fp-kt__list { display: grid; gap: 24px; }
.fp-kt__sm { display: grid; grid-template-columns: 1fr 1fr; }
.fp-kt__sm .fp-kt__media { display: block; min-height: 180px; }
.fp-kt__sm .fp-kt__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.fp-kt__sm .fp-kt__t { font-family: var(--fp-fb); text-transform: none; font-size: 1.02rem; font-weight: 600; }
.fp-kt__k { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--fp-akcent-tekst); display: flex; gap: 6px; }
.fp-kt__p { margin-top: auto; font-family: var(--fp-fh); font-size: 1.6rem; }
.fp-kt__sm .fp-mut { font-size: .82rem; }
.fp-kt__auk { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.fp-kt__ic { width: 52px; height: 52px; border-radius: 50%; background: var(--fp-bg2); display: grid; place-items: center; color: var(--fp-akcent-tekst); font-size: 1.3rem; }
.fp-kt__aukl { list-style: none; display: grid; gap: 10px; }
.fp-kt__aukl li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--fp-line); padding-bottom: 8px; font-size: .9rem; }
.fp-kt__aukl a:hover { text-decoration: underline; }
.fp-kt__aukcta { margin-top: auto; display: grid; gap: 10px; justify-items: center; font-size: .85rem; }
.fp-kt__aukcta .fp-link { font-weight: 500; color: var(--fp-muted); }

/* Finansowanie (otoauta) */
.fp-fin { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.fp-fin__txt .fp-md { margin-top: 20px; font-size: 1.05rem; }
.fp-fin__partn { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .86rem; color: var(--fp-muted); }
.fp-fin__partn b { border: 1px solid var(--fp-line); padding: 4px 10px; border-radius: 999px; color: var(--fp-ink); font-weight: 600; }
.fp-fin__card { background: var(--fp-surface); color: var(--fp-ink); border: 1px solid var(--fp-line); border-radius: var(--fp-r); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; box-shadow: var(--fp-shadow); }
.fp-fin__card h3 { font-family: var(--fp-fh); font-weight: var(--fp-h-waga); text-transform: var(--fp-h-transform); font-size: 1.8rem; line-height: 1; }
.fp-radio { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fp-radio legend { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-muted); margin-bottom: 6px; }
.fp-radio label { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--fp-line); border-radius: var(--fp-r-s); cursor: pointer; font-weight: 600; }
.fp-radio label:has(input:checked) { border-color: var(--fp-ink); }
.fp-fin__note { font-size: .76rem; color: var(--fp-muted); }
.fp--salon .fp-s--finansowanie { --fp-ink: var(--fp-pas-ink); --fp-surface: #ffffff; --fp-bg2: #e8e3da; }
.fp--salon.fp-tryb--jasny .fp-s--finansowanie { --fp-surface: #1d1f23; }
/* Giełda: w węższej kolumnie chowamy kolejno skrzynię i paliwo — cena musi zostać widoczna. */
@media (max-width: 1400px) { .fp-tbl--gielda th:nth-child(8), .fp-tbl--gielda td:nth-child(8) { display: none; } }
@media (max-width: 1100px) { .fp-tbl--gielda th:nth-child(6), .fp-tbl--gielda td:nth-child(6) { display: none; } }
@media (max-width: 1180px) { .fp-kt { grid-template-columns: 1fr 1fr; } .fp-kt__auk { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .fp-kt, .fp-fin { grid-template-columns: 1fr; }
  .fp-kt__sm { grid-template-columns: 120px 1fr; }
  .fp-kt__sm .fp-kt__media { min-height: 120px; }
  .fp-kt__big .fp-kt__body { padding: 16px; }
  .fp-kt__price span { text-align: left; }
}

/* ============================================================================
 * 9. SZABLONY — zmienne + układ
 * ========================================================================== */

/* ---------- SALON (komis premium, ciemny) ---------- */
.fp--salon {
  --fp-bg: #f3f0ea; --fp-bg2: #e8e3da; --fp-surface: #ffffff; --fp-surface2: #faf8f4;
  --fp-ink: #16181b; --fp-muted: #57524a; --fp-line: #d6d1c8;
  --fp-pas: #16181b; --fp-pas-ink: #f3f0ea; --fp-pas-muted: #aca69d; --fp-pas-line: #2a2d33;
  --fp-ciemny: #16181b; --fp-ciemny-ink: #f3f0ea;
  --fp-fh: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --fp-fb: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif; --fp-fm: var(--fp-fh);
  --fp-h-transform: uppercase; --fp-h-waga: 700; --fp-h-lsp: 0; --fp-r: 6px; --fp-r-s: 4px;
}
.fp--salon.fp-tryb--ciemny {
  --fp-bg: #0c0d0f; --fp-bg2: #121316; --fp-surface: #16181b; --fp-surface2: #1d1f23;
  --fp-ink: #f3f0ea; --fp-muted: #aca69d; --fp-line: #2a2d33;
  --fp-pas: #f3f0ea; --fp-pas-ink: #16181b; --fp-pas-muted: #4a4640; --fp-pas-line: #d6d1c8;
  --fp-ciemny: #f3f0ea; --fp-ciemny-ink: #16181b; color-scheme: dark;
}
.fp--salon .fp-top { border-bottom: 1px solid var(--fp-line); }
.fp--salon .fp-top__name { letter-spacing: .01em; }
.fp--salon .fp-hero { position: relative; min-height: clamp(300px, 34vw, 460px); display: flex; align-items: flex-end; overflow: hidden; background: #0c0d0f; color: #f3f0ea; }
.fp--salon .fp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.fp--salon .fp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 13, 15, .92) 0%, rgba(12, 13, 15, .55) 55%, rgba(12, 13, 15, .2) 100%); }
.fp--salon .fp-hero__in { position: relative; z-index: 1; padding-block: 56px; }
.fp--salon .fp-hero .fp-kicker { color: var(--fp-akcent-pas); }
.fp--salon.fp-tryb--jasny .fp-hero .fp-kicker { color: #ffb38f; }
.fp--salon .fp-hero__t { font-family: var(--fp-fh); text-transform: uppercase; font-weight: 700; font-size: clamp(2.4rem, 1.2rem + 4.6vw, 5.6rem); line-height: .92; max-width: 16ch; }
.fp--salon .fp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fp--salon .fp-hero .fp-btn--obrys { color: #f3f0ea; }
.fp--salon .fp-kicker::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.fp--salon .fp-sh .fp-kicker::before, .fp--salon .fp-onas .fp-kicker::before { display: none; }
.fp--salon .fp-feat__media { order: 2; }
.fp--salon .fp-feat__thumbs .fp-feat__th--more { grid-column: span 2; }
.fp--salon .fp-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-items: end; padding: 26px 28px; margin-bottom: clamp(48px, 6vw, 80px);
  background: #f3f0ea; color: #16181b; border-radius: var(--fp-r); }
.fp--salon .fp-panel .fp-f > span { color: #4a4640; }
.fp--salon .fp-panel input, .fp--salon .fp-panel select { background: #fff; color: #16181b; border-color: #d6d1c8; }
.fp--salon .fp-panel .fp-btn--ciemny { background: #16181b; color: #f3f0ea; min-height: 48px; }
.fp--salon.fp-tryb--jasny .fp-panel { background: #fff; border: 1px solid var(--fp-line); }
.fp--salon .fp-chips { margin-bottom: 30px; }
.fp--salon .fp-card__price { font-size: 1.7rem; }
.fp--salon .fp-s--kupteraz { background: var(--fp-bg2); padding-top: var(--fp-sekcja); border-block: 1px solid var(--fp-line); }
.fp--salon .fp-s--finansowanie { background: var(--fp-pas); color: var(--fp-pas-ink); padding-top: var(--fp-sekcja); --fp-muted: var(--fp-pas-muted); --fp-line: var(--fp-pas-line); --fp-akcent-tekst: var(--fp-akcent-pas); }
.fp--salon.fp-tryb--ciemny .fp-s--finansowanie { --fp-akcent-pas: #b8440f; }
.fp--salon .fp-s--o_nas { padding-top: var(--fp-sekcja); }
.fp--salon .fp-s--kontakt .fp-form, .fp--salon .fp-kontakt__info { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r); padding: 28px; }

/* ---------- MAGAZYN (redakcyjny) ---------- */
.fp--magazyn {
  --fp-bg: #f3ede2; --fp-bg2: #e8dfcf; --fp-surface: #fbf8f2; --fp-surface2: #efe7d8;
  --fp-ink: #1d1b17; --fp-muted: #58524a; --fp-line: #cfc6b6;
  --fp-pas: #1d1b17; --fp-pas-ink: #f3ede2; --fp-pas-muted: #b9b0a1; --fp-pas-line: #3b3731;
  --fp-ciemny: #1d1b17; --fp-ciemny-ink: #f3ede2;
  --fp-fh: 'Fraunces', Georgia, 'Times New Roman', serif; --fp-fb: 'Public Sans', system-ui, -apple-system, sans-serif; --fp-fm: var(--fp-fb);
  --fp-h-waga: 600; --fp-h-lsp: -0.02em; --fp-r: 0; --fp-r-s: 0;
}
.fp--magazyn.fp-tryb--ciemny {
  --fp-bg: #1d1b17; --fp-bg2: #2a2722; --fp-surface: #23211c; --fp-surface2: #2a2722;
  --fp-ink: #f3ede2; --fp-muted: #b9b0a1; --fp-line: #3b3731;
  --fp-pas: #0f0e0c; --fp-pas-ink: #f3ede2; --fp-pas-muted: #b9b0a1; --fp-pas-line: #3b3731;
  --fp-ciemny: #f3ede2; --fp-ciemny-ink: #1d1b17; color-scheme: dark;
}
.fp--magazyn .fp-util { border-bottom: 1px solid var(--fp-ink); }
.fp--magazyn .fp-mast { padding-block: clamp(20px, 3vw, 40px) 18px; }
.fp--magazyn .fp-mast__name { font-family: var(--fp-fh); font-weight: 700; font-size: clamp(3rem, 1rem + 9vw, 10rem); line-height: .86; letter-spacing: -0.045em; }
.fp--magazyn .fp-mast__name em { display: block; font-style: italic; font-weight: 300; color: var(--fp-akcent-tekst); }
.fp--magazyn .fp-mast__deck { margin-top: 16px; font-family: var(--fp-fh); font-style: italic; font-size: clamp(1.1rem, .9rem + .8vw, 1.6rem); color: var(--fp-muted); max-width: 36ch; }
.fp--magazyn .fp-nav { justify-content: flex-start; border-top: 3px solid var(--fp-ink); border-bottom: 1px solid var(--fp-ink); padding: 8px 0; gap: 4px 30px; margin: 0; }
.fp--magazyn .fp-nav a { font-weight: 600; font-size: .9rem; }
.fp--magazyn .fp-nav__sp { flex: 1; }
.fp--magazyn .fp-mast__ed { font-family: var(--fp-fh); font-style: italic; color: var(--fp-muted); }
.fp--magazyn .fp-feat { grid-template-columns: 1.4fr 1fr; align-items: start; padding-block: clamp(40px, 5vw, 64px); }
.fp--magazyn .fp-feat__media { order: 0; }
.fp--magazyn .fp-feat__main { aspect-ratio: 7 / 6; }
.fp--magazyn .fp-feat__thumbs { display: none; }
.fp--magazyn .fp-feat__t { text-transform: none; font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); line-height: 1.02; font-weight: 600; }
.fp--magazyn .fp-feat__lead { font-family: var(--fp-fh); font-size: 1.25rem; line-height: 1.45; }
.fp--magazyn .fp-feat__specs { display: block; margin-top: 24px; }
.fp--magazyn .fp-feat__specs > div { display: flex; justify-content: space-between; padding: 9px 0; border-left: 0; border-bottom: 1px solid var(--fp-line); }
.fp--magazyn .fp-feat__specs dt { text-transform: none; letter-spacing: 0; font-size: .9rem; }
.fp--magazyn .fp-feat__specs dd { font-family: var(--fp-fb); font-size: .92rem; font-weight: 700; }
.fp--magazyn .fp-feat__buy { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fp--magazyn .fp-feat__cta { margin: 0; }
.fp--magazyn .fp-feat__price strong { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); }
.fp--magazyn .fp-btn { border-radius: 0; }
.fp--magazyn .fp-btn--akcent { background: var(--fp-ink); color: var(--fp-bg); }
.fp--magazyn .fp-sh--mag { align-items: baseline; margin-bottom: 22px; }
.fp--magazyn .fp-sh--mag .fp-h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); }
.fp--magazyn .fp-arts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-bottom: clamp(56px, 7vw, 96px); }
.fp-art { position: relative; }
.fp-art__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--fp-bg2); border-bottom: 1px solid var(--fp-ink); margin-bottom: 14px; }
.fp-art__media img { width: 100%; height: 100%; object-fit: cover; }
.fp-art__k { display: flex; align-items: baseline; gap: 10px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--fp-muted); }
.fp-art__nr { font-family: var(--fp-fh); font-style: italic; font-weight: 300; font-size: 2.2rem; letter-spacing: 0; color: var(--fp-akcent-tekst); line-height: 1; }
.fp-art__t { font-family: var(--fp-fh); font-weight: 600; font-size: 1.7rem; line-height: 1.1; margin-top: 8px; letter-spacing: -0.01em; }
.fp-art__t a::after { content: ""; position: absolute; inset: 0; }
.fp-art__lead { margin-top: 10px; color: var(--fp-muted); font-size: .95rem; }
.fp-art__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; }
.fp-art__foot strong { font-family: var(--fp-fh); font-size: 1.5rem; }
.fp-spis-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.fp-spis-tools { display: flex; gap: 14px; margin-bottom: 8px; flex-wrap: wrap; }
.fp--magazyn .fp-spis-tools input, .fp--magazyn .fp-spis-tools select { background: transparent; border-color: var(--fp-ink); border-width: 1px; }
.fp-spis { list-style: none; }
.fp-spis__row { position: relative; display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--fp-line); }
.fp-spis__nr { font-family: var(--fp-fh); font-style: italic; color: var(--fp-akcent-tekst); font-size: 1.1rem; }
.fp-spis__t a { font-family: var(--fp-fh); font-weight: 600; font-size: 1.3rem; line-height: 1.2; }
.fp-spis__t a::after { content: ""; position: absolute; inset: 0; }
.fp-spis__t a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fp-spis__t span { display: block; font-size: .82rem; color: var(--fp-muted); margin-top: 2px; }
.fp-spis__p { font-family: var(--fp-fh); font-size: 1.25rem; font-weight: 600; white-space: nowrap; }
.fp-spis-aside { position: sticky; top: 90px; }
.fp-indeks { list-style: none; }
.fp-indeks button { width: 100%; display: flex; justify-content: space-between; padding: 12px 0; border: 0; border-bottom: 1px solid var(--fp-line); background: none; cursor: pointer; font-family: var(--fp-fh); font-size: 1.2rem; text-align: left; }
.fp-indeks button span { font-family: var(--fp-fb); font-size: .85rem; color: var(--fp-muted); }
.fp-indeks button[aria-pressed=true] { color: var(--fp-akcent-tekst); font-style: italic; }
.fp--magazyn .fp-s--o_nas { padding-block: 0 var(--fp-sekcja); }
.fp-quote { background: var(--fp-pas); color: var(--fp-pas-ink); padding-block: clamp(56px, 7vw, 100px); margin-bottom: var(--fp-sekcja); }
.fp-quote__in { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; }
.fp-quote__m { font-family: var(--fp-fh); font-size: 9rem; line-height: .8; color: var(--fp-akcent-pas); font-weight: 700; }
.fp-quote blockquote { margin: 0; font-family: var(--fp-fh); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 1rem + 2vw, 3rem); line-height: 1.2; max-width: 30ch; }
.fp-quote__src { margin-top: 26px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fp-pas-muted); }
.fp-onas__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.fp-md--kol { columns: 2 280px; column-gap: 40px; font-size: 1rem; }
.fp-md--kol p { break-inside: avoid; }
.fp-rubr { background: var(--fp-bg2); padding: 28px 30px; }
.fp-rubr .fp-rzym { border: 0; }
.fp-rubr .fp-rzym li { border: 0; padding: 8px 0; font-family: var(--fp-fh); font-size: 1.2rem; grid-template-columns: 36px 1fr; }
.fp--magazyn .fp-s--finansowanie { padding-top: 0; }
.fp--magazyn .fp-fin { border-top: 3px solid var(--fp-ink); padding-top: 18px; }
.fp--magazyn .fp-fin__card { background: var(--fp-bg2); border: 0; }
.fp--magazyn .fp-s--kontakt { background: var(--fp-pas); color: var(--fp-pas-ink); padding-top: var(--fp-sekcja); --fp-ink: var(--fp-pas-ink); --fp-muted: var(--fp-pas-muted); --fp-line: var(--fp-pas-line); --fp-surface: #26231e; --fp-akcent-tekst: var(--fp-akcent-pas); --fp-bg: var(--fp-pas); }
.fp--magazyn .fp-s--kontakt .fp-h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.fp--magazyn .fp-s--kontakt .fp-form { background: transparent; border: 1px solid var(--fp-pas-line); }
.fp--magazyn .fp-s--kontakt .fp-btn--akcent { background: var(--fp-akcent); color: var(--fp-na-akcencie); }
.fp--magazyn .fp-s--kontakt + .fp-stopka, .fp--magazyn .fp-s--kontakt ~ .fp-stopka { background: var(--fp-pas); color: var(--fp-pas-muted); border-color: var(--fp-pas-line); }
.fp--magazyn .fp-s--aktualnosci .fp-news__i { border-top-width: 3px; }
.fp--magazyn .fp-team__o, .fp--magazyn .fp-liczby { background: transparent; }

/* ---------- GIEŁDA (gęsta tabela) ---------- */
.fp--gielda {
  --fp-bg: #f4f5f7; --fp-bg2: #eceef2; --fp-surface: #ffffff; --fp-surface2: #fafbfc;
  --fp-ink: #15171c; --fp-muted: #4f5561; --fp-line: #dfe2e8;
  --fp-pas: #15171c; --fp-pas-ink: #ffffff; --fp-pas-muted: #c3c8d1; --fp-pas-line: #2c3038;
  --fp-ciemny: #15171c; --fp-ciemny-ink: #ffffff;
  --fp-fh: 'IBM Plex Sans Condensed', 'Arial Narrow', system-ui, sans-serif; --fp-fb: 'IBM Plex Sans Condensed', system-ui, sans-serif;
  --fp-fm: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --fp-h-waga: 700; --fp-h-lsp: -0.01em; --fp-r: 6px; --fp-r-s: 4px; --fp-sekcja: clamp(40px, 5vw, 64px);
}
.fp--gielda.fp-tryb--ciemny {
  --fp-bg: #0f1115; --fp-bg2: #171a20; --fp-surface: #171a20; --fp-surface2: #1d2027;
  --fp-ink: #eef0f3; --fp-muted: #a3a9b4; --fp-line: #2a2e36;
  --fp-pas: #05060a; --fp-ciemny: #eef0f3; --fp-ciemny-ink: #0f1115; color-scheme: dark;
}
.fp--gielda .fp-top { background: var(--fp-pas); color: var(--fp-pas-ink); --fp-ink: var(--fp-pas-ink); --fp-muted: var(--fp-pas-muted); --fp-line: var(--fp-pas-line); --fp-akcent-tekst: var(--fp-akcent-pas); }
.fp--gielda .fp-top__in { min-height: 84px; }
.fp--gielda .fp-logo { width: 100px; height: 52px; }
.fp--gielda .fp-top__name { font-size: 1.7rem; }
.fp--gielda .fp-top__stats { display: flex; gap: 32px; margin-left: auto; }
.fp--gielda .fp-top__stats > div { display: flex; flex-direction: column-reverse; align-items: center; }
.fp--gielda .fp-top__stats dd { font-family: var(--fp-fm); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.fp--gielda .fp-top__stats dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fp-pas-muted); margin-top: 6px; }
.fp--gielda .fp-nav { display: none; }
.fp--gielda .fp-util { background: var(--fp-pas); border-color: var(--fp-pas-line); }
.fp--gielda .fp-util .fp-crumbs [aria-current], .fp--gielda .fp-util__btn:hover { color: #fff; }
.fp--gielda .fp-hero--pasek { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px 0; }
.fp--gielda .fp-hero__t { font-family: var(--fp-fh); font-size: 1.25rem; font-weight: 600; }
.fp--gielda .fp-hero__cta { display: flex; gap: 10px; }
.fp--gielda .fp-s--oferty { padding-top: 24px; }
.fp--gielda .fp-feat { padding-block: 32px; grid-template-columns: 1fr 1fr; background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r); padding: 24px; margin-top: 24px; }
.fp--gielda .fp-feat__media { order: 0; }
.fp--gielda .fp-feat__t { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); line-height: 1.05; }
.fp--gielda .fp-feat__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--fp-line); border: 1px solid var(--fp-line); }
.fp--gielda .fp-feat__specs > div { background: var(--fp-surface); padding: 10px 12px; border: 0; }
.fp--gielda .fp-feat__specs dd { font-family: var(--fp-fm); font-size: 1rem; }
.fp--gielda .fp-feat__price strong { font-family: var(--fp-fm); font-size: 2rem; }
.fp-gl { display: grid; grid-template-columns: 292px minmax(0, 1fr); gap: 24px; align-items: start; }
.fp-flt { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r); padding: 18px 20px 22px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; }
.fp-flt__hd { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--fp-line); }
.fp-flt__hd h3 { font-size: 1.15rem; display: flex; gap: 8px; align-items: center; }
.fp-fg { border-bottom: 1px solid var(--fp-line); padding: 14px 0; }
.fp-fg summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--fp-muted); }
.fp-fg summary::-webkit-details-marker { display: none; }
.fp-fg summary::after { content: "\2303"; font-size: .9rem; transform: rotate(0); transition: transform .2s; }
.fp-fg:not([open]) summary::after { transform: rotate(180deg); }
.fp-fg ul { list-style: none; display: grid; gap: 2px; margin-top: 10px; }
.fp-fg label { display: flex; align-items: center; gap: 10px; min-height: 30px; cursor: pointer; font-size: .92rem; }
.fp-fg label em { margin-left: auto; font-style: normal; font-family: var(--fp-fm); font-size: .8rem; color: var(--fp-muted); }
.fp-fg__range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.fp-fg__range input { min-height: 40px !important; font-family: var(--fp-fm); font-size: .88rem !important; }
.fp-flt .fp-btn { margin-top: 18px; }
.fp-gl__bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.fp-gl__bar .fp-szukaj { flex: 1 1 320px; }
.fp-gl__fbtn { display: none; }
.fp-gl__quick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; font-size: .85rem; color: var(--fp-muted); }
.fp-gl__quick .fp-chip { min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--fp-surface); }
.fp-gl__quick .fp-chip[aria-pressed=true] { background: var(--fp-ink); }
.fp-gl__quick .fp-chip span { font-family: var(--fp-fm); font-size: .78rem; }
.fp-gl__poz { margin-left: auto; font-family: var(--fp-fm); font-size: .8rem; }
.fp--gielda .fp-seg { background: var(--fp-surface); border: 1px solid var(--fp-line); }
.fp-gl__tbl { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r); overflow-x: auto; }
.fp-gl__tbl > .fp-grid { padding: 16px; }
.fp-tbl--gielda th, .fp-tbl--gielda td { padding: 10px 7px; }
.fp-tbl--gielda .m { font-size: .84rem; }
.fp-tbl--gielda .c { width: 38px; text-align: center; }
.fp-tbl--gielda .img { width: 104px; }
.fp-tbl--gielda .img a { display: block; width: 96px; height: 64px; border-radius: 3px; overflow: hidden; background: var(--fp-bg2); }
.fp-tbl--gielda .img img { width: 100%; height: 100%; object-fit: cover; }
.fp-noimg { display: grid; place-items: center; height: 100%; color: var(--fp-muted); }
.fp-tbl--gielda .t { min-width: 170px; position: relative; }
.fp-tbl--gielda .t a { font-weight: 600; font-size: 1rem; line-height: 1.25; }
.fp-tbl--gielda .t a:hover { text-decoration: underline; }
.fp-tbl--gielda .t span { display: block; font-size: .78rem; color: var(--fp-muted); margin-top: 3px; }
.fp-tbl--gielda .b { font-size: 1.05rem; }
.fp-tbl--gielda tr.is-cmp { background: color-mix(in srgb, var(--fp-akcent) 8%, var(--fp-surface)); }
.fp-typ { font-size: .8rem; color: var(--fp-muted); white-space: nowrap; }
.fp-typ--kup { color: var(--fp-akcent-tekst); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: .04em; }
.fp-go { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--fp-line); border-radius: 4px; }
.fp-go:hover { border-color: var(--fp-ink); }
.fp-gl__pag { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; font-size: .85rem; color: var(--fp-muted); }
.fp-gl__pag select { width: auto; min-height: 36px; padding: 4px 28px 4px 10px; }
.fp-gl__pag nav { display: flex; gap: 6px; }
.fp-gl__pag nav button { min-width: 36px; height: 36px; border: 1px solid var(--fp-line); background: var(--fp-surface); border-radius: 4px; cursor: pointer; font-family: var(--fp-fm); }
.fp-gl__pag nav button[aria-current] { background: var(--fp-ink); color: var(--fp-bg); border-color: var(--fp-ink); }
.fp-cmp { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 900; padding-inline: var(--fp-gutter); pointer-events: none; }
.fp-cmp__in { pointer-events: auto; max-width: 1180px; margin: 0 auto; background: #15171c; color: #fff; border-radius: 8px; padding: 12px 14px; display: flex; align-items: center; gap: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.fp-cmp__t { font-weight: 700; display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.fp-cmp__l { list-style: none; display: flex; gap: 10px; flex: 1; min-width: 0; overflow-x: auto; }
.fp-cmp__l li { display: flex; align-items: center; gap: 10px; background: #23262d; border-radius: 6px; padding: 6px 8px; min-width: 0; flex: 0 1 240px; }
.fp-cmp__l img { width: 54px; height: 38px; object-fit: cover; border-radius: 3px; }
.fp-cmp__l span { min-width: 0; display: flex; flex-direction: column; }
.fp-cmp__l b { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-cmp__l em { font-style: normal; font-family: var(--fp-fm); font-size: .78rem; color: #c3c8d1; }
.fp-cmp__l button { background: none; border: 0; color: #c3c8d1; cursor: pointer; width: 32px; height: 32px; flex: none; }
.fp-cmp__slot { border: 1px dashed #4f5561; background: transparent !important; justify-content: center; color: #9aa0ab; font-size: .8rem; }
.fp--gielda .fp-card__price { font-family: var(--fp-fm); font-size: 1.15rem; }
.fp--gielda .fp-s--kontakt .fp-form, .fp--gielda .fp-kontakt__info { background: var(--fp-surface); border: 1px solid var(--fp-line); border-radius: var(--fp-r); padding: 24px; }
.fp--gielda .fp-h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); }

/* ---------- REZYDENCJE (luksus, osiedle) ---------- */
.fp--rezydencje {
  --fp-bg: #f6f2ea; --fp-bg2: #ece5d8; --fp-surface: #fbf8f2; --fp-surface2: #f1ebdf;
  --fp-ink: #1a1916; --fp-muted: #57524a; --fp-line: #d9d1c3;
  --fp-pas: #0a1730; --fp-pas-ink: #f6f2ea; --fp-pas-muted: #b9c2d3; --fp-pas-line: #2a3a57;
  --fp-ciemny: #0a1730; --fp-ciemny-ink: #f6f2ea;
  --fp-fh: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif; --fp-fb: 'Jost', system-ui, -apple-system, sans-serif; --fp-fm: var(--fp-fb);
  --fp-h-waga: 400; --fp-h-lsp: -0.01em; --fp-r: 0; --fp-r-s: 0;
}
.fp--rezydencje.fp-tryb--ciemny {
  --fp-bg: #0a1730; --fp-bg2: #0f1f3d; --fp-surface: #0f1f3d; --fp-surface2: #132647;
  --fp-ink: #f6f2ea; --fp-muted: #b9c2d3; --fp-line: #2a3a57;
  --fp-pas: #050d1c; --fp-pas-line: #22324f; --fp-ciemny: #f6f2ea; --fp-ciemny-ink: #0a1730; color-scheme: dark;
}
.fp--rezydencje .fp-h2 { font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.02; }
.fp--rezydencje .fp-kicker { font-size: .68rem; letter-spacing: .24em; font-weight: 600; }
.fp--rezydencje .fp-top__name { font-size: 1.45rem; font-weight: 500; text-transform: none; }
.fp--rezydencje .fp-top__sub { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.fp--rezydencje .fp-top__sub .bi { display: none; }
.fp--rezydencje .fp-logo { width: 96px; height: 48px; }
.fp--rezydencje .fp-nav a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; }
.fp--rezydencje .fp-btn { border-radius: 0; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.fp--rezydencje .fp-top__in { min-height: 88px; }
/* Pasek nad zdjęciem hero — tylko gdy hero jest pierwsze; inaczej zwykły pasek. */
.fp--rezydencje.fp--hero-pierwsza .fp-top { position: absolute; left: 0; right: 0; top: 0; background: transparent; color: #fff; --fp-ink: #fff; --fp-muted: rgba(255, 255, 255, .8); }
.fp--rezydencje .fp-s--hero .fp-hero { position: relative; min-height: clamp(520px, 62vw, 760px); display: flex; align-items: flex-end; overflow: hidden; background: #0a1730; color: #fff; }
.fp--rezydencje .fp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp--rezydencje .fp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 12, 26, .55) 0%, rgba(6, 12, 26, 0) 28%, rgba(6, 12, 26, .1) 50%, rgba(6, 12, 26, .72) 100%); }
.fp--rezydencje .fp-hero__in { position: relative; z-index: 1; padding-block: 140px 56px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.fp--rezydencje .fp-hero .fp-kicker { color: #f0c79a; grid-column: 1 / -1; margin: 0; }
.fp--rezydencje .fp-hero__t { font-family: var(--fp-fh); font-weight: 400; font-size: clamp(3rem, 1.4rem + 5.4vw, 6.4rem); line-height: .95; letter-spacing: -0.01em; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.fp--rezydencje .fp-hero .fp-kicker { text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.fp--rezydencje .fp-hero__t em { display: block; font-style: italic; font-weight: 400; }
.fp--rezydencje .fp-hero__cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; grid-column: 1; }
.fp--rezydencje .fp-hero .fp-btn--obrys { color: #fff; }
.fp--rezydencje .fp-hero .fp-btn--tekst { color: #fff; font-size: .74rem; }
.fp--rezydencje .fp-hero__card { grid-column: 2; grid-row: 2 / span 2; background: #f6f2ea; color: #1a1916; padding: 18px 22px; min-width: 260px; }
.fp--rezydencje .fp-hero__card .fp-kicker { color: #86591f; font-size: .62rem; margin-bottom: 6px; }
.fp--rezydencje .fp-hero__tel { font-family: var(--fp-fh); font-size: 1.7rem; display: block; }
.fp--rezydencje .fp-hero__dzis { font-size: .82rem; color: #57524a; margin-top: 2px; }
.fp--rezydencje .fp-s--o_nas { padding-top: var(--fp-sekcja); }
.fp--rezydencje .fp-onas .fp-h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.2; }
.fp--rezydencje .fp-onas__lead { font-family: var(--fp-fh); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.3; color: var(--fp-ink); }
.fp--rezydencje .fp-rzym li { font-family: var(--fp-fh); font-size: 1.25rem; line-height: 1.35; }
.fp--rezydencje .fp-onas__r { padding-top: 34px; }
.fp--rezydencje .fp-s--wyrozniona { background: var(--fp-pas); color: var(--fp-pas-ink); --fp-ink: var(--fp-pas-ink); --fp-muted: var(--fp-pas-muted); --fp-line: var(--fp-pas-line); --fp-akcent-tekst: var(--fp-akcent-pas); --fp-surface: #0f1f3d; }
.fp--rezydencje .fp-feat { grid-template-columns: 1.2fr 1fr; align-items: start; }
.fp--rezydencje .fp-feat__media { order: 0; }
.fp--rezydencje .fp-feat__main { aspect-ratio: 4 / 3; }
.fp--rezydencje .fp-feat__thumbs { grid-template-columns: repeat(4, 1fr); }
.fp--rezydencje .fp-feat__t { font-weight: 400; font-size: clamp(2.4rem, 1.4rem + 3vw, 4.4rem); line-height: 1; }
.fp--rezydencje .fp-feat__lead { font-family: var(--fp-fh); font-style: italic; font-size: 1.3rem; }
.fp--rezydencje .fp-feat__specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--fp-line); }
.fp--rezydencje .fp-feat__specs > div { border: 0; border-bottom: 1px solid var(--fp-line); padding: 12px 0; }
.fp--rezydencje .fp-feat__specs dd { font-family: var(--fp-fh); font-size: 1.45rem; font-weight: 400; }
.fp--rezydencje .fp-feat__buy { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fp--rezydencje .fp-feat__price span { display: none; }
.fp--rezydencje .fp-feat__price strong { font-weight: 400; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem); }
.fp--rezydencje .fp-feat__cta { margin: 0; }
.fp--rezydencje .fp-feat .fp-btn--obrys { color: var(--fp-pas-ink); }
.fp--rezydencje .fp-tabs { display: flex; gap: 26px; flex-wrap: wrap; }
.fp--rezydencje .fp-tabs button { background: none; border: 0; border-bottom: 1px solid transparent; padding: 8px 0; cursor: pointer; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fp-muted); }
.fp--rezydencje .fp-tabs button[aria-pressed=true] { color: var(--fp-ink); border-bottom-color: var(--fp-ink); }
.fp-port { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 24px; align-items: start; }
.fp-port .fp-card { grid-column: span 2; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.fp-port .fp-card--duza:nth-child(1) { grid-column: 1 / span 4; }
.fp-port .fp-card--duza:nth-child(2) { grid-column: 5 / span 2; margin-top: 80px; }
.fp-port .fp-card--duza:nth-child(1) .fp-card__media { aspect-ratio: 16 / 11; }
.fp-port .fp-card--duza:nth-child(2) .fp-card__media { aspect-ratio: 4 / 3.3; }
.fp-port .fp-card__media { aspect-ratio: 4 / 3; }
.fp-port .fp-card__body { padding: 14px 0 0; gap: 6px; }
.fp-port .fp-badge { background: #f6f2ea; color: #1a1916; font-size: .6rem; letter-spacing: .18em; border-radius: 0; }
.fp-port .fp-card__t { font-family: var(--fp-fh); font-size: 1.45rem; font-weight: 500; line-height: 1.15; }
.fp-port .fp-card__price { font-family: var(--fp-fh); font-size: 1.35rem; font-weight: 500; }
.fp-port .fp-card__meta { font-size: .8rem; }
.fp--rezydencje .fp-s--zespol { background: var(--fp-pas); color: var(--fp-pas-ink); padding-top: var(--fp-sekcja); --fp-ink: var(--fp-pas-ink); --fp-muted: var(--fp-pas-muted); --fp-line: var(--fp-pas-line); --fp-akcent-tekst: var(--fp-akcent-pas); --fp-surface: transparent; }
.fp--rezydencje .fp-team__o { text-align: center; justify-items: center; padding: 28px 20px; }
.fp--rezydencje .fp-team__txt { align-items: center; }
.fp--rezydencje .fp-team__ini { border: 1px solid var(--fp-akcent-pas); background: transparent; font-size: 1.9rem; }
.fp--rezydencje .fp-team__txt h3 { font-family: var(--fp-fh); font-size: 1.5rem; font-weight: 500; }
.fp--rezydencje .fp-team__tel { font-size: .8rem; letter-spacing: .12em; }
.fp--rezydencje .fp-s--kontakt { padding-top: var(--fp-sekcja); }
.fp--rezydencje .fp-form { background: transparent; border: 0; padding: 0; }
.fp--rezydencje .fp-form__t { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); font-weight: 400; }
.fp--rezydencje .fp-form input:not([type=checkbox]), .fp--rezydencje .fp-form textarea, .fp--rezydencje .fp-form select { border: 0; border-bottom: 1px solid var(--fp-ink); border-radius: 0; background: transparent; padding-left: 0; }
.fp--rezydencje .fp-form .fp-btn--akcent { background: var(--fp-pas); color: var(--fp-pas-ink); }
.fp--rezydencje.fp-tryb--ciemny .fp-form .fp-btn--akcent { background: var(--fp-akcent); color: var(--fp-na-akcencie); }
.fp--rezydencje .fp-kontakt__adr { font-size: 1.7rem; }
.fp--rezydencje .fp-kontakt__tel { font-weight: 400; font-size: 2rem; }
.fp--rezydencje .fp-news__i, .fp--rezydencje .fp-docs__g h3 { border-color: var(--fp-ink); border-top-width: 1px; }
.fp--rezydencje .fp-news h3 { font-weight: 500; font-size: 1.6rem; }
.fp--rezydencje .fp-card__foot strong { font-family: var(--fp-fh); font-size: 1.2rem; font-weight: 500; }

/* ---------- MAPA (lista + mapa, osiedle) ---------- */
.fp--mapa {
  --fp-bg: #ffffff; --fp-bg2: #f5f6f8; --fp-surface: #ffffff; --fp-surface2: #f5f6f8;
  --fp-ink: #141a26; --fp-muted: #4e5869; --fp-line: #dde1e8;
  --fp-pas: #0a1730; --fp-pas-ink: #ffffff; --fp-pas-muted: #aeb6c4; --fp-pas-line: #22324f;
  --fp-ciemny: #0a1730; --fp-ciemny-ink: #ffffff;
  --fp-fh: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif; --fp-fb: 'Figtree', system-ui, -apple-system, sans-serif; --fp-fm: var(--fp-fb);
  --fp-h-waga: 700; --fp-h-lsp: -0.02em; --fp-r: 14px; --fp-r-s: 10px; --fp-sekcja: clamp(48px, 6vw, 80px);
}
.fp--mapa.fp-tryb--ciemny {
  --fp-bg: #0d1320; --fp-bg2: #121a2a; --fp-surface: #151e30; --fp-surface2: #1a2438;
  --fp-ink: #eef1f6; --fp-muted: #aeb6c4; --fp-line: #26314a;
  --fp-pas: #060b16; --fp-ciemny: #eef1f6; --fp-ciemny-ink: #0d1320; color-scheme: dark;
}
.fp--mapa .fp-top { background: var(--fp-pas); color: var(--fp-pas-ink); --fp-ink: var(--fp-pas-ink); --fp-muted: var(--fp-pas-muted); --fp-line: var(--fp-pas-line); }
.fp--mapa .fp-top__in { min-height: 76px; padding-block: 12px; }
.fp--mapa .fp-logo { width: 84px; height: 48px; }
.fp--mapa .fp-top__name { font-size: 1.4rem; }
.fp--mapa .fp-top__sub { font-size: .82rem; margin-top: 2px; }
.fp--mapa .fp-nav a { font-size: .95rem; }
.fp--mapa .fp-hero--pasek { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 18px; }
.fp--mapa .fp-hero__t { font-family: var(--fp-fh); font-size: 1.3rem; font-weight: 600; }
.fp--mapa .fp-hero__cta { display: flex; gap: 10px; }
.fp--mapa .fp-s--hero { border-bottom: 1px solid var(--fp-line); }
.fp--mapa .fp-s--pelna { padding-block: 0; }
.fp-mbar { border-bottom: 1px solid var(--fp-line); background: var(--fp-surface); position: sticky; top: 0; z-index: 20; }
.fp-mbar__in { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding-block: 12px; max-width: none; }
.fp-pok button { min-width: 38px !important; }
.fp-f--in { flex-direction: row; align-items: center; gap: 8px; }
.fp-f--in > span { font-size: .88rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--fp-muted); }
.fp-f--in input { width: 84px !important; min-height: 42px !important; padding-inline: 10px !important; }
.fp-f--in select { min-height: 42px; width: auto; }
.fp-pok { display: flex; gap: 6px; }
.fp-pok button { min-width: 42px; height: 42px; border: 1.5px solid var(--fp-line); border-radius: var(--fp-r-s); background: var(--fp-surface); cursor: pointer; font-weight: 600; }
.fp-pok button[aria-pressed=true] { background: var(--fp-ciemny); color: var(--fp-ciemny-ink); border-color: var(--fp-ciemny); }
.fp-mbar .fp-btn { min-height: 44px; margin-left: auto; }
.fp-split { display: grid; grid-template-columns: minmax(420px, 44%) 1fr; }
.fp-split__list { padding: 24px var(--fp-gutter) 40px; background: var(--fp-bg2); min-width: 0; }
.fp-sh--mapa { align-items: center; margin-bottom: 8px; }
.fp-sh--mapa .fp-h2 { font-size: 1.7rem; }
.fp-split__list > .fp-mut { margin-bottom: 14px; font-size: .86rem; }
.fp-hlist { display: grid; gap: 14px; }
.fp-split__map { position: sticky; top: 68px; height: calc(100vh - 68px); min-height: 520px; }
.fp-split__map .fp-map { height: 100%; border-radius: 0; border: 0; }
.fp-map__chk { position: absolute; left: 18px; top: 18px; z-index: 500; background: var(--fp-surface); padding: 10px 14px; border-radius: var(--fp-r-s); box-shadow: var(--fp-shadow); display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .92rem; cursor: pointer; }
.fp-map__leg { position: absolute; left: 18px; bottom: 18px; z-index: 500; background: var(--fp-surface); padding: 8px 12px; border-radius: var(--fp-r-s); box-shadow: var(--fp-shadow); font-size: .8rem; display: flex; gap: 8px; align-items: center; }
.fp-map__leg span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.fp-map__leg .is-a { background: #0a1730; } .fp-map__leg .is-b { background: var(--fp-akcent); margin-left: 8px; }
.fp-split--bez-mapy { grid-template-columns: 1fr; }
.fp-split--bez-mapy .fp-hlist { grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); }
.fp--mapa .fp-s--o_nas { padding-top: var(--fp-sekcja); }
.fp--mapa .fp-kontakt .fp-form { box-shadow: var(--fp-shadow); }
.fp--mapa .fp-team__o { display: grid; grid-template-columns: 56px 1fr; gap: 14px; border: 0; padding: 8px 0; background: transparent; }
.fp--mapa .fp-team__ini, .fp--mapa .fp-team__img { width: 56px; height: 56px; font-size: 1.1rem; font-weight: 700; }
.fp--mapa .fp-h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); }

/* ---------- INWESTYCJE (deweloper, osiedle) ---------- */
.fp--inwestycje {
  --fp-bg: #efede8; --fp-bg2: #e5e2db; --fp-surface: #ffffff; --fp-surface2: #f7f6f3;
  --fp-ink: #151515; --fp-muted: #555149; --fp-line: #d8d4cc;
  --fp-pas: #0a1730; --fp-pas-ink: #ffffff; --fp-pas-muted: #aab4c7; --fp-pas-line: #2a3a57;
  --fp-ciemny: #151515; --fp-ciemny-ink: #ffffff;
  --fp-fh: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif; --fp-fb: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --fp-fm: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --fp-h-waga: 800; --fp-h-lsp: -0.03em; --fp-r: 0; --fp-r-s: 0;
}
.fp--inwestycje.fp-tryb--ciemny {
  --fp-bg: #121212; --fp-bg2: #1b1b1b; --fp-surface: #1b1b1b; --fp-surface2: #222;
  --fp-ink: #efede8; --fp-muted: #bdb7ab; --fp-line: #333;
  --fp-pas: #050d1c; --fp-ciemny: #efede8; --fp-ciemny-ink: #121212; color-scheme: dark;
}
.fp--inwestycje .fp-top { border-bottom: 1px solid var(--fp-line); }
.fp--inwestycje .fp-top__in { min-height: 76px; padding-block: 10px; }
.fp--inwestycje .fp-logo { width: 88px; height: 48px; }
.fp--inwestycje .fp-top__name { font-size: 1.35rem; }
.fp--inwestycje .fp-top__sub { font-size: .8rem; margin-top: 2px; }
.fp--inwestycje .fp-nav a { font-size: .92rem; }
.fp--inwestycje .fp-btn { border-radius: 0; }
.fp--inwestycje .fp-kicker { font-family: var(--fp-fm); font-weight: 500; letter-spacing: .12em; }
.fp--inwestycje .fp-s--hero .fp-hero { display: grid; grid-template-columns: 1.5fr 1fr; min-height: clamp(480px, 42vw, 620px); }
.fp--inwestycje .fp-hero__media { position: relative; background: var(--fp-bg2); min-height: 300px; }
.fp--inwestycje .fp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp--inwestycje .fp-hero__cap { position: absolute; left: 18px; bottom: 18px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .76rem; padding: 6px 10px; }
.fp--inwestycje .fp-hero__panel { background: var(--fp-pas); color: var(--fp-pas-ink); padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; }
.fp--inwestycje .fp-hero__panel .fp-kicker { color: var(--fp-akcent-pas); }
.fp--inwestycje .fp-hero__t { font-family: var(--fp-fh); font-weight: 800; font-size: clamp(2.2rem, 1.2rem + 2.8vw, 3.8rem); line-height: .98; letter-spacing: -0.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.fp--inwestycje .fp-hero__lead { margin-top: 18px; color: var(--fp-pas-muted); font-size: 1rem; }
.fp--inwestycje .fp-hero__stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: 28px; border-top: 1px solid var(--fp-pas-line); }
.fp--inwestycje .fp-hero__stats > div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--fp-pas-line); display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.fp--inwestycje .fp-hero__stats > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--fp-pas-line); }
.fp--inwestycje .fp-hero__stats dt { font-family: var(--fp-fm); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-pas-muted); }
.fp--inwestycje .fp-hero__stats dd { font-weight: 700; font-size: clamp(1.3rem, 1rem + .9vw, 1.8rem); line-height: 1.1; margin-bottom: 6px; }
.fp--inwestycje .fp-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; padding-top: 28px; }
.fp--inwestycje .fp-hero__cta .fp-btn--obrys { color: #fff; }
.fp--inwestycje .fp-h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.fp--inwestycje .fp-s--oferty .fp-sh { margin-bottom: 8px; }
.fp-inw-sub { margin-bottom: 18px; }
.fp--inwestycje .fp-chip { border-radius: 0; min-height: 36px; font-size: .82rem; background: var(--fp-surface); }
.fp--inwestycje .fp-chip[aria-pressed=true] { background: var(--fp-ink); color: var(--fp-bg); }
.fp--inwestycje .fp-tbl-wrap { border: 1px solid var(--fp-line); border-top: 2px solid var(--fp-ink); }
.fp--inwestycje .fp-tbl td { padding-block: 16px; }
.fp--inwestycje .fp-tbl .m { font-size: .88rem; }
.fp-status { display: inline-flex; align-items: center; gap: 6px; background: #e3f1e7; color: #1d6b3a; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.fp-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.fp--inwestycje .fp-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fp--inwestycje .fp-gal li:first-child { grid-column: auto; grid-row: auto; }
.fp--inwestycje .fp-gal li:first-child .fp-gal__btn { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
.fp--inwestycje .fp-kontakt { grid-template-columns: 1fr 1fr; }
.fp--inwestycje .fp-kontakt__map { grid-column: 1; grid-row: 1 / span 2; }
.fp--inwestycje .fp-kontakt__map .fp-map { min-height: 520px; }
.fp--inwestycje .fp-form { border-color: var(--fp-line); }
.fp--inwestycje .fp-kontakt--bez-mapy .fp-kontakt__map { display: none; }
.fp--inwestycje .fp-card { border-radius: 0; }

/* ============================================================================
 * 10. PARY KROJÓW — klucze `config.czcionki` DOKŁADNIE jak w backendzie (proCzcionki()).
 * Para nadpisuje nagłówki i tekst; krój cyfr (--fp-fm: mono w giełdzie i inwestycjach)
 * należy do układu i zostaje — poza parą „techniczne", która sama jest parą z mono.
 * Pary z makiet mapy (Bricolage + Figtree) i inwestycji (Schibsted + DM Mono) działają
 * jako rezerwa, gdy klasa fp-cz--* nie zostanie nadana.
 * ========================================================================== */
.fp.fp-cz--nowoczesne { --fp-fh: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif; --fp-fb: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif; --fp-h-waga: 700; --fp-h-lsp: 0; }
.fp.fp-cz--klasyczne { --fp-fh: 'Fraunces', Georgia, 'Times New Roman', serif; --fp-fb: 'Public Sans', system-ui, -apple-system, sans-serif; --fp-h-waga: 600; --fp-h-lsp: -0.02em; }
.fp.fp-cz--techniczne { --fp-fh: 'IBM Plex Sans Condensed', 'Arial Narrow', system-ui, sans-serif; --fp-fb: 'IBM Plex Sans Condensed', system-ui, sans-serif; --fp-fm: 'IBM Plex Mono', ui-monospace, Menlo, monospace; --fp-h-waga: 700; --fp-h-lsp: -0.01em; }
.fp.fp-cz--eleganckie { --fp-fh: 'Cormorant Garamond', Garamond, 'Times New Roman', serif; --fp-fb: 'Jost', system-ui, -apple-system, sans-serif; --fp-h-waga: 500; --fp-h-lsp: -0.01em; }
/* Wersaliki w salonie pasują do kroju wąskiego; szeryfowe pary piszemy normalnie. */
.fp--salon.fp-cz--klasyczne, .fp--salon.fp-cz--eleganckie { --fp-h-transform: none; }
.fp--inwestycje.fp-cz--klasyczne .fp-hero__t, .fp--inwestycje.fp-cz--eleganckie .fp-hero__t { text-transform: none; }
.fp--rezydencje.fp-cz--nowoczesne .fp-hero__t, .fp--rezydencje.fp-cz--techniczne .fp-hero__t { font-weight: 600; }
.fp-video-link { margin-top: 8px; }

/* ============================================================================
 * 11. RESPONSYWNOŚĆ
 * ========================================================================== */
/* Giełda: w węższej kolumnie chowamy kolejno skrzynię i paliwo — cena musi zostać widoczna. */
@media (max-width: 1400px) { .fp-tbl--gielda th:nth-child(8), .fp-tbl--gielda td:nth-child(8) { display: none; } }
@media (max-width: 1100px) { .fp-tbl--gielda th:nth-child(6), .fp-tbl--gielda td:nth-child(6) { display: none; } }
@media (max-width: 1180px) {
  .fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-kontakt { grid-template-columns: 1fr 1fr; }
  .fp-kontakt__map { grid-column: 1 / -1; }
  .fp-kontakt__map .fp-map { min-height: 320px; }
  .fp-gl { grid-template-columns: 250px minmax(0, 1fr); }
  .fp-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fp-split { grid-template-columns: minmax(360px, 48%) 1fr; }
  .fp-hcard { grid-template-columns: 170px 1fr; }
  .fp--inwestycje .fp-kontakt__map { grid-row: auto; grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .fp-top__in { flex-wrap: wrap; min-height: 0; }
  .fp-nav { order: 5; width: 100%; margin-left: 0; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 8px; padding-bottom: 2px; }
  .fp-nav::-webkit-scrollbar { display: none; }
  .fp-nav a { border: 1.5px solid var(--fp-line); border-radius: 999px; padding: 7px 14px; font-size: .86rem; opacity: 1; }
  .fp-nav a[aria-current], .fp-nav a:hover { border-color: var(--fp-ink); }
  .fp--rezydencje .fp-nav a { letter-spacing: .1em; }
  .fp--magazyn .fp-nav { border-top-width: 3px; padding: 10px 0; }
  .fp--magazyn .fp-nav a { border: 0; padding: 4px 0; }
  .fp--magazyn .fp-mast__ed { display: none; }
  .fp-top__cta { margin-left: auto; }
  .fp--gielda .fp-top__stats { order: 4; width: 100%; margin: 0; justify-content: flex-start; gap: 28px; }
  .fp-feat, .fp--magazyn .fp-feat, .fp--rezydencje .fp-feat, .fp--gielda .fp-feat { grid-template-columns: 1fr; }
  .fp-feat__media { order: 0 !important; }
  .fp-onas, .fp-onas__cols, .fp-spis-wrap, .fp-blok-tz { grid-template-columns: 1fr; }
  .fp-blok-tz--prawo .fp-blok-tz__img { order: 0; }
  .fp-spis-aside { position: static; order: -1; }
  .fp-indeks { display: flex; flex-wrap: wrap; gap: 8px; }
  .fp-indeks button { border: 1px solid var(--fp-line); padding: 6px 12px; font-size: 1rem; gap: 8px; }
  .fp--magazyn .fp-arts { grid-template-columns: 1fr 1fr; }
  .fp-gl { grid-template-columns: 1fr; }
  .fp-gl__fbtn { display: inline-flex; }
  .fp-flt { display: none; position: fixed; inset: 0; z-index: 1500; max-height: none; border-radius: 0; top: 0; overflow: auto; }
  .fp-filtry-otwarte .fp-flt { display: block; }
  .fp-split { grid-template-columns: 1fr; }
  .fp-split__map { position: relative; top: 0; height: 60vh; min-height: 360px; order: -1; }
  .fp-port { grid-template-columns: 1fr 1fr; }
  .fp-port .fp-card, .fp-port .fp-card--duza:nth-child(1), .fp-port .fp-card--duza:nth-child(2) { grid-column: auto; margin-top: 0; }
  .fp-port .fp-card--duza:nth-child(1) { grid-column: 1 / -1; }
  .fp--rezydencje .fp-hero__in { grid-template-columns: 1fr; }
  .fp--rezydencje .fp-hero__card { grid-column: 1; grid-row: auto; }
  .fp--inwestycje .fp-s--hero .fp-hero { grid-template-columns: 1fr; }
  .fp--inwestycje .fp-hero__media { aspect-ratio: 16 / 10; }
  .fp-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .fp { font-size: 15.5px; --fp-sekcja: 56px; }
  .fp-s { scroll-margin-top: 16px; }
  .fp-util__mid { display: none; }
  .fp-util__btn span, .fp-util__btn { font-size: .78rem; }
  .fp-top__in { gap: 12px; padding-block: 14px 12px; }
  .fp-top__id { gap: 12px; width: 100%; }
  .fp-logo { width: 76px; height: 44px; }
  .fp-logo--ini { width: 44px; font-size: 1.1rem; }
  .fp-top__name { font-size: 1.3rem; }
  .fp-top__sub { font-size: .78rem; gap: 2px 10px; }
  .fp-top__cta { display: none; }   /* telefon jest w dolnym pasku */
  .fp-grid, .fp-news { grid-template-columns: 1fr; }
  .fp-kontakt, .fp-kontakt--bez-mapy, .fp--inwestycje .fp-kontakt { grid-template-columns: 1fr; }
  .fp-form__grid { grid-template-columns: 1fr; }
  .fp-sh { align-items: flex-start; }
  .fp-sh__r { width: 100%; }
  .fp-feat { padding-block: 32px 44px; gap: 22px; }
  .fp-feat__t { font-size: clamp(2.2rem, 10vw, 3rem); }
  .fp-feat__specs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--fp-line); }
  .fp-feat__specs > div { padding: 12px 14px !important; border: 0 !important; border-bottom: 1px solid var(--fp-line) !important; }
  .fp-feat__specs > div:nth-child(odd) { border-right: 1px solid var(--fp-line) !important; }
  .fp-feat__specs dd { font-size: 1.4rem; }
  .fp--magazyn .fp-feat__specs { display: block; border: 0; }
  .fp--magazyn .fp-feat__specs > div { padding: 9px 0 !important; border-right: 0 !important; }
  .fp-feat__cta .fp-btn { flex: 1 1 100%; }
  .fp-feat__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .fp-feat__thumbs .fp-feat__th--more { grid-column: auto !important; font-size: .74rem; }
  /* Karty ofert na telefonie: poziome, jak w makiecie mobilnej (więcej aut na ekranie). */
  .fp--salon .fp-grid .fp-card, .fp--gielda .fp-gl__tbl .fp-card { flex-direction: row; min-height: 112px; }
  .fp--salon .fp-grid .fp-card__media, .fp--gielda .fp-gl__tbl .fp-card__media { width: 40%; flex: none; aspect-ratio: auto; }
  .fp--salon .fp-grid .fp-card__body { padding: 12px 14px; gap: 6px; }
  .fp--salon .fp-grid .fp-card__row { flex-direction: column; gap: 4px; height: 100%; }
  .fp--salon .fp-grid .fp-card__price { order: 2; margin-top: auto; text-align: left; font-size: 1.45rem; }
  .fp--salon .fp-grid .fp-card__chips, .fp--salon .fp-grid .fp-card__foot, .fp--salon .fp-grid .fp-badge, .fp--salon .fp-grid .fp-card__cnt { display: none; }
  .fp--salon .fp-grid .fp-card__t { font-size: .98rem; }
  .fp--salon .fp-panel { grid-template-columns: 1fr 1fr; padding: 18px; }
  .fp--salon .fp-panel .fp-btn { grid-column: 1 / -1; }
  .fp--salon .fp-hero__t { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .fp-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(var(--fp-gutter) * -1); padding-inline: var(--fp-gutter); }
  .fp-chips::-webkit-scrollbar { display: none; }
  .fp-chip { flex: none; }
  .fp-liczby { grid-template-columns: repeat(3, 1fr); }
  .fp-liczby > div { padding: 14px 12px; }
  .fp-liczby dd { font-size: 1.5rem; }
  .fp-liczby dt { font-size: .74rem; }
  .fp-gal, .fp--inwestycje .fp-gal { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fp-gal li:first-child { grid-column: 1 / -1; grid-row: auto; }
  .fp-gal li:first-child .fp-gal__btn { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .fp-gal figcaption { display: none; }
  .fp--magazyn .fp-arts { grid-template-columns: 1fr; gap: 32px; }
  .fp--magazyn .fp-mast__name { font-size: clamp(3rem, 16vw, 4.6rem); }
  .fp-spis__row { grid-template-columns: 34px 1fr; }
  .fp-spis__p { grid-column: 2; font-size: 1.1rem; }
  .fp-spis__t a { font-size: 1.12rem; }
  .fp-quote__in { grid-template-columns: 1fr; gap: 0; }
  .fp-quote__m { font-size: 5rem; height: 56px; }
  .fp-gl__bar .fp-sort span { display: none; }
  .fp-gl__poz { width: 100%; margin: 0; }
  /* Tabela giełdy → karty: wiersz staje się blokiem z etykietami z data-l. */
  .fp-tbl--gielda thead { display: none; }
  .fp-tbl--gielda, .fp-tbl--gielda tbody { display: block; }
  .fp-tbl--gielda tr { display: grid; grid-template-columns: 96px 1fr auto; gap: 4px 12px; padding: 12px; border-bottom: 1px solid var(--fp-line); position: relative; }
  .fp-tbl--gielda td { border: 0; padding: 0; }
  .fp-tbl--gielda td.c { position: absolute; top: 14px; right: 12px; width: auto; }
  .fp-tbl--gielda td.img { grid-row: 1 / span 3; width: auto; }
  .fp-tbl--gielda td.img a { width: 96px; height: 72px; }
  .fp-tbl--gielda td.t { grid-column: 2 / span 2; min-width: 0; padding-right: 34px; }
  .fp-tbl--gielda td[data-l] { display: none; }
  .fp-tbl--gielda td[data-l="Cena"] { display: block; grid-column: 2; font-size: 1.05rem; text-align: left; }
  .fp-tbl--gielda td[data-l="Rok"], .fp-tbl--gielda td[data-l="Przebieg"] { display: inline; }
  .fp-tbl--gielda td.go { grid-column: 3; grid-row: 3; }
  .fp-tbl--gielda td[data-l="Rok"] { grid-column: 2; font-size: .8rem; color: var(--fp-muted); }
  .fp-tbl--gielda td[data-l="Przebieg"] { grid-column: 3; grid-row: 2; font-size: .8rem; color: var(--fp-muted); }
  .fp-cmp { bottom: 76px; }
  .fp-cmp__in { flex-wrap: wrap; }
  .fp-cmp__l li { flex-basis: 180px; }
  .fp-cmp__in .fp-btn { width: 100%; }
  .fp-port { grid-template-columns: 1fr; gap: 28px; }
  .fp-port .fp-card--duza:nth-child(1) { grid-column: auto; }
  .fp--rezydencje .fp-s--hero .fp-hero { min-height: 560px; }
  .fp--rezydencje .fp-hero__in { padding-block: 200px 36px; }
  .fp--rezydencje .fp-hero__t { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .fp--rezydencje .fp-hero__card { display: none; }
  .fp--rezydencje.fp--hero-pierwsza .fp-top .fp-nav { display: none; }
  .fp--rezydencje .fp-onas__lead { font-size: 1.45rem; }
  .fp--rezydencje .fp-team { grid-template-columns: 1fr; gap: 0; }
  .fp--rezydencje .fp-team__o { grid-template-columns: 56px 1fr; text-align: left; justify-items: start; padding: 16px 0; border: 0; border-bottom: 1px solid var(--fp-line); }
  .fp--rezydencje .fp-team__txt { align-items: flex-start; }
  .fp--rezydencje .fp-team__ini, .fp--rezydencje .fp-team__img { width: 56px; height: 56px; font-size: 1.3rem; }
  .fp-mbar { position: static; }
  .fp-mbar__in { gap: 10px; }
  .fp-mbar .fp-f--in:nth-of-type(n+3) { flex: 1 1 100%; }
  .fp-mbar .fp-f--in input { flex: 1; width: auto !important; }
  .fp-mbar .fp-btn { width: 100%; margin: 0; }
  .fp-hcard { grid-template-columns: 116px 1fr; min-height: 128px; }
  .fp-hcard__body { padding: 12px; }
  .fp-hcard__t { font-size: .94rem; }
  .fp-hcard__k { font-size: .64rem; }
  .fp-hcard__price { font-size: 1.15rem; }
  .fp-split--bez-mapy .fp-hlist { grid-template-columns: 1fr; }
  .fp-split__map { height: 46vh; }
  .fp--inwestycje .fp-hero__stats dd { font-size: 1.25rem; }
  /* Tabela lokali → karty z etykietami. */
  .fp-tbl--lokale thead { display: none; }
  .fp-tbl--lokale, .fp-tbl--lokale tbody, .fp-tbl--lokale tr { display: block; }
  .fp-tbl--lokale tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--fp-line); }
  .fp-tbl--lokale td { border: 0; padding: 0 !important; text-align: left !important; }
  .fp-tbl--lokale td[data-l]::before { content: attr(data-l); display: block; font-family: var(--fp-fb); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fp-muted); }
  .fp-tbl--lokale td:last-child { grid-column: 1 / -1; }
  .fp-tbl--lokale td:last-child .fp-btn { width: 100%; }
  .fp-docs { grid-template-columns: 1fr; }
  .fp-docs__g li { grid-template-columns: 30px 1fr; }
  .fp-docs__meta { grid-column: 2; }
  .fp-lb__nav { width: 44px; height: 44px; }
  .fp-lb__nav--p { left: 8px; } .fp-lb__nav--n { right: 8px; }
  /* Dolny pasek kontaktu — jak w makietach *_Mobile. */
  .fp-dock { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--fp-bg); border-top: 1px solid var(--fp-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .12); }
  .fp-dock .fp-btn { flex: 1; min-height: 48px; padding: 0 10px; font-size: .9rem; }
  .fp-stopka { padding-bottom: 76px; }
  .fp-toast { bottom: 150px; }
  .fp-map__chk { font-size: .82rem; padding: 8px 10px; left: 10px; top: 10px; }
  .fp-map__leg { display: none; }
}
@media (max-width: 400px) {
  .fp-logo { width: 64px; height: 40px; }
  .fp-feat__specs dd { font-size: 1.2rem; }
  .fp-liczby { grid-template-columns: 1fr 1fr; }
  .fp-f--in > span { min-width: 44px; }
}

/* Ruch: animacje i przybliżenia wyłączone dla osób, które o to proszą w systemie. */
@media (prefers-reduced-motion: reduce) {
  .fp *, .fp *::before, .fp *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .fp-card:hover .fp-card__media img, .fp-gal__btn:hover img { transform: none; }
}
@media print {
  .fp-dock, .fp-cmp, .fp-util__r, .fp-map, .fp-form { display: none !important; }
}

/* Poprawki po zrzutach 2026-09-29 */
.fp-cta .fp-btn--akcent { background: var(--fp-akcent); color: var(--fp-na-akcencie); }
.fp--salon.fp-tryb--ciemny .fp-s--finansowanie { color-scheme: light; }
.fp--magazyn .fp-fin { border-top: 0; padding-top: 0; }
.fp--magazyn .fp-fin::before { content: ""; grid-column: 1 / -1; height: 3px; background: var(--fp-ink); margin-bottom: -8px; }
@media (max-width: 760px) { .fp-util__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .fp-util__btn .bi { font-size: 1.05rem; } .fp-util__r { gap: 14px; } }

/* Poprawki telefonu po zrzutach 390 px */
.fp-map__chk { left: auto; right: 18px; }
.fp-spis-tools .fp-szukaj { flex: 1 1 260px; }
@media (max-width: 760px) {
  .fp-btn { white-space: normal; text-align: center; }
  .fp--gielda .fp-feat__specs { grid-template-columns: 1fr 1fr; }
  .fp--gielda .fp-feat { padding: 16px; margin-top: 16px; }
  .fp-feat__thumbs .fp-feat__th:nth-child(3):not(.fp-feat__th--more) { display: none; }
  .fp-team__o { grid-template-columns: 56px 1fr; align-items: center; padding: 14px 16px; }
  .fp-team__img, .fp-team__ini { width: 56px; height: 56px; font-size: 1.15rem; }
  .fp--rezydencje .fp-top__sub span + span { display: none; }
  .fp-port .fp-card__row { flex-direction: column; gap: 2px; }
  .fp-port .fp-card__price { text-align: left; }
  .fp-f--zakres { flex: 1 1 100%; }
  .fp-f--zakres > span:first-child { min-width: 52px; }
  .fp-mbar .fp-f--zakres input { flex: 1; width: 0 !important; min-width: 0; }
  .fp--inwestycje .fp-hero__cta .fp-btn { flex: 1 1 100%; }
  .fp--magazyn .fp-mast__name { font-size: clamp(2.4rem, 13.5vw, 4.6rem); overflow-wrap: anywhere; }
  .fp-spis-tools .fp-szukaj { flex-basis: 100%; }
  /* Lokale: zwarta karta 3 kolumny, lokalizacja i przycisk na całą szerokość. */
  .fp-tbl--lokale tr { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; padding: 12px; }
  .fp-tbl--lokale td[data-l="Lokalizacja"], .fp-tbl--lokale td:last-child { grid-column: 1 / -1; }
  .fp-tbl--lokale td[data-l="Cena"] { font-size: 1rem; }
}
@media (min-width: 981px) {
  .fp-nav { flex-wrap: nowrap; }
  .fp-top__id { flex: 0 1 auto; }
  .fp--rezydencje .fp-nav { gap: 4px 18px; }
  .fp--rezydencje .fp-nav a { letter-spacing: .14em; }
  .fp--rezydencje .fp-nav__n { display: none; }
}
