/* ============================================================
   NORDA Field Systems — strona główna (portfolio)
   Kod produkcyjny; klasy w konwencji BEM.
   ============================================================ */

/* ---- Baza ---- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 1100px; /* design v4 jest desktop-first; wersje mobilne dojdą osobno */
  background: var(--paper-50);
  color: var(--ink-900);
  font: var(--type-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

:root {
  /* Ścięte narożniki kart — wspólny kształt clip-path (lewy górny + prawy dolny róg 36px, pozostałe 16px) */
  --cut-corners: polygon(36px 0, calc(100% - 16px) 0, calc(100% - 8px) 2.14px, calc(100% - 2.14px) 8px, 100% 16px, 100% calc(100% - 36px), calc(100% - 36px) 100%, 16px 100%, 8px calc(100% - 2.14px), 2.14px calc(100% - 8px), 0 calc(100% - 16px), 0 36px);
}

/* ============================================================
   Wspólne: przyciski
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 15px 24px;
  border-radius: 12px;
  transition: var(--transition-control);
}

.btn--lg { padding: 16px 26px; }

.btn--light { background: var(--paper-50); color: var(--ink-900); }
.btn--light:hover { background: var(--paper-300); color: var(--ink-900); }

.btn--outline-light { border: 1px solid rgba(250, 250, 247, 0.35); color: var(--paper-50); }
.btn--outline-light:hover { border-color: var(--paper-50); color: #ffffff; }

.btn--dark { background: var(--ink-900); color: var(--paper-50); }
.btn--dark:hover { background: var(--ink-700); color: var(--paper-50); }

/* ============================================================
   Wspólne: nagłówek sekcji (kicker + tytuł + lead)
   ============================================================ */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.section-head__title {
  margin: 0;
  max-width: 760px;
  font-weight: 500;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  text-wrap: balance;
}
.section-head__title--narrow { max-width: 720px; }

.section-head__lead {
  margin: 0;
  max-width: 620px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-500);
  text-wrap: pretty;
}

.kicker { display: flex; align-items: center; gap: 14px; }

.kicker__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  color: var(--ink-500);
}

.kicker__dot { display: block; width: 6px; height: 6px; background: var(--ink-400); }

.kicker__line { display: block; width: 140px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong)); }
.kicker__line--rev { background: linear-gradient(270deg, transparent, var(--line-strong)); }

/* Jasna odmiana na ciemnych sekcjach */
.kicker--inverse .kicker__label { color: rgba(250, 250, 247, 0.65); }
.kicker--inverse .kicker__dot { background: rgba(250, 250, 247, 0.65); }
.kicker--inverse .kicker__line { background: linear-gradient(90deg, rgba(250, 250, 247, 0.4), transparent); }

/* ============================================================
   Wspólne: dekoracje HUD
   ============================================================ */
.hud { position: absolute; inset: 0; pointer-events: none; }

.hud__corner { position: absolute; width: 26px; height: 26px; }
.hud__corner--tl { left: 40px; top: 108px; border-left: 1px solid rgba(250, 250, 247, 0.4); border-top: 1px solid rgba(250, 250, 247, 0.4); }
.hud__corner--tr { right: 40px; top: 108px; border-right: 1px solid rgba(250, 250, 247, 0.4); border-top: 1px solid rgba(250, 250, 247, 0.4); }
.hud__corner--bl { left: 40px; bottom: 64px; border-left: 1px solid rgba(250, 250, 247, 0.4); border-bottom: 1px solid rgba(250, 250, 247, 0.4); }
.hud__corner--br { right: 40px; bottom: 64px; border-right: 1px solid rgba(250, 250, 247, 0.4); border-bottom: 1px solid rgba(250, 250, 247, 0.4); }

.hud__plus {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-300);
}
.hud__plus--tl { left: 26px; top: 22px; }
.hud__plus--tr { right: 26px; top: 22px; }
.hud__plus--bl { left: 26px; bottom: 18px; }
.hud__plus--br { right: 26px; bottom: 18px; }

.hud__tag {
  position: absolute;
  right: 60px;
  top: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-300);
  white-space: nowrap;
}

.hud__side {
  position: absolute;
  top: 50%;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  color: var(--ink-300);
}
.hud__side--left { left: 22px; transform: translateY(-50%) rotate(180deg); }
.hud__side--right { right: 22px; transform: translateY(-50%); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0b0d0e;
  color: var(--paper-50);
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.04);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 11, 0.78) 0%, rgba(8, 10, 11, 0.42) 42%, rgba(8, 10, 11, 0.90) 100%);
}

.hero__hud { z-index: 1; }

.hero__reticle {
  position: absolute;
  right: clamp(60px, 12vw, 220px);
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  height: 340px;
}
.hero__reticle-ring { position: absolute; inset: 0; border: 1px dashed rgba(250, 250, 247, 0.30); border-radius: 50%; }
.hero__reticle-ring--inner { inset: 42px; border: 1px solid rgba(250, 250, 247, 0.16); }
.hero__reticle-axis--v { position: absolute; left: 50%; top: -14px; bottom: -14px; width: 1px; background: linear-gradient(180deg, transparent, rgba(250, 250, 247, 0.28), transparent); }
.hero__reticle-axis--h { position: absolute; top: 50%; left: -14px; right: -14px; height: 1px; background: linear-gradient(90deg, transparent, rgba(250, 250, 247, 0.28), transparent); }
.hero__reticle-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 5px; height: 5px; background: rgba(250, 250, 247, 0.75); border-radius: 50%; }
.hero__reticle-caption {
  position: absolute;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(250, 250, 247, 0.45);
  white-space: nowrap;
}

.hero__ruler {
  position: absolute;
  left: 50%;
  bottom: 62px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.hero__ruler-tick { width: 1px; height: 6px; background: rgba(250, 250, 247, 0.3); }
.hero__ruler-tick--md { height: 10px; }
.hero__ruler-tick--lg { height: 14px; background: rgba(250, 250, 247, 0.5); }

.hero__side-label {
  position: absolute;
  top: 50%;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  color: rgba(250, 250, 247, 0.38);
  z-index: 2;
}
.hero__side-label--left { left: 22px; transform: translateY(-50%) rotate(180deg); }
.hero__side-label--right { right: 22px; transform: translateY(-50%); }

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px clamp(48px, 7vw, 110px) 110px;
  gap: 26px;
}

.hero__kicker { display: flex; align-items: center; gap: 14px; }
.hero__kicker-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  color: rgba(250, 250, 247, 0.72);
}
.hero__kicker-dot { display: block; width: 6px; height: 6px; background: rgba(250, 250, 247, 0.7); }
.hero__kicker-line { display: block; width: 160px; height: 1px; background: linear-gradient(90deg, rgba(250, 250, 247, 0.45), transparent); }

.hero__title {
  margin: 0;
  max-width: 880px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(44px, 4.8vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.hero__lead {
  margin: 0;
  max-width: 600px;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.78);
  text-wrap: pretty;
}

.hero__actions { display: flex; gap: 14px; margin-top: 8px; }

.hero__strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 4vw, 64px) 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(250, 250, 247, 0.4);
  white-space: nowrap;
  gap: 24px;
}
.hero__strip-item--start { justify-self: start; }
.hero__strip-item--center { justify-self: center; }
.hero__strip-item--end { justify-self: end; }

/* ---- Pasek nawigacji (w hero) ---- */
.top-bar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(24px, 4vw, 64px);
}

.top-bar__logo-link { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.top-bar__logo { height: 26px; width: auto; display: block; }

.top-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 32px); }

.top-nav__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(250, 250, 247, 0.78);
  white-space: nowrap;
}
.top-nav__link:hover { color: #ffffff; }

.top-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-50);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 0.12em;
  padding: 11px 16px;
  border-radius: 10px;
  transition: var(--transition-control);
}
.top-nav__cta:hover { background: var(--paper-300); color: var(--ink-900); }
.top-nav__cta-arrow { font-size: 14px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(250, 250, 247, 0.22);
  border-radius: 10px;
  padding: 3px;
}

.lang-switch__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 7px 11px;
  border-radius: 8px;
  background: transparent;
  color: rgba(250, 250, 247, 0.6);
  transition: var(--transition-control);
}
.lang-switch__btn:hover { color: #ffffff; }
.lang-switch__btn--active { background: rgba(250, 250, 247, 0.14); color: #ffffff; }

/* ============================================================
   Pasek dowodów
   ============================================================ */
.proof {
  position: relative;
  background: var(--paper-50);
  padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 64px);
  overflow: hidden;
}

.proof__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.proof-card {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.proof-card__title {
  margin: 10px 0 0;
  font-weight: 600;
  font-size: 23px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  line-height: 1.05;
}

.proof-card__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-500);
  text-wrap: pretty;
}

/* ============================================================
   Co realizujemy (usługi)
   ============================================================ */
.services {
  position: relative;
  background: var(--paper-100);
  padding: clamp(72px, 9vw, 128px) clamp(24px, 4vw, 64px);
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.services__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(12, 12, 11, 0.22) 1.5px, transparent 1.6px),
    linear-gradient(rgba(12, 12, 11, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 12, 11, 0.055) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px, 88px 88px;
  background-position: 44px 44px, 0 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at center, #000 30%, transparent 78%);
}

.services__inner { position: relative; max-width: 1280px; margin: 0 auto; }

.services__head { margin-bottom: clamp(48px, 6vw, 80px); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-0);
  border-radius: 16px;
  clip-path: var(--cut-corners);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(12, 12, 11, 0.04);
  transition: var(--transition-control);
}
.service-card:hover {
  box-shadow: 0 12px 32px rgba(12, 12, 11, 0.10);
  transform: translateY(-3px);
}

.service-card__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 12px;
}

.service-card__ref {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-300);
}

.service-card__dots { display: flex; gap: 5px; }
.service-card__dot { width: 4px; height: 4px; background: var(--ink-300); }
.service-card__dot--strong { background: var(--ink-600); }

.service-card__media {
  margin: 0 18px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.service-card__img { width: 100%; height: 100%; object-fit: cover; }

.service-card__body {
  padding: 18px 18px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-card__title {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}

.service-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-500);
}

/* ============================================================
   Cykl realizacji (ciemna sekcja)
   ============================================================ */
.cycle {
  position: relative;
  background: #07090a;
  color: var(--paper-50);
  overflow: hidden;
}

.cycle__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.cycle__bg-img.is-active { opacity: 0.55; }

.cycle__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 10, 0.66) 0%, rgba(7, 9, 10, 0.15) 45%, rgba(7, 9, 10, 0.66) 100%);
}

.cycle__hud .hud__corner--tl { left: 40px; top: 40px; border-color: rgba(250, 250, 247, 0.35); }
.cycle__hud .hud__corner--tr { right: 40px; top: 40px; border-color: rgba(250, 250, 247, 0.35); }
.cycle__hud .hud__corner--bl { left: 40px; bottom: 40px; border-color: rgba(250, 250, 247, 0.35); }
.cycle__hud .hud__corner--br { right: 40px; bottom: 40px; border-color: rgba(250, 250, 247, 0.35); }

.cycle__hud-tag {
  position: absolute;
  right: 80px;
  top: 44px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(250, 250, 247, 0.45);
  white-space: nowrap;
}

.cycle__hud-note {
  position: absolute;
  left: 80px;
  bottom: 46px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(250, 250, 247, 0.45);
  white-space: nowrap;
}

.cycle__clock {
  position: absolute;
  right: 80px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  white-space: nowrap;
}
.cycle__clock-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(250, 250, 247, 0.42);
}
.cycle__clock-row { display: flex; align-items: center; gap: 9px; }
.cycle__clock-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #86d68f;
  box-shadow: 0 0 9px rgba(134, 214, 143, 0.85);
}
.cycle__clock-time {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: rgba(250, 250, 247, 0.85);
  font-variant-numeric: tabular-nums;
}

.cycle__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 170px) clamp(24px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 110px);
}

.cycle__head { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }

.cycle__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-wrap: balance;
}
.cycle__title-sub { color: rgba(250, 250, 247, 0.5); }

.cycle__stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.cycle-stage {
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  opacity: 0.4;
  transition: opacity 0.6s ease;
}
.cycle-stage.is-active { opacity: 1; }

.cycle-stage__track {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(250, 250, 247, 0.16);
  overflow: hidden;
}

.cycle-stage__fill {
  height: 100%;
  width: 0%;
  background: var(--paper-50);
  box-shadow: 0 0 8px rgba(250, 250, 247, 0.55);
}

.cycle-stage__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(250, 250, 247, 0.5);
}

.cycle-stage__title {
  margin: 0;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.cycle-stage__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.65);
  text-wrap: pretty;
}

/* ============================================================
   Dla kogo (odbiorcy)
   ============================================================ */
.audience {
  position: relative;
  background: var(--paper-50);
  padding: clamp(72px, 9vw, 128px) clamp(24px, 4vw, 64px);
  overflow: hidden;
}

.audience__deco-circle {
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 480px;
  height: 480px;
  border: 1px dashed rgba(12, 12, 11, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.audience__axes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.audience__axis--h { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: rgba(12, 12, 11, 0.09); }
.audience__axis--v { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(12, 12, 11, 0.09); }

.audience__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1240px, 94vw);
  height: min(1240px, 94vw);
  transform: translate(-50%, -50%);
  will-change: transform;
}

.audience__inner { position: relative; max-width: 1280px; margin: 0 auto; }

.audience__head { margin-bottom: clamp(48px, 6vw, 72px); }

.audience__rows { display: flex; flex-direction: column; gap: 0; }

.audience-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 40px);
  align-items: center;
}
.audience-row--reverse { margin-top: clamp(-96px, -6vw, -40px); }

.audience-row__media { display: flex; justify-content: center; }

.audience-row__img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  filter: drop-shadow(0 38px 50px rgba(12, 12, 11, 0.20));
  pointer-events: none;
  user-select: none;
}

.audience-row__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.audience-row--reverse .audience-row__content { align-items: flex-end; text-align: right; }

.audience-row__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-400);
  white-space: nowrap;
}

.audience-row__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-900);
  text-wrap: balance;
}

.audience-row__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-500);
  text-wrap: pretty;
  max-width: 46ch;
}

.audience-row__cta { margin-top: 4px; padding: 15px 26px; }

/* ============================================================
   Polityka dyskrecji
   ============================================================ */
.discretion {
  position: relative;
  background: #0b0d0e;
  color: var(--paper-50);
  padding: clamp(96px, 12vw, 180px) clamp(24px, 4vw, 64px);
  overflow: hidden;
}

.discretion__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/dyskrecja-tlo.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  pointer-events: none;
}

.discretion__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(11, 13, 14, 0.12) 0%, rgba(11, 13, 14, 0.42) 62%, rgba(11, 13, 14, 0.75) 100%);
  pointer-events: none;
}

.discretion__scope-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discretion__scope { position: relative; width: min(1180px, 92vw); aspect-ratio: 1.72; }

.discretion__lens {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58.5%;
  aspect-ratio: 1;
  border: 1px solid rgba(250, 250, 247, 0.15);
  border-radius: 50%;
}
.discretion__lens--left { left: 0; }
.discretion__lens--right { right: 0; }

.discretion__lens-inner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  aspect-ratio: 1;
  border: 1px dashed rgba(250, 250, 247, 0.10);
  border-radius: 50%;
}
.discretion__lens-inner--left { left: 3.2%; }
.discretion__lens-inner--right { right: 3.2%; }

.discretion__horizon {
  position: absolute;
  top: 50%;
  left: -6%;
  right: -6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 250, 247, 0.20) 18%, rgba(250, 250, 247, 0.20) 82%, transparent);
}

.discretion__content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.discretion__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  color: rgba(250, 250, 247, 0.65);
}

.discretion__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-wrap: balance;
}
.discretion__title-sub { color: rgba(250, 250, 247, 0.45); }

.discretion__lead {
  margin: 0;
  max-width: 640px;
  font-size: 16.5px;
  line-height: 1.7;
  color: rgba(250, 250, 247, 0.7);
  text-wrap: pretty;
}

.discretion__certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.cert-chip {
  border: 1px solid rgba(250, 250, 247, 0.18);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  background: rgba(11, 13, 14, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.discretion__actions { display: flex; gap: 14px; margin-top: 14px; }

/* ============================================================
   Strefa wiedzy (artykuły)
   ============================================================ */
.articles {
  position: relative;
  background: var(--paper-50);
  padding: clamp(72px, 9vw, 128px) clamp(24px, 4vw, 64px);
  overflow: hidden;
}

.articles__inner { position: relative; max-width: 1280px; margin: 0 auto; }

.articles__head { margin-bottom: clamp(48px, 6vw, 72px); }

.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* Karta artykułu: obrys 1px przez tło pod spodem + ::before z wypełnieniem */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--line-soft);
  border-radius: 16px;
  clip-path: var(--cut-corners);
  position: relative;
  isolation: isolate;
  padding: 28px;
  transition: var(--transition-control);
}
.article-card::before {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--paper-0);
  clip-path: var(--cut-corners);
  z-index: -1;
}
.article-card:hover {
  box-shadow: 0 12px 32px rgba(12, 12, 11, 0.08);
  transform: translateY(-3px);
}

.article-card__media {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.article-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.article-card__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-400);
  white-space: nowrap;
}

.article-card__date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); }

.article-card__title {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-900);
  text-wrap: balance;
}

.article-card__more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-600);
}

.articles__cta-row { display: flex; justify-content: center; }
.articles__cta { padding: 15px 26px; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact {
  position: relative;
  background: var(--paper-100);
  border-top: 1px solid var(--line-soft);
  padding: clamp(72px, 9vw, 120px) clamp(24px, 4vw, 64px);
  overflow: hidden;
}

.contact__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 4.5vw, 64px);
}

.contact__head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.contact__intro { display: flex; flex-direction: column; gap: 18px; }

.contact__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  white-space: nowrap;
  color: var(--ink-500);
}

.contact__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  text-wrap: balance;
}

.contact__lead {
  margin: 0;
  max-width: 460px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-500);
  text-wrap: pretty;
}

.contact__channels { display: flex; flex-direction: column; gap: 0; }

.channel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.channel:last-child { border-bottom: 1px solid var(--line); }

.channel__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-400);
  white-space: nowrap;
}

.channel__value {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.5vw, 22px);
}

/* Rama karty jasnej: 1px obrysu przez tło wrappera */
.contact-card-frame {
  clip-path: var(--cut-corners);
  background: var(--line);
  padding: 1px;
  transition: var(--transition-control);
}
.contact-card-frame:hover { background: var(--ink-400); }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 380px;
  padding: 31px;
  background: var(--paper-50);
  color: var(--ink-900);
  clip-path: var(--cut-corners);
  text-decoration: none;
}

.contact-card--dark {
  padding: 32px;
  background: var(--ink-900);
  color: var(--paper-50);
  border-radius: 16px;
  transition: var(--transition-control);
}
.contact-card--dark:hover { background: var(--ink-700); }

.contact-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-card__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--ink-400);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.contact-card--dark .contact-card__badge {
  color: rgba(250, 250, 247, 0.55);
  border-color: rgba(250, 250, 247, 0.25);
}

.contact-card__ref {
  margin: auto 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-400);
  white-space: nowrap;
}
.contact-card--dark .contact-card__ref { color: rgba(250, 250, 247, 0.55); }

.contact-card__title {
  margin: 6px 0 0;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink-900);
}
.contact-card--dark .contact-card__title { color: var(--paper-50); }

.contact-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-500);
  text-wrap: pretty;
}
.contact-card--dark .contact-card__text { color: rgba(250, 250, 247, 0.6); }

.contact-card__cta {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-900);
  white-space: nowrap;
}
.contact-card--dark .contact-card__cta { color: var(--paper-50); }

/* ============================================================
   Stopka
   ============================================================ */
.site-footer {
  background: #0b0d0e;
  color: rgba(250, 250, 247, 0.6);
  padding: clamp(48px, 6vw, 80px) clamp(24px, 4vw, 64px) 36px;
}

.site-footer__inner { max-width: 1280px; margin: 0 auto; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(250, 250, 247, 0.12);
}

.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }

.site-footer__logo-row { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.site-footer__logo { height: 26px; width: auto; display: block; }

.site-footer__about {
  margin: 0;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(250, 250, 247, 0.5);
  text-wrap: pretty;
}

.site-footer__col { display: flex; flex-direction: column; gap: 12px; }

.site-footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(250, 250, 247, 0.4);
  white-space: nowrap;
}

.site-footer__link {
  font-size: 14px;
  color: rgba(250, 250, 247, 0.75);
  white-space: nowrap;
}
.site-footer__link:hover { color: #ffffff; }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(250, 250, 247, 0.35);
  white-space: nowrap;
  gap: 24px;
}

/* ============================================================
   Nagłówek podstron (sticky, jasny)
   ============================================================ */
.top-bar--sticky {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 20px clamp(24px, 4vw, 64px);
  background: var(--paper-0);
  border-bottom: 1px solid var(--line-soft);
}

.top-nav--dark .top-nav__link { color: var(--ink-500); }
.top-nav--dark .top-nav__link:hover { color: var(--ink-900); }
.top-nav--dark .top-nav__link--active {
  color: var(--ink-900);
  border-bottom: 1px solid var(--ink-900);
  padding-bottom: 2px;
}

.top-nav__cta--dark { background: var(--ink-900); color: var(--paper-50); }
.top-nav__cta--dark:hover { background: var(--ink-700); color: var(--paper-50); }

/* ============================================================
   Stopka podstron (slim)
   ============================================================ */
.site-footer--slim {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px clamp(24px, 4vw, 64px);
  color: rgba(250, 250, 247, 0.5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.site-footer--slim .site-footer__link {
  font-size: 10px;
  color: rgba(250, 250, 247, 0.65);
}
.site-footer--slim .site-footer__link:hover { color: #ffffff; }
.site-footer__slim-links { display: flex; gap: 24px; }

/* ============================================================
   Wspólne bloki podstron
   ============================================================ */

/* Ciemny pas tytułowy z breadcrumbem */
.page-hero {
  background: #0b0d0e;
  color: var(--paper-50);
  padding: clamp(64px, 8vw, 110px) clamp(24px, 4vw, 64px);
}
.page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-hero__breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: rgba(250, 250, 247, 0.55);
  white-space: nowrap;
}
.page-hero__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(38px, 4.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 900px;
  text-wrap: balance;
}
.page-hero__lead {
  margin: 0;
  max-width: 680px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(250, 250, 247, 0.75);
  text-wrap: pretty;
}

/* Sekcja treści na wąskiej kolumnie */
.page-section {
  background: var(--paper-50);
  padding: clamp(56px, 7vw, 96px) clamp(24px, 4vw, 64px);
}
.page-section--muted {
  background: var(--paper-100);
  border-top: 1px solid var(--line-soft);
}
.page-section__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Blok treści: eyebrow + tytuł + akapity */
.content-block { display: flex; flex-direction: column; gap: 16px; }
.content-block--lg-gap { gap: 20px; }
.content-block__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-400);
}
.content-block__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  text-wrap: balance;
}
.content-block__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-500);
  text-wrap: pretty;
}

/* Lista definicyjna: wiersze nazwa | opis rozdzielone liniami */
.def-list { display: flex; flex-direction: column; }
.def-list__row {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
.def-list__row:last-child { border-bottom: 1px solid var(--line); }
.def-list__term {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
}
.def-list__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-500);
}

/* Jasne chipy (certyfikaty itp.) */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1px solid var(--line-strong);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-600);
}

/* Link tekstowy ze strzałką */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-900);
  white-space: nowrap;
}
.text-link:hover { color: var(--ink-500); }

/* Pas CTA na dole podstrony */
.cta-band {
  background: var(--paper-100);
  border-top: 1px solid var(--line-soft);
  padding: clamp(56px, 7vw, 90px) clamp(24px, 4vw, 64px);
}
.cta-band__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cta-band__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

/* Rozszerzenia page-hero / cta-band wspólne dla podstron usługowych i sektorowych */
.page-hero__breadcrumb-link { color: rgba(250, 250, 247, 0.55); }
.page-hero__breadcrumb-link:hover { color: #ffffff; }
.page-hero__title--wide { max-width: 960px; }
.page-hero__lead--wide { max-width: 720px; }
.cta-band__text {
  margin: 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-500);
  text-wrap: pretty;
}
