/* ==========================================================================
   JAW TRANS — arkusz główny
   Kierunek: „Inżynierska precyzja” — stal, wysoki kontrast, dane techniczne.
   Jeden plik, jeden breakpoint-set, bez frameworka.
   ========================================================================== */

/* --------------------------------------------------------------- 1. TOKENY */
:root {
  /* kolory — stal i beton */
  --steel:     #0F1214;
  --graphite:  #191E22;
  --slate:     #2A3238;
  --slate-2:   #3A444B;
  --paper:     #F4F3F1;
  --concrete:  #E4E2DE;
  --line:      #D2CFCA;
  --line-2:    #EDEBE8;
  --muted:     #5F686E;
  --muted-2:   #8B949A;

  /* akcenty */
  --red:       #C9342A;
  --red-dark:  #98241C;
  --amber:     #E8AE12;
  --amber-dark:#B07A0E;
  --green:     #4F7A52;

  /* typografia */
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    'IBM Plex Mono', 'Consolas', monospace;

  /* wymiary */
  --wrap: 1240px;
  --gutter: 24px;
  --radius: 2px;
  --header-h: 84px;

  /* cienie */
  --shadow-sm: 0 1px 2px rgba(15, 18, 20, .06);
  --shadow-md: 0 14px 34px -20px rgba(15, 18, 20, .30);
  --shadow-lg: 0 24px 52px -28px rgba(15, 18, 20, .42);

  /* ruch */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --dur: .22s;
}

/* ----------------------------------------------------------------- 2. RESET */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.022em;
  line-height: 1.05;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
img, video, iframe, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

/* jeden, spójny stan fokusu w całym serwisie */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 1px;
}

::selection { background: var(--amber); color: var(--steel); }

/* --------------------------------------------------------------- 3. UKŁAD */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 7vw, 96px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.section--dark { background: var(--steel); color: var(--muted-2); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }
.section--concrete { background: var(--concrete); }

.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; gap: clamp(36px, 5vw, 70px); align-items: center; }
.split--wide-left  { grid-template-columns: 1.2fr 1fr; }
.split--wide-right { grid-template-columns: 1fr 1.2fr; }
.split--aside      { grid-template-columns: .8fr 1.2fr; align-items: start; }

.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.between { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }

/* -------------------------------------------------------- 4. TYPOGRAFIA UI */
.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
}
.section--dark .eyebrow { color: var(--amber); }

.mono { font-family: var(--font-mono); }

.h-xl { font-size: clamp(34px, 5.4vw, 68px); }
.h-lg { font-size: clamp(30px, 4vw, 48px); }
.h-md { font-size: clamp(24px, 2.6vw, 34px); }
.h-sm { font-size: clamp(20px, 2vw, 27px); }

.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); line-height: 1.7; }
.section--dark .lead { color: var(--muted-2); }
.small { font-size: 14px; }
.tiny { font-size: 13px; color: var(--muted); }

.num {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.03em;
}

.ph { font-family: var(--font-mono); font-size: 13px; color: #8A9298; }

/* pasek ostrzegawczy — motyw z placu budowy, używany oszczędnie */
.hazard {
  height: 5px;
  background: repeating-linear-gradient(135deg, var(--amber) 0 11px, var(--steel) 11px 22px);
}

/* ------------------------------------------------------------ 5. PRZYCISKI */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--dark { background: var(--steel); color: var(--paper); }
.btn--dark:hover { background: var(--slate); color: var(--paper); }
.btn--amber { background: var(--amber); color: var(--steel); }
.btn--amber:hover { background: #d29f0d; color: var(--steel); }
.btn--ghost { background: transparent; color: var(--steel); border: 1px solid var(--steel); }
.btn--ghost:hover { background: var(--steel); color: var(--paper); }
.btn--on-dark { background: transparent; color: var(--paper); border: 1px solid var(--slate-2); }
.btn--on-dark:hover { background: var(--paper); color: var(--steel); }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1px solid var(--red);
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* -------------------------------------------------------------- 6. NAGŁÓWEK */
.topbar {
  background: var(--steel);
  color: var(--muted-2);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar a { color: var(--paper); font-weight: 600; }
.topbar a:hover { color: var(--amber); }
.topbar__group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }

.lang { display: inline-flex; gap: 2px; align-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.lang__on { background: var(--amber); color: var(--steel); padding: 4px 9px; }
.lang a { color: var(--muted-2); padding: 4px 9px; min-height: 32px; display: inline-flex; align-items: center; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.masthead.is-stuck { box-shadow: var(--shadow-md); }
.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: block; color: var(--steel); }
.brand:hover { color: var(--steel); }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -.03em;
  line-height: 1;
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
}
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] {
  color: var(--red);
  box-shadow: inset 0 -2px 0 var(--red);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--steel);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}
.burger__box { position: relative; width: 20px; height: 14px; }
.burger__box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--paper);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 6px; }
.burger__box span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 200;
  background: var(--steel);
  color: var(--paper);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}
.skip:focus { top: 12px; color: var(--paper); }

/* ------------------------------------------------------------------ 7. HERO */
.hero {
  position: relative;
  min-height: clamp(460px, 62vw, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--steel);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media video {
  position: absolute;
  inset: 0;
  /* material zrodlowy jest pionowy (1080x1920) - kadrujemy nieco powyzej
     srodka, bo tam trafiaja maszyny, a nie niebo i pierwszy plan */
  object-position: center 45%;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.hero__media video.is-playing { opacity: 1; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(96deg, rgba(15,18,20,.95) 0%, rgba(15,18,20,.74) 44%, rgba(15,18,20,.24) 100%);
}
.hero__inner { padding-block: clamp(56px, 8vw, 104px); position: relative; }
.hero h1 { color: var(--paper); max-width: 15em; }
.hero .lead { color: #AEB6BB; max-width: 34em; margin-top: 22px; }

.hero__stats { display: flex; gap: clamp(20px, 3vw, 40px); margin-top: 36px; flex-wrap: wrap; }
.hero__stat .num { font-size: clamp(28px, 3.2vw, 40px); color: var(--amber); }
.hero__stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 7px;
}
.hero__rule { width: 1px; background: var(--slate); align-self: stretch; }

/* sterowanie filmem — WCAG 2.2.2: ruch dłuższy niż 5 s musi być zatrzymywalny */
.video-toggle {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(15, 18, 20, .72);
  color: var(--paper);
  border: 1px solid rgba(244, 243, 241, .28);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.video-toggle.is-available { display: inline-flex; }
.video-toggle:hover { background: rgba(15, 18, 20, .9); }

/* --------------------------------------------------------------- 8. KARTY */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.card--accent { border-color: var(--red); }
.card--dark { background: var(--graphite); border-color: var(--slate); }
.card__media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.card__kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
}
.card__body > .btn, .card__body > .link-arrow { margin-top: auto; }

.spec-list { margin-top: 18px; }
.spec {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.spec:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-family: var(--font-mono); font-size: 13px; font-weight: 600; }

/* pasek liczb */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  border: 1px solid var(--line);
  background: #fff;
}
.stats > div { padding: 28px 26px; border-right: 1px solid var(--line); }
.stats > div:last-child { border-right: 0; }
.stats .num { font-size: clamp(30px, 3vw, 42px); color: var(--red); }
.stats span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ------------------------------------------------------------- 9. TABELE */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.table-scroll table { min-width: 780px; }
.t-head th {
  padding: 15px 16px;
  background: var(--steel);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
.table-scroll td { padding: 16px; border-bottom: 1px solid var(--line-2); font-size: 15px; vertical-align: middle; }
.table-scroll tbody tr:nth-child(even) { background: #FAFAF9; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll td:first-child { font-weight: 600; }
.table-note {
  padding: 16px;
  background: var(--concrete);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: var(--radius);
  background: var(--concrete);
  color: var(--muted);
  white-space: nowrap;
}
.badge--amber { background: var(--amber); color: var(--steel); }
.badge--dark { background: var(--steel); color: var(--amber); }
.status { font-family: var(--font-mono); font-size: 11px; font-weight: 600; white-space: nowrap; }
.status--free { color: var(--green); }
.status--ask { color: var(--amber-dark); }

/* ---------------------------------------------------------- 10. FORMULARZE */
.field { display: block; margin-bottom: 18px; }
.field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.req { color: var(--red); }

.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--steel);
}
.textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] {
  border-color: var(--red);
  background: #FDF5F4;
}
.field__error {
  display: none;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
}
.field__error.is-shown { display: flex; }

.field--dark .field__label { color: var(--muted-2); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  cursor: pointer;
}
.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--red);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 46px;
  padding: 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--steel); color: var(--paper); border-color: var(--steel); font-weight: 600; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--concrete);
  border-left: 3px solid var(--amber);
  font-size: 13px;
  color: var(--muted);
  margin-top: 18px;
}
.form-status {
  display: none;
  align-items: flex-start;
  gap: 11px;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 18px;
}
.form-status.is-shown { display: flex; }
.form-status--ok { background: #EDF3EE; border: 1px solid var(--green); color: #2F5232; }
.form-status--err { background: #FDF0EE; border: 1px solid var(--red); color: var(--red-dark); }

/* ------------------------------------------------- 11. ZAKŁADKI ZAPYTANIA */
.rfq { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.rfq--float { position: relative; margin-top: clamp(-40px, -5vw, -74px); z-index: 20; }
.rfq__tabs { display: flex; align-items: stretch; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.rfq__label {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  background: var(--steel);
}
.rfq__label .eyebrow { color: var(--amber); }
.rfq__tab {
  flex: 1 1 auto;
  min-height: 58px;
  padding: 0 22px;
  background: #FAFAF9;
  border: 0;
  border-right: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rfq__tab:last-child { border-right: 0; }
.rfq__tab:hover { background: #fff; color: var(--steel); }
.rfq__tab[aria-selected="true"] {
  background: #fff;
  color: var(--steel);
  font-weight: 700;
  box-shadow: inset 0 -3px 0 var(--red);
}
.rfq__panel { padding: 26px 28px 28px; }
.rfq__panel[hidden] { display: none; }
.rfq__fields {
  display: grid;
  gap: 18px;
  align-items: end;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}
.rfq__fields .field { margin-bottom: 0; }
.rfq__fields .btn { align-self: end; }
.rfq__hint {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 17px;
  font-size: 13px;
  color: var(--muted);
}
.rfq__hint svg { flex: 0 0 auto; margin-top: 3px; }

/* ------------------------------------------------------------ 12. GALERIA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.gallery__item {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--concrete);
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.045); }
.gallery__item--video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 20, .28);
}
.gallery__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.gallery__play span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: var(--amber);
  border-radius: 50%;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(9, 11, 12, .95);
}
.lightbox[open], .lightbox.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.lightbox__count { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); }
.lightbox__stage { display: grid; place-items: center; padding: 0 clamp(12px, 6vw, 76px); min-height: 0; }
.lightbox__stage img, .lightbox__stage video {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  background: #000;
}
.lightbox__caption { padding: 16px 18px 26px; text-align: center; color: var(--muted-2); font-size: 14px; }
.lb-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(244, 243, 241, .1);
  color: var(--paper);
  border: 1px solid rgba(244, 243, 241, .22);
  border-radius: var(--radius);
  cursor: pointer;
}
.lb-btn:hover { background: rgba(244, 243, 241, .2); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ---------------------------------------------------------------- 13. FAQ */
.faq details {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 62px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 1.6vw, 21px);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  background: currentColor;
  clip-path: polygon(45% 0, 55% 0, 55% 45%, 100% 45%, 100% 55%, 55% 55%, 55% 100%, 45% 100%, 45% 55%, 0 55%, 0 45%, 45% 45%);
  transition: transform var(--dur) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 22px; }
.faq details p { font-size: 15px; color: var(--muted); line-height: 1.7; }
.section--dark .faq details { border-color: var(--slate); }
.section--dark .faq details p { color: var(--muted-2); }

/* --------------------------------------------------------- 14. KROKI, MAPA */
.steps { display: flex; flex-direction: column; gap: 22px; }
.step { display: flex; gap: 18px; }
.step__no { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--amber); flex: 0 0 34px; line-height: 1; }
.step h4 { font-size: 17px; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--muted-2); }

.map-embed {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--concrete);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__ph { display: grid; gap: 12px; justify-items: center; }

/* ------------------------------------------------------------- 15. STOPKA */
.footer { background: var(--steel); color: var(--muted-2); }
.footer h2, .footer h3 { color: var(--paper); }
.footer a { color: var(--muted-2); }
.footer a:hover { color: var(--amber); }
.footer__cols {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  padding-block: clamp(48px, 6vw, 72px) 0;
}
.footer__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 18px;
}
.footer__links { display: flex; flex-direction: column; gap: 4px; list-style: none; }
.footer__links a { display: block; padding: 6px 0; font-size: 14px; }
.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: clamp(36px, 5vw, 60px);
  padding-block: 24px;
  border-top: 1px solid #21272B;
  font-size: 13px;
}
.footer__legal nav { display: flex; gap: 22px; flex-wrap: wrap; }

.phone-lg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--paper);
  letter-spacing: -.02em;
}
.phone-lg:hover { color: var(--amber); }

/* ------------------------------------------- 16. PASEK MOBILNY, DO GĂ“RY */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 11px 16px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 22px -16px rgba(15, 18, 20, .45);
}
.action-bar .btn { min-height: 50px; }
.action-bar .btn--primary { flex: 1 1 auto; }

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--steel);
  color: var(--paper);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------- 17. ZGODA COOKIE */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  display: none;
  gap: clamp(20px, 3vw, 44px);
  grid-template-columns: 1.6fr 1fr;
  align-items: center;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(20px, 3vw, 30px);
  background: var(--steel);
  color: var(--muted-2);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(9, 11, 12, .7);
}
.cookie.is-shown { display: grid; }
.cookie h2 { font-size: 22px; color: var(--paper); }
.cookie p { font-size: 14px; margin-top: 10px; line-height: 1.65; }
.cookie a { color: var(--amber); }
.cookie__cats { display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.cookie__cats label { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #E4E2DE; cursor: pointer; min-height: 32px; }
.cookie__cats input { width: 18px; height: 18px; accent-color: var(--amber); }
.cookie__cats input:disabled { accent-color: var(--muted); }
.cookie__actions { display: flex; flex-direction: column; gap: 10px; }

/* ------------------------------------------------------------ 18. POMOCNE */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-block: 20px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.breadcrumb a { color: var(--muted); }
.breadcrumb li[aria-current] { color: var(--steel); font-weight: 600; }
.breadcrumb li + li::before { content: '/'; margin-right: 9px; color: #B5B1AB; }
.section--dark .breadcrumb, .hero .breadcrumb { color: var(--muted-2); }
.hero .breadcrumb a { color: var(--muted-2); }
.hero .breadcrumb li[aria-current] { color: var(--paper); }

.checklist { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.checklist li { display: flex; align-items: flex-start; gap: 13px; font-size: 15px; }
.checklist svg { flex: 0 0 auto; margin-top: 4px; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* -------------------------------------------------------- 19. RESPONSYWNOŚĆ */
@media (max-width: 1080px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .split--wide-left, .split--wide-right, .split--aside { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { min-height: 54px; padding: 0 8px; font-size: 16px; border-bottom: 1px solid var(--line-2); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .burger { display: flex; }
  .masthead__cta { display: none; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .action-bar { display: flex; }
  body { padding-bottom: 74px; }
  .to-top { bottom: 84px; }
  .cookie { grid-template-columns: 1fr; bottom: 84px; }
  .topbar__inner { min-height: 40px; font-size: 12px; }
  .topbar .topbar__group:first-child .topbar__item + .topbar__item { display: none; }
  .rfq--float { margin-top: 0; }
  .rfq__label { display: none; }
  .rfq__tab { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line-2); min-height: 52px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
}

@media (max-width: 620px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats > div:last-child { border-bottom: 0; }
  .hero__rule { display: none; }
  .between { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn--sm, .action-bar .btn, .lb-btn, .chip { width: auto; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__body, .rfq__panel { padding: 20px; }
}

/* ------------------------------------------------- 20. RUCH, DRUK, KONTRAST */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__media video { display: none; }
}

@media print {
  .masthead, .topbar, .action-bar, .to-top, .cookie, .rfq, .video-toggle, .lightbox { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .hero { min-height: auto; color: #000; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero .lead { color: #000; }
  .section { padding-block: 18px; }
  a { color: #000; text-decoration: underline; }
  .faq details { display: block; }
  .faq details > div { display: block !important; }
}

@media (forced-colors: active) {
  .btn, .chip, .card, .table-scroll { border: 1px solid ButtonText; }
  .hero::after { display: none; }
}
