
/* ==========================================================
   1. ZMIENNE (kolory, odstępy, promienie, typografia, ruch)
   ========================================================== */
:root {
  --c-accent: #10B981;
  --c-accent-dark: #047857;
  --c-accent-text: var(--c-accent-dark);
  --c-bg: #FFFFFF;
  --c-bg-alt: #F8FAFC;
  --c-text: #0F172A;
  --c-muted: #64748B;
  --c-line: #E2E8F0;
  --c-dark: #0F172A;
  --c-dark-muted: #CBD5E1;
  --c-input: #7B8798;
  --c-error: #B91C1C;
  --c-error-bg: #FEF2F2;
  --c-star: #D97706;

  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
  --focus: var(--c-accent-dark);

  --fs-h1: clamp(2.1rem, 1.4rem + 3.3vw, 3.85rem);
  --fs-h2: clamp(1.65rem, 1.2rem + 1.9vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.05rem + .5vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s;
  --t-med: .32s;
  --t-slow: .5s;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t-fast: 0s; --t-med: 0s; --t-slow: 0s; }
}

/* ==========================================================
   2. BAZA
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }
[hidden] { display: none; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.02em; line-height: 1.25; }
p { max-width: 68ch; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--sp-4); top: -100px; z-index: 100;
  background: var(--c-text); color: #fff; padding: .75rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--sp-4); }

.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-accent); color: var(--c-text); }
.btn--primary:hover { background: var(--c-accent-dark); color: #fff; }
.btn--secondary { background: transparent; border-color: var(--c-text); color: var(--c-text); }
.btn--secondary:hover { background: var(--c-text); color: #fff; }
.btn--lg { min-height: 54px; padding-inline: 1.75rem; }
.btn--sm { min-height: 42px; padding: .5rem 1.25rem; font-size: .9375rem; }
.btn--block { width: 100%; }

/* Sekcje */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--c-bg-alt); }
.section--dark {
  background: var(--c-dark); color: #fff;
  --c-muted: var(--c-dark-muted);
  --c-line: #27324A;
  --c-accent-text: var(--c-accent);
  --focus: #6EE7B7;
}
.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__lead { margin-top: var(--sp-4); color: var(--c-muted); font-size: var(--fs-lead); }

/* ==========================================================
   3. NAGŁÓWEK
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background-color var(--t-med), border-color var(--t-med);
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--c-line);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header.is-scrolled, .site-header.is-open {
    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    backdrop-filter: saturate(1.4) blur(14px);
  }
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-size: 1.3rem; font-weight: 700; letter-spacing: -.03em; }
.logo__mark { width: 2.1rem; height: 2.1rem; }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: flex; flex-direction: column; gap: var(--sp-1);
  padding: var(--sp-3) var(--gutter) var(--sp-5);
  background: #fff; border-bottom: 1px solid var(--c-line);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--t-med), transform var(--t-med), visibility 0s linear var(--t-med);
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-med), transform var(--t-med), visibility 0s; }
.nav__link { display: block; padding: .85rem 0; font-size: 1.125rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--c-line); }
.nav__link:hover { color: var(--c-accent-dark); }
.nav__extra { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }

.phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.phone:hover { color: var(--c-accent-dark); }
.phone .icon { width: 1.15rem; height: 1.15rem; }
.site-header__phone, .site-header__cta { display: none; }

.burger {
  position: relative; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; border-radius: var(--r-sm);
}
.burger__line {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast);
}
.burger__line:nth-child(1) { top: 14px; }
.burger__line:nth-child(2) { top: 21px; }
.burger__line:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1280px) {
  .burger { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: var(--sp-5);
    padding: 0; background: none; border: 0;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__link { padding: .5rem 0; font-size: .9375rem; border: 0; }
  .nav__extra { display: none; }
  .site-header__cta { display: inline-flex; }
  .site-header__right { display: flex; align-items: center; gap: var(--sp-5); }
}
@media (min-width: 1400px) { .site-header__phone { display: inline-flex; } }
@media (max-width: 1279px) { .site-header__right { display: contents; } }

/* ==========================================================
   4. HERO
   ========================================================== */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 7vw, 6rem); }
.hero__grid { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--sp-8); } }

.hero__sub { margin-top: var(--sp-5); font-size: var(--fs-lead); color: var(--c-muted); max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero__promise { display: flex; align-items: center; gap: .5rem; margin-top: var(--sp-4); font-size: .9375rem; font-weight: 500; }
.hero__promise .icon { color: var(--c-accent-dark); width: 1.25rem; height: 1.25rem; }

.trust { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); list-style: none; padding-left: 0; }
.trust__num { display: block; font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.trust__label { display: block; margin-top: .2rem; font-size: .875rem; color: var(--c-muted); }

/* Wizualizacja dachu */
.hero__visual { position: relative; container-type: inline-size; width: 100%; max-width: 620px; margin-inline: auto; }
.scene { width: 100%; height: auto; overflow: visible; }

.pcard {
  position: absolute; top: 0; left: 0;
  width: 240px; padding: .9rem 1rem 1rem;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: 0 12px 28px -12px rgba(15, 23, 42, .28);
}
@supports (width: 1cqw) { .pcard { width: max(46cqw, 210px); } }
.pcard__label { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: .8125rem; color: var(--c-muted); font-weight: 500; }
.pcard__live { display: inline-flex; align-items: center; gap: .35rem; color: var(--c-accent-dark); font-weight: 600; }
.pcard__live::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c-accent); }
.pcard__value { margin-top: .15rem; font-size: 1.65rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.pcard__value span { font-size: 1rem; font-weight: 600; color: var(--c-muted); letter-spacing: 0; }
.pcard__bars { display: flex; align-items: flex-end; gap: 3px; height: 54px; margin-top: .65rem; border-bottom: 1px solid var(--c-line); }
.pcard__bar { flex: 1; height: var(--h); background: var(--c-accent); border-radius: 2px 2px 0 0; transform-origin: bottom; }
.pcard__axis { display: flex; justify-content: space-between; margin-top: .3rem; font-size: .6875rem; color: var(--c-muted); }
.pcard__saving { margin-top: .55rem; font-size: .8125rem; color: var(--c-muted); }
.pcard__saving strong { color: var(--c-text); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes grow { from { transform: scaleY(0); } }
  .seq { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i) * 100ms); }
  .fade { animation: fade .7s ease-out both; animation-delay: calc(var(--i) * 100ms); }
  .pcard__bar { animation: grow .8s var(--ease) both; animation-delay: calc(1000ms + var(--n) * 45ms); }
}

/* ==========================================================
   5. USŁUGI
   ========================================================== */
.services { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
  display: flex; flex-direction: column; padding: var(--sp-5);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.service:hover { border-color: var(--c-text); transform: translateY(-3px); }
.service__icon { width: 3rem; height: 3rem; margin-bottom: var(--sp-5); color: var(--c-accent-dark); }
.service__desc { margin-top: var(--sp-3); color: var(--c-muted); }
.service__list { list-style: none; padding: 0; margin: var(--sp-5) 0 var(--sp-5); display: grid; gap: var(--sp-3); font-size: .9375rem; }
.service__list li { display: flex; gap: .6rem; align-items: flex-start; }
.service__list .icon { width: 1.1rem; height: 1.1rem; margin-top: .22rem; color: var(--c-accent-dark); stroke-width: 2.4; }
.service__link { margin-top: auto; align-self: flex-start; font-size: .9375rem; font-weight: 600; color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color var(--t-fast); }
.service__link:hover { color: var(--c-accent-dark); }

/* ==========================================================
   6. KALKULATOR
   ========================================================== */
.calc { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) { .calc { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); } }

.calc__label { display: block; font-weight: 500; color: var(--c-dark-muted); }
.calc__value { display: block; margin: var(--sp-2) 0 var(--sp-5); font-size: clamp(3rem, 2.2rem + 4vw, 4.75rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }

.range {
  --p: .2857;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: 8px; margin: var(--sp-3) 0 0; padding: 0;
  border-radius: var(--r-pill); cursor: pointer;
  background: linear-gradient(to right,
    var(--c-accent) 0, var(--c-accent) calc(13px + (100% - 26px) * var(--p)),
    #334155 calc(13px + (100% - 26px) * var(--p)), #334155 100%);
}
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; margin-top: -9px; border: 0; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 5px rgba(16, 185, 129, .28);
  transition: transform var(--t-fast);
}
.range::-webkit-slider-thumb:hover { transform: scale(1.08); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--c-dark), 0 0 0 6px #fff; }
.range::-moz-range-track { height: 8px; background: transparent; }
.range::-moz-range-thumb {
  width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 5px rgba(16, 185, 129, .28);
}
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--c-dark), 0 0 0 6px #fff; }
.range__scale { display: flex; justify-content: space-between; margin-top: var(--sp-3); font-size: .8125rem; color: var(--c-dark-muted); }

.calc__type { margin-top: var(--sp-6); }
.seg { display: inline-flex; margin-top: var(--sp-3); padding: 4px; border: 1px solid var(--c-line); border-radius: var(--r-pill); }
.seg__btn { min-height: 44px; min-width: 7rem; padding: 0 1.5rem; background: transparent; border: 0; border-radius: var(--r-pill); color: #fff; font-weight: 600; transition: background-color var(--t-fast), color var(--t-fast); }
.seg__btn:hover { background: rgba(255, 255, 255, .08); }
.seg__btn[aria-pressed="true"] { background: var(--c-accent); color: var(--c-text); }

.results { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: rgba(255, 255, 255, .03); }
.results__costs { display: grid; gap: var(--sp-4); grid-template-columns: 1fr 1fr; }
.results__costlabel { display: block; font-size: .875rem; color: var(--c-muted); }
.results__cost { display: block; margin-top: .15rem; font-size: clamp(1.15rem, 1rem + 1vw, 1.65rem); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.results__cost--before { color: var(--c-muted); text-decoration: line-through; }
.results__saving-label { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); font-weight: 500; }
.results__saving { display: block; margin-top: .25rem; font-size: clamp(2.9rem, 1.8rem + 5.6vw, 5.75rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: var(--c-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5) var(--sp-4); margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); }
.metrics__term { font-size: .875rem; color: var(--c-muted); }
.metrics__val { margin-top: .1rem; font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.metrics__val small { font-size: .875rem; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }
.results__cta { margin-top: var(--sp-6); }
.calc__note { margin-top: var(--sp-5); font-size: .8125rem; color: var(--c-dark-muted); max-width: 60rem; }

/* ==========================================================
   7. JAK DZIAŁAMY
   ========================================================== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); max-width: 40rem; }
.step { position: relative; padding-left: 4.25rem; }
.step::before { content: ""; position: absolute; left: 1.4375rem; top: 3.25rem; bottom: -1.75rem; width: 2px; background: var(--c-line); }
.step:last-child::before { display: none; }
.step__num { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3rem; height: 3rem; background: #fff; border: 2px solid var(--c-text); border-radius: 50%; font-weight: 700; font-variant-numeric: tabular-nums; }
.step__desc { margin-top: var(--sp-2); color: var(--c-muted); }
.step__time { display: inline-block; margin-top: var(--sp-3); padding: .25rem .75rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: .875rem; font-weight: 600; color: var(--c-accent-dark); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); max-width: none; }
  .step { padding: 4.25rem 0 0; }
  .step::before { left: 3.5rem; right: calc(var(--sp-5) * -1 + .5rem); top: 1.4375rem; bottom: auto; width: auto; height: 2px; }
}

/* ==========================================================
   8. DLACZEGO VOLTEKO
   ========================================================== */
.tiles { display: grid; gap: var(--sp-6) var(--sp-7); }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { padding-top: var(--sp-5); border-top: 2px solid var(--c-text); }
.tile__icon { width: 2.5rem; height: 2.5rem; margin-bottom: var(--sp-4); color: var(--c-accent-dark); }
.tile__desc { margin-top: var(--sp-2); color: var(--c-muted); }

/* ==========================================================
   9. OPINIE
   ========================================================== */
.carousel { max-width: 820px; }
.carousel__viewport { overflow: hidden; touch-action: pan-y; }
.carousel__track { display: flex; transition: transform var(--t-slow) var(--ease); }
.quote { flex: 0 0 100%; min-width: 0; padding-right: 2px; }
.quote__stars { display: flex; gap: 2px; color: var(--c-star); }
.quote__stars .icon { width: 1.25rem; height: 1.25rem; fill: currentColor; stroke: none; }
.quote__text { margin-top: var(--sp-4); font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem); line-height: 1.5; letter-spacing: -.015em; font-weight: 500; max-width: none; }
.quote__who { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5); }
.quote__avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--c-text); color: #fff; font-weight: 600; font-size: .9375rem; flex: none; }
.quote__name { font-weight: 600; display: block; }
.quote__city { font-size: .875rem; color: var(--c-muted); display: block; }

.carousel__controls { display: flex; align-items: center; gap: var(--sp-4); margin-top: var(--sp-6); }
.carousel__btn { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; background: #fff; border: 1px solid var(--c-input); border-radius: 50%; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.carousel__btn:hover { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.carousel__dots { display: flex; gap: .25rem; }
.carousel__dot { position: relative; width: 28px; height: 44px; padding: 0; background: transparent; border: 0; }
.carousel__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c-input); transition: transform var(--t-fast), background-color var(--t-fast); }
.carousel__dot[aria-current="true"]::before { background: var(--c-text); transform: scale(1.3); }

/* ==========================================================
   10. FAQ + FORMULARZ
   ========================================================== */
.contact { display: grid; gap: var(--sp-8); align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-7); } }

.faq { margin-top: var(--sp-6); border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); width: 100%; padding: 1.1rem 0; background: transparent; border: 0; text-align: left; font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.faq__q:hover { color: var(--c-accent-dark); }
.faq__plus { position: relative; width: 20px; height: 20px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease); }
.faq__plus::after { transform: rotate(90deg); }
.faq__item.is-open .faq__plus::after { transform: rotate(0deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-med) var(--ease); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear var(--t-med); }
.faq__item.is-open .faq__inner { visibility: visible; transition: visibility 0s; }
.faq__a { padding: 0 0 1.25rem; color: var(--c-muted); }

.assure { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin: var(--sp-5) 0 var(--sp-5); padding: 0; list-style: none; }
.assure li { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9375rem; }
.assure .icon { width: 1.15rem; height: 1.15rem; color: var(--c-accent-dark); stroke-width: 2.4; }

.form-panel { padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.form { display: grid; gap: var(--sp-4); }
.form[hidden] { display: none; }
.field { display: grid; gap: .35rem; }
.field__label, .legend { font-weight: 600; font-size: .9375rem; }
.field__opt { font-weight: 400; color: var(--c-muted); }
.field__input {
  width: 100%; min-height: 48px; padding: .65rem .9rem;
  background: #fff; border: 1px solid var(--c-input); border-radius: var(--r-sm);
  transition: border-color var(--t-fast);
}
.field__input:hover { border-color: var(--c-text); }
.field__input:focus-visible { outline: 3px solid var(--c-accent-dark); outline-offset: 1px; border-radius: var(--r-sm); }
textarea.field__input { min-height: 96px; resize: vertical; }
.field__input[aria-invalid="true"] { border: 2px solid var(--c-error); background: var(--c-error-bg); }
.field__error { font-size: .875rem; font-weight: 500; color: var(--c-error); }
.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: .35rem; }
.chip { position: relative; }
.chip__input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip__label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--c-input); border-radius: var(--r-pill); font-weight: 500; font-size: .9375rem; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.chip__label:hover { border-color: var(--c-text); }
.chip__input:checked + .chip__label { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.chip__input:focus-visible + .chip__label { outline: 3px solid var(--c-accent-dark); outline-offset: 3px; }

.consent { display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; color: var(--c-muted); }
.consent__box { flex: none; width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--c-accent-dark); }
.consent a { color: var(--c-text); text-decoration-color: var(--c-accent); text-underline-offset: 3px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { padding: var(--sp-7) var(--sp-4); text-align: center; }
.success:focus-visible { outline-offset: 6px; }
.success__mark { width: 4.5rem; height: 4.5rem; margin: 0 auto var(--sp-4); }
.success__title { margin-inline: auto; font-size: var(--fs-h3); font-weight: 700; letter-spacing: -.02em; }
.success__text { margin: var(--sp-2) auto 0; color: var(--c-muted); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes pop { from { transform: scale(.4); opacity: 0; } }
  .success__circle { transform-origin: 26px 26px; animation: pop .55s var(--ease) both; }
  .success__tick { animation: fade .4s ease-out .35s both; }
}

/* ==========================================================
   11. STOPKA + PASEK MOBILE
   ========================================================== */
.site-footer { background: var(--c-dark); color: #fff; padding-block: var(--sp-8) var(--sp-5); --c-muted: var(--c-dark-muted); --c-line: #27324A; --focus: #6EE7B7; }
.footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; } }
.footer__about { margin-top: var(--sp-3); color: var(--c-muted); font-size: .9375rem; }
.footer__title { font-size: .9375rem; font-weight: 600; letter-spacing: 0; margin-bottom: var(--sp-3); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .9375rem; color: var(--c-muted); }
.footer__list a { text-decoration: none; display: inline-block; padding-block: .1rem; }
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line); font-size: .875rem; color: var(--c-muted); }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: #fff; text-decoration: underline; }
.footer__legal { display: flex; gap: var(--sp-5); }

.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; grid-template-columns: 1fr 1.4fr; gap: var(--sp-3);
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line);
  transform: translateY(105%); visibility: hidden;
  transition: transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.mbar.is-visible { transform: none; visibility: visible; transition: transform var(--t-med) var(--ease), visibility 0s; }
@media (max-width: 767px) {
  .mbar { display: grid; }
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* ==========================================================
   12. DROBNE DOSTOSOWANIA (480 px)
   ========================================================== */
@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; }
  .trust { gap: var(--sp-4) var(--sp-5); }
  .trust__num { font-size: 1.5rem; }
  .results__costs { grid-template-columns: 1fr; gap: var(--sp-3); }
  .seg { display: flex; }
  .seg__btn { flex: 1; min-width: 0; }
  .carousel__controls { gap: var(--sp-3); }
}

/* ==========================================================
   13. DODATKI: placeholdery, tabele, formularze skrócone itd.
   ========================================================== */
.ph {
  display: inline; padding: .05em .35em; border: 1px dashed #B45309; border-radius: 4px;
  background: #FFFBEB; color: #78350F; font-size: .85em; font-weight: 500; letter-spacing: 0; line-height: 1.5;
}
.section--dark .ph { background: #FFFBEB; color: #78350F; }

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 var(--sp-5); padding: 0; list-style: none; font-size: .875rem; color: var(--c-muted); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; }
.crumbs a { color: var(--c-muted); }
.crumbs a:hover { color: var(--c-text); }

/* Hero – animowana scena */
.scene__sun { transform-origin: 280px 440px; }
.scene__halo, .scene__rays, .scene__glow, .scene__led { transform-box: fill-box; transform-origin: center; }
.hero__visual--scene { max-width: 640px; }
.scene-caption { margin-top: var(--sp-2); text-align: center; font-size: .8125rem; color: var(--c-muted); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes sun-arc { from { transform: rotate(-58deg); } to { transform: rotate(58deg); } }
  @keyframes halo { from { transform: scale(.9); opacity: .28; } to { transform: scale(1.18); opacity: .5; } }
  @keyframes spin { to { transform: rotate(360deg); } }
  @keyframes glow { 0%, 100% { opacity: .05; } 50% { opacity: .6; } }
  @keyframes sweep { from { transform: translateX(-260px); } to { transform: translateX(560px); } }
  @keyframes flow {
    0% { transform: translate(0, 0); opacity: 0; }
    8% { opacity: 1; }
    45% { transform: translate(0, 100px); opacity: 1; }
    92% { opacity: 1; }
    100% { transform: translate(134px, 100px); opacity: 0; }
  }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
  .scene__sun { animation: sun-arc 16s ease-in-out infinite alternate; }
  .scene__halo { animation: halo 3.2s ease-in-out infinite alternate; }
  .scene__rays { animation: spin 40s linear infinite; }
  .scene__glow { animation: glow 16s ease-in-out infinite; }
  .scene__sweep { animation: sweep 5s ease-in-out infinite; }
  .scene__dot { animation: flow 3.2s linear infinite; animation-delay: calc(var(--k) * 800ms); }
  .scene__led { animation: blink 1.6s ease-in-out infinite; }

  html.js .reveal { opacity: 0; transform: translateY(14px); }
  html.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--r, 0) * 80ms); }
}

/* Kalkulator – rozszerzenia */
.calc__tabs { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.calc__field { margin-top: var(--sp-5); }
.calc__numrow { display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-4); }
.calc__numlabel { font-size: .9375rem; color: var(--c-dark-muted); }
.calc__num, .calc__select {
  min-height: 48px; padding: .5rem .75rem; background: #0B1325; color: #fff;
  border: 1px solid #64748B; border-radius: var(--r-sm); font-weight: 600;
}
.calc__num { width: 8.5rem; }
.calc__select { width: 100%; max-width: 18rem; }
.calc__num:focus-visible, .calc__select:focus-visible { outline: 3px solid #6EE7B7; outline-offset: 2px; }
.calc__help { margin-top: var(--sp-2); font-size: .875rem; color: var(--c-dark-muted); }
.how { margin-bottom: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: rgba(255, 255, 255, .03); }
.how__sum { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding: .9rem 1.1rem; font-weight: 600; cursor: pointer; list-style: none; min-height: 48px; }
.how__sum::-webkit-details-marker { display: none; }
.how__sum::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.how[open] .how__sum::after { content: "−"; }
.how__body { padding: 0 1.1rem 1.1rem; font-size: .9375rem; color: var(--c-dark-muted); }
.how__body ul { margin: .5rem 0 .75rem; padding-left: 1.2rem; }
.how__body li { margin-bottom: .35rem; }
.how__body strong { color: #fff; }
.results__disclaimer { margin-top: var(--sp-4); padding: .75rem 1rem; border-left: 3px solid var(--c-accent); background: rgba(16, 185, 129, .08); font-size: .875rem; color: #E2E8F0; }
.results__panel[hidden] { display: none; }
.pdf { margin-top: var(--sp-5); border-top: 1px solid var(--c-line); padding-top: var(--sp-5); }
.pdf__sum { font-weight: 600; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.pdf__form { display: grid; gap: var(--sp-3); margin-top: var(--sp-3); }

/* Formularze: elementy wspólne i warianty */
.cb { display: grid; gap: var(--sp-3); }
.cb__row { display: grid; gap: var(--sp-3); }
@media (min-width: 640px) { .cb__row { grid-template-columns: 1fr 1fr; } }
.field__hint { font-size: .8125rem; color: var(--c-muted); }
.section--dark .field__label, .section--dark .consent { color: #E2E8F0; }
.section--dark .field__input { background: #0B1325; color: #fff; border-color: #64748B; }
.section--dark .field__input:hover { border-color: #fff; }
.section--dark .field__input:focus-visible { outline-color: #6EE7B7; }
.section--dark .field__input[aria-invalid="true"] { background: #2A0F14; border-color: #FCA5A5; }
.section--dark .field__error { color: #FCA5A5; }
.section--dark .consent a { color: #fff; }
.radios { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: .35rem; }
.field__select { appearance: auto; }
.form__grid2 { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .form__grid2 { grid-template-columns: 1fr 1fr; } }
.form__fine { font-size: .8125rem; color: var(--c-muted); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.success__steps { margin: var(--sp-4) auto 0; padding: 0; list-style: none; display: grid; gap: .5rem; max-width: 26rem; text-align: left; font-size: .9375rem; color: var(--c-muted); }
.success__steps li { display: flex; gap: .6rem; }
.success__steps .icon { width: 1.1rem; height: 1.1rem; margin-top: .25rem; color: var(--c-accent-dark); stroke-width: 2.4; }

.channels { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.channel { display: flex; align-items: center; gap: var(--sp-3); padding: .85rem 1rem; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; text-decoration: none; font-weight: 600; transition: border-color var(--t-fast); min-height: 56px; }
.channel:hover { border-color: var(--c-text); }
.channel .icon { color: var(--c-accent-dark); }
.channel small { display: block; font-weight: 400; color: var(--c-muted); }

/* Usługi – dodatki */
.service__price { margin: var(--sp-4) 0 0; padding: .6rem .8rem; border-radius: var(--r-sm); background: var(--c-bg-alt); font-size: .9375rem; }
.service__sub { margin: var(--sp-4) 0 var(--sp-2); font-size: .875rem; font-weight: 600; }
.service__example { margin-top: var(--sp-3); font-size: .875rem; color: var(--c-muted); }
.tech { margin-top: var(--sp-3); font-size: .875rem; }
.tech summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.tech p { color: var(--c-muted); margin-top: .25rem; }
.service__cta { margin-top: auto; padding-top: var(--sp-4); }
.gloss { border-bottom: 1px dotted var(--c-muted); cursor: help; text-decoration: none; }

.pack { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); padding: clamp(1.25rem, 3vw, 2rem); border: 2px solid var(--c-text); border-radius: var(--r-md); background: #fff; }
@media (min-width: 768px) { .pack { grid-template-columns: 1.6fr 1fr; align-items: center; } }
.pack__actions { display: grid; gap: var(--sp-2); }

/* Tabele */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; }
.table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: .9375rem; }
.table caption { text-align: left; padding: var(--sp-3) var(--sp-4); font-weight: 600; }
.table th, .table td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--c-line); }
.table thead th { background: var(--c-bg-alt); font-size: .8125rem; font-weight: 600; color: var(--c-muted); }
.table tbody th { font-weight: 600; }

/* Realizacje */
.filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.filter { min-height: 44px; padding: 0 1.1rem; background: #fff; border: 1px solid var(--c-input); border-radius: var(--r-pill); font-weight: 500; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.filter:hover { border-color: var(--c-text); }
.filter[aria-pressed="true"] { background: var(--c-text); border-color: var(--c-text); color: #fff; }
.projects { display: grid; gap: var(--sp-5); }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project[hidden] { display: none; }
.project { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.photo-ph { display: grid; place-items: center; gap: .35rem; aspect-ratio: 4 / 3; padding: var(--sp-4); text-align: center; background: repeating-linear-gradient(45deg, #F1F5F9 0 14px, #E8EEF5 14px 28px); color: #475569; font-size: .875rem; font-weight: 500; }
.photo-ph .icon { width: 2rem; height: 2rem; margin-inline: auto; }
.photo-ph--wide { aspect-ratio: 16 / 9; }
.project__body { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.project__meta { margin: 0 0 var(--sp-2); font-size: .8125rem; color: var(--c-muted); font-weight: 500; }
.project__facts { display: grid; grid-template-columns: auto 1fr; gap: .25rem var(--sp-3); margin-top: var(--sp-3); font-size: .9375rem; }
.project__facts dt { color: var(--c-muted); }
.project__facts dd { margin: 0; font-weight: 500; }

.cta-strip { display: grid; gap: var(--sp-4); margin-top: var(--sp-7); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff; }
@media (min-width: 900px) { .cta-strip { grid-template-columns: 1fr 1.2fr; align-items: center; gap: var(--sp-7); } }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Dofinansowania / finansowanie */
.split { display: grid; gap: var(--sp-6); margin-top: var(--sp-8); }
@media (min-width: 900px) { .split { grid-template-columns: 1.4fr 1fr; align-items: start; gap: var(--sp-7); } }
.notice { margin-top: var(--sp-4); padding: .85rem 1rem; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--c-line); font-size: .9375rem; color: var(--c-muted); }
.subhead { margin: var(--sp-8) 0 var(--sp-4); font-size: var(--fs-h3); }
.subhead--first { margin-top: 0; }
.checklist { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: .6rem; align-items: flex-start; }
.checklist .icon { width: 1.15rem; height: 1.15rem; margin-top: .25rem; color: var(--c-accent-dark); stroke-width: 2.4; }

/* Opinie (3 naraz) */
.reviews { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; }
.review__text { font-size: 1.0625rem; line-height: 1.55; max-width: none; }
.review__who { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.review__facts { margin: 0; font-size: .875rem; color: var(--c-muted); }
.google-box { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-5); margin-bottom: var(--sp-5); padding: var(--sp-4) var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg-alt); }
.google-box__score { font-size: 2rem; font-weight: 700; letter-spacing: -.03em; }

/* O nas, certyfikaty, obszar */
.about { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: var(--sp-7); } }
.team { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); margin-top: var(--sp-5); }
.team__item { font-size: .9375rem; }
.team__item .photo-ph { aspect-ratio: 1 / 1; border-radius: var(--r-md); margin-bottom: var(--sp-2); }
.certs { display: grid; gap: var(--sp-3); margin-top: var(--sp-4); }
@media (min-width: 640px) { .certs { grid-template-columns: repeat(2, 1fr); } }
.cert { padding: var(--sp-4); border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; }
.cert strong { display: block; margin-bottom: .25rem; }
.cert p { font-size: .9375rem; color: var(--c-muted); }
.areas { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0 0; padding: 0; list-style: none; }
.areas li { padding: .4rem .9rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: #fff; font-size: .9375rem; }
.b2b { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .b2b { grid-template-columns: 1.3fr 1fr; gap: var(--sp-7); } }
.b2b__list { list-style: none; margin: var(--sp-4) 0; padding: 0; display: grid; gap: var(--sp-3); }
.b2b__list li { display: flex; gap: .6rem; }
.b2b__list .icon { width: 1.15rem; height: 1.15rem; margin-top: .25rem; color: var(--c-accent); stroke-width: 2.4; }

/* Artykuły */
.articles { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .articles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .articles--4 { grid-template-columns: repeat(4, 1fr); } }
.article-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; text-decoration: none; transition: border-color var(--t-fast), transform var(--t-fast); }
.article-card:hover { border-color: var(--c-text); transform: translateY(-3px); }
.article-card__img { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--c-dark); color: var(--c-accent); }
.article-card__img .icon { width: 3rem; height: 3rem; stroke-width: 1.5; }
.article-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.article-card__tag { font-size: .8125rem; font-weight: 600; color: var(--c-accent-dark); }
.article-card__title { margin-top: .35rem; font-size: 1.1875rem; line-height: 1.3; }
.article-card__lead { margin-top: var(--sp-2); font-size: .9375rem; color: var(--c-muted); }
.article-card__more { margin-top: auto; padding-top: var(--sp-4); font-weight: 600; font-size: .9375rem; text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Lead magnet */
.magnet { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .magnet { grid-template-columns: 1.2fr 1fr; gap: var(--sp-7); } }
.magnet__book { display: grid; place-items: center; aspect-ratio: 3 / 4; max-width: 15rem; margin-inline: auto; padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: linear-gradient(160deg, #1E293B, #0F172A); color: #fff; text-align: center; font-weight: 700; letter-spacing: -.02em; }
.magnet__book small { display: block; margin-top: .5rem; font-weight: 400; color: var(--c-dark-muted); letter-spacing: 0; }

/* Podstrony */
.page-hero { padding-block: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-hero__lead { margin-top: var(--sp-4); font-size: var(--fs-lead); color: var(--c-muted); max-width: 44rem; }
.prose { max-width: 44rem; }
.prose h2 { margin: var(--sp-7) 0 var(--sp-3); font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); }
.prose h3 { margin: var(--sp-5) 0 var(--sp-2); }
.prose p, .prose ul, .prose ol { margin-bottom: var(--sp-4); max-width: none; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--c-accent-dark); text-underline-offset: 3px; }
.prose .table-wrap { margin-bottom: var(--sp-5); }
.article-meta { margin-top: var(--sp-3); font-size: .875rem; color: var(--c-muted); }
.callout { margin: var(--sp-5) 0; padding: var(--sp-4) var(--sp-5); border-left: 4px solid var(--c-accent); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--c-bg-alt); }
.callout p { margin: 0; }
.grid-2 { display: grid; gap: var(--sp-5); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.feature { padding-top: var(--sp-4); border-top: 2px solid var(--c-text); }
.feature p { margin-top: var(--sp-2); color: var(--c-muted); }

/* Baner cookies */
.cookies { position: fixed; left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4); z-index: 80; max-width: 34rem; padding: var(--sp-5); background: #fff; border: 1px solid var(--c-text); border-radius: var(--r-md); box-shadow: 0 16px 40px -16px rgba(15, 23, 42, .45); }
.cookies[hidden] { display: none; }
.cookies__title { font-size: 1.0625rem; letter-spacing: -.01em; }
.cookies__text { margin-top: var(--sp-2); font-size: .9375rem; color: var(--c-muted); }
.cookies__opts { display: grid; gap: var(--sp-2); margin: var(--sp-3) 0 0; padding: 0; border: 0; }
.cookies__opts[hidden] { display: none; }
.cookies__opt { display: flex; gap: .6rem; align-items: flex-start; font-size: .9375rem; }
.cookies__opt input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--c-accent-dark); flex: none; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
@media (min-width: 768px) { .cookies { left: var(--sp-5); right: auto; bottom: var(--sp-5); } }
@media (max-width: 767px) { .cookies { bottom: calc(var(--sp-4) + 4.5rem); } }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }

/* Stopka – dodatki */
.footer__list .ph { font-size: .8125rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

@media (max-width: 480px) {
  .calc__numrow { flex-wrap: wrap; }
  .team { grid-template-columns: 1fr 1fr; }
  .cookies__actions .btn { flex: 1 1 100%; }
}

.site-header .wrap { width: min(100% - 2 * var(--gutter), 1360px); }
@media (min-width: 1280px) {
  .nav { gap: 1.1rem; }
  .nav__link { font-size: .875rem; white-space: nowrap; }
  .site-header__right { gap: 1.1rem; }
}
.nav__link[aria-current="page"] { color: var(--c-accent-dark); font-weight: 700; }
.trust__link { display: block; text-decoration: none; border-radius: var(--r-sm); transition: color var(--t-fast); }
.trust__link:hover .trust__num { color: var(--c-accent-dark); }
.trust__link:hover .trust__label { text-decoration: underline; }
.split > *, .about > *, .b2b > *, .magnet > *, .contact > *, .calc > *, .cta-strip > *, .pack > * { min-width: 0; }
.footer__legal { flex-wrap: wrap; }
.btn[hidden] { display: none; }
:root { --fs-h1: clamp(2rem, 1.3rem + 2.9vw, 3.5rem); }
.footer__grid { gap: var(--sp-6); }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1.1fr 1.3fr; } }


/* Menu bez hamburgera: poniżej 1280 px druga linia z przewijanymi linkami, numer i przycisk zawsze w pierwszej */
.burger { display: none; }
@media (max-width: 1279px) {
  .site-header { background: rgba(255, 255, 255, .96); border-bottom-color: var(--c-line); }
  .site-header__bar { flex-wrap: wrap; height: auto; row-gap: 0; padding-top: .5rem; gap: .5rem var(--sp-3); }
  .logo { margin-right: auto; }
  .site-header__phone { display: inline-flex; order: 1; font-size: .9375rem; }
  .site-header__cta { display: inline-flex; order: 2; }
  .nav {
    order: 3; position: static; flex: 0 0 calc(100% + 2 * var(--gutter)); flex-direction: row; align-items: center; gap: .25rem;
    padding: 0; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    background: none; border: 0; border-top: 1px solid var(--c-line);
    opacity: 1; visibility: visible; transform: none; transition: none;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav__link { flex: 0 0 auto; padding: .7rem .65rem; font-size: .9375rem; border: 0; white-space: nowrap; }
  .nav__extra { display: none; }
  .nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--c-accent); }
}
@media (max-width: 559px) { .site-header__cta { display: none; } .site-header__phone { font-size: .9375rem; } }
@media (max-width: 380px) { .logo { font-size: 1.15rem; } .site-header__phone { font-size: .875rem; } }


/* Kontakt */
.kt-cards { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .kt-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .kt-cards { grid-template-columns: 1.2fr 1fr 1.2fr 1fr; } }
.kt-card { display: flex; flex-direction: column; gap: .25rem; padding: var(--sp-5); border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; text-decoration: none; min-width: 0; transition: border-color var(--t-fast), transform var(--t-fast); }
a.kt-card:hover { border-color: var(--c-accent-dark); transform: translateY(-2px); }
.kt-card .icon { width: 1.9rem; height: 1.9rem; color: var(--c-accent-dark); margin-bottom: var(--sp-2); }
.kt-card__label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.kt-card__big { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.kt-card__sub { font-size: .9375rem; color: var(--c-muted); }
.kt-card--main { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.kt-card--main .icon { color: var(--c-accent); }
.kt-card--main .kt-card__label, .kt-card--main .kt-card__sub { color: var(--c-dark-muted); }
.kt-card--main .kt-card__big { font-size: 1.5rem; }
a.kt-card--main:hover { border-color: var(--c-accent); }
.kt-cards-sec { padding-top: var(--sp-5); padding-bottom: 0; }
.page-hero:has(+ main .kt-cards-sec), .page-hero:has(+ .kt-cards-sec) { padding-bottom: var(--sp-4); }
.kt-grid { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 1024px) { .kt-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--sp-8); } .kt-side { position: sticky; top: calc(var(--header-h) + 5rem); } }
.kt-steps { list-style: none; margin: var(--sp-6) 0; padding: 0; display: grid; gap: var(--sp-5); }
.kt-steps li { display: flex; gap: var(--sp-4); align-items: flex-start; }
.kt-steps__n { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--c-accent-dark); color: #fff; font-weight: 700; }
.kt-steps p { margin: .15rem 0 0; color: var(--c-muted); font-size: .9375rem; }
.kt-company { margin-top: var(--sp-5); font-size: .875rem; color: var(--c-muted); }
.kt-form .form-panel { box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .35); }

/* Cookies: prawy dolny róg */
.cookies { left: auto; right: var(--sp-4); bottom: var(--sp-4); width: min(calc(100% - 2 * var(--sp-4)), 24rem); padding: var(--sp-4); }
.cookies__title { font-size: 1rem; }
.cookies__text { font-size: .875rem; }
@media (min-width: 768px) { .cookies { left: auto; right: var(--sp-5); bottom: var(--sp-5); } }
@media (max-width: 767px) { .cookies { left: var(--sp-4); right: var(--sp-4); width: auto; bottom: calc(var(--sp-4) + 4.5rem); } }

/* Karta produkcji pod sceną, nic jej nie zasłania */
.pcard { position: static; width: min(100%, 360px); margin: var(--sp-3) auto 0; }
@supports (width: 1cqw) { .pcard { width: min(100%, 360px); } }
.pcard__label { flex-direction: column; align-items: flex-start; gap: .1rem; }
.pcard__bars { height: 56px; }

/* Ilustracje zamiast zdjęć */
.illus { display: block; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(180deg, #E6F0FA 0%, #F8FAFC 100%); }
.illus--wide { aspect-ratio: 16 / 10; }
.illus svg { width: 100%; height: 100%; }
.stat-row { display: flex; flex-wrap: wrap; gap: var(--sp-5) var(--sp-7); margin-top: var(--sp-5); }
.stat-row dt { font-size: .875rem; color: var(--c-muted); }
.stat-row dd { margin: 0; font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; }
.page-hero--dark { background: var(--c-dark); color: #fff; --c-muted: var(--c-dark-muted); --c-line: #27324A; --focus: #6EE7B7; }
.page-hero--dark .crumbs, .page-hero--dark .crumbs a { color: var(--c-dark-muted); }
