@charset "UTF-8";
/* ==========================================================================
   AKME Przewozy — arkusz stylów
   Autor: zespół AKME  |  Ostatnia rewizja: 2026-09
   Struktura: 1. tokeny  2. reset  3. typografia  4. layout  5. komponenty
              6. sekcje  7. warianty podstron  8. responsywność
   ========================================================================== */

/* --- 1. Tokeny ----------------------------------------------------------- */
:root {
  /* Płaszczyzny */
  --bg:          #edeff2;
  --bg-band:     #c7cfd9;
  --surface:     #ffffff;
  --surface-2:   #f5f6f8;
  --dark:        #12161b;
  --dark-2:      #1b2129;

  /* Tekst */
  --ink:         #0f1621;
  --ink-2:       #26313f;
  --muted:       #5c6774;
  --muted-2:     #808b98;
  --on-dark:     #f2f4f7;
  --on-dark-mut: #a7b0bb;

  /* Marka */
  --accent:      #f0641e;
  --accent-600:  #d6540f;
  --accent-100:  #fdece2;
  --navy:        #1d2b3a;

  /* Linie i cienie */
  --line:        #e1e5ea;
  --line-2:      #d2d8df;
  --line-dark:   rgba(255, 255, 255, .12);

  --sh-xs: 0 1px 2px rgba(15, 22, 33, .05);
  --sh-sm: 0 2px 8px rgba(15, 22, 33, .06);
  --sh-md: 0 10px 30px -12px rgba(15, 22, 33, .18);
  --sh-lg: 0 28px 60px -24px rgba(15, 22, 33, .32);
  --sh-xl: 0 40px 90px -30px rgba(15, 22, 33, .40);

  /* Promienie */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-2xl: 44px;
  --r-pill: 999px;

  /* Rytm pionowy */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 44px;  --sp-8: 64px;
  --sp-9: 88px;  --sp-10: 120px;

  /* Ruch */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 420ms;

  /* Warstwy */
  --z-base: 1;
  --z-sticky: 40;
  --z-nav: 60;
  --z-drawer: 80;
  --z-top: 100;

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  font-feature-settings: "cv05" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

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

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

/* --- 3. Typografia ------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: "Figtree", "Inter", system-ui, sans-serif;
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 4.15rem); letter-spacing: -.038em; }
h2 { font-size: clamp(1.72rem, 1.18rem + 2.2vw, 2.95rem); }
h3 { font-size: clamp(1.24rem, 1.02rem + .85vw, 1.7rem); letter-spacing: -.024em; line-height: 1.2; }
h4 { font-size: clamp(1.05rem, .98rem + .3vw, 1.18rem); letter-spacing: -.015em; line-height: 1.32; }

p { margin: 0 0 1.15em; color: var(--muted); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

strong, b { color: var(--ink-2); font-weight: 650; }

.lead {
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-2);
  box-shadow: var(--sh-xs);
  margin-bottom: var(--sp-4);
}
.eyebrow svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.eyebrow--dark { background: rgba(255, 255, 255, .08); border-color: var(--line-dark); color: var(--on-dark); backdrop-filter: blur(8px); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--sp-7); }
.section-head p { margin-inline: auto; }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--left p { margin-inline: 0; }

/* --- 4. Layout ----------------------------------------------------------- */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}
.shell--wide { --shell: 1400px; }

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 68px); }
.band { background: var(--bg-band); }
.band--soft { background: var(--surface-2); }
.band--dark { background: var(--dark); color: var(--on-dark); }
.band--dark h2, .band--dark h3, .band--dark h4 { color: var(--on-dark); }
.band--dark p { color: var(--on-dark-mut); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: var(--z-top);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

/* --- 5. Komponenty ------------------------------------------------------- */

/* 5.1 Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-family: "Figtree", sans-serif;
  font-weight: 650;
  font-size: .95rem;
  letter-spacing: -.008em;
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-base) var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform var(--t-base) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(240, 100, 30, .8); }
.btn--primary:hover { background: var(--accent-600); box-shadow: 0 14px 30px -12px rgba(240, 100, 30, .9); }

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

.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .24); }

.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }

.btn--wide { width: 100%; }
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: .875rem; }

/* 5.2 Ikona-kółko */
.icon-btn {
  width: 44px; height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  color: var(--ink);
  background: var(--surface);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.icon-btn[disabled] { opacity: .38; cursor: not-allowed; }
.icon-btn[disabled]:hover { background: var(--surface); border-color: var(--line-2); color: var(--ink); }

/* 5.3 Nawigacja */
.masthead {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  padding-block: 14px;
  background: rgba(237, 239, 242, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.masthead.is-stuck { border-bottom-color: var(--line-2); background: rgba(237, 239, 242, .94); }

.masthead__inner { display: flex; align-items: center; gap: var(--sp-5); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__word {
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.04em;
  color: var(--navy);
  line-height: 1;
}
.brand__word span { color: var(--accent); }

.nav { margin-inline: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}
.nav__link {
  display: block;
  padding: 9px 17px;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 550;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__link:hover { background: var(--surface-2); }
.nav__link[aria-current="page"] { background: var(--ink); color: #fff; }

/* rozwijane */
.nav__item { position: relative; }
.nav__toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 15px 9px 17px;
  border-radius: var(--r-pill);
  font-size: .9rem; font-weight: 550; color: var(--ink-2);
  transition: background var(--t-fast) var(--ease);
}
.nav__toggle:hover { background: var(--surface-2); }
.nav__toggle svg { width: 13px; height: 13px; transition: transform var(--t-base) var(--ease); }
.nav__toggle[aria-expanded="true"] { background: var(--surface-2); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item.is-current > .nav__toggle { background: var(--ink); color: #fff; }

.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 560px;
  max-width: calc(100vw - 32px);
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
}
.nav__toggle[aria-expanded="true"] + .submenu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.submenu a {
  display: block;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.submenu a:hover { background: var(--surface-2); color: var(--accent); }
.submenu a[aria-current="page"] { color: var(--accent); font-weight: 650; }
.submenu__label {
  grid-column: 1 / -1;
  padding: 4px 13px 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.masthead__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface);
}
.burger span {
  display: block; width: 17px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: relative;
  transition: background var(--t-fast) var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0;
  width: 17px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t-base) var(--ease), top var(--t-base) var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* szuflada mobilna */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(420px, 88vw);
  z-index: var(--z-drawer);
  background: var(--surface);
  padding: 24px 22px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease-out);
  box-shadow: var(--sh-xl);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer__close { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--line); }
.drawer__close svg { width: 18px; height: 18px; }
.drawer__group { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.drawer__group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.drawer__title { font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.drawer__link {
  display: block; padding: 11px 12px; border-radius: var(--r-sm);
  font-size: .95rem; font-weight: 550; color: var(--ink-2);
  min-height: 44px;
}
.drawer__link:hover, .drawer__link:focus-visible { background: var(--surface-2); }
.drawer__link[aria-current="page"] { color: var(--accent); }
.drawer__foot { margin-top: 26px; display: grid; gap: 10px; }

.scrim {
  position: fixed; inset: 0; z-index: calc(var(--z-drawer) - 1);
  background: rgba(15, 22, 33, .52);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base);
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* 5.4 Karty */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 30px);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--line-2); }
.card--dark { background: var(--dark); border-color: transparent; color: var(--on-dark); }
.card--dark h3, .card--dark h4 { color: var(--on-dark); }
.card--dark p { color: var(--on-dark-mut); }

.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  background: var(--accent-100);
  color: var(--accent);
  margin-bottom: var(--sp-4);
}
.card__icon svg { width: 24px; height: 24px; }
.card--dark .card__icon { background: rgba(255, 255, 255, .09); color: var(--accent); }

/* 5.5 Siatki */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.grid--aside { grid-template-columns: minmax(0, 1fr) 336px; gap: clamp(28px, 4vw, 56px); align-items: start; }

/* 5.6 Pigułki obrazkowe (sygnaturowy element nagłówka) */
.pill-img {
  display: inline-block;
  vertical-align: middle;
  width: clamp(66px, 8.5vw, 108px);
  aspect-ratio: 16 / 10;
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-inline: .18em;
  transform: translateY(-.08em);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6);
  border: 2px solid rgba(255, 255, 255, .9);
}
.pill-img svg, .pill-img img { width: 100%; height: 100%; object-fit: cover; }

/* 5.7 Statystyki */
.stat { display: grid; gap: 2px; }
.stat__num {
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.7rem);
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--ink);
}
.band--dark .stat__num { color: #fff; }
.stat__label { font-size: .87rem; color: var(--muted); }
.band--dark .stat__label { color: var(--on-dark-mut); }

/* 5.8 Lista z ptaszkami */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.ticks li strong { display: block; color: var(--ink); font-weight: 650; margin-bottom: 1px; }
.ticks svg { width: 21px; height: 21px; flex: none; color: var(--accent); margin-top: 2px; }
.band--dark .ticks li { color: var(--on-dark-mut); }
.band--dark .ticks li strong { color: #fff; }

/* 5.9 Akordeon usług (numerowany) */
.accord { display: grid; gap: 12px; }
.accord__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.accord__item.is-open { box-shadow: var(--sh-md); border-color: var(--line-2); }
.accord__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(18px, 2.4vw, 24px) clamp(18px, 2.4vw, 28px);
  text-align: left;
  min-height: 64px;
}
.accord__num {
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: var(--accent);
  letter-spacing: -.02em;
  flex: none;
  width: 26px;
}
.accord__title {
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: clamp(1.02rem, .93rem + .42vw, 1.28rem);
  letter-spacing: -.022em;
  color: var(--ink);
  flex: 1;
  line-height: 1.25;
}
.accord__chev {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  color: var(--accent);
  transition: background var(--t-base) var(--ease), transform var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.accord__chev svg { width: 16px; height: 16px; }
.accord__btn:hover .accord__chev { border-color: var(--accent); }
.accord__item.is-open .accord__chev { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(180deg); }
.accord__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease-out);
}
.accord__item.is-open .accord__panel { grid-template-rows: 1fr; }
.accord__inner { overflow: hidden; }
.accord__body { padding: 0 clamp(18px, 2.4vw, 28px) clamp(20px, 2.4vw, 26px) clamp(56px, 6vw, 76px); }
.accord__body p { margin-bottom: .8em; }
.accord__body ul { margin: 0; padding-left: 18px; color: var(--muted); }
.accord__body li { margin-bottom: 5px; }

/* 5.10 Kafle zdjęciowe „dlaczego my” */
.showcase { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: var(--sp-5); align-items: center; }
.tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--dark-2);
  isolation: isolate;
}
.tile--lead { aspect-ratio: 4 / 4.55; box-shadow: var(--sh-lg); }
.tile > svg, .tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 20, .88) 0%, rgba(10, 14, 20, .42) 38%, rgba(10, 14, 20, 0) 70%);
}
.tile__body { position: absolute; inset: auto 0 0 0; padding: clamp(16px, 2.2vw, 24px); z-index: 2; }
.tile__body h3 { color: #fff; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); margin-bottom: 0; }
.tile__body p { color: rgba(255, 255, 255, .8); font-size: .87rem; margin: 8px 0 0; line-height: 1.5; }
.tile__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .92);
  color: var(--accent);
}
.tile__badge svg { width: 20px; height: 20px; }

/* 5.11 Pasek logotypów / odznak */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badges__item {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--sh-xs);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.badges__item svg { width: 18px; height: 18px; color: var(--muted-2); transition: color var(--t-fast) var(--ease); }
.badges__item:hover { color: var(--ink); border-color: var(--line-2); }
.badges__item:hover svg { color: var(--accent); }

/* 5.12 Opinie */
.quotes { position: relative; }
.quotes__stage { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.8vw, 20px); }
.quotes__thumb {
  flex: none;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
  display: grid; place-items: center;
  transition: opacity var(--t-base) var(--ease);
}
.quotes__thumb--far { width: clamp(38px, 5vw, 54px); aspect-ratio: 1; opacity: .55; }
.quotes__thumb--near { width: clamp(52px, 6.5vw, 74px); aspect-ratio: 1; opacity: .85; }
.quotes__thumb svg { width: 100%; height: 100%; }

.quote-card {
  flex: 1;
  max-width: 620px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(16px, 2vw, 20px);
  box-shadow: var(--sh-md);
  display: grid;
  grid-template-columns: clamp(90px, 13vw, 128px) 1fr;
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
}
.quote-card__face { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5; background: var(--surface-2); }
.quote-card__face svg { width: 100%; height: 100%; }
.quote-card__mark { width: 24px; height: 24px; color: var(--line-2); margin-bottom: 8px; }
.quote-card__text { font-size: .93rem; font-style: italic; color: var(--ink-2); line-height: 1.58; margin: 0 0 14px; max-width: none; }
.quote-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.quote-card__who { font-weight: 650; font-size: .88rem; color: var(--ink); }
.quote-card__who span { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.stars svg { width: 15px; height: 15px; }

.quotes__nav { display: flex; justify-content: center; gap: 10px; margin-top: var(--sp-6); }

/* 5.13 Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line-2);
  padding-block: clamp(18px, 2.4vw, 26px);
  background: var(--surface-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__word {
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 1rem + 1.9vw, 2.5rem);
  letter-spacing: -.035em;
  color: var(--ink);
  white-space: nowrap;
}
.marquee__word--muted { color: var(--muted-2); }
.marquee__word em { color: var(--accent); font-style: normal; }
.marquee__chip {
  width: clamp(80px, 9vw, 132px);
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex: none;
  box-shadow: var(--sh-sm);
}
.marquee__chip svg { width: 100%; height: 100%; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 5.14 Stopka */
.footer { background: var(--bg); padding-top: clamp(48px, 6vw, 76px); }
.footer__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}
.footer__pitch h3 { margin-bottom: 10px; }
.footer__pitch p { font-size: .93rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.footer__title { font-family: "Figtree", sans-serif; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__list a { font-size: .89rem; color: var(--muted); transition: color var(--t-fast) var(--ease); }
.footer__list a:hover { color: var(--accent); }
.footer__wordmark {
  padding: clamp(18px, 3vw, 30px) clamp(28px, 4vw, 48px) clamp(22px, 3vw, 34px);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px 28px; flex-wrap: wrap; overflow: hidden;
}
.footer__logo {
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  /* 12 znaków — skala dobrana tak, aby napis mieścił się obok kolumny z metryką */
  font-size: clamp(2rem, .9rem + 4.4vw, 4.6rem);
  letter-spacing: -.05em;
  line-height: .95;
  color: var(--navy);
  max-width: 100%;
  white-space: nowrap;
}
.footer__logo span { color: var(--accent); }
.footer__meta { text-align: right; font-size: .76rem; color: var(--muted-2); line-height: 1.7; }
.footer__legal {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0 34px;
  font-size: .8rem; color: var(--muted-2);
}
.footer__legal nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--accent); }

/* 5.15 Okruszki */
.crumbs { padding-block: 18px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; list-style: none; margin: 0; padding: 0; font-size: .8rem; color: var(--muted-2); }
.crumbs a { color: var(--muted); transition: color var(--t-fast) var(--ease); }
.crumbs a:hover { color: var(--accent); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: var(--line-2); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 550; }

/* 5.16 Blok odesłania do przewoźnika (link wychodzący) */
.referral {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 46px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
}
.referral::before {
  content: "";
  position: absolute;
  inset: auto -80px -140px auto;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(240, 100, 30, .34), transparent 68%);
  pointer-events: none;
}
.referral h3 { color: #fff; margin-bottom: 10px; }
.referral p { color: var(--on-dark-mut); font-size: .95rem; margin-bottom: 0; }
.referral__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.referral__badge svg { width: 15px; height: 15px; }
.referral__actions { display: grid; gap: 10px; position: relative; }

/* 5.17 Tabela */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { font-family: "Figtree", sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data td { color: var(--muted); }
table.data td:first-child { color: var(--ink); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* 5.18 Boczna karta kontaktowa */
.aside-card {
  position: sticky;
  top: 104px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-sm);
}
.aside-card h3 { font-size: 1.14rem; }
.aside-card__list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 14px; }
.aside-card__list li { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.aside-card__list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }
.aside-card__list b { display: block; color: var(--ink); font-weight: 650; }

.toc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 9px 13px; border-radius: var(--r-sm); font-size: .87rem; color: var(--muted); border-left: 2px solid transparent; transition: all var(--t-fast) var(--ease); }
.toc a:hover { background: var(--surface-2); color: var(--ink); border-left-color: var(--accent); }

/* 5.19 Proza artykułu */
.prose h2 { margin-top: clamp(36px, 4vw, 52px); }
.prose h3 { margin-top: clamp(26px, 3vw, 36px); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { color: var(--muted); padding-left: 22px; margin: 0 0 1.2em; max-width: 68ch; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--accent); }
.prose a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:not(.btn):hover { color: var(--accent-600); }
.prose blockquote {
  margin: 1.6em 0;
  padding: 20px 26px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.prose blockquote p { color: var(--ink-2); font-style: italic; margin: 0; }
.prose figure { margin: 1.8em 0; }
.prose figcaption { font-size: .8rem; color: var(--muted-2); margin-top: 10px; text-align: center; }

/* 5.20 FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; text-align: left; min-height: 60px; }
.faq__btn h3 { font-size: 1rem; margin: 0; font-weight: 700; }
.faq__sign { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: var(--r-pill); background: var(--surface-2); color: var(--accent); transition: transform var(--t-base) var(--ease), background var(--t-base) var(--ease); }
.faq__sign svg { width: 15px; height: 15px; }
.faq__item.is-open .faq__sign { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease-out); }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; }
.faq__body { padding: 0 22px 22px; }
.faq__body p { font-size: .92rem; margin-bottom: .7em; }

/* 5.21 Chipy miast */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips a, .chips span {
  display: inline-flex; align-items: center; min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .85rem; font-weight: 550; color: var(--ink-2);
  transition: all var(--t-fast) var(--ease);
}
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.band--dark .chips a, .band--dark .chips span { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--on-dark); }

/* 5.22 Kroki */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
.steps__item { position: relative; padding-left: 62px; }
.steps__item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-family: "Figtree", sans-serif;
  font-weight: 800;
  font-size: .88rem;
}
.steps__item h4 { margin-bottom: 6px; }
.steps__item p { font-size: .92rem; margin: 0; }

/* --- 6. Hero ------------------------------------------------------------- */
.hero { padding: 0 0 clamp(28px, 4vw, 44px); }
.hero__frame {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  min-height: clamp(480px, 72vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  background: var(--dark);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__frame::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(8, 11, 16, .8) 0%, rgba(8, 11, 16, .28) 42%, rgba(8, 11, 16, .5) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: clamp(30px, 5vw, 62px); text-align: center; }
.hero__title {
  color: #fff;
  max-width: 17ch;
  margin-inline: auto;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
  margin-bottom: .55em;
}
.hero__sub { color: rgba(255, 255, 255, .86); font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); max-width: 58ch; margin: 0 auto 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.hero__float {
  position: absolute; z-index: 3;
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 12px 18px 12px 12px;
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 12px;
}
.hero__float--bl { left: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); }
.hero__float--tr { right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; width: 172px; }
.hero__float p { margin: 0; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.hero__float strong { font-family: "Figtree", sans-serif; font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); display: block; }
.hero__float--tr img, .hero__float--tr > svg { width: 100%; border-radius: var(--r-xs); }

.faces { display: flex; }
.faces > * { flex: none; width: 34px; height: 34px; border-radius: var(--r-pill); border: 2px solid #fff; margin-left: -10px; background: var(--surface-2); overflow: hidden; }
.faces > *:first-child { margin-left: 0; }
.faces__count {
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: -.01em;
}

/* Hero podstrony */
.page-hero { padding-block: clamp(26px, 3.4vw, 40px) clamp(30px, 4vw, 56px); }
.page-hero__frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
  padding: clamp(30px, 4.6vw, 62px);
  min-height: clamp(260px, 34vw, 380px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero__frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(8, 11, 16, .92) 0%, rgba(8, 11, 16, .68) 46%, rgba(8, 11, 16, .32) 100%);
}
.page-hero__frame h1 { color: #fff; max-width: 20ch; margin-bottom: .35em; }
.page-hero__frame .lead { color: rgba(255, 255, 255, .84); max-width: 60ch; }
.page-hero__facts { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 44px); margin-top: clamp(20px, 2.6vw, 30px); padding-top: clamp(18px, 2.4vw, 26px); border-top: 1px solid rgba(255, 255, 255, .17); }
.page-hero__fact strong { display: block; font-family: "Figtree", sans-serif; font-weight: 800; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); letter-spacing: -.03em; color: #fff; line-height: 1.1; }
.page-hero__fact span { font-size: .8rem; color: rgba(255, 255, 255, .68); }

/* --- 7. Elementy pomocnicze --------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack { display: grid; gap: var(--sp-5); }
.stack--sm { gap: var(--sp-4); }
.stack--lg { gap: var(--sp-7); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--sp-7); }
.visually-hidden {
  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;
}

/* Animacja wejścia — stan ukryty tylko przy działającym JS,
   dzięki czemu treść pozostaje widoczna także bez skryptów. */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
.js .reveal[data-delay="1"].is-in { transition-delay: 70ms; }
.js .reveal[data-delay="2"].is-in { transition-delay: 140ms; }
.js .reveal[data-delay="3"].is-in { transition-delay: 210ms; }
.js .reveal[data-delay="4"].is-in { transition-delay: 280ms; }

/* --- 8. Responsywność --------------------------------------------------- */
@media (max-width: 1080px) {
  .nav, .masthead__cta .btn--primary { display: none; }
  .burger { display: grid; }
  .grid--aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .showcase .tile:nth-child(3) { display: none; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 88px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--split { grid-template-columns: 1fr; }
  .referral { grid-template-columns: 1fr; }
  .quotes__thumb--far { display: none; }
  .hero__float--tr { display: none; }
  .footer__wordmark { flex-direction: column; align-items: flex-start; }
  .footer__meta { text-align: left; }
}

@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: 1fr; }
  .showcase .tile:nth-child(3) { display: block; }
  .tile, .tile--lead { aspect-ratio: 16 / 11; }
  .quotes__thumb { display: none; }
  .quote-card { grid-template-columns: 1fr; }
  .quote-card__face { aspect-ratio: 16 / 9; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  /* karta z licznikiem przestaje unosic sie nad przyciskami */
  .hero__float--bl {
    position: static;
    align-self: center;
    margin: 0 clamp(14px, 4vw, 24px) clamp(18px, 4vw, 26px);
    box-shadow: var(--sh-md);
  }
  .hero__inner { padding-bottom: clamp(20px, 4vw, 30px); }
  .hero__actions .btn { width: 100%; }
  .eyebrow { font-size: .74rem; padding: 6px 13px 6px 10px; }
  .page-hero__facts { gap: 18px 26px; }
}

@media (max-width: 420px) {
  .footer__cols { grid-template-columns: 1fr; }
  .pill-img { display: none; }
}

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

@media print {
  .masthead, .drawer, .scrim, .marquee, .referral__actions, .hero__actions { display: none !important; }
  body { background: #fff; }
  .hero__frame, .page-hero__frame { min-height: auto; background: none; color: #000; }
  .hero__frame::after, .page-hero__frame::after { display: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
