:root {
  --ink: #0d0d0d;
  --ink-2: #1a1a1a;
  --bg: #ffffff;
  --bg-soft: #f6f5f2;
  --bg-warm: #efece5;
  --line: #e4e1d9;
  --line-2: #d7d3c8;
  --muted: #6b6b6b;
  --muted-2: #8a8a8a;
  --accent: #d4a017;
  --accent-ink: #1a1200;
  --green: #2f6b3b;
  --danger: #b53232;
  --radius: 2px;
  --container: 1200px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* === Header === */
.ak-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.ak-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.ak-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.ak-logo__img {
  height: 47px;
  width: auto;
  display: block;
}
.ak-logo__name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
}
.ak-logo__tag {
  font-size: 9px;
  color: #d4a017;
  letter-spacing: 0.28em;
  margin-top: 4px;
  font-weight: 500;
}
.ak-nav {
  display: flex;
  gap: 28px;
}
.ak-nav a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 2px;
  color: rgba(13,13,13,0.72);
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.ak-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.ak-nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }

/* Dropdown produktów */
.ak-nav__item { position: relative; display: flex; align-items: center; }
.ak-caret { font-size: 11px; margin-left: 6px; opacity: 1; color: var(--ink); transition: transform .16s ease; display: inline-block; }
.ak-nav__item:hover .ak-caret { transform: rotate(180deg); }
.ak-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.ak-nav__item:hover .ak-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.ak-dropdown a {
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(13,13,13,0.82);
  border-bottom: 0;
}
.ak-dropdown a:hover { color: var(--ink); background: var(--bg-soft, #f6f5f2); border-bottom: 0; }
.ak-dropdown a.is-active { color: var(--accent); border-bottom: 0; }

.ak-mobile-sub { display: flex; flex-direction: column; }
.ak-mobile-sub a { padding-left: 20px; font-size: 15px; opacity: 0.8; }

/* === Breadcrumbs === */
.breadcrumbs {
  font-size: 12px;
  color: var(--muted);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .sep { margin: 0 8px; color: var(--muted-2); }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* === Hero === */
.hero {
  position: relative;
  height: 560px;
  background: #111;
  color: #fff;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  background: #111;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero__content { max-width: 520px; }
.hero__eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.hero__title {
  font-size: 72px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.hero__sub {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  margin: 0 0 32px;
  max-width: 440px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .15s, color .15s, border-color .15s, transform .08s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: #e2b327; }
.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }
.btn--lg { padding: 16px 26px; font-size: 13px; }
.btn--sm { padding: 10px 14px; font-size: 12px; }

/* === Section === */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section--ink { background: var(--ink); color: #fff; }
.section__head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.section__title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
.section__sub {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}
.section__sub strong { color: var(--ink); font-weight: 600; }

/* Usecase grid */
.usecases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.usecase {
  padding: 32px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.usecase:last-child { border-right: 0; }
.usecase__icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.usecase__label { font-size: 13px; font-weight: 600; line-height: 1.35; }

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.feature {
  padding: 28px 18px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}
.feature__icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.feature__label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 500;
}

/* Specs + colors split */
.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.split-3 {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 48px;
}

.block-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}
.block-title--center { text-align: center; }

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row__label { color: var(--muted); }
.spec-row__value { color: var(--ink); font-weight: 600; }

/* Color swatches */
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.swatch {
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 8px 6px;
  border-radius: var(--radius);
  transition: border-color .15s, background .15s;
}
.swatch:hover { background: #fff; border-color: var(--line); }
.swatch.is-selected { border-color: var(--ink); background: #fff; }
.swatch__chip {
  aspect-ratio: 1 / 1;
  margin-bottom: 8px;
  border: 1px solid rgba(0,0,0,0.08);
}
.swatch__name { font-size: 12px; font-weight: 600; display: block; }
.swatch__code { font-size: 10.5px; color: var(--muted); display: block; }

/* Roof / variant cards */
.variants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.variant {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.variant:hover { border-color: var(--ink); }
.variant.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink) inset;
}
.variant__name { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.variant__desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.variant__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
  margin-bottom: 6px;
}

/* Wybór wariantu (Horizon) — duże karty + panel szczegółów */
.vselect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vcard {
  background: #fff;
  border: 1px solid var(--line);
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, box-shadow .15s;
  overflow: hidden;
}
.vcard:hover { border-color: var(--ink); }
.vcard.is-selected {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink) inset;
}
.vcard__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #ececea;
}
.vcard__body { padding: 16px 20px 18px; }
.vcard__name { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 4px; }
.vcard__desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.vdetail {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.checklist .dot {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.checklist .dot::before {
  content: ""; width: 6px; height: 6px; background: var(--ink); border-radius: 50%;
}

/* Icon list (with small icon) */
.iconlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.iconlist li { display: flex; gap: 14px; align-items: center; font-size: 13.5px; }
.iconlist li .ic { width: 32px; height: 32px; color: var(--ink); flex: 0 0 32px; display:flex; align-items:center; justify-content:center; }
.iconlist li .ic-img { width: 30px; height: 30px; flex: 0 0 30px; display: block; }
.iconlist--check li { align-items: flex-start; gap: 12px; }
.iconlist--check .ic-check {
  width: 22px; height: 22px; flex: 0 0 22px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(184, 133, 26, 0.12);
  color: var(--accent);
  margin-top: 1px;
}

/* Modules grid */
.modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.module {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.module--accent { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Cert bar */
.cert-bar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.cert {
  display: flex; gap: 18px; align-items: center;
}
.cert__mark {
  width: 72px; height: 72px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 72px;
  text-align: center;
}
.cert__mark span { font-size: 10px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.1; }
.cert__logo { width: 120px; height: auto; flex: 0 0 120px; display: block; }
.cert__body h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.cert__body p { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; max-width: 520px; }

.guarantee { display: flex; gap: 14px; align-items: flex-start; }
.guarantee__ic { width: 40px; height: 40px; flex: 0 0 40px; color: var(--ink); }
.guarantee__ic img { width: 100%; height: 100%; object-fit: contain; }
.guarantee__body { flex: 1; }
.guarantee__body h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.guarantee__row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.guarantee__row:last-child { border-bottom: 0; }
.guarantee__row span:last-child { font-weight: 600; }

/* CTA strip (bottom of product pages) */
.cta-strip {
  padding: 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-strip h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }

/* Footer */
.ak-footer {
  background: #fff;
  color: var(--muted);
  padding: 0 0 28px;
  margin-top: 0;
  border-top: 1px solid rgba(212,160,23,0.5);
}
.ak-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 88px;
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
}
/* Brand */
.ak-footer__logo { width: 200px; max-width: 100%; height: auto; display: block; margin: 0 auto; }
.ft-brand__desc { margin: 22px auto 0; font-size: 13px; line-height: 1.65; color: var(--muted); max-width: 340px; text-align: center; }
.ft-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; justify-content: center; }
.ft-badge {
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--accent);
  border: 1px solid rgba(212,160,23,0.4);
  padding: 5px 11px;
  border-radius: 999px;
}
/* Columns */
.ft-col h5 {
  color: var(--ink); margin: 0 0 20px; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700; position: relative; padding-bottom: 12px;
}
.ft-col h5::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; background: var(--accent);
}
.ft-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; font-size: 13.5px; }
.ft-col ul a, .ft-col--contact ul span {
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color .15s, transform .15s;
}
.ft-col ul a:hover { color: var(--ink); transform: translateX(3px); }
.ft-c__ic { color: var(--accent); flex: 0 0 16px; }
/* Bottom bar */
.ak-footer__bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.ft-legal { display: flex; gap: 22px; }
.ft-legal a { transition: color .15s; }
.ft-legal a:hover { color: var(--ink); }

/* Horizon D-Lux box */
.dlux {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}
.dlux h4 { margin: 0 0 10px; font-size: 14px; font-weight: 700; }
.dlux p { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.dlux ul { list-style: none; padding: 0; margin: 0; font-size: 12.5px; display: flex; flex-direction: column; gap: 6px; }
.dlux ul li::before { content: "— "; color: var(--muted); }
.dlux--wide { margin-top: 28px; padding: 26px 28px; }
.dlux--wide h4 { font-size: 15px; }
.dlux--wide p { font-size: 13px; }
.dlux--wide ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; font-size: 13px; }

/* Model row (Horizon models) */
.models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.models--lg { gap: 20px; }
.models--lg .model__body { padding: 16px 18px 18px; }
.models--lg .model__name { font-size: 14.5px; }
.models--lg .model__desc { font-size: 12.5px; }
.model {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.model__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: #e8e5de;
}
.model__body { padding: 14px; }
.model__name { font-size: 13px; font-weight: 700; margin: 0 0 6px; }
.model__desc { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Rodzaje zadaszeń — tabela porównawcza (bez grafik) */
/* Sekcja modułów HORIZON — wspólna kolumna */
.hz-modules { max-width: 1000px; margin: 0 auto; }
.hz-modules__note { margin: 18px 0 0; color: var(--muted); }

.model-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.model-table th:nth-child(1), .model-table td:nth-child(1) { width: 26%; }
.model-table th:nth-child(2), .model-table td:nth-child(2) { width: 24%; }
.model-table th:nth-child(3), .model-table td:nth-child(3) { width: 14%; }
.model-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 16px 10px;
  border-bottom: 1px solid var(--ink);
}
.model-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: middle;
}
.model-table tbody tr:last-child td { border-bottom: 0; }
.model-table__name { font-weight: 700; white-space: nowrap; }
.model-table__size { white-space: nowrap; font-variant-numeric: tabular-nums; }
.model-table__note { color: var(--muted); }

/* Przykłady zadaszeń (galeria produktowa) */
.examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.example {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.example__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-color: #f2f1ed;
}
.example__body { padding: 20px 22px 24px; }
.example__eyebrow { font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-bottom: 8px; }
.example__title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0 0 8px; }
.example__desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }

/* === Strona główna — rozbudowa === */

/* Porównanie systemów */
.cmp-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.cmp th a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.cmp th a:hover { color: var(--accent-ink); background: var(--accent); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp__label { font-weight: 600; color: var(--muted); white-space: nowrap; width: 120px; }
.cmp td:not(.cmp__label) { color: var(--ink); }

/* Kroki konfiguratora AI (sekcja ink) */
.section--ink .section__title { color: #fff; }
.section--ink .section__sub { color: rgba(255,255,255,0.7); }
.section--ai {
  background-color: var(--ink);
  background-image: url('uploads/icons/ai-section-bg.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.wiz-steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; }
.wiz-step-mini { display: flex; gap: 16px; align-items: flex-start; }
.wiz-step-mini__num {
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.wiz-step-mini strong { display: block; color: #fff; font-size: 14px; margin-bottom: 6px; }
.wiz-step-mini p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,0.65); line-height: 1.55; }
/* Wariant na jasnym tle (sekcja „Jak to działa" w konfiguratorze) */
.wiz-how .wiz-step-mini strong { color: var(--ink); }
.wiz-how .wiz-step-mini p { color: var(--muted); }

/* Proces realizacji — animowany timeline */
.steps-wrap { position: relative; }
.steps__bar {
  position: relative;
  height: 2px;
  background: var(--line);
  margin: 18px 10% 34px;
}
.steps__bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--accent);
  transition: width 3.4s cubic-bezier(.4, 0, .2, 1) 0.3s;
}
.steps-wrap.is-on .steps__bar-fill { width: 100%; }
.steps__dot {
  position: absolute;
  top: 50%;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line-2);
  transform: translate(-50%, -50%) scale(0.6);
  transition: border-color .3s, background .3s, transform .3s;
}
.steps-wrap.is-on .steps__dot {
  border-color: var(--accent);
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1);
}
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 20px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.steps-wrap.is-on .step { opacity: 1; transform: translateY(0); }
.steps-wrap.is-on .step:nth-child(1) { transition-delay: 0.4s; }
.steps-wrap.is-on .step:nth-child(2) { transition-delay: 1.05s; }
.steps-wrap.is-on .step:nth-child(3) { transition-delay: 1.7s; }
.steps-wrap.is-on .step:nth-child(4) { transition-delay: 2.35s; }
.steps-wrap.is-on .step:nth-child(5) { transition-delay: 3.0s; }
.step__num { font-size: 13px; font-weight: 700; color: var(--accent-ink); background: var(--accent); display: inline-block; padding: 3px 9px; margin-bottom: 14px; letter-spacing: 0.06em; }
.step__title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step__desc { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) {
  .step, .steps__bar-fill, .steps__dot { transition: none !important; }
  .step { opacity: 1; transform: none; }
}

/* Dom / biznes */
.home-tiles.home-tiles--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1040px;
  margin: 0 auto;
}

/* Producent */
.prod-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.prod-photos__item { aspect-ratio: 3 / 4; background-size: cover; background-position: center; border: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.faq__q {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  position: relative; padding-right: 48px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { margin: 0; padding: 0 22px 20px; font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* Siatka cech (LINEA) — karty z numerem, bez ikon, animacja wejścia */
.featgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.featcard {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease, border-color .2s ease, box-shadow .2s ease;
}
.featgrid.is-on .featcard { opacity: 1; transform: translateY(0); }
.featcard::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
.featcard:hover {
  border-color: var(--ink);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.35);
  transform: translateY(-4px);
}
.featcard:hover::before { transform: scaleX(1); }
.featcard__num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--line-2);
  transition: color .2s ease;
}
.featcard:hover .featcard__num { color: var(--accent); }
.featcard__label {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
}
@media (prefers-reduced-motion: reduce) {
  .featcard { opacity: 1; transform: none; transition: border-color .2s, box-shadow .2s; }
  .featcard:hover { transform: none; }
}

/* Sekcja kolorów — podgląd pergoli */
.colors-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.colors-preview {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 28px 22px;
}
.pergview { position: relative; width: 100%; aspect-ratio: 4 / 3; }
.pergview img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .35s ease;
}
.pergview img.is-active { opacity: 1; }
.colors-preview__tag {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.colors-preview__lbl { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.colors-preview__name { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.colors-preview__sub { font-size: 12.5px; color: var(--muted); }
.colors-controls { display: flex; flex-direction: column; gap: 28px; }
.colors-controls .block-title { margin-bottom: 16px; }
.colors-mat { margin: 0; color: var(--muted); }

/* Wybór rodzaju dachu w konfiguratorze */
.colors-roof {
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.roof-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.roof-desc {
  margin-top: 26px;
  max-width: 760px;
}
.roof-desc__name { display: block; font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.roof-desc__text { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.roof-desc__note { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }

/* Parametry techniczne w dwóch kolumnach */
.specs-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}

/* Ikony USP (generowane) */
.usp-ico {
  display: block;
  width: 44px;
  height: 44px;
  margin: 0 0 14px;
}
.usp-bar__ico {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

/* Realizacje — case study */
.case {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.case__media {
  background: #0e0e10;
  border: 1px solid var(--line);
  overflow: hidden;
}
.case__media video,
.case__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.case__title { font-size: 24px; font-weight: 700; color: var(--ink); margin: 0 0 12px; }
.case__thumbs {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case__thumb {
  display: block;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  border: 1px solid var(--line);
  transition: opacity .15s;
}
.case__thumb:hover { opacity: 0.88; }

/* Lightbox / karuzela galerii */
.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb__stage {
  margin: 0;
  max-width: min(1200px, 86vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lb__stage img {
  max-width: 100%;
  max-height: calc(86vh - 50px);
  object-fit: contain;
  display: block;
}
.lb__caption {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-align: center;
}
.lb__count { color: rgba(255,255,255,0.45); margin-left: 10px; }
.lb__close,
.lb__arrow {
  position: fixed;
  z-index: 201;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  padding: 10px 16px;
  opacity: 0.8;
  transition: opacity .15s;
}
.lb__close:hover,
.lb__arrow:hover { opacity: 1; }
.lb__close { top: 18px; right: 22px; font-size: 38px; }
.lb__arrow { top: 50%; transform: translateY(-50%); font-size: 56px; }
.lb__arrow--prev { left: 18px; }
.lb__arrow--next { right: 18px; }
@media (max-width: 640px) {
  .lb__arrow { font-size: 40px; padding: 8px 10px; }
  .lb__stage { max-width: 94vw; }
}

/* Roma module hot grid */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.mod-card {
  aspect-ratio: 1 / 1;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: #fff;
}
.mod-card--wide { aspect-ratio: 2 / 1.2; }
.mod-card--big { aspect-ratio: 1 / 1; font-size: 30px; }

/* === Client Data Page === */
.cd-progress-bar {
  background: var(--bg-soft);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 72px;
  z-index: 40;
}
.cd-progress__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.cd-progress__lbl { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.cd-progress__num { font-size: 22px; font-weight: 800; color: var(--ink); }
.cd-progress__track {
  height: 6px;
  background: #e0dcd0;
  border-radius: 3px;
  overflow: hidden;
}
.cd-progress__fill {
  height: 100%;
  background: var(--accent);
  transition: width .3s ease;
}
.cd-progress__actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-group-header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.cd-group-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.cd-group-badge--p0 { background: #b53232; }
.cd-group-badge--p1 { background: #d4a017; color: #1a1200; }
.cd-group-badge--p2 { background: #2f6b3b; }
.cd-group-title { font-size: 24px; font-weight: 800; margin: 0 0 6px; letter-spacing: -0.01em; }
.cd-group-desc { font-size: 14px; color: var(--muted); margin: 0; max-width: 720px; }

.cd-field {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.cd-field__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.cd-field__why {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 14px;
  line-height: 1.55;
  font-style: italic;
}
.cd-field__input input,
.cd-field__input textarea,
.cd-field__input select {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  transition: border-color .15s;
}
.cd-field__input input:focus,
.cd-field__input textarea:focus,
.cd-field__input select:focus {
  outline: none;
  border-color: var(--ink);
}
.cd-field__input textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.cd-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cd-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.cd-help { font-size: 12px; color: var(--muted); margin: 8px 0 0; font-style: italic; }

.cd-cities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 16px;
}
.cd-city {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
.cd-city input { width: auto !important; margin: 0 !important; }

.cd-acc-table { width: 100%; font-size: 13px; }
.cd-acc-table td { padding: 8px 0; vertical-align: middle; }
.cd-acc-table input { max-width: 200px; }

.cd-price-matrix table { width: 100%; font-size: 12px; border-collapse: collapse; }
.cd-price-matrix th { background: var(--bg-soft); padding: 8px 6px; text-align: left; font-weight: 700; border-bottom: 1px solid var(--line); }
.cd-price-matrix td { padding: 6px; border-bottom: 1px solid var(--line); }
.cd-price-matrix input { padding: 6px 8px !important; font-size: 12px !important; }

@media (max-width: 900px) {
  .cd-row-2, .cd-row-3 { grid-template-columns: 1fr; }
  .cd-cities { grid-template-columns: 1fr 1fr; }
  .cd-price-matrix { overflow-x: auto; }
  .cd-price-matrix table { min-width: 720px; }
  .cd-progress-bar { top: 64px; position: static; }
}

/* USP Bar (under hero) */
.usp-bar {
  background: #fff;
  color: var(--ink);
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.usp-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.usp-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}
.usp-bar__item svg { color: var(--accent); flex-shrink: 0; }
.usp-bar__num {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.usp-bar__lab {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Home specific */
.hero-home {
  position: relative;
  height: 680px;
  color: #fff;
}
.home-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  color: #fff;
}
.home-tile__img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
.home-tile:hover .home-tile__img { transform: scale(1.04); }
.home-tile__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.82) 100%);
}
.home-tile__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
}
.home-tile__eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.home-tile__name {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 8px 0 12px;
  text-transform: uppercase;
}
.home-tile__desc { font-size: 13px; color: rgba(255,255,255,0.88); margin: 0 0 14px; max-width: 300px; }
.home-tile__link { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--accent); padding-bottom: 4px; color: #fff; }

/* Modal */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal {
  background: #fff;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow: auto;
  padding: 36px;
  position: relative;
}
.modal h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; }
.modal p.sub { margin: 0 0 24px; color: var(--muted); font-size: 14px; }
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: var(--bg-soft); }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 11.5px; margin-top: 2px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.modal__success {
  text-align: center;
  padding: 20px 0;
}
.modal__success .check {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.modal__success h3 { margin-bottom: 8px; }

/* Utility */
.u-mt-4 { margin-top: 16px; }
.u-mt-6 { margin-top: 24px; }
.u-mt-8 { margin-top: 32px; }
.u-center { text-align: center; }
.small { font-size: 12px; color: var(--muted); }

/* Hero CTA strip — bottom full-width bar present on product pages */
.hero-strip {
  background: var(--ink);
  color: #fff;
  padding: 28px 0;
}
.hero-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-strip h3 { margin: 0; font-size: 22px; font-weight: 700; }
.hero-strip--accent { background: #1e3a26; }

/* Two-column content blocks */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* Home hero — larger title variant (desktop) */
.hero__title--xl { font-size: 84px; }
.hero__content--wide { max-width: 640px; }
.hero__content--wide .hero__sub { font-size: 17px; max-width: 520px; }

/* === Mobile hamburger + drawer === */
.ak-burger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.ak-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.ak-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ak-burger.is-open span:nth-child(2) { opacity: 0; }
.ak-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ak-mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--line);
}
.ak-mobile-nav.is-open { display: flex; }
.ak-mobile-nav a {
  padding: 14px 24px;
  color: rgba(13,13,13,0.85);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ak-mobile-nav a.is-active { color: var(--accent); }

/* CTA w nagłówku — desktop obok nawigacji, mobile w menu */
.ak-nav { margin-left: auto; }
.ak-header__cta {
  padding: 11px 20px;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.ak-mobile-nav__cta {
  margin: 16px 24px 22px;
  padding: 13px 20px;
  font-size: 14px;
  text-align: center;
}

/* === Tablet (≤ 900px) === */
@media (max-width: 900px) {
  .ak-nav { display: none; }
  .ak-header__cta { display: none; }
  .ak-burger { display: flex; }

  .section { padding: 56px 0; }
  .section__head { margin-bottom: 36px; }
  .hero { height: 520px; }
  .hero-home { height: 620px; }
  .hero__title { font-size: 52px; }
  .hero__title--xl { font-size: 60px; }

  .split-2, .split-3, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .specs-2col { grid-template-columns: 1fr; }
  .roof-grid { grid-template-columns: repeat(3, 1fr); }
  .home-tiles { grid-template-columns: 1fr; }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(3, 1fr); }
  .featgrid { grid-template-columns: repeat(2, 1fr); }
  .modules, .models { grid-template-columns: repeat(2, 1fr); }
  .model-table { font-size: 13px; }
  .model-table thead th, .model-table tbody td { padding-left: 8px; padding-right: 8px; }
  .examples { grid-template-columns: repeat(2, 1fr); }
  .variants { grid-template-columns: 1fr; }
  .vselect { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .vdetail { grid-template-columns: 1fr; gap: 32px; }
  .dlux--wide ul { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; gap: 28px; }
  .case__thumbs { grid-template-columns: repeat(2, 1fr); }
  .colors-layout { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .wiz-steps-row { grid-template-columns: 1fr; gap: 18px; max-width: 520px; }
  .home-tiles.home-tiles--2 { grid-template-columns: 1fr; }

  .cert-bar { grid-template-columns: 1fr; gap: 24px; }
  .hero-strip__inner, .cta-strip { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ak-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding: 48px 0 36px; }
  .ft-brand { grid-column: 1 / -1; }
  .usp-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

/* === Phone (≤ 640px) === */
@media (max-width: 640px) {
  body { font-size: 14px; overflow-x: hidden; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .section__head { margin-bottom: 28px; }
  .section__title { font-size: 24px; }
  .section__sub { font-size: 13.5px; }
  .block-title { font-size: 17px; margin-bottom: 16px; }

  .ak-header__inner { height: 64px; }
  .ak-logo__img { height: 43px; }

  .hero { height: 480px; }
  .hero-home { height: 540px; }
  .hero__title { font-size: 34px !important; line-height: 1.05; margin-bottom: 16px; }
  .hero__title--xl { font-size: 40px !important; }
  .hero__sub { font-size: 14px !important; margin-bottom: 22px; max-width: 100% !important; }
  .hero__eyebrow { font-size: 10.5px; margin-bottom: 14px; }
  .hero__content, .hero__content--wide { max-width: 100% !important; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; padding: 14px 18px; }

  .usecases { grid-template-columns: 1fr 1fr !important; }
  .usecase { padding: 22px 12px; }
  .usecase__label { font-size: 12px; }
  .features { grid-template-columns: 1fr 1fr !important; gap: 8px; }
  .feature { padding: 20px 14px; }
  .feature__label { font-size: 12px; }
  .featgrid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .featcard { padding: 20px 16px; }
  .featcard__num { font-size: 24px; }
  .featcard__label { font-size: 13px; }
  .modules, .models { grid-template-columns: 1fr 1fr !important; }
  .examples { grid-template-columns: 1fr !important; }
  .vselect { grid-template-columns: 1fr !important; }
  .case__thumbs { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .case__title { font-size: 20px; }
  /* Timeline „Jak przebiega realizacja" — pod mobile: pionowa lista, bez poziomej osi */
  .steps { grid-template-columns: 1fr !important; gap: 12px; }
  .steps__bar { display: none !important; }
  .step { padding: 18px 16px; }

  /* Tabela porównawcza — mieści się w szerokości, bez poziomego scrolla */
  .cmp-wrap { overflow-x: visible; }
  .cmp { table-layout: fixed; }
  .cmp th, .cmp td { padding: 9px 7px; font-size: 11px; }
  .cmp__label { width: 24%; white-space: normal; }
  .prod-photos { grid-template-columns: 1fr 1fr; }

  .swatches { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .mod-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .mod-card { font-size: 20px; }
  .mod-card--big { font-size: 22px; }

  .field__row { grid-template-columns: 1fr; }
  .modal { padding: 24px; }

  .home-tile__body { padding: 20px; }
  .home-tile__name { font-size: 30px; }
  .home-tile__desc { font-size: 12.5px; }

  .breadcrumbs { font-size: 11px; padding: 12px 0; }
  .breadcrumbs .sep { margin: 0 4px; }

  .ak-footer { padding: 0 0 20px; }
  .ak-footer__grid { grid-template-columns: 1fr !important; gap: 32px; padding: 40px 0 32px; }
  .ak-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .ft-legal { gap: 18px; }

  .cert { flex-direction: column; gap: 14px; }
  .hero-strip h3, .cta-strip h3 { font-size: 18px; }
  .usp-bar { padding: 16px 0; }
  .usp-bar__grid { grid-template-columns: 1fr; gap: 12px; }
  .usp-bar__num { font-size: 14px; }
  .usp-bar__lab { font-size: 11px; }

  /* CTA banners (inline-styled, override for stack + center) */
  .section--ink .container[style*="flex"],
  section[style*="background"] .container[style*="flex"] {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  /* Stopka — blok marki wyśrodkowany */
  .ft-brand { text-align: center; }
  .ft-brand__desc { text-align: center; max-width: none; margin-left: auto; margin-right: auto; }
  .ak-footer__logo { display: block; margin: 0 auto; }
  .ft-badges { justify-content: center; }

  /* Collapse inline 3/4/5-col grids (addons, scenarios, renders, components) */
  [style*="repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }
  [style*="repeat(4, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
  [style*="repeat(5, 1fr)"] { grid-template-columns: 1fr 1fr !important; }
}

/* === Very small phone (≤ 380px) === */
@media (max-width: 380px) {
  .hero__title { font-size: 28px !important; }
  .hero__title--xl { font-size: 34px !important; }
  .home-tile__name { font-size: 26px; }
}

/* ====================== /wizualizacja ====================== */
.wiz-container { max-width: 880px; margin: 0 auto; }
.wiz-step { display: flex; gap: 22px; margin-bottom: 36px; align-items: flex-start; }
.wiz-step__num {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%;
  background: #111; color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.wiz-step__body { flex: 1; min-width: 0; }
.wiz-step__title { margin: 4px 0 16px; font-size: 22px; font-weight: 700; color: #111; }
.wiz-help { margin: 0 0 14px; color: #555; font-size: 14px; line-height: 1.55; }

.wiz-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wiz-product {
  background: #fff; border: 2px solid #e5e5e5; border-radius: 14px; padding: 0; cursor: pointer;
  text-align: left; overflow: hidden; transition: border-color .15s, transform .15s;
}
.wiz-product:hover { border-color: #888; }
.wiz-product.is-active { border-color: #111; box-shadow: 0 4px 14px rgba(0,0,0,0.08); }
.wiz-product__img { width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center; background-color: #1a1a1a; }
.wiz-product__info { padding: 12px 14px; }
.wiz-product__name { font-weight: 700; font-size: 16px; color: #111; }
.wiz-product__sub { font-size: 12px; color: #666; margin-top: 2px; }

.wiz-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.wiz-color {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: #fff; border: 2px solid #e5e5e5; border-radius: 999px; cursor: pointer;
  transition: border-color .15s;
}
.wiz-color:hover { border-color: #888; }
.wiz-color.is-active { border-color: #111; }
.wiz-color__sw { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; }
.wiz-color__lbl { font-size: 14px; color: #111; }

.wiz-drop {
  border: 2px dashed #c4c4c4; border-radius: 14px; padding: 50px 20px;
  text-align: center; cursor: pointer; background: #fafafa;
  transition: border-color .15s, background .15s;
}
.wiz-drop:hover { border-color: #111; background: #f3f3f3; }
.wiz-drop__icon { font-size: 40px; margin-bottom: 10px; }
.wiz-drop__txt { color: #555; font-size: 15px; }

.wiz-preview {
  border: 1px solid #e5e5e5; border-radius: 14px; overflow: hidden; background: #fff;
}
.wiz-preview img { width: 100%; max-height: 380px; object-fit: cover; display: block; }
.wiz-preview__actions {
  padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #555;
}
.wiz-link { background: none; border: 0; color: #111; font-weight: 600; cursor: pointer; text-decoration: underline; }

.wiz-form { display: flex; flex-direction: column; gap: 16px; }
.wiz-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wiz-field label { display: block; font-size: 13px; font-weight: 600; color: #111; margin-bottom: 6px; }
.wiz-field input, .wiz-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #d4d4d4; border-radius: 10px;
  font: inherit; background: #fff; color: #111;
}
.wiz-field input:focus, .wiz-field textarea:focus { outline: none; border-color: #111; }
.wiz-rodo { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #444; line-height: 1.5; cursor: pointer; }
.wiz-rodo input { margin-top: 3px; }
.wiz-err { color: #c8201a; font-size: 12px; margin-top: 6px; }
.wiz-server-err {
  padding: 12px 16px; background: #fff5f5; border: 1px solid #f0c5c2; border-radius: 10px;
  color: #c8201a; font-size: 14px;
}
.wiz-cta { margin-top: 8px; }

/* Wynik */
.wiz-result { max-width: 920px; margin: 0 auto; text-align: center; }
.wiz-result__title { margin: 0 0 10px; font-size: 30px; font-weight: 800; color: #111; }
.wiz-result__sub { margin: 0 0 24px; color: #555; font-size: 15px; }
.wiz-result__img-wrap {
  border: 1px solid #e5e5e5; border-radius: 16px; overflow: hidden; background: #fafafa;
  box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}
.wiz-result__img-wrap img { display: block; width: 100%; height: auto; }
.wiz-disclaimer { margin: 18px auto 0; max-width: 720px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 14px 18px; font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }
.wiz-disclaimer strong { color: var(--ink); }
.wiz-result__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Info kolumny */
.wiz-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; color: #fff; }
.wiz-info__col { text-align: center; }
.wiz-info__icon { width: 56px; height: 56px; object-fit: contain; margin: 0 auto 14px; display: block; }
.wiz-info__col h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.wiz-info__col p { margin: 0; color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.55; }

/* Mobile */
@media (max-width: 900px) {
  .wiz-products { grid-template-columns: 1fr; }
  .wiz-info { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .wiz-step { flex-direction: column; gap: 12px; }
  .wiz-step__num { width: 38px; height: 38px; font-size: 16px; flex-basis: 38px; }
  .wiz-step__title { font-size: 19px; }
  .wiz-row-2 { grid-template-columns: 1fr; }
  .wiz-result__title { font-size: 24px; }
}

/* === Budowa systemu (anatomia) === */
.buildgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.buildgrid__item { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.buildgrid__name { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.buildgrid__desc { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* === Pokrycia dachowe === */
.covergrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cover-group { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cover-group__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: var(--ink); }
.cover-group__desc { margin: 0 0 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cover-group__list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; }
.cover-group__list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cover-group__list li:first-child { padding-top: 0; }
.cover-group__list li:last-child { border-bottom: none; padding-bottom: 0; }
.cover-group__name { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cover-group__sub { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.cover-group__params { margin: 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

/* === Montaż i mocowanie === */
.mount-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mount-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.mount-card__head { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.mount-card__note { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.mount-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mount-chip { font-size: 13px; font-weight: 600; color: var(--ink); background: var(--soft, #f4f2ec); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }

/* === Certyfikaty do pobrania === */
.cert-dl { margin-top: 32px; }
.cert-dl__title { margin: 0 0 16px; font-size: 15px; font-weight: 700; color: var(--ink); }
.cert-dl__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cert-dl__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.cert-dl__item:hover { border-color: var(--ink); box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.cert-dl__ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; color: var(--accent); background: var(--soft, #f4f2ec); border-radius: 9px; }
.cert-dl__body { display: flex; flex-direction: column; gap: 2px; }
.cert-dl__lbl { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cert-dl__sub { font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  .buildgrid { grid-template-columns: 1fr; }
  .covergrid { grid-template-columns: 1fr; }
  .mount-2col { grid-template-columns: 1fr; }
  .cert-dl__grid { grid-template-columns: 1fr; }
}

/* === Panel handlowca /admin === */
.adm { max-width: 720px; margin: 0 auto; padding: 0 0 60px; min-height: 100vh; background: #f6f4ef; }
.adm-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: #16171a; color: #fff; }
.adm-top__brand { font-weight: 800; letter-spacing: .12em; font-size: 16px; }
.adm-top__brand span { display: block; font-size: 9px; letter-spacing: .24em; color: #b8b8b8; font-weight: 600; margin-top: 2px; }
.adm-tabs { display: flex; gap: 4px; padding: 0 18px; background: #16171a; }
.adm-tab { padding: 11px 16px; color: #fff; font-size: 13px; font-weight: 700; border-bottom: 2px solid #b8851a; }
.adm-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.adm-card { background: #fff; border: 1px solid #e4e1d8; border-radius: 14px; padding: 16px; }
.adm-h { margin: 0 0 12px; font-size: 13px; font-weight: 800; color: #16171a; }
.adm-muted { color: #6a6a6a; }
.adm-field { margin-bottom: 14px; }
.adm-field:last-child { margin-bottom: 0; }
.adm-field__lbl { font-size: 11px; font-weight: 700; color: #555; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-chip { border: 1.5px solid #ddd; background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 13px; color: #1c1c1f; cursor: pointer; transition: border-color .15s, background .15s; }
.adm-chip:hover { border-color: #999; }
.adm-chip.is-active { border-color: #16171a; background: #16171a; color: #fff; }
.adm-chip__sub { color: #9a9a9a; font-size: 11px; }
.adm-chip.is-active .adm-chip__sub { color: #c9c9c9; }
.adm-chip--color { display: inline-flex; align-items: center; gap: 8px; }
.adm-sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); flex-shrink: 0; }
.adm-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.adm-product { border: 1.5px solid #ddd; background: #fff; border-radius: 12px; padding: 12px 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.adm-product.is-active { border-color: #16171a; box-shadow: 0 3px 10px rgba(0,0,0,.08); }
.adm-product__name { font-weight: 800; font-size: 14px; }
.adm-product__sub { font-size: 10.5px; color: #777; line-height: 1.3; }
.adm-toggle { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.adm-toggle input { width: 18px; height: 18px; }
.adm-input { width: 100%; border: 1.5px solid #ddd; border-radius: 10px; padding: 11px 13px; font-size: 14px; }
.adm-input:focus { outline: none; border-color: #16171a; }
.adm-cap { display: flex; flex-direction: column; gap: 10px; }
.adm-preview img { width: 100%; border-radius: 12px; display: block; }
.adm-preview { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.adm-mark { position: relative; width: 100%; touch-action: manipulation; cursor: crosshair; user-select: none; -webkit-user-select: none; border-radius: 12px; overflow: hidden; }
.adm-mark img { pointer-events: none; -webkit-user-drag: none; display: block; width: 100%; }
.adm-mark__svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.adm-mark__svg polyline { fill: none; stroke: #ff00c8; stroke-width: 4px; stroke-linejoin: round; stroke-linecap: round; }
.adm-mark__svg line { stroke: #ff00c8; stroke-width: 4px; stroke-linecap: round; }
.adm-mark__pt { position: absolute; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; background: #ff00c8; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; pointer-events: none; }
.adm-mark__tag { position: absolute; transform: translate(-50%, calc(-100% - 14px)); background: #ff00c8; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; white-space: nowrap; pointer-events: none; }
.adm-mark__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(22,23,26,0.82); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; pointer-events: none; text-align: center; max-width: 92%; }
.adm-mark__bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; }
.adm-mark__ok { color: #1f7a3d; font-weight: 700; }
.adm-btn { border: 1.5px solid #16171a; background: #fff; color: #16171a; border-radius: 10px; padding: 12px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }
.adm-btn:disabled { opacity: .5; cursor: default; }
.adm-btn--primary { background: #b8851a; border-color: #b8851a; color: #1a1200; }
.adm-btn--lg { padding: 15px 18px; font-size: 15px; }
.adm-btn--block { width: 100%; padding: 16px; font-size: 16px; }
.adm-link { background: none; border: none; color: #b8851a; font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: underline; }
.adm-top .adm-link { color: #e8c98a; }
.adm-err { background: #fdeaea; border: 1px solid #f3c2c2; color: #9b2222; border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.adm-result img { width: 100%; border-radius: 14px; display: block; border: 1px solid #e4e1d8; }
.adm-result__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.adm-login { min-height: 100vh; background: #16171a; display: flex; align-items: center; justify-content: center; padding: 24px; }
.adm-login__box { background: #fff; border-radius: 16px; padding: 30px 26px; width: 100%; max-width: 360px; text-align: center; }
.adm-login__brand { font-weight: 800; letter-spacing: .12em; font-size: 18px; color: #16171a; }
.adm-login__brand span { display: block; font-size: 9px; letter-spacing: .24em; color: #999; font-weight: 600; margin-top: 3px; }
.adm-login__box h1 { font-size: 19px; margin: 18px 0 6px; }
.adm-login__box input { width: 100%; border: 1.5px solid #ddd; border-radius: 10px; padding: 13px; font-size: 16px; text-align: center; letter-spacing: .2em; margin: 14px 0 12px; }
.adm-login__box input:focus { outline: none; border-color: #16171a; }
.adm-login__box .adm-btn { width: 100%; }
@media (max-width: 520px) {
  .adm-products { grid-template-columns: 1fr; }
}
.adm-hint { margin: 12px 0 0; font-size: 12.5px; color: #6a6a6a; text-align: center; }

/* === Inspiracje (galeria) === */
.insp-h { font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 4px; }
.insp-sub { margin: 0 0 22px; color: var(--muted); font-size: 14px; }
.insp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.insp-grid > :nth-child(1), .insp-grid > :nth-child(2) { grid-column: span 1; }
.insp-cell { position: relative; aspect-ratio: 3/2; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background-size: cover; background-position: center; background-color: #e7e3d9; transition: transform .25s, box-shadow .25s; }
.insp-cell:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,0,0,0.14); }
.insp-cell__zoom { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(0,0,0,0.45); color: #fff; font-size: 15px; opacity: 0; transition: opacity .2s; }
.insp-cell:hover .insp-cell__zoom { opacity: 1; }
.insp-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,12,0.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.insp-lb__img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.insp-lb__close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }
.insp-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; cursor: pointer; }
.insp-lb__nav:hover { background: rgba(255,255,255,0.22); }
.insp-lb__nav--prev { left: 18px; }
.insp-lb__nav--next { right: 18px; }

/* === O nas === */
.onas-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 8px; }
.onas-fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 16px; text-align: center; }
.onas-fact__v { font-size: 26px; font-weight: 800; color: var(--ink); }
.onas-fact__k { font-size: 12px; color: var(--muted); margin-top: 4px; }

@media (max-width: 860px) {
  .insp-grid { grid-template-columns: repeat(2, 1fr); }
  .onas-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .insp-grid { grid-template-columns: 1fr; }
}

/* === O nas (redesign) === */
.onas-hero { background: #16171a; color: #fff; padding: 64px 0 56px; }
.onas-hero--photo { position: relative; background-color: #16171a; background-size: cover; background-position: center right; background-repeat: no-repeat; padding: 88px 0 76px; overflow: hidden; }
.onas-hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,19,22,0.94) 0%, rgba(18,19,22,0.84) 44%, rgba(18,19,22,0.42) 100%); }
.onas-hero__eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #b8851a; font-weight: 700; margin-bottom: 16px; }
.onas-hero__title { font-size: 42px; line-height: 1.08; font-weight: 800; margin: 0 0 18px; max-width: 16ch; }
.onas-hero__lead { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.72); max-width: 60ch; margin: 0; }
.onas-hero__facts { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.onas-hero__fact .v { font-size: 28px; font-weight: 800; color: #fff; }
.onas-hero__fact .v b { color: #e8c98a; font-weight: 800; }
.onas-hero__fact .k { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.onas-lead-p { font-size: 16px; line-height: 1.75; color: var(--ink); max-width: 62ch; }
.onas-body-p { font-size: 14.5px; line-height: 1.8; color: var(--muted); max-width: 64ch; }

/* oś czasu */
.onas-ms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.onas-ms__item { position: relative; padding-top: 22px; border-top: 2px solid var(--line); }
.onas-ms__item::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.onas-ms__yr { font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--accent-ink, #8a6212); }
.onas-ms__t { font-size: 14px; font-weight: 700; color: var(--ink); margin: 6px 0 4px; }
.onas-ms__d { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* prawdziwe zdjęcia z targów */
.onas-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.onas-photo figure { margin: 0; }
.onas-photo__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 14px; border: 1px solid var(--line); }
.onas-photo figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* wartości — numerowana lista edytorska */
.onas-values { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; counter-reset: val; }
.onas-val { display: flex; gap: 16px; }
.onas-val__num { flex: 0 0 auto; font-size: 15px; font-weight: 800; color: var(--accent-ink, #8a6212); background: rgba(184,133,26,0.12); width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.onas-val__t { font-size: 15px; font-weight: 700; color: var(--ink); margin: 4px 0 6px; }
.onas-val__d { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }

@media (max-width: 860px) {
  .onas-hero--photo { padding: 56px 0 48px; background-position: center; }
  .onas-hero--photo::before { background: linear-gradient(180deg, rgba(18,19,22,0.86) 0%, rgba(18,19,22,0.9) 100%); }
  .onas-hero__title { font-size: 32px; }
  .onas-hero__facts { gap: 24px; }
  .onas-ms { grid-template-columns: 1fr 1fr; gap: 22px; }
  .onas-photos { grid-template-columns: 1fr; }
  .onas-values { grid-template-columns: 1fr; gap: 22px; }
}

/* === Cennik produktowy (LINEA kalkulator, HORIZON tabele) === */
.pricing { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
.pricing__controls { display: flex; flex-direction: column; gap: 22px; }
.pricing__field { display: flex; flex-direction: column; gap: 6px; }
.pricing__field > span { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.pricing__field select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 52px 13px 14px; font-size: 15px; cursor: pointer;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2316171a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px 20px;
}
.pricing__field select:hover { border-color: var(--ink); }
.pricing__field select:focus { outline: none; border-color: var(--ink); }
.pricing__hint { font-size: 12px; color: var(--muted); line-height: 1.45; }
.pricing__result { background: #16171a; color: #fff; border-radius: 16px; padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; align-self: center; }
.pricing__net { font-size: 34px; font-weight: 800; line-height: 1.1; }
.pricing__net span { font-size: 15px; font-weight: 600; color: rgba(255,255,255,0.6); }
.pricing__net--ask { font-size: 24px; }
.pricing__gross { font-size: 15px; color: rgba(255,255,255,0.72); margin-top: 6px; }
.pricing__dims { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 16px; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 14px; }
.pricing__note { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 14px 0 0; max-width: 760px; }
.pricing__callout-wrap { margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--line); }
.pricing__callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.pricing__callout-txt strong { display: block; font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.pricing__callout-txt p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.pricing__callout .btn { white-space: nowrap; flex: 0 0 auto; }
.pricing__legal { font-size: 12px; color: var(--muted); line-height: 1.55; margin: 16px auto 0; text-align: center; max-width: 820px; }
@media (max-width: 760px) {
  .pricing__callout { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pricing__callout .btn { width: 100%; }
}
.pricing-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing__subhead { margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--line); margin-bottom: 20px; }
.pricing__addons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 22px; margin-top: 4px; }
.pricing__addon { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.pricing__addon-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pricing__addon-name { font-size: 14px; font-weight: 700; color: var(--ink); }
.pricing__addon-price { font-size: 14px; font-weight: 800; white-space: nowrap; }
.pricing__addon-price em { font-size: 11px; font-weight: 600; color: var(--muted); font-style: normal; }
.pricing__addon-note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.pricing-h__block { margin-bottom: 18px; }
.pricing-h__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pricing-h__head strong { font-size: 15px; color: var(--ink); }
.pricing-h__head span { font-size: 12.5px; color: var(--muted); }
.pricing-h__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing-h__table { width: 100%; border-collapse: collapse; min-width: 420px; font-size: 14px; }
.pricing-h__table th, .pricing-h__table td { text-align: left; padding: 11px 14px; border: 1px solid var(--line); }
.pricing-h__table thead th { background: var(--bg-soft, #f5f3ee); font-weight: 700; font-size: 12.5px; }
.pricing-h__table td { font-weight: 700; color: var(--ink); }
.pricing-h__table td small { font-weight: 600; color: var(--muted); font-size: 11px; margin-left: 2px; }
.pricing-h__size { background: var(--bg-soft, #f5f3ee); }
@media (max-width: 760px) {
  .pricing { grid-template-columns: 1fr; }
  .pricing__addons { grid-template-columns: 1fr; }
  .pricing__net { font-size: 28px; }
}

/* === Reveal sekcji przy scrollu (data-reveal: out/in — odporne na re-render React) === */
[data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.20,1); will-change: opacity, transform; }
[data-reveal="out"] { opacity: 0; transform: translateY(32px); }
[data-reveal="in"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* === Strony prawne (polityka prywatności, regulamin) === */
.legal { max-width: 820px; }
.legal__meta { font-size: 13px; color: var(--muted); margin: 0 0 28px; }
.legal h2 { font-size: 21px; font-weight: 700; color: var(--ink); margin: 38px 0 12px; letter-spacing: -0.01em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p { font-size: 15px; line-height: 1.75; color: #3a3c40; margin: 0 0 14px; }
.legal a { color: var(--accent-ink, #8a6212); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--accent, #b8851a); }
.legal__list { margin: 4px 0 16px; padding-left: 22px; }
.legal__list li { font-size: 15px; line-height: 1.7; color: #3a3c40; margin-bottom: 8px; }
.legal__ol { margin: 4px 0 16px; padding-left: 22px; counter-reset: item; }
.legal__ol > li { font-size: 15px; line-height: 1.7; color: #3a3c40; margin-bottom: 12px; padding-left: 4px; }
.legal__ol .legal__list { margin-top: 8px; }
.legal__table-wrap { overflow-x: auto; margin: 8px 0 18px; -webkit-overflow-scrolling: touch; }
.legal__table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 13.5px; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); line-height: 1.55; }
.legal__table thead th { background: var(--bg-soft, #f5f3ee); font-weight: 700; color: var(--ink); }
.legal__table td { color: #3a3c40; }
