@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════════════════
   BOBRY SERWIS — arkusz główny v3.0
   Warsztat samochodowy Bobrowniki

   Zasada nadrzędna dla animacji: ruszamy TYLKO transform, opacity
   i clip-path. Nic, co zmusza przeglądarkę do przeliczenia układu.
   Dzięki temu strona ma dużo efektów i nadal chodzi płynnie na telefonie.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Animowalne właściwości własne ──────────────────────────────────── */
@property --spot-x { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --spot-y { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
@property --gauge  { syntax: '<number>';     inherits: false; initial-value: 0; }

/* ════════════════════════════════════════════════════════════════════
   1. TOKENY
   ════════════════════════════════════════════════════════════════════ */
:root {
  /* Baza ciemna */
  --ink-900: #0A0D12;
  --ink-850: #0D1117;
  --ink-800: #10141B;
  --ink-700: #171C25;
  --ink-600: #212836;
  --ink-500: #2E3646;

  /* Akcent sygnałowy.
     Żółty NIGDY jako tekst na jasnym tle — kontrast 1.4:1 jest
     nieczytelny. Na jasnym używamy --signal-deep. */
  --signal:      #FFE01B;
  --signal-hi:   #FFF04D;
  --signal-lo:   #E5C900;
  --signal-deep: #8A6100;

  /* Baza jasna */
  --paper:     #FFFFFF;
  --paper-50:  #F7F8FA;
  --paper-100: #EDEFF3;
  --paper-200: #DFE3EA;

  /* Neutralne */
  --steel-700: #3D4657;
  --steel-600: #5A6474;
  --steel-500: #798394;
  --steel-400: #8B95A6;

  /* Statusy */
  --ok:    #22C55E;
  --alert: #EF4444;

  /* Typografia */
  --f-head: 'Montserrat', system-ui, -apple-system, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rytm */
  --shell:    1240px;
  --shell-px: 1.5rem;
  --sec:      clamp(3.5rem, 8vw, 7rem);
  --sec-sm:   clamp(2.5rem, 5vw, 4rem);
  --gap:      1.5rem;

  /* Geometria */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Cienie (na jasnym) */
  --sh-sm: 0 1px 2px rgba(10,13,18,.06), 0 1px 3px rgba(10,13,18,.04);
  --sh-md: 0 4px 12px rgba(10,13,18,.07), 0 2px 4px rgba(10,13,18,.04);
  --sh-lg: 0 12px 32px rgba(10,13,18,.11), 0 4px 8px rgba(10,13,18,.05);
  --sh-xl: 0 24px 56px rgba(10,13,18,.16), 0 8px 16px rgba(10,13,18,.06);
  /* Na ciemnym cienie są niewidoczne — operujemy światłem */
  --glow:    0 0 24px rgba(255,224,27,.20);
  --glow-hi: 0 0 40px rgba(255,224,27,.32);

  /* Krzywe */
  --e-out:    cubic-bezier(.16, 1, .3, 1);
  --e-in-out: cubic-bezier(.65, 0, .35, 1);
  --e-spring: cubic-bezier(.34, 1.4, .64, 1);

  /* Czasy */
  --t-1: 120ms;
  --t-2: 240ms;
  --t-3: 420ms;
  --t-4: 700ms;

  /* Ziarno — maskuje banding gradientów na dużych ciemnych polach */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ════════════════════════════════════════════════════════════════════
   2. RESET
   ════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, picture { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:where(svg) { flex-shrink: 0; }

/* Focus tylko z klawiatury, w kolorze marki */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.section--dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: var(--signal); }

::selection { background: var(--signal); color: var(--ink-900); }

/* ════════════════════════════════════════════════════════════════════
   3. TYPOGRAFIA
   ════════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.022em;
  color: var(--ink-900);
  text-wrap: balance;
}

h1 { font-size: clamp(2.125rem, 5.4vw, 4rem);   font-weight: 900; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2.2vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; }

p { text-wrap: pretty; }
p + p { margin-top: 1rem; }
strong, b { font-weight: 600; }
small { font-size: .8125rem; }

/* Liczby o stałej szerokości — bez tego animowane licznki „skaczą” */
.tnum, .stat__num, .price__val, .calc__total, .pkg__price {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--f-head);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal-deep);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: currentColor;
  opacity: .55;
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--signal); }

.lead { font-size: 1.0625rem; line-height: 1.75; color: var(--steel-600); }
.section--dark .lead { color: rgba(255,255,255,.62); }

/* ════════════════════════════════════════════════════════════════════
   4. UKŁAD
   ════════════════════════════════════════════════════════════════════ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--shell-px);
}
.shell--narrow { max-width: 860px; }
.shell--wide   { max-width: 1440px; }

.section {
  position: relative;
  padding-block: var(--sec);
}
.section--sm { padding-block: var(--sec-sm); }
.section--flush-top { padding-top: 0; }

.section--paper { background: var(--paper); }
.section--soft  { background: var(--paper-50); }

/* Sekcje ciemne: tekstura siatki technicznej + ziarno + reflektor */
.section--dark {
  background: var(--ink-900);
  color: rgba(255,255,255,.74);
  isolation: isolate;
}
.section--dark-2 { background: var(--ink-800); }
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: #fff; }

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,.028) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 68px);
  animation: grid-drift 90s linear infinite;
}
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    circle 420px at var(--spot-x) var(--spot-y),
    rgba(255,224,27,.055), transparent 68%
  );
  transition: opacity var(--t-3);
}
@keyframes grid-drift {
  to { background-position: 68px 68px, 68px 68px; }
}

/* Siatki */
.grid      { display: grid; gap: var(--gap); }
.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)); }
.grid--auto{ grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--tight { gap: 1rem; }

.row      { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--center  { justify-content: center; }
.stack    { display: flex; flex-direction: column; gap: 1rem; }

.center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 3.5rem; }

/* Nagłówek sekcji */
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 720px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head__title { margin-top: .875rem; }
.sec-head__lead  { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.75; color: var(--steel-600); }
.section--dark .sec-head__lead { color: rgba(255,255,255,.62); }
.sec-head--center .sec-head__lead { margin-inline: auto; }

/* Przejścia między sekcjami — miękkie, nie płaska krawędź */
.fade-to-dark, .fade-to-light {
  position: relative;
  height: 120px;
  margin-bottom: -1px;
  pointer-events: none;
}
.fade-to-dark  { background: linear-gradient(to bottom, var(--paper) 0%, var(--ink-900) 100%); }
.fade-to-light { background: linear-gradient(to bottom, var(--ink-900) 0%, var(--paper) 100%); }

.skew-divider {
  height: clamp(40px, 5vw, 80px);
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 100% 55%, 0 100%);
}

/* ════════════════════════════════════════════════════════════════════
   5. PRZYCISKI
   ════════════════════════════════════════════════════════════════════ */
.btn {
  --btn-bg: var(--signal);
  --btn-fg: var(--ink-900);
  --btn-bd: var(--signal);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .9375rem 1.75rem;
  font-family: var(--f-head);
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1;
  white-space: nowrap;
  border: 2px solid var(--btn-bd);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-2) var(--e-out),
              box-shadow var(--t-2) var(--e-out),
              background-color var(--t-2),
              border-color var(--t-2),
              color var(--t-2);
}
/* Metaliczny przebłysk na hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform var(--t-4) var(--e-out);
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--primary:hover { background: var(--signal-hi); border-color: var(--signal-hi); box-shadow: var(--glow-hi); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,.28);
}
.btn--ghost::after { background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.14) 50%, transparent 80%); }
.btn--ghost:hover { --btn-bd: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  --btn-bd: var(--paper-200);
}
.btn--outline:hover { --btn-bg: var(--ink-900); --btn-fg: #fff; --btn-bd: var(--ink-900); }

.btn--dark { --btn-bg: var(--ink-900); --btn-fg: #fff; --btn-bd: var(--ink-900); }
.btn--dark:hover { --btn-bg: var(--ink-700); --btn-bd: var(--ink-700); }

.btn--lg { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }
.btn--sm { padding: .625rem 1.25rem;  font-size: .8125rem; }
.btn--block { width: 100%; }

.btn-group { display: flex; flex-wrap: wrap; gap: .875rem; align-items: center; }

/* Link ze strzałką, która wysuwa się na hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-head);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--signal-deep);
  transition: gap var(--t-2) var(--e-out), color var(--t-2);
}
.link-arrow:hover { gap: .875rem; color: var(--ink-900); }
.section--dark .link-arrow { color: var(--signal); }
.section--dark .link-arrow:hover { color: var(--signal-hi); }

/* ════════════════════════════════════════════════════════════════════
   6. ODZNAKI / PIGUŁKI
   ════════════════════════════════════════════════════════════════════ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  padding: .375rem .875rem;
  font-family: var(--f-head);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.pill--signal { background: var(--signal); color: var(--ink-900); }
.pill--soft   { background: rgba(255,224,27,.14); color: var(--signal-deep); }
.pill--dark   { background: var(--ink-900); color: #fff; }
.pill--glass  { background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(8px); }
.section--dark .pill--soft { background: rgba(255,224,27,.13); color: var(--signal); }

/* Status otwarcia — kropka pulsuje tylko gdy otwarte */
.status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.status__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--steel-500);
  flex-shrink: 0;
}
.is-open .status__dot {
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse-dot 2.4s var(--e-out) infinite;
}
@keyframes pulse-dot {
  70%, 100% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* ════════════════════════════════════════════════════════════════════
   7. NAGŁÓWEK
   ════════════════════════════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 9999;
  padding: .75rem 1.25rem;
  background: var(--signal);
  color: var(--ink-900);
  font-family: var(--f-head);
  font-weight: 700;
  border-radius: 0 0 var(--r-md) var(--r-md);
  transition: top var(--t-2);
}
.skip-link:focus { top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  background: rgba(10,13,18,.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background var(--t-3), border-color var(--t-3), box-shadow var(--t-3);
  view-transition-name: site-header;
}
.site-header.is-stuck {
  background: rgba(10,13,18,.96);
  border-bottom-color: rgba(255,255,255,.09);
  box-shadow: 0 8px 32px rgba(0,0,0,.42);
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: 74px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; transition: opacity var(--t-2); }
.brand:hover { opacity: .82; }
.brand img { height: 40px; width: auto; }

.header__meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.header__call {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .875rem .5rem .75rem;
  border: 1px solid rgba(255,224,27,.28);
  border-radius: var(--r-pill);
  transition: border-color var(--t-2), background var(--t-2), transform var(--t-2) var(--e-out);
}
.header__call:hover {
  border-color: var(--signal);
  background: rgba(255,224,27,.09);
  transform: translateY(-1px);
}
.header__call svg { color: var(--signal); }
.header__call-txt { display: flex; flex-direction: column; line-height: 1.15; }
.header__call-num {
  font-family: var(--f-head);
  font-size: .9375rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* ── Nawigacja ── */
.nav > ul { display: flex; align-items: center; gap: .125rem; }
.nav__item { position: relative; }

.nav__link {
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .5625rem .8125rem;
  font-family: var(--f-head);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: -.005em;
  color: rgba(255,255,255,.76);
  border-radius: var(--r-sm);
  transition: color var(--t-1), background var(--t-1);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav__item.is-current > .nav__link { color: var(--signal); }
.nav__caret { display: inline-flex; transition: transform var(--t-2) var(--e-out); opacity: .6; }
.nav__item.has-sub:hover .nav__caret { transform: rotate(180deg); }
.nav__expand { display: none; }

/* Podmenu */
.nav__sub {
  position: absolute;
  top: calc(100% + .5rem);
  left: -.25rem;
  min-width: 244px;
  padding: .4375rem;
  background: var(--ink-800);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md);
  box-shadow: 0 20px 48px rgba(0,0,0,.5);
  display: flex;
  flex-direction: column;
  gap: .0625rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.98);
  transform-origin: top left;
  transition: opacity var(--t-2) var(--e-out),
              transform var(--t-2) var(--e-out),
              visibility var(--t-2);
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav__sub .nav__link {
  font-size: .8125rem;
  padding: .625rem .875rem;
  border-radius: var(--r-sm);
}
.nav__sub .nav__link:hover { background: rgba(255,224,27,.11); color: var(--signal); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 9px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-2) var(--e-out), opacity var(--t-1);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════════════════════════
   8. HERO
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  padding-top: 74px;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}

/* Warstwa 1 — zdjęcie */
.hero__media {
  position: absolute;
  inset: -6% 0 0;
  z-index: -3;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Kadr poziomy po przycięciu do panoramy traci góra/dół, więc
     sterujemy tylko osią Y — 42% trzyma auto i logo na ścianie
     w kadrze, obcina nadmiar posadzki. */
  object-position: center 42%;
  animation: hero-settle 1.6s var(--e-out) both;
}
@keyframes hero-settle {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

/* Warstwa 2 — SYGNATURA: stopniowe przyciemnianie, nasuwane od lewej.
   clip-path animuje się na GPU, więc jest darmowe. */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  /* Pięć punktów zamiast dwóch — przejście jest płynniejsze i nie
     widać „paska” gradientu. Prawy koniec nie schodzi do zera, bo
     jasna hala w tle rozświetlałaby narożnik i biła się z ciemną
     resztą strony. */
  background: linear-gradient(
    100deg,
    rgba(10,13,18,.975)   0%,
    rgba(10,13,18,.930)  27%,
    rgba(10,13,18,.780)  49%,
    rgba(10,13,18,.520)  72%,
    rgba(10,13,18,.340) 100%
  );
  animation: shade-sweep 1.15s var(--e-out) .18s both;
}
@keyframes shade-sweep {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

/* Warstwa 3 — refleks lampy warsztatowej na lakierze */
.hero__gleam {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(ellipse 44% 58% at 69% 44%, rgba(255,224,27,.085), transparent 70%);
  animation: fade-in 2s var(--e-out) .9s both;
}

/* Warstwa 4 — zejście do sekcji poniżej, bez widocznej krawędzi */
.hero__foot {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to top, var(--ink-900) 4%, transparent 100%);
}

/* Warstwa 5 — ziarno */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .035;
  mix-blend-mode: overlay;
}

.hero__inner { position: relative; z-index: 1; max-width: 660px; padding-block: 4rem; }

.hero .eyebrow { animation: rise-in .7s var(--e-out) .48s both; }

.hero__title { margin-top: 1.375rem; color: #fff; }
.hero__title span {
  display: block;
  overflow: hidden;
}
.hero__title span > i {
  display: block;
  font-style: normal;
  animation: mask-up .9s var(--e-out) both;
}
.hero__title span:nth-child(1) > i { animation-delay: .58s; }
.hero__title span:nth-child(2) > i { animation-delay: .71s; color: var(--signal); }

@keyframes mask-up {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.hero__lead {
  margin-top: 1.5rem;
  max-width: 33rem;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  animation: rise-in .8s var(--e-out) .86s both;
}

.hero__cta { margin-top: 2.5rem; animation: rise-in .8s var(--e-out) .98s both; }

/* Mikro-dowody pod CTA */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.1);
  animation: rise-in .8s var(--e-out) 1.1s both;
}
.hero__proof-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .875rem;
  color: rgba(255,255,255,.66);
}
.hero__proof-item svg { color: var(--signal); }
.hero__proof-item b { color: #fff; font-weight: 700; }

/* Strzałka przewijania */
.hero__scroll {
  position: absolute;
  inset: auto 0 1.75rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .375rem;
  font-family: var(--f-head);
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.34);
  animation: fade-in 1s var(--e-out) 1.5s both;
}
.hero__scroll svg { animation: nudge 2.2s var(--e-in-out) infinite; }
@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(7px); opacity: 1; }
}

/* ════════════════════════════════════════════════════════════════════
   9. PASEK ZAUFANIA
   ════════════════════════════════════════════════════════════════════ */
.trust {
  position: relative;
  background: var(--ink-850);
  border-block: 1px solid rgba(255,255,255,.06);
  padding-block: 1.375rem;
  z-index: 2;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: .8125rem;
  position: relative;
}
.trust__item + .trust__item::before {
  content: '';
  position: absolute;
  left: -.5rem; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 34px;
  background: rgba(255,255,255,.09);
}
.trust__ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(255,224,27,.1);
  border: 1px solid rgba(255,224,27,.16);
  color: var(--signal);
  transition: background var(--t-2), transform var(--t-2) var(--e-out);
}
.trust__item:hover .trust__ico { background: rgba(255,224,27,.18); transform: scale(1.06); }
.trust__txt { min-width: 0; }
.trust__label {
  font-family: var(--f-head);
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.trust__sub { font-size: .6875rem; color: var(--steel-400); line-height: 1.4; }

/* ════════════════════════════════════════════════════════════════════
   10. KARTY
   ════════════════════════════════════════════════════════════════════ */
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-lg);
  transition: transform var(--t-3) var(--e-out),
              box-shadow var(--t-3) var(--e-out),
              border-color var(--t-2);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: transparent; }
.card__body { padding: 1.75rem; }
.section--dark .card {
  background: var(--ink-700);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.72);
}
.section--dark .card:hover {
  border-color: rgba(255,224,27,.26);
  box-shadow: var(--glow);
}

/* ── Karta usługi: żółty pasek wysuwa się od dołu ── */
.svc {
  position: relative;
  padding: 1.875rem;
  background: var(--paper);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-3) var(--e-out),
              box-shadow var(--t-3) var(--e-out),
              border-color var(--t-2);
}
.svc::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t-3) var(--e-out);
}
.svc:hover { transform: translateY(-4px); border-color: var(--paper-200); box-shadow: var(--sh-lg); }
.svc:hover::before { transform: scaleY(1); }

.svc__ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.25rem;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--signal), var(--signal-lo));
  color: var(--ink-900);
  box-shadow: 0 4px 14px rgba(255,224,27,.28);
  transition: transform var(--t-3) var(--e-spring);
}
.svc:hover .svc__ico { transform: scale(1.08) rotate(-4deg); }

.svc__num {
  position: absolute;
  top: 1.5rem; right: 1.625rem;
  font-family: var(--f-head);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--paper-100);
  user-select: none;
  transition: color var(--t-3);
}
.svc:hover .svc__num { color: rgba(255,224,27,.34); }

.svc__title { margin-bottom: .5rem; }
.svc__text  { font-size: .9375rem; line-height: 1.68; color: var(--steel-600); }

.section--dark .svc { background: var(--ink-700); border-color: rgba(255,255,255,.08); }
.section--dark .svc__num { color: rgba(255,255,255,.06); }
.section--dark .svc__text { color: rgba(255,255,255,.62); }

/* ── Filar (ikona + tekst obok) ── */
.pillar { display: flex; gap: 1.125rem; align-items: flex-start; }
.pillar__ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(255,224,27,.12);
  border: 1px solid rgba(255,224,27,.24);
  color: var(--signal-deep);
}
.section--dark .pillar__ico { color: var(--signal); }
.pillar__title { font-size: 1rem; margin-bottom: .25rem; }
.pillar__text  { font-size: .9rem; color: var(--steel-600); line-height: 1.65; }
.section--dark .pillar__text { color: rgba(255,255,255,.6); }

/* ── Kolaż zdjęcia z odznaką ── */
.shot { position: relative; padding: 0 1.75rem 1.75rem 0; }
.shot__frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.shot__frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.shot__badge {
  position: absolute;
  inset: auto 0 0 auto;
  min-width: 138px;
  padding: 1.25rem 1.5rem;
  text-align: center;
  background: var(--signal);
  color: var(--ink-900);
  border-radius: var(--r-lg);
  box-shadow: 0 12px 32px rgba(255,224,27,.3);
}
.shot__badge b {
  display: block;
  font-family: var(--f-head);
  font-size: 2.375rem;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.shot__badge span {
  display: block;
  margin-top: .25rem;
  font-family: var(--f-head);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.3;
}
/* Obwódka „skanująca” — bardzo subtelna, dodaje techniczności */
.shot__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,224,27,.2);
  border-radius: var(--r-xl);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════════════════════
   11. PLAN — 3 KROKI
   ════════════════════════════════════════════════════════════════════ */
.plan { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.plan__line {
  position: absolute;
  top: 42px;
  left: 16.6%; right: 16.6%;
  height: 2px;
  overflow: hidden;
}
.plan__line::before {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--signal) 12%, var(--signal) 88%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--e-out);
}
.plan.is-in .plan__line::before { transform: scaleX(1); }

.step { position: relative; text-align: center; }
.step__num {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink-900);
  font-family: var(--f-head);
  font-size: 1.625rem;
  font-weight: 900;
  box-shadow: 0 0 0 8px rgba(255,224,27,.09), var(--glow);
  transition: transform var(--t-3) var(--e-spring), box-shadow var(--t-3);
}
.step:hover .step__num {
  transform: scale(1.09);
  box-shadow: 0 0 0 12px rgba(255,224,27,.13), var(--glow-hi);
}
.step__title { margin-bottom: .5rem; }
.step__text { font-size: .9375rem; color: rgba(255,255,255,.62); }
.section--soft .step__text, .section--paper .step__text { color: var(--steel-600); }

/* ════════════════════════════════════════════════════════════════════
   12. SUWAK PRZED / PO
   ════════════════════════════════════════════════════════════════════ */
.ba { --pos: 50%; }

.ba__stage {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
  background: var(--ink-800);
}
.ba__layer { position: absolute; inset: 0; }
.ba__layer img { width: 100%; height: 100%; object-fit: cover; }
.ba__layer--after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba__handle {
  position: absolute;
  inset: 0 auto 0 var(--pos);
  z-index: 3;
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 18px rgba(0,0,0,.5);
  pointer-events: none;
}
.ba__grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink-900);
  box-shadow: 0 6px 22px rgba(0,0,0,.4);
  transition: transform var(--t-2) var(--e-out);
}
.ba__stage:hover .ba__grip { transform: translate(-50%, -50%) scale(1.1); }
.ba__stage:focus-visible .ba__grip { transform: translate(-50%, -50%) scale(1.12); }

.ba__tag {
  position: absolute;
  bottom: 1rem;
  z-index: 2;
  padding: .4375rem .875rem;
  font-family: var(--f-head);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.ba__tag--before { left: 1rem;  background: rgba(10,13,18,.78); color: #fff; }
.ba__tag--after  { right: 1rem; background: var(--signal); color: var(--ink-900); }

/* Podpis realizacji */
.ba__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
  margin-top: 1.5rem;
  padding: 1.125rem 1.375rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
}
.section--soft .ba__caption, .section--paper .ba__caption {
  background: var(--paper);
  border-color: var(--paper-200);
}
.ba__caption-title { font-family: var(--f-head); font-weight: 700; font-size: .9375rem; }
.ba__caption-meta {
  display: flex; align-items: center; gap: .4375rem;
  font-size: .8125rem; color: var(--steel-400);
}
.ba__caption-meta svg { color: var(--signal); }
.ba__caption-desc { flex: 1 1 100%; font-size: .875rem; color: var(--steel-400); }
.section--soft .ba__caption-desc { color: var(--steel-600); }

/* Miniatury realizacji — przełącznik */
.ba__thumbs {
  display: flex;
  gap: .625rem;
  margin-top: 1.25rem;
  overflow-x: auto;
  padding-bottom: .375rem;
  scrollbar-width: thin;
}
.ba__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 104px;
  aspect-ratio: 3/2;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .5;
  transition: opacity var(--t-2), border-color var(--t-2), transform var(--t-2) var(--e-out);
}
.ba__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ba__thumb:hover { opacity: .85; transform: translateY(-2px); }
.ba__thumb[aria-selected="true"] { opacity: 1; border-color: var(--signal); }

/* ════════════════════════════════════════════════════════════════════
   13. LICZBY + WSKAŹNIK
   ════════════════════════════════════════════════════════════════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-2), background var(--t-2), transform var(--t-3) var(--e-out);
}
.stat::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  transform: scaleX(0);
  transition: transform var(--t-3) var(--e-out);
}
.stat:hover {
  background: rgba(255,224,27,.05);
  border-color: rgba(255,224,27,.24);
  transform: translateY(-3px);
}
.stat:hover::before { transform: scaleX(1); }
.stat__num {
  font-family: var(--f-head);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 900;
  line-height: 1;
  color: var(--signal);
  letter-spacing: -.03em;
}
.stat__label {
  margin-top: .625rem;
  font-family: var(--f-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
  line-height: 1.4;
}

/* Wskaźnik — nawiązanie do prędkościomierza ze starej strony */
.gauge { display: grid; place-items: center; gap: 1rem; }
.gauge__svg { width: min(260px, 70vw); height: auto; }
.gauge__track { stroke: rgba(255,255,255,.09); }
.gauge__fill {
  stroke: var(--signal);
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(255,224,27,.5));
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 2s var(--e-out);
}
.gauge.is-in .gauge__fill { stroke-dashoffset: calc(var(--len) * (1 - var(--pct))); }
.gauge__needle {
  stroke: #fff;
  stroke-linecap: round;
  transform-origin: 100px 100px;
  transform: rotate(-90deg);
  transition: transform 2s var(--e-out);
}
.gauge.is-in .gauge__needle { transform: rotate(calc(-90deg + var(--pct) * 180deg)); }
.gauge__hub { fill: var(--signal); }
.gauge__val {
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 900;
  fill: #fff;
  text-anchor: middle;
  font-variant-numeric: tabular-nums;
}
.gauge__cap { font-size: .75rem; fill: var(--steel-400); text-anchor: middle; }

/* ════════════════════════════════════════════════════════════════════
   14. OPINIE
   ════════════════════════════════════════════════════════════════════ */
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .625rem 1.125rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-pill);
  font-family: var(--f-head);
  font-size: .875rem;
  font-weight: 600;
  color: #fff;
}
.g-badge__score {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}
.g-badge__stars { color: var(--signal); letter-spacing: .08em; }
.g-badge__meta { color: var(--steel-400); font-weight: 500; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  background: var(--ink-700);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  transition: transform var(--t-3) var(--e-out), border-color var(--t-2), box-shadow var(--t-3);
}
.review:hover {
  transform: translateY(-3px);
  border-color: rgba(255,224,27,.26);
  box-shadow: var(--glow);
}
.review__quote { color: rgba(255,224,27,.22); }
.review__stars { color: var(--signal); font-size: .9375rem; letter-spacing: .1em; }
.review__text {
  flex: 1;
  font-size: .9375rem;
  line-height: 1.72;
  color: rgba(255,255,255,.74);
}
.review__foot {
  display: flex;
  align-items: center;
  gap: .8125rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--signal), var(--signal-lo));
  color: var(--ink-900);
  font-family: var(--f-head);
  font-size: .875rem;
  font-weight: 800;
}
.review__name { font-family: var(--f-head); font-size: .9rem; font-weight: 700; color: #fff; }
.review__date { font-size: .75rem; color: var(--steel-400); }

/* Kafel zachęty do opinii */
.review--cta {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255,224,27,.04);
  border-style: dashed;
  border-color: rgba(255,224,27,.24);
}

/* ════════════════════════════════════════════════════════════════════
   15. MARKI — karuzela
   ════════════════════════════════════════════════════════════════════ */
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 3.25rem;
  width: max-content;
  animation: slide-x 44s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 52s; }
@keyframes slide-x { to { transform: translateX(-50%); } }

.marquee img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) brightness(2.4) contrast(.4);
  opacity: .5;
  transition: opacity var(--t-2), filter var(--t-2), transform var(--t-2) var(--e-out);
}
.marquee img:hover { opacity: 1; filter: none; transform: scale(1.1); }
.section--paper .marquee img,
.section--soft  .marquee img { filter: grayscale(1) brightness(.55); opacity: .55; }
.section--paper .marquee img:hover,
.section--soft  .marquee img:hover { filter: none; opacity: 1; }

/* ════════════════════════════════════════════════════════════════════
   16. CENNIK
   ════════════════════════════════════════════════════════════════════ */
.price-note {
  display: flex;
  gap: 1.125rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255,224,27,.07);
  border: 1px solid rgba(255,224,27,.24);
  border-left: 3px solid var(--signal);
  border-radius: var(--r-md);
}
.price-note svg { color: var(--signal-deep); flex-shrink: 0; margin-top: .1rem; }
.price-note__title { font-family: var(--f-head); font-weight: 700; margin-bottom: .375rem; }
.price-note p { font-size: .9375rem; color: var(--steel-600); }

/* Filtr kategorii */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  padding: .5625rem 1.125rem;
  font-family: var(--f-head);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--steel-600);
  background: var(--paper);
  border: 1px solid var(--paper-200);
  border-radius: var(--r-pill);
  transition: all var(--t-2);
}
.filter:hover { border-color: var(--steel-400); color: var(--ink-900); }
.filter[aria-pressed="true"] {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}

/* Grupa cennika */
.price-group { scroll-margin-top: 100px; }
.price-group__head {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--paper-100);
}
.price-group__ico {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--signal);
  color: var(--ink-900);
}
.price-group__title { font-size: 1.25rem; }
.price-group__count { margin-left: auto; font-size: .8125rem; color: var(--steel-400); }

/* Wiersz ceny */
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.125rem 1.25rem;
  border: 1px solid var(--paper-100);
  border-radius: var(--r-md);
  background: var(--paper);
  transition: border-color var(--t-2), box-shadow var(--t-2), transform var(--t-2) var(--e-out);
}
.price-row + .price-row { margin-top: .625rem; }
.price-row:hover {
  border-color: var(--signal);
  box-shadow: 0 4px 16px rgba(255,224,27,.14);
  transform: translateX(3px);
}
.price-row__name { font-family: var(--f-head); font-weight: 700; font-size: .9688rem; }
.price-row__desc { font-size: .8438rem; color: var(--steel-600); margin-top: .1875rem; }
.price-row__time {
  display: flex; align-items: center; gap: .375rem;
  font-size: .8125rem; color: var(--steel-400);
  white-space: nowrap;
}
.price-row__val {
  font-family: var(--f-head);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--ink-900);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.price-row__val small { font-weight: 500; color: var(--steel-400); }
.price-row__link { display: inline-flex; align-items: center; gap: .25rem; font-size: .8125rem; color: var(--signal-deep); font-weight: 600; margin-top: .25rem; }
.price-row__link:hover { text-decoration: underline; }

/* Szacownik — ciemna wstawka „narzędziowa” */
.calc {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--ink-900);
  border: 1px solid rgba(255,224,27,.16);
  border-radius: var(--r-xl);
  color: rgba(255,255,255,.8);
}
.calc h2, .calc h3 { color: #fff; }
.calc__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.calc__field { display: flex; flex-direction: column; gap: .5rem; }
.calc__label {
  font-family: var(--f-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.calc__input, .calc__select {
  width: 100%;
  padding: .875rem 1rem;
  font-size: .9375rem;
  color: #fff;
  background: var(--ink-800);
  border: 1px solid rgba(255,224,27,.2);
  border-radius: var(--r-md);
  appearance: none;
  transition: border-color var(--t-2), box-shadow var(--t-2);
}
.calc__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23FFE01B' stroke-width='2'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.calc__input:focus, .calc__select:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(255,224,27,.16);
}
.calc__select option { background: var(--ink-800); color: #fff; }

.calc__out {
  margin-top: 1.75rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255,224,27,.07);
  border: 1px solid rgba(255,224,27,.26);
  border-radius: var(--r-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.calc__out-label { font-size: .8125rem; color: var(--steel-400); text-transform: uppercase; letter-spacing: .07em; font-family: var(--f-head); font-weight: 700; }
.calc__total {
  font-family: var(--f-head);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--signal);
  line-height: 1;
  text-shadow: 0 0 24px rgba(255,224,27,.3);
}
.calc__hint { font-size: .8125rem; color: var(--steel-400); flex: 1 1 100%; }

/* ════════════════════════════════════════════════════════════════════
   17. PAKIETY (auto zastępcze)
   ════════════════════════════════════════════════════════════════════ */
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.pkg {
  position: relative;
  padding: 2.5rem 1.875rem;
  text-align: center;
  background: var(--paper);
  border: 2px solid var(--paper-200);
  border-radius: var(--r-xl);
  transition: transform var(--t-3) var(--e-out), box-shadow var(--t-3), border-color var(--t-2);
}
.pkg:hover { transform: translateY(-5px); box-shadow: var(--sh-xl); }
.pkg--hot { border-color: var(--signal); box-shadow: 0 12px 36px rgba(255,224,27,.22); }
.pkg--vip { background: var(--ink-900); border-color: var(--ink-900); color: rgba(255,255,255,.72); }
.pkg--vip h3 { color: #fff; }

.pkg__tag {
  position: absolute;
  top: -.875rem; left: 50%;
  transform: translateX(-50%);
}
.pkg__price {
  margin-block: 1.125rem;
  font-family: var(--f-head);
  font-size: 2.625rem;
  font-weight: 900;
  line-height: 1;
  color: var(--signal-deep);
  letter-spacing: -.03em;
}
.pkg--vip .pkg__price { color: var(--signal); }
.pkg__price span { font-size: .875rem; font-weight: 500; color: var(--steel-400); letter-spacing: 0; }
.pkg__sub { font-size: .875rem; color: var(--steel-600); }
.pkg--vip .pkg__sub { color: rgba(255,255,255,.58); }

.pkg__feats { display: flex; flex-direction: column; gap: .6875rem; margin-block: 1.75rem; text-align: left; }
.pkg__feat { display: flex; align-items: flex-start; gap: .625rem; font-size: .9rem; line-height: 1.5; }
.pkg__feat svg { flex-shrink: 0; margin-top: .1875rem; }
.pkg__feat--yes svg { color: var(--ok); }
.pkg__feat--no  { opacity: .45; }

/* ════════════════════════════════════════════════════════════════════
   18. FAQ
   ════════════════════════════════════════════════════════════════════ */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--paper-200); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.375rem .25rem;
  text-align: left;
}
.faq__q h3 {
  font-size: 1.0313rem;
  font-weight: 700;
  transition: color var(--t-2);
}
.faq__q:hover h3 { color: var(--signal-deep); }
.faq__ico {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--paper-100);
  color: var(--ink-900);
  transition: background var(--t-2), color var(--t-2), transform var(--t-3) var(--e-out);
}
.faq__item.is-open .faq__ico {
  background: var(--signal);
  transform: rotate(135deg);
}
/* Animowany grid-template-rows: płynne rozwijanie bez zgadywania wysokości */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-3) var(--e-out);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 3rem 1.375rem .25rem;
  font-size: .9375rem;
  line-height: 1.78;
  color: var(--steel-600);
}

/* ════════════════════════════════════════════════════════════════════
   19. BLOG
   ════════════════════════════════════════════════════════════════════ */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-3) var(--e-out), box-shadow var(--t-3), border-color var(--t-2);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-xl); border-color: transparent; }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 3/2; background: var(--paper-100); }
.post-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-4) var(--e-out);
}
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__media-fallback {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  background: linear-gradient(140deg, var(--ink-800), var(--ink-600));
  color: rgba(255,224,27,.4);
}
.post-card__tag { position: absolute; top: .875rem; left: .875rem; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.post-card__title { font-size: 1.0625rem; line-height: 1.4; margin-bottom: .625rem; }
.post-card__title a { transition: color var(--t-2); }
.post-card__title a:hover { color: var(--signal-deep); }
.post-card__excerpt { font-size: .875rem; color: var(--steel-600); flex: 1; }
.post-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px solid var(--paper-100);
  font-size: .8125rem; color: var(--steel-400);
}
.post-card__meta { display: flex; align-items: center; gap: .875rem; }
.post-card__meta span { display: inline-flex; align-items: center; gap: .3125rem; }

/* ── Pojedynczy wpis ── */
.reading-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 950;
  height: 3px;
  background: var(--signal);
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 12px rgba(255,224,27,.6);
}
/* Natywna animacja sterowana scrollem — poza wątkiem głównym, 0 JS */
@supports (animation-timeline: scroll()) {
  .reading-bar {
    animation: bar-grow linear;
    animation-timeline: scroll(root block);
  }
  @keyframes bar-grow { to { transform: scaleX(1); } }
}

.entry-hero {
  position: relative;
  padding-block: 8.5rem 3.5rem;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}
.entry-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.entry-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.entry-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, var(--ink-900) 8%, rgba(10,13,18,.78) 58%, rgba(10,13,18,.6) 100%);
}
.entry-hero__inner { max-width: 800px; }
.entry-hero h1 { color: #fff; margin-block: 1.125rem; }
.entry-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem;
  font-size: .875rem; color: rgba(255,255,255,.6);
}
.entry-meta span { display: inline-flex; align-items: center; gap: .4375rem; }
.entry-meta svg { color: var(--signal); }

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 3.5rem;
  align-items: start;
}

/* Spis treści — przyklejony */
.toc {
  position: sticky;
  top: 100px;
  padding: 1.5rem;
  background: var(--paper-50);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-lg);
}
.toc__title {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--f-head);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 1rem;
}
.toc__list { display: flex; flex-direction: column; gap: .125rem; }
.toc__link {
  display: block;
  padding: .5rem .75rem;
  font-size: .8438rem;
  line-height: 1.45;
  color: var(--steel-600);
  border-left: 2px solid var(--paper-200);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  transition: all var(--t-2);
}
.toc__link:hover { color: var(--ink-900); background: var(--paper); border-left-color: var(--steel-400); }
.toc__link.is-active {
  color: var(--ink-900);
  font-weight: 600;
  background: var(--paper);
  border-left-color: var(--signal);
}

/* Treść artykułu */
.prose { font-size: 1.0625rem; line-height: 1.82; color: var(--steel-700); }
.prose > * + * { margin-top: 1.375rem; }
.prose h2 {
  margin-top: 2.75rem;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  scroll-margin-top: 100px;
}
.prose h3 {
  margin-top: 2.25rem;
  font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
  scroll-margin-top: 100px;
}
.prose h2 + *, .prose h3 + * { margin-top: .875rem; }
.prose strong { color: var(--ink-900); font-weight: 600; }
.prose a {
  color: var(--signal-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-2);
}
.prose a:hover { color: var(--ink-900); }
.prose ul, .prose ol { padding-left: 1.5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li {
  position: relative;
  padding-left: 1.75rem;
  margin-top: .6875rem;
}
.prose ul > li::before {
  content: '';
  position: absolute;
  left: .3125rem; top: .6875rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(255,224,27,.2);
}
.prose ol { list-style: decimal; }
.prose ol > li { margin-top: .6875rem; padding-left: .375rem; }
.prose ol > li::marker { color: var(--signal-deep); font-family: var(--f-head); font-weight: 800; }

.prose blockquote {
  padding: 1.5rem 1.75rem;
  background: var(--paper-50);
  border-left: 3px solid var(--signal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--ink-900);
}
.prose img, .prose figure { border-radius: var(--r-lg); overflow: hidden; }
.prose figcaption { margin-top: .625rem; font-size: .8125rem; color: var(--steel-400); text-align: center; }
.prose table { font-size: .9375rem; }
.prose th, .prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--paper-100); text-align: left; }
.prose th { font-family: var(--f-head); font-weight: 700; background: var(--paper-50); }
.prose code {
  padding: .125rem .375rem;
  font-size: .875em;
  background: var(--paper-100);
  border-radius: var(--r-xs);
}

/* Wyróżniony akapit wstępny */
.entry-lead {
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
  background: var(--paper-50);
  border-left: 3px solid var(--signal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--ink-900);
  font-weight: 500;
}

/* Ramka CTA w treści */
.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
  margin-block: 2.5rem;
  background: var(--ink-900);
  border-radius: var(--r-lg);
  color: rgba(255,255,255,.72);
  overflow: hidden;
  position: relative;
}
.inline-cta::before {
  content: '';
  position: absolute;
  inset: -60% -20% auto auto;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,224,27,.16), transparent 70%);
  pointer-events: none;
}
.inline-cta__txt { flex: 1 1 260px; position: relative; }
.inline-cta__title { color: #fff; font-size: 1.125rem; margin-bottom: .375rem; }
.inline-cta__desc { font-size: .9375rem; }

/* Autor + nawigacja */
.author-box {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--paper-50);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-lg);
}
.author-box__logo {
  display: grid; place-items: center;
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--ink-900);
  padding: .625rem;
}
.author-box__name { font-family: var(--f-head); font-weight: 700; }
.author-box__desc { font-size: .875rem; color: var(--steel-600); }

.post-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.post-nav__link {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-md);
  transition: border-color var(--t-2), transform var(--t-2) var(--e-out), box-shadow var(--t-2);
}
.post-nav__link:hover { border-color: var(--signal); transform: translateY(-2px); box-shadow: var(--sh-md); }
.post-nav__dir {
  display: inline-flex; align-items: center; gap: .375rem;
  font-family: var(--f-head); font-size: .6875rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--steel-400);
}
.post-nav__title { font-family: var(--f-head); font-weight: 700; font-size: .9375rem; line-height: 1.4; }
.post-nav__link--next { text-align: right; align-items: flex-end; }

/* Udostępnianie */
.share { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.share__label { font-family: var(--f-head); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); }
.share__btn {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--paper-200);
  border-radius: 50%;
  color: var(--steel-600);
  transition: all var(--t-2);
}
.share__btn:hover { background: var(--ink-900); border-color: var(--ink-900); color: #fff; transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════════
   20. LOKALIZACJA / GALERIA
   ════════════════════════════════════════════════════════════════════ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery__cell {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-800);
}
.gallery__cell img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--t-4) var(--e-out);
}
.gallery__cell:hover img { transform: scale(1.05); }
.gallery__cell::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,13,18,.4), transparent 55%);
  opacity: 0;
  transition: opacity var(--t-3);
}
.gallery__cell:hover::after { opacity: 1; }
.gallery__cell--tall { grid-row: span 2; }
.gallery__cell--tall img { aspect-ratio: 2/3; height: 100%; }

/* Karta kontaktu / mapa */
.locbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  background: var(--ink-800);
}
.locbox__info { padding: clamp(1.75rem, 4vw, 2.75rem); }
.locbox__map { position: relative; min-height: 340px; background: var(--ink-700); }
.locbox__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.1); }
/* Podkładka pod mapę — iframe wczytujemy po kliknięciu, żeby nie ciągnąć
   ~400 KB Google Maps przy każdym wejściu */
.locbox__map-poster {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 1rem;
  background: var(--ink-700);
  cursor: pointer;
  text-align: center;
  padding: 1.5rem;
}
.locbox__map-poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,.04) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 34px);
}

.contact-list { display: flex; flex-direction: column; gap: 1.125rem; }
.contact-item { display: flex; gap: .875rem; align-items: flex-start; }
.contact-item__ico {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: rgba(255,224,27,.11);
  border: 1px solid rgba(255,224,27,.2);
  color: var(--signal);
}
.contact-item__label {
  font-family: var(--f-head);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: .1875rem;
}
.contact-item__val { font-size: .9375rem; color: rgba(255,255,255,.86); line-height: 1.5; }
.contact-item__val a:hover { color: var(--signal); }
.contact-item__val--big {
  font-family: var(--f-head);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
}

/* ════════════════════════════════════════════════════════════════════
   21. CTA
   ════════════════════════════════════════════════════════════════════ */
.cta {
  position: relative;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: '';
  position: absolute;
  inset: -40% -10% auto auto;
  width: 680px; height: 680px;
  z-index: -1;
  background: radial-gradient(circle, rgba(255,224,27,.13), transparent 66%);
  pointer-events: none;
}
.cta__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3.5rem;
  align-items: center;
}
.cta__title { color: #fff; }
.cta__desc { margin-top: .875rem; font-size: 1.0625rem; color: rgba(255,255,255,.62); }
.cta__aside { display: flex; flex-direction: column; align-items: flex-end; gap: .625rem; text-align: right; }
.cta__num {
  font-family: var(--f-head);
  font-size: clamp(1.75rem, 4.4vw, 2.625rem);
  font-weight: 900;
  color: var(--signal);
  letter-spacing: -.03em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: color var(--t-2), text-shadow var(--t-2);
}
.cta__num:hover { color: var(--signal-hi); text-shadow: 0 0 28px rgba(255,224,27,.4); }
.cta__hint { font-size: .8125rem; color: rgba(255,255,255,.44); }

.cta__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.09);
}
.cta__fact { display: flex; align-items: flex-start; gap: .625rem; font-size: .9rem; color: rgba(255,255,255,.66); }
.cta__fact svg { color: var(--signal); flex-shrink: 0; margin-top: .1rem; }

/* ════════════════════════════════════════════════════════════════════
   22. PARTNERZY
   ════════════════════════════════════════════════════════════════════ */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.partner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-xl);
  transition: transform var(--t-3) var(--e-out), box-shadow var(--t-3), border-color var(--t-2);
}
.partner:hover { transform: translateY(-4px); border-color: var(--signal); box-shadow: var(--sh-lg); }
.partner__logo {
  width: 84px; height: 84px;
  flex-shrink: 0;
  padding: .75rem;
  object-fit: contain;
  background: var(--paper-50);
  border: 1px solid var(--paper-100);
  border-radius: var(--r-md);
}
.partner__title { margin-bottom: .5rem; }
.partner__text { font-size: .9rem; color: var(--steel-600); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════════════
   23. NAGŁÓWEK PODSTRONY
   ════════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  padding-block: 8.5rem 3.75rem;
  background: var(--ink-900);
  overflow: hidden;
  isolation: isolate;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, var(--ink-900) 8%, rgba(10,13,18,.82) 52%, rgba(10,13,18,.62) 100%),
    radial-gradient(ellipse 60% 80% at 82% 40%, rgba(255,224,27,.07), transparent 70%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  z-index: -1;
  background: linear-gradient(to top, var(--ink-900), transparent);
}
.page-hero__inner { max-width: 720px; }
.page-hero h1 { color: #fff; margin-top: 1rem; animation: rise-in .7s var(--e-out) both; }
.page-hero__lead {
  margin-top: 1.125rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,.68);
  max-width: 36rem;
  animation: rise-in .8s var(--e-out) .1s both;
}
.page-hero__cta { margin-top: 2.25rem; animation: rise-in .8s var(--e-out) .2s both; }

/* Okruszki */
.crumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-head);
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
}
.crumbs a { transition: color var(--t-2); }
.crumbs a:hover { color: var(--signal); }
.crumbs [aria-current] { color: var(--signal); }
.crumbs__sep { display: inline-flex; opacity: .5; }
.crumbs--light { color: var(--steel-400); }
.crumbs--light a:hover, .crumbs--light [aria-current] { color: var(--signal-deep); }

/* ════════════════════════════════════════════════════════════════════
   24. STOPKA
   ════════════════════════════════════════════════════════════════════ */
.site-footer {
  position: relative;
  background: var(--ink-900);
  color: rgba(255,255,255,.62);
  border-top: 1px solid rgba(255,255,255,.07);
  isolation: isolate;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(0deg,  rgba(255,255,255,.02) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 68px);
}
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-block: clamp(2.75rem, 6vw, 4.25rem);
}
.footer__brand img { height: 40px; margin-bottom: 1.125rem; }
.footer__about { font-size: .9rem; line-height: 1.75; }
.footer__social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.footer__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transition: all var(--t-2);
}
.footer__social a:hover { background: var(--signal); border-color: var(--signal); color: var(--ink-900); transform: translateY(-2px); }

.footer__title {
  font-family: var(--f-head);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: 1.125rem;
}
.footer__links { display: flex; flex-direction: column; gap: .5rem; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.58);
  transition: color var(--t-2), gap var(--t-2);
}
.footer__link::before { content: '›'; color: var(--signal); opacity: .7; }
.footer__link:hover { color: #fff; gap: .6875rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.375rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8125rem;
  color: rgba(255,255,255,.4);
}
.footer__bottom a { transition: color var(--t-2); }
.footer__bottom a:hover { color: #fff; }
.footer__areas {
  padding-block: 1.375rem;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: .8125rem;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
}
.footer__areas b { color: rgba(255,255,255,.6); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════
   25. PASEK MOBILNY + POWRÓT NA GÓRĘ
   ════════════════════════════════════════════════════════════════════ */
.dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 940;
  display: none;
  gap: 1px;
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(10,13,18,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(110%);
  transition: transform var(--t-3) var(--e-out);
}
.dock.is-up { transform: translateY(0); }
.dock__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 56px;
  font-family: var(--f-head);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.dock__btn--call { background: var(--signal); color: var(--ink-900); }
.dock__btn--map  { color: #fff; }
.dock__btn--map:active { background: rgba(255,255,255,.07); }

.to-top {
  position: fixed;
  inset: auto 1.75rem 1.75rem auto;
  z-index: 930;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--ink-900);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.9);
  transition: all var(--t-3) var(--e-out);
}
.to-top.is-up { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--signal-hi); transform: translateY(-3px); box-shadow: var(--glow-hi); }

/* ════════════════════════════════════════════════════════════════════
   26. ODSŁANIANIE PRZY PRZEWIJANIU
   ════════════════════════════════════════════════════════════════════ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-4) var(--e-out), transform var(--t-4) var(--e-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal-scale { opacity: 0; transform: scale(.96); transition: opacity var(--t-4) var(--e-out), transform var(--t-4) var(--e-out); }
.js .reveal-scale.is-in { opacity: 1; transform: none; }

.js .reveal-left  { opacity: 0; transform: translateX(-26px); transition: opacity var(--t-4) var(--e-out), transform var(--t-4) var(--e-out); }
.js .reveal-right { opacity: 0; transform: translateX(26px);  transition: opacity var(--t-4) var(--e-out), transform var(--t-4) var(--e-out); }
.js .reveal-left.is-in, .js .reveal-right.is-in { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════════
   27. PRZEJŚCIA MIĘDZY PODSTRONAMI
   Natywne View Transitions: efekt „jak w aplikacji” za 12 linii CSS
   i zero JS. Firefox po prostu tego nie animuje — strona działa dalej.
   ════════════════════════════════════════════════════════════════════ */
@view-transition { navigation: auto; }

::view-transition-old(root) { animation: vt-out .26s var(--e-in-out) both; }
::view-transition-new(root) { animation: vt-in  .34s var(--e-out) both; }
@keyframes vt-out { to   { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(10px); } }

/* ════════════════════════════════════════════════════════════════════
   28. WYDAJNOŚĆ RENDEROWANIA
   Sekcje poniżej pierwszego ekranu nie są renderowane, dopóki nie
   zbliżą się do widoku. Nie ukrywa treści przed Google.
   ════════════════════════════════════════════════════════════════════ */
.section:not(.hero):not(.trust) {
  content-visibility: auto;
  contain-intrinsic-size: auto 620px;
}

/* ════════════════════════════════════════════════════════════════════
   29. RESPONSYWNOŚĆ
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .nav__link { padding: .5rem .625rem; font-size: .78125rem; }
  .header__call-num { font-size: .875rem; }
  .entry-layout { grid-template-columns: minmax(0,1fr) 240px; gap: 2.5rem; }
}

@media (max-width: 1024px) {
  .trust__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .trust__item:nth-child(4)::before,
  .trust__item:nth-child(1)::before { display: none; }
  .grid--4, .stats { grid-template-columns: repeat(2, 1fr); }
  .reviews, .posts, .grid--3, .plan, .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .cta__aside { align-items: flex-start; text-align: left; }
  .locbox { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .entry-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .plan__line { display: none; }
  .partners { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --shell-px: 1.125rem; }

  /* Nawigacja mobilna */
  .nav-toggle { display: flex; order: 3; }
  .nav {
    position: fixed;
    inset: 74px 0 0;
    z-index: 890;
    padding: 1.5rem var(--shell-px) 6rem;
    background: var(--ink-850);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--t-3) var(--e-out), visibility var(--t-3);
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav__item { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav__link { font-size: 1rem; padding: .9375rem .5rem; justify-content: space-between; }
  .nav__caret { display: none; }
  .nav__expand {
    display: grid;
    place-items: center;
    position: absolute;
    top: 0; right: 0;
    width: 52px; height: 52px;
    color: rgba(255,255,255,.5);
    transition: transform var(--t-2) var(--e-out);
  }
  .nav__expand[aria-expanded="true"] { transform: rotate(180deg); color: var(--signal); }
  .nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 .75rem 1rem;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__sub.is-open { display: flex; }
  .nav__sub .nav__link { font-size: .9375rem; padding: .6875rem .75rem; }
  .header__call { padding: .5rem; }
  .header__call-txt { display: none; }
  .header__meta { gap: .5rem; }

  /* Hero: gradient pionowy, tekst pod autem */
  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 3.5rem; }
  .hero__shade {
    background: linear-gradient(
      to bottom,
      rgba(10,13,18,.42)  0%,
      rgba(10,13,18,.86) 52%,
      rgba(10,13,18,.985) 100%
    );
    animation-name: shade-sweep-v;
  }
  @keyframes shade-sweep-v {
    from { clip-path: inset(0 0 100% 0); }
    to   { clip-path: inset(0 0 0 0); }
  }
  /* Na telefonie kadr pionowy: auto siedzi w dolnej połowie zdjęcia,
     więc przesuwamy okno w dół, a tekst ląduje pod nim. */
  .hero__media img { object-position: center 60%; }
  .hero__inner { max-width: none; padding-block: 2rem; }
  .hero__scroll { display: none; }
  .hero__proof { gap: .875rem 1.5rem; }

  /* Wszystko na jedną kolumnę */
  .grid--2, .grid--3, .grid--4,
  .reviews, .posts, .plan, .pkgs,
  .gallery, .partners, .calc__grid,
  .post-nav { grid-template-columns: 1fr; }
  .stats, .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item::before { display: none !important; }
  .footer__main { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .shot { padding: 0 1rem 1rem 0; }
  .shot__badge { min-width: 112px; padding: 1rem 1.125rem; }
  .shot__badge b { font-size: 1.875rem; }

  .price-row { grid-template-columns: 1fr auto; row-gap: .5rem; }
  .price-row__time { grid-column: 1 / -1; }

  .pkg--hot { transform: none; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group > .btn { width: 100%; }

  .ba__stage { aspect-ratio: 4/3; }
  .faq__a p { padding-right: 1rem; }

  /* Pasek mobilny + odsunięcie stopki, żeby nic nie zasłaniał */
  .dock { display: flex; }
  body { padding-bottom: 56px; }
  .to-top { inset: auto 1rem 4.75rem auto; width: 42px; height: 42px; }

  /* Reflektor za kursorem nie ma sensu na dotyku */
  .section--dark::after { display: none; }
}

@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; gap: .875rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: clamp(1.875rem, 9vw, 2.5rem); }
  .svc { padding: 1.5rem; }
  .svc__num { font-size: 2.25rem; top: 1.25rem; right: 1.25rem; }
  .entry-hero, .page-hero { padding-block: 7rem 2.75rem; }
}

/* Reflektor tylko tam, gdzie jest prawdziwy kursor */
@media (hover: none) {
  .section--dark::after { display: none; }
}

/* ════════════════════════════════════════════════════════════════════
   30. OGRANICZONY RUCH
   To nie jest opcja — dla części osób animacje wywołują zawroty głowy.
   ════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal-scale,
  .js .reveal-left, .js .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__shade { clip-path: none !important; }
  .marquee__track { animation: none; }
  .section--dark::before { animation: none; }
  .gauge__fill { stroke-dashoffset: calc(var(--len) * (1 - var(--pct))); }
  .gauge__needle { transform: rotate(calc(-90deg + var(--pct) * 180deg)); }
  .plan__line::before { transform: scaleX(1); }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ════════════════════════════════════════════════════════════════════
   31. WORDPRESS — klasy wyrównania i drobiazgi
   ════════════════════════════════════════════════════════════════════ */
.alignleft  { float: left;  margin: .5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.wp-caption-text, .wp-element-caption {
  font-size: .8125rem;
  color: var(--steel-400);
  text-align: center;
  margin-top: .5rem;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: .375rem;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px; height: 42px;
  padding-inline: .75rem;
  font-family: var(--f-head);
  font-size: .875rem;
  font-weight: 700;
  border: 1px solid var(--paper-200);
  border-radius: var(--r-sm);
  transition: all var(--t-2);
}
.pagination .page-numbers:hover { border-color: var(--ink-900); }
.pagination .page-numbers.current {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: #fff;
}

/* Puste stany — komunikat dla klienta, nie pusta dziura */
.empty-note {
  padding: 2.5rem;
  text-align: center;
  border: 1px dashed var(--paper-200);
  border-radius: var(--r-lg);
  color: var(--steel-400);
}
.section--dark .empty-note { border-color: rgba(255,255,255,.14); }
.empty-note svg { margin: 0 auto .875rem; color: var(--steel-400); }
