/* ==========================================================================
   BudoPasja - arkusz stylow
   Uslugi i wyposazenie dla przemyslu
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokeny
   -------------------------------------------------------------------------- */
:root {
  --orange:        #d13c00;
  --orange-700:    #a82f00;
  --orange-300:    #ff8a4d;
  --orange-tint:   #fdeee7;

  --ink:           #121212;
  --ink-800:       #1c1c1c;
  --ink-600:       #2e2e2e;

  --paper:         #f4f2ee;
  --paper-2:       #eae7e0;
  --white:         #ffffff;

  --text:          #16150f;
  --text-soft:     #56524a;
  --text-mute:     #7d786f;
  --line:          #e0dcd3;
  --line-dark:     #333333;

  --ff-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --ff-body:    "Barlow", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap:      1240px;
  --wrap-slim: 900px;
  --gutter:    24px;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;

  --shadow-sm: 0 2px 10px rgba(18, 18, 18, .06);
  --shadow-md: 0 14px 40px rgba(18, 18, 18, .10);
  --shadow-lg: 0 30px 70px rgba(18, 18, 18, .16);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset i podstawy
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.06;
  letter-spacing: .002em;
  margin: 0 0 .5em;
  word-break: normal;
  overflow-wrap: break-word;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

strong, b { font-weight: 700; }

hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

::selection { background: var(--orange); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

/* --------------------------------------------------------------------------
   3. Uklad
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--slim { max-width: var(--wrap-slim); }

.section { padding: 88px 0; }
.section--tight { padding: 60px 0; }
.section--wide  { padding: 118px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink   { background: var(--ink); color: #efece6; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.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;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.split--top { align-items: start; }
.split--40 { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split--60 { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

/* --------------------------------------------------------------------------
   4. Typografia uzytkowa
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before { content: "#"; opacity: .55; }
.eyebrow--light { color: var(--orange-300); }
.eyebrow--dark  { color: var(--ink); }

.h-xxl { font-size: clamp(2.6rem, 7.2vw, 5.6rem); }
.h-xl  { font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
.h-lg  { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.h-md  { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.h-sm  { font-size: 1.12rem; letter-spacing: .01em; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.6;
  color: var(--text-soft);
}
.section--ink .lead { color: #b9b4aa; }

.muted { color: var(--text-mute); }
.accent { color: var(--orange); }

.rule {
  width: 62px;
  height: 5px;
  background: var(--orange);
  margin-bottom: 26px;
}

/* --------------------------------------------------------------------------
   5. Przyciski
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn--primary:hover { background: var(--orange-700); border-color: var(--orange-700); }

.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: var(--orange); border-color: var(--orange); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--ink); color: #fff; border-color: #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* okragly znaczek z odnosnikiem */
.badge-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  flex: none;
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.badge-link:hover { transform: rotate(8deg) scale(1.05); background: var(--ink); color: #fff; }
.badge-link__arrow { width: 30px; height: 30px; margin-bottom: 4px; }
.badge-link__text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   6. Pasek gorny + naglowek
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #a8a29a;
  font-size: 13px;
  letter-spacing: .02em;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__list { display: flex; gap: 6px 26px; align-items: center; flex-wrap: wrap; min-width: 0; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--orange-300); flex: none; }
.topbar a:hover { color: #fff; }
.topbar__tag { color: #6f6a62; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--orange);
  color: #fff;
  font-family: var(--ff-display);
  font-size: 22px;
  line-height: 1;
  padding-top: 3px;
}
.logo__text {
  font-family: var(--ff-display);
  font-size: 25px;
  line-height: 1;
  letter-spacing: .01em;
  color: var(--ink);
  text-transform: uppercase;
}
.logo__text em { font-style: normal; color: var(--orange); }
.logo__sub {
  display: block;
  font-family: var(--ff-body);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .19em;
  color: var(--text-mute);
  margin-top: 3px;
}

/* nawigacja */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__li { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 28px 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.nav__link:hover, .nav__li:hover > .nav__link { color: var(--orange); }
.nav__link[aria-current="page"], .nav__li--active > .nav__link { color: var(--orange); }
.nav__link[aria-current="page"]::after,
.nav__li--active > .nav__link::after {
  content: "";
  position: absolute;
  left: 11px; right: 11px; bottom: 0;
  height: 3px;
  background: var(--orange);
}
.nav__caret { width: 9px; height: 9px; opacity: .5; transition: transform .2s var(--ease); }
.nav__li:hover .nav__caret { transform: rotate(180deg); }

/* menu rozwijane */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 12px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  box-shadow: var(--shadow-md);
  padding: 28px 30px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav__li:hover .mega,
.nav__li:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega--wide { width: min(900px, 92vw); }
.mega--single { width: min(340px, 92vw); left: 0; transform: translate(0, 12px); }
.nav__li:hover .mega--single,
.nav__li:focus-within .mega--single { transform: translate(0, 0); }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mega--single .mega__cols { grid-template-columns: 1fr; }
.mega__title {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list li { margin: 0; }
.mega__list a {
  display: block;
  padding: 7px 10px 7px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color .18s var(--ease), border-color .18s var(--ease), padding-left .18s var(--ease);
}
.mega__list a:hover { color: var(--orange); border-color: var(--orange); padding-left: 17px; }
.mega__list a[aria-current="page"] { color: var(--orange); border-color: var(--orange); font-weight: 600; }

.header__cta { flex: none; }
.header__cta .btn { padding: 13px 22px; }

/* przelacznik mobilny */
.burger {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  background: var(--ink);
  border: 0;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  margin: 4px auto;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.hero__in { position: relative; z-index: 2; padding-block: 74px 0; }
.hero__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero h1 {
  font-size: clamp(2.7rem, 7.6vw, 6.1rem);
  color: #fff;
  margin: 0 0 24px;
  max-width: 16ch;
}
.hero__kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .22);
  padding: 8px 16px;
  margin-bottom: 26px;
}
.hero__lead { max-width: 58ch; color: rgba(255,255,255,.92); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}
.hero__links a {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(255,255,255,.35);
  transition: border-color .2s var(--ease);
}
.hero__links a:hover { border-color: #fff; }

/* pas wycietych zdjec */
.shape-strip {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-top: 56px;
  padding-bottom: 46px;
}
.shape {
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 1 / 1;
  background: rgba(0,0,0,.14);
  position: relative;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .22));
}
.shape img { width: 100%; height: 100%; object-fit: cover; }
.shape:nth-child(odd) { transform: translateY(-14px); }
.shape--hex   { clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.shape--tri   { clip-path: polygon(50% 4%, 100% 100%, 0% 100%); }
.shape--star  { clip-path: polygon(50% 0%, 62% 24%, 88% 12%, 82% 40%, 100% 50%, 82% 60%, 88% 88%, 62% 76%, 50% 100%, 38% 76%, 12% 88%, 18% 60%, 0% 50%, 18% 40%, 12% 12%, 38% 24%); }
.shape--circle{ clip-path: circle(50% at 50% 50%); }
.shape--blob  { clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%); }

/* hero podstron */
.pagehead {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.pagehead__bg {
  position: absolute;
  inset: 0;
  opacity: .3;
}
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--ink) 30%, rgba(18,18,18,.65) 72%, rgba(18,18,18,.35));
  z-index: 1;
}
.pagehead__in { position: relative; z-index: 2; padding-block: 68px 74px; }
.pagehead h1 { color: #fff; max-width: 20ch; font-size: clamp(2.1rem, 5vw, 3.7rem); }
.pagehead .lead { color: #c6c1b8; max-width: 62ch; }
.pagehead__accent { width: 62px; height: 5px; background: var(--orange); margin-bottom: 24px; }

/* okruszki */
.crumbs { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #8c877e; margin-bottom: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a:hover { color: var(--orange-300); }
.crumbs [aria-current="page"] { color: #efece6; }

/* --------------------------------------------------------------------------
   8. Karty
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  background: var(--ink);
  color: #fff;
  margin-bottom: 22px;
  flex: none;
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.card p { font-size: 15.5px; color: var(--text-soft); }
.card__more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}
.card__more svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
a.card:hover, .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
a.card:hover .card__more svg { transform: translate(4px, -4px); }

.card--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.card--orange h3 { color: #fff; }
.card--orange p { color: rgba(255,255,255,.9); }
.card--orange .card__icon { background: rgba(0,0,0,.2); }
.card--orange .card__more { color: #fff; }

.card--ink { background: var(--ink); border-color: var(--ink); color: #efece6; }
.card--ink h3 { color: #fff; }
.card--ink p { color: #ada79e; }
.card--ink .card__icon { background: var(--orange); }
.card--ink .card__more { color: var(--orange-300); }

/* karta z obrazem */
.tile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  min-height: 320px;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: transform .6s var(--ease), opacity .4s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(14,14,14,.94) 0%, rgba(14,14,14,.78) 34%,
              rgba(14,14,14,.30) 66%, rgba(14,14,14,.10) 100%);
}
.tile:hover img { transform: scale(1.06); opacity: .68; }
.tile__body {
  position: relative;
  z-index: 2;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}
.tile__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 10px;
}
.tile h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.tile p { font-size: 14.5px; color: #cbc6bd; margin: 0; }
.tile__arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  transition: transform .3s var(--ease);
}
.tile__arrow svg { width: 17px; height: 17px; }
.tile:hover .tile__arrow { transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   9. Wiersze statystyk
   -------------------------------------------------------------------------- */
.statrows { border-top: 1px solid var(--line); }
.statrow {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background .25s var(--ease);
}
.statrow:nth-child(even) { background: var(--paper); }
.statrow:hover { background: var(--orange-tint); }
.statrow__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  background: var(--ink);
  color: #fff;
}
.statrow__icon svg { width: 26px; height: 26px; }
.statrow h3 { font-size: 1.12rem; margin: 0 0 5px; }
.statrow p { font-size: 14.5px; color: var(--text-soft); margin: 0; }
.statrow__num {
  text-align: right;
  font-family: var(--ff-display);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.statrow__num small {
  display: block;
  font-family: var(--ff-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 6px;
}

/* liczby w kaflach */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.figure { background: var(--white); padding: 30px 24px; text-align: center; }
.figure__n {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}
.figure__l {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   10. Obraz + nakladka
   -------------------------------------------------------------------------- */
.showcase { position: relative; }
.showcase__img { position: relative; overflow: hidden; }
.showcase__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.showcase__card {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--orange);
  color: #fff;
  padding: 26px 28px;
  max-width: min(300px, 62%);
  min-width: 210px;
}
.showcase__card .n {
  font-family: var(--ff-display);
  font-size: 2.9rem;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.showcase__card h3 { font-size: 1.05rem; color: #fff; margin-bottom: 8px; }
.showcase__card p { font-size: 14px; color: rgba(255,255,255,.88); margin: 0; }

.showcase__chip {
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(18,18,18,.86);
  color: #fff;
  padding: 12px 18px;
  backdrop-filter: blur(4px);
}
.showcase__chip strong { font-family: var(--ff-display); font-size: 1.5rem; line-height: 1; }
.showcase__chip span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cbc6bd; }

/* --------------------------------------------------------------------------
   11. Pasek przewijany
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--ink);
  color: #fff;
  padding: 17px 0;
  overflow: hidden;
  border-top: 4px solid var(--orange);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__group { display: flex; align-items: center; gap: 42px; padding-right: 42px; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-display);
  font-size: 1.12rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 9px; height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   12. Bloki tresci
   -------------------------------------------------------------------------- */
.prose { font-size: 17px; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: clamp(1.22rem, 2vw, 1.45rem); margin-top: 38px; }
.prose p { color: var(--text-soft); }
.prose ul { list-style: none; padding: 0; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .6em;
  color: var(--text-soft);
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: .62em;
  width: 8px; height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}
.prose ol { padding-left: 22px; }
.prose ol li { color: var(--text-soft); padding-left: 6px; }
.prose ol li::marker { color: var(--orange); font-weight: 700; }
.prose a:not(.btn):not(.card):not(.tile) {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid rgba(209, 60, 0, .32);
  transition: border-color .2s var(--ease);
}
.prose a:not(.btn):not(.card):not(.tile):hover { border-color: var(--orange); }
.prose figure { margin: 34px 0; }
.prose figcaption {
  font-size: 13.5px;
  color: var(--text-mute);
  margin-top: 10px;
  padding-left: 14px;
  border-left: 3px solid var(--orange);
}

/* wyroznienie / cytat */
.callout {
  background: var(--white);
  border-left: 5px solid var(--orange);
  padding: 26px 30px;
  margin: 34px 0;
  box-shadow: var(--shadow-sm);
}
.callout h3 { font-size: 1.1rem; margin-bottom: 10px; }
.callout p { margin-bottom: 0; font-size: 15.5px; }

.callout--ink { background: var(--ink); border-left-color: var(--orange); color: #d8d3ca; }
.callout--ink h3 { color: #fff; }

/* skrzynka partnera - odnosnik wychodzacy */
.partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  background: var(--ink);
  color: #d8d3ca;
  padding: 36px 38px;
  margin: 46px 0;
  border-top: 5px solid var(--orange);
}
.partner__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-300);
  margin-bottom: 12px;
}
.partner h3 { color: #fff; font-size: 1.5rem; margin-bottom: 12px; }
.partner p { font-size: 15.5px; margin-bottom: 0; color: #b5b0a7; }
.partner p a { color: #fff; border-bottom: 1px solid var(--orange); font-weight: 600; }
.partner p a:hover { color: var(--orange-300); }
.partner__cta { flex: none; }

/* tabela danych */
.table-wrap { overflow-x: auto; margin: 32px 0; border: 1px solid var(--line); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th {
  background: var(--ink);
  color: #fff;
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
table.data tbody tr:nth-child(even) { background: var(--paper); }
table.data tbody tr:hover { background: var(--orange-tint); }
table.data td:first-child { font-weight: 600; color: var(--text); }
table.data td { color: var(--text-soft); font-variant-numeric: tabular-nums; }

/* pytania i odpowiedzi */
.faq { border-top: 1px solid var(--line); margin: 34px 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  line-height: 1.25;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 13px; height: 13px;
  border-right: 3px solid var(--orange);
  border-bottom: 3px solid var(--orange);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item summary:hover { color: var(--orange); }
.faq__body { padding: 0 4px 24px; font-size: 15.5px; color: var(--text-soft); }
.faq__body p:last-child { margin-bottom: 0; }

/* lista kroków */
.steps { counter-reset: step; display: grid; gap: 1px; background: var(--line); margin: 36px 0; }
.step {
  background: var(--white);
  padding: 26px 30px 26px 84px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 28px; top: 26px;
  font-family: var(--ff-display);
  font-size: 1.55rem;
  line-height: 1;
  color: var(--orange);
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 15.5px; margin-bottom: 0; color: var(--text-soft); }

/* siatka miniatur */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 36px 0; }
.gallery figure { margin: 0; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: 13px; color: var(--text-mute); margin-top: 8px; padding-left: 10px; border-left: 3px solid var(--orange); }

/* naglowek kolumny listy */
.col-title {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  padding-bottom: 12px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--line);
}

/* kotwice powiazanych stron */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px 22px;
  font-weight: 600;
  font-size: 15px;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.related a svg { width: 15px; height: 15px; color: var(--orange); flex: none; transition: transform .25s var(--ease); }
.related a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.related a:hover svg { color: #fff; transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   13. Sekcja kontaktu
   -------------------------------------------------------------------------- */
.contact-band { background: var(--ink); color: #cfcac1; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.contact-item {
  background: var(--ink-800);
  border: 1px solid #2b2b2b;
  padding: 28px 26px;
}
.contact-item__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--orange);
  color: #fff;
  margin-bottom: 18px;
}
.contact-item__icon svg { width: 21px; height: 21px; }
.contact-item h3 { font-size: 1.02rem; color: #fff; margin-bottom: 10px; }
.contact-item p { font-size: 15px; margin: 0; color: #a8a29a; }
.contact-item a { color: #fff; }
.contact-item a:hover { color: var(--orange-300); }

/* pasek wezwania */
.cta-band {
  background: var(--orange);
  color: #fff;
  padding: 58px 0;
}
.cta-band__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin: 0; max-width: 22ch; }
.cta-band p { margin: 12px 0 0; color: rgba(255,255,255,.9); max-width: 52ch; }

/* --------------------------------------------------------------------------
   14. Stopka
   -------------------------------------------------------------------------- */
.site-footer { background: #0d0d0d; color: #8f8a82; font-size: 15px; }
.footer__top { padding: 70px 0 46px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h3 {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #262626;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 9px; }
.footer__list a { transition: color .2s var(--ease), padding-left .2s var(--ease); }
.footer__list a:hover { color: var(--orange-300); padding-left: 5px; }
.site-footer .logo__text { color: #fff; }
.footer__about p { font-size: 15px; margin: 20px 0 0; line-height: 1.7; }
.footer__partners { display: grid; gap: 10px; margin-top: 18px; }
.footer__partners a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #151515;
  border-left: 3px solid var(--orange);
  font-size: 14px;
  color: #cfcac1;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.footer__partners a:hover { background: #1e1e1e; color: #fff; }
.footer__partners svg { width: 13px; height: 13px; color: var(--orange); flex: none; }
.footer__bottom {
  border-top: 1px solid #1e1e1e;
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer__bottom a:hover { color: #fff; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   15. Animacje pojawiania
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible[data-delay="1"] { transition-delay: .07s; }
.reveal.is-visible[data-delay="2"] { transition-delay: .14s; }
.reveal.is-visible[data-delay="3"] { transition-delay: .21s; }
.reveal.is-visible[data-delay="4"] { transition-delay: .28s; }

/* --------------------------------------------------------------------------
   16. Zakresy responsywne
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 40px; }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(400px, 88vw);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 26px 24px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .32s var(--ease);
    z-index: 95;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__li { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 16px 4px; justify-content: space-between; width: 100%; }
  .nav__link[aria-current="page"]::after, .nav__li--active > .nav__link::after { display: none; }
  .mega, .mega--wide, .mega--single {
    position: static;
    width: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border: 0;
    border-top: 0;
    padding: 0 0 16px 12px;
    display: none;
  }
  .nav__li.is-expanded .mega { display: block; }
  .nav__li:hover .mega { display: none; }
  .nav__li.is-expanded:hover .mega { display: block; }
  .mega__cols { grid-template-columns: 1fr; gap: 18px; }
  .burger { display: grid; }
  .header__cta { display: none; }
  .nav__caret { transition: transform .2s var(--ease); }
  .nav__li.is-expanded .nav__caret { transform: rotate(180deg); }
  .nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    z-index: 94;
  }
  .nav-backdrop.is-on { opacity: 1; visibility: visible; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--40, .split--60 { grid-template-columns: 1fr; gap: 34px; }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .partner { grid-template-columns: 1fr; }
  .hero__top { flex-direction: column; align-items: flex-start; }
  .badge-link { width: 112px; height: 112px; }
  .shape-strip { gap: 12px; }
  .shape--star, .shape--blob { display: none; }
  .section { padding: 66px 0; }
  .section--wide { padding: 78px 0; }
}

@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .figures { grid-template-columns: 1fr 1fr; }
  .statrow { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px 18px; }
  .statrow__icon { width: 46px; height: 46px; }
  .statrow__icon svg { width: 21px; height: 21px; }
  .statrow__num { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 12px; }
  .statrow__num small { margin-top: 0; }
  .showcase__card { position: static; max-width: none; }
  .topbar__list--right { display: none; }
  .topbar__in { min-height: 0; padding-block: 8px; }
  .shape-strip { gap: 10px; margin-top: 40px; }
  .shape--tri { display: none; }
  .hero__in { padding-top: 52px; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
  .partner { padding: 28px 24px; }
  .step { padding: 22px 22px 22px 70px; }
  .step::before { left: 22px; top: 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .shape-strip { display: none; }
  .hero__in { padding-bottom: 56px; }
}

/* --------------------------------------------------------------------------
   17. Preferencje ruchu i druk
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

@media print {
  .topbar, .site-header, .marquee, .cta-band, .site-footer, .badge-link { display: none; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .section { padding: 12pt 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* --------------------------------------------------------------------------
   18. Uzupelnienia
   -------------------------------------------------------------------------- */

/* tresc dostepna wylacznie dla czytnikow ekranu */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* nakladka na zdjeciu - wezsza karta, zeby nie zaslaniala kadru */
.showcase__card { max-width: min(272px, 56%); }

/* kafel dla zdjec produktowych na jasnym tle (wycinanki) */
.tile--light { background: var(--paper-2); color: var(--text); }
.tile--light::after {
  background: linear-gradient(to top, rgba(244, 242, 238, .98) 0%, rgba(244, 242, 238, .92) 30%,
              rgba(244, 242, 238, 0) 62%);
}
.tile--light img {
  opacity: 1;
  object-fit: contain;
  padding: 22px 22px 118px;
}
.tile--light:hover img { opacity: 1; transform: scale(1.04); }
.tile--light h3 { color: var(--ink); }
.tile--light p { color: var(--text-soft); }
.tile--light .tile__tag { color: var(--orange); }

/* nakladka na zdjecie produktowe (wycinanka na jasnym tle) */
.showcase--product .showcase__img { background: var(--paper-2); }
.showcase--product .showcase__img img { object-fit: contain; padding: 18px 18px 60px; }
