*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Surfaces — 3-layer warm system */
  --surface-0:    #F8F7F4;   /* main bg — Cloud Dancer warm */
  --surface-1:    #F1EFEB;   /* karty, hero-card */
  --surface-2:    #E9E6E0;   /* obramowania */
  --surface-inv:  #1A1F1C;   /* dark — topbar, ep.dark */

  /* Aliasy wstecznej kompatybilności */
  --cream:        #F8F7F4;
  --white:        #ffffff;

  /* Text */
  --ink:          #1A1D1B;
  --muted:        #6B6960;
  --faint:        #9D9A92;

  /* Brand */
  --green:        #2F6B4F;
  --green-dark:   #214A38;
  --green-hover:  #2F6B4F;
  --green-pale:   #F0EDE6;  /* warm stone — nie limonka */
  --accent-soft:  #A8B9AA;  /* sage — chłodniejszy, bardziej architektoniczny */

  /* Warm accent */
  --sand:         #B8A88A;

  /* Borders & shadows */
  --line:         rgba(26,29,27,0.11);
  --border-strong:rgba(26,29,27,0.18);
  --shadow-sm:    0 1px 3px rgba(26,29,27,0.04), 0 1px 2px rgba(26,29,27,0.03);
  --shadow-md:    0 4px 16px rgba(26,29,27,0.07), 0 1px 4px rgba(26,29,27,0.04);
  --shadow-lg:    0 8px 32px rgba(26,29,27,0.09), 0 2px 8px rgba(26,29,27,0.05);

  --ff-d: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ff-b: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Section alternation — Warm Zebra */
  --surface-0: #F8F7F4;  /* jasne — hero, firmy */
  --surface-1: #EDECEA;  /* ciemniejsze — how, editorial */

  /* Hero layout — szerokość prawej zielonej strefy */
  --hero-right-w: 500px;
}

html { scroll-behavior: smooth; background: #F5F2ED; }
body { font-family: var(--ff-b); background: #F5F2ED; color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

body.customize-support { background: #F5F2ED; }



/* TOPBAR */
.topbar { background: var(--surface-inv, #1A1F1C); color: rgba(255,255,255,0.45); font-size: 0.7rem; letter-spacing: 0.04em; text-align: center; padding: 0.4rem 1rem; }
.topbar strong { color: var(--accent-soft, #7BAE8C); font-weight: 500; }

/* NAV */
body > nav { position: sticky; top: 0; z-index: 200; background: #F5F2ED; border-bottom: 1px solid rgba(26,29,27,0.09); transition: box-shadow .3s; }
body > nav.scrolled { box-shadow: 0 1px 12px rgba(26,27,24,.07); }
.nav-inner { width: 100%; margin: 0; padding: 0 2rem 0 2.5rem; height: 62px; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; flex-shrink: 0; }
.logo svg { width: 44px; height: 44px; }
.logo-wordmark { font-family: var(--ff-b); font-size: 1.25rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.logo-wordmark span { color: var(--green); }
footer .logo-wordmark { color: #F6F4EE; }
footer .logo-wordmark span { color: var(--accent-soft, #A8B9AA); }
.nav-links { display: flex; align-items: center; gap: 0.1rem; list-style: none; margin-left: auto; width: var(--hero-right-w); flex-shrink: 0; justify-content: flex-end; padding-right: 2rem; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--muted); text-decoration: none; padding: 0.4rem 0.8rem; border-radius: 4px; transition: color .15s, background .15s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: rgba(26,27,24,.04); }
.nav-links a.nav-active { color: var(--green); background: var(--green-pale); font-weight: 600; }
.nav-links a.nav-active:hover { background: var(--green-pale); }
.nav-sep { width: 1px; height: 16px; background: rgba(26,27,24,.12); margin: 0 0.4rem; flex-shrink: 0; }
.nav-cta { background: var(--green) !important; color: #fff !important; font-weight: 600 !important; padding: 0.4rem 1.05rem !important; border-radius: 4px; font-size: 0.95rem !important; margin-left: 3rem !important; }
.nav-cta:hover { background: var(--green-dark, #214A38) !important; transform: translateY(-0.5px); }

/* HERO */
/* Elementy animowanego tła — ukryte (zastąpione czystym hero) */
.hero-sky, .hero-houses, .hero-clouds, .hero-trees, .hero-overlay, .cloud { display: none !important; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--cream, #F5F2ED);
  display: flex;
  align-items: stretch;
  min-height: 600px;
}
/* Kropki tylko po lewej stronie */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  right: 38%;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(45,95,63,.065) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero::after { display: none; }

/* Lewa strefa — treść */
.hero-left-zone {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}
.hero-content-inner {
  width: 100%;
  padding: 5rem 2rem 5rem 2.5rem;
  position: relative;
  z-index: 2;                   /* NAD obrazem domu (z-index:1) */
}

/* Prawa strefa — ciemna, pełna wysokość */
.hero-right-zone {
  width: 500px;
  flex-shrink: 0;
  background: #1F4A34;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 2.5rem;
  overflow: hidden;
  gap: 1.5rem;
}
/* Dekoracyjne koła */
.hero-right-zone::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  top: -80px;
  right: -80px;
  pointer-events: none;
  z-index: 0;
}
.hero-right-zone::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(196,98,42,0.07);
  bottom: -60px;
  left: -60px;
  pointer-events: none;
  z-index: 0;
}
.hero-right-zone > * { position: relative; z-index: 1; }

/* Stary hero-content — zachowany dla kompatybilności z innymi stronami */
.hero-content { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 5rem 2.5rem 4.5rem; width: 100%; display: grid; grid-template-columns: 1fr 420px; gap: 4rem; align-items: center; }
.hero-content::before { display: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem;  }
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--sand); }
.hero h1 { font-family: var(--ff-d); font-size: clamp(3.0rem, 4.6vw, 5.2rem); font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 1.35rem; white-space: nowrap; }
.hero h1 em { font-style: italic; color: var(--green); display: block; text-align: left; }
.hero-desc { font-size: 1rem; line-height: 1.7; color: var(--muted); max-width: 500px; font-weight: 300; margin-bottom: 2.25rem;  }
.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap;  }
.btn-p { background: var(--green); color: #fff; border: none; padding: .85rem 1.7rem; border-radius: 4px; font-family: var(--ff-b); font-size: .875rem; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; transition: background .2s, transform .15s; }
.btn-p:hover { background: var(--green-dark, #214A38); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(47,107,79,.18); }
.btn-o { background: transparent; color: var(--ink); border: 1.5px solid rgba(26,29,27,0.18); padding: .85rem 1.5rem; border-radius: 4px; font-family: var(--ff-b); font-size: .875rem; font-weight: 400; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; transition: border-color .2s, background .2s; }
.btn-o:hover { border-color: var(--green); background: var(--green-pale); }
.hero-stats { display: flex; gap: 0; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line);  }
.hstat { flex: 1; border-right: 1px solid var(--line); padding-right: 1.25rem; margin-right: 1.25rem; }
.hstat:last-child { border-right: none; margin-right: 0; }
.hstat-num { font-family: var(--ff-d); font-size: 1.75rem; font-weight: 700; color: var(--ink); letter-spacing: -0.04em; }
.hstat-label { font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: .1rem; }
/* ═══════════════════════════════════════════════════════════════════
   SEARCH WIDGET v4 — stepper 3-krokowy, zielona karta
   Krok 1: Technologia + opis rozwijany
   Krok 2: Region — grupy geograficzne (desktop) / select (mobile)
   Krok 3: Metraż — chipy + podsumowanie + submit
═══════════════════════════════════════════════════════════════════ */

/* ── Nagłówek strefy wyszukiwania ── */
.sw-zone-header {
  width: 100%;
  max-width: 420px;
}
.sw-zone-title {
  font-family: var(--ff-d);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
.sw-zone-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ── Kontener ── */
.sw-card {
  background: rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 420px;
}
.sw-card::before,
.sw-card::after { display: none; }
.sw-card > *,
.sw-card form { position: relative; z-index: 1; }

/* ── Pasek kroków ── */
.sw-bar {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.sw-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.sw-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 600;
  font-family: var(--ff-b);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.4);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sw-step--active .sw-dot {
  background: #C4622A;
  border-color: #C4622A;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(196,98,42,0.25);
}
.sw-step--done .sw-dot {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.sw-step-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  text-align: center;
  white-space: nowrap;
}
.sw-step--active .sw-step-label { color: rgba(255,255,255,0.85); font-weight: 600; }
.sw-step--done  .sw-step-label  { color: rgba(255,255,255,0.55); }

.sw-bar-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.18);
  align-self: flex-start;
  margin-top: 13px;
  transition: background 0.25s;
}
.sw-bar-line--done { background: rgba(255,255,255,0.55); }

/* ── Panele kroków ── */
.sw-panel { display: block; }
.sw-panel--hidden { display: none; }

.sw-panel-title {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.9rem;
}

/* ── Krok 1: toggle Wszystkie ── */
.sw-tech-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.sw-all-toggle {
  font-family: var(--ff-b);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.28rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.4);
}
.sw-all-toggle--active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.sw-all-toggle:hover {
  border-color: rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.75);
}

/* ── Kafelki technologii ── */
.sw-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 0.75rem;
}
.sw-tile {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 0.9rem 0.75rem;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  font-family: var(--ff-b);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.sw-tile:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.11);
}
.sw-tile--active {
  border-color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.14);
}
.sw-tile:active { transform: scale(0.97); }
.sw-tile-icon {
  display: flex;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.sw-tile--active .sw-tile-icon {
  background: rgba(196,98,42,0.25);
  color: #F5A97F;
}
.sw-tile-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.35;
}
.sw-tile--active .sw-tile-name { color: #fff; font-weight: 600; }

/* ── Opis rozwijany technologii ── */
.sw-desc {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.25s ease;
  opacity: 0;
  margin-bottom: 0;
}
.sw-desc--visible {
  max-height: 140px;
  opacity: 1;
  margin-bottom: 0.85rem;
}
.sw-desc-inner {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}
.sw-desc-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.3rem;
}
.sw-desc-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}
.sw-desc-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.sw-desc-tag {
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 10px;
  background: rgba(196,98,42,0.22);
  color: #F5A97F;
  border: 1px solid rgba(196,98,42,0.35);
}

/* ── Krok 2: grupy regionalne (desktop) ── */
.sw-regions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.sw-woj-select-wrap { display: none; }

.sw-rg-label {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.35rem;
}
.sw-rg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.sw-rg-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 0.3rem 0.65rem;
  font-family: var(--ff-b);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
  white-space: nowrap;
}
.sw-rg-chip:hover {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
}
.sw-rg-chip--active {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 600;
}
.sw-rg-all {
  font-family: var(--ff-b);
  font-size: 0.7rem;
  font-weight: 500;
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 5px;
  padding: 0.35rem 0.75rem;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: border-color 0.15s, color 0.15s;
  margin-top: 0.2rem;
}
.sw-rg-all--active {
  border-color: rgba(255,255,255,0.45);
  color: rgba(255,255,255,0.7);
}
.sw-rg-all:hover { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.65); }

/* ── Select mobilny ── */
.sw-select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 0.7rem 2rem 0.7rem 0.9rem;
  font-family: var(--ff-b);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A8B9AA' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  margin-bottom: 0.85rem;
  transition: border-color 0.15s;
}
.sw-select:focus { outline: none; border-color: rgba(255,255,255,0.6); }
.sw-select option { background: #1F4A34; color: #F6F4EE; }

/* ── Krok 3: chipy metrażu ── */
.sw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1rem;
}
.sw-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  padding: 0.42rem 0.9rem;
  font-family: var(--ff-b);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.sw-chip:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.85); }
.sw-chip--active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  font-weight: 600;
}

/* ── Podsumowanie ── */
.sw-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.85rem;
  text-align: center;
}
.sw-sum-item { padding: 0 0.4rem; }
.sw-sum-item + .sw-sum-item { border-left: 1px solid rgba(255,255,255,0.1); }
.sw-sum-val {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  line-height: 1.3;
  word-break: break-word;
}
.sw-sum-lbl {
  display: block;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

/* ── Nawigacja ── */
.sw-nav {
  display: flex;
  gap: 6px;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.sw-nav--end { justify-content: flex-end; }
.sw-btn-back,
.sw-btn-next {
  font-family: var(--ff-b);
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  padding: 0.55rem 1rem;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.sw-btn-back {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
}
.sw-btn-back:hover { border-color: rgba(255,255,255,0.45); color: rgba(255,255,255,0.85); }
.sw-btn-next {
  background: #C4622A;
  border: 1px solid #C4622A;
  color: #fff;
  flex: 1;
  text-align: center;
}
.sw-btn-next:hover { background: #d4713a; border-color: #d4713a; }

/* ── Submit ── */
.sw-submit {
  width: 100%;
  background: #fff;
  color: #1F4A34;
  border: none;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-family: var(--ff-b);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}
.sw-submit:hover {
  background: #F6F4EE;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}



/* ═══════════════════════════════════════════════════════════════════
   SEKCJA "PO CO TEN PORTAL" — Gemini style
   Split kremowy: lewa (label+nagłówek+opis) / prawa (grid 2×2 kart)
   Numery pomarańczowe, ikony pomarańczowe, karta 04 pomarańczowa CTA.
   Klasy: how-d-* — izolowane, nie nadpisują how-section/how-card
═══════════════════════════════════════════════════════════════════ */
.how-d {
  width: 100%;
}

.how-d-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 420px;
  background: #F5F2ED;
}

/* ── LEWA: kremowa, kropki w tle ── */
.how-d-left {
  background: #F5F2ED;
  padding: 3.5rem 3rem 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
}

/* Kropki — dekoracja tła lewej strefy */
.how-d-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(47,107,79,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.how-d-left > * {
  position: relative;
  z-index: 1;
}

.how-d-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2F6B4F;
  margin: 0;
}

.how-d-heading {
  font-family: var(--ff-d);
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #1A1D1B;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
}

.how-d-heading em {
  font-style: normal;
  color: #2F6B4F;
}

.how-d-body {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #6B6960;
  font-weight: 300;
  margin: 0;
  max-width: 340px;
}

/* ── PRAWA: kremowa, grid 2×2 ── */
.how-d-right {
  background: #F5F2ED;
  padding: 2.5rem 2.5rem 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

/* ── Karty ── */
.how-d-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid rgba(26,29,27,0.09);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s;
}

.how-d-card:hover {
  border-color: rgba(196,98,42,0.35);
  transform: translateY(-2px);
}

.how-d-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.how-d-num {
  font-family: var(--ff-d);
  font-size: 1.85rem;
  font-weight: 800;
  color: #C4622A;
  letter-spacing: -0.05em;
  line-height: 1;
}

.how-d-icon {
  width: 32px;
  height: 32px;
  background: #FEF0EA;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-d-card-t {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1A1D1B;
  line-height: 1.3;
}

.how-d-card-b {
  font-size: 0.78rem;
  line-height: 1.6;
  color: #6B6960;
}

/* Karta CTA — pomarańczowa */
.how-d-card--cta {
  background: #fff;
  border-color: rgba(26,29,27,0.08);
}

.how-d-card--cta:hover {
  border-color: rgba(196,98,42,0.35);
  transform: translateY(-2px);
}

.how-d-card--cta .how-d-num {
  color: #C4622A;
}

.how-d-card--cta .how-d-icon {
  background: #FEF0EA;
}

.how-d-card--cta .how-d-card-t {
  color: #1A1D1B;
}

.how-d-card--cta .how-d-card-b {
  color: #6B6960;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  .how-d-split { grid-template-columns: 1fr 1fr; }
  .how-d-left { padding: 2.5rem 2rem; }
  .how-d-right { padding: 2rem 2rem 2rem 1rem; }
  .how-d-heading { font-size: clamp(1.5rem, 3vw, 2rem); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .how-d-split { grid-template-columns: 1fr; min-height: auto; }
  .how-d-left { padding: 2.5rem 1.1rem 2rem; }
  .how-d-left::before { background-size: 20px 20px; }
  .how-d-body { max-width: 100%; }
  .how-d-right {
    grid-template-columns: 1fr 1fr;
    padding: 1.25rem 1.1rem 2rem;
    gap: 0.6rem;
  }
  .how-d-card { padding: 1rem 1rem 1.1rem; }
  .how-d-num { font-size: 1.5rem; }
  .how-d-card:hover { transform: none; }
  .how-d-card--cta:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   SEKCJA PRODUCENTÓW — Wariant 2: Orange Header
   Pomarańczowy header strip + kremowe karty 5-kolumnowo + zielona CTA
   Klasy: firms-v2-* — izolowane od firms-grid/firm-card
═══════════════════════════════════════════════════════════════════ */
.firms-v2 {
  width: 100%;
}

/* ── Pomarańczowy header ── */
.firms-v2-header {
  background: #C4622A;
  padding: 1.25rem 2.5rem;
}

.firms-v2-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.firms-v2-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.3rem;
}

.firms-v2-heading {
  font-family: var(--ff-d);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.firms-v2-all {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  font-family: var(--ff-b);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.firms-v2-all:hover {
  background: rgba(255,255,255,0.28);
}

/* ── Kremowy obszar kart ── */
.firms-v2-body {
  background: #F5F2ED;
  padding: 1.75rem 2.5rem 2rem;
}

.firms-v2-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* ── Karty firm ── */
.firms-v2-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.1rem 1.1rem 1rem;
  border: 1px solid rgba(26,29,27,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.18s, transform 0.18s;
}

.firms-v2-card:hover {
  border-color: rgba(47,107,79,0.28);
  transform: translateY(-2px);
}

.firms-v2-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.firms-v2-logo {
  width: 40px;
  height: 40px;
  background: #EAF2ED;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-d);
  font-size: 0.9rem;
  font-weight: 700;
  color: #2F6B4F;
  flex-shrink: 0;
}

.firms-v2-tech {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2F6B4F;
  background: #EAF2ED;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  border: none;
  white-space: nowrap;
  align-self: flex-start;
}

/* Betonowy — pomarańczowy tag */
.firms-v2-tech[data-tech="betonowy"],
.firms-v2-tech[data-tech="2D Betonowy"],
.firms-v2-tech[data-tech="Modulowe 2D betonowe"] {
  color: #C4622A;
  background: #FEF0EA;
}

.firms-v2-name {
  font-family: var(--ff-d);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1A1D1B;
  line-height: 1.25;
}

.firms-v2-loc {
  font-size: 0.75rem;
  color: #6B6960;
}

.firms-v2-cta {
  display: block;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(26,29,27,0.13);
  border-radius: 6px;
  padding: 0.55rem;
  font-family: var(--ff-b);
  font-size: 0.75rem;
  font-weight: 500;
  color: #1A1D1B;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  margin-top: auto;
}

.firms-v2-cta:hover {
  background: #2F6B4F;
  border-color: #2F6B4F;
  color: #fff;
}

/* ── Zielona karta CTA — pełna szerokość ── */
.firms-v2-cta-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
  background: #1F4A34;
  border-radius: 10px;
  padding: 1.1rem 1.75rem;
  text-decoration: none;
  transition: background 0.18s;
}

.firms-v2-cta-card:hover {
  background: #2a5e44;
}

.firms-v2-cta-n {
  font-family: var(--ff-d);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}

.firms-v2-cta-l {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex-shrink: 0;
}

.firms-v2-cta-btn {
  margin-left: auto;
  background: #C4622A;
  color: #fff;
  border-radius: 6px;
  padding: 0.55rem 1.25rem;
  font-family: var(--ff-b);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  .firms-v2-header { padding: 1.25rem 2rem; }
  .firms-v2-body { padding: 1.5rem 2rem 1.75rem; }
  .firms-v2-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .firms-v2-header { padding: 1rem 1.1rem; }
  .firms-v2-header-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .firms-v2-all { width: 100%; text-align: center; }
  .firms-v2-body { padding: 1.25rem 1.1rem 1.5rem; }
  .firms-v2-grid {
    grid-template-columns: 1fr;
    display: flex;
    overflow-x: auto;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    margin-bottom: 0.75rem;
  }
  .firms-v2-grid::-webkit-scrollbar { display: none; }
  .firms-v2-card { flex: 0 0 240px; }
  .firms-v2-cta-card { flex-wrap: wrap; gap: 0.75rem; padding: 1rem 1.1rem; }
  .firms-v2-cta-btn { margin-left: 0; width: 100%; text-align: center; padding: 0.65rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   NAV TILES — Grid 3×2 nawigacyjny
   6 kafelków: 1 ciemnozielony + 4 białe + 1 pomarańczowy CTA
   Klasy: nav-tiles-* — izolowane
═══════════════════════════════════════════════════════════════════ */
.nav-tiles {
  width: 100%;
  background: #F5F2ED;
  padding: 0;
  /* Separator od hero — widoczna kreska na górze */
  border-top: 2px solid rgba(26,29,27,0.09);
}

/* ── Nagłówek sekcji — pełna szerokość jak hero ── */
.nav-tiles-header {
  /* Brak max-width — rozciąga się do krawędzi jak hero */
  padding: 2.75rem 2.5rem 1.75rem;
  /* Kreska pod nagłówkiem */
  border-bottom: 1px solid rgba(26,29,27,0.07);
}

.nav-tiles-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2F6B4F;
  margin-bottom: 0.6rem;
}

.nav-tiles-heading {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #1A1D1B;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.nav-tiles-heading em {
  font-style: italic;
  color: #2F6B4F;
}

.nav-tiles-inner {
  /* Brak max-width — kafelki edge-to-edge jak hero */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding: 2rem 2.5rem 2.5rem;
}

/* ── Kafelek bazowy ── */
.nav-tile {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(26,29,27,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-decoration: none;
  transition: border-color 0.18s, transform 0.18s;
  cursor: pointer;
}

.nav-tile:hover {
  border-color: rgba(47,107,79,0.3);
  transform: translateY(-2px);
}

/* ── Ikona ── */
.nav-tile-icon {
  width: 40px;
  height: 40px;
  background: #EAF2ED;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

/* ── Tekst ── */
.nav-tile-title {
  font-family: var(--ff-d);
  font-size: 1rem;
  font-weight: 700;
  color: #1A1D1B;
  line-height: 1.3;
}

.nav-tile-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #6B6960;
  flex: 1;
}

.nav-tile-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #C4622A;
  margin-top: 0.25rem;
}

/* ── Wariant ciemnozielony ── */
.nav-tile--green {
  background: #1F4A34;
  border-color: #1F4A34;
}

.nav-tile--green:hover {
  background: #2a5e44;
  border-color: #2a5e44;
  transform: translateY(-2px);
}

.nav-tile--green .nav-tile-icon {
  background: rgba(255,255,255,0.12);
}

.nav-tile--green .nav-tile-title {
  color: #fff;
}

.nav-tile--green .nav-tile-desc {
  color: rgba(255,255,255,0.55);
}

.nav-tile--green .nav-tile-cta {
  color: #C4622A;
}

/* ── Wariant pomarańczowy ── */
.nav-tile--orange {
  background: #C4622A;
  border-color: #C4622A;
}

.nav-tile--orange:hover {
  background: #d4713a;
  border-color: #d4713a;
  transform: translateY(-2px);
}

.nav-tile--orange .nav-tile-icon {
  background: rgba(255,255,255,0.18);
}

.nav-tile--orange .nav-tile-title {
  color: #fff;
}

.nav-tile--orange .nav-tile-desc {
  color: rgba(255,255,255,0.65);
}

.nav-tile--orange .nav-tile-cta {
  color: rgba(255,255,255,0.9);
  font-weight: 700;
}

/* ── TABLET ── */
@media (max-width: 1024px) {
  .nav-tiles-header { padding: 2rem 2rem 1.5rem; }
  .nav-tiles-inner { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; padding: 1.5rem 2rem 2rem; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-tiles-header { padding: 1.75rem 1.1rem 1.25rem; }
  .nav-tiles-heading { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .nav-tiles-inner { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; padding: 1.25rem 1.1rem 2rem; }
  .nav-tile { padding: 1.1rem 1rem; }
  .nav-tile-icon { width: 34px; height: 34px; border-radius: 8px; }
  .nav-tile-title { font-size: 0.875rem; }
  .nav-tile-desc { font-size: 0.75rem; }
  .nav-tile:hover { transform: none; }
  .nav-tile--green:hover { transform: none; }
  .nav-tile--orange:hover { transform: none; }
}

/* MAIN */
/* main — czysty semantyczny wrapper */
main { display: block; }

/* Section alternation — Warm Zebra */
.section-wrap {
  background: transparent;
  width: 100%;
}
.section-wrap.section-alt {
  background: transparent;
}
/* Subtelna linia separacji między sekcjami */
.section-wrap + .section-wrap {
  border-top: 1px solid rgba(26,29,27,0.07);
}
.section-inner {
  width: 100%;
  padding: 4rem 2.5rem;
}

/* Stary .main zachowany dla kompatybilności z innymi stronami */
.main { max-width: 1280px; margin: 0 auto; padding: 2.5rem 2.5rem; }
.sec-label { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: .35rem; }
.sec-title { font-family: var(--ff-d); font-size: 1.75rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.sec-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; }
.sec-link { font-size: .825rem; font-weight: 500; color: var(--green); text-decoration: none; display: flex; align-items: center; gap: .3rem; transition: gap .2s; }
.sec-link:hover { gap: .55rem; }
.how-section { display: grid; grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
.how-intro { font-size: 1rem; line-height: 1.75; color: var(--muted); font-weight: 300; margin-top: 1.25rem; }
.how-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.how-card { background: #FFFFFF; border: 1px solid rgba(26,29,27,0.09); border-radius: 8px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(26,29,27,0.05); transition: box-shadow .2s, transform .2s; }
.how-card:hover { box-shadow: 0 4px 16px rgba(26,29,27,.09); transform: translateY(-2px); }
.hcn { font-family: var(--ff-d); font-size: 2rem; font-weight: 700; color: var(--green); letter-spacing: -.05em; line-height: 1; margin-bottom: .65rem; }
.hct { font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.hcb { font-size: .8rem; line-height: 1.6; color: var(--muted); }
.firms-section { }
.firms-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 1px; background: rgba(26,29,27,0.09); border: 1px solid rgba(26,29,27,0.11); border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(26,29,27,0.05); }
.firm-card { background: #FFFFFF; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; cursor: pointer; transition: background .18s; }
.firm-card:hover { background: #F7F5F0; }
.firm-head { display: flex; justify-content: space-between; align-items: flex-start; }
.firm-logo-sq { width: 46px; height: 46px; background: #F0EDE6; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-family: var(--ff-d); font-weight: 700; font-size: .95rem; color: var(--muted); }
.firm-tech { font-size: .67rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); background: #F0EDE6; padding: .22rem .6rem; border-radius: 3px; border: 1px solid rgba(26,29,27,0.09); }
.firm-name { font-family: var(--ff-d); font-size: 1rem; font-weight: 700; color: var(--ink); }
.firm-loc { font-size: .76rem; color: var(--muted); margin-top: .08rem; }
.firm-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.ftag { font-size: .7rem; padding: .18rem .55rem; border-radius: 5px; background: var(--cream); color: var(--muted); border: 1px solid var(--line); font-weight: 500; }
.firm-foot { display: flex; justify-content: space-between; align-items: center; padding-top: .75rem; border-top: 1px solid var(--line); }
.firm-price { font-family: var(--ff-d); font-size: .9rem; font-weight: 700; color: var(--ink); }
.firm-price small { font-family: var(--ff-b); font-size: .7rem; font-weight: 400; color: var(--muted); }
.firm-cta { width: 100%; background: transparent; border: 1px solid rgba(26,29,27,0.13); border-radius: 4px; padding: .6rem; font-family: var(--ff-b); font-size: .78rem; font-weight: 500; color: var(--ink); cursor: pointer; text-align: center; transition: all .18s; }
.firm-cta:hover { background: var(--green); border-color: var(--green); color: #fff; }
.editorial { display: block; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(26,29,27,0.05); }
.ep { background: #FFFFFF; padding: 2.5rem; }
.ep.dark { background: #1A1D1B; }
.ep-label { font-size: .67rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .7rem; }
.ep .ep-label { color: var(--green); }
.ep.dark .ep-label { color: var(--accent-soft, #A8B9AA); }
.ep-title { font-family: var(--ff-d); font-size: 1.55rem; font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: .9rem; }
.ep .ep-title { color: var(--ink); }
.ep.dark .ep-title { color: #F6F4EE; }
.ep-body { font-size: .85rem; line-height: 1.7; font-weight: 300; margin-bottom: 1.35rem; }
.ep .ep-body { color: var(--muted); }
.ep.dark .ep-body { color: rgba(246,244,238,.50); }
.ep-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; text-decoration: none; transition: gap .2s; }
.ep .ep-link { color: var(--green); }
.ep.dark .ep-link { color: var(--accent-soft, #A8B9AA); }
.ep-link:hover { gap: .6rem; }
.qa-list { list-style: none; margin-top: 1.35rem; display: flex; flex-direction: column; gap: .5rem; }
.qa-item { display: flex; align-items: flex-start; gap: .9rem; padding: .85rem 1rem; border-radius: 8px; cursor: pointer; transition: border-color .2s; }
.ep .qa-item { background: var(--cream); border: 1px solid rgba(26,29,27,0.08); }
.ep.dark .qa-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ep.dark .qa-item:hover { border-color: rgba(168,185,170,.35); }
.qa-n { font-family: var(--ff-d); font-size: .72rem; font-weight: 700; flex-shrink: 0; margin-top: .15rem; }
.ep .qa-n { color: var(--green); }
.ep.dark .qa-n { color: var(--accent-soft, #A8B9AA); }
.qa-q { font-size: .83rem; font-weight: 500; text-decoration: none; transition: color .2s; line-height: 1.45; }
.ep .qa-q { color: var(--ink); }
.ep .qa-q:hover { color: var(--green); }
.ep.dark .qa-q { color: rgba(246,244,238,.75); }
.ep.dark .qa-q:hover { color: #F6F4EE; }
.gl-list { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; gap: .6rem; }
.gl-item { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; cursor: pointer; transition: border-color .2s; }
.gl-item:hover { border-color: rgba(168,185,170,.35); }
.gl-term { font-weight: 600; font-size: .8rem; color: var(--accent-soft, #A8B9AA); min-width: 58px; flex-shrink: 0; }
.gl-def { font-size: .76rem; color: rgba(255,255,255,.42); line-height: 1.5; }

/* FOOTER */
footer { border-top: none; background: #1A1D1B; }
.footer-top { max-width: 100%; margin: 0; padding: 3rem 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand p { font-size: .82rem; line-height: 1.6; color: rgba(246,244,238,.50); max-width: 230px; margin-top: .6rem; }
.footer-col h4 { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: #F6F4EE; margin-bottom: .8rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-col a { font-size: .82rem; color: rgba(246,244,238,.50); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--accent-soft, #A8B9AA); }
.footer-bottom { border-top: 1px solid rgba(246,244,238,.08); max-width: 100%; margin: 0; padding: 1.25rem 2.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: .76rem; color: rgba(246,244,238,.35); }
.footer-badge { font-size: .7rem; background: rgba(168,185,170,.15); color: var(--accent-soft, #A8B9AA); padding: .28rem .7rem; border-radius: 3px; font-weight: 600; border: 1px solid rgba(168,185,170,.20); }

/* MOBILE MENU */
.mob-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: .4rem; margin-left: auto; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.mob-menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); border-radius: 2px; }
.mob-drawer { display: none; position: fixed; inset: 0; z-index: 500; }
.mob-drawer-bg { position: absolute; inset: 0; background: rgba(28,27,24,.45); backdrop-filter: blur(3px); }
.mob-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 85vw); background: var(--white); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .25rem; box-shadow: -8px 0 40px rgba(0,0,0,.12); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); }
.mob-drawer.open .mob-drawer-panel { transform: translateX(0); }
.mob-drawer.open { display: block; }
.mob-drawer-close { align-self: flex-end; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); margin-bottom: .5rem; line-height: 1; }
.mob-drawer-logo { font-family: var(--ff-d); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 1.5rem; }
.mob-drawer-logo span { color: var(--green); }
.mob-nav-item { display: flex; align-items: center; padding: .9rem .75rem; border-radius: 6px; font-size: .95rem; color: var(--ink); text-decoration: none; font-weight: 400; transition: background .18s, color .18s; gap: .75rem; }
.mob-nav-item:hover { background: #F0EDE6; color: var(--green); }
.mob-nav-item.nav-active { background: #F0EDE6; color: var(--green); font-weight: 600; }
.mob-drawer-cta { margin-top: auto; background: var(--green); color: #fff; border: none; padding: 1rem; border-radius: 4px; font-family: var(--ff-b); font-size: .9rem; font-weight: 600; cursor: pointer; width: 100%; text-align: center; text-decoration: none; display: block; }
.mob-bottom-nav { 
  display: none; 
  position: fixed; 
  top: auto; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  width: 100%; 
  z-index: 300; 
  background: rgba(255,255,255,.97); 
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px); 
  border-top: 1px solid var(--line); 
  padding: .5rem 0 calc(.5rem + env(safe-area-inset-bottom));
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.mob-bottom-inner { display: flex; justify-content: space-around; align-items: center; }
.mob-tab { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .35rem .75rem; border-radius: 8px; text-decoration: none; color: var(--muted); font-size: .62rem; font-weight: 500; letter-spacing: .02em; transition: color .2s; cursor: pointer; background: none; border: none; font-family: var(--ff-b); }
.mob-tab svg { width: 20px; height: 20px; }
.mob-tab.active { color: var(--green); }
.mob-tab.active svg path, .mob-tab.active svg rect, .mob-tab.active svg circle { stroke: var(--green); }

/* TABLET */
@media (max-width: 1024px) {
  .section-inner { max-width: 100%; padding: 3rem 2rem; }
  /* Tablet: hero składa się pionowo — prawa strefa pod lewą */
  .hero { flex-direction: column; min-height: auto; }
  .hero-left-zone { width: 100%; }
  .hero-content-inner { padding: 3.5rem 2rem 3.5rem 2rem; max-width: 480px; }
  .hero-right-zone {
    width: 100%;
    padding: 2.5rem 2rem;
    border-radius: 0;
    align-items: center;
  }
  /* Stary hero-content fallback */
  .hero-content {
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
  }
  .sw-card { display: flex; flex-direction: column; }
  .firms-grid { grid-template-columns: repeat(3,1fr); }
  .editorial { border-radius: 8px; }
  .how-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .how-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* MOBILE */
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-inner { padding: 0 1.1rem; height: 58px; }
  .nav-links { display: none; }
  .mob-menu-btn { display: flex; }
  .logo { display: flex !important; visibility: visible !important; opacity: 1 !important; }
  .logo-wordmark { display: block !important; font-size: 1rem !important; }
  .mob-bottom-nav { display: flex; flex-direction: column; justify-content: flex-end; }
  /* Padding na dole strony żeby treść nie chowała się pod dolną nawigację */
  body { padding-bottom: 70px; }

  /* HERO MOBILE — 2-kolumnowy: tekst (L) | dom (P) */
  .hero { flex-direction: column; min-height: auto; height: auto; }
  .hero-left-zone {
    width: 100%;
    display: grid;
    grid-template-columns: 5fr 7fr;   /* tekst węższa, dom szersza */
    align-items: center;
    gap: 0;
    overflow: hidden;
    min-height: 300px;
  }
  .hero-content-inner {
    padding: 52px 0.5rem 2rem 1.1rem;
    /* Tekst nachodzi na prawą kolumnę — szerszy niż przydzielona kolumna */
    width: 145%;
    max-width: 145%;
    position: relative;
    z-index: 2;                        /* NAD domem */
    order: 1;
  }
  .hero-right-zone {
    width: 100%;
    padding: 1.75rem 1.1rem 2.5rem;
    border-radius: 0;
    align-items: center;
    gap: 1rem;
  }
  /* Na mobile nagłówek strefy ukryty — widget zajmuje całą szerokość */
  .sw-zone-header { display: none; }
  /* Stary hero-content fallback mobile */
  .hero-content {
    padding: 52px 1.1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .hero-eyebrow { margin-bottom: 0.5rem; font-size: 0.65rem; }
  /* H1 — większy, wyżej, wyrównanie do lewej */
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.9rem); line-height: 1.06; margin-bottom: 1rem; text-align: left; white-space: normal; }

  /* Opis i przyciski ukryte na mobile — treść skrócona, fokus na wyszukiwarce */
  .hero-desc    { display: none; }
  .hero-actions { display: none; }

  /* sw-card — tło i padding zarządza hero-right-zone */
  .sw-card {
    width: 100%;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
  }
  .sw-bar { margin-bottom: 1.1rem; }
  .sw-dot { width: 22px; height: 22px; font-size: 0.62rem; }
  .sw-bar-line { margin-top: 11px; }
  .sw-step-label { font-size: 0.55rem; }
  .sw-panel-title { font-size: 0.6rem; margin-bottom: 0.7rem; }
  .sw-tech-row { margin-bottom: 0.6rem; }
  .sw-all-toggle { font-size: 0.65rem; padding: 0.25rem 0.65rem; }
  .sw-tiles { gap: 6px; margin-bottom: 0.6rem; }
  .sw-tile { padding: 0.7rem 0.55rem; border-radius: 6px; }
  .sw-tile-name { font-size: 0.7rem; }
  .sw-tile-icon svg { width: 15px; height: 15px; }
  .sw-desc--visible { max-height: 160px; }
  .sw-desc-text { font-size: 0.7rem; }
  /* Na mobile — grupy ukryte, pokazujemy select */
  .sw-regions { display: none; }
  .sw-woj-select-wrap { display: block; }
  .sw-rg-chip { font-size: 0.68rem; padding: 0.28rem 0.55rem; }
  .sw-chips { gap: 5px; }
  .sw-chip { font-size: 0.72rem; padding: 0.38rem 0.75rem; }
  .sw-summary { padding: 0.6rem 0.7rem; }
  .sw-sum-val { font-size: 0.65rem; }
  .sw-sum-lbl { font-size: 0.55rem; }
  .sw-btn-back, .sw-btn-next { font-size: 0.75rem; padding: 0.5rem 0.85rem; }
  .sw-submit { font-size: 0.85rem; padding: 0.82rem; }

  /* Statystyki ukryte na mobile */
  .hero-stats { display: none; }

  .qf { padding: .75rem 1rem; font-size: .75rem; }
  .section-inner { padding: 2.5rem 1.1rem; }
  .main { padding: 2rem 1.1rem 6rem; }
  .how-section { grid-template-columns: 1fr; gap: 1.75rem; }
  .how-cards { grid-template-columns: 1fr; gap: .75rem; }
  .how-card { padding: 1.25rem; display: flex; gap: 1rem; align-items: flex-start; flex-direction: row; }
  .hcn { font-size: 1.4rem; margin-bottom: 0; min-width: 2rem; }
  .firms-grid { grid-template-columns: none; display: flex; overflow-x: auto; gap: .85rem; scrollbar-width: none; padding-bottom: .5rem; background: transparent; border: none; border-radius: 0; }
  .firms-grid::-webkit-scrollbar { display: none; }
  .firm-card { flex: 0 0 260px; border-radius: 6px; border: 1px solid rgba(26,29,27,0.11); box-shadow: 0 1px 4px rgba(26,29,27,.05); }
  .sec-header { margin-bottom: 1.25rem; }
  .sec-title { font-size: 1.35rem; }
  .editorial { border-radius: 8px; }
  .ep { padding: 1.75rem 1.35rem; }
  .ep-title { font-size: 1.25rem; }
  .footer-top { grid-template-columns: 1fr; gap: 0; padding: 1.5rem 1.1rem 0; }
  .footer-brand { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(246,244,238,.08); }
  .footer-col { padding: 1rem 0; border-bottom: 1px solid rgba(246,244,238,.08); }
  .footer-col h4 { display: flex; justify-content: space-between; align-items: center; cursor: pointer; margin-bottom: 0; }
  .footer-col h4::after { content: '+'; font-size: 1rem; color: rgba(246,244,238,.35); font-weight: 300; }
  .footer-col ul { display: none; margin-top: .75rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; padding: 1.25rem 1.1rem 2rem; }
  .footer-badge { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO HOUSE WIREFRAME IMAGE v4
   PNG z prawdziwym kanałem alfa (czarne tło usunięte programatycznie).
   Białe linie domu na transparentnym tle — zero hacków CSS.
   Position: absolute w .hero-left-zone, po prawej stronie tekstu.
   Tekst (.hero-content-inner z-index:2) leży NAD obrazem (z-index:1).
═══════════════════════════════════════════════════════════════════ */
.hero-house-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 84%;
  right: -15%;
  z-index: 1;
  pointer-events: none;
  display: block;
  /* Fade od lewej — linie domu wyłaniają się spod tekstu płynnie */
  -webkit-mask-image: linear-gradient(to right,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0.15) 18%,
    rgba(0,0,0,0.7)  38%,
    rgba(0,0,0,1)    55%,
    rgba(0,0,0,1)   100%);
          mask-image: linear-gradient(to right,
    rgba(0,0,0,0)    0%,
    rgba(0,0,0,0.15) 18%,
    rgba(0,0,0,0.7)  38%,
    rgba(0,0,0,1)    55%,
    rgba(0,0,0,1)   100%);
}

.hero-house-img img {
  display: block;
  width: 100%;
  height: auto;
  /*
    PNG ma prawdziwy kanał alfa — białe linie są w pełni widoczne,
    czarne tło jest transparentne. Lekkie przyciemnienie żeby linie
    pasowały do kremowego tła i nie były zbyt jaskrawe.
  */
  opacity: 0.22;
  /* Lekkie zabarwienie na zieleń — spójne z paletą --green */
  filter: sepia(0.3) saturate(1.4) hue-rotate(92deg) brightness(0.6);
}

/* TABLET */
@media (max-width: 1024px) {
  .hero-house-img {
    width: 74%;
    right: 0;
  }
}

/* MOBILE — układ 2-kolumnowy: tekst (L) | dom (P) */
@media (max-width: 768px) {
  .hero-house-img {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 185%;              /* wychodzi poza kolumnę — dom większy */
    margin-left: -42%;        /* przesunięcie wyważone */
    display: block;
    align-self: center;
    order: 2;                 /* dom PO PRAWEJ */
    /* Fade od lewej i dołu */
    -webkit-mask-image: linear-gradient(to bottom,
      rgba(0,0,0,0)   0%,
      rgba(0,0,0,0.7) 12%,
      rgba(0,0,0,1)   30%,
      rgba(0,0,0,1)   78%,
      rgba(0,0,0,0)  100%);
            mask-image: linear-gradient(to bottom,
      rgba(0,0,0,0)   0%,
      rgba(0,0,0,0.7) 12%,
      rgba(0,0,0,1)   30%,
      rgba(0,0,0,1)   78%,
      rgba(0,0,0,0)  100%);
  }
  .hero-house-img img {
    opacity: 0.35;
  }
}

/* ── HERO DIVIDER — odcięcie od sekcji "Po co ten portal" ── */
.hero-divider {
  position: relative;
  height: 1px;
  background: transparent;
  overflow: visible;
  margin: 0;
}
.hero-divider-inner {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line, rgba(26,29,27,0.11)) 15%,
    rgba(47,107,79,0.25) 50%,
    var(--line, rgba(26,29,27,0.11)) 85%,
    transparent 100%);
}

@media (max-width: 768px) {
  .hero-divider-inner {
    left: 1.1rem;
    right: 1.1rem;
  }
}
