/* =========================================================
   POLSTAL — systemy ogrodzeniowe · wizualizacja koncepcyjna
   Styl branżowy: jasne tła, Montserrat, dwutonowe nagłówki,
   packshoty produktów, ostre krawędzie, zieleń jako kolor akcji.
   ========================================================= */

/* Montserrat (SIL OFL 1.1) z własnego serwera — adresy IP odwiedzających nie trafiają do Google (pliki: tools/vendor.py) */
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Granat + stal — kontrasty sprawdzone pod WCAG 2.2 AA */
  --white: #ffffff;
  --bg: #f2f4f6;          /* jasna stal */
  --grey: #e4e8ec;
  --grey-2: #d3d9df;
  --line: #d5dbe1;
  --line-2: #b4bec8;
  --field: #7d8996;       /* obramowania pól i przełączników: 3,6:1 */
  --ink: #0f1a26;
  --char: #0c2240;        /* ciemny granat — sekcje kontrastowe, stopka */
  --text-2: #4f5b68;      /* 7,2:1 na białym */
  --mute: #5f6b78;        /* 5,5:1 na białym, 5,0:1 na --bg */
  --navy: #14325a;        /* kolor akcji (CTA): 13:1 z białym tekstem */
  --navy-2: #0c2240;
  --navy-light: #e7eef6;
  --steel: #8a98a8;
  --steel-on-dark: #a9bdd3;
  --link: #22589a;
  --focus: #2f6fbf;
  --star: #f0a91c;
  --err: #b3261e;

  --f: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: .25s;

  --z-header: 40;
  --z-tabbar: 50;
  --z-sheet: 100;
  --z-toast: 200;

  --header-h: 84px;
  --tabbar-h: 0px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
input, select, textarea { -webkit-appearance: none; appearance: none; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.why :focus-visible, .footer :focus-visible, .topbar :focus-visible, .cta-band :focus-visible { outline-color: #9cc3ff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section__head > *, .cfg > *, .mount__grid > *, .prices__grid > *, .faq__grid > *, .why__grid > *, .footer__grid > *, .hero > * { min-width: 0; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic--lg { width: 34px; height: 34px; stroke-width: 1.3; }
.flip { transform: scaleX(-1); }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--navy); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Typografia ---------- */
.kicker { margin: 0 0 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.h2 { margin: 0; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.12; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
.h2--center { text-align: center; }
.t-mute { color: var(--mute); }
.lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--text-2); max-width: 560px; }
.lead strong { color: var(--ink); font-weight: 600; }
.lead--center { text-align: center; margin: 20px auto 0; max-width: 720px; }

/* ---------- Przyciski ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px;
  border: 1.5px solid var(--bd); background: var(--bg); color: var(--fg);
  font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background var(--t), color var(--t), border-color var(--t), transform .15s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn .ic { width: 17px; height: 17px; transition: transform var(--t) var(--ease); }
.btn:hover .ic:not(.flip) { transform: translateX(3px); }
.btn--accent { --bg: var(--navy); --fg: #fff; }
.btn--accent:hover { --bg: var(--navy-2); }
.btn--dark { --bg: var(--char); --fg: #fff; }
.btn--dark:hover { --bg: #000; }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: #fff; }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 11.5px; }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 13.5px; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn.is-loading span { opacity: 0; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link { background: none; border: 0; padding: 0; color: var(--link); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.iconbtn { width: 48px; height: 48px; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); transition: background var(--t), color var(--t), border-color var(--t); }
.iconbtn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.tag { display: inline-flex; align-items: center; padding: 6px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; line-height: 1; }
.tag--accent { background: var(--navy); }

/* ---------- Topbar & header ---------- */
.topbar { background: var(--char); color: #c3cfdb; font-size: 12.5px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar__list a { text-decoration: none; }
.topbar__list a:hover { color: #fff; }
.topbar .ic { width: 15px; height: 15px; color: var(--steel-on-dark); }
.topbar__note { margin: 0; font-weight: 500; color: #fff; }

.header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow var(--t); }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.25); }
.header.is-hidden { transform: translateY(-100%); }
.header__in { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

/* Logo „Brama” (symbole z src/logo.svg): słupki i litery = color, skrzydła bramy = --logo-accent */
.logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: var(--navy); --logo-accent: var(--steel); --logo-tag: var(--mute); }
.logo__img { display: block; height: 42px; width: auto; }
.logo__img--short { display: none; }
.logo--light { color: #fff; --logo-accent: var(--steel-on-dark); --logo-tag: var(--steel-on-dark); }
.footer .logo__img { height: 48px; }

.nav { display: flex; gap: 26px; margin-inline: auto; white-space: nowrap; }
.nav a { position: relative; padding: 8px 0; text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: color var(--t); }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover { color: var(--navy); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.header__cta { display: flex; align-items: center; gap: 22px; }
.header__phone { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.header__phone .ic { width: 20px; height: 20px; color: var(--navy); }
.header__phone small { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }
.appbar__call { display: none; }

/* ---------- HERO (podział jak u producentów: tekst | zdjęcie realizacji) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: clamp(560px, calc(100svh - 124px), 820px); background: var(--bg); }
.hero__copy { align-self: center; padding: 72px clamp(28px, 3vw, 56px) 128px var(--edge); }
.hero__title { margin: 0 0 26px; font-size: clamp(36px, min(4vw, 8vh), 66px); line-height: 1.04; font-weight: 600; letter-spacing: -.03em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp .9s var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes lineUp { to { transform: none; } }
.hero__lead { margin: 0 0 34px; max-width: 520px; font-size: 17px; color: var(--text-2); opacity: 0; animation: fadeUp .8s .35s var(--ease-out) forwards; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeUp .8s .45s var(--ease-out) forwards; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 30px 0 0; padding: 0; font-size: 13.5px; font-weight: 500; color: var(--text-2); opacity: 0; animation: fadeUp .8s .55s var(--ease-out) forwards; }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 17px; height: 17px; color: var(--navy); stroke-width: 2.2; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__media { position: relative; overflow: hidden; background: var(--grey); min-height: 420px; }
.hero__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide figcaption { position: absolute; left: 32px; bottom: 96px; padding: 10px 14px; background: rgba(255,255,255,.94); font-size: 12.5px; font-weight: 600; }
.hero__nav { position: absolute; right: 0; bottom: 64px; display: flex; align-items: stretch; background: #fff; }
.hero__count { display: grid; place-items: center; padding: 0 18px; font-size: 13px; font-weight: 500; color: var(--mute); }
.hero__count b { color: var(--ink); font-weight: 700; }
.hero__btn { width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-left: 1px solid var(--line); background: #fff; transition: background var(--t), color var(--t); }
.hero__btn:hover { background: var(--ink); color: #fff; }

/* Szybka wycena — biały pasek nachodzący na hero */
.quick {
  position: relative; z-index: 3; margin-top: -64px;
  display: grid; grid-template-columns: auto auto minmax(180px, 1fr) auto auto; align-items: center; gap: 28px;
  padding: 24px 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(0,0,0,.35);
}
.quick__title { margin: 0; font-size: 17px; font-weight: 700; white-space: nowrap; }
.quick__note { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.quick__note .ic { width: 14px; height: 14px; color: var(--navy); }
.quick__types { border: 0; padding: 0; margin: 0; display: flex; }
.quick__types label { position: relative; }
.quick__types label + label span { border-left: 0; }
.quick__types input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.quick__types span { display: flex; align-items: center; min-height: 44px; padding: 0 13px; white-space: nowrap; border: 1.5px solid var(--line-2); font-size: 13px; font-weight: 600; transition: background var(--t), color var(--t); }
.quick__types label:hover span { background: var(--bg); }
.quick__types input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.quick__types input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.quick__range span { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 500; color: var(--text-2); margin-bottom: 6px; }
.quick__range output { color: var(--ink); font-weight: 700; }
.quick__result { display: flex; flex-direction: column; }
.quick__result span { font-size: 12px; color: var(--text-2); }
.quick__result strong { font-size: 22px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Range */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 0; background: transparent; cursor: pointer; --p: 20%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--navy) var(--p), var(--steel) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; background: var(--steel); }
input[type="range"]::-moz-range-progress { height: 4px; background: var(--navy); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; background: #fff; border: 2px solid var(--navy); box-shadow: 0 2px 6px rgba(0,0,0,.18); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 0; background: #fff; border: 2px solid var(--navy); }

/* Liczby */
.stats { padding: 64px 0 56px; background: var(--white); border-bottom: 1px solid var(--line); }
.stats__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 4px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(32px, 3.2vw, 46px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--text-2); }

/* ---------- Sekcje ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section__head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 60px); }

/* ---------- Kategorie (kafle ze zdjęciem) ---------- */
.cats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(36px, 4.5vw, 56px); }
.cat { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; text-decoration: none; color: #fff; background: var(--grey); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55)); transition: background .5s; }
.cat:hover img { transform: scale(1.05); }
.cat:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.15) 20%, rgba(0,0,0,.65)); }
.cat__body { position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 32px; text-align: center; }
.cat__body b { font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.cat__body small { margin-top: 6px; font-size: 14px; font-weight: 500; opacity: .9; }
.cat__btn { margin-top: 18px; display: inline-flex; align-items: center; min-height: 42px; padding: 0 20px; background: var(--navy); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: background var(--t); }
.cat:hover .cat__btn { background: var(--navy-2); }

/* ---------- Katalog: karty z packshotem ---------- */
.catalog { background: var(--bg); }
.cat-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 30px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); transition: color var(--t); }
.chip span { font-size: 11px; color: var(--mute); }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--navy); transform: scaleX(0); transition: transform .3s var(--ease); }
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); }
.chip.is-active::after { transform: scaleX(1); }
.search { position: relative; flex: 0 1 280px; margin-bottom: 8px; }
.search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mute); }
.search input { width: 100%; min-height: 44px; padding: 0 14px 0 42px; border: 1.5px solid var(--field); background: #fff; font-size: 15px; }
.search input:focus { outline: none; border-color: var(--ink); }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { position: relative; display: flex; flex-direction: column; background: #fff; cursor: pointer; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.product:hover { box-shadow: 0 24px 48px -28px rgba(0,0,0,.3); transform: translateY(-4px); }
.product.is-hidden { display: none; }
.product.is-in { animation: cardIn .5s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.product__img { position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--grey); }
.product__spec { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(54px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.04em; line-height: 1; text-transform: uppercase; color: rgba(255,255,255,.75); white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.product__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform 1.2s var(--ease-out); }
.product__pack { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4% 6% 6%; transition: transform .8s var(--ease-out), opacity .4s; }
.product.has-pack .product__photo { opacity: 0; }
.product.has-pack:hover .product__photo { opacity: 1; transform: scale(1.04); }
.product.has-pack:hover .product__spec, .product.has-pack:hover .product__pack { opacity: 0; }
.product:not(.has-pack) .product__spec { display: none; }
.product__img .tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.product__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.product__cat { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.product__name { margin: 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.product__desc { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.product__specs { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 16px; }
.product__specs li { padding: 5px 8px; background: var(--bg); font-size: 11.5px; font-weight: 600; color: var(--text-2); }
.product__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.swatches { display: flex; gap: 4px; }
.swatches i { width: 14px; height: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.product__price { margin: 0; font-size: 12.5px; color: var(--text-2); }
.product__price strong { font-size: 17px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.product__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 16px; }
.product__actions .btn { padding-inline: 8px; }
.product__chev { display: none; }
.catalog__more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 44px; }
.fine { margin: 0; font-size: 12.5px; color: var(--text-2); text-align: center; }
.empty { text-align: center; padding: 48px 0; color: var(--text-2); }

/* ---------- Dlaczego warto (ciemna sekcja) ---------- */
.why { background: var(--char); color: #fff; }
.why__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why__img { position: relative; margin: 0; aspect-ratio: 5 / 6; overflow: hidden; }
.why__img img { width: 100%; height: 100%; object-fit: cover; }
.why__img figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 16px; background: var(--navy); font-size: 12.5px; font-weight: 600; }
.why .h2 { font-size: clamp(36px, 4.4vw, 64px); }
.why .t-mute { color: #9fb2c6; }
.why .lead { color: #c3cfdb; margin-top: 18px; }
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 40px; list-style: none; margin: 44px 0 0; padding: 0; }
.feats li { display: flex; flex-direction: column; gap: 6px; }
.feats .ic { width: 36px; height: 36px; padding: 8px; margin-bottom: 8px; background: rgba(255,255,255,.08); color: var(--steel-on-dark); }
.feats b { font-size: 16px; font-weight: 700; }
.feats span { font-size: 14px; color: #b9c6d3; }

/* ---------- Konfigurator 3D ---------- */
.config { background: var(--bg); }
.cfg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; background: #fff; border: 1px solid var(--line); }
.cfg__stage { position: sticky; top: calc(var(--header-h) + 16px); border-right: 1px solid var(--line); }
.cfg__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--line); }
.cfg__label { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13.5px; color: var(--text-2); min-width: 0; }
.cfg__label .ic { width: 18px; height: 18px; color: var(--navy); }
.cfg__label > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfg__label b { color: var(--ink); font-weight: 700; }
.sw { display: inline-block; width: 10px; height: 10px; vertical-align: -1px; margin-right: 4px; background: var(--sw, #383e42); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.toggle { display: flex; flex: none; border: 1.5px solid var(--line-2); background: #fff; }
.toggle button { min-height: 36px; padding: 0 14px; border: 0; background: transparent; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); transition: background var(--t), color var(--t); }
.toggle button + button { border-left: 1.5px solid var(--line-2); }
.toggle button:hover { color: var(--ink); }
.toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle--sm button { min-height: 34px; padding: 0 12px; }

.cfg__canvas { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #f0f2f4 0%, #e3e7eb 100%); }
.cfg__3d, .cfg__3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.cfg__3d canvas { cursor: grab; outline: none; }
.cfg__3d canvas:active { cursor: grabbing; }
.cfg__canvas.is-fallback { background: center / cover no-repeat url("https://images.unsplash.com/photo-1634841999653-dad28648a43a?auto=format&fit=crop&w=1400&q=70"); }
.cfg__loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); transition: opacity .6s; }
.cfg__loader i { width: 140px; height: 3px; background: var(--grey-2); position: relative; overflow: hidden; }
.cfg__loader i::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform: translateX(-100%); animation: load 1.2s var(--ease) infinite; }
@keyframes load { to { transform: translateX(100%); } }
.cfg__canvas.is-ready .cfg__loader, .cfg__canvas.is-fallback .cfg__loader { opacity: 0; pointer-events: none; }
.cfg__canvas.is-busy .cfg__loader { opacity: 1; background: rgba(240,242,244,.6); }
.cfg__hint { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 36px; padding: 0 12px; background: rgba(255,255,255,.92); font-size: 12px; font-weight: 600; color: var(--text-2); pointer-events: none; transition: opacity .5s; }
.cfg__hint .ic { width: 16px; height: 16px; color: var(--navy); }
.cfg__canvas.is-touched .cfg__hint { opacity: 0; }
.cfg__tools { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.cfg__gatebtn { display: inline-flex; align-items: center; gap: 8px; min-height: 37px; padding: 0 14px; border: 0; background: var(--navy); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: background var(--t); }
.cfg__gatebtn:hover { background: var(--navy-2); }
.cfg__gatebtn .ic { width: 15px; height: 15px; }
.cfg__summary { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 20px 22px; border-top: 1px solid var(--line); }
.cfg__price span { display: block; font-size: 12px; font-weight: 500; color: var(--text-2); }
.cfg__price strong { display: block; font-size: clamp(24px, 2.2vw, 32px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cfg__price small { font-size: 11.5px; color: var(--mute); }
.cfg__chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; justify-content: flex-end; }
.cfg__chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; background: var(--bg); font-size: 12px; font-weight: 500; color: var(--text-2); animation: cardIn .3s var(--ease-out) both; }
.cfg__chips li::before { content: ""; width: 8px; height: 4px; border: solid var(--navy); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-1px); }

.cfg__panel { padding: 26px 28px 28px; display: flex; flex-direction: column; min-height: 660px; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.steps__i { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 2px 0 12px; border: 0; background: none; font-size: 11.5px; font-weight: 600; color: var(--mute); min-height: 44px; transition: color var(--t); }
.steps__i span { display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--text-2); background: #fff; transition: all var(--t); }
.steps__i:hover { color: var(--ink); }
.steps__i.is-done span { border-color: var(--navy); color: var(--navy); background: var(--navy-light); }
.steps__i.is-active { color: var(--ink); }
.steps__i.is-active span { background: var(--navy); border-color: var(--navy); color: #fff; }
.steps__bar { height: 3px; background: var(--grey); margin: 0 0 26px; overflow: hidden; }
.steps__bar span { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: 0 50%; transform: scaleX(.1667); transition: transform .5s var(--ease-out); }

.cfg__steps { position: relative; flex: 1; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn .45s var(--ease-out) both; }
.step.is-back.is-active { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(22px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-22px); } }
.step__title { margin: 0 0 18px; padding: 0; font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.step__sub { margin: -8px 0 18px; font-size: 14.5px; color: var(--text-2); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color var(--t), background var(--t); }
.tile:hover { border-color: var(--line-2); background: var(--bg); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile:has(input:checked) { border-color: var(--navy); background: var(--navy-light); box-shadow: inset 0 0 0 1px var(--navy); }
.tile:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.tile__ico { display: grid; place-items: center; height: 54px; margin-bottom: 8px; background: var(--grey); color: var(--char); }
.tile__ico svg { width: 50px; height: 32px; fill: currentColor; }
.tile__ico .ic { width: 22px; height: 22px; fill: none; }
.tile:has(input:checked) .tile__ico { background: #fff; color: var(--navy); }
.tile b { font-size: 14.5px; font-weight: 700; }
.tile small { font-size: 12px; color: var(--text-2); }
.tile--row { flex-direction: row; align-items: center; gap: 14px; }
.tile--row .tile__ico { width: 46px; height: 46px; flex: none; margin: 0; }
.tile--row > span:not(.tile__ico) { display: flex; flex-direction: column; flex: 1; }
.tiles--mount { grid-template-columns: 1fr; margin-bottom: 22px; }
.tiles--gate { margin-bottom: 12px; }

.field { margin-bottom: 22px; }
.field__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.field__row label, .field__label { margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.field__row label { margin: 0; }
.pill { display: inline-flex; padding: 6px 10px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.stepper button { min-height: 44px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; transition: border-color var(--t), background var(--t); }
.stepper button:hover { border-color: var(--ink); }
.hint { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13.5px; color: var(--text-2); }
.hint .ic { width: 16px; height: 16px; color: var(--navy); }
.hint--warn { padding: 10px 12px; background: #fff6e5; color: #6b4a07; }

.seg { display: grid; grid-template-columns: repeat(5, 1fr); border: 1.5px solid var(--line-2); }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; }
.seg label + label { border-left: 1.5px solid var(--line-2); }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 46px; padding: 0 4px; font-size: 13px; font-weight: 600; text-align: center; transition: background var(--t), color var(--t); }
.seg label:hover span { background: var(--bg); }
.seg input:checked + span { background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: -2px; }

.colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.color { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px; border: 1.5px solid var(--line); cursor: pointer; transition: border-color var(--t), background var(--t); }
.color:hover { border-color: var(--line-2); }
.color input { position: absolute; opacity: 0; }
.color i { width: 34px; height: 34px; flex: none; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), inset 0 -10px 14px rgba(0,0,0,.18); }
.color i.wood { background: repeating-linear-gradient(100deg, #a86b32 0 4px, #94592a 4px 6px, #b47a3e 6px 11px); }
.color span { display: flex; flex-direction: column; font-size: 13px; font-weight: 700; line-height: 1.3; }
.color small { font-size: 11.5px; font-weight: 500; color: var(--text-2); }
.color:has(input:checked) { border-color: var(--navy); background: var(--navy-light); box-shadow: inset 0 0 0 1px var(--navy); }
.color:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }

.switch { display: flex; align-items: center; gap: 14px; padding: 13px 0; cursor: pointer; border-top: 1px solid var(--line); }
.switch input { position: absolute; opacity: 0; }
.switch__ui { position: relative; width: 44px; height: 24px; flex: none; background: var(--field); transition: background var(--t); }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.switch input:checked + .switch__ui { background: var(--navy); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--navy); outline-offset: 2px; }
.switch > span:last-child { display: flex; flex-direction: column; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.switch small { font-size: 12.5px; font-weight: 500; color: var(--text-2); }
.switch.is-disabled { opacity: .4; pointer-events: none; }

/* Formularze */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.input { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.input label { font-size: 13px; font-weight: 600; }
.input label small { font-weight: 500; color: var(--text-2); }
.input input, .input select, .input textarea { width: 100%; min-height: 50px; padding: 12px 14px; font-size: 16px; border: 1.5px solid var(--field); background: #fff; transition: border-color var(--t); }
.input select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input textarea { resize: vertical; min-height: 76px; }
.input input::placeholder, .input textarea::placeholder { color: #6b7785; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--navy); }
.input.is-invalid input { border-color: var(--err); background: #fdf3f2; }
.input.is-valid input { border-color: var(--navy); }
.err { margin: 0; font-size: 13px; font-weight: 500; color: var(--err); }
.err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; color: var(--text-2); cursor: pointer; }
.check input { position: relative; width: 22px; height: 22px; flex: none; margin: 0; border: 1.5px solid var(--field); background: #fff; cursor: pointer; }
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check a { color: var(--ink); }

.step--done h3 { margin: 18px 0 10px; font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.step--done p { margin: 0 0 20px; color: var(--text-2); }
.done__ico { width: 60px; height: 60px; display: grid; place-items: center; background: var(--navy); color: #fff; animation: pop .5s var(--ease-out) both; }
.done__ico .ic { width: 28px; height: 28px; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .25s forwards; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done__next { list-style: none; counter-reset: n; padding: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
.done__next li { counter-increment: n; display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.done__next li::before { content: counter(n); display: grid; place-items: center; width: 26px; height: 26px; background: var(--navy-light); color: var(--navy); font-weight: 700; font-size: 13px; }
.done__next b { flex: 1; font-size: 14.5px; }
.done__next span { font-size: 13px; color: var(--text-2); }

.cfg__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.cfg__navprice { display: none; margin: 0; }
.cfg.is-done .cfg__nav { display: none; }

/* ---------- Montaż ---------- */
.mount { background: var(--white); }
.mount__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.mount__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.answer { margin: 28px 0; padding: 20px 22px; background: var(--navy-light); border-left: 3px solid var(--navy); }
.answer p { margin: 0; font-size: 15.5px; }
.answer__label { margin-bottom: 8px !important; font-size: 11.5px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; --fill: 0; }
.tl { position: relative; padding: 30px 28px 32px; background: var(--bg); transition: background .5s; }
.tl::before { content: ""; position: absolute; inset: 0 auto auto 0; height: 3px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease-out); }
.tl.is-lit::before { transform: scaleX(1); }
.tl__n { display: block; margin-bottom: 18px; font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--steel); transition: color .5s; }
.tl.is-lit .tl__n { color: var(--navy); }
.tl h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.tl .tag { background: #fff; color: var(--ink); border: 1px solid var(--line-2); margin-bottom: 12px; }
.tl p { margin: 0; font-size: 14.5px; color: var(--text-2); }

/* ---------- Realizacje (mozaika) ---------- */
.works { background: var(--bg); }
.works__ctrl { display: none; gap: 8px; justify-self: end; }
.rail { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(220px, 21vw, 300px); gap: 20px; }
.work { position: relative; margin: 0; overflow: hidden; background: var(--grey); }
.work--big { grid-row: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.work:hover img { transform: scale(1.05); }
.work figcaption { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; }
.work b { font-size: 18px; font-weight: 700; }
.work span { font-size: 13px; opacity: .88; }
.rail.is-drag { cursor: grabbing; }
.rail.is-drag .work { pointer-events: none; }

/* ---------- Cennik ---------- */
.prices { background: var(--white); }
.prices__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.byline { margin: 0; font-size: 12.5px; color: var(--text-2); }
.table-wrap { display: grid; gap: 22px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 16px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable thead th { padding-top: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); border-bottom: 2px solid var(--ink); }
.ptable tbody th { font-weight: 600; }
.ptable td:nth-child(2) { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ptable td:last-child { color: var(--text-2); white-space: nowrap; }
.ptable tbody tr:hover { background: var(--bg); }

/* ---------- Opinie ---------- */
.reviews { background: var(--bg); }
.gscore { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.gscore strong { font-size: 64px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.gscore small { display: block; font-size: 13px; color: var(--text-2); }
.stars { color: var(--star); letter-spacing: 2px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 14px; }
.review p { margin: 0; font-size: 16px; line-height: 1.6; }
.review footer { margin-top: auto; display: flex; flex-direction: column; font-size: 13px; color: var(--text-2); padding-top: 14px; border-top: 1px solid var(--line); }
.review footer b { color: var(--ink); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); }
.acc { border-top: 2px solid var(--ink); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; line-height: 1.4; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--navy); }
.acc summary .ic { width: 32px; height: 32px; padding: 7px; border: 1.5px solid var(--line-2); color: var(--ink); transition: transform .35s var(--ease), background var(--t), border-color var(--t), color var(--t); }
.acc details[open] summary .ic { transform: rotate(45deg); background: var(--navy); border-color: var(--navy); color: #fff; }
.acc details > div { padding: 0 56px 22px 0; color: var(--text-2); }
.acc details > div p { margin: 0; }
.acc details > div strong { color: var(--ink); }
.acc details[open] > div { animation: fadeUp .35s var(--ease-out); }
.magnet { display: flex; gap: 16px; margin-top: 32px; padding: 24px; background: var(--bg); }
.magnet .ic--lg { color: var(--navy); }
.magnet > div { flex: 1; min-width: 0; }
.magnet b { font-size: 15.5px; }
.magnet p { margin: 4px 0 14px; font-size: 14px; color: var(--text-2); }
.magnet__form { display: flex; }
.magnet__form input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--field); border-right: 0; background: #fff; font-size: 16px; }
.magnet__form input:focus { outline: none; border-color: var(--ink); }

/* ---------- Kontakt (zdjęcie | formularz) ---------- */
.final { display: grid; grid-template-columns: 1fr 1fr; background: var(--grey); }
.final__img { margin: 0; min-height: 640px; position: relative; }
.final__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final__body { padding: clamp(48px, 6vw, 96px) var(--edge) clamp(48px, 6vw, 96px) clamp(32px, 5vw, 80px); align-self: center; }
.leadform { display: grid; gap: 10px; margin-top: 28px; max-width: 560px; }
.leadform .check { margin-top: 4px; }
.leadform__proof { margin: 4px 0 0; font-size: 13px; color: var(--text-2); text-align: center; }
.final__contact { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; max-width: 560px; }
.final__contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.final__contact .ic { width: 18px; height: 18px; color: var(--navy); }
.final__contact a { font-weight: 700; text-decoration: none; }
.final__contact span { color: var(--text-2); }

/* ---------- Stopka ---------- */
.footer { background: var(--char); color: #c0cad5; padding: 72px 0 calc(28px + var(--tabbar-h)); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer__about { max-width: 360px; margin: 20px 0 0; color: #aebbc8; }
.footer nav { display: flex; flex-direction: column; gap: 10px; }
.footer nav a { text-decoration: none; width: max-content; max-width: 100%; transition: color var(--t); }
.footer nav a:hover { color: #fff; }
.footer__h { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: #9fb0c1; }
.footer__bottom p { margin: 0; }

.tabbar { display: none; }

/* ---------- Sheet / drawer ---------- */
.sheet { position: fixed; inset: 0; z-index: var(--z-sheet); visibility: hidden; pointer-events: none; }
.sheet.is-open { visibility: visible; pointer-events: auto; }
.sheet__scrim { position: absolute; inset: 0; background: rgba(20,20,19,.5); opacity: 0; transition: opacity .35s var(--ease); }
.sheet.is-open .sheet__scrim { opacity: 1; }
.sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(540px, 100%); background: #fff; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .45s var(--ease-out); }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__grab { display: none; }
.sheet__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.sheet__media { position: relative; aspect-ratio: 16 / 10; background: var(--grey); overflow: hidden; }
.sheet__media:empty { display: none; }
.sheet__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet__media img.is-pack { object-fit: contain; padding: 6%; }
.sheet__body { padding: 26px 28px 34px; }
.sheet__body .product__cat { color: var(--navy); }
.sheet__title { margin: 0 0 8px; font-size: 28px; font-weight: 700; letter-spacing: -.015em; line-height: 1.15; padding-right: 48px; }
.sheet__media:not(:empty) ~ .sheet__body .sheet__title { padding-right: 0; }
.sheet__desc { margin: 0 0 22px; color: var(--text-2); }
.sheet__opts { padding: 18px; background: var(--bg); margin-bottom: 18px; }
.sheet__opts .field { margin-bottom: 14px; }
.sheet__opts[hidden] { display: none; }
#inqForm .input { margin-bottom: 12px; }
#inqForm .btn { margin-top: 18px; }
.sheet__trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; font-size: 13px; color: var(--text-2); }
.sheet__trust .ic { width: 16px; height: 16px; color: var(--navy); }

/* ---------- Exit intent ---------- */
.exit { position: fixed; inset: 0; z-index: var(--z-sheet); display: grid; place-items: center; padding: 16px; background: rgba(20,20,19,.55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.exit.is-open { opacity: 1; visibility: visible; }
.exit__card { position: relative; width: min(460px, 100%); padding: 44px 36px 36px; background: #fff; border-top: 4px solid var(--navy); transform: translateY(12px); transition: transform .45s var(--ease-out); }
.exit.is-open .exit__card { transform: none; }
.exit__card h2 { margin: 0 0 12px; font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.exit__card p { margin: 0 0 24px; color: var(--text-2); }
.exit__x { position: absolute; top: 10px; right: 10px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(28px + var(--tabbar-h)); z-index: var(--z-toast); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 12px; padding: 15px 20px; background: var(--char); color: #fff; font-size: 14.5px; font-weight: 600; transition: all .35s var(--ease-out); width: max-content; max-width: calc(100vw - 32px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: ""; width: 8px; height: 8px; background: var(--steel-on-dark); flex: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1480px) { .header__phone { display: none; } }
/* wąski komputer: logo z hasłem, 7 pozycji menu i przycisk muszą się zmieścić w jednym rzędzie */
@media (min-width: 1181px) and (max-width: 1360px) {
  .header__in { gap: 16px; }
  .header .logo__img { height: 38px; }
  .nav { gap: 10px; }
  .nav a { font-size: 11.5px; letter-spacing: .04em; }
  .header__cta .btn { padding-inline: 14px; }
}
@media (min-width: 1181px) and (max-width: 1480px) { .quick__note { display: none; } }

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .topbar__list li:last-child { display: none; }
  .quick { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .quick__head, .quick__types { grid-column: span 2; }
  .quick .btn { justify-self: end; }
  .products { grid-template-columns: repeat(3, 1fr); }
  .cfg { grid-template-columns: 1fr; }
  .cfg__stage { position: relative; top: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cfg__panel { min-height: 0; }
  .mount__grid { grid-template-columns: 1fr; }
  .mount__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   MOBILE — tryb „aplikacji”
   ========================================================= */
@media (max-width: 860px) {
  :root { --header-h: 60px; --tabbar-h: calc(66px + env(safe-area-inset-bottom)); }
  body { padding-bottom: var(--tabbar-h); }

  .topbar { display: none; }
  .header { padding-top: env(safe-area-inset-top); }
  .header.is-hidden { transform: none; }
  .header__in { gap: 12px; }
  .header__cta { display: none; }
  .header .logo__img--full, .lp-header .logo__img--full { display: none; }
  .header .logo__img--short, .lp-header .logo__img--short { display: block; height: 22px; }
  .appbar__call { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; background: var(--navy); color: #fff; }
  .appbar__call .ic { width: 18px; height: 18px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero__slide figcaption { left: 12px; top: 12px; bottom: auto; font-size: 11.5px; padding: 7px 10px; }
  .hero__nav { bottom: 0; }
  .hero__count { padding: 0 12px; font-size: 12px; }
  .hero__btn { width: 44px; height: 44px; }
  .hero__copy { padding: 30px var(--gutter) 36px; }
  .hero__title { font-size: clamp(32px, 9.4vw, 52px); margin-bottom: 18px; }
  .hero__lead { font-size: 16px; margin-bottom: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { gap: 8px 16px; font-size: 13px; }

  .quick { margin-top: 0; grid-template-columns: 1fr; gap: 16px; padding: 20px; box-shadow: none; }
  .quick__head, .quick__types { grid-column: auto; }
  .quick__types { display: grid; grid-template-columns: 1fr 1fr; }
  .quick__types span { justify-content: center; }
  .quick__types label:nth-child(n+3) span { border-top: 0; }
  .quick__types label:nth-child(odd) span { border-left: 1.5px solid var(--line-2); }
  .quick .btn { justify-self: stretch; }

  .stats { padding: 32px 0; }
  .stats__in { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .stat, .stat:first-child { padding: 0 14px; border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat span { font-size: 12.5px; }

  .section { padding-block: 60px; }
  .section__head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 26px; }
  .lead { font-size: 16px; }

  .cats__grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
  .cat { aspect-ratio: 1 / 1.05; }
  .cat__body { padding: 14px; }
  .cat__body b { font-size: 13px; letter-spacing: .04em; }
  .cat__body small, .cat__btn { display: none; }

  /* Katalog jako lista w aplikacji */
  .cat-tools { position: sticky; top: var(--header-h); z-index: 5; flex-direction: column-reverse; align-items: stretch; gap: 10px; margin: 0 calc(var(--gutter) * -1) 14px; padding: 10px var(--gutter) 0; background: rgba(242,244,246,.97); }
  .chips { gap: 22px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .search { flex: 1 1 auto; margin: 0; }
  .products { grid-template-columns: 1fr; gap: 8px; }
  .product { flex-direction: row; align-items: stretch; padding: 10px; gap: 14px; }
  .product:hover { transform: none; box-shadow: none; }
  .product:active { background: var(--bg); }
  .product__img { width: 112px; flex: none; aspect-ratio: auto; min-height: 112px; }
  .product__spec { font-size: 26px; }
  .product__img .tag { top: 0; left: 0; padding: 4px 5px; font-size: 8.5px; }
  .product.has-pack:hover .product__photo { opacity: 0; }
  .product.has-pack:hover .product__pack, .product.has-pack:hover .product__spec { opacity: 1; }
  .product__body { padding: 2px 28px 2px 0; }
  .product__cat { font-size: 10px; margin-bottom: 2px; }
  .product__name { font-size: 18px; margin-bottom: 4px; }
  .product__desc { font-size: 13px; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product__specs, .product__actions { display: none; }
  .product__foot { padding-top: 8px; }
  .swatches i { width: 12px; height: 12px; }
  .product__price strong { font-size: 15px; }
  .product__chev { display: block; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--mute); }

  .why__grid { grid-template-columns: 1fr; }
  .why__img { aspect-ratio: 4 / 3; }
  .feats { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }

  /* Konfigurator: podgląd przyklejony u góry, akcje nad dolnym paskiem */
  .config .section__head { margin-bottom: 18px; }
  .cfg { display: block; background: transparent; border: 0; }
  .cfg__stage { position: sticky; top: var(--header-h); z-index: 4; margin-inline: calc(var(--gutter) * -1); background: #fff; border-bottom: 1px solid var(--line); }
  .cfg__bar { padding: 8px var(--gutter); }
  .cfg__label { font-size: 12.5px; }
  #cfgBadgeColor, #cfgBadgeDim { display: none; }
  .toggle button { min-height: 32px; padding: 0 10px; font-size: 10.5px; }
  .cfg__canvas { aspect-ratio: 16 / 10; }
  .cfg__hint { left: 10px; bottom: 10px; min-height: 32px; padding: 0 9px; }
  .cfg__hint span { display: none; }
  .cfg__tools { right: 10px; bottom: 10px; gap: 6px; }
  .toggle--sm button { min-height: 32px; padding: 0 9px; }
  .cfg__gatebtn { min-height: 35px; padding: 0 10px; font-size: 10.5px; }
  .cfg__gatebtn span { display: none; }
  .cfg__summary { display: none; }
  .cfg__panel { padding: 18px 0 0; min-height: 0; }
  .steps__i { font-size: 10.5px; }
  .steps__i span { width: 28px; height: 28px; }
  .step__title { font-size: 19px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .tiles--mount { grid-template-columns: 1fr; }
  .tiles--gate { grid-template-columns: repeat(3, 1fr); }
  .tiles--gate .tile small { display: none; }
  .colors { grid-template-columns: repeat(2, 1fr); }
  .seg span { font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .cfg__nav {
    position: sticky; bottom: var(--tabbar-h); z-index: 3;
    margin: 20px calc(var(--gutter) * -1) 0; padding: 10px var(--gutter);
    background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  }
  .cfg__nav .btn { min-height: 48px; padding-inline: 16px; }
  .cfg__nav #cfgPrev span { display: none; }
  .cfg__navprice { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
  .cfg__navprice span { font-size: 11px; color: var(--text-2); }
  .cfg__navprice strong { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

  .timeline { grid-template-columns: 1fr; gap: 10px; }
  .tl { padding: 22px 20px; }
  .tl__n { font-size: 34px; margin-bottom: 12px; }

  .works__ctrl { display: none; }
  .rail { display: grid; grid-auto-flow: column; grid-auto-columns: 80vw; grid-template-columns: none; grid-auto-rows: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); gap: 10px; }
  .rail::-webkit-scrollbar { display: none; }
  .work, .work--big { grid-row: auto; aspect-ratio: 4 / 3.4; scroll-snap-align: start; }

  .prices__grid { grid-template-columns: 1fr; }
  .ptable { font-size: 14px; }
  .ptable th, .ptable td { padding: 13px 6px; }
  .ptable td:nth-child(2) { white-space: normal; }
  .ptable tbody th { font-size: 13.5px; }
  .ptable th:last-child, .ptable td:last-child { display: none; }

  .gscore { justify-content: flex-start; }
  .gscore strong { font-size: 48px; }
  .reviews__grid { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; gap: 10px; }
  .review { scroll-snap-align: start; padding: 22px; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid > div:first-child { position: static; }
  .acc summary { font-size: 16px; padding: 18px 0; }
  .acc details > div { padding-right: 0; }

  .final { grid-template-columns: 1fr; }
  .final__img { min-height: 0; aspect-ratio: 16 / 10; }
  .final__body { padding: 40px var(--gutter) 48px; }
  .final__contact { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__grid > div:first-child { grid-column: span 2; }
  .footer__bottom { flex-direction: column; }

  /* Dolna nawigacja aplikacji */
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-tabbar);
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: stretch;
    height: var(--tabbar-h); padding: 0 0 env(safe-area-inset-bottom);
    background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  }
  .tabbar__i { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-decoration: none; font-size: 10.5px; font-weight: 600; color: var(--mute); -webkit-tap-highlight-color: transparent; transition: color var(--t); }
  .tabbar__i .ic { width: 22px; height: 22px; }
  .tabbar__i.is-active { color: var(--navy); }
  .tabbar__i.is-active::before { content: ""; position: absolute; top: -1px; left: 26%; right: 26%; height: 3px; background: var(--navy); }
  .tabbar__fab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; align-self: center; justify-self: center; width: 56px; height: 56px; margin-top: -14px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-decoration: none; box-shadow: 0 10px 20px -8px rgba(20,50,90,.55); -webkit-tap-highlight-color: transparent; transition: transform .2s; }
  .tabbar__fab .ic { width: 22px; height: 22px; }
  .tabbar__fab:active { transform: scale(.94); }
  .tabbar__fab.is-active { background: var(--navy-2); }

  /* Bottom sheet */
  .sheet__panel { top: auto; left: 0; width: 100%; max-height: 92dvh; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
  .sheet.is-open .sheet__panel { transform: translateY(var(--drag, 0)); }
  .sheet.is-dragging .sheet__panel { transition: none; }
  .sheet__grab { display: flex; justify-content: center; position: sticky; top: 0; z-index: 3; padding: 10px 0 6px; margin-bottom: -24px; touch-action: none; }
  .sheet__grab span { width: 44px; height: 4px; background: var(--line-2); }
  .sheet__media { aspect-ratio: 16 / 9; }
  .sheet__body { padding: 20px 18px 28px; }
  .sheet__title { font-size: 24px; }

  .toast { bottom: calc(var(--tabbar-h) + 16px); }
  .exit { display: none; }
}

@media (max-width: 380px) {
  .tiles--gate b { font-size: 12.5px; }
  .seg span { font-size: 11px; }
  .toggle button { padding: 0 7px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span, .hero__lead, .hero__actions, .hero__trust { opacity: 1; transform: none; }
}

/* =========================================================
   PODSTRONY, LANDING PAGE ADS, ZGODY
   ========================================================= */
.btn--white { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--white:hover { --bg: var(--navy-light); --bd: var(--navy-light); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.75); }
.btn--ghost:hover { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.prose a, .crumbs a, .text-link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.text-link { font-weight: 600; }

/* Okruszki + nagłówek podstrony */
.crumbs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--text-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--mute); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.phero { background: var(--bg); padding: 36px 0 56px; border-bottom: 1px solid var(--line); }
.phero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.phero__grid > * { min-width: 0; }
.phero h1 { margin: 22px 0 16px; font-size: clamp(32px, 4vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.phero .lead { max-width: 640px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.phero__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; font-size: 13px; color: var(--text-2); }

/* Pasek CTA */
.cta-band { background: var(--navy); color: #fff; padding: clamp(44px, 6vw, 72px) 0; }
.cta-band__in { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.cta-band p { margin: 10px 0 0; color: #c3cfdb; max-width: 620px; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

/* Siatki pomocnicze */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.split > * { min-width: 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.acard:hover { box-shadow: 0 22px 44px -28px rgba(12,34,64,.35); transform: translateY(-3px); }
.acard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.acard__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acard__body h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; }
.acard__body p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.acard__more { margin-top: auto; padding-top: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.checklist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fact { padding: 26px; background: var(--bg); }
.fact strong { display: block; font-size: 36px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.fact span { font-size: 14px; color: var(--text-2); }
.area { columns: 3; column-gap: 32px; list-style: none; margin: 18px 0 0; padding: 0; }
.area li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.area li small { display: block; font-weight: 500; color: var(--text-2); }

/* Artykuł (poradnik) */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { font-size: 17px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 48px 0 14px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; line-height: 1.25; letter-spacing: -.015em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { margin: 28px 0 10px; font-size: 19px; font-weight: 700; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; }
.prose th, .prose td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); border-bottom: 2px solid var(--ink); }
.prose .answer { margin: 0 0 32px; }
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.toc { padding: 20px 22px; background: var(--bg); }
.toc b { display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.toc ol { margin: 0; padding-left: 18px; font-size: 14.5px; }
.toc li { margin: 6px 0; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }
.boxcta { padding: 24px; background: var(--navy); color: #fff; }
.boxcta b { display: block; font-size: 18px; line-height: 1.3; }
.boxcta p { margin: 8px 0 16px; font-size: 14px; color: #c3cfdb; }
.author { display: flex; gap: 14px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.author__ava { width: 48px; height: 48px; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; flex: none; }
.author b { color: var(--ink); }

/* Karta produktu */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.pdp > * { min-width: 0; }
.pdp__media { position: relative; aspect-ratio: 4 / 3.2; background: var(--grey); overflow: hidden; }
.pdp__media .product__spec { font-size: clamp(80px, 11vw, 160px); }
.pdp__media .product__pack { padding: 4% 6% 7%; }
.pdp__media:not(.has-pack) .product__spec { display: none; }
.pdp__media .tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.pdp__thumbs figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info h1 { margin: 10px 0 12px; font-size: clamp(32px, 3.6vw, 50px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.pdp__price { margin: 20px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.pdp__price span { display: block; font-size: 13px; color: var(--text-2); }
.pdp__price strong { font-size: 32px; font-weight: 700; letter-spacing: -.02em; }
.colorlist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 10px 0 0; padding: 0; }
.colorlist li { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.colorlist i { width: 22px; height: 22px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.pdp__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 42%; font-weight: 600; color: var(--text-2); }

/* Galeria realizacji */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery .work { aspect-ratio: 4 / 3; }
.gallery .work.is-hidden { display: none; }

/* Kontakt */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { padding: 26px; background: #fff; border: 1px solid var(--line); }
.ccard .ic { width: 28px; height: 28px; color: var(--navy); }
.ccard h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 700; }
.ccard p { margin: 0; color: var(--text-2); }
.ccard a { font-weight: 700; color: var(--ink); }
.map { aspect-ratio: 16 / 9; border: 1px solid var(--line); background: var(--grey); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Strona podziękowania i 404 */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.center-page h1 { margin: 22px 0 14px; font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.center-page .lead { margin: 0 auto; }
.center-page .done__ico { margin: 0 auto; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 40px auto 0; text-align: left; counter-reset: n; list-style: none; padding: 0; }
.next-steps li { counter-increment: n; padding: 22px; background: var(--bg); }
.next-steps li::before { content: "0" counter(n); display: block; font-size: 30px; font-weight: 700; color: var(--navy); }
.next-steps b { display: block; margin: 8px 0 4px; }
.next-steps span { font-size: 14px; color: var(--text-2); }

/* ---------- Landing page (kampanie Ads) ---------- */
.lp-header { position: sticky; top: 0; z-index: var(--z-header); background: #fff; border-bottom: 1px solid var(--line); }
.lp-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.lp-header__right { display: flex; align-items: center; gap: 20px; }
.lp-phone { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; color: var(--navy); white-space: nowrap; }
.lp-phone small { display: block; font-size: 11.5px; font-weight: 500; color: var(--text-2); }
.lp-hero { position: relative; color: #fff; background: var(--char); isolation: isolate; }
.lp-hero__bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.lp-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,24,46,.95) 0%, rgba(8,24,46,.84) 45%, rgba(8,24,46,.5) 100%); }
.lp-hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.lp-hero__in > * { min-width: 0; }
.lp-hero .kicker { color: var(--steel-on-dark); }
.lp-hero h1 { margin: 0 0 18px; font-size: clamp(32px, 4.2vw, 58px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
.lp-hero__lead { margin: 0 0 22px; font-size: 18px; color: #d3dde7; max-width: 580px; }
.lp-hero .checklist { font-weight: 600; }
.lp-hero .checklist li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314325a' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.lp-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 28px; font-size: 14px; color: #d3dde7; }
.lp-proof b { color: #fff; font-size: 16px; }
.lp-form { padding: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.lp-form__title { margin: 0 0 4px; font-size: 22px; font-weight: 700; }
.lp-form__sub { margin: 0 0 18px; font-size: 14px; color: var(--text-2); }
.lp-form form { display: grid; gap: 10px; }
.lp-form .btn { margin-top: 6px; }
.lp-form__note { margin: 10px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--text-2); text-align: center; }
.lp-form__note .ic { width: 16px; height: 16px; color: var(--navy); }
.trustbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.trustbar__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__in > div { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border-left: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.trustbar__in > div:first-child { border-left: 0; padding-left: 0; }
.trustbar strong { display: block; font-size: 20px; color: var(--ink); line-height: 1.2; }
.trustbar .ic { width: 28px; height: 28px; color: var(--navy); flex: none; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit { padding: 28px; background: var(--bg); }
.benefit .ic { width: 40px; height: 40px; padding: 9px; background: var(--navy); color: #fff; }
.benefit h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 700; }
.benefit p { margin: 0; font-size: 15px; color: var(--text-2); }
.offer { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 26px 30px; border: 2px dashed var(--navy); background: var(--navy-light); }
.offer__pct { font-size: 46px; font-weight: 700; color: var(--navy); line-height: 1; }
.offer b { font-size: 18px; }
.offer p { margin: 4px 0 0; color: var(--text-2); }
.lp-footer { padding: 28px 0 calc(28px + var(--tabbar-h)); background: var(--char); color: #c0cad5; font-size: 13px; }
.lp-footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.lp-footer p { margin: 0; }
.lp-footer a { color: #fff; }
.sticky-cta { display: none; }

/* ---------- Baner zgód (Consent Mode v2) ---------- */
.consent { position: fixed; left: 16px; bottom: calc(16px + var(--tabbar-h)); z-index: 150; width: min(560px, calc(100vw - 32px)); padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); box-shadow: 0 30px 60px -30px rgba(12,34,64,.45); }
.consent[hidden] { display: none; }
.consent h2 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.consent p { margin: 0 0 14px; font-size: 14px; color: var(--text-2); }
.consent p a { color: var(--link); }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__btns .btn { flex: 1 1 auto; min-height: 44px; padding: 8px 14px; font-size: 11.5px; }
.consent__opts { display: grid; gap: 0; margin: 0 0 14px; padding: 0; border: 0; }
.consent__opts[hidden] { display: none; }
.consent__opts .switch { padding: 10px 0; }

@media (max-width: 1180px) {
  .article { grid-template-columns: 1fr; }
  .aside { position: static; }
  .pdp { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .phero { padding: 22px 0 36px; }
  .phero__grid, .split, .lp-hero__in { grid-template-columns: 1fr; }
  .phero__img { order: -1; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .cta-band__btns, .cta-band__btns .btn { width: 100%; }
  .cards3, .gallery, .contact-cards, .benefits, .next-steps { grid-template-columns: 1fr; }
  .area { columns: 2; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .fact { padding: 18px; }
  .fact strong { font-size: 28px; }
  .pdp__actions { grid-template-columns: 1fr; }
  .lp-header__in { height: 62px; }
  .lp-header .btn, .lp-phone small { display: none; }
  .lp-phone { font-size: 16px; }
  .lp-hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .lp-hero__lead { font-size: 16px; }
  .lp-form { padding: 20px; }
  .trustbar__in { grid-template-columns: 1fr 1fr; }
  .trustbar__in > div { padding: 14px 10px; border-left: 0; border-top: 1px solid var(--line); }
  .trustbar__in > div:nth-child(-n+2) { border-top: 0; }
  .offer { grid-template-columns: 1fr; }
  /* LP: zamiast nawigacji aplikacji — stały pasek akcji */
  body.lp { --tabbar-h: calc(68px + env(safe-area-inset-bottom)); }
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-tabbar); display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .sticky-cta .btn { min-height: 48px; padding: 8px 10px; font-size: 12px; }
  .consent { left: 8px; right: 8px; width: auto; bottom: calc(8px + var(--tabbar-h)); padding: 18px; }
}

/* Karty produktów: cała karta klikalna przez link w nazwie (dostępny wzorzec „stretched link”) */
.product__name a { color: inherit; text-decoration: none; }
.product__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.product__link:focus-visible { outline: none; }
.product:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.product__actions { position: relative; z-index: 2; }
.product__price abbr { text-decoration: none; }
ul.swatches { list-style: none; margin: 0; padding: 0; }
.swatches li { display: block; }
.swatches li i { display: block; width: 14px; height: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.products--3 { grid-template-columns: repeat(3, 1fr); }
.pdp__media.has-pack .product__photo { opacity: 0; }
.quick--flat { margin-top: 0; box-shadow: none; }
.catalog__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.works__all { align-self: end; justify-self: end; }
.guides { background: var(--white); }
.footer__nap { margin-top: 18px; font-style: normal; line-height: 1.7; color: #c0cad5; }
.footer__nap a { color: #fff; }
.footer__link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer__link:hover { color: #fff; }
.nav { gap: 22px; }
.nav a { font-size: 12px; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (max-width: 1180px) { .products--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .products--3 { grid-template-columns: 1fr; }
  .swatches li i { width: 12px; height: 12px; }
  .works__all { justify-self: start; }
}
.cfg__steps { overflow-x: clip; overflow-clip-margin: 8px; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 8px 0 24px; }
.table-scroll table { margin: 0; }
@media (max-width: 1180px) { .article { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  /* szerokie tabele w treści przewijają się w poziomie wewnątrz siebie (WCAG 1.4.10 — wyjątek dla tabel) */
  .prose th, .prose td { min-width: 110px; }
}
