/* ==========================================================================
   GARAZDREWNOPODOBNY.PL — prototyp / design system
   Wersja: 0.1  (lokalny prototyp do prezentacji inwestorowi)
   Zasada kolorystyczna: 80% neutralne tlo + 15% ciemny brand + 5% akcent
   ========================================================================== */

:root {
  /* --- kolory --- */
  --bg:            #F7F6F2;   /* tlo strony, cieply jasny bez */
  --surface:       #FFFFFF;   /* biale sekcje / karty */
  --ink:           #252525;   /* glowny tekst - grafit */
  --ink-soft:      #55524C;   /* tekst drugorzedny */
  --brand:         #26352F;   /* ciemna lesna zielen - marka / CTA */
  --brand-hover:   #34473F;   /* hover CTA */
  --wood:          #8A7358;   /* drewno / akcent drugorzedny */
  --gold:          #C9963E;   /* cieply zloty akcent (gwiazdki, badge) */
  --line:          #E8E6E0;   /* jasnoszary - obrysy, separatory */
  --line-strong:   #D6D3CA;
  --danger:        #B42318;
  --success:       #287A4D;

  /* --- typografia --- */
  --font: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* --- wymiary --- */
  --wrap: 1200px;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 88px;
  --shadow-sm: 0 1px 2px rgba(37,37,37,.06), 0 2px 8px rgba(37,37,37,.04);
  --shadow-md: 0 6px 24px rgba(37,37,37,.10);
  --shadow-lg: 0 18px 48px rgba(37,37,37,.16);
}

/* ---------- reset / bazowe ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: clamp(21px, 2.4vw, 27px); }
p  { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--surface { background: var(--surface); }
.section--bg { background: var(--bg); }
.section--brand { background: var(--brand); color: #fff; }
.section--brand h1, .section--brand h2, .section--brand h3 { color: #fff; }
.lead { font-size: clamp(18px, 2.1vw, 22px); color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wood); margin: 0 0 12px;
}

/* ---------- przyciski (duze, dla grupy 40+) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  font-size: 18px; font-weight: 700; letter-spacing: .01em;
  border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: background .15s, border-color .15s, transform .05s, color .15s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--ghost:hover { background: rgba(38,53,47,.06); }
.btn--onbrand { background: var(--gold); color: #2a2412; }
.btn--onbrand:hover { filter: brightness(1.05); }
.btn--onbrand.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--onbrand.btn--ghost:hover { background: rgba(255,255,255,.10); }
.btn--lg { min-height: 62px; font-size: 19px; padding: 0 34px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- badge / chipy ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--brand); color: #fff;
}
.badge--gold { background: var(--gold); color: #2a2412; }
.badge--soft { background: var(--line); color: var(--ink); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  transition: height .18s;
}
.site-header.is-scrolled .site-header__inner { height: 66px; }
.logo { font-weight: 800; font-size: 20px; color: var(--brand); letter-spacing: -.02em; white-space: nowrap; display: flex; flex-direction: column; gap: 2px; }
.logo b { color: var(--wood); font-weight: 800; }
.logo span { display:block; font-size: 11px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.logo__img { height: 38px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav a { color: var(--ink); font-weight: 600; font-size: 16px; padding: 8px 0; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav__item { position: relative; }
.nav__item > button {
  background: none; border: 0; cursor: pointer; color: var(--ink);
  font-weight: 600; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 0;
}
.nav__item > button:hover { color: var(--brand); }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.header-phone { font-weight: 800; font-size: 18px; color: var(--brand); white-space: nowrap; }
.header-phone small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); }

/* mega menu */
.mega {
  position: absolute; left: 50%; transform: translateX(-50%) translateY(8px);
  top: 100%; width: min(920px, 92vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 26px;
  display: none; grid-template-columns: 1fr 1fr 1fr; gap: 22px;
}
.nav__item.is-open .mega { display: grid; }
.mega h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--wood); margin-bottom: 12px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin: 0 0 9px; }
.mega li a { font-weight: 500; font-size: 15px; }
.mega__promo { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mega__promo p { margin: 0; font-weight: 700; }
/* przycisk promo w megamenu: pełny kontrast (nadpisuje .nav a color) */
.mega__promo .btn { background: var(--gold); color: #2a2412; border-color: var(--gold); white-space: nowrap; }
.mega__promo .btn:hover,
.mega__promo .btn:focus { background: #b9862f; border-color: #b9862f; color: #201b0c; text-decoration: none; }

/* hamburger */
.hamburger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; transition: .2s; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 660px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content:""; position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(20,26,23,.82) 0%, rgba(20,26,23,.55) 45%, rgba(20,26,23,.15) 100%); }
.hero__inner { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 90px 24px; width: 100%; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { font-size: clamp(18px, 2.2vw, 23px); max-width: 46ch; color: #f2efe9; }
.hero .btn-row { margin-top: 30px; }
.hero__trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 600; font-size: 15px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- TRUST BAR ---------- */
.trustbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.trustbar__inner { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.trustbar__item { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.trustbar__item .ic { font-size: 20px; }

/* ---------- karty potrzeb ---------- */
.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.need-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px 24px; text-align: left; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 8px; transition: transform .12s, box-shadow .12s, border-color .12s;
}
.need-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); text-decoration: none; }
.need-card .emoji { font-size: 34px; }
.need-card h3 { margin: 4px 0 2px; font-size: 20px; }
.need-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.need-card .size { margin-top: 6px; font-weight: 700; color: var(--brand); font-size: 15px; }
.need-card .go { margin-top: 14px; font-weight: 700; color: var(--brand); }
.need-card .badge { position: absolute; top: -12px; right: 16px; }

/* ---------- pasek "nie wiesz?" ---------- */
.helpbar {
  background: linear-gradient(180deg, #fff, var(--bg));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.helpbar p { margin: 0; }
.helpbar strong { font-size: 20px; display: block; }

/* ---------- produkty ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pcard {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .12s, box-shadow .12s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.pcard__media { aspect-ratio: 4 / 3; background: var(--line); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.pcard__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__name { font-weight: 800; font-size: 19px; color: var(--ink); }
.pcard__meta { color: var(--ink-soft); font-size: 15px; }
.pcard__price { font-weight: 800; font-size: 22px; color: var(--brand); margin-top: 4px; }
.pcard__price small { font-weight: 600; font-size: 13px; color: var(--ink-soft); }
.pcard__free { font-size: 13px; font-weight: 700; color: var(--success); }
.pcard__cta { margin-top: 12px; }
.pcard .badge { position: absolute; top: 12px; left: 12px; z-index: 2; }

.after-grid { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- benefity ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 30px; margin-top: 40px; }
.benefit { display: flex; gap: 14px; }
.benefit .ic { font-size: 26px; flex: none; }
.benefit h3 { font-size: 18px; margin: 2px 0 4px; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- tabela cen ---------- */
.pricetable { width: 100%; border-collapse: collapse; margin-top: 32px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pricetable th, .pricetable td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 16px; }
.pricetable thead th { background: var(--brand); color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.pricetable tbody tr:last-child td { border-bottom: 0; }
.pricetable .free { color: var(--success); font-weight: 700; }
.pricetable .tier { font-weight: 800; color: var(--brand); }
.pricetable-wrap { overflow-x: auto; }

/* ---------- realizacje ---------- */
.real-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.real { border-radius: var(--radius); overflow: hidden; position: relative; background: var(--line); aspect-ratio: 4/3; }
.real img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.real:hover img { transform: scale(1.04); }
.real__tag { position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(20,26,23,.85), transparent);
  color: #fff; padding: 26px 16px 14px; font-weight: 700; font-size: 15px; }
.real__tag small { display: block; font-weight: 500; opacity: .85; font-size: 13px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.chip.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 40px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step { text-align: left; }
.step .n { font-size: 13px; font-weight: 800; color: var(--wood); letter-spacing: .1em; }
.step h3 { font-size: 17px; margin: 6px 0 2px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- opinie ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review p { font-size: 16px; }
.review .who { font-weight: 700; margin-top: 10px; }
.review .who small { display: block; font-weight: 500; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 34px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 40px 20px 0; font-size: 18px; font-weight: 700; color: var(--ink); position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--wood); }
.faq__item.is-open .faq__q::after { content: "\2013"; }
.faq__a { display: none; padding: 0 0 20px; color: var(--ink-soft); font-size: 16px; }
.faq__item.is-open .faq__a { display: block; }

.pdp-description { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.pdp-description h2, .pdp-description h3 { color: var(--ink); font-size: 20px; margin: 22px 0 10px; }
.pdp-description h2:first-child, .pdp-description h3:first-child { margin-top: 0; }
.pdp-description p { margin: 0 0 14px; }
.pdp-description ul { margin: 0 0 14px; padding-left: 22px; }
.pdp-description li { margin: 4px 0; }
.pdp-description strong { color: var(--ink); }

/* ---------- final CTA ---------- */
.finalcta { text-align: center; }
.finalcta h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.finalcta .btn-row { justify-content: center; margin-top: 24px; }
.finalcta .phone { margin-top: 20px; font-size: 22px; font-weight: 800; }

/* ---------- FOOTER ---------- */
.site-footer { background: #1c2723; color: #cdd3cf; padding: 60px 0 30px; }
.site-footer a { color: #cdd3cf; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 9px; font-size: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: 13px; color: #9aa39d; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- sticky mobile bar ---------- */
.mobilebar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08); }
.mobilebar a { flex: 1; text-align: center; padding: 14px 6px; font-weight: 800; font-size: 14px; color: var(--brand); border-right: 1px solid var(--line); }
.mobilebar a:last-child { border-right: 0; }
.mobilebar a:hover { text-decoration: none; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: 14px; color: var(--ink-soft); padding: 18px 0 0; }
.crumbs a { color: var(--ink-soft); }
.crumbs span { color: var(--ink); font-weight: 600; }

/* ==========================================================================
   KATEGORIA
   ========================================================================== */
.cat-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.needfilter { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 30px; }
.needfilter h3 { font-size: 18px; margin-bottom: 14px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.opt {
  border: 1.5px solid var(--line-strong); background: #fff; border-radius: var(--radius-sm);
  padding: 12px 18px; font-weight: 700; font-size: 16px; cursor: pointer; color: var(--ink);
}
.opt.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

.cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 34px; margin-top: 44px; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.sidebar h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--wood); margin: 22px 0 10px; }
.sidebar label { display: flex; align-items: center; gap: 9px; font-size: 15px; margin: 8px 0; cursor: pointer; }
.sidebar label.is-unavailable { color: var(--ink-soft); opacity: .45; cursor: not-allowed; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 34px; height: 34px; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; }
.swatch.is-active { box-shadow: 0 0 0 2px var(--brand); }

/* ==========================================================================
   KARTA PRODUKTU
   ========================================================================== */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; padding-top: 30px; }
.gallery__main { border-radius: var(--radius); overflow: hidden; background: var(--line); aspect-ratio: 4/3; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.gallery__thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--line); aspect-ratio: 1; cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--brand); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.gallery__more { margin-top: 12px; font-weight: 700; }

.buybox h1 { font-size: clamp(26px, 3.2vw, 36px); }
.buybox .sub { font-weight: 700; color: var(--wood); }
.buybox .price { font-size: 40px; font-weight: 800; color: var(--brand); margin: 12px 0 4px; }
.buybox .price small { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.buybox .free { color: var(--success); font-weight: 700; margin-bottom: 18px; }
.trust-inline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0; font-weight: 700; font-size: 14px; }
.trust-inline span { display: inline-flex; gap: 7px; align-items: center; }
.picker { margin: 20px 0; }
.picker h4 { font-size: 15px; margin-bottom: 10px; }
.color-opts { display: flex; flex-wrap: wrap; gap: 12px; }
.color-opt { text-align: center; font-size: 12px; font-weight: 600; cursor: pointer; }
.color-opt .sw { width: 62px; height: 46px; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); margin-bottom: 5px; }
.color-opt.is-active .sw { box-shadow: 0 0 0 2px var(--brand); }

.getbox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 30px 0; }
.getbox ul { list-style: none; margin: 0; padding: 0; columns: 2; }
.getbox li { margin: 7px 0; font-size: 15px; }
.getbox li::before { content: "\2713 "; color: var(--success); font-weight: 800; }

.compare { width: 100%; border-collapse: collapse; margin-top: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { background: var(--bg); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .hot { background: rgba(201,150,62,.12); font-weight: 700; }

.spec { max-width: 900px; }
.spec .faq__q { font-size: 17px; }

/* swatch colors (drewnopodobne) */
.c-zloty-dab { background: #b3813f; }
.c-jasny-dab { background: #c9a267; }
.c-ciemny-dab{ background: #6f4a2b; }
.c-orzech    { background: #4b3524; }
.c-antracyt  { background: #33383b; }
.c-ral       { background: linear-gradient(135deg,#7a7f83 0 50%,#b3813f 50% 100%); }

/* ==========================================================================
   KONFIGURATOR
   ========================================================================== */
.cfg { display: grid; grid-template-columns: 1fr 340px; gap: 36px; padding-top: 30px; }
.cfg__steps-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.cfg__steps-nav .s { font-size: 13px; font-weight: 700; color: var(--ink-soft); padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.cfg__steps-nav .s.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }
.cfg__steps-nav .s.is-done { color: var(--success); }
.cfg__step { display: none; }
.cfg__step.is-active { display: block; }
.cfg__step h2 { font-size: 26px; }
.cfg-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.cfg-opt {
  border: 2px solid var(--line-strong); background: #fff; border-radius: var(--radius);
  padding: 18px; cursor: pointer; text-align: left; font-size: 16px;
}
.cfg-opt.is-active { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.cfg-opt .t { font-weight: 800; display: block; }
.cfg-opt .d { font-size: 13px; color: var(--ink-soft); }
.cfg-opt .p { font-weight: 700; color: var(--brand); font-size: 14px; margin-top: 6px; display: block; }
.cfg-opt .sw { width: 100%; height: 70px; border-radius: 8px; margin-bottom: 10px; }
.cfg__nav { display: flex; justify-content: space-between; margin-top: 26px; }
.cfg__hint { margin-top: 20px; background: rgba(201,150,62,.10); border: 1px solid rgba(201,150,62,.35); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 15px; }

.cfg__summary { position: sticky; top: 100px; align-self: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.cfg__summary h3 { font-size: 18px; }
.cfg__summary dl { margin: 12px 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.cfg__summary dt { color: var(--ink-soft); }
.cfg__summary dd { margin: 0; text-align: right; font-weight: 700; }
.cfg__price { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.cfg__price .row { display: flex; justify-content: space-between; font-size: 14px; margin: 4px 0; }
.cfg__price .total { font-size: 26px; font-weight: 800; color: var(--brand); }
.cfg__summary .btn { margin-top: 14px; }

/* ==========================================================================
   QUIZ
   ========================================================================== */
.quiz { max-width: 720px; margin: 0 auto; }
.quiz__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.quiz__q { display: none; }
.quiz__q.is-active { display: block; }
.quiz__q h2 { font-size: 24px; }
.quiz__answers { display: grid; gap: 12px; margin-top: 20px; }
.quiz__answers button {
  border: 2px solid var(--line-strong); background: #fff; border-radius: var(--radius);
  padding: 18px 20px; font-size: 17px; font-weight: 700; text-align: left; cursor: pointer; color: var(--ink);
}
.quiz__answers button:hover { border-color: var(--brand); }
.quiz__progress { height: 6px; background: var(--line); border-radius: 999px; margin-bottom: 22px; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; background: var(--gold); width: 20%; transition: width .3s; }
.quiz__result { display: none; text-align: center; }
.quiz__result.is-active { display: block; }
.quiz__result .price { font-size: 34px; font-weight: 800; color: var(--brand); margin: 8px 0; }

/* ==========================================================================
   FORMULARZ
   ========================================================================== */
.leadform { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); max-width: 560px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
}
.field textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }
.form-ok { display: none; background: rgba(40,122,77,.10); border: 1px solid rgba(40,122,77,.4); color: #1c5c39;
  border-radius: var(--radius-sm); padding: 18px; font-weight: 700; }
.form-ok.is-visible { display: block; }

/* ==========================================================================
   NOTE (prototyp)
   ========================================================================== */
.protonote {
  background: #fffbea; border: 1px dashed var(--gold); color: #6b5312;
  font-size: 13px; padding: 10px 16px; text-align: center;
}
.protonote code { background: rgba(0,0,0,.06); padding: 1px 5px; border-radius: 4px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .product-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .real-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .cfg { grid-template-columns: 1fr; }
  .cfg__summary { position: static; }
  .cat-layout { grid-template-columns: 1fr; }
  .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .nav, .header-cta { display: none; }
  .hamburger { display: block; }
  .site-header__inner { gap: 12px; }
  .mobilebar { display: flex; }
  .site-footer { padding-bottom: 90px; }
  .section { padding: 56px 0; }
  .hero { min-height: 560px; }
  .need-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid--3 { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .real-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps--3, .steps--4 { grid-template-columns: 1fr; }
  .getbox ul { columns: 1; }
  .cfg-opts { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* mobilne menu */
  .nav.is-mobile-open {
    display: flex; position: fixed; left: 0; right: 0; top: 66px; height: calc(100vh - 66px); z-index: 130;
    margin-left: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px; overflow: auto;
  }
  .nav.is-mobile-open a, .nav.is-mobile-open .nav__item { width: 100%; border-bottom: 1px solid var(--line); padding: 4px 0; }
  .nav.is-mobile-open .mega { position: static; transform: none; display: grid; box-shadow: none; border: 0; width: 100%; padding: 8px 0 16px; grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
