/* =========================================================
   Moto CRM – arkusz stylów
   Paleta: biel, asfalt, żółć ostrzegawcza (paski jak na
   taśmie warsztatowej) + zieleń akceptacji
   ========================================================= */

:root {
  --white: #FFFFFF;
  --mist: #F2F4F7;
  --line: #E2E6EC;
  --asphalt: #171A1F;
  --asphalt-2: #262B33;
  --graphite: #59616D;
  --signal: #FFC400;
  --signal-deep: #E8B000;
  --signal-soft: #FFF6D6;
  --ok: #0E9F56;
  --ok-soft: #E3F6EC;
  --no: #D9363E;
  --eu: #1F4FC6;

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* skala typograficzna (≈ 1.25) */
  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --fs-2xl: clamp(2rem, 1.4rem + 2.2vw, 3rem);
  --fs-3xl: clamp(2.5rem, 1.5rem + 3.5vw, 4.4rem);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;

  --shadow-1: 0 1px 2px rgba(23, 26, 31, .06), 0 4px 14px rgba(23, 26, 31, .06);
  --shadow-2: 0 2px 4px rgba(23, 26, 31, .05), 0 18px 48px -12px rgba(23, 26, 31, .22);

  --hazard: repeating-linear-gradient(-45deg, var(--signal) 0 16px, var(--asphalt) 16px 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--asphalt);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-stretch: 82%; line-height: 1.05; margin: 0; letter-spacing: -.015em; }
h2 { font-size: var(--fs-2xl); font-weight: 750; }
h3 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--asphalt); color: var(--white); padding: .6rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; }

.muted { color: var(--graphite); font-size: var(--fs-xs); }

/* ---------- przyciski ---------- */
.btn {
  --bg: var(--white); --fg: var(--asphalt); --bd: var(--asphalt);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.25rem;
  font-weight: 700; font-size: var(--fs-sm); line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bd); border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --bg: var(--signal); --bd: var(--signal); --fg: var(--asphalt); box-shadow: 0 6px 0 -2px var(--asphalt); }
.btn-primary:hover { box-shadow: 0 8px 0 -2px var(--asphalt); background: #FFCE2E; }
.btn-primary:active { box-shadow: 0 3px 0 -2px var(--asphalt); }
.btn-ghost { --bg: transparent; --bd: var(--line); }
.btn-ghost:hover { --bd: var(--asphalt); }
.btn-dark { --bg: var(--asphalt); --bd: var(--asphalt); --fg: var(--white); }
.btn-dark:hover { --bg: var(--asphalt-2); }
.btn-ok { --bg: var(--ok); --bd: var(--ok); --fg: var(--white); }
.btn-sm { padding: .55rem 1rem; font-size: var(--fs-xs); }
.btn-lg { padding: 1rem 1.6rem; font-size: var(--fs-md); }
.btn-lg .ico { width: 1.2em; height: 1.2em; }
.link-btn { background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- tablica rejestracyjna ---------- */
.plate {
  display: inline-flex; align-items: stretch; flex: none;
  font: 700 .8rem/1 var(--font-body); letter-spacing: .06em; white-space: nowrap;
  background: var(--white); color: var(--asphalt);
  border: 1.5px solid var(--asphalt); border-radius: 5px; overflow: hidden;
  padding-right: .45rem; line-height: 1.9;
}
.plate i {
  font-style: normal; font-size: .55rem; letter-spacing: 0; line-height: 1;
  background: var(--eu); color: var(--white);
  display: grid; place-items: end center; padding: .2rem .22rem .2rem; margin-right: .4rem;
}
.plate-sm { font-size: .72rem; }

/* ---------- statusy ---------- */
.status {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: var(--fs-xs); font-weight: 700; white-space: nowrap;
  padding: .28rem .6rem; border-radius: 999px;
  background: var(--mist); color: var(--graphite);
  transition: background-color .4s, color .4s;
}
.status::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.s-progress { background: #E7EEFF; color: var(--eu); }
.s-wait { background: var(--signal-soft); color: #8A6200; }
.s-done, .s-ok { background: var(--ok-soft); color: var(--ok); }
.s-plan { background: var(--mist); color: var(--asphalt); }

/* =========================================================
   NAGŁÓWEK
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(23, 26, 31, .35); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-name { font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.brand-mark { display: inline-flex; gap: 3px; transform: skewX(-20deg); }
.brand-mark i { display: block; width: 7px; height: 24px; border-radius: 2px; background: var(--asphalt); }
.brand-mark i:nth-child(2) { background: var(--signal); }
.brand-mark i:nth-child(3) { opacity: .35; }
.brand:hover .brand-mark i { animation: brandPulse .6s var(--ease) both; }
.brand:hover .brand-mark i:nth-child(2) { animation-delay: .07s; }
.brand:hover .brand-mark i:nth-child(3) { animation-delay: .14s; }
@keyframes brandPulse { 50% { transform: translateY(-4px); } }

.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: var(--fs-sm); position: relative; padding-block: .3rem; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px;
  background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; gap: .6rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; }
.nav-toggle .ico { width: 1.6rem; height: 1.6rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 6.5rem); }
.hero-stripes {
  position: absolute; z-index: -1; pointer-events: none;
  right: -12%; top: -30%; width: 62%; height: 160%;
  background:
    repeating-linear-gradient(105deg, transparent 0 46px, var(--mist) 46px 92px);
  mask-image: linear-gradient(to left, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 95%);
  animation: stripesDrift 40s linear infinite;
}
@keyframes stripesDrift { to { background-position: 920px 0; } }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero-branches { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.6rem; }
.hero-branches a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .38rem .75rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700; text-decoration: none; background: var(--white);
  transition: border-color .2s, background-color .2s;
}
.hero-branches a:hover { border-color: var(--asphalt); background: var(--signal-soft); }
.hero-branches .ico { width: 1rem; height: 1rem; }

.hero-title {
  font-size: var(--fs-3xl); font-weight: 800; font-stretch: 76%;
  line-height: .98; letter-spacing: -.025em;
  max-width: 15ch;
  position: relative; padding-bottom: .35em;
}
.hero-title::after {
  /* pas ostrzegawczy pod nagłówkiem */
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 132px; height: 12px; border-radius: 2px;
  background: var(--hazard); background-size: 45px 45px;
  transform-origin: left; animation: barIn 1s .3s var(--ease) both;
}
@keyframes barIn { from { transform: scaleX(0); } }

.hero-lead { margin-top: 1.4rem; font-size: var(--fs-lg); color: var(--graphite); max-width: 56ch; line-height: 1.55; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem; font-size: var(--fs-sm); font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .ico { color: var(--ok); stroke-width: 3; width: 1.05rem; height: 1.05rem; }

/* wejście elementów hero przy załadowaniu */
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .22s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* --- wizualizacja --- */
.hero-visual { position: relative; padding: 2.5rem 0 3.5rem; animation: rise 1s .25s var(--ease) both; }
.hero-visual::before {
  /* pas ostrzegawczy po skosie za tablicą */
  content: ""; position: absolute; z-index: -1;
  left: -10%; right: -30%; top: 46%; height: 64px;
  background: var(--hazard); transform: rotate(-8deg);
  border-block: 4px solid var(--asphalt);
}
.board {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2); padding: 1.25rem;
}
.board-top { display: flex; justify-content: space-between; align-items: center; padding: .25rem .35rem 1rem; border-bottom: 1px solid var(--line); }
.board-top strong { display: block; font-family: var(--font-display); font-stretch: 82%; font-size: 1.3rem; }
.board-count { font-size: var(--fs-xs); color: var(--graphite); }
.board-count b { font-size: 1.1rem; color: var(--asphalt); }
.board-list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
  padding: .85rem .35rem; border-bottom: 1px dashed var(--line);
}
.board-list li:last-child { border-bottom: 0; }
.job b { display: block; font-size: var(--fs-sm); line-height: 1.3; }
.job small { color: var(--graphite); font-size: var(--fs-xs); }
.row-offer { border-radius: var(--r-sm); transition: background-color .5s; }
.row-offer.is-accepted { background: var(--ok-soft); }

.float-sms, .float-ok {
  position: absolute; display: flex; gap: .75rem; align-items: flex-start;
  width: min(300px, 78%);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: .85rem 1rem;
  font-size: var(--fs-xs); line-height: 1.45;
  opacity: 0; transform: translateY(14px) scale(.97);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.float-sms b, .float-ok b { display: block; font-size: var(--fs-sm); margin-bottom: .1rem; }
.float-sms p, .float-ok p { color: var(--graphite); }
.float-sms { top: 0; right: -1.5rem; }
.float-ok { bottom: .5rem; left: -1.5rem; }
.float-sms.is-in, .float-ok.is-in { opacity: 1; transform: none; }
.float-ico {
  width: 2.1rem; height: 2.1rem; flex: none; display: grid; place-items: center;
  border-radius: 10px; background: var(--signal); color: var(--asphalt);
}
.float-ico.ok { background: var(--ok); color: var(--white); }
.float-ico .ico { width: 1.1rem; height: 1.1rem; }

.hazard { height: 14px; background: var(--hazard); background-size: 45px 45px; }
.hero > .hazard { position: absolute; left: 0; right: 0; bottom: 0; }

/* =========================================================
   SEKCJE
   ========================================================= */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-mist { background: var(--mist); }
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head p { margin-top: 1rem; color: var(--graphite); font-size: var(--fs-lg); line-height: 1.55; }
.section-head h2 { position: relative; padding-left: 1.1rem; }
.section-head h2::before {
  /* pionowy znacznik w kolorze sygnałowym */
  content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 6px; border-radius: 3px;
  background: linear-gradient(var(--signal) 0 60%, var(--asphalt) 60% 100%);
}

/* odsłanianie przy przewijaniu */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* listy z ptaszkiem */
.checks { display: grid; gap: .65rem; margin-top: 1.4rem; }
.checks li { position: relative; padding-left: 2rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 1.3rem; height: 1.3rem; border-radius: 6px;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171A1F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* =========================================================
   BRANŻE – zakładki
   ========================================================= */
.tab-list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem;
  padding: .45rem; background: var(--mist); border-radius: calc(var(--r-md) + 6px);
  position: relative;
}
.tab-list [role="tab"] {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  padding: 1rem .5rem; border: 0; border-radius: var(--r-md); background: transparent;
  font-weight: 700; font-size: var(--fs-sm); color: var(--graphite); text-align: center;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.tab-list [role="tab"] .ico { width: 1.8rem; height: 1.8rem; stroke-width: 1.7; transition: transform .35s var(--ease); }
.tab-list [role="tab"]:hover { color: var(--asphalt); }
.tab-list [role="tab"][aria-selected="true"] { background: var(--white); color: var(--asphalt); box-shadow: var(--shadow-1); }
.tab-list [role="tab"][aria-selected="true"] .ico { transform: rotate(-12deg) scale(1.08); color: var(--asphalt); }
.tab-list [role="tab"][aria-selected="true"]::after {
  content: ""; display: block; width: 36px; height: 5px; border-radius: 3px; background: var(--hazard); background-size: 14px 14px;
}

.tab-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(.5rem, 2vw, 1.5rem) 0;
}
.tab-panel.is-entering .panel-copy { animation: rise .55s var(--ease) both; }
.tab-panel.is-entering .panel-mock { animation: mockIn .65s .05s var(--ease) both; }
@keyframes mockIn { from { opacity: 0; transform: translateX(24px) rotate(1.5deg); } }
.panel-copy h3 { font-size: var(--fs-2xl); }
.panel-copy > p { margin-top: 1rem; color: var(--graphite); max-width: 52ch; }

.panel-mock { position: relative; padding: 1.5rem; }
.panel-mock::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-lg);
  background: repeating-linear-gradient(-45deg, var(--mist) 0 12px, transparent 12px 24px);
}

/* karty-podglądy */
.mock-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 1.15rem 1.25rem; font-size: var(--fs-sm);
}
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: .85rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.mock-head b { font-family: var(--font-display); font-stretch: 82%; font-size: 1.15rem; }
.mock-dl { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.2rem; margin: .4rem 0 0; }
.mock-dl dt { font-size: var(--fs-xs); color: var(--graphite); }
.mock-dl dd { margin: .1rem 0 0; font-weight: 700; }
.tread { display: flex; gap: .4rem; margin-top: 1rem; }
.tread span { flex: 1; height: 8px; border-radius: 4px; background: var(--mist); position: relative; overflow: hidden; }
.tread span::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: var(--ok); border-radius: inherit; }

.mock-steps { display: flex; gap: .3rem; margin: .4rem 0 1rem; }
.mock-steps span { flex: 1; text-align: center; font-size: .7rem; font-weight: 700; color: var(--graphite); padding-top: .55rem; border-top: 4px solid var(--line); }
.mock-steps .on { border-color: var(--asphalt); color: var(--asphalt); }
.mock-steps .cur { border-image: var(--hazard) 1; border-top-width: 4px; border-top-style: solid; color: var(--asphalt); }

.mock-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.mock-table th { text-align: left; font-size: var(--fs-xs); font-weight: 600; color: var(--graphite); padding: .4rem 0; }
.mock-table td { padding: .6rem 0; border-top: 1px solid var(--line); }
.mock-table td:not(:first-child), .mock-table th:not(:first-child) { text-align: right; padding-left: .8rem; white-space: nowrap; }
.mock-table td:last-child { font-weight: 700; }

.route { position: relative; display: grid; gap: .25rem; }
.route li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .8rem; padding: .6rem .5rem; border-radius: var(--r-sm); position: relative; }
.route li::before { content: ""; position: absolute; left: 4.3rem; top: 1.15rem; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--asphalt); background: var(--white); }
.route li:not(:last-child)::after { content: ""; position: absolute; left: calc(4.3rem + 4px); top: 2rem; bottom: -.9rem; border-left: 2px dashed var(--line); }
.route li.now { background: var(--signal-soft); }
.route li.now::before { background: var(--signal); }
.route time { font-weight: 800; font-variant-numeric: tabular-nums; }
.route span { padding-left: 1.4rem; }
.route b { display: block; }
.route small { display: flex; align-items: center; gap: .3rem; color: var(--graphite); font-size: var(--fs-xs); }
.route small .ico { width: .9rem; height: .9rem; }

.expiry li { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--line); }
.expiry li:first-child { border-top: 0; }
.expiry li > span:nth-child(2) { font-weight: 700; font-variant-numeric: tabular-nums; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; font-weight: 700; padding: .25rem .55rem; border-radius: 999px; background: var(--mist); color: var(--graphite); white-space: nowrap; }
.tag .ico { width: .85rem; height: .85rem; stroke-width: 3; }
.tag-sent { background: var(--ok-soft); color: var(--ok); }

.fleet { display: grid; gap: .45rem; margin-top: .3rem; }
.fleet-days, .fleet-row { display: grid; grid-template-columns: 4.4rem repeat(7, 1fr); align-items: center; }
.fleet-days span { font-size: .7rem; color: var(--graphite); text-align: center; }
.fleet-row { position: relative; height: 30px; background: linear-gradient(90deg, transparent 4.4rem, var(--mist) 4.4rem); border-radius: 6px; }
.fleet-row > span { font-size: var(--fs-xs); font-weight: 700; }
.fleet-row i {
  grid-row: 1; grid-column: calc(var(--s) + 1) / calc(var(--e) + 1);
  height: 20px; margin: 0 2px; border-radius: 5px; background: var(--asphalt);
}
.fleet-row i.svc { background: var(--hazard); background-size: 14px 14px; }
.fleet-legend { display: flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: var(--fs-xs); color: var(--graphite); }
.lg { width: 14px; height: 10px; border-radius: 3px; display: inline-block; }
.lg-rent { background: var(--asphalt); }
.lg-svc { background: var(--hazard); background-size: 8px 8px; margin-left: .7rem; }

/* =========================================================
   KLUCZOWE FUNKCJE
   ========================================================= */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature-flip .feature-copy { order: 2; }
.feature-copy > p { margin-top: 1rem; color: var(--graphite); max-width: 54ch; }
.feature-copy h3 { font-size: var(--fs-2xl); max-width: 18ch; }
.feature-ico {
  display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.2rem;
  border-radius: 14px; background: var(--asphalt); color: var(--signal);
  box-shadow: 5px 5px 0 var(--signal);
}
.feature-ico .ico { width: 1.6rem; height: 1.6rem; }
.note { display: flex; align-items: center; gap: .5rem; margin-top: 1.4rem !important; font-size: var(--fs-sm); color: var(--graphite); padding: .8rem 1rem; border-left: 4px solid var(--signal); background: var(--white); border-radius: 0 var(--r-sm) var(--r-sm) 0; }

.stock .low td { color: var(--no); }
.stock .low td:first-child { font-weight: 700; }
.stock-alert { display: flex; gap: .5rem; align-items: center; margin-top: .9rem; padding: .65rem .8rem; border-radius: var(--r-sm); background: #FDECEC; color: #9F1D24; font-size: var(--fs-xs); font-weight: 700; }
.stock-alert .ico { animation: ring 2.4s ease-in-out infinite; transform-origin: top center; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 82% { transform: rotate(-12deg); } 89% { transform: rotate(6deg); } }

.sms-timeline { position: relative; display: grid; gap: 1.4rem; padding-left: 2rem; }
.sms-timeline::before { content: ""; position: absolute; left: 6px; top: .6rem; bottom: .6rem; width: 3px; background: var(--hazard); background-size: 10px 10px; border-radius: 2px; }
.sms-timeline li { position: relative; }
.sms-timeline li::before { content: ""; position: absolute; left: calc(-2rem + 1px); top: .35rem; width: 13px; height: 13px; border-radius: 50%; background: var(--white); border: 3px solid var(--asphalt); }
.sms-when { display: block; font-size: var(--fs-xs); font-weight: 800; margin-bottom: .45rem; }
.sms-bubble {
  max-width: 380px; padding: .85rem 1.05rem; border-radius: 18px 18px 18px 4px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  font-size: var(--fs-sm); line-height: 1.45;
}
.sms-bubble b { display: block; font-size: var(--fs-xs); color: var(--graphite); margin-bottom: .2rem; }
.reveal .sms-timeline li { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in .sms-timeline li { opacity: 1; transform: none; }
.reveal.is-in .sms-timeline li:nth-child(2) { transition-delay: .25s; }
.reveal.is-in .sms-timeline li:nth-child(3) { transition-delay: .5s; }

/* --- telefon z ofertą --- */
.phone {
  position: relative; width: min(340px, 100%); margin-inline: auto;
  padding: 14px; border-radius: 44px; background: var(--asphalt);
  box-shadow: var(--shadow-2), 12px 12px 0 var(--signal);
}
.phone-notch { position: absolute; left: 50%; top: 22px; width: 90px; height: 22px; border-radius: 12px; background: var(--asphalt); transform: translateX(-50%); z-index: 2; }
.phone-screen { background: var(--white); border-radius: 32px; padding: 3rem 1.15rem 1.3rem; min-height: 560px; display: flex; flex-direction: column; }
.offer-view { display: flex; flex-direction: column; flex: 1; animation: rise .45s var(--ease) both; }
.offer-from { font-size: var(--fs-xs); color: var(--graphite); }
.offer-car { display: flex; align-items: center; gap: .6rem; margin-top: .45rem; font-weight: 800; font-family: var(--font-display); font-stretch: 82%; font-size: 1.2rem; }
.offer-items { border: 0; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .5rem; }
.offer-items legend { font-size: var(--fs-xs); font-weight: 700; margin-bottom: .5rem; padding: 0; }
.offer-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center;
  padding: .7rem .75rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  font-size: var(--fs-sm); line-height: 1.25; transition: border-color .2s, background-color .2s;
}
.offer-item input { position: absolute; opacity: 0; pointer-events: none; }
.offer-item .box { width: 1.35rem; height: 1.35rem; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.offer-item .box .ico { width: .9rem; height: .9rem; stroke-width: 3.4; color: var(--asphalt); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s var(--ease); }
.offer-item:has(input:checked) { border-color: var(--asphalt); }
.offer-item:has(input:checked) .box { background: var(--signal); border-color: var(--signal); }
.offer-item:has(input:checked) .box .ico { opacity: 1; transform: none; }
.offer-item:has(input:focus-visible) { outline: 3px solid var(--eu); outline-offset: 2px; }
.offer-item.is-on { border-color: var(--asphalt); }
.offer-item.is-on .box { background: var(--signal); border-color: var(--signal); }
.offer-item.is-on .box .ico { opacity: 1; transform: none; }
.oi-name small { display: block; font-size: .72rem; color: var(--graphite); margin-top: .15rem; }
.oi-price { font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.offer-item:not(.is-on) .oi-price { color: var(--graphite); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.offer-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 1rem; border-top: 2px dashed var(--line); }
.offer-total span { font-size: var(--fs-sm); color: var(--graphite); }
.offer-total b { font-family: var(--font-display); font-stretch: 80%; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.offer-total b.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--ok); } }
.offer-actions { display: grid; gap: .5rem; margin-top: 1rem; }
.offer-actions .btn { width: 100%; }
.offer-result { align-items: center; justify-content: center; text-align: center; gap: .8rem; }
.result-ico { width: 4.2rem; height: 4.2rem; border-radius: 50%; display: grid; place-items: center; color: var(--white); animation: pop .55s var(--ease) both; }
.result-ico .ico { width: 2rem; height: 2rem; stroke-width: 3; }
.result-ico.ok { background: var(--ok); box-shadow: 0 0 0 10px var(--ok-soft); }
.result-ico.no { background: var(--no); box-shadow: 0 0 0 10px #FDECEC; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } 70% { transform: scale(1.08); } }
.result-title { font-family: var(--font-display); font-stretch: 82%; font-weight: 800; font-size: 1.6rem; }
.result-text { color: var(--graphite); font-size: var(--fs-sm); }
.result-text b { color: var(--asphalt); }

/* =========================================================
   CO JEST / CO DOCHODZI
   ========================================================= */
.roadmap { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.roadmap-col h3 { margin-bottom: 1.2rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 800; padding: .45rem .9rem; border-radius: 999px; }
.pill-now { background: var(--ok-soft); color: var(--ok); }
.pill-now::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; animation: live 1.8s ease-in-out infinite; }
@keyframes live { 50% { opacity: .3; } }
.pill-next { background: var(--signal-soft); color: #7A5600; }
.roadmap-col:first-child .feat-list { grid-template-columns: 1fr 1fr; }
.feat-list { display: grid; gap: .25rem 1.5rem; }
.feat-all { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 2rem; }
.feat-list li { display: flex; gap: .9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.feat-list .ico { width: 1.5rem; height: 1.5rem; margin-top: .1rem; stroke-width: 1.8; }
.feat-list b { display: block; font-size: var(--fs-md); }
.feat-list span { color: var(--graphite); font-size: var(--fs-sm); line-height: 1.45; }
.feat-list span b { color: var(--asphalt); }
.roadmap-next { padding: 1.5rem 1.6rem .6rem; border-radius: var(--r-lg); border: 2px dashed var(--line); align-self: start; }
.roadmap-next .feat-list li:first-child { border-top: 0; }

/* =========================================================
   KROKI (sekcja ciemna)
   ========================================================= */
.section-dark { background: var(--asphalt); color: var(--white); overflow: hidden; }
.section-dark .section-head p { color: #B9C0CA; }
.section-dark .section-head h2::before { background: linear-gradient(var(--signal) 0 60%, var(--white) 60% 100%); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: s; }
.steps::before {
  /* przerywana linia jak pas na jezdni */
  content: ""; position: absolute; left: 1.6rem; right: 1.6rem; top: 1.6rem; height: 4px;
  background: repeating-linear-gradient(90deg, var(--white) 0 26px, transparent 26px 46px);
  opacity: .35;
}
.reveal.is-in.steps::before { animation: roadMove 1.6s linear infinite; }
@keyframes roadMove { to { background-position: 46px 0; } }
.steps li { position: relative; }
.step-no {
  display: grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--signal); color: var(--asphalt); position: relative;
  font-family: var(--font-display); font-stretch: 80%; font-weight: 800; font-size: 1.4rem;
  box-shadow: 0 0 0 8px var(--asphalt);
}
.steps h3 { margin-top: 1.4rem; font-size: var(--fs-lg); }
.steps p { margin-top: .5rem; color: #B9C0CA; font-size: var(--fs-sm); }
.reveal .steps li, .steps.reveal li { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.steps.reveal.is-in li { opacity: 1; transform: none; }
.steps.reveal.is-in li:nth-child(2) { transition-delay: .12s; }
.steps.reveal.is-in li:nth-child(3) { transition-delay: .24s; }
.steps.reveal.is-in li:nth-child(4) { transition-delay: .36s; }

/* =========================================================
   CENNIK
   ========================================================= */
.pricing-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.pricing-copy p { margin-top: 1rem; color: var(--graphite); font-size: var(--fs-lg); max-width: 44ch; }
.pricing-copy h2 { position: relative; padding-left: 1.1rem; }
.pricing-copy h2::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 6px; border-radius: 3px; background: linear-gradient(var(--signal) 0 60%, var(--asphalt) 60% 100%); }

.billing-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 2rem;
  padding: 5px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line);
}
.billing-switch button {
  position: relative; z-index: 1; border: 0; background: none; padding: .75rem 1.4rem;
  font-weight: 800; font-size: var(--fs-sm); border-radius: 999px; color: var(--graphite);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: color .25s;
}
.billing-switch button[aria-checked="true"] { color: var(--white); }
.switch-thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
  border-radius: 999px; background: var(--asphalt); transition: transform .4s var(--ease);
}
.billing-switch[data-mode="yearly"] .switch-thumb { transform: translateX(100%); }
.save { font-size: .72rem; padding: .15rem .45rem; border-radius: 999px; background: var(--signal); color: var(--asphalt); }

.price-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 2px solid var(--asphalt); border-radius: var(--r-lg);
  padding: 2.4rem clamp(1.4rem, 3vw, 2.4rem) 2rem;
  box-shadow: 14px 14px 0 var(--mist), 14px 14px 0 2px var(--line);
}
.price-card-stripe { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--hazard); background-size: 45px 45px; }
.price-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.price-top h3 { font-size: 1.6rem; }
.price-badge { font-size: var(--fs-xs); font-weight: 800; padding: .35rem .75rem; border-radius: 999px; background: var(--ok-soft); color: var(--ok); transition: opacity .3s, transform .3s; }
.price-badge.is-hidden { opacity: 0; transform: translateY(-6px); }
.price { display: flex; align-items: flex-end; gap: .7rem; margin-top: 1.2rem; }
.amount { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: clamp(4rem, 3rem + 4vw, 6rem); line-height: .85; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.unit { font-weight: 700; color: var(--graphite); line-height: 1.25; padding-bottom: .35rem; font-size: var(--fs-sm); }
.price-sub { margin-top: .9rem; font-size: var(--fs-sm); color: var(--graphite); }
.price-old { margin-top: .3rem; font-size: var(--fs-sm); color: var(--graphite); text-decoration: line-through; min-height: 1.5em; transition: opacity .3s; }
.price-old.is-hidden { opacity: 0; }
.included { display: grid; gap: 1rem; margin: 1.6rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.included li { display: flex; gap: .9rem; }
.included .ico { width: 1.5rem; height: 1.5rem; padding: .3rem; box-sizing: content-box; border-radius: 10px; background: var(--signal-soft); }
.included b { display: block; }
.included span { font-size: var(--fs-sm); color: var(--graphite); line-height: 1.45; }
.included span b { color: var(--asphalt); font-size: var(--fs-md); }
.price-ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.price-ctas .btn-primary { flex: 1 1 260px; }
.price-ctas .btn-ghost { flex: 0 1 auto; }
.price-vat { margin-top: 1rem; font-size: var(--fs-xs); color: var(--graphite); }

/* =========================================================
   GALERIA
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 1rem; }
.g-item {
  position: relative; overflow: hidden; border-radius: var(--r-md); border: 0; padding: 0;
  background: var(--white); box-shadow: var(--shadow-1); grid-column: span 4;
}
.g-item:nth-child(6n + 1) { grid-column: span 7; grid-row: span 2; }
.g-item:nth-child(6n + 2), .g-item:nth-child(6n + 3) { grid-column: span 5; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .6s var(--ease); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23, 26, 31, .7), transparent 55%);
  opacity: 0; transition: opacity .35s;
}
.g-item figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 1; text-align: left;
  color: var(--white); font-weight: 700; font-size: var(--fs-sm);
  opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease);
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); }
.g-item:hover::after, .g-item:focus-visible::after, .g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-empty { grid-column: 1 / -1; padding: 3rem; text-align: center; border: 2px dashed var(--line); border-radius: var(--r-lg); color: var(--graphite); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 1.5rem; background: rgba(15, 17, 21, .92); animation: fade .25s both;
}
@keyframes fade { from { opacity: 0; } }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .8rem; min-width: 0; }
.lb-figure img { max-height: calc(100vh - 8rem); width: auto; max-width: 100%; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: rise .35s var(--ease) both; background: var(--white); }
.lb-figure figcaption { color: #D8DDE3; font-size: var(--fs-sm); text-align: center; }
.lb-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--white); transition: background-color .2s; }
.lb-btn:hover { background: var(--signal); color: var(--asphalt); }
.lb-close { position: absolute; top: 1rem; right: 1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-weight: 800; font-size: var(--fs-lg);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { width: 1.9rem; height: 1.9rem; padding: .3rem; box-sizing: border-box; border-radius: 50%; background: var(--mist); transition: transform .35s var(--ease), background-color .25s; }
.faq details[open] summary .ico { transform: rotate(45deg); background: var(--signal); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 3rem 1.4rem 0; color: var(--graphite); }
.faq details[open] .faq-body { animation: rise .4s var(--ease); }

/* =========================================================
   FORMULARZ
   ========================================================= */
.section-contact { background: var(--mist); padding-top: calc(clamp(4rem, 9vw, 7rem) + 14px); }
.hazard-top { position: absolute; top: 0; left: 0; right: 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-copy h2 { position: relative; padding-left: 1.1rem; }
.contact-copy h2::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 6px; border-radius: 3px; background: linear-gradient(var(--signal) 0 60%, var(--asphalt) 60% 100%); }
.contact-copy > p { margin-top: 1rem; color: var(--graphite); font-size: var(--fs-lg); }
.contact-points { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-points li { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.contact-points .ico { width: 2.2rem; height: 2.2rem; padding: .5rem; box-sizing: border-box; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }

.lead-form {
  background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-2); padding: clamp(1.4rem, 3vw, 2.4rem);
}
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .35rem; background: var(--mist); border-radius: 999px; }
.mode-switch input { position: absolute; opacity: 0; pointer-events: none; }
.mode-switch span {
  display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1rem; border-radius: 999px;
  font-weight: 800; font-size: var(--fs-sm); color: var(--graphite); cursor: pointer; transition: background-color .25s, color .25s, box-shadow .25s;
}
.mode-switch input:checked + span { background: var(--white); color: var(--asphalt); box-shadow: var(--shadow-1); }
.mode-switch input:checked + span .ico { color: var(--signal-deep); }
.mode-switch input:focus-visible + span { outline: 3px solid var(--eu); outline-offset: 2px; }

.progress { height: 6px; border-radius: 3px; background: var(--mist); margin-top: 1.6rem; overflow: hidden; }
.progress span { display: block; height: 100%; width: 50%; background: var(--hazard); background-size: 18px 18px; border-radius: inherit; transition: width .5s var(--ease); animation: progressMove 1s linear infinite; }
@keyframes progressMove { to { background-position: 18px 0; } }
.step-label { margin-top: .6rem; font-size: var(--fs-xs); font-weight: 700; color: var(--graphite); }

.form-step { animation: rise .45s var(--ease) both; }
.field { border: 0; padding: 0; margin: 1.4rem 0 0; min-width: 0; }
.field legend, .field label { display: block; font-weight: 800; font-size: var(--fs-sm); margin-bottom: .55rem; padding: 0; }
.field legend small { display: block; font-weight: 500; color: var(--graphite); font-size: var(--fs-xs); margin-top: .1rem; }
.req { color: var(--no); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--asphalt); box-shadow: 0 0 0 4px var(--signal-soft); }
.field.has-error input, .field.has-error textarea { border-color: var(--no); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 700; font-size: var(--fs-sm); cursor: pointer; user-select: none;
  transition: border-color .2s, background-color .2s, transform .15s;
}
.chip span .ico { width: 1.05rem; height: 1.05rem; }
.chip:hover span { border-color: var(--graphite); }
.chip input:checked + span { background: var(--asphalt); border-color: var(--asphalt); color: var(--white); }
.chip input:checked + span .ico { color: var(--signal); }
.chip input:active + span { transform: scale(.96); }
.chip input:focus-visible + span { outline: 3px solid var(--eu); outline-offset: 2px; }
fieldset.has-error .chip span { border-color: #F0B4B7; }

.error { display: none; margin-top: .45rem; color: var(--no); font-size: var(--fs-xs); font-weight: 700; }
.has-error > .error, .has-error + .error, .consent.has-error + .error { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.4rem; font-size: var(--fs-xs); color: var(--graphite); line-height: 1.5; cursor: pointer; }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .1rem; flex: none; accent-color: var(--asphalt); }
.consent a { color: var(--asphalt); font-weight: 700; }
.consent.has-error { color: var(--no); }

.form-nav { display: flex; justify-content: flex-end; gap: .7rem; margin-top: 1.8rem; flex-wrap: wrap; }
.form-nav [data-prev] { margin-right: auto; }
.form-status { margin-top: 1rem; font-size: var(--fs-sm); font-weight: 700; }
.form-status.is-error { color: var(--no); }
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading::after { content: ""; width: 1rem; height: 1rem; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-done { text-align: center; padding: 2.5rem 1rem 1.5rem; display: grid; justify-items: center; gap: .9rem; }
.form-done h3 { font-size: var(--fs-2xl); }
.form-done p { color: var(--graphite); max-width: 40ch; }

/* =========================================================
   STOPKA
   ========================================================= */
.site-footer { background: var(--asphalt); color: #C9CFD7; padding: 4rem 0 2rem; font-size: var(--fs-sm); position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--hazard); background-size: 30px 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 800; color: var(--white); margin-bottom: .9rem; letter-spacing: 0; }
.site-footer nav { display: grid; gap: .5rem; align-content: start; justify-items: start; }
.site-footer a, .site-footer .link-btn { color: #C9CFD7; text-decoration: none; font-size: var(--fs-sm); }
.site-footer a:hover, .site-footer .link-btn:hover { color: var(--signal); }
.brand-light { color: var(--white); }
.brand-light .brand-mark i:nth-child(1) { background: var(--white); }
.footer-about { margin-top: 1rem; max-width: 34ch; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #2E343D; font-size: var(--fs-xs); }

/* =========================================================
   COOKIES
   ========================================================= */
.cookie {
  position: fixed; z-index: 150; left: 1rem; right: 1rem; bottom: 1rem; margin-inline: auto; max-width: 880px;
  display: flex; gap: 1.5rem; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  padding: 1.25rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 24px 64px -16px rgba(23, 26, 31, .4);
  animation: cookieIn .6s .8s var(--ease) both;
}
@keyframes cookieIn { from { opacity: 0; transform: translateY(30px); } }
.cookie::before { content: ""; position: absolute; left: 1.4rem; top: -1px; width: 80px; height: 5px; border-radius: 0 0 4px 4px; background: var(--hazard); background-size: 14px 14px; }
.cookie-main { display: flex; gap: 1rem; flex: 1 1 420px; }
.cookie-ico { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: var(--signal-soft); }
.cookie h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.cookie p { font-size: var(--fs-xs); color: var(--graphite); line-height: 1.5; }
.cookie p a { color: var(--asphalt); font-weight: 700; }
.cookie-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-prefs { display: grid; gap: .7rem; margin-top: 1rem; }
.toggle { display: flex; gap: .75rem; align-items: flex-start; font-size: var(--fs-xs); color: var(--graphite); cursor: pointer; }
.toggle b { display: block; color: var(--asphalt); font-size: var(--fs-sm); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.tg { flex: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line); position: relative; transition: background-color .25s; margin-top: .1rem; }
.tg::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.toggle input:checked + .tg { background: var(--ok); }
.toggle input:checked + .tg::after { transform: translateX(16px); }
.toggle input:disabled + .tg { opacity: .6; }
.toggle input:focus-visible + .tg { outline: 3px solid var(--eu); outline-offset: 2px; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1080px) {
  .main-nav { gap: 1.1rem; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-grid; }
  .header-actions .btn-primary { display: none; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-md); }
  .main-nav a::after { display: none; }
  .nav-cta-mobile { display: block; margin-top: 1rem; text-align: center; border: 0 !important; background: var(--signal); border-radius: 999px; }

  .hero-grid, .tab-panel, .feature, .pricing-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .feature-flip .feature-copy { order: 0; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .roadmap { grid-template-columns: 1fr; }
  .feat-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .g-item, .g-item:nth-child(6n + 1), .g-item:nth-child(6n + 2), .g-item:nth-child(6n + 3) { grid-column: span 1; grid-row: span 1; }
  .g-item:nth-child(3n + 1) { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 640px) {
  .wrap { width: min(1200px, 100% - 2rem); }
  .tab-list { grid-template-columns: repeat(5, minmax(84px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list [role="tab"] { font-size: var(--fs-xs); padding: .8rem .35rem; }
  .tab-list [role="tab"] .ico { width: 1.5rem; height: 1.5rem; }
  .panel-mock { padding: 1rem .5rem; }
  .roadmap-col:first-child .feat-list, .feat-all { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .float-sms { right: -.25rem; }
  .float-ok { left: -.25rem; }
  .board { padding: .9rem; }
  .board-list li { grid-template-columns: 1fr auto; }
  .board-list .plate { grid-column: 1 / -1; justify-self: start; }
  .hero-ctas .btn { width: 100%; }
  .hero-lead { font-size: var(--fs-md); }
  .price-ctas .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr; padding: 4rem .75rem 1.5rem; }
  .lb-prev, .lb-next { position: absolute; bottom: 1.25rem; }
  .lb-prev { left: calc(50% - 3.5rem); }
  .lb-next { right: calc(50% - 3.5rem); }
  .lb-figure img { max-height: calc(100vh - 11rem); }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; }
  .mode-switch span { font-size: var(--fs-xs); padding: .65rem .5rem; }
  .mode-switch .ico { display: none; }
  .float-sms { top: -1rem; }
}

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