/* DC9 Cyber — style strony. Ilustracje i układ z test.dc9.io, wyciszona paleta:
   grafitowa czerń, ciepła złamana biel, jeden przygaszony morski akcent. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/Inter-Regular.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url(fonts/Inter-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/Inter-Bold.woff2) format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/DMMono-Regular.woff2) format("woff2"); }

:root {
  --page: #000000;       /* czysta czerń jak na test.dc9.io — ilustracje wtapiają się w tło */
  --panel: #0d0e12;
  --panel-2: #14161b;
  --line: rgba(236, 233, 228, 0.09);
  --line-strong: rgba(236, 233, 228, 0.22);
  --text: #ece9e4;
  --text-2: #b4b1ac;
  --muted: #8b8984;
  --accent: #84bfa3;       /* przygaszona szałwiowa zieleń — jedyny kolor akcentu */
  --accent-soft: rgba(132, 191, 163, 0.14);
  --danger: #d98c8c;
  --alert: #b23a48;        /* pomoc przy incydencie — przygaszony karmin z palety ilustracji */
  --alert-hover: #c44a58;
  --radius: 14px;
  --clip: 7px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --header-h: 80px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--page); }
/* przewijanie do sekcji robi main.js (easing + poprawka na nagłówek); bez JS — skok natychmiastowy */
body { margin: 0; background: var(--page); color: var(--text); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.6em; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; margin-bottom: 0.2em; }
.hl { color: var(--accent); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--text-2); max-width: 60ch; }
.small { font-size: 0.9rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.band-soft { background: var(--panel); }
.section-title { max-width: 20ch; margin-bottom: clamp(36px, 5vw, 64px); }

.kicker, .eyebrow, .mono-label { font-family: var(--mono); font-size: 0.78rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kicker, .eyebrow { margin-bottom: 1.2em; display: flex; align-items: center; gap: 10px; }
.kicker::before, .eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
.mono-num { font-family: var(--mono); color: var(--accent); font-size: 0.85rem; font-weight: 400; }

/* ---------- przyciski (ścięte rogi jak na test.dc9.io) ---------- */
.btn {
  --c: var(--clip);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 0.97rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 0; position: relative; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c)));
  transition: background-color .15s, color .15s;
}
.btn-lg { min-height: 54px; padding: 14px 22px; font-size: 1rem; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
/* clip-path obcina zwykły outline — fokus rysujemy w środku przycisku */
.btn:focus-visible { outline: none; }
.btn:focus-visible::after { content: ""; position: absolute; inset: 4px; border: 2px dashed currentColor; pointer-events: none; }
.btn-primary, .btn-accent { background: var(--text); color: #000; }
.btn-primary:hover, .btn-accent:hover { background: #fff; color: #000; }
/* obrys: tło przycisku jest obrysem, wnętrze rysuje pseudoelement */
.btn-ghost, .btn-on-dark { background: var(--line-strong); color: var(--text); }
.btn-ghost::before, .btn-on-dark::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--bg-under, var(--page));
  clip-path: polygon(0 0, calc(100% - var(--c) + 0.5px) 0, 100% calc(var(--c) - 0.5px), 100% 100%, calc(var(--c) - 0.5px) 100%, 0 calc(100% - var(--c) + 0.5px));
}
.btn-ghost:hover, .btn-on-dark:hover { background: var(--text); }
.btn-ghost:hover::before, .btn-on-dark:hover::before { background: #22252c; }
.band-soft { --bg-under: var(--panel); }
.btn-alert { background: var(--alert); color: #fff; }
.btn-alert:hover { background: var(--alert-hover); color: #fff; }
.text-link { font-weight: 600; }
.dot { width: 6px; height: 6px; background: var(--accent); flex: none; }

/* ---------- nagłówek ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--text); color: #000; padding: 10px 16px; }
.skip:focus { top: 12px; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(0, 0, 0, 0.92); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.logo {
  display: inline-block; width: 140px; aspect-ratio: 1182 / 411; background: var(--text);
  -webkit-mask: url(img/logo-dc9.png) no-repeat center / contain; mask: url(img/logo-dc9.png) no-repeat center / contain;
}
.logo-light { width: 120px; }
.draft-badge { font-family: var(--mono); font-size: 0.74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px dashed var(--line-strong); padding: 3px 8px; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.98rem; }
.nav ul a:hover { color: var(--accent); }
.lang { font-family: var(--mono); font-size: 0.8rem; color: var(--muted) !important; padding: 6px 10px; border: 1px solid var(--line-strong); }
.lang strong { color: var(--text); font-weight: 400; }
.lang:hover { border-color: var(--accent); }
.btn-incident { background: var(--alert); color: #fff; min-height: 42px; padding: 8px 16px; font-size: 0.9rem; }
.btn-incident:hover, .btn-incident[aria-current] { background: var(--alert-hover); color: #fff; }
.btn-incident .dot { background: #fff; width: 6px; height: 6px; border-radius: 50%; }
.btn-incident .short { display: none; }
.menu-toggle { display: none; }

@media (max-width: 980px) {
  :root { --header-h: 66px; }
  .logo { width: 112px; }
  .header-inner { gap: 12px; }
  .btn-incident { margin-left: auto; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: transform .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--page); border-bottom: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
  .lang { align-self: flex-start; margin-top: 18px; }
  .no-js .header-inner { height: auto; flex-wrap: wrap; padding-top: 10px; }
  .no-js .menu-toggle { display: none; }
  .no-js .nav { display: flex; position: static; width: 100%; padding: 0 0 12px; border: 0; }
}
@media (max-width: 480px) {
  .draft-badge { display: none; }
  .btn-incident .long { display: none; }
  .btn-incident .short { display: inline; }
}

/* ---------- otwarcie: kadr z test.dc9.io jako tło ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  margin-top: calc(var(--header-h) * -1);
  min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 clamp(80px, 10vw, 130px);
}
/* kadr przesunięty w prawo, żeby postać nie zasłaniała tekstu; lewa część to czerń */
.hero-media { position: absolute; inset: 0 0 0 clamp(0px, 22vw, 380px); z-index: -1; }
.hero-media img, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% center; filter: saturate(0.85); }
.hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 0.85; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.88) 18%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.05) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 22%, transparent 70%, var(--page) 100%);
}
.hero-inner { width: 100%; }
.hero-copy { max-width: 700px; }
.hero h1 .h1-sub { display: block; margin-top: 0.3em; font-size: 0.5em; line-height: 1.2; letter-spacing: -0.015em; color: #d9d6d0; }
.hero .lead { color: #cfccc6; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; max-width: 640px; border-top: 1px solid var(--line-strong); }
.hero-facts > div { flex: 1 1 150px; padding: 16px 20px 0 0; }
.hero-facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-facts dt { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.hero-facts dd { margin: 2px 0 0; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); line-height: 1.45; }
@media (max-width: 520px) {
  .hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; }
  .hero-facts > div { padding: 12px 10px 0 0; }
  .hero-facts > div + div { padding-left: 10px; }
  .hero-facts dt { font-size: 1.25rem; }
  .hero-facts dd { font-size: 0.6rem; letter-spacing: 0.03em; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.cta-row .btn-ghost { --bg-under: #07080b; }
@media (max-width: 760px) {
  .hero { min-height: 0; align-items: flex-end; padding-top: calc(var(--header-h) + 30vw); padding-bottom: 56px; }
  .hero-media { inset: 0; }
  .hero-media img, .hero-video { object-position: 34% top; height: 70%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 30%, var(--page) 62%); }
}
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

/* ---------- wiarygodność ---------- */
.cred-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.cred-head h2 { max-width: 18ch; margin: 0; }
.cred-head .lead { margin: 0; }
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cred-list li {
  position: relative; overflow: hidden; min-height: 200px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.85)), var(--card-bg) center / cover no-repeat, var(--panel);
}
.cred-list h3 { font-size: 1.15rem; margin: 0 0 8px; }
.cred-list p { margin: 0; color: var(--text-2); font-size: 0.97rem; max-width: 48ch; }
@media (max-width: 900px) { .cred-head { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 700px) { .cred-list { grid-template-columns: 1fr; } .cred-list li { min-height: 170px; } }

/* ---------- usługi: ilustracja wtopiona w tło + opis, naprzemiennie (jak na test.dc9.io) ---------- */
.services { padding-top: 0; overflow-x: clip; }
.services-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.services-intro h2 { margin: 0; max-width: 16ch; }
.services-intro .lead { margin-bottom: 0.5em; }
.services-intro .small { margin: 0; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 6vw, 80px); }
/* odległość od krawędzi ekranu do krawędzi treści — o tyle ilustracja wychodzi poza kolumnę */
.service { --bleed: calc(max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.service:nth-child(even) .service-media { order: 2; }
/* dwie warstwy jak na test.dc9.io: scena + wycięta postać, która wychodzi poza kadr */
.service-media { display: grid; margin-left: calc(var(--bleed) * -1); }
.service:nth-child(even) .service-media { margin-left: 0; margin-right: calc(var(--bleed) * -1); }
.service-media img { grid-area: 1 / 1; width: 100%; height: auto; filter: saturate(0.88); }
.service-head { display: flex; gap: 16px; align-items: baseline; margin-bottom: 26px; }
.service-num { font-family: var(--mono); color: var(--accent); font-size: 0.9rem; }
.service-head h3 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.service-body { margin: 0; display: grid; gap: 26px; }
.desc-item { display: grid; grid-template-columns: 30px 1px minmax(0, 1fr); gap: 20px; align-items: center; }
.desc-icon { color: var(--accent); width: 30px; height: 30px; }
.desc-icon svg { width: 30px; height: 30px; }
.desc-separator { align-self: stretch; background: var(--line-strong); min-height: 60px; }
.desc-item dt { font-weight: 600; font-size: 1.02rem; color: var(--text); margin-bottom: 4px; }
.desc-item dd { margin: 0; font-size: 0.97rem; color: var(--text-2); }
.service-result dt { color: var(--accent); }
.service-result dd { color: var(--text); }
.service-featured .text-link { display: inline-block; margin-top: 22px; margin-left: 51px; }
@media (max-width: 900px) {
  .services-intro { grid-template-columns: 1fr; gap: 16px; }
  .service, .service:nth-child(even) { grid-template-columns: 1fr; gap: 8px; }
  .service:nth-child(even) .service-media { order: 0; }
  .service-media, .service:nth-child(even) .service-media { margin: 0 calc(var(--gutter) * -1); }
}
@media (max-width: 480px) {
  .desc-item { grid-template-columns: 24px 1px minmax(0, 1fr); gap: 14px; }
  .desc-icon, .desc-icon svg { width: 24px; height: 24px; }
  .service-featured .text-link { margin-left: 0; }
}

/* ---------- jak pracujemy ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; padding-top: 64px; }
.steps li::before { content: ""; position: absolute; top: 22px; left: 56px; right: -20px; height: 1px; background: var(--line-strong); }
.steps li:last-child::before { display: none; }
.step-num {
  position: absolute; top: 0; left: 0; width: 40px; height: 46px; isolation: isolate;
  display: grid; place-items: center; font-family: var(--mono); font-size: 0.85rem; color: var(--accent);
  background: rgba(132, 191, 163, 0.5); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.step-num::before { content: ""; position: absolute; inset: 1px; z-index: -1; background: var(--bg-under, var(--page)); clip-path: inherit; }
.steps h3 { font-size: 1.12rem; }
.steps p { color: var(--text-2); font-size: 0.97rem; margin: 0; }
.incident-strip {
  margin-top: clamp(56px, 7vw, 80px); border-radius: var(--radius); --bg-under: var(--panel-2);
  padding: clamp(28px, 4vw, 44px); display: flex; gap: 32px; align-items: center; justify-content: space-between;
  background: var(--panel-2); border: 1px solid var(--line);
}
.incident-strip p { color: var(--text-2); margin: 0; max-width: 62ch; }
.incident-strip .btn { flex: none; }
@media (max-width: 900px) {
  .steps, .steps-3 { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 34px 64px; }
  .steps li::before { top: 56px; bottom: 8px; left: 20px; right: auto; width: 1px; height: auto; }
  .incident-strip { flex-direction: column; align-items: flex-start; }
}

/* ---------- o nas ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.values { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--panel); }
.values .mono-label { margin: 0 0 12px; }
.values dl { margin: 0; }
.values dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.values dt { font-weight: 700; display: flex; gap: 12px; align-items: baseline; margin-bottom: 4px; }
.values dd { margin: 0 0 0 calc(2ch + 12px); color: var(--text-2); font-size: 0.95rem; }
.team-title { margin: clamp(56px, 7vw, 88px) 0 24px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.person-board { border-top: 2px solid var(--accent); }
.person-photo { position: relative; }
.board-badge {
  position: absolute; bottom: 8px; left: 8px; z-index: 1; display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 6px; background: rgba(0, 0, 0, 0.7); border: 1px solid rgba(132, 191, 163, 0.35);
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.board-badge::before { content: ""; width: 4px; height: 4px; background: var(--accent); }
.person-photo { aspect-ratio: 5 / 6; background: linear-gradient(180deg, #1b1f2a, var(--panel)); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.person-info { padding: 18px 18px 20px; border-top: 1px solid var(--line); flex: 1; }
.person h4 { font-size: 1.05rem; }
.person-role { color: var(--accent); font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 12px; }
.person-spec { color: var(--text); font-size: 0.95rem; margin-bottom: 8px; }
.person-spec .mono-label { display: block; font-size: 0.74rem; margin-bottom: 2px; }
.person-exp { color: var(--muted); font-size: 0.85rem; margin: 0; }
@media (max-width: 1080px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .board-badge { bottom: 6px; left: 6px; font-size: 0.74rem; padding: 2px 5px; } .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .person-info { padding: 14px; } }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-side h2 { max-width: 14ch; }
.urgent-card { border: 1px solid rgba(178, 58, 72, 0.55); border-radius: var(--radius); padding: 28px; margin: 28px 0; background: var(--page); --bg-under: var(--page); }
.urgent-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; }
.urgent-card .dot { background: var(--alert); border-radius: 50%; width: 8px; height: 8px; }
.urgent-card p { color: var(--text-2); }
.urgent-email a { color: var(--text); font-weight: 700; font-size: 1.3rem; word-break: break-all; }
.urgent-email a:hover { color: var(--accent); }
.direct h3 { font-family: var(--mono); font-size: 0.76rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.direct a { font-weight: 600; }
.contact-form { background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.contact-form h3 { margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.94rem; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--panel); border: 1px solid #34373e; border-radius: 10px; padding: 12px 14px; min-height: 50px; }
.field select { appearance: none; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2384bfa3' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 40px; }
.field select option { background: var(--panel); color: var(--text); }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.form-warning { font-size: 0.9rem; border-left: 2px solid var(--accent); padding: 10px 14px; color: var(--text-2); background: var(--accent-soft); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 8px; }
.form-actions p { margin: 0; flex: 1 1 220px; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { color: var(--accent); }
.form-status.is-err { color: var(--danger); }
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"], .form-status.is-err {
  color: #f1c3c3; white-space: pre-line; font-weight: 600; padding: 14px 16px; border: 1px solid rgba(217, 140, 140, 0.55);
  background: rgba(178, 58, 72, 0.14); border-radius: 10px;
}
.form-status[data-state="ok"]:not(:empty) { padding: 12px 14px; border-radius: 10px; background: var(--panel-2); color: var(--text); font-weight: 400; }
.contact-form.is-sent > :not(.form-success) { display: none; }
.form-success { text-align: center; padding: clamp(32px, 6vw, 64px) 8px; }
.form-success:focus { outline: none; }
.form-success-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%;
  color: #000; background: var(--accent); box-shadow: 0 0 0 8px rgba(132, 191, 163, 0.15);
}
.form-success h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 12px; }
.form-success p { color: var(--text-2); max-width: 40ch; margin: 0 auto 28px; }
.anim .form-success:not([hidden]) { animation: reveal-in .5s cubic-bezier(.25, .46, .45, .94) both; }
.form-status.is-info { color: var(--text); background: var(--panel-2); padding: 12px 14px; border-radius: 10px; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- podstrona incydentu ---------- */
.incident-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(56px, 8vw, 110px)) 0 clamp(80px, 10vw, 130px);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 30%, rgba(0, 0, 0, 0.6)), url(img/ill/monitoring.webp) right center / cover no-repeat, var(--page);
}
.incident-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, var(--page)); z-index: -1; }
.incident-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 88px); align-items: end; }
.incident-hero h1 { max-width: 15ch; }
.channels { background: rgba(18, 20, 25, 0.88); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(6px); }
.channels-title { font-family: var(--mono); font-size: 0.76rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.channels dl { margin: 0 0 22px; }
.channels dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.channels dt { font-size: 0.85rem; color: var(--muted); }
.channels dd { margin: 0; }
.channel-response { color: var(--text); font-weight: 600; }
.channel-value { color: var(--text); font-weight: 700; font-size: clamp(1.35rem, 2.3vw, 1.65rem); word-break: break-all; }
.channel-value:hover { color: var(--accent); }
.channels .btn { width: 100%; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.check-list, .cross-list { list-style: none; margin: 0 0 1em; padding: 0; }
.check-list li, .cross-list li { position: relative; padding: 13px 0 13px 34px; border-top: 1px solid var(--line); color: var(--text-2); }
.check-list li::before, .cross-list li::before { position: absolute; left: 4px; top: 13px; font-weight: 700; }
.check-list li::before { content: "✓"; color: var(--accent); }
.cross-list li::before { content: "×"; color: var(--danger); font-size: 1.2em; line-height: 1.2; }
.dont-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.dont-box .small { color: var(--muted); margin: 0; }
.numbered-notes { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numbered-notes li { counter-increment: n; position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--line); color: var(--text-2); }
.numbered-notes li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 18px; font-family: var(--mono); color: var(--accent); }
.prepare { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.prepare p { color: var(--text-2); margin: 0; max-width: 60ch; }
.prepare .btn { flex: none; }
@media (max-width: 900px) {
  .incident-hero-grid, .two-col { grid-template-columns: 1fr; }
  .incident-hero { background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.96) 55%), url(img/ill/monitoring.webp) center top / cover no-repeat, var(--page); }
  .prepare { flex-direction: column; align-items: flex-start; }
}

/* ---------- stopka ---------- */
.site-footer { background: var(--page); color: var(--text-2); padding: 72px 0 28px; font-size: 0.95rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-tagline { margin-top: 20px; max-width: 34ch; }
.footer-h { font-family: var(--mono); font-size: 0.76rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-company { line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- animacje jak na test.dc9.io (bez GSAP) ---------- */
/* Klasa .anim na <html> dodawana skryptem tylko przy włączonym ruchu — bez JS treść jest widoczna od razu. */
.anim .reveal { opacity: 0; transform: translateY(24px); animation: reveal-in .8s cubic-bezier(.25, .46, .45, .94) forwards; }
.anim .reveal:nth-child(2) { animation-delay: .12s; }
.anim .reveal:nth-child(3) { animation-delay: .24s; }
.anim .reveal:nth-child(4) { animation-delay: .36s; }
.anim .reveal:nth-child(5) { animation-delay: .48s; }
@keyframes reveal-in { to { opacity: 1; transform: none; } }
.anim [data-anim] { opacity: 0; transition: opacity .8s cubic-bezier(.25, .46, .45, .94) var(--d, 0s), transform .8s cubic-bezier(.25, .46, .45, .94) var(--d, 0s); }
.anim [data-anim="fade-in-left"] { transform: translateX(-48px); }
.anim [data-anim="fade-in-right"] { transform: translateX(48px); }
.anim [data-anim="fade-in-up"] { transform: translateY(36px); }
.anim [data-anim="scale-in"] { transform: scale(.92); }
.anim [data-anim="parallax"] { transform: translateX(var(--from, 0)); }
.anim [data-anim].is-in { opacity: 1; transform: none; }
.is-jumping [data-anim] { transition: none !important; }

.not-found hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0 32px; }

/* ---------- zmienne animacji i tła bez atrybutów style (ścisłe CSP) ---------- */
.d-1 { --d: .08s; } .d-2 { --d: .16s; } .d-3 { --d: .24s; } .d-4 { --d: .32s; } .d-5 { --d: .4s; }
.cred-list li:nth-child(1) { --card-bg: url(img/ill/card-1.webp); }
.cred-list li:nth-child(2) { --card-bg: url(img/ill/card-2.webp); }
.cred-list li:nth-child(3) { --card-bg: url(img/ill/card-3.webp); }
.cred-list li:nth-child(4) { --card-bg: url(img/ill/card-4.webp); }
.service:nth-child(odd) .service-media img { --from: 50px; }
.service:nth-child(odd) .service-media .service-fg { --from: -75px; }
.service:nth-child(even) .service-media img { --from: -50px; }
.service:nth-child(even) .service-media .service-fg { --from: 75px; }

/* ---------- okruszki, FAQ, źródła, sytuacje ---------- */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text-2); }

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid h2 { max-width: 14ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; color: var(--accent); flex: none; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary h3 { margin: 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.01em; }
.faq-item p { margin: -4px 0 22px; color: var(--text-2); max-width: 64ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 20px; } }

.sources { margin: 22px 0 0; font-size: 0.85rem; color: var(--muted); }
.sources .mono-label { margin-right: 6px; }
.sources a { color: var(--text-2); }
.sources a:hover { color: var(--accent); }

.situation-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.situation-links a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 1.08rem; }
.situation-links a:hover { color: var(--accent); }
.situation-links .arrow { color: var(--alert); transition: transform .15s; }
.situation-links a:hover .arrow { transform: translateX(4px); }

.footer-former { font-size: 0.85rem; color: var(--muted); }
.dont-box .numbered-notes li:first-child { border-top: 0; }
.topic-hero { background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 30%, rgba(0, 0, 0, 0.6)), url(img/ill/incident.webp) right center / cover no-repeat, var(--page); }
@media (max-width: 900px) { .topic-hero { background: linear-gradient(180deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.96) 55%), url(img/ill/incident.webp) center top / cover no-repeat, var(--page); } }

/* ---------- formularz zgłoszenia incydentu ---------- */
.incident-form-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.incident-form { border-color: rgba(178, 58, 72, 0.5); }
.incident-form .h3 { margin-bottom: 8px; }
.form-lead { color: var(--text-2); margin-bottom: 24px; }
.field-hint { margin: -2px 0 8px; font-size: 0.86rem; color: var(--muted); }
.incident-form-aside { display: grid; gap: 28px; }
@media (max-width: 900px) { .incident-form-grid { grid-template-columns: 1fr; } }

/* ---------- usługi: 3 obszary × 3 kafelki ---------- */
.service-groups { display: grid; gap: 14px; margin-bottom: clamp(64px, 8vw, 110px); }
.service-group { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: clamp(20px, 3vw, 40px); padding: 26px 0; border-top: 1px solid var(--line); }
.service-group:last-child { border-bottom: 1px solid var(--line); }
.service-group-head { display: flex; gap: 16px; align-items: baseline; }
.service-group-head h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin: 4px 0 10px; }
.service-group-head .mono-label { font-size: 0.7rem; margin: 0; }
.service-group-head .text-link { font-size: 0.9rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); transition: border-color .2s, transform .2s; }
.tile:hover { border-color: rgba(132, 191, 163, 0.45); }
.tile-icon { display: block; width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.tile-icon svg { width: 30px; height: 30px; }
.tile h4 { font-size: 1.05rem; margin-bottom: 8px; }
.tile p { margin: 0; font-size: 0.93rem; color: var(--text-2); line-height: 1.55; }
.service-group:first-child .tile:first-child { border-color: rgba(178, 58, 72, 0.5); }
.service-group:first-child .tile:first-child .tile-icon { color: #d98a95; }
.service-head > div .mono-label { font-size: 0.7rem; margin: 0 0 6px; }
@media (max-width: 1000px) { .service-group { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }

/* piąta karta wiarygodności na całą szerokość */
.cred-list li:nth-child(5) { --card-bg: url(img/ill/card-5.webp); }
.cred-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* karta z liczbą incydentów */
.cred-list li.cred-stat {
  flex-direction: row; align-items: center; justify-content: flex-start; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 4vw, 44px);
  border-color: rgba(132, 191, 163, 0.4);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.94) 35%, rgba(0, 0, 0, 0.35) 85%), var(--card-bg) right 40% / cover no-repeat, var(--panel);
}
.cred-stat-num { display: flex; flex-direction: column; flex: none; padding-right: clamp(24px, 4vw, 56px); border-right: 1px solid var(--line-strong); }
.cred-stat-value { font-size: clamp(3.4rem, 8vw, 5.6rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.045em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cred-stat-label { margin-top: 10px; max-width: 22ch; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.cred-stat h3 { font-size: 1.3rem; }
.cred-stat p { max-width: 56ch; }
@media (max-width: 700px) {
  .cred-list li.cred-stat { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cred-stat-num { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid var(--line-strong); width: 100%; }
}

/* plakietka zaufanego dostawcy ENISA */
.trust-badge {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 48px);
  margin-bottom: 16px; padding: clamp(22px, 3vw, 32px) clamp(22px, 4vw, 40px);
  border: 1px solid rgba(132, 191, 163, 0.45); border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(132, 191, 163, 0.10), rgba(0, 0, 0, 0) 55%), var(--panel);
}
.trust-badge-mark { display: flex; flex-direction: column; gap: 6px; padding-right: clamp(20px, 4vw, 48px); border-right: 1px solid var(--line-strong); }
.trust-badge-mark a { display: block; }
.trust-badge-mark img { height: clamp(72px, 9vw, 96px); width: auto; }
.trust-badge-org { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: 0.02em; line-height: 1; color: var(--text); }
.trust-badge-orgfull { max-width: 26ch; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); line-height: 1.45; }
.trust-badge-body p { margin: 0; }
.trust-badge-role { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.trust-badge-role::before { content: ""; width: 7px; height: 7px; background: var(--accent); }
.trust-badge-program { margin-top: 6px !important; font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; }
.trust-badge-note { margin-top: 4px !important; color: var(--text-2); font-size: 0.95rem; }
.trust-badge-disclaimer { margin-top: 10px !important; font-size: 0.78rem; color: var(--muted); }
.trust-badge-period span {
  display: inline-block; padding: 10px 16px; border: 1px solid var(--accent); color: var(--accent);
  font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px));
}
@media (max-width: 760px) {
  .trust-badge { grid-template-columns: 1fr; gap: 16px; }
  .trust-badge-mark { padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line-strong); }
  .trust-badge-period { justify-self: start; }
}

/* plakietka ENISA jako pas na całą szerokość */
.trust-band {
  margin: 0 0 clamp(28px, 4vw, 48px);
  border-top: 1px solid rgba(132, 191, 163, 0.35); border-bottom: 1px solid rgba(132, 191, 163, 0.35);
  background: linear-gradient(90deg, rgba(132, 191, 163, 0.12), rgba(132, 191, 163, 0.03) 45%, rgba(0, 0, 0, 0) 75%), var(--panel);
}
.trust-band .trust-badge {
  margin-bottom: 0; border: 0; border-radius: 0; background: none;
  padding-top: clamp(26px, 3.5vw, 40px); padding-bottom: clamp(26px, 3.5vw, 40px);
}

/* cele dotyku ≥ 24 px (WCAG 2.2) dla linków w listach i okruszkach */
.footer-links a, .breadcrumbs a, .service-group-head .text-link, .direct a, .footer-company a { display: inline-block; min-height: 24px; padding: 2px 0; }
.situation-links a { min-height: 44px; }

/* ---------- strony dokumentów (polityka prywatności) ---------- */
.legal { padding-top: clamp(40px, 6vw, 72px); }
.legal-wrap { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }
.legal-updated { margin: 8px 0 clamp(32px, 5vw, 56px); }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { display: flex; gap: 14px; align-items: baseline; margin-bottom: 14px; }
.legal-section p { color: var(--text-2); max-width: 70ch; }
.legal-section .check-list { margin-bottom: 14px; }

/* ---------- NIS2 i DORA ---------- */
.nis2-hero { background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 35%, rgba(0, 0, 0, 0.55)), url(img/ill/infrastructure.webp) right center / cover no-repeat, var(--page); }
.nis2-hero h1 { max-width: 18ch; }
.nis2-hero .cta-row { margin-top: 28px; }
.reg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.reg-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.reg-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 12px; }
.reg-card p:last-child { color: var(--text-2); margin: 0; }
.tile-link { display: inline-block; margin-top: 12px; font-size: 0.9rem; min-height: 24px; }
@media (max-width: 760px) { .reg-grid { grid-template-columns: 1fr; } .nis2-hero { background: linear-gradient(180deg, rgba(0,0,0,.75), rgba(0,0,0,.96) 55%), url(img/ill/infrastructure.webp) center top / cover no-repeat, var(--page); } }

/* ---------- zmiany z przeglądu treści ---------- */
.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.cred-list { grid-template-columns: 1fr; }
.cred-list li:nth-child(2) { --card-bg: url(img/ill/card-4.webp); min-height: 150px; }
.about-cert { display: flex; gap: 14px; align-items: flex-start; margin-top: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text-2); background: var(--panel); }
.about-cert .tile-icon { margin: 0; flex: none; }
.topic-incident-hint { margin: 10px 0 0; padding: 12px 14px; border: 1px solid rgba(178, 58, 72, 0.5); border-radius: 10px; background: rgba(178, 58, 72, 0.12); color: var(--text); font-size: 0.93rem; }
.topic-incident-hint .text-link { color: #f1c3c3; }
.incident-form-grid.is-compact { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.reg-card .numbered-notes { margin: 8px 0 14px; }
.reg-card .numbered-notes li { color: var(--text); }
.first-steps { border-color: rgba(178, 58, 72, 0.45); }

.about-cert { margin-top: 20px; padding: 20px 22px; border-color: rgba(132, 191, 163, 0.35); }
.about-cert h3 { font-size: 1.05rem; margin: 2px 0 6px; }
.about-cert p { margin: 0; color: var(--text-2); font-size: 0.97rem; }

/* otwarcie: niskie ekrany (laptopy 720–800 px) i telefony — fakty muszą zmieścić się na pierwszym ekranie */
@media (min-width: 761px) and (max-height: 820px) {
  .hero { padding-top: calc(var(--header-h) + 20px); padding-bottom: 56px; }
  .hero h1 { font-size: clamp(2.1rem, 3.9vw, 3.2rem); }
  .hero .eyebrow { margin-bottom: 0.8em; }
  .cta-row { margin-top: 24px; }
  .hero-facts { margin-top: 26px; }
  .hero-facts > div { padding-top: 12px; }
}
@media (max-width: 760px) {
  .hero { padding-top: calc(var(--header-h) + 14vw); }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); }
  .hero .lead { font-size: 1rem; }
  .cta-row { margin-top: 22px; gap: 10px; }
  .cta-row .btn-lg { min-height: 50px; padding: 12px 18px; }
  .hero-facts { margin-top: 20px; }
}
