/* ==========================================================================
   iNavi Air — site.css
   Statyczna „skóra iNavi" na tokenach design systemu (styles.css).
   Struktura à la Miro: pill-buttony, dużo bieli, rytm sekcji, kafle,
   mocny ciemny footer, hero z dużym display + CTA. Mobile-first.
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--surface-page);
  font-family: var(--font-body);
  color: var(--text-body);
  padding-bottom: 84px;                 /* miejsce na sticky call bar (mobile) */
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text-link); }
img { max-width: 100%; display: block; }

.ia-container { max-width: var(--container-lg); margin: 0 auto; padding: 0 20px; }
.ia-narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font: var(--weight-heavy) var(--text-xs)/1 var(--font-body);
  letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--teal-600);
}
.ico { width: 1em; height: 1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons (pill) ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--control-lg); padding: 0 24px; border: none; border-radius: var(--radius-pill);
  font: var(--weight-heavy) var(--text-base)/1 var(--font-body); cursor: pointer;
  text-decoration: none; transition: transform var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--action-primary-bg); color: var(--action-primary-fg); }
.btn-primary:hover { background: var(--action-primary-bg-hover); }
.btn-ink { background: var(--action-ink-bg); color: var(--action-ink-fg); }
.btn-ink:hover { background: var(--action-ink-bg-hover); }
.btn-call { background: var(--action-call-bg); color: var(--action-call-fg); }
.btn-call:hover { background: var(--action-call-bg-hover); }
.btn-outline { background: transparent; color: var(--text-strong); box-shadow: inset 0 0 0 1.5px var(--border-default); }
.btn-ghost { background: transparent; color: var(--text-strong); }
.btn-sm { height: var(--control-md); padding: 0 18px; font-size: var(--text-sm); }
.btn-block { width: 100%; }

/* ---------- Header -------------------------------------------------------- */
.ia-header {
  position: sticky; top: 0; z-index: 500;
  background: color-mix(in oklab, var(--surface-card) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--border-subtle);
}
.ia-header-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.ia-brand { display: inline-flex; align-items: center; }
.ia-brand img { height: 30px; }
.ia-nav { display: none; gap: 22px; }
.ia-nav a { text-decoration: none; color: var(--text-body); font: var(--weight-medium) var(--text-sm) var(--font-body); }
.ia-nav a:hover { color: var(--text-strong); }
.ia-nav a[aria-current="page"] { color: var(--text-strong); font-weight: var(--weight-heavy); }
.ia-head-actions { display: flex; align-items: center; gap: 10px; }
.ia-headcall {
  display: none; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-900);
  font: var(--weight-heavy) var(--text-sm) var(--font-body); background: var(--frost-200);
  padding: 9px 16px; border-radius: var(--radius-pill);
}
.ia-head-audit { display: none; }
.ia-burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: var(--surface-sunken); border: none; border-radius: var(--radius-md); cursor: pointer; color: var(--ink-900); }
.ia-burger .ico { width: 22px; height: 22px; }
.ia-mobnav { display: none; border-top: 1.5px solid var(--border-subtle); background: var(--surface-card); }
.ia-mobnav.open { display: block; }
.ia-mobnav a { display: block; padding: 14px 20px; text-decoration: none; color: var(--text-strong); font: var(--weight-medium) var(--text-base) var(--font-body); border-bottom: 1px solid var(--border-subtle); }

/* ---------- Hero ---------------------------------------------------------- */
.ia-hero { background: radial-gradient(120% 120% at 85% -10%, var(--frost-200), transparent 55%), var(--surface-page); padding: 40px 0 8px; }
.ia-hero-in { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.ia-hero-copy h1 { margin: 14px 0 0; font: var(--weight-heavy) var(--text-3xl)/1.05 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }
.ia-hero-copy p { margin: 14px 0 0; font: var(--weight-book) var(--text-md)/1.5 var(--font-body); color: var(--text-muted); max-width: 46ch; }
.ia-hero-note { margin: 12px 0 0; font: var(--weight-medium) var(--text-sm)/1.5 var(--font-body); color: var(--teal-700); }
.ia-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ia-price-tag { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.ia-price-tag .lab { font: var(--weight-book) var(--text-xs) var(--font-body); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-subtle); }
.ia-price-tag .val { font: var(--weight-heavy) var(--text-xl)/1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }

/* ---------- Hero mascot --------------------------------------------------- */
.hero-mascot { width: 96px; height: auto; margin-top: 22px; filter: drop-shadow(0 8px 18px rgba(23,18,25,0.12)); animation: mascot-bob 4s var(--ease-standard) infinite; }
@keyframes mascot-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-mascot { animation: none; } }

/* ---------- Sections ------------------------------------------------------ */
.ia-section { padding: 52px 0; }
.ia-tint { background: var(--frost-100); }
.ia-ink { background: var(--ink-900); }
.ia-h2 { margin: 10px 0 0; font: var(--weight-heavy) var(--text-2xl)/1.1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }
.ia-sub { margin: 10px 0 0; font: var(--weight-book) var(--text-md)/1.5 var(--font-body); color: var(--text-muted); max-width: 60ch; }
.ia-note { margin-top: 16px; font: var(--weight-book) var(--text-xs)/1.4 var(--font-body); color: var(--text-subtle); }

.ia-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.ia-fund { display: grid; gap: 20px; grid-template-columns: 1fr; }

/* ---------- Schemat rekuperacji (animacja) -------------------------------- */
.sch-section { overflow: hidden; }
.sch-wrap { width: 100%; margin: 28px 0 8px; padding: 8px 0; }
.sch-svg { display: block; width: 100%; height: auto; max-width: 1200px; margin: 0 auto; }
.sch-t { font-family: var(--font-body); font-size: 15px; font-weight: 500; }
.sch-t-muted { fill: var(--text-muted); }
.sch-t-strong { fill: var(--text-strong); font-weight: 800; }
.sch-t-fresh { fill: var(--frost-800); font-weight: 700; }
.sch-t-supply { fill: var(--teal-700); font-weight: 700; }
.sch-t-extract { fill: var(--amber-600); font-weight: 700; }
.sch-t-exhaust { fill: var(--ink-500); font-weight: 700; }
.sch-pipe { fill: none; stroke-width: 11; stroke-linecap: round; opacity: 0.30; }
.sch-flow { fill: none; stroke-width: 11; stroke-linecap: round; stroke-dasharray: 2 20; animation: sch-flow 1.1s linear infinite; }
.sch-fresh   { stroke: var(--frost-500); }
.sch-supply  { stroke: var(--teal-500); }
.sch-extract { stroke: var(--amber-400); }
.sch-exhaust { stroke: var(--ink-400); }
@keyframes sch-flow { to { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) { .sch-flow { animation: none; stroke-dasharray: none; opacity: 0.9; } }
.sch-legendbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin-top: 6px; }
.sch-leg { display: inline-flex; align-items: center; gap: 8px; font: var(--weight-medium) var(--text-sm)/1 var(--font-body); color: var(--text-body); }
.sch-dot { width: 14px; height: 14px; border-radius: var(--radius-pill); flex: none; }
.sch-dot.sch-fresh { background: var(--frost-500); }
.sch-dot.sch-supply { background: var(--teal-500); }
.sch-dot.sch-extract { background: var(--amber-400); }
.sch-dot.sch-exhaust { background: var(--ink-400); }
.sch-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--green-200); color: var(--green-700); font: var(--weight-heavy) var(--text-sm)/1 var(--font-body); }
.sch-badge .ico { width: 17px; height: 17px; }

/* ---------- TrustBar ------------------------------------------------------ */
.trustbar { display: flex; flex-wrap: wrap; gap: 8px 4px; background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 6px; }
.trustbar .item { flex: 1 1 160px; display: flex; align-items: center; gap: 11px; padding: 12px 14px; }
.trustbar .ic { flex: none; width: 40px; height: 40px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; background: var(--frost-200); color: var(--frost-700); }
.trustbar .ic .ico { width: 21px; height: 21px; }
.trustbar .t { font: var(--weight-heavy) var(--text-sm)/1.15 var(--font-body); color: var(--text-strong); }
.trustbar .s { font: var(--weight-book) var(--text-xs)/1.2 var(--font-body); color: var(--text-muted); margin-top: 1px; }

/* ---------- ServiceCard --------------------------------------------------- */
.svc-card { display: flex; flex-direction: column; background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 22px; transition: transform var(--dur-fast) var(--ease-standard); }
.svc-card:hover { transform: translateY(-3px); }
.svc-card.featured { border: 2px solid var(--frost-500); box-shadow: var(--shadow-md); }
.svc-ic { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-ic .ico { width: 28px; height: 28px; }
.tone-cool .svc-ic { background: var(--frost-200); color: var(--frost-700); }
.tone-heat .svc-ic { background: var(--amber-300); color: var(--amber-600); }
.tone-savings .svc-ic { background: var(--green-200); color: var(--green-700); }
.svc-card h3 { margin: 0; font: var(--weight-heavy) var(--text-lg)/1.15 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }
.svc-card .desc { margin: 8px 0 0; font: var(--weight-book) var(--text-sm)/1.5 var(--font-body); color: var(--text-muted); }
.svc-feats { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-feats li { display: flex; gap: 8px; align-items: flex-start; font: var(--weight-medium) var(--text-sm)/1.4 var(--font-body); color: var(--text-body); }
.svc-feats .ico { width: 17px; height: 17px; color: var(--green-600); margin-top: 1px; }
.svc-price { margin-top: 18px; padding-top: 16px; border-top: 1.5px solid var(--border-subtle); }
.svc-price .lab { font: var(--weight-book) var(--text-xs)/1 var(--font-body); color: var(--text-subtle); text-transform: uppercase; letter-spacing: var(--tracking-caps); }
.svc-price .val { font: var(--weight-heavy) var(--text-2xl)/1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }
.svc-card .btn { margin-top: 16px; }

/* ---------- FundingCard (nieużywane — dotacje w blogu) -------------------- */
.fund-card { display: flex; flex-direction: column; background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 20px; }
.fund-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.fund-ic { width: 44px; height: 44px; flex: none; border-radius: var(--radius-md); background: var(--green-200); color: var(--green-700); display: flex; align-items: center; justify-content: center; }
.fund-prog { font: var(--weight-heavy) var(--text-md)/1.1 var(--font-display); color: var(--text-strong); }
.fund-amt { font: var(--weight-heavy) var(--text-2xl)/1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); margin-top: 2px; }

/* ---------- QuoteStepper -------------------------------------------------- */
.card-elev { background: var(--surface-card); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 22px; }
.stepper { max-width: 460px; }
.step-progress { display: flex; gap: 8px; margin-bottom: 20px; }
.step-progress .col { flex: 1; }
.step-progress .bar { height: 5px; border-radius: 3px; background: var(--ink-200); transition: background var(--dur-base) var(--ease-standard); }
.step-progress .col.on .bar, .step-progress .col.done .bar { background: var(--frost-500); }
.step-progress .lab { margin-top: 6px; font: var(--weight-medium) var(--text-xs)/1 var(--font-body); color: var(--text-subtle); }
.step-progress .col.on .lab, .step-progress .col.done .lab { font-weight: var(--weight-heavy); color: var(--text-strong); }
.step h3 { margin: 0; font: var(--weight-heavy) var(--text-lg)/1.1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }
.step { display: none; }
.step.active { display: block; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.opt {
  display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 16px;
  cursor: pointer; text-align: left; background: var(--surface-card);
  border: 2px solid var(--border-subtle); border-radius: var(--radius-md);
  transition: all var(--dur-fast) var(--ease-standard); font: var(--weight-heavy) var(--text-base)/1.1 var(--font-body); color: var(--text-strong);
}
.opt .ico { width: 26px; height: 26px; color: var(--frost-700); }
.opt.sel { background: var(--frost-200); border-color: var(--frost-500); }
.opt-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.opt-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; cursor: pointer; background: var(--surface-card); border: 2px solid var(--border-subtle); border-radius: var(--radius-md); font: var(--weight-medium) var(--text-base)/1 var(--font-body); color: var(--text-strong); }
.opt-row .dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border-default); }
.opt-row.sel { background: var(--frost-200); border-color: var(--frost-500); }
.opt-row.sel .dot { border-color: var(--frost-600); background: var(--frost-500); }
.price-box { margin: 14px 0; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(150deg, var(--frost-200), var(--teal-200)); }
.price-box .svc { font: var(--weight-book) var(--text-sm)/1 var(--font-body); color: var(--text-body); }
.price-box .big { font: var(--weight-heavy) var(--text-2xl)/1 var(--font-display); color: var(--text-strong); margin-top: 6px; letter-spacing: var(--tracking-tight); }
.price-box .fine { font: var(--weight-book) var(--text-xs)/1.4 var(--font-body); color: var(--text-muted); margin-top: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font: var(--weight-medium) var(--text-sm)/1 var(--font-body); color: var(--text-strong); }
.field .hint { font: var(--weight-book) var(--text-xs)/1.3 var(--font-body); color: var(--text-muted); }
.input, .select, textarea.input { width: 100%; height: var(--control-md); padding: 0 16px; border: 1.5px solid var(--border-default); border-radius: var(--radius-md); font: var(--weight-book) var(--text-base) var(--font-body); color: var(--text-strong); outline: none; background: var(--surface-card); }
textarea.input { height: auto; padding: 12px 16px; min-height: 96px; resize: vertical; }
.input:focus, .select:focus, textarea.input:focus { border-color: var(--frost-500); box-shadow: var(--ring); }
.step-nav { display: flex; gap: 10px; margin-top: 20px; }
.step-nav .btn { height: var(--control-md); }
.step-nav .grow { flex: 1; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- RatingSummary ------------------------------------------------- */
.rating { display: inline-flex; align-items: center; gap: 16px; background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 16px 20px; }
.rating .score { font: var(--weight-heavy) var(--text-3xl)/1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }
.rating .count { font: var(--weight-medium) var(--text-sm)/1.3 var(--font-body); color: var(--text-muted); margin-top: 4px; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 18px; height: 18px; }
.stars .s-on { fill: var(--amber-400); }
.stars .s-off { fill: var(--ink-200); }

/* ---------- ReviewCard ---------------------------------------------------- */
.review { display: flex; flex-direction: column; background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 18px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-av { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--frost-300); color: var(--ink-900); display: flex; align-items: center; justify-content: center; font: var(--weight-heavy) var(--text-md) var(--font-body); }
.review-name { font: var(--weight-heavy) var(--text-sm)/1.2 var(--font-body); color: var(--text-strong); }
.review-loc { font: var(--weight-book) var(--text-xs)/1.2 var(--font-body); color: var(--text-muted); }
.review-g { flex: none; width: 18px; height: 18px; }
.review-video { margin-top: 12px; position: relative; height: 120px; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(150deg, var(--frost-300), var(--teal-400)); display: flex; align-items: center; justify-content: center; }
.review-video .play { width: 46px; height: 46px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); }
.review-video .play svg { width: 18px; height: 18px; fill: var(--ink-900); }
.review-q { margin: 12px 0 0; font: var(--weight-book) var(--text-sm)/1.55 var(--font-body); color: var(--text-body); }
.review-date { margin-top: 12px; font: var(--weight-book) var(--text-xs)/1 var(--font-body); color: var(--text-subtle); }

/* ---------- ProjectCard --------------------------------------------------- */
.proj { display: flex; flex-direction: column; overflow: hidden; background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); }
.proj-img { position: relative; height: 160px; background: linear-gradient(150deg, var(--frost-300), var(--teal-400)); display: flex; align-items: center; justify-content: center; }
.proj-img .phi { opacity: 0.5; color: var(--ink-900); display: flex; }
.proj-img .phi .ico { width: 44px; height: 44px; }
.proj-tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); background: color-mix(in oklab, var(--white) 90%, transparent); color: var(--ink-900); font: var(--weight-heavy) var(--text-xs)/1 var(--font-body); }
.proj-tag .ico { width: 13px; height: 13px; }
.proj-body { padding: 16px 18px; }
.proj-loc { display: flex; align-items: center; gap: 6px; font: var(--weight-medium) var(--text-xs)/1 var(--font-body); color: var(--text-muted); }
.proj-loc .ico { width: 13px; height: 13px; color: var(--frost-700); }
.proj-body h3 { margin: 6px 0 0; font: var(--weight-heavy) var(--text-md)/1.2 var(--font-display); color: var(--text-strong); }
.proj-stats { display: flex; gap: 20px; margin-top: 14px; }
.proj-stats .v { font: var(--weight-heavy) var(--text-lg)/1 var(--font-display); color: var(--frost-700); }
.proj-stats .l { font: var(--weight-book) var(--text-xs)/1.2 var(--font-body); color: var(--text-muted); margin-top: 2px; }

/* ---------- Process steps ------------------------------------------------- */
.steps { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
.step-item { background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 22px; }
.step-num { width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--frost-400); color: var(--ink-900); display: flex; align-items: center; justify-content: center; font: var(--weight-heavy) var(--text-md) var(--font-body); margin-bottom: 14px; }
.step-item h3 { margin: 0; font: var(--weight-heavy) var(--text-md)/1.15 var(--font-display); color: var(--text-strong); }
.step-item p { margin: 6px 0 0; font: var(--weight-book) var(--text-sm)/1.5 var(--font-body); color: var(--text-muted); }

/* ---------- USP list ------------------------------------------------------ */
.usp { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
.usp-item { display: flex; gap: 14px; align-items: flex-start; background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 18px; }
.usp-ic { width: 44px; height: 44px; flex: none; border-radius: var(--radius-md); background: var(--frost-200); color: var(--frost-700); display: flex; align-items: center; justify-content: center; }
.usp-ic .ico { width: 22px; height: 22px; }
.usp-item h3 { margin: 0; font: var(--weight-heavy) var(--text-base)/1.2 var(--font-body); color: var(--text-strong); }
.usp-item p { margin: 4px 0 0; font: var(--weight-book) var(--text-sm)/1.5 var(--font-body); color: var(--text-muted); }

/* ---------- Area ---------------------------------------------------------- */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.area-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-pill); background: var(--surface-card); border: 1.5px solid var(--border-subtle); font: var(--weight-medium) var(--text-sm)/1 var(--font-body); color: var(--text-strong); }
.area-pill .ico { width: 15px; height: 15px; color: var(--frost-700); }

/* ---------- FAQ (accordion) ----------------------------------------------- */
.faq { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-md); padding: 4px 6px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: var(--weight-heavy) var(--text-base)/1.3 var(--font-body); color: var(--text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 20px; height: 20px; color: var(--frost-700); transition: transform var(--dur-base) var(--ease-standard); flex: none; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq .a { padding: 0 12px 14px; font: var(--weight-book) var(--text-sm)/1.6 var(--font-body); color: var(--text-body); }

/* ---------- CtaBanner ----------------------------------------------------- */
.cta-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 28px; border-radius: var(--radius-xl); background: linear-gradient(140deg, var(--frost-300), var(--teal-300)); }
.cta-banner .t { min-width: 220px; flex: 1; }
.cta-banner h3 { margin: 0; font: var(--weight-heavy) var(--text-xl)/1.1 var(--font-display); color: var(--ink-900); letter-spacing: var(--tracking-tight); }
.cta-banner p { margin: 6px 0 0; font: var(--weight-book) var(--text-base)/1.45 var(--font-body); color: color-mix(in oklab, var(--ink-900) 78%, transparent); }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Sticky call bar (mobile) -------------------------------------- */
.sticky-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--surface-card) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1.5px solid var(--border-subtle); }
.sticky-call .btn { flex: 1; height: 52px; }

/* ---------- Footer -------------------------------------------------------- */
.ia-footer { background: var(--ink-900); color: var(--ink-200); padding: 44px 0 32px; margin-top: 8px; }
.ia-footer-in { display: grid; grid-template-columns: 1fr; gap: 26px; }
.ia-footer img { height: 26px; }
.ia-foot-p { margin: 14px 0 0; font: var(--weight-book) var(--text-sm)/1.5 var(--font-body); color: var(--ink-300); max-width: 40ch; }
.ia-foot-h { font: var(--weight-heavy) var(--text-xs) var(--font-body); letter-spacing: var(--tracking-caps); text-transform: uppercase; color: var(--frost-300); margin-bottom: 10px; }
.ia-foot-area { font: var(--weight-medium) var(--text-sm)/1.7 var(--font-body); color: var(--ink-200); }
.ia-foot-links { display: flex; flex-direction: column; gap: 8px; }
.ia-foot-links a { color: var(--ink-200); text-decoration: none; font: var(--weight-medium) var(--text-sm) var(--font-body); }
.ia-foot-links a:hover { color: var(--white); }
.ia-foot-call { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); font: var(--weight-heavy) var(--text-md) var(--font-body); }
.ia-foot-call .ico { width: 16px; height: 16px; }
.ia-foot-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--ink-700); font: var(--weight-book) var(--text-xs)/1.6 var(--font-body); color: var(--ink-400); }

/* ---------- Breadcrumb ---------------------------------------------------- */
.crumbs { padding: 16px 0 0; font: var(--weight-medium) var(--text-xs)/1 var(--font-body); color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text-strong); }

/* ---------- Filters ------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter-pill { padding: 8px 16px; border-radius: var(--radius-pill); border: 1.5px solid var(--border-subtle); background: var(--surface-card); font: var(--weight-medium) var(--text-sm)/1 var(--font-body); color: var(--text-body); cursor: default; }
.filter-pill.active { background: var(--frost-400); color: var(--ink-900); border-color: var(--frost-400); font-weight: var(--weight-heavy); }

/* ---------- Table --------------------------------------------------------- */
.ia-table-wrap { margin-top: 24px; overflow-x: auto; border: 1.5px solid var(--border-subtle); border-radius: var(--radius-lg); }
table.ia-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--surface-card); }
.ia-table th, .ia-table td { text-align: left; padding: 14px 16px; font: var(--weight-book) var(--text-sm)/1.4 var(--font-body); color: var(--text-body); border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
.ia-table th { font-weight: var(--weight-heavy); color: var(--text-strong); background: var(--frost-100); }
.ia-table tr:last-child td { border-bottom: none; }

/* ---------- Article ------------------------------------------------------- */
.article { padding: 40px 0 8px; }
.article h1 { font: var(--weight-heavy) var(--text-3xl)/1.1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); margin: 12px 0 0; }
.article .lead { font: var(--weight-book) var(--text-md)/1.6 var(--font-body); color: var(--text-muted); margin: 18px 0 0; }
.article h2 { font: var(--weight-heavy) var(--text-xl)/1.2 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); margin: 32px 0 0; }
.article p { font: var(--weight-book) var(--text-base)/1.7 var(--font-body); color: var(--text-body); margin: 14px 0 0; }
.article ul { margin: 14px 0 0; padding-left: 20px; }
.article li { font: var(--weight-book) var(--text-base)/1.7 var(--font-body); color: var(--text-body); margin-top: 6px; }
.article .disclaimer { margin-top: 28px; font: var(--weight-book) var(--text-xs)/1.5 var(--font-body); color: var(--text-subtle); font-style: italic; }

/* ---------- Callout ------------------------------------------------------- */
.callout { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--status-warning-bg); border: 1.5px solid var(--amber-400); font: var(--weight-medium) var(--text-sm)/1.55 var(--font-body); color: var(--amber-600); }
.callout.info { background: var(--status-info-bg); border-color: var(--frost-500); color: var(--frost-800); }

/* ---------- Contact info -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; }
.contact-row .ic { width: 40px; height: 40px; flex: none; border-radius: var(--radius-md); background: var(--frost-200); color: var(--frost-700); display: flex; align-items: center; justify-content: center; }
.contact-row .ic .ico { width: 20px; height: 20px; }
.contact-row .k { font: var(--weight-book) var(--text-xs)/1 var(--font-body); text-transform: uppercase; letter-spacing: var(--tracking-caps); color: var(--text-subtle); }
.contact-row .v { font: var(--weight-heavy) var(--text-base)/1.3 var(--font-body); color: var(--text-strong); text-decoration: none; }
.form-card { background: var(--surface-card); border: 1.5px solid var(--border-subtle); border-radius: var(--radius-xl); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font: var(--weight-book) var(--text-xs)/1.5 var(--font-body); color: var(--text-muted); }
.form-ok { display: none; margin-top: 4px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--status-success-bg); color: var(--green-700); font: var(--weight-medium) var(--text-sm)/1.5 var(--font-body); }

/* ---------- Placeholder marker -------------------------------------------- */
.ph { border-bottom: 1.5px dotted var(--amber-400); }

/* ---------- Responsive ---------------------------------------------------- */
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .ia-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .ia-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .ia-footer-in { grid-template-columns: 2fr 1fr 1fr; }
  .ia-head-audit { display: inline-flex; }
}
@media (min-width: 900px) {
  .ia-nav { display: flex; }
  .ia-headcall { display: inline-flex; }
  .ia-burger { display: none; }
  .ia-hero-in { grid-template-columns: 1.05fr 0.95fr; gap: 40px; padding: 20px 0 40px; }
  .ia-hero-copy { position: relative; }
  .ia-hero-copy h1 { font-size: var(--text-4xl); }
  .hero-mascot { position: absolute; top: -18px; right: -6px; width: 110px; margin: 0; }
  .ia-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .usp { grid-template-columns: repeat(3, 1fr); }
  .ia-fund { grid-template-columns: 1.4fr 1fr; align-items: start; }
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
}


/* ---------- Schemat — pokoje / centrala ----------------------------------- */
.sch-house { fill: none; stroke: var(--ink-300); stroke-width: 3; stroke-linejoin: round; }
.sch-house-body { fill: var(--frost-100); stroke: var(--ink-200); stroke-width: 2; }
.sch-room { fill: var(--text-muted); font-family: var(--font-body); font-size: 17px; font-weight: 700; }
.sch-g-s { fill: var(--teal-200); stroke: var(--teal-500); stroke-width: 2; }
.sch-g-e { fill: var(--amber-300); stroke: var(--amber-400); stroke-width: 2; }
.sch-unit { fill: var(--surface-card); stroke: var(--ink-400); stroke-width: 2.5; }
.sch-unit-t { fill: var(--text-strong); font-family: var(--font-body); font-size: 15px; font-weight: 800; }
.sch-core { fill: none; stroke: var(--ink-300); stroke-width: 2; }

/* ---------- Modal kontaktowy (maskotka) ----------------------------------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-overlay { position: absolute; inset: 0; background: color-mix(in oklab, var(--ink-950) 55%, transparent); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.modal-card { position: relative; z-index: 1; background: var(--surface-card); border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); max-width: 600px; width: 100%; padding: 32px; display: flex; gap: 18px; align-items: center; overflow: hidden; animation: inavi-pop-in var(--dur-base) var(--ease-spring); }
.modal-body { flex: 1; min-width: 0; }
.modal-card h3 { margin: 0; font: var(--weight-heavy) var(--text-2xl)/1.1 var(--font-display); color: var(--text-strong); letter-spacing: var(--tracking-tight); }
.modal-card p { margin: 10px 0 0; font: var(--weight-book) var(--text-sm)/1.55 var(--font-body); color: var(--text-muted); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.modal-actions .btn { height: var(--control-md); }
.modal-mascot { width: 140px; height: auto; flex: none; align-self: flex-end; margin-bottom: -32px; }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: none; border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--ink-700); cursor: pointer; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.modal-x:hover { background: var(--ink-200); }
@media (max-width: 560px) {
  .modal-card { padding: 22px; gap: 10px; }
  .modal-mascot { width: 82px; margin-bottom: -22px; }
  .modal-card h3 { font-size: var(--text-xl); }
}


/* ---------- Wyrównanie ceny i przycisku w kartach usług ------------------- */
.svc-card .svc-price { margin-top: auto; }

/* ---------- Sekcja „Jak to działa" — grafika + opis ---------------------- */
.reku-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
.reku-media { position: relative; background: linear-gradient(150deg, var(--frost-200), var(--teal-200)); border-radius: var(--radius-2xl); padding: 30px 28px 42px; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.reku-illu { width: 100%; max-width: 440px; height: auto; }
.reku-roof { fill: var(--frost-200); stroke: var(--ink-400); stroke-width: 2.5; stroke-linejoin: round; }
.reku-wall { fill: var(--surface-card); stroke: var(--ink-400); stroke-width: 2.5; }
.reku-win  { fill: var(--frost-100); stroke: var(--ink-300); stroke-width: 2; }
.reku-door { fill: var(--frost-300); stroke: var(--ink-300); stroke-width: 2; }
.reku-unit { fill: var(--frost-400); stroke: var(--ink-900); stroke-width: 2.5; }
.reku-fan  { stroke: var(--ink-900); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.reku-a    { fill: none; stroke-width: 5; stroke-linecap: round; }
.reku-a-in  { stroke: var(--teal-500); }
.reku-a-out { stroke: var(--amber-400); }
.reku-badge { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--green-200); color: var(--green-700); font: var(--weight-heavy) var(--text-xs)/1 var(--font-body); }
.reku-badge .ico { width: 15px; height: 15px; }
.reku-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font: var(--weight-book) var(--text-xs)/1.3 var(--font-body); color: var(--ink-700); opacity: 0.6; }
.reku-legend { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 20px; }
@media (min-width: 900px) { .reku-grid { grid-template-columns: 1fr 1fr; } }


/* ---------- Nawigacja: dropdown „Usługi" (desktop) ------------------------ */
.ia-nav-item { position: relative; display: inline-flex; align-items: center; }
.ia-drop-toggle { display: inline-flex; align-items: center; gap: 4px; }
.ia-nav .chev { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-standard); }
.ia-nav-item:hover .chev, .ia-nav-item:focus-within .chev { transform: rotate(180deg); }
.ia-drop {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: var(--surface-card); border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 6px;
  display: flex; flex-direction: column; gap: 2px; z-index: 600;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard), visibility var(--dur-fast);
}
.ia-nav-item:hover .ia-drop, .ia-nav-item:focus-within .ia-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.ia-drop a { padding: 10px 12px; border-radius: var(--radius-sm); font: var(--weight-medium) var(--text-sm) var(--font-body); color: var(--text-body); text-decoration: none; white-space: nowrap; }
.ia-drop a:hover { background: var(--surface-sunken); color: var(--text-strong); }
.ia-drop a[aria-current="page"] { color: var(--text-strong); font-weight: var(--weight-heavy); background: var(--frost-100); }


/* ---------- MEGA FAQ — nawigacja skokowa + kotwice ------------------------ */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.faq-jump a { padding: 8px 16px; border-radius: var(--radius-pill); background: var(--surface-card); border: 1.5px solid var(--border-subtle); font: var(--weight-medium) var(--text-sm)/1 var(--font-body); color: var(--text-body); text-decoration: none; }
.faq-jump a:hover { background: var(--frost-200); color: var(--ink-900); border-color: var(--frost-400); }
h2[id] { scroll-margin-top: 84px; }
