/* ============================================================
   AUTOMAX — design tokens
   Theme: dark "professional garage", locked dark for the whole page.
   Accent: amber (PDR lamp light). One accent, used everywhere.
   Type: Plus Jakarta Sans (display) + Inter (body), latin-ext.
   Spacing: 8pt grid. Radius system: cards 16px, buttons pill,
   inputs 10px (documented rule, applied everywhere).
   ============================================================ */

:root {
  --color-surface: #0b1120;        /* page background */
  --color-surface-2: #111a2e;      /* raised panels */
  --color-surface-3: #18233c;      /* hover / inner panels */
  --color-border: rgba(148, 163, 184, 0.16);
  --color-border-strong: rgba(148, 163, 184, 0.3);
  --color-text: #e7ecf5;
  --color-text-muted: #9aa7bd;
  --color-text-faint: #64748b;
  --color-accent: #f5a524;         /* amber – PDR lamp */
  --color-accent-strong: #fdba3a;
  --color-accent-ink: #271803;     /* text on amber */
  --color-accent-soft: rgba(245, 165, 36, 0.12);
  --color-success: #34d399;

  --font-display: 'Poppins', system-ui, sans-serif;
  --font-sub: 'Raleway', system-ui, sans-serif;
  --font-body: 'Open Sans', system-ui, sans-serif;

  --radius-card: 0px;
  --radius-input: 0px;
  --radius-pill: 0px;

  --container: 1240px;
  --nav-h: 72px;

  --shadow-card: 0 16px 40px rgba(2, 6, 17, 0.45);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-surface);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

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

/* ---------- layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: 52px 0; }
@media (min-width: 1024px) { .section { padding: 84px 0; } }

/* ---------- typography ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}
h3, h4 {
  font-family: var(--font-sub);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.display {
  font-size: clamp(2.2rem, 6vw, 56px);
  text-transform: none;
  line-height: 1.15;
}

h2 { font-size: clamp(1.7rem, 3.8vw, 36px); }
h3 { font-size: 22px; }

.lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 60ch;
}

.accent-word { color: var(--color-accent); }

.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2::after, .section-head h1::after, .hero-copy h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  background: var(--color-accent);
  margin-top: 18px;
}
.section-head p { margin-top: 12px; color: var(--color-text-muted); }
.sh-center { text-align: center; margin-left: auto; margin-right: auto; }
.sh-center h2::after, .sh-center h1::after { margin-left: auto; margin-right: auto; }
.sh-center > p { margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .section-head { margin-bottom: 56px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 0;
  font-family: var(--font-sub);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 150ms var(--ease), background 150ms var(--ease),
              border-color 150ms var(--ease), color 150ms var(--ease);
}
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-strong); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(11, 17, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
}
.logo img { height: 36px; width: auto; display: block; }
.footer .logo img { height: 42px; }
@media (max-width: 480px) { .logo img { height: 30px; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #dde3ee;
  padding: 8px 0;
  transition: color 150ms ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #ffffff; }
.nav-links a[aria-current="page"] { box-shadow: 0 2px 0 var(--color-accent); }

/* nav dropdown (Szkolenia) */
.nav-has-dd { position: relative; }
.nav-has-dd > a { display: inline-flex; align-items: center; gap: 6px; }
.dd-chevron { width: 13px; height: 13px; transition: transform 200ms ease; }
.nav-has-dd:hover .dd-chevron, .nav-has-dd:focus-within .dd-chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 300px;
  list-style: none; margin: 0; padding: 8px;
  background: rgba(11, 17, 32, 0.97);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 70;
}
.nav-has-dd:hover .nav-dropdown, .nav-has-dd:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li { margin: 0; }
.nav-dropdown a { display: block; padding: 11px 13px; border-radius: 10px; font-size: 0.92rem; font-weight: 500; color: var(--color-text-muted); box-shadow: none; }
.nav-dropdown a:hover { background: rgba(255, 255, 255, 0.06); color: var(--color-text); }
.nav-dropdown .dd-featured {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--color-accent-soft); border: 1px solid var(--color-accent);
  color: var(--color-text); font-weight: 700; margin-bottom: 6px;
}
.nav-dropdown .dd-featured:hover { background: var(--color-accent-soft); color: var(--color-text); }
.nav-dropdown .dd-featured span {
  font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-accent); font-weight: 800;
}

/* mobile submenu (Szkolenia) */
.mm-sub { list-style: none; margin: 8px 0 4px; padding: 0 0 0 16px; border-left: 2px solid var(--color-accent); display: grid; gap: 2px; }
.mm-sub a { font-size: 0.98rem !important; color: var(--color-text-muted) !important; padding: 8px 0 !important; }

/* deep-link offset for sticky nav */
.kurs-card[id] { scroll-margin-top: 96px; }

.nav-cta { display: none; }

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-input);
  color: var(--color-text);
  cursor: pointer;
}
.nav-burger svg { width: 24px; height: 24px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
}

/* top CTA: filled amber button */
.nav-cta {
  min-height: auto;
  padding: 11px 22px;
  font-size: 0.94rem;
  border-radius: 100px;
}

/* language switcher (placeholder) + action group */
.nav-actions { display: none; align-items: center; gap: 14px; }
@media (min-width: 1024px) { .nav-actions { display: flex; } }
.lang-switch {
  display: inline-flex; align-items: center; gap: 5px;
  height: 36px; padding: 0 12px;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: 9999px;
  color: #dde3ee;
  font-family: var(--font-sub); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease;
}
.lang-switch:hover { border-color: var(--color-accent); color: var(--color-accent); }
.lang-switch svg { width: 16px; height: 16px; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 49;
  background: var(--color-surface);
  padding: 24px 20px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: grid; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 14px 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: var(--radius-input);
}
.mobile-menu a:hover { background: var(--color-surface-2); }
.mobile-menu .btn { width: 100%; margin-top: 20px; }

/* ---------- hero (split) ---------- */
.hero { padding: 48px 0 56px; }
@media (min-width: 1024px) { .hero { padding: 88px 0 96px; } }

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 64px; }
}

.hero-copy .lead { margin: 20px 0 32px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }

/* ---------- two-track cards ---------- */
.tracks {
  display: grid;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) { .tracks { grid-template-columns: 1fr 1fr; } }

.track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.track:hover { border-color: var(--color-accent); }
.track h3 { font-size: 1.35rem; }
.track p { color: var(--color-text-muted); font-size: 0.97rem; }
.track .track-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-accent);
}
.track .track-go svg { width: 18px; height: 18px; transition: transform 150ms ease; }
.track:hover .track-go svg { transform: translateX(4px); }
.track-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-input);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.track-icon svg { width: 28px; height: 28px; }

/* ---------- stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
  padding: 36px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { border-top: 3px solid var(--color-accent); padding-top: 14px; }
.stats { border: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.stat-label { color: var(--color-text-muted); font-size: 0.92rem; margin-top: 6px; }

/* ---------- cards grid (services / courses) ---------- */
.cards {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.card:hover { border-color: var(--color-accent); }
.card-img { transition: transform 300ms var(--ease); }
.card:hover .card-img { transform: scale(1.04); }
.card { overflow: hidden; }
.card-img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: auto; display: block; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--color-text-muted); font-size: 0.95rem; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-accent);
}
.card-link svg { width: 16px; height: 16px; }

/* ---------- pricing (courses) ---------- */
.pricing {
  display: grid;
  gap: 20px;
  align-items: stretch;
}
@media (min-width: 1024px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 30px 28px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.price-card.featured { border: 2px solid var(--color-accent); position: relative; }
.badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.price-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.price-days { color: var(--color-text-muted); font-size: 0.92rem; margin-top: 2px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 18px 0 2px;
}
/* kwota słowna ("W cenie") nie potrzebuje rozmiaru liczbowej ceny */
.price-amount.is-text { font-size: 2rem; }
.price-amount small { font-size: 1rem; font-weight: 600; color: var(--color-text-muted); }
.price-note { font-size: 0.88rem; color: var(--color-text-faint); margin-bottom: 18px; }
.price-list { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.price-list li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--color-text-muted); }
.price-list svg { width: 19px; height: 19px; flex: none; color: var(--color-success); margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ---------- before / after ---------- */
.ba-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .ba-grid { grid-template-columns: repeat(3, 1fr); } }
.ba-item { border-radius: var(--radius-card); overflow: hidden; position: relative; }
.ba-item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.ba-caption { padding: 14px 4px 0; color: var(--color-text-muted); font-size: 0.92rem; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  counter-increment: step;
  padding: 26px 26px 28px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ---------- testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  padding: 28px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.quote blockquote { font-size: 1.02rem; line-height: 1.65; }
.quote figcaption { margin-top: 16px; font-size: 0.9rem; color: var(--color-text-muted); }
.quote figcaption strong { color: var(--color-text); font-weight: 600; }
.quote .quote-stars { color: var(--color-accent); display: flex; gap: 2px; margin-bottom: 14px; }
.quote .quote-stars svg { width: 17px; height: 17px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq-2col { max-width: none; }
@media (min-width: 880px) {
  .faq-2col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
}
.faq details {
  border-bottom: 1px solid var(--color-border);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--color-accent); transition: transform 200ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .faq-a { padding: 0 4px 22px; color: var(--color-text-muted); max-width: 65ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 44px 28px;
  text-align: left;
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) {
  .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 56px; }
}
.cta-band p { color: var(--color-text-muted); margin-top: 10px; max-width: 52ch; }
.cta-band .hero-ctas { justify-self: start; }
@media (min-width: 1024px) { .cta-band .hero-ctas { justify-self: end; } }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-input);
  transition: border-color 150ms ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}
.field .error { color: #f6797b; font-size: 0.88rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #f6797b; }
.field.invalid .error { display: block; }
.form-note { font-size: 0.85rem; color: var(--color-text-faint); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 56px 0 32px;
  margin-top: 40px;
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 2fr 1.05fr 1.2fr; column-gap: 28px; } }
/* pełna lista usług w stopce - w dwóch kolumnach, żeby nie rozciągała stopki */
@media (min-width: 360px) { .footer-list-2 { grid-template-columns: 1fr 1fr; column-gap: 18px; } }
.footer-list-2 li:last-child { grid-column: 1 / -1; margin-top: 3px; }
.footer-more { color: var(--color-accent); font-weight: 600; }
.footer-more:hover { color: var(--color-accent-light, #ffc257); }
.footer h4 { font-size: 0.95rem; margin-bottom: 14px; color: var(--color-text); }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { color: var(--color-text-muted); font-size: 0.93rem; transition: color 150ms ease; }
.footer a:hover { color: var(--color-accent); }
.footer a[href^="tel:"] { color: var(--color-text); font-weight: 600; }
.footer a[href^="tel:"]:hover { color: var(--color-accent); }
.footer .logo { display: inline-block; margin-bottom: 12px; }
.footer-about { color: var(--color-text-muted); font-size: 0.93rem; max-width: 34ch; }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: var(--color-text-faint);
  font-size: 0.85rem;
}

/* ---------- floating WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #22c05c;
  color: #06250f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(2, 6, 17, 0.5);
  transition: transform 150ms var(--ease);
}
.wa-fab:hover { transform: translateY(-3px); }
.wa-fab svg { width: 28px; height: 28px; }

/* ---------- scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light, #ffc15a));
  z-index: 200;
  will-change: transform;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(32px); filter: blur(8px); }
.reveal-left { transform: translateX(-38px); }
.reveal-right { transform: translateX(38px); }
.reveal-scale { transform: scale(0.93); }
.reveal-up-lg { transform: translateY(70px); }
.reveal-rotate { transform: rotate(-2.5deg) translateY(30px); transform-origin: left bottom; }
.reveal-zoom { transform: scale(1.07); filter: blur(10px); }
.reveal-down { transform: translateY(-34px); }
.reveal.in {
  opacity: 1;
  transform: none;
  filter: blur(0);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease), filter 720ms var(--ease);
  transition-delay: calc(var(--reveal-i, 0) * 95ms);
}
/* Bardzo wysokie bloki (treść artykułu ma i 9000 px) nie mogą mieć filtra:
   blur wypycha element na osobną warstwę, której przeglądarka nie rasteryzuje
   w całości - tekst po prostu znikał przy przewijaniu. */
.article.reveal,
.article.reveal.in { filter: none; }

/* parallax: background drifts slower than scroll (JS sets --py) */
.parallax { will-change: transform; }
.parallax > img,
.parallax-layer { transform: translate3d(0, var(--py, 0px), 0) scale(1.08); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
  .parallax > img, .parallax-layer { transform: none; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-bg { transition: none !important; }
}

/* ---------- utilities ---------- */
.muted { color: var(--color-text-muted); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---------- full-bleed hero ---------- */
.hero-full {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-full .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transition: opacity 1200ms ease;
}
.hero-full .hero-bg.is-active { opacity: 1; }
.hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 22, 0.96) 8%, rgba(7, 11, 22, 0.55) 48%, rgba(7, 11, 22, 0.35) 100%);
}
.hero-full .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 64px;
}
.hero-full .lead { margin: 22px 0 34px; }
@media (min-width: 1024px) {
  .hero-full .container { padding-bottom: 48px; }
  .hero-full .lead { font-size: 1.2rem; }
}

/* ---------- Direction A: cinematic video hero ---------- */
.hero-cine .container { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 84px; }
.hero-cine .hero-kick {
  display: inline-block; color: var(--color-accent);
  font-family: var(--font-sub); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-cine h1 {
  font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 0.98;
  letter-spacing: -0.02em; text-wrap: balance;
}
.hero-cine .lead { max-width: 54ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-cine .hero-ctas { margin-top: 32px; }
.hero-cine video.hero-bg { object-position: center 45%; }
.hero-cine img.hero-bg { object-position: center 34%; }
.kenburns { animation: kenburns 20s ease-out both; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.13); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .kenburns { animation: none; transform: none; } }
/* cena w treści hero — czytelna, nie jako półprzezroczysty chip w rogu */
.hero-price {
  display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
  margin: 0 0 22px; padding: 11px 20px 12px;
  background: rgba(11, 17, 32, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 165, 36, 0.55); border-left: 4px solid var(--color-accent);
  border-radius: 12px;
}
.hp-num {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1;
  color: var(--color-accent); letter-spacing: -0.01em;
}
.hp-num small { font-family: var(--font-sub); font-size: 0.55em; color: var(--color-accent); }
.hp-lab { color: #fff; font-size: 0.95rem; font-weight: 600; }
@media (max-width: 767px) { .hero-price { padding: 9px 15px 10px; margin-bottom: 18px; } .hp-lab { font-size: 0.87rem; } }

/* process timeline (real sequence -> numbered) */
.proc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .proc-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.proc-step {
  position: relative; background: var(--color-surface-2);
  border: 1px solid var(--color-border); border-radius: 16px; padding: 26px 24px 24px;
}
.proc-num {
  font-family: var(--font-display); font-size: 2.3rem; line-height: 1;
  color: var(--color-accent); display: block;
}
.proc-step h3 { margin: 12px 0 8px; font-size: 1.18rem; }
.proc-step p { color: var(--color-text-muted); font-size: 0.96rem; margin: 0; line-height: 1.6; }
@media (min-width: 820px) {
  .proc-step:not(:last-child)::after {
    content: ""; position: absolute; top: 42px; right: -14px;
    width: 28px; height: 2px; background: var(--color-border);
  }
}

/* ---------- photo track panels ---------- */
.tracks-photo {
  display: grid;
  gap: 14px;
}
@media (min-width: 768px) { .tracks-photo { grid-template-columns: 1.15fr 1fr; } }
.track-panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.track-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.track-panel:hover > img { transform: scale(1.04); }
.track-panel .track-img-hover { opacity: 0; transition: opacity 500ms var(--ease), transform 400ms var(--ease); }
.track-panel:hover .track-img-hover { opacity: 1; }
.track-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-family: var(--font-display);
}
.track-tag b {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 300ms ease;
}
.track-tag .t-przed { background: rgba(7, 11, 22, 0.72); color: #fff; border: 1px solid rgba(255,255,255,0.18); }
.track-tag .t-po { position: absolute; left: 0; top: 0; opacity: 0; background: var(--color-accent); color: var(--color-accent-ink); }
.track-panel:hover .track-tag .t-przed { opacity: 0; }
.track-panel:hover .track-tag .t-po { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .track-panel .track-img-hover { transition: opacity 200ms ease; } }
.track-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 11, 22, 0.94) 12%, rgba(7, 11, 22, 0.25) 65%);
}
.track-panel .track-body {
  position: relative;
  z-index: 1;
  padding: 26px 26px 28px;
}
.track-panel h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.track-panel h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--color-accent);
  margin-top: 12px;
}
.track-panel p { color: var(--color-text-muted); margin: 12px 0 18px; max-width: 46ch; }
@media (prefers-reduced-motion: reduce) { .track-panel > img { transition: none; } }

/* ---------- cennik board ---------- */
.cennik { border-top: 1px solid var(--color-border-strong); }
@media (min-width: 760px) {
  .cennik { display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; }
}
.cennik-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 20px;
  align-items: baseline;
  padding: 13px 4px;
  border-bottom: 1px solid var(--color-border);
  transition: background 150ms ease, padding-left 150ms var(--ease);
}
.cennik-row:hover { background: var(--color-surface-2); padding-left: 12px; }
.cennik-row h3 { font-size: 0.98rem; }
.cennik-row .cennik-desc {
  grid-column: 1;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 46ch;
}
.cennik-row .cennik-price {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--color-accent);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .cennik-row { grid-template-columns: 1fr; }
  .cennik-row .cennik-price { grid-row: auto; grid-column: 1; }
}

/* ---------- parallax car band ---------- */
.parallax-band {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  background-image: url('../assets/img/praca-1.jpg');
  background-size: cover;
  background-position: center 40%;
  background-attachment: fixed;
}
.parallax-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 11, 22, 0.92) 20%, rgba(7, 11, 22, 0.45) 75%);
}
.parallax-band .container { position: relative; z-index: 1; }
.parallax-band h2 { max-width: 100%; text-wrap: balance; }
.parallax-band h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  background: var(--color-accent);
  margin-top: 18px;
}
.parallax-band p { color: var(--color-text-muted); max-width: 52ch; margin: 16px 0 26px; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .parallax-band { background-attachment: scroll; }
}

/* ---------- reviews with avatars ---------- */
.review-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(4, 1fr); } }
.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}
.review-head { display: flex; align-items: center; gap: 12px; }
.avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}
.review-name { font-family: var(--font-sub); font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.review-meta { color: var(--color-text-faint); font-size: 0.82rem; }
.review-stars { color: var(--color-accent); display: flex; gap: 2px; }
.review-stars svg { width: 15px; height: 15px; }
.review-card blockquote { font-size: 0.94rem; line-height: 1.6; color: var(--color-text-muted); }

/* trust strip on subpages */
.trust-strip { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); background: var(--color-surface-2); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 36px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 0.95rem; color: var(--color-text); }
.trust-item svg { width: 20px; height: 20px; color: var(--color-accent); flex: none; }
.ts-stars { display: inline-flex; gap: 1px; }
.ts-stars svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .trust-strip .container { gap: 11px 18px; } .trust-item { font-size: 0.84rem; } .trust-item svg { width: 17px; height: 17px; } }

/* ---------- photo gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery a, .gallery figure {
  position: relative; display: block; overflow: hidden; margin: 0;
  border: 1px solid var(--color-border); border-radius: 14px; aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 500ms var(--ease);
}
.gallery a:hover img, .gallery figure:hover img { transform: scale(1.06); }
/* nakładka + lupa przy najechaniu (sygnał: kliknij, aby powiększyć) */
.gallery a::after, .gallery figure::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(9, 14, 26, 0.32) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M11 8v6M8 11h6M20.5 20.5l-4-4'/%3E%3C/svg%3E") center / 42px no-repeat;
  opacity: 0; transition: opacity 0.28s ease;
}
@media (hover: hover) { .gallery a:hover::after, .gallery figure:hover::after { opacity: 1; } }
/* PPF — pakiety oklejania */
.ppf-pakiety { display: grid; gap: 20px; }
@media (min-width: 900px) { .ppf-pakiety { grid-template-columns: repeat(3, 1fr); } }
.ppf-pak {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
}
.ppf-pak-img { background: #fff; padding: 6px 10px; }
.ppf-pak-img img { width: 100%; height: auto; display: block; }
.ppf-pak-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ppf-pak-body h3 { font-size: 1.15rem; }
.ppf-pak-zakres { color: var(--color-text); font-size: 0.94rem; font-weight: 600; }
.ppf-pak-body p { color: var(--color-text-muted); font-size: 0.93rem; line-height: 1.65; margin: 0; }
.ppf-pak.featured { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent); }
.ppf-pak-tag {
  align-self: flex-start; font-family: var(--font-sub); font-weight: 700;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px; background: var(--color-accent); color: var(--color-accent-ink);
}

/* PPF — dodatkowe elementy (kafle ze zdjęciem na całość + podpis na gradiencie) */
.ppf-elementy { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .ppf-elementy { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ppf-elementy { grid-template-columns: repeat(4, 1fr); } }
.ppf-el {
  position: relative; margin: 0; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--color-border); aspect-ratio: 4 / 3; background: #0d1526;
}
.ppf-el img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform 500ms var(--ease); }
.ppf-el figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 1; padding: 26px 14px 12px;
  font-family: var(--font-sub); font-weight: 700; font-size: 0.92rem; color: #fff;
  background: linear-gradient(to top, rgba(7, 11, 22, 0.92) 30%, rgba(7, 11, 22, 0));
}
@media (hover: hover) {
  .ppf-el:hover img { transform: scale(1.07); }
  .ppf-el:hover { border-color: var(--color-accent); }
}
@media (prefers-reduced-motion: reduce) { .ppf-el img { transition: none; } }

/* galeria par PRZED / PO — zdjęcia zestawione parami, z etykietami */
/* zawsze jedna para (przed + po) w wierszu */
.gallery-ba { grid-template-columns: repeat(2, 1fr) !important; gap: 10px 14px; max-width: 980px; }
@media (min-width: 900px) { .gallery-ba { gap: 14px 18px; } }
.gallery-ba figure { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3 !important; }
.gallery-ba figure[data-ba]::before {
  content: attr(data-ba); position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-sub); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 11px; border-radius: 100px;
}
.gallery-ba figure[data-ba="Przed"]::before { background: rgba(11, 17, 32, 0.85); color: #fff; border: 1px solid var(--color-border-strong); }
.gallery-ba figure[data-ba="Po"]::before { background: var(--color-accent); color: var(--color-accent-ink); }
/* subtelna ramka wokół pary */
@media (min-width: 900px) {
  .gallery-ba figure:nth-child(odd) { border-right-width: 2px; border-right-color: rgba(245, 165, 36, 0.35); }
}
@media (max-width: 899px) {
  .gallery-ba figure:nth-child(odd) { border-right-width: 2px; border-right-color: rgba(245, 165, 36, 0.35); }
}

/* bento: pierwsze zdjęcie duże, gdy galeria ma 6+ zdjęć (równe 3x3) */
@media (min-width: 760px) {
  .gallery:has(figure:nth-child(6)) figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  /* duża płytka wypełnia obszar 2x2 - zdjęcie nie może dyktować wysokości (zostawiało puste pola) */
  .gallery:has(figure:nth-child(6)) figure:first-child > img { position: absolute; inset: 0; }
  /* dokładnie 4 zdjęcia -> równa siatka 2x2 */
  .gallery:has(figure:nth-child(4)):not(:has(figure:nth-child(5))) { grid-template-columns: repeat(2, 1fr); max-width: 980px; }
  /* dokładnie 5 zdjęć -> pierwsze większe, żeby rząd się domykał */
  .gallery:has(figure:nth-child(5)):not(:has(figure:nth-child(6))) figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery:has(figure:nth-child(5)):not(:has(figure:nth-child(6))) figure:first-child > img { position: absolute; inset: 0; }
}
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

/* ---------- video facade ---------- */
.video-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
.video-box {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--color-border);
  cursor: pointer;
  background: var(--color-surface-2);
}
.video-box img { width: 100%; height: 100%; object-fit: cover; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-box .video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 54px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms var(--ease);
}
.video-box:hover .video-play { transform: scale(1.08); }
.video-box .video-play svg { width: 26px; height: 26px; color: var(--color-accent-ink); }
.video-caption { margin-top: 10px; color: var(--color-text-muted); font-size: 0.92rem; }
.video-single { max-width: 880px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--color-border); background: #000; }
.video-single video { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- before / after slider ---------- */
/* before/after side-by-side pair */
.ba-pair { display: grid; gap: 16px; max-width: 980px; margin: 0 auto; }
@media (min-width: 640px) { .ba-pair { grid-template-columns: 1fr 1fr; } }
.ba-pair figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--color-border); }
.ba-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; cursor: zoom-in; }
/* etykiety Przed/Po na parze zdjęć (nazwy z prefiksem bap-, żeby nie kolidowały z .ba-tag suwaka) */
.bap-tag { position: absolute; top: 12px; left: 12px; z-index: 2; font-family: var(--font-sub); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 13px; border-radius: 100px; pointer-events: none; }
.bap-tag-przed { background: rgba(11, 17, 32, 0.86); color: #fff; border: 1px solid var(--color-border-strong); }
.bap-tag-po { background: var(--color-accent); color: var(--color-accent-ink); border: 1px solid var(--color-accent); }

.ba-slider {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 880px;
}
/* czytelne etykiety Przed / Po na suwaku */
.ba-slider::before, .ba-slider::after {
  position: absolute; top: 12px; z-index: 3; pointer-events: none;
  font-family: var(--font-sub); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 13px; border-radius: 100px;
}
.ba-slider::before { content: "Przed"; left: 12px; background: rgba(11, 17, 32, 0.82); color: #fff; border: 1px solid var(--color-border-strong); }
.ba-slider::after { content: "Po"; right: 12px; background: var(--color-accent); color: var(--color-accent-ink); }
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-top { clip-path: inset(0 50% 0 0); }
.ba-slider input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--color-accent);
  pointer-events: none;
  transform: translateX(-50%);
}
.ba-handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.ba-tag {
  position: absolute;
  top: 14px;
  padding: 4px 12px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(7, 11, 22, 0.78);
  pointer-events: none;
}
.ba-tag.przed { left: 14px; }
.ba-tag.po { right: 14px; color: var(--color-accent); }

/* ---------- price calculator ---------- */
.calc {
  display: grid;
  gap: 28px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: 28px 24px;
}
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr 1fr; padding: 40px; } }
.calc .form-grid { align-content: start; }
.calc-result {
  border-left: 3px solid var(--color-accent);
  padding: 8px 0 8px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.calc-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--color-accent);
  line-height: 1.1;
}
.calc-note { color: var(--color-text-faint); font-size: 0.85rem; }
.calc-result .hero-ctas { margin-top: 14px; }

/* ---------- sticky mobile action bar ---------- */
.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
  background: var(--color-surface-2);
  border-top: 1px solid var(--color-border-strong);
}
.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 56px;
  font-family: var(--font-sub);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.action-bar a svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 360px) { .action-bar a { font-size: 0.72rem; gap: 4px; } }
.action-bar .ab-cta { background: var(--color-accent); color: var(--color-accent-ink); }
@media (min-width: 768px) { .action-bar { display: none; } }
@media (max-width: 767px) {
  html { overflow-x: clip; }
  body { padding-bottom: 56px; overflow-x: clip; }
  .wa-fab { display: none; }
}

/* ---------- szkolenia split hero (photo card + content card) ---------- */
.szk-split-section { position: relative; overflow: hidden; }
.szk-split-section > .szk-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.12;
  filter: blur(6px);
  z-index: 0;
}
.szk-split-section::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 500px at 50% 0%, transparent, var(--color-surface) 78%);
  z-index: 0;
}
.szk-split-section > .container { position: relative; z-index: 1; }

/* generic section background image (with parallax) */
.has-bg { position: relative; overflow: hidden; }
.has-bg > .sec-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}
.has-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 17, 32, 0.74), rgba(11, 17, 32, 0.5));
  z-index: 0;
}
.has-bg > .container { position: relative; z-index: 1; }
.szk-split {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 940px) {
  .szk-split { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  /* wariant z większym zdjęciem i węższą kartą tekstu */
  .szk-split.is-media-lg { grid-template-columns: 1.45fr 1fr; gap: 40px; }
  .szk-split.is-media-lg .szk-split-card { padding: 32px 30px; }
  .szk-split.is-media-lg .szk-split-card h1 { font-size: clamp(2rem, 3.1vw, 42px); }
  .szk-split.is-media-lg .szk-split-card .lead { font-size: 1.02rem; }
  .szk-split.is-media-lg .szk-split-card p { font-size: 0.95rem; }
  /* w węższej karcie przyciski nie mieszczą się obok siebie - równe, pełnej szerokości */
  .szk-split.is-media-lg .szk-split-card .hero-ctas { gap: 10px; }
  .szk-split.is-media-lg .szk-split-card .hero-ctas .btn { width: 100%; justify-content: center; }
}

/* left: photo card with floating stat badge */
.szk-split-media { position: relative; }
.szk-split-photo {
  width: 100%;
  /* height: auto - bez tego atrybut height="..." z HTML wygrywa z aspect-ratio
     i zdjęcie rozciąga się na całą wysokość kolumny */
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}
.szk-float-badge {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: 220px;
  text-align: center;
  background: #fff;
  color: #0b1220;
  padding: 18px 26px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(2, 6, 17, 0.45);
}
.szk-float-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
}
.szk-float-num span { color: var(--color-accent); }
.szk-float-label { margin-top: 4px; font-size: 0.82rem; color: #475569; font-weight: 600; }
.szk-stars { display: inline-flex; gap: 3px; margin-top: 8px; color: var(--color-accent); }
.szk-stars svg { width: 17px; height: 17px; }

/* right: content card */
.szk-split-photo.is-wide { aspect-ratio: 16 / 9; }
/* przy szerokim kadrze plakietka na środku zasłaniała twarze - idzie w róg */
.szk-split-photo.is-wide ~ .szk-float-badge {
  left: 16px; right: auto; bottom: 16px; transform: none;
  min-width: 0; padding: 12px 18px;
}
.szk-split-photo.is-wide ~ .szk-float-badge .szk-float-num { font-size: 1.8rem; }
/* na telefonie szeroki kadr jest niski - plakietka schodzi pod zdjęcie, żeby nie zasłaniać ludzi */
@media (max-width: 700px) {
  .szk-split-photo.is-wide ~ .szk-float-badge {
    position: static; transform: none; margin-top: 12px;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 12px;
    padding: 12px 16px; text-align: left;
  }
  .szk-split-photo.is-wide ~ .szk-float-badge .szk-float-num { font-size: 1.5rem; }
  .szk-split-photo.is-wide ~ .szk-float-badge .szk-float-label { font-size: 0.86rem; }
}
.szk-split-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 38px 36px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) { .szk-split-card { padding: 28px 22px; } }
.szk-tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 16px;
  border: 1px solid var(--color-accent);
  border-radius: 9999px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.szk-split-card h1 {
  text-transform: none;
  font-size: clamp(2.2rem, 5.5vw, 56px);
  margin-bottom: 18px;
}
/* długie słowa ("samochodowych") dotykały krawędzi karty na telefonie */
@media (max-width: 420px) { .szk-split-card h1 { font-size: 1.9rem; } }
.szk-split-card .lead { margin-bottom: 14px; }
.szk-split-card p { color: var(--color-text-muted); }
.szk-split-card .hero-ctas { margin-top: 28px; }

@media (max-width: 939px) {
  .szk-float-badge { bottom: 14px; min-width: 200px; padding: 12px 18px; }
  .szk-split { gap: 40px; }
}

/* ---------- proof / before-after centerpiece ---------- */
.proof {
  background:
    radial-gradient(900px 360px at 88% 0%, rgba(245, 165, 36, 0.10), transparent 60%),
    var(--color-surface-2);
  border-block: 1px solid var(--color-border);
}
.proof-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) {
  .proof-grid { grid-template-columns: 5fr 7fr; gap: 56px; }
}
.proof-copy h2 {
  text-transform: uppercase;
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin: 18px 0 16px;
}
.proof-copy .lead { margin-bottom: 22px; }
.proof-points { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.proof-points li {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; color: var(--color-text);
}
.proof-points svg {
  flex: none; width: 26px; height: 26px; padding: 4px;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 9999px;
}
.proof-ba {
  max-width: none;
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

/* ---------- financing reassurance band ---------- */
.fin-band {
  display: grid;
  gap: 10px 18px;
  align-items: center;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(245, 165, 36, 0.5);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(245, 165, 36, 0.12), transparent 60%),
    var(--color-surface-2);
}
@media (min-width: 820px) { .fin-band { grid-template-columns: auto 1fr auto; column-gap: 18px; } }
.fin-icon {
  flex: none; width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.fin-icon svg { width: 22px; height: 22px; }
.fin-copy h2 { text-transform: none; font-size: 1.15rem; line-height: 1.3; }
.fin-copy p { color: var(--color-text-muted); margin-top: 4px; max-width: 70ch; font-size: 0.9rem; line-height: 1.55; }
.fin-cta { white-space: nowrap; min-height: 44px; padding: 0 20px; font-size: 0.8rem; }
/* na telefonie nierozdzielny napis przycisku rozpychał kolumnę i tekst wychodził za ramkę */
.fin-band > * { min-width: 0; }
@media (max-width: 620px) {
  .fin-cta { white-space: normal; text-align: center; line-height: 1.35; padding: 11px 18px; }
  .fin-copy h2 { overflow-wrap: break-word; }
}

/* ---------- earnings / ROI ---------- */
.zarobki-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 940px) { .zarobki-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.zarobki-copy h2 { text-transform: uppercase; font-size: clamp(1.7rem, 3.8vw, 36px); margin: 18px 0 16px; }
.zarobki-copy .lead { margin-bottom: 22px; }
.zarobki-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-card);
}
.zk-head { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--color-accent); font-weight: 700; margin-bottom: 14px; }
.zk-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--color-border); }
.zk-row span { color: var(--color-text-muted); }
.zk-row strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--color-text); white-space: nowrap; }

/* standout monthly metric — elegant, not a filled box */
.zk-metric { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 0 18px; border-bottom: 1px solid var(--color-border); }
.zk-metric-label { color: var(--color-text); font-weight: 700; line-height: 1.25; }
.zk-metric-label small { display: block; font-weight: 400; font-size: 0.78rem; color: var(--color-text-muted); margin-top: 2px; }
.zk-metric-val { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1; white-space: nowrap; }
.zk-metric-val mark { background: transparent; color: var(--color-accent); padding: 0; }

/* cost line */
.zk-cost { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0 20px; }
.zk-cost span { color: var(--color-text-muted); }
.zk-cost strong { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--color-text); white-space: nowrap; }

/* payoff footer */
.zk-payoff {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, rgba(245, 165, 36, 0.16), rgba(245, 165, 36, 0.04));
  border: 1px solid rgba(245, 165, 36, 0.45);
}
.zk-payoff-ic { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); }
.zk-payoff-ic svg { width: 22px; height: 22px; }
.zk-payoff-tx { display: flex; flex-direction: column; }
.zk-payoff-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--color-accent); font-weight: 700; }
.zk-payoff-num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--color-text); line-height: 1.15; margin-top: 2px; }
.zk-note { margin-top: 14px; font-size: 0.8rem; color: var(--color-text-muted); }

/* ---------- alumni cards ---------- */
.alumni-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.alumni-card {
  display: flex; gap: 18px; align-items: center;
  padding: 22px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 18px;
}
.alumni-av {
  flex: none; width: 76px; height: 76px;
  display: grid; place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-accent);
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em;
}
.alumni-card h3 { font-size: 1.02rem; line-height: 1.28; }
.alumni-owner { margin-top: 4px; color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600; }
.alumni-loc { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 0.8rem; color: var(--color-accent); font-weight: 600; }
.alumni-loc svg { width: 14px; height: 14px; flex: none; }
@media (prefers-reduced-motion: reduce) { .alumni-card { transition: none; } }

/* ---------- karta ceny szkolenia ---------- */
.cena-card {
  display: grid;
  gap: 28px;
  background:
    radial-gradient(760px 260px at 100% 0%, rgba(245, 165, 36, 0.11), transparent 62%),
    var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.cena-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--color-accent), rgba(245, 165, 36, 0));
}
@media (min-width: 900px) { .cena-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 0; } }
.cena-main { padding: 34px 34px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.cena-eyebrow {
  font-family: var(--font-sub); font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--color-accent); font-weight: 800;
}
.cena-amount {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.4rem, 5vw, 3.4rem); margin: 14px 0 0; color: #fff;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px;
}
.cena-amount small {
  font-family: var(--font-sub); font-size: 0.95rem; font-weight: 700;
  color: var(--color-accent); letter-spacing: 0.01em;
}
.cena-meta { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.cena-meta li { display: flex; align-items: center; gap: 10px; color: var(--color-text-muted); font-size: 0.93rem; }
.cena-meta svg { width: 18px; height: 18px; color: var(--color-accent); flex: none; }
.cena-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cena-tel { color: var(--color-text); font-weight: 600; font-size: 0.94rem; border-bottom: 1px solid rgba(245, 165, 36, 0.5); padding-bottom: 2px; }
.cena-tel:hover { color: var(--color-accent); }
.cena-side {
  padding: 30px 34px 32px; background: rgba(9, 14, 26, 0.42);
  border-top: 1px solid var(--color-border);
}
@media (min-width: 900px) { .cena-side { border-top: 0; border-left: 1px solid var(--color-border); } }
.cena-side-h {
  font-family: var(--font-sub); font-size: 0.74rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--color-text-muted); font-weight: 800; margin-bottom: 16px;
}
.cena-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cena-list li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; font-size: 0.95rem; line-height: 1.45; }
.cena-list svg { width: 21px; height: 21px; color: var(--color-accent); flex: none; margin-top: 1px; }

/* ---------- opinie / carousel ---------- */
.rev-carousel { position: relative; }
.rev-track {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 340px; max-width: 84vw;
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 26px 24px;
}
.rev-stars { display: inline-flex; gap: 3px; color: var(--color-accent); }
.rev-stars svg { width: 17px; height: 17px; }
.rev-text { color: var(--color-text); font-size: 0.98rem; line-height: 1.6; flex: 1; }
.rev-author { display: flex; align-items: center; gap: 12px; margin-top: 2px; }
.rev-av { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--color-border); background: #fff; flex: none; }
.rev-name { font-family: var(--font-sub); font-weight: 700; font-size: 0.98rem; }
.rev-firm { color: var(--color-text-muted); font-size: 0.85rem; }
/* Awatar jak w wizytówce Google: kolorowe kółko z inicjałem i znaczek źródła.
   Nie wstawiamy tu zdjęć modeli - opinie są prawdziwe i podpisane nazwiskami,
   więc cudza twarz przy nich wprowadzałaby czytelnika w błąd. */
.rev-av-ini {
  display: grid; place-items: center;
  background: var(--av-bg, var(--color-accent));
  color: #fff; border-color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-sub); font-weight: 700; font-size: 1.32rem;
  letter-spacing: 0.01em; text-transform: uppercase;
}
.rev-avatar { position: relative; flex: none; display: block; width: 52px; height: 52px; }
.rev-g {
  position: absolute; right: -3px; bottom: -3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 1px 4px rgba(2, 6, 17, 0.5);
}
.rev-g svg { width: 13px; height: 13px; }
.rev-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(17, 26, 46, 0.96);
  color: var(--color-text);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(2, 6, 17, 0.45);
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
  z-index: 3;
}
.rev-nav:hover { border-color: var(--color-accent); color: var(--color-accent); background: var(--color-surface-2); }
.rev-nav svg { width: 22px; height: 22px; }
.rev-prev { left: -16px; }
.rev-next { right: -16px; }
@media (max-width: 700px) { .rev-nav { display: none; } }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; } }
.contact-info { display: grid; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid var(--color-border); }
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info .contact-item:first-child { padding-top: 0; }
.contact-ic {
  flex: none; width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.contact-ic svg { width: 24px; height: 24px; }
.contact-item h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-item p { color: var(--color-text-muted); line-height: 1.6; }
.contact-phones { display: grid; gap: 4px; }
.contact-phones a { color: var(--color-accent); font-weight: 700; font-family: var(--font-display); }
.contact-link { display: inline-block; margin-top: 8px; color: var(--color-accent); font-weight: 700; font-size: 0.9rem; }
.contact-socials { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.contact-socials a { color: var(--color-text); font-weight: 600; font-size: 0.92rem; transition: color 150ms ease; }
.contact-socials a:hover { color: var(--color-accent); }
.contact-form-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 600px) { .contact-form-card { padding: 26px 22px; } }
.contact-form-card h2 { text-transform: none; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.contact-map { border-radius: 18px; overflow: hidden; border: 1px solid var(--color-border); }
.contact-map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* ---------- artykuł (PDR jako biznes) ---------- */
.article { max-width: 780px; margin: 0 auto; }
/* tabela cennika (np. rozmiary felg) */
.ptab-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: 16px; background: var(--color-surface-2); }
.ptab { width: 100%; border-collapse: collapse; min-width: 420px; font-variant-numeric: tabular-nums; }
.ptab caption {
  text-align: left; padding: 20px 24px 0; font-family: var(--font-sub);
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 800;
}
.ptab th, .ptab td { padding: 13px 24px; text-align: left; border-bottom: 1px solid var(--color-border); }
.ptab thead th {
  font-family: var(--font-sub); font-size: 0.74rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-text-muted); font-weight: 800;
  border-bottom-color: var(--color-border-strong);
}
.ptab td:last-child, .ptab th:last-child { text-align: right; }
.ptab tbody th { font-weight: 700; color: var(--color-text); }
.ptab td.price { font-family: var(--font-display); font-size: 1.12rem; color: #fff; white-space: nowrap; }
.ptab tbody tr:last-child th, .ptab tbody tr:last-child td { border-bottom: 0; }
@media (hover: hover) { .ptab tbody tr:hover th, .ptab tbody tr:hover td { background: rgba(245, 165, 36, 0.06); } }
.ptab tr.sep th, .ptab tr.sep td { border-top: 1px solid var(--color-border-strong); }
.ptab-note { color: var(--color-text-muted); font-size: 0.9rem; margin: 14px 0 0; }
@media (max-width: 560px) {
  /* na telefonie tabela musi zmieścić się na ekranie - bez przewijania w bok */
  .ptab { min-width: 0; font-size: 0.92rem; }
  .ptab th, .ptab td { padding: 11px 12px; }
  .ptab caption { padding: 15px 12px 0; font-size: 0.68rem; letter-spacing: 0.1em; }
  .ptab thead th { font-size: 0.66rem; letter-spacing: 0.06em; }
  .ptab td.price { font-size: 1rem; }
  .ptab td.price small { font-size: 0.8em; }
}

/* po pasku pełnej szerokości sekcja potrzebuje oddechu */
.trust-strip + section.section { padding-top: 60px !important; }
@media (min-width: 1024px) { .trust-strip + section.section { padding-top: 88px !important; } }

/* story: zdjęcie + opis, naprzemiennie (jak na oryginale, ale porządniej) */
.story { display: grid; gap: 40px; }
@media (min-width: 1024px) { .story { gap: 64px; } }
.story-row { display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) {
  .story-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .story-row:nth-child(even) .story-media { order: 2; }
}
.story-media { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--color-border); }
.story-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 500ms var(--ease); cursor: zoom-in; }
@media (hover: hover) { .story-media:hover img { transform: scale(1.04); } }
.story-media.two { border: 0; border-radius: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; overflow: visible; }
.story-media.two img { border-radius: 14px; border: 1px solid var(--color-border); aspect-ratio: 4 / 3; height: 100%; }
.story-media.two { align-items: stretch; }
.story-media.multi { border: 0; border-radius: 0; overflow: visible; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.story-media.multi img { border-radius: 12px; border: 1px solid var(--color-border); aspect-ratio: 4 / 3; }
@media (min-width: 860px) { .story-media.multi.m3, .story-media.multi.m5 { grid-template-columns: repeat(3, 1fr); } }
.story-media.multi.m3 img:first-child, .story-media.multi.m5 img:first-child { grid-column: span 2; grid-row: span 2; }
.story-text h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.25; margin-bottom: 14px; }
.story-text h3::after {
  content: ""; display: block; width: 54px; height: 3px;
  background: var(--color-accent); margin-top: 14px; border-radius: 2px;
}
.story-text p { color: var(--color-text-muted); line-height: 1.75; margin: 0 0 14px; }
.story-text p:last-child { margin-bottom: 0; }
.story-text ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.story-text ul li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 0.95rem; }
.story-text ul svg { width: 20px; height: 20px; color: var(--color-accent); flex: none; margin-top: 2px; }
@media (prefers-reduced-motion: reduce) { .story-media img { transition: none; } }

/* gallery: podpowiedź, że klikalne */
.gallery figure { cursor: zoom-in; overflow: hidden; }
.gallery figure img { transition: transform 0.45s ease; }
@media (hover: hover) { .gallery figure:hover img { transform: scale(1.06); } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(6, 10, 20, 0.94); backdrop-filter: blur(8px); }
.lb.open { display: block; animation: lb-fade 0.25s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 6vh 8vw; }
.lb-img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7); }
.lb-img.an-in { animation: lb-in 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.lb-img.an-r { animation: lb-r 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
.lb-img.an-l { animation: lb-l 0.32s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lb-r { from { opacity: 0; transform: translateX(60px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes lb-l { from { opacity: 0; transform: translateX(-60px) scale(0.98); } to { opacity: 1; transform: none; } }
.lb-btn, .lb-close { position: absolute; z-index: 1; border: 1px solid var(--color-border-strong); background: rgba(11, 17, 32, 0.55); color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 50%; transition: background 0.15s, border-color 0.15s, transform 0.15s; }
.lb-btn { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; }
.lb-btn svg { width: 26px; height: 26px; }
.lb-btn:hover, .lb-close:hover { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.lb-close { top: 22px; right: 3vw; width: 46px; height: 46px; }
.lb-close svg { width: 22px; height: 22px; }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1; color: var(--color-text-muted); font-family: var(--font-sub); font-size: 0.9rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .lb-stage { padding: 12vh 4vw; } .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { right: 10px; } .lb-btn { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .lb.open, .lb-img.an-in, .lb-img.an-r, .lb-img.an-l, .gallery figure img { animation: none !important; transition: none !important; } }

/* OPIS na stronach usług — wyrównanie do lewej (nie wyśrodkowane) */
.opis-container .article { margin-left: 0; margin-right: 0; }
.opis-container .proof-points { max-width: 780px; }

/* szerokie ekrany: tekst i listy na całą szerokość, nagłówki w jednej linii */
@media (min-width: 900px) {
  /* nagłówek sekcji może zająć całą szerokość (podtytuł zostaje czytelny) */
  .section-head { max-width: none; }
  .section-head > p { max-width: 68ch; }
  /* listy w dwóch kolumnach — wypełniają szerokość zamiast wisieć po lewej */
  .proof-points { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .proof-points li { align-items: flex-start; }
}
@media (min-width: 1000px) {
  /* tekst opisu na całą szerokość, jednym ciągiem */
  .opis-container { display: block; }
  .opis-container .article { max-width: none; }
  .opis-container .proof-points { max-width: none; }
  /* długie nagłówki: rozmiar dobrany tak, by zmieściły się w jednej linii */
  .section-head h2.sh-long, .section-head h1.sh-long { font-size: min(2.4vw, 33px); text-wrap: nowrap; }
  .section-head h1.sh-long { font-size: min(3.1vw, 40px); }
}

/* sekcje pełnej szerokości nie mogą się skalować — powodowałoby to poziomy scroll */
/* duże bloki tylko delikatnie się pojawiają - bez przesuwania, obracania i skalowania
   (w trakcie animacji wyglądały na ucięte i nieczytelne) */
.trust-strip[class*="reveal"],
.cena-card[class*="reveal"],
.ptab-wrap[class*="reveal"],
.story[class*="reveal"],
.gallery[class*="reveal"],
.ppf-pakiety[class*="reveal"],
.ppf-elementy[class*="reveal"] {
  transform: none !important;
  filter: none !important;
}
.article h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 44px 0 14px; }
.article h2:first-child { margin-top: 0; }
.article p { margin-bottom: 18px; color: #c5cdda; line-height: 1.8; }
.article ul { margin: 0 0 22px; padding-left: 22px; }
.article li { margin-bottom: 10px; color: #c5cdda; line-height: 1.7; }
.article li::marker { color: var(--color-accent); }

/* ---------- certyfikaty ---------- */
.cert-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cert-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 26px 24px;
  transition: transform 200ms var(--ease), border-color 200ms ease;
}
.cert-card:hover { transform: translateY(-3px); border-color: var(--color-accent); }
.cert-ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  margin-bottom: 16px;
}
.cert-ic svg { width: 26px; height: 26px; }
.cert-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cert-card p { color: var(--color-text-muted); font-size: 0.92rem; }
@media (prefers-reduced-motion: reduce) { .cert-card { transition: none; } }

.cert-scans { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cert-scans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cert-scans { grid-template-columns: 1fr; } }
.cert-scans a {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 200ms var(--ease), border-color 200ms ease, box-shadow 200ms ease;
}
.cert-scans a:hover { transform: translateY(-4px); border-color: var(--color-accent); box-shadow: var(--shadow-card); }
.cert-scans img { width: 100%; height: auto; display: block; }
@media (prefers-reduced-motion: reduce) { .cert-scans a { transition: none; } }

/* ---------- wszystkie szkolenia (grid kursów) ---------- */
.kursy-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .kursy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .kursy-grid { grid-template-columns: repeat(3, 1fr); } }
.kurs-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 200ms var(--ease), border-color 200ms ease;
}
.kurs-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.kurs-card > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.kurs-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kurs-body h3 { font-size: 1.1rem; line-height: 1.25; }
.kurs-body p { color: var(--color-text-muted); font-size: 0.9rem; flex: 1; }
.kurs-link { color: var(--color-accent); font-weight: 700; font-size: 0.9rem; margin-top: 4px; }
.kurs-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 9px; }
.kurs-meta .kurs-price::before { content: "·"; margin-right: 9px; color: var(--color-text-muted); }
.kurs-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-card);
}
.kurs-card.featured .kurs-body { background: var(--color-accent-soft); }
.kurs-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--color-accent); color: var(--color-accent-ink);
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 7px 13px; border-radius: 9999px;
}

/* ---------- szkolenia features banner ---------- */

/* ---------- form status (submit result) ---------- */
.form-status { grid-column: 1 / -1; margin: 4px 0 0; font-size: 0.98rem; font-weight: 600; }
.form-status.is-ok  { color: #4ade80; }
.form-status.is-err { color: #f87171; }

/* ---------- cookie consent banner ---------- */
.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  max-width: 720px; margin: 0 auto;
  background: rgba(17, 22, 33, 0.94); backdrop-filter: blur(14px);
  border: 1px solid var(--color-border); border-radius: 16px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.7);
  padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { margin: 0; font-size: 0.92rem; color: var(--color-text-muted); flex: 1 1 280px; }
.cookie-bar a { color: var(--color-accent); }
.cookie-bar .cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { padding: 10px 18px; font-size: 0.9rem; }
@media (max-width: 480px) { .cookie-bar { padding: 16px; } .cookie-bar .btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }

/* ================= SPLIT HERO (Usługi | Szkolenia) ================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - var(--nav-h)); min-height: calc(100dvh - var(--nav-h)); }
.sh-panel { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 3.5vw, 60px); isolation: isolate; }
.sh-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.sh-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,12,22,.28) 0%, rgba(8,12,22,.74) 55%, rgba(8,12,22,.95) 100%); }
.sh-train::after { background: linear-gradient(180deg, rgba(8,12,22,.28) 0%, rgba(26,17,3,.80) 55%, rgba(12,9,4,.96) 100%); }
.sh-serv { border-right: 1px solid rgba(255,255,255,.08); }
.sh-panel:hover > img { transform: scale(1.06); }
.sh-inner { max-width: 520px; }
.sh-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--color-accent); background: rgba(245,165,36,.12); border: 1px solid rgba(245,165,36,.28); padding: 7px 14px; border-radius: 100px; margin-bottom: 16px; }
.sh-panel h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1; margin: 0 0 12px; }
.sh-inner p { color: #d6dae2; font-size: 1.05rem; max-width: 42ch; margin: 0 0 20px; }
.sh-list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 26px; padding: 0; }
.sh-list a { display: inline-flex; align-items: center; gap: 7px; font-size: .92rem; font-weight: 600; color: #eef0f4; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 9px 14px; border-radius: 100px; transition: background .2s, border-color .2s, transform .2s, color .2s; }
.sh-list a:hover { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); transform: translateY(-2px); }
.sh-courses a span { font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; color: var(--color-accent); background: rgba(245,165,36,.16); padding: 2px 7px; border-radius: 100px; }
.sh-courses a:hover span { color: var(--color-accent-ink); background: rgba(0,0,0,.14); }
.sh-cta { align-self: flex-start; }
@media (max-width: 860px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .sh-panel { min-height: 60vh; padding: 28px 22px 34px; }
  .sh-serv { border-right: none; border-bottom: 4px solid var(--color-accent); }
}

/* ================= services desktop dropdown (2 columns) ================= */
.nav-dropdown-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 6px; width: 520px; }
.nav-dropdown-2col .dd-featured { grid-column: 1 / -1; }

/* ================= mobile submenu accordion (collapsed by default) ================= */
.mm-group .mm-sub { display: none; }
.mm-group.is-open .mm-sub { display: grid; }
.mm-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 14px 12px; background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--color-text); border-radius: var(--radius-input); text-align: left; }
.mm-toggle:hover { background: var(--color-surface-2); }
.mm-chevron { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease; color: var(--color-accent); }
.mm-group.is-open .mm-chevron { transform: rotate(180deg); }

.card[id] { scroll-margin-top: 96px; }

/* clickable service cards */
.card { position: relative; }
.card-cover { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.card-cover:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* split as a section (banner is above it) */
.split-hero.split-inline { min-height: auto; }
/* wariant „karty": panele w kontenerze, z zaokrągleniem, ramką i odstępem */
.split-inline {
  max-width: var(--container); margin: 0 auto; padding: 0 20px;
  gap: 18px; background: transparent;
}
@media (min-width: 768px) { .split-inline { padding: 0 32px; gap: 22px; } }
.split-inline .sh-panel {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: border-color .25s ease, transform .35s var(--ease);
}
@media (hover: hover) {
  .split-inline .sh-panel:hover { border-color: var(--color-accent); transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) { .split-inline .sh-panel { transition: none; } }
/* panele to duże bloki - nigdy nie przesuwamy ich przy pojawianiu (psuło odstępy) */
.split-inline .sh-panel[class*="reveal"] { transform: none !important; filter: none !important; }
@media (hover: hover) { .split-inline .sh-panel:hover { transform: translateY(-4px) !important; } }
.split-inline .sh-panel { min-height: 380px; }
.split-section { overflow: hidden; }
@media (max-width: 860px) { .split-inline .sh-panel { min-height: 56vh; } }

/* ---------- mobile 2-col compact cards (usługi + szkolenia) ---------- */
@media (max-width: 639px) {
  #cennik .cards, .kursy-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  #cennik .card-body, .kursy-grid .card-body { padding: 12px 13px 15px; gap: 6px; }
  #cennik .card-body h3, .kursy-grid .card-body h3 { font-size: 1rem; line-height: 1.18; }
  #cennik .card-body p, .kursy-grid .card-body p { display: none; }
  #cennik .card-link { font-size: 0.82rem; font-weight: 700; }
  .kursy-grid .kurs-meta { flex-direction: column; align-items: flex-start; gap: 2px; margin-top: 8px; padding-top: 8px; }
  .kursy-grid .kurs-time, .kursy-grid .kurs-price { font-size: 0.8rem; }
  .kursy-grid .kurs-price::before { display: none; }
  .kursy-grid .card .card-link { display: none; }
  .kursy-grid .kurs-badge { font-size: 0.6rem; padding: 4px 9px; top: 10px; left: 10px; }
}

/* ---------- mobile hero: frame photos better ---------- */
@media (max-width: 767px) {
  .hero-full { min-height: calc(74vh - var(--nav-h)); }
  .hero-full .hero-bg { object-position: center center !important; }
  .hero-full .container { padding-bottom: 34px; }
}

/* ---------- mobile hero framing ---------- */
@media (max-width: 767px) {
  .hero-full { min-height: calc(74vh - var(--nav-h)); }
  .hero-full .hero-bg { object-position: center center !important; }
  .hero-full .container { padding-bottom: 34px; }
}

/* ---------- compact FAQ on mobile ---------- */
@media (max-width: 639px) {
  .faq summary { padding: 12px 2px; font-size: 0.9rem; gap: 10px; line-height: 1.25; }
  .faq summary svg { width: 17px; height: 17px; }
  .faq .faq-a { padding: 0 2px 13px; font-size: 0.88rem; }
}

/* aktualnie oglądana strona w menu */
.nav-dropdown a.is-current {
  color: var(--color-accent);
  background: rgba(245, 165, 36, 0.12);
  box-shadow: inset 0 0 0 1px rgba(245, 165, 36, 0.35);
}
/* w menu mobilnym grupa ma już swoją pionową linię - nie dokładamy drugiej,
   tylko równy, wyśrodkowany „pill” wokół pozycji */
.mm-sub a.is-current {
  color: var(--color-accent) !important;
  background: rgba(245, 165, 36, 0.12);
  border-radius: 10px;
  padding: 8px 12px !important;
  margin: 0 0 0 -12px;
  box-shadow: inset 0 0 0 1px rgba(245, 165, 36, 0.28);
}
.nav-links > li > a.is-current-parent { color: var(--color-accent); }

/* ------------------------------------------------------------------
   FAQ w kategoriach - cztery panele, każdy rozwija swoje pytania.
   Jedna kolumna na pełną szerokość kontenera (jak pasek kontaktowy
   pod spodem), bez ikon, z niskim nagłówkiem - żeby blok nie zjadał
   pół ekranu, zanim ktokolwiek go rozwinie.
   ------------------------------------------------------------------ */
.faq-groups { display: grid; gap: 8px; max-width: none; }
.faq-group {
  border: 1px solid var(--color-border); background: var(--color-surface-2);
  border-left: 3px solid transparent;
  transition: border-color 180ms ease;
}
.faq-group:hover { border-color: var(--color-border-strong); }
.faq-group > summary {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 16px; cursor: pointer;
  padding: 13px 18px; list-style: none;
  transition: background 0.18s ease;
}
.faq-group > summary::-webkit-details-marker { display: none; }
.faq-group > summary:hover { background: rgba(245, 165, 36, 0.07); }
.faq-group > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.fg-ico { display: none; }
.fg-title {
  min-width: 0;
  font-family: var(--font-sub); font-weight: 700; font-size: 1.02rem;
  color: var(--color-text); line-height: 1.3;
}
.fg-title small {
  display: block; margin-top: 1px;
  font-family: var(--font-body); font-weight: 400; font-size: 0.84rem;
  color: var(--color-text-muted); line-height: 1.4;
}
.fg-count {
  flex: none; padding: 3px 10px;
  border: 1px solid var(--color-border); color: var(--color-text-muted);
  font-family: var(--font-sub); font-size: 0.76rem; font-weight: 800;
  letter-spacing: 0.08em; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.fg-chev { flex: none; width: 20px; height: 20px; color: var(--color-accent); transition: transform 0.22s ease; }
.faq-group[open] { border-left-color: var(--color-accent); }
.faq-group[open] > summary { background: rgba(245, 165, 36, 0.09); border-bottom: 1px solid var(--color-border); }
.faq-group[open] > summary .fg-chev { transform: rotate(180deg); }
.faq-group[open] .fg-count { border-color: var(--color-accent); color: var(--color-accent); }
.faq-group > .faq { padding: 2px 18px 8px; max-width: none; }
.faq-group > .faq details { border-bottom: 1px solid var(--color-border); }
.faq-group > .faq details:last-child { border-bottom: 0; }
.faq-group > .faq summary { padding: 13px 4px; }
.faq-group > .faq .faq-a { padding: 0 4px 16px; }
@media (prefers-reduced-motion: reduce) { .fg-chev, .faq-group > summary { transition: none; } }
@media (max-width: 560px) {
  .faq-group > summary { padding: 12px 14px; gap: 12px; grid-template-columns: minmax(0, 1fr) auto; }
  .faq-group > summary .fg-count { display: none; }
  .fg-title { font-size: 0.96rem; }
  .faq-group > .faq { padding: 2px 14px 8px; }
}

/* ------------------------------------------------------------------
   TELEFON: co się na siebie nakładało

   Na dole ekranu stały jednocześnie trzy rzeczy przyklejone do krawędzi:
   nasz pasek akcji (57 px), baner zgody na cookie (na małym ekranie ma
   ok. 260 px wysokości) i dymek WhatsApp z wtyczki Chaty. Wszystkie miały
   bottom liczony od zera, więc leżały jedna na drugiej, a koniec stopki
   i menu chował się pod paskiem.
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
  /* ostatnie wiersze stopki i menu nie mogą wpadać pod pasek akcji */
  .footer { padding-bottom: 88px; }
  .mobile-menu { padding-bottom: 88px; }

  /* baner zgody nad paskiem, nie na nim */
  .cookie-bar { bottom: 72px; }

  /* Na telefonie dymek WhatsApp z wtyczki Chaty chowamy zupełnie - w pasku akcji
     u dołu jest już przycisk WHATSAPP, dwa te same wejścia obok siebie tylko
     zabierają miejsce i wchodzą na pasek. Na komputerze paska nie ma, więc dymek zostaje. */
  body .chaty-widget,
  body .chaty-widget.right-position { display: none !important; }

  /* stopka: Szkolenia i Kontakt obok siebie, żeby nie ciągnęła się bez końca */
  .footer-grid { grid-template-columns: 1fr 1.1fr; column-gap: 18px; row-gap: 30px; }
  .footer-grid > *:nth-child(1),
  .footer-grid > *:nth-child(2) { grid-column: 1 / -1; }
  .footer a[href^="tel:"] { white-space: nowrap; }
}

/* Dopóki wisi baner zgody, chowamy dymek Chaty - na komputerze też potrafią
   spotkać się w prawym dolnym rogu. */
body.ax-cookie-open .chaty-widget,
body.ax-cookie-open .chaty-widget.right-position { display: none !important; }

/* przyciski w pasku CTA tej samej szerokości - inaczej WhatsApp był
   wyraźnie węższy od numeru telefonu */
@media (max-width: 640px) {
  .cta-band .hero-ctas { width: 100%; }
  .cta-band .hero-ctas .btn { flex: 1 1 100%; justify-content: center; }
}

/* ------------------------------------------------------------------
   ZOBACZ TEŻ - odnośniki do pokrewnych stron

   Strony usług nie miały w treści ani jednego odnośnika w głąb serwisu.
   Blok stoi tuż nad tekstem SEO, więc zamyka stronę, a nie przerywa oferty.
   ------------------------------------------------------------------ */
.zobacz-tez { padding-bottom: 0; }

.zt-naglowek { font-size: 1.25rem; letter-spacing: -0.02em; margin: 0 0 20px; }

.zt-lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 12px; grid-template-columns: 1fr;
}

.zt-poz {
  display: block; padding: 18px 20px;
  border: 1px solid var(--color-border); border-radius: 12px;
  background: var(--color-surface-2);
  text-decoration: none; color: inherit;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.zt-poz:hover, .zt-poz:focus-visible {
  border-color: var(--color-accent);
  background: var(--color-surface-3);
  transform: translateY(-2px);
}

.zt-tytul {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--color-text);
}

.zt-tytul svg {
  width: 18px; height: 18px; flex: none;
  color: var(--color-accent);
  transition: transform 150ms ease;
}

.zt-poz:hover .zt-tytul svg { transform: translateX(3px); }

.zt-opis {
  display: block; margin-top: 4px;
  font-size: 0.9375rem; color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .zt-lista { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .zt-poz, .zt-tytul svg { transition: none; }
  .zt-poz:hover { transform: none; }
}

/* ------------------------------------------------------------------
   Tekst SEO na dole strony - zwinięty pod strzałką, żeby nie zasłaniał
   oferty, ale siedział w kodzie i był indeksowany.
   ------------------------------------------------------------------ */
.seo-tail { padding-top: 0; }
.seo-more { border-top: 1px solid var(--color-border); }
.seo-more > summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: flex-end;
  padding: 12px 0 14px;
}
.seo-more > summary::-webkit-details-marker { display: none; }
.seo-more > summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 4px; }
/* sama strzałka, przy prawej krawędzi - bez ramki i bez podpisu */
.seo-arrow {
  display: grid; place-items: center;
  width: 26px; height: 26px; color: var(--color-text-faint);
  transition: transform 220ms var(--ease), color 180ms ease;
}
.seo-arrow svg { width: 18px; height: 18px; }
.seo-more > summary:hover .seo-arrow { color: var(--color-accent); }
.seo-more[open] > summary .seo-arrow { transform: rotate(180deg); color: var(--color-accent); }
.seo-body { max-width: 900px; margin: 0 auto; padding: 4px 0 40px; }
.seo-body h2 {
  font-size: clamp(1.3rem, 2.3vw, 1.6rem); margin: 40px 0 14px;
  padding-left: 14px; position: relative;
}
.seo-body h2:first-child { margin-top: 0; }
.seo-body h2::before {
  content: ""; position: absolute; left: 0; top: 0.22em; bottom: 0.18em;
  width: 3px; background: var(--color-accent);
}
.seo-body h3 { font-size: clamp(1.05rem, 1.8vw, 1.2rem); margin: 26px 0 8px; color: var(--color-text); }
.seo-body p { margin-bottom: 15px; color: #b9c2d1; font-size: 0.99rem; line-height: 1.8; }
.seo-body ul, .seo-body ol { margin: 0 0 20px; padding-left: 22px; }
.seo-body li { margin-bottom: 8px; color: #b9c2d1; line-height: 1.7; }
.seo-body li::marker { color: var(--color-accent); }
.seo-body strong { color: var(--color-text); }
.seo-body table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 0.94rem; }
.seo-body th, .seo-body td { padding: 11px 14px; text-align: left; vertical-align: top; }
.seo-body thead th {
  background: var(--color-surface-3); color: var(--color-text);
  font-family: var(--font-sub); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.seo-body tbody tr { border-top: 1px solid var(--color-border); }
.seo-body tbody td { color: #b9c2d1; }
@media (prefers-reduced-motion: reduce) { .seo-arrow { transition: none; } }

/* cztery filary szkolenia - zamiast jednego szerokiego obrazka z wtopionym tekstem
   (na telefonie tekst z obrazka był nieczytelny) */
.szkf-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .szkf-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .szkf-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.szkf-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.3s var(--ease);
}
.szkf-card > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.szkf-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 7px; }
.szkf-body h3 { font-size: 1.04rem; line-height: 1.25; color: var(--color-accent); }
.szkf-body p { margin: 0; color: var(--color-text-muted); font-size: 0.93rem; line-height: 1.6; }
@media (hover: hover) { .szkf-card:hover { border-color: var(--color-accent); transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .szkf-card { transition: none; } }

/* akredytacje szkoleń: ISO 9001 + wpis do BUR */
.akred { display: grid; gap: 14px; }
@media (min-width: 800px) { .akred { grid-template-columns: 1fr 1fr; gap: 18px; } }
.akred-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgba(245, 165, 36, 0.42);
  background:
    radial-gradient(420px 160px at 0% 0%, rgba(245, 165, 36, 0.10), transparent 62%),
    var(--color-surface-2);
}
.akred-item > div { min-width: 0; }
.akred-ic {
  flex: none; width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
}
.akred-ic svg { width: 22px; height: 22px; }
.akred-item h3 { font-size: 1.02rem; line-height: 1.3; }
.akred-item p { margin-top: 5px; color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.55; overflow-wrap: break-word; }
.akred-item p a { color: var(--color-accent); font-weight: 600; }
.akred[class*="reveal"] { transform: none !important; filter: none !important; }

/* wpis na blogu: zdjęcie otwierające i podpis kategorii w kartach */
.art-hero {
  display: block; width: 100%; max-width: 980px; margin: 0 auto 34px;
  aspect-ratio: 16 / 9; height: auto; object-fit: cover;
  border-radius: 20px; border: 1px solid var(--color-border); box-shadow: var(--shadow-card);
}
.card-kicker {
  display: block; margin-bottom: 8px;
  font-family: var(--font-sub); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent);
}
.article p:first-of-type { font-size: 1.06rem; }

/* najbliższy termin kursu w bohaterze */
.termin-line {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 10px 14px;
  border: 1px solid rgba(245, 165, 36, 0.45); border-radius: 12px;
  background: rgba(245, 165, 36, 0.08);
  color: var(--color-text) !important; font-size: 0.95rem;
}
.termin-line svg { width: 20px; height: 20px; color: var(--color-accent); flex: none; }
.termin-line strong { color: var(--color-accent); }

/* profile w social media - stopka i kontakt */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a, .kontakt-social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; border: 1px solid var(--color-border);
  background: var(--color-surface-2); color: var(--color-text-muted);
  transition: color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.footer-social a svg, .kontakt-social a svg { width: 20px; height: 20px; }
.footer-social a:hover, .kontakt-social a:hover {
  color: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) { .footer-social a, .kontakt-social a { transition: none; } }
.kontakt-social { display: flex; gap: 12px; margin-top: 14px; }
.mm-social { display: flex; gap: 12px; padding: 14px 0 4px; }
.mm-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--color-border); color: var(--color-text-muted); }
.mm-social a svg { width: 21px; height: 21px; }

/* stały pasek social media przy lewej krawędzi (jak przycisk WhatsApp po prawej) */
.social-rail {
  position: fixed; left: 14px; bottom: 22px; top: auto; transform: none;
  z-index: 60; display: flex; flex-direction: column; gap: 8px;
}
.social-rail a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(11, 17, 32, 0.72);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  backdrop-filter: blur(10px);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.social-rail a svg { width: 19px; height: 19px; }
@media (hover: hover) {
  .social-rail a:hover { color: var(--color-accent); border-color: var(--color-accent); transform: translateX(3px); }
}
@media (max-width: 900px) {
  .social-rail { left: 8px; gap: 6px; }
  .social-rail a { width: 34px; height: 34px; border-radius: 10px; }
  .social-rail a svg { width: 16px; height: 16px; }
}
/* na telefonie pionowy pasek zasłaniał tekst w bohaterze - siada poziomo nad dolnym paskiem akcji */
@media (max-width: 767px) {
  .social-rail {
    top: auto; bottom: 66px; transform: none;
    flex-direction: row; left: 10px; gap: 8px;
  }
}
@media (max-width: 380px) { .social-rail a { width: 30px; height: 30px; } .social-rail a svg { width: 15px; height: 15px; } }
@media (prefers-reduced-motion: reduce) { .social-rail a { transition: none; } }

/* profile social w pierwszym ekranie usług i szkoleń */
.hero-social { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-social > span {
  font-family: var(--font-sub); font-size: 0.7rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted);
  margin-right: 2px;
}
.hero-social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06); color: #fff;
  backdrop-filter: blur(6px);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.hero-social a svg { width: 19px; height: 19px; }
@media (hover: hover) {
  .hero-social a:hover { color: var(--color-accent); border-color: var(--color-accent); background: rgba(245, 165, 36, 0.12); transform: translateY(-2px); }
}
@media (max-width: 600px) {
  .hero-social { gap: 8px; margin-top: 20px; }
  .hero-social a { width: 38px; height: 38px; }
  .hero-social > span { width: 100%; margin-bottom: 2px; }
}
@media (prefers-reduced-motion: reduce) { .hero-social a { transition: none; } }

/* miejsce po opiniach - do czasu podpięcia prawdziwych recenzji Google */
.rev-empty { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 8px 0 4px; }
.rev-empty-lead { max-width: 60ch; color: var(--color-text-muted); font-size: 1.02rem; line-height: 1.65; margin: 0; }

/* odnośnik do pełnej listy opinii w Google */
.rev-more { margin-top: 26px; text-align: center; }
.rev-more a {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--color-accent); font-weight: 600; font-size: 0.95rem;
  border-bottom: 1px solid rgba(245, 165, 36, 0.4); padding-bottom: 3px;
}
.rev-more a svg { width: 17px; height: 17px; }
.rev-more a:hover { border-bottom-color: var(--color-accent); }

/* ============================================================
   WPIS NA BLOGU — układ warsztatowy
   Dwie kolumny: treść + przyklejony pasek boczny (spis treści,
   kontakt, dalsze artykuły). Wszystkie bloki mają ten sam język
   co reszta serwisu: ostre krawędzie, panel #111a2e, bursztyn
   jako jedyny akcent, nagłówki z kreską po lewej.
   ============================================================ */

/* --- siatka strony wpisu --- */
.art-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1060px) {
  .art-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
}
.art-main { min-width: 0; }

.art-side { display: grid; gap: 20px; }
@media (min-width: 1060px) { .art-side { position: sticky; top: calc(var(--nav-h) + 24px); } }

.art-side-box { border: 1px solid var(--color-border); background: var(--color-surface-2); }
.art-side-box > h2,
.art-side-box > h3 {
  font-family: var(--font-sub); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted);
  margin: 0; padding: 15px 18px; border-bottom: 1px solid var(--color-border);
}

/* spis treści z zaznaczeniem aktywnej sekcji */
/* przy kilkunastu sekcjach spis nie zmieściłby się na ekranie razem z kartą kontaktową */
.art-toc ol {
  list-style: none; margin: 0; padding: 8px 0; counter-reset: toc;
  max-height: min(44vh, 400px); overflow-y: auto; scrollbar-width: thin;
}
.art-toc ol::-webkit-scrollbar { width: 4px; }
.art-toc ol::-webkit-scrollbar-thumb { background: var(--color-border-strong); }
.art-toc li { margin: 0; counter-increment: toc; }
.art-toc a {
  display: block; padding: 8px 18px 8px 44px; position: relative;
  font-size: 0.9rem; line-height: 1.45; color: var(--color-text-muted);
  border-left: 2px solid transparent; transition: color 160ms ease, border-color 160ms ease;
}
.art-toc a::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 16px; top: 8px;
  font-family: var(--font-sub); font-size: 0.7rem; font-weight: 800;
  color: var(--color-text-faint); letter-spacing: 0.04em;
}
.art-toc a:hover { color: var(--color-text); }
.art-toc a.is-active { color: var(--color-accent); border-left-color: var(--color-accent); }
.art-toc a.is-active::before { color: var(--color-accent); }

/* wizytówka kontaktowa w pasku bocznym */
.art-call { padding: 20px 18px 22px; }
.art-call p { color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.6; margin: 0 0 14px; }
.art-call .art-call-tel {
  display: block; font-family: var(--font-display); font-size: 1.32rem;
  font-weight: 700; color: var(--color-text); margin-bottom: 4px; letter-spacing: -0.01em;
}
.art-call .art-call-tel:hover { color: var(--color-accent); }
.art-call .art-call-godz { font-size: 0.82rem; color: var(--color-text-faint); margin-bottom: 16px; }
.art-call .btn { width: 100%; justify-content: center; }

/* dalsze artykuły z miniaturami */
.art-more-list { display: grid; }
.art-more-list a {
  display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 12px 18px; border-bottom: 1px solid var(--color-border);
  transition: background-color 160ms ease;
}
.art-more-list a:last-child { border-bottom: 0; }
.art-more-list a:hover { background: var(--color-surface-3); }
.art-more-list img { width: 72px; height: 52px; object-fit: cover; }
.art-more-list span { font-size: 0.87rem; line-height: 1.4; color: var(--color-text); font-weight: 600; }
.art-more-list em {
  display: block; font-style: normal; font-family: var(--font-sub); font-size: 0.66rem;
  font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 3px;
}

/* --- typografia treści --- */
.article { max-width: 100%; }
.article p { font-size: 1.06rem; line-height: 1.85; }
@media (min-width: 1100px) { .article p { font-size: 1.09rem; } }
.article > h2 {
  margin: 56px 0 18px; padding-left: 16px; position: relative;
  font-size: clamp(1.45rem, 2.6vw, 1.8rem);
}
.article > h2::before {
  content: ""; position: absolute; left: 0; top: 0.22em; bottom: 0.18em;
  width: 4px; background: var(--color-accent);
}
.article h3 { font-size: clamp(1.12rem, 2vw, 1.3rem); margin: 32px 0 10px; color: var(--color-text); }
.article ul { margin: 0 0 24px; padding-left: 22px; }
.article li { margin-bottom: 9px; color: #c5cdda; line-height: 1.75; }
.article strong { color: var(--color-text); }

/* --- "w skrócie": panel z najważniejszymi liczbami --- */
.art-key {
  margin: 0 0 36px; padding: 22px 24px 24px;
  border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent);
  background: linear-gradient(180deg, rgba(245, 165, 36, 0.07), rgba(17, 26, 46, 0));
}
.art-key h2 {
  font-family: var(--font-sub); font-size: 0.74rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-accent);
  margin: 0 0 14px; padding: 0;
}
.art-key ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.art-key li { position: relative; padding-left: 26px; margin: 0; color: var(--color-text); line-height: 1.6; }
.art-key li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 8px; height: 8px; background: var(--color-accent);
  transform: rotate(45deg);
}

/* --- kroki procesu: numerowane karty --- */
.art-steps { list-style: none; counter-reset: krok; margin: 0 0 34px; padding: 0; display: grid; gap: 12px; }
.art-steps li {
  counter-increment: krok; position: relative; margin: 0;
  padding: 18px 22px 18px 68px;
  border: 1px solid var(--color-border); background: var(--color-surface-2);
  color: #c5cdda; line-height: 1.7;
}
.art-steps li::before {
  content: counter(krok, decimal-leading-zero);
  position: absolute; left: 0; top: 0; bottom: 0; width: 52px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--color-accent-ink); background: var(--color-accent);
}
.art-steps li strong { display: block; color: var(--color-text); margin-bottom: 4px; }
/* na telefonie pełnowysokie pole z numerem zjadało pół szerokości karty */
@media (max-width: 600px) {
  .art-steps li { padding: 46px 18px 18px; }
  .art-steps li::before { right: auto; bottom: auto; width: 38px; height: 32px; font-size: 0.95rem; }
}

/* --- ramki: wskazówka, ostrzeżenie, cena --- */
.art-note {
  display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px;
  margin: 30px 0; padding: 18px 22px;
  border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent);
  background: var(--color-surface-2);
}
.art-note svg { width: 26px; height: 26px; color: var(--color-accent); }
.art-note b {
  display: block; font-family: var(--font-sub); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 5px;
}
.art-note p { margin: 0; font-size: 1rem; line-height: 1.7; }
.art-note.warn { border-left-color: #f87171; }
.art-note.warn svg, .art-note.warn b { color: #f87171; }
.art-note.ok { border-left-color: var(--color-success); }
.art-note.ok svg, .art-note.ok b { color: var(--color-success); }

/* --- tabela porównawcza --- */
.art-tab { margin: 30px 0; overflow-x: auto; border: 1px solid var(--color-border); }
.art-tab table { width: 100%; border-collapse: collapse; min-width: 460px; }
.art-tab th, .art-tab td { padding: 13px 18px; text-align: left; vertical-align: top; }
.art-tab thead th {
  background: var(--color-surface-3); color: var(--color-text);
  font-family: var(--font-sub); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap;
}
.art-tab tbody tr { border-top: 1px solid var(--color-border); }
.art-tab tbody td { color: #c5cdda; font-size: 0.98rem; line-height: 1.6; }
.art-tab tbody td:first-child { color: var(--color-text); font-weight: 600; }

/* --- pytania i odpowiedzi jako rozwijana lista --- */
.art-faq { margin: 26px 0 34px; border-top: 1px solid var(--color-border); }
.art-faq details { border-bottom: 1px solid var(--color-border); }
.art-faq summary {
  list-style: none; cursor: pointer; padding: 16px 44px 16px 0; position: relative;
  font-family: var(--font-display); font-size: 1.04rem; font-weight: 600;
  color: var(--color-text); line-height: 1.5;
}
.art-faq summary::-webkit-details-marker { display: none; }
.art-faq summary::after {
  content: ""; position: absolute; right: 12px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  transform: translateY(-70%) rotate(45deg); transition: transform 200ms ease;
}
.art-faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.art-faq summary:hover { color: var(--color-accent); }
.art-faq .art-faq-body { padding: 0 0 18px; }
.art-faq .art-faq-body p { margin: 0 0 12px; font-size: 1rem; }
.art-faq .art-faq-body p:last-child { margin-bottom: 0; }

/* --- pasek wezwania w środku tekstu --- */
.art-band {
  margin: 40px 0; padding: 26px 28px;
  border: 1px solid var(--color-border);
  background:
    linear-gradient(135deg, rgba(245, 165, 36, 0.12), rgba(17, 26, 46, 0.2)),
    var(--color-surface-2);
  display: grid; gap: 16px; align-items: center;
}
@media (min-width: 720px) { .art-band { grid-template-columns: minmax(0, 1fr) auto; gap: 26px; } }
.art-band b { display: block; font-family: var(--font-display); font-size: 1.14rem; color: var(--color-text); margin-bottom: 5px; }
.art-band span { color: var(--color-text-muted); font-size: 0.96rem; line-height: 1.6; }
.art-band .btn { white-space: nowrap; }

/* nagłówek wpisu: tytuł po lewej, ikony social po prawej */
.art-head { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .art-head { grid-template-columns: minmax(0, 1fr) auto; gap: 34px; } }
.art-head-social { display: flex; gap: 9px; }
@media (min-width: 900px) { .art-head-social { flex-direction: column; padding-top: 6px; } }
.art-head-social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2); color: var(--color-text-muted);
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.art-head-social a svg { width: 19px; height: 19px; }
@media (hover: hover) { .art-head-social a:hover { color: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); } }

/* pasek nad tytułem: okruszki + metryka wpisu */
.art-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.83rem; color: var(--color-text-faint); margin-bottom: 16px;
}
.art-crumbs a { color: var(--color-text-muted); }
.art-crumbs a:hover { color: var(--color-accent); }
.art-crumbs span { color: var(--color-text-faint); }
.art-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--color-border);
  font-size: 0.87rem; color: var(--color-text-muted);
}
.art-meta i { display: inline-flex; align-items: center; gap: 7px; font-style: normal; }
.art-meta svg { width: 16px; height: 16px; color: var(--color-accent); }

/* wideo w treści wpisu */
.art-video { max-width: 100%; margin: 40px auto; }
.art-video video, .art-video iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto; display: block;
  border: 1px solid var(--color-border); background: #000;
  box-shadow: var(--shadow-card);
}
.art-video figcaption {
  margin-top: 12px; text-align: center; color: var(--color-text-muted);
  font-size: 0.9rem; line-height: 1.55;
}

/* odnośniki do innych wpisów w treści */
.art-link {
  display: flex; align-items: center; gap: 14px; margin: 34px 0;
  padding: 16px 20px;
  border: 1px solid var(--color-border); border-left: 3px solid var(--color-accent);
  background: var(--color-surface-2);
  transition: border-color 160ms ease, background-color 160ms ease;
}
.art-link:hover { border-color: var(--color-accent); background: var(--color-surface-3); }
.art-link .art-link-tag {
  font-family: var(--font-sub); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent); flex: none;
}
.art-link span:last-child { color: var(--color-text); font-weight: 600; line-height: 1.4; }
@media (max-width: 600px) { .art-link { flex-direction: column; align-items: flex-start; gap: 6px; } }
