/* Dom pod kontrolą — arkusz stylów
   Kolorystyka i kroje zgodne z logo: głęboka zieleń, zieleń szałwiowa, jasne zielonkawe tło.
   Skala termowizyjna występuje tylko w ilustracjach na podstronie Termowizja. */

:root {
  --bg: #f3f6f2;          /* tło strony: jak tło logo */
  --surface: #ffffff;     /* karty, formularz */
  --ink: #15211d;         /* tekst główny */
  --muted: #4f6b61;       /* tekst pomocniczy */
  --line: #d1ddd5;        /* linie, ramki */
  --brand: #173d36;       /* zieleń marki */
  --brand-ink: #ffffff;   /* tekst na zieleni */
  --brand-soft: #e6efe9;  /* jasne tło sekcji */
  --accent: #2e7a5c;      /* zieleń z „ptaszka” w logo (ciemniejsza dla czytelności tekstu) */
  --accent-soft: #3f8f6e; /* zieleń ptaszka w znaku */
  --focus: #3f8f6e;
  --todo-bg: #fff4d6;
  --todo-line: #e0b84a;
  --ok: #1f7a4d;
  --err: #b3261e;

  --thermal: linear-gradient(90deg, #1b0b3a 0%, #4b0f6b 18%, #9b1d6b 36%, #d8413a 54%, #f2851e 72%, #fbc531 88%, #fff6c9 100%);

  --f-display: "Marcellus", Georgia, "Times New Roman", serif;
  --f-label: "Jost", system-ui, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.375rem;
  --t-xl: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --t-2xl: clamp(2.4rem, 1.4rem + 4.2vw, 4.25rem);

  --wrap: 72rem;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --radius: 6px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1815; --surface: #15231f; --ink: #e7eeea; --muted: #a2b2ab; --line: #2b3a35;
    --brand: #7cc4ab; --brand-ink: #0c1512; --brand-soft: #18292a; --accent: #8fd1b0; --accent-soft: #8fd1b0; --focus: #8fd1b0;
    --todo-bg: #3a3014; --todo-line: #a88a2e; --ok: #6fd3a0; --err: #ff8a80;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1815; --surface: #15231f; --ink: #e7eeea; --muted: #a2b2ab; --line: #2b3a35;
  --brand: #7cc4ab; --brand-ink: #0c1512; --brand-soft: #18292a; --accent: #8fd1b0; --accent-soft: #8fd1b0; --focus: #8fd1b0;
  --todo-bg: #3a3014; --todo-line: #a88a2e; --ok: #6fd3a0; --err: #ff8a80;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--brand-ink); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: 0; }
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
p { margin: 0; max-width: 65ch; }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); color: var(--muted); }

.label {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--brand) 0 70%, var(--accent-soft) 70% 100%); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 2.6rem; height: 2.6rem; flex: none; }
.brand b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.375rem; line-height: 1; }
.brand small { display: block; font-family: var(--f-label); font-weight: 500; font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
@media (max-width: 400px) { .brand small { display: none; } }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: var(--t-sm);
  padding: .55rem .8rem; border-radius: var(--radius); color: var(--ink);
}
.nav a:hover { background: var(--brand-soft); }
.nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav .btn { margin-left: .5rem; }
.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: .5rem;
    font: 600 var(--t-sm) var(--f-body); color: var(--ink);
    background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
    padding: .5rem .8rem; cursor: pointer;
  }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter-r) 1rem var(--gutter-l);
  }
  .nav[data-open="false"] { display: none; }
  .nav a { padding: .85rem .25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand); padding-left: .75rem; }
  .nav .btn { margin: .9rem 0 0; text-align: center; justify-content: center; border-bottom: 0; }
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 650 var(--t-sm) var(--f-body);
  text-decoration: none; cursor: pointer;
  padding: .8rem 1.2rem; border-radius: var(--radius);
  background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand);
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.nav .btn { color: var(--brand-ink); padding: .6rem 1rem; }
.nav .btn:hover { background: var(--brand); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Sekcje ---------- */
section { padding-block: clamp(3.5rem, 2rem + 5vw, 6rem); }
.section-head { display: grid; gap: .9rem; margin-bottom: 2.5rem; max-width: 46rem; }
.tint { background: var(--brand-soft); }
.rule { border-top: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

/* Karta kwalifikacji — jak metryczka dokumentu */
.credential {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(10, 30, 25, .45);
  overflow: hidden;
}
.credential header {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.credential header strong { font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }
.credential dl { margin: 0; display: grid; }
.credential .row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .85rem 1.25rem; border-bottom: 1px dashed var(--line); }
.credential .row:last-child { border-bottom: 0; }
.credential dt { font-family: var(--f-label); letter-spacing: .04em; font-size: var(--t-xs); color: var(--muted); padding-top: .15rem; }
.credential dd { margin: 0; font-size: var(--t-sm); font-weight: 600; }
.credential dd span { display: block; font-weight: 400; color: var(--muted); }
.credential footer { height: 6px; background: linear-gradient(90deg, var(--brand) 0 70%, var(--accent-soft) 70% 100%); }
@media (max-width: 420px) { .credential .row { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Oś czasu ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.timeline li { padding: 1.1rem 1.25rem 0 0; display: grid; gap: .45rem; align-content: start; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--ink); border-radius: 50%; }
.timeline .yr { font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 500; color: var(--brand); padding-top: .4rem; }
.timeline h3 { font-size: 1.25rem; }
.timeline p { font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 2rem; } }
@media (max-width: 520px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); padding-left: 1.25rem; } .timeline li { padding-top: 0; } .timeline li::before { top: .55rem; left: calc(-1.25rem - 7px); } }

/* ---------- Sektory ---------- */
.sectors { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.chip { font-size: var(--t-sm); font-weight: 600; border: 1px solid var(--line); background: var(--surface); padding: .45rem .8rem; border-radius: 999px; }

/* ---------- Karty usług ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.service {
  display: grid; grid-template-rows: auto auto 1fr auto; gap: .8rem;
  padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease;
}
.service:hover { border-color: var(--brand); transform: translateY(-2px); }
.service p { color: var(--muted); font-size: var(--t-sm); }
.service .go { font-weight: 650; font-size: var(--t-sm); color: var(--brand); }
.service svg { width: 2.25rem; height: 2.25rem; color: var(--brand); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* ---------- Kroki ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.steps li::before { content: "Krok " counter(s); font-family: var(--f-label); font-weight: 500; font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); font-size: var(--t-sm); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bloki usług na podstronach ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; }
.subnav a { font-size: var(--t-sm); font-weight: 600; text-decoration: none; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.subnav a:hover { border-color: var(--brand); color: var(--brand); }

.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: 3rem; border-top: 1px solid var(--line); }
.block:first-of-type { border-top: 0; padding-top: 0; }
.block-intro { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.block-intro .num { font-family: var(--f-label); font-weight: 500; font-size: var(--t-xs); color: var(--accent); letter-spacing: .18em; text-transform: uppercase; }
.block-body { display: grid; gap: 1.25rem; min-width: 0; }
@media (max-width: 860px) { .block { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.checklist li { padding: .7rem 0 .7rem 1.75rem; border-bottom: 1px solid var(--line); position: relative; font-size: var(--t-sm); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .95rem; width: 1rem; height: 1rem;
  border: 1.5px solid var(--brand); border-radius: 3px;
  background: linear-gradient(var(--brand), var(--brand)) center / 0 0 no-repeat;
}
.checklist li::after { content: ""; position: absolute; left: .32rem; top: 1.08rem; width: .35rem; height: .6rem; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }

.note {
  font-size: var(--t-sm); color: var(--muted);
  border-left: 3px solid var(--line); padding: .25rem 0 .25rem 1rem;
}
.callout {
  display: grid; gap: .5rem; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.callout strong { font-family: var(--f-display); font-weight: 400; font-size: 1.1875rem; }
.callout p { font-size: var(--t-sm); color: var(--muted); }

.todo { background: var(--todo-bg); border: 1px dashed var(--todo-line); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: var(--t-sm); }
.todo b { display: block; margin-bottom: .25rem; }

/* ---------- Termogram (ilustracja) ---------- */
.thermo { background: #12081f; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.thermo svg { width: 100%; height: auto; }
.thermo figcaption { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .7rem 1rem; font-family: var(--f-mono); font-size: .75rem; color: #d9cfe8; background: #1b0f2c; }
.scale { display: grid; gap: .35rem; }
.scale .bar { height: 10px; border-radius: 2px; background: var(--thermal); }
.scale .ticks { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.conditions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cond { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .4rem; align-content: start; }
.cond .v { font-family: var(--f-mono); font-size: 1.5rem; font-weight: 500; color: var(--brand); font-variant-numeric: tabular-nums; }
.cond p { font-size: var(--t-sm); color: var(--muted); }
@media (max-width: 860px) { .conditions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .conditions { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { background: var(--brand); color: var(--brand-ink); }
.contact .label { color: color-mix(in srgb, var(--brand-ink) 70%, transparent); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-info { display: grid; gap: 1.25rem; }
.contact-info p { color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }
.contact-info dl { margin: 1rem 0 0; display: grid; gap: 1rem; }
.contact-info dt { font-family: var(--f-label); font-weight: 500; font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.contact-info dd { margin: .15rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.contact-info a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .two { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-size: var(--t-sm); font-weight: 600; }
.field label i { font-style: normal; color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--f-body); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .75rem .85rem;
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: .65rem; font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }
.consent input { width: 1.1rem; height: 1.1rem; margin-top: .1rem; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { font-size: var(--t-sm); font-weight: 600; padding: .75rem 1rem; border-radius: var(--radius); }
.form-status[data-state="ok"] { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-status[data-state="err"] { background: color-mix(in srgb, var(--err) 12%, transparent); color: var(--err); }
.form-status[data-state="info"] { background: var(--brand-soft); color: var(--ink); }

/* ---------- Stopka ---------- */
.site-footer { padding-block: 3rem 2rem; font-size: var(--t-sm); color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid h2 { font-size: var(--t-xs); font-family: var(--f-label); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin-bottom: .75rem; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.company { font-variant-numeric: tabular-nums; }
.company b { color: var(--ink); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--t-xs); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Polityka prywatności ---------- */
.prose { display: grid; gap: 1rem; max-width: 46rem; }
.prose h2 { font-size: 1.375rem; margin-top: 1.5rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .35rem; }

/* ---------- Certyfikat ITC (Termowizja) ---------- */
.cert-band { padding-block: 2.5rem; border-top: 1px solid var(--line); }
.cert { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.5rem); align-items: center; }
.cert-badge { width: 168px; height: 168px; display: grid; place-items: center; }
.cert-badge img { width: 100%; height: 100%; object-fit: contain; }
.cert-fallback { font-family: var(--f-display); font-size: 2rem; line-height: 1; text-align: center; color: #173d36; }
.cert-fallback small { font-family: var(--f-label); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.cert-text { display: grid; gap: .6rem; }
.cert-text h2 { font-size: var(--t-lg); }
.cert-text p { color: var(--muted); }
@media (max-width: 520px) { .cert { grid-template-columns: 1fr; } }

/* ---------- Telefon w nagłówku i przycisk „Zadzwoń” ---------- */
.nav .nav-phone { font-family: var(--f-label); font-weight: 500; letter-spacing: .04em; color: var(--brand); margin-left: .5rem; }
.call-fab { display: none; }
@media (max-width: 860px) {
  .nav .nav-phone { margin: 0; }
  .call-fab {
    display: inline-flex; align-items: center; gap: .5rem;
    position: fixed; z-index: 55;
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    padding: .85rem 1.15rem; border-radius: 999px;
    background: var(--brand); color: var(--brand-ink); text-decoration: none;
    font: 650 var(--t-sm) var(--f-body);
    box-shadow: 0 10px 24px -10px rgba(10, 30, 25, .55);
  }
  .call-fab svg { width: 1.1rem; height: 1.1rem; }
  .site-footer { padding-bottom: 6rem; }
}

/* ---------- Zaufanie i obszar działania ---------- */
.trust { list-style: none; margin: .25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.trust li { font-size: var(--t-xs); font-weight: 600; padding: .4rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.trust a { color: var(--accent); text-decoration: none; }
.trust a:hover { text-decoration: underline; }
.area { font-size: var(--t-sm); color: var(--ink); display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 1.25rem 1.1rem; color: var(--muted); font-size: var(--t-sm); }

/* ---------- Piktogramy usług ---------- */
.svc-icon { width: 3.5rem; height: 3.5rem; color: var(--brand); margin-bottom: .25rem; }
.svc-icon svg { width: 100%; height: 100%; }
.svc-icon .a { stroke: var(--accent-soft); }

/* ---------- Realizacje ---------- */
.real-tech { border-top: 1px solid var(--line); }
.real-tech:nth-of-type(odd) { background: var(--brand-soft); }
.stage { display: grid; gap: 1.1rem; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.stage:first-of-type { border-top: 0; padding-top: 0; }
.stage-head { display: grid; gap: .35rem; max-width: 46rem; }
.stage-head .num { font-family: var(--f-label); font-weight: 500; font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.stage-head p { color: var(--muted); font-size: var(--t-sm); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem; }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 18, 15, .94); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox[hidden] { display: none; }
.lightbox img { grid-column: 2; grid-row: 1; max-width: 100%; max-height: 100%; margin: auto; object-fit: contain; border-radius: 4px; }
.lightbox button { background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 999px; width: 3rem; height: 3rem; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-close { position: absolute; top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-cap { grid-column: 1 / -1; grid-row: 2; text-align: center; color: #cfe3d7; font-size: var(--t-sm); margin: 0 auto; }
@media (max-width: 600px) { .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(0, 1fr) auto auto; } .lightbox img { grid-column: 1 / -1; } .lb-prev { grid-column: 1; grid-row: 3; justify-self: start; } .lb-next { grid-column: 2; grid-row: 3; justify-self: end; } }

/* menu z pięcioma zakładkami: wcześniejsze przełączenie na menu mobilne */
@media (max-width: 1100px) and (min-width: 861px) { .nav .nav-phone { display: none; } .nav a { padding-inline: .6rem; } }
