/* ══════════════════════════════════════════════════════════
   DIMPORT — Stylesheet
   Kolejność: zmienne → reset → typografia → komponenty → sekcje → RWD
   ══════════════════════════════════════════════════════════ */

:root {
  /* Marka */
  --ink:        #0B1220;   /* granat, tło ciemnych sekcji */
  --ink-2:      #131C2E;   /* jaśniejszy granat, karty na ciemnym */
  --accent:     #22D3EE;   /* cyjan — światło w światłowodzie */
  --accent-2:   #2563EB;   /* niebieski, gradienty */
  --accent-ink: #0A2A33;   /* tekst na cyjanie */

  /* Tła i tekst */
  --bg:         #FFFFFF;
  --bg-alt:     #F5F8FC;
  --text:       #17233A;
  --text-muted: #5A6880;
  --line:       #E3E9F2;

  /* Na ciemnym */
  --on-dark:        #EAF1FB;
  --on-dark-muted:  #93A3BC;
  --line-dark:      rgba(255,255,255,.12);

  /* Kształt i rytm */
  --radius:    14px;
  --radius-sm: 9px;
  --wrap:      1180px;
  --gap:       clamp(1.25rem, 3vw, 2.25rem);
  --section-y: clamp(4rem, 8vw, 7rem);

  --shadow:    0 1px 2px rgba(16,28,52,.05), 0 12px 32px -12px rgba(16,28,52,.16);
  --shadow-lg: 0 24px 60px -20px rgba(11,18,32,.35);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--accent-ink);
  padding: .75rem 1.25rem; font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ── Typografia ───────────────────────────────────────── */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p  { text-wrap: pretty; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: .75rem;
}
.section-dark .kicker { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34,211,238,.35);
  background: rgba(34,211,238,.08);
  padding: .4rem .85rem; border-radius: 100px; margin-bottom: 1.5rem;
}

.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--on-dark-muted); max-width: 58ch; }
.section-sub { color: var(--text-muted); max-width: 62ch; font-size: 1.05rem; }
.section-dark .section-sub { color: var(--on-dark-muted); }

/* ── Przyciski ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.6rem; border: 1px solid transparent; border-radius: 100px;
  font-weight: 650; font-size: .97rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff; box-shadow: 0 8px 24px -10px rgba(37,99,235,.7);
}
.btn-primary:hover { box-shadow: 0 14px 32px -12px rgba(37,99,235,.85); }

.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--on-dark); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(34,211,238,.1); }

.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ── Header ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,18,32,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line-dark); background: rgba(11,18,32,.95); }

.header-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 84px; }

.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--on-dark); margin-right: auto; }
.logo-mark { width: 54px; height: 54px; color: var(--accent); flex: none; }
.logo-text { display: flex; flex-direction: column; font-weight: 800; letter-spacing: .12em; font-size: 1.05rem; line-height: 1.1; }
.logo-text em {
  font-style: normal; font-weight: 500; font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--on-dark-muted);
}

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--on-dark-muted); text-decoration: none; font-size: .95rem; font-weight: 550; transition: color .18s ease; }
.site-nav a:hover, .site-nav a.is-current { color: var(--on-dark); }
.site-nav .nav-cta { color: #fff; }

.header-tools { display: flex; align-items: center; gap: .75rem; }

.lang-switch { display: flex; border: 1px solid var(--line-dark); border-radius: 100px; overflow: hidden; }
.lang-switch button {
  background: none; border: 0; cursor: pointer;
  padding: .38rem .68rem; font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  color: var(--on-dark-muted); transition: background .18s ease, color .18s ease;
}
.lang-switch button:hover { color: var(--on-dark); }
.lang-switch button.is-active { background: var(--accent); color: var(--accent-ink); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  background: radial-gradient(120% 100% at 15% 0%, #16233C 0%, var(--ink) 55%, #070C16 100%);
  color: var(--on-dark);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; opacity: .55; }
.hero-bg .fiber { width: 100%; height: 100%; }
.fiber-line {
  fill: none; stroke: url(#fg1); stroke-width: 1.6;
  stroke-dasharray: 260 1400; stroke-dashoffset: 1660;
  animation: flow 9s linear infinite;
}
.fiber-line.d1 { animation-duration: 11s; animation-delay: -3s; }
.fiber-line.d2 { animation-duration: 13s; animation-delay: -6s; }
.fiber-line.d3 { animation-duration: 10s; animation-delay: -1.5s; }
@keyframes flow { to { stroke-dashoffset: -1400; } }

.hero-inner { max-width: 62rem; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 { background: linear-gradient(120deg, #fff 30%, #9FE6F5 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-dark); padding-top: 2rem;
}
.stats dt { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.stats dd { margin: .35rem 0 0; font-size: .9rem; color: var(--on-dark-muted); line-height: 1.45; }

/* ── Trust bar ────────────────────────────────────────── */
.trustbar { background: var(--ink-2); color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 2rem; padding: 1.1rem 0; }
.trust-grid p { display: flex; align-items: baseline; gap: .55rem; font-size: .88rem; }
.trust-grid span[aria-hidden] { color: var(--accent); font-size: .6rem; }

/* ── Sekcje ───────────────────────────────────────────── */
.section { padding: var(--section-y) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--on-dark); }

.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); max-width: 62ch; }
.section-head h2 { margin-bottom: .9rem; }

/* ── Karty ────────────────────────────────────────────── */
.cards { display: grid; gap: var(--gap); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(37,99,235,.3); box-shadow: 0 20px 44px -18px rgba(16,28,52,.3); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.1rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(37,99,235,.16));
  color: var(--accent-2);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .6rem; }
.card > p { color: var(--text-muted); font-size: .97rem; }
.card ul { list-style: none; padding: 0; margin: 1.15rem 0 0; border-top: 1px solid var(--line); padding-top: 1.15rem; }
.card li { position: relative; padding-left: 1.35rem; font-size: .94rem; color: var(--text); }
.card li + li { margin-top: .5rem; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2);
}

.card-photo {
  width: calc(100% + 3.4rem); max-width: none;
  margin: -1.9rem -1.7rem 1.4rem;
  aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--bg-alt);
}

/* ── Galeria ──────────────────────────────────────────── */
.gallery-head { margin: clamp(3rem, 6vw, 4.5rem) 0 1.25rem; }
.gallery-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-bottom: .4rem; }
.gallery-head p { color: var(--text-muted); font-size: .97rem; }

.gallery-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.gallery-filter button {
  background: var(--bg); border: 1px solid var(--line); border-radius: 100px;
  padding: .45rem 1rem; font-size: .87rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.gallery-filter button:hover { border-color: var(--accent-2); color: var(--accent-2); }
.gallery-filter button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem;
}
.gallery li { margin: 0; }
.gallery li[hidden] { display: none; }

.g-open {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer;
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.g-open img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  transition: transform .45s cubic-bezier(.2,.7,.3,1), filter .3s ease;
  background: var(--line);
}
.g-open:hover img, .g-open:focus-visible img { transform: scale(1.06); }
.g-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 1.9rem .8rem .65rem; text-align: left;
  font-size: .8rem; font-weight: 600; line-height: 1.3; color: #fff;
  background: linear-gradient(to top, rgba(6,11,22,.88) 25%, rgba(6,11,22,0));
  opacity: 0; transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.g-open:hover .g-cap, .g-open:focus-visible .g-cap { opacity: 1; transform: none; }

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: 100vw; max-height: 100dvh; width: 100%; height: 100%;
  overflow: hidden; color: #fff;
}
.lightbox::backdrop { background: rgba(5,9,18,.92); }
.lightbox figure {
  margin: 0; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; padding: clamp(1rem, 4vw, 3rem);
}
.lightbox img {
  max-width: min(100%, 1400px); max-height: 78dvh; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.lightbox figcaption { font-size: .93rem; color: #C9D6EA; text-align: center; max-width: 60ch; }

.lb-close, .lb-nav {
  position: absolute; z-index: 2; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .18s ease, border-color .18s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.5); }
.lb-close { top: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 2rem; line-height: 1; padding-bottom: .2rem; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* ── Split (tekst + lista) ────────────────────────────── */
.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-text .btn { margin-top: 1.75rem; }
.split-text .section-sub { margin-top: .9rem; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.feature-list li { padding-left: 1.1rem; border-left: 2px solid var(--accent); }
.feature-list h3 { margin-bottom: .4rem; }
.feature-list p { color: var(--text-muted); font-size: .95rem; }

/* ── Kroki ────────────────────────────────────────────── */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 2.5rem; }
.steps li::before {
  content: ""; position: absolute; top: 1.05rem; left: 0; right: -1.5rem; height: 1px;
  background: linear-gradient(90deg, var(--accent-2), rgba(37,99,235,.15));
}
.steps li:last-child::before { right: 0; }
.step-num {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem;
  border-radius: 50%; background: var(--ink); color: var(--accent);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.steps h3 { margin-bottom: .45rem; }
.steps p { color: var(--text-muted); font-size: .93rem; }

/* ── Referencje ───────────────────────────────────────── */
.ref-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .6rem;
}
.ref-meta { font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); }
.ref-card p:not(.ref-meta) { color: var(--text-muted); font-size: .95rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin-top: auto; padding-top: 1rem; }
.tags li {
  font-size: .78rem; font-weight: 600; padding: .28rem .7rem; border-radius: 100px;
  background: rgba(37,99,235,.08); color: var(--accent-2);
}
.note { margin-top: 2rem; font-size: .88rem; color: var(--text-muted); font-style: italic; }

/* ── Kariera ──────────────────────────────────────────── */
.job {
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 1.7rem 1.55rem;
  transition: border-color .2s ease, transform .2s ease;
}
.job:hover { border-color: rgba(34,211,238,.45); transform: translateY(-3px); }
.job h3 { margin-bottom: .55rem; }
.job p { color: var(--on-dark-muted); font-size: .95rem; }
.job-meta { margin-top: 1rem; font-size: .82rem; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.careers-cta { margin-top: 2.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.careers-cta p { color: var(--on-dark-muted); font-size: .93rem; }
.careers-phone {
  margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark);
  color: var(--on-dark-muted); font-size: .95rem;
}
.careers-phone a {
  color: var(--accent); font-weight: 650; text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(34,211,238,.35); margin-left: .35rem;
}
.careers-phone a:hover { border-bottom-color: var(--accent); }

/* ── Kontakt / formularz ──────────────────────────────── */
.split-contact { grid-template-columns: 1fr 1.1fr; }

.contact-data { margin-top: 2.25rem; display: grid; gap: 1.15rem; }
.contact-data dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.contact-data dd { margin: .2rem 0 0; font-size: 1.02rem; font-weight: 550; }
.contact-data a { text-decoration: none; border-bottom: 1px solid rgba(37,99,235,.35); }
.contact-data a:hover { color: var(--accent-2); }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 650; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  font-size: .97rem; transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220,38,38,.12); }

.check { flex-direction: row; align-items: flex-start; gap: .65rem; }
.check input { width: 18px; height: 18px; flex: none; margin-top: .2rem; accent-color: var(--accent-2); }
.check label { font-weight: 450; font-size: .87rem; color: var(--text-muted); line-height: 1.5; }
.check label a { color: var(--accent-2); }

.form-status { margin-top: .85rem; font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: #047857; }
.form-status.is-error { color: #DC2626; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { font-weight: 800; letter-spacing: .14em; font-size: 1.15rem; color: var(--on-dark); margin-bottom: .75rem; }
.footer-desc { max-width: 34ch; }
.footer-head { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); margin-bottom: .9rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: var(--accent); }
.site-footer > .footer-grid > div > p + p { margin-top: .5rem; }
.footer-grid > div:last-child a { display: block; margin-bottom: .5rem; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 1.5rem 0; font-size: .85rem; }

/* ── Strony prawne (impressum / datenschutz) ──────────── */
.legal { padding: clamp(3rem, 6vw, 5rem) 0; }
.legal .wrap { max-width: 46rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; }
.legal h3 { margin: 1.5rem 0 .5rem; }
.legal p, .legal li { color: var(--text-muted); }
.legal p + p { margin-top: .85rem; }
.legal ul { margin: .75rem 0 0 1.25rem; }
.legal li + li { margin-top: .35rem; }
.legal a { color: var(--accent-2); }
.todo {
  display: block; background: #FEF3C7; border-left: 3px solid #D97706; color: #78350F;
  padding: .85rem 1rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.25rem 0;
  font-size: .9rem;
}

/* ── Ujawnianie przy scrollu ──────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ══════════ RWD ══════════ */
@media (max-width: 1024px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::before { right: 0; }
  .split, .split-contact { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto; z-index: 90;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: .5rem 1.25rem 1.5rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .25s ease;
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1.05rem; }
  .site-nav .nav-cta { margin-top: 1.25rem; border-bottom: 0; justify-content: center; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .steps li::before { display: none; }
  .steps li { padding-top: 0; padding-left: 3rem; }
  .feature-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .trust-grid { grid-template-columns: 1fr; gap: .5rem; }
  .form { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .g-cap { opacity: 1; transform: none; font-size: .72rem; padding: 1.4rem .55rem .5rem; }
  .lb-nav { width: 42px; height: 42px; font-size: 1.7rem; }
  .lb-prev { left: .4rem; } .lb-next { right: .4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 430px) {
  .logo-text em { display: none; }          /* podpis pod logo zabiera za dużo miejsca */
  .logo-text { font-size: .98rem; }
  .lang-switch button { padding: .35rem .55rem; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-bg, .nav-toggle, .lang-switch, .form { display: none !important; }
  body { color: #000; background: #fff; }
}

/* kontakt bez formularza */
.contact-actions { display: grid; gap: .9rem; align-content: center; padding: 2rem; border-radius: 18px; background: var(--surface-2, rgba(255,255,255,.04)); border: 1px solid rgba(127,127,127,.18); }
.contact-note { margin: .5rem 0 0; font-size: .9rem; color: var(--text-muted); }
.contact-actions .btn-ghost { color: var(--text, #0F172A); border-color: rgba(15,23,42,.28); background: #fff; }
.contact-actions .btn-ghost:hover { border-color: var(--accent-2, #2563EB); color: var(--accent-2, #2563EB); background: rgba(37,99,235,.06); }
@media (max-width: 720px) { .logo-mark { width: 44px; height: 44px; } }
