/* =================================================================
   ŁUKASZ BRZOZOWSKI - KANCELARIA RADCY PRAWNEGO
   Design System + Styles | Corporate Modern / Premium Law
   Wszystkie wartości oparte na zmiennych CSS - podmień wedle uznania.
   ================================================================= */

/* -----------------------------------------------------------------
   1. DESIGN SYSTEM - ZMIENNE
   ----------------------------------------------------------------- */
:root {
  /* Kolory - baza */
  --color-navy-deep: #0b1622;
  --color-navy: #102132;
  --color-navy-700: #16314a;
  --color-navy-600: #1d3e5c;

  /* Kolory - akcent (mosiądz / złoto) */
  --color-gold: #b6914f;
  --color-gold-bright: #c9a86a;
  --color-gold-soft: #e7dcc4;

  /* Kolory - neutralne */
  --color-bg: #ffffff;
  --color-cream: #f6f3ee;
  --color-cream-2: #efeae1;
  --color-surface: #ffffff;
  --color-text: #1c2630;
  --color-heading: #0d1a28;
  --color-muted: #5b6772;
  --color-border: #e6e1d8;
  --color-border-strong: #d6cfc1;
  --color-white: #ffffff;

  /* Stany */
  --color-focus: #c9a86a;
  --color-success: #2f6b4f;
  --color-error: #9b2c2c;

  /* Typografia */
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.05rem;
  --fs-md: 1.2rem;
  --fs-lg: 1.5rem;
  --fs-xl: 2rem;
  --fs-2xl: 2.6rem;
  --fs-3xl: 3.4rem;
  --fs-4xl: 4.2rem;

  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-base: 1.7;

  --ls-wide: 0.18em;
  --ls-wider: 0.28em;

  /* Odstępy (skala) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  /* Border-radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Cienie */
  --shadow-sm: 0 1px 2px rgba(13, 26, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 26, 40, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 26, 40, 0.14);
  --shadow-gold: 0 16px 40px rgba(182, 145, 79, 0.22);

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 880px;
  --header-h: 84px;

  --scroll-top-gap: 24px;
  --scroll-progress-h: 4px;

  /* Przejścia */
  --transition: 0.25s ease;
}

/* -----------------------------------------------------------------
   2. RESET / BASE
   ----------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* WordPress admin bar — wykluczony z resetu motywu */
#wpadminbar,
#wpadminbar *,
#wpadminbar *::before,
#wpadminbar *::after {
  box-sizing: content-box;
}

body.admin-bar .site-header,
body.admin-bar .kb-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header,
  body.admin-bar .kb-site-header {
    top: 46px;
  }
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  max-width: 100%;
}

/* Astra + Elementor — pelna szerokosc bez bocznych marginesow */
body.lblegal-theme #page,
body.lblegal-theme .site {
  overflow-x: clip;
  max-width: 100%;
}

body.lblegal-theme.ast-separate-container #content,
body.lblegal-theme.ast-separate-container .site-content,
body.lblegal-theme.ast-separate-container .site-main,
body.lblegal-theme .content-area,
body.lblegal-theme #primary,
body.lblegal-theme #secondary {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

body.lblegal-theme .ast-container,
body.lblegal-theme.ast-narrow-container .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-inline: 0 !important;
}

@media (min-width: 922px) {
  body.lblegal-theme .site-content > .ast-container,
  body.lblegal-blog-view .site-content > .ast-container {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

body.lblegal-blog-view.ast-separate-container #content,
body.lblegal-blog-view.ast-separate-container .site-content {
  background: transparent !important;
}

body.lblegal-theme .elementor-section,
body.lblegal-theme .e-con,
body.lblegal-theme .e-con-full,
body.lblegal-theme .e-con-inner,
body.lblegal-theme .elementor-widget-wrap {
  max-width: 100% !important;
}

body.lblegal-theme .hero,
body.lblegal-theme .section,
body.lblegal-theme .section--cream,
body.lblegal-theme .section--navy,
body.lblegal-theme .page-hero,
body.lblegal-theme .cta-band {
  overflow-x: clip;
}

body.lblegal-theme .split-media {
  overflow: hidden;
}

body.lblegal-theme #ast-scroll-top {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--color-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
}

p {
  color: var(--color-text);
}

strong { color: var(--color-heading); }

/* Dostępność - skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  z-index: 2000;
  border-radius: 0 0 var(--radius-md) 0;
}
.skip-link:focus {
  left: 0;
}

/* Focus states (WCAG AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
.nav-burger:focus-within,
label:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* -----------------------------------------------------------------
   3. LAYOUT HELPERS
   ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--space-9);
}

.section--tight {
  padding-block: var(--space-8);
}

.section--cream {
  background-color: var(--color-cream);
}

.section--navy {
  background-color: var(--color-navy);
  color: var(--color-cream);
}
.section--navy h1,
.section--navy h2,
.section--navy h3 {
  color: var(--color-white);
}
body.lblegal-theme .section--navy .split-body h2,
body.lblegal-theme .section--navy .split-body h2.reveal-item.is-revealed {
  color: var(--color-white);
}
.section--navy p {
  color: rgba(246, 243, 238, 0.82);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-7);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
  display: inline-block;
}
.center .eyebrow {
  justify-content: center;
}

.section-title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
}

.section-intro {
  font-size: var(--fs-md);
  color: var(--color-muted);
  line-height: var(--lh-base);
}
.section--navy .section-intro {
  color: rgba(246, 243, 238, 0.78);
}

.grid {
  display: grid;
  gap: var(--space-6);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.lede {
  font-size: var(--fs-md);
  color: var(--color-muted);
  line-height: var(--lh-base);
}

.text-block p + p {
  margin-top: var(--space-4);
}

/* -----------------------------------------------------------------
   4. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--color-gold-bright);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
}
.btn-navy:hover {
  background: var(--color-navy-700);
  color: var(--color-gold-bright);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-border-strong);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-ghost-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-lg {
  padding: var(--space-5) var(--space-7);
  font-size: var(--fs-base);
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
}

/* Tekstowy link ze strzałką */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-navy);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--transition); }
.link-arrow:hover { color: var(--color-gold); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--navy .link-arrow { color: var(--color-gold-bright); }
.section--navy .link-arrow:hover { color: var(--color-white); }

/* Linki w przyciskach — bez domyślnego niebieskiego WP/Elementor */
body.lblegal-theme a.btn,
body.lblegal-theme a.btn:visited {
  text-decoration: none;
}
body.lblegal-theme a.btn-gold,
body.lblegal-theme a.btn-gold:visited {
  color: var(--color-navy-deep);
}
body.lblegal-theme a.btn-gold:hover,
body.lblegal-theme a.btn-gold:focus-visible {
  color: var(--color-white);
  border-color: var(--color-white);
  outline-color: var(--color-white);
}
body.lblegal-theme a.btn-navy,
body.lblegal-theme a.btn-navy:visited {
  color: var(--color-white);
}
body.lblegal-theme a.btn-navy:hover,
body.lblegal-theme a.btn-navy:focus-visible {
  color: var(--color-gold-bright);
}
body.lblegal-theme a.btn-outline:hover,
body.lblegal-theme a.btn-outline:focus-visible {
  color: var(--color-gold);
}
body.lblegal-theme a.btn-ghost-light:hover,
body.lblegal-theme a.btn-ghost-light:focus-visible {
  color: var(--color-gold-bright);
}
body.lblegal-theme .kb-nav-cta,
body.lblegal-theme .kb-nav-cta:visited,
body.lblegal-theme .kb-nav-cta:hover,
body.lblegal-theme .kb-nav-cta:focus-visible {
  color: var(--color-white);
  text-decoration: none;
}

body.lblegal-theme .kb-nav-cta:hover,
body.lblegal-theme .kb-nav-cta:focus-visible {
  border-color: var(--color-white);
  outline-color: var(--color-white);
}
body.lblegal-theme .kb-nav-phone,
body.lblegal-theme .kb-nav-phone:visited {
  color: var(--color-navy);
  text-decoration: none;
}
body.lblegal-theme .kb-nav-phone:hover,
body.lblegal-theme .kb-nav-phone:focus-visible {
  color: var(--color-gold);
}
body.lblegal-theme .elementor-widget-html a.link-arrow:hover {
  color: var(--color-gold);
}

/* Elementor header/footer — mobile layout fixes */
@media (max-width: 860px) {
  body.lblegal-theme .kb-header-inner {
    gap: 12px;
    padding-inline: 20px;
    min-height: 68px;
  }

  body.lblegal-theme .kb-brand {
    flex: 1;
    min-width: 0;
  }

  body.lblegal-theme .kb-brand-name {
    font-size: clamp(0.88rem, 4.2vw, 1rem);
    line-height: 1.2;
  }

  body.lblegal-theme .kb-nav-burger {
    margin-left: auto;
    flex-shrink: 0;
  }

  body.lblegal-theme .kb-site-nav {
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    padding-inline: 20px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.28s ease,
      visibility 0.28s ease,
      box-shadow 0.28s ease;
  }

  body.lblegal-theme .kb-nav-list {
    width: 100%;
    max-width: 100%;
  }

  body.lblegal-theme .kb-nav-list a {
    padding-inline: 0;
  }

  body.lblegal-theme .kb-nav-cta {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 4px;
    padding: 12px 14px;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.35;
    font-size: clamp(0.68rem, 3.1vw, 0.78rem);
    letter-spacing: 0.03em;
    text-align: center;
    overflow-wrap: anywhere;
  }

  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}

@media (max-width: 1024px) {
  body.lblegal-theme .kb-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-inline: 20px;
    padding-bottom: 48px;
  }

  body.lblegal-theme .kb-footer-brand {
    grid-column: 1 / -1;
  }

  body.lblegal-theme .kb-footer-about {
    max-width: none;
  }
}

@media (max-width: 640px) {
  body.lblegal-theme .kb-footer {
    padding-top: 48px;
  }

  body.lblegal-theme .kb-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-inline: 20px;
    padding-bottom: 36px;
  }

  body.lblegal-theme .kb-footer-col + .kb-footer-col {
    padding-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.lblegal-theme .kb-footer-col h4 {
    margin-bottom: 14px;
  }

  body.lblegal-theme .kb-footer-contact-item {
    margin-bottom: 12px;
  }

  body.lblegal-theme .kb-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px 24px;
  }

  body.lblegal-theme .kb-footer-bottom p {
    max-width: 100%;
  }
}

/* -----------------------------------------------------------------
   5. HEADER / NAVIGATION (CSS-only mobile menu)
   ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--color-gold);
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: 0.01em;
}
.brand-sub {
  font-size: 0.66rem;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.nav-burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .icon-close { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-list a {
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  padding-block: var(--space-2);
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}
.nav-list a:hover,
.nav-list a.is-active {
  color: var(--color-navy);
}
.nav-list a:hover::after,
.nav-list a.is-active::after {
  width: 100%;
}

/* -----------------------------------------------------------------
   6. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--color-navy-deep);
  color: var(--color-cream);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}
.hero--home .hero-bg img {
  opacity: 0.26;
  object-position: 62% center;
  filter: saturate(0.35) contrast(1.05);
}
.hero--home .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    url('../img/hero-legal-art.svg') no-repeat 72% 46% / min(640px, 52vw),
    radial-gradient(ellipse 55% 62% at 74% 44%, rgba(201, 168, 106, 0.14) 0%, transparent 72%);
  opacity: 0.88;
  transform: translate3d(calc(var(--hero-art-x, 0) * 1px), calc(var(--hero-art-y, 0) * 1px), 0);
  -webkit-mask-image: linear-gradient(105deg, transparent 0%, rgba(0, 0, 0, 0.15) 28%, black 48%, black 78%, transparent 100%);
  mask-image: linear-gradient(105deg, transparent 0%, rgba(0, 0, 0, 0.15) 28%, black 48%, black 78%, transparent 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, rgba(11, 22, 34, 0.96) 0%, rgba(11, 22, 34, 0.82) 45%, rgba(11, 22, 34, 0.55) 100%);
}
.hero--home .hero-bg::after {
  background:
    linear-gradient(105deg, rgba(11, 22, 34, 0.97) 0%, rgba(11, 22, 34, 0.9) 38%, rgba(11, 22, 34, 0.78) 58%, rgba(11, 22, 34, 0.42) 100%),
    linear-gradient(180deg, rgba(11, 22, 34, 0.15) 0%, transparent 42%, rgba(11, 22, 34, 0.35) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: var(--space-10) var(--space-9);
  max-width: 780px;
}
.hero--home .hero-inner {
  padding-block: var(--space-10);
  max-width: 680px;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-7);
}

.hero-visual {
  display: none;
  justify-content: center;
  align-items: center;
}

.hero-scales-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  will-change: transform;
  transform: translate3d(calc(var(--hero-scales-x, 0) * 1px), calc(var(--hero-scales-y, 0) * 1px), 0)
    rotate(calc(var(--hero-scales-r, 0) * 1deg));
}

.hero-scales-wrap::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-scales {
  position: relative;
  z-index: 1;
  width: min(240px, 38vw);
  height: auto;
  color: var(--color-gold-bright);
  opacity: 0.95;
  filter: drop-shadow(0 8px 32px rgba(201, 168, 106, 0.35));
}

@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hero-visual {
    display: flex;
    padding-right: var(--space-4);
  }
}

.hero .eyebrow { color: var(--color-gold-bright); }

.hero-title {
  font-size: var(--fs-4xl);
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: var(--space-5);
}
.hero-title .accent {
  color: var(--color-gold-bright);
  font-style: italic;
}

.hero-text {
  font-size: var(--fs-md);
  color: rgba(246, 243, 238, 0.85);
  max-width: 620px;
  margin-bottom: var(--space-7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Hero - pasek zaufania */
.hero-trust {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-5);
  width: 100%;
  padding-block: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  min-width: 0;
}
.hero-trust-num {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, var(--fs-xl));
  color: var(--color-gold-bright);
  line-height: 1.1;
}
.hero-trust-label {
  font-size: var(--fs-sm);
  color: rgba(246, 243, 238, 0.7);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5) var(--space-4);
  }
}

@media (max-width: 480px) {
  .hero-trust {
    grid-template-columns: 1fr;
  }
}

/* Mniejszy hero dla podstron */
.page-hero .hero-inner {
  padding-block: var(--space-9);
}
.page-hero .hero-title {
  font-size: var(--fs-3xl);
}
.breadcrumb {
  display: flex;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(246, 243, 238, 0.6);
  margin-top: var(--space-5);
}
.breadcrumb a:hover { color: var(--color-gold-bright); }
.breadcrumb span { color: var(--color-gold-bright); }

/* -----------------------------------------------------------------
   7. CARDS - usługi
   ----------------------------------------------------------------- */
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}
.service-card[id] {
  scroll-margin-top: calc(var(--header-h) + var(--space-5));
}
.service-card:target {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}
.service-card:target::before {
  width: 100%;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--color-gold);
  transition: width var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
}
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--color-cream);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}
.service-icon svg { width: 28px; height: 28px; }

.service-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
}
.service-card p {
  color: var(--color-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}
.service-card .link-arrow {
  font-size: var(--fs-xs);
}

/* Lista cech wewnątrz kart/sekcji */
.feature-list {
  display: grid;
  gap: var(--space-3);
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text);
}
.feature-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.section--navy .feature-list li { color: rgba(246,243,238,0.85); }

/* -----------------------------------------------------------------
   8. SPLIT / MEDIA SECTION
   ----------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.split--media-right { direction: ltr; }

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.split-media img {
  border-radius: var(--radius-md);
  box-shadow: none;
  width: 100%;
  object-fit: cover;
  transform: scale(1.08);
  opacity: 0;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.95s ease;
  will-change: transform, opacity;
}

.split-media.is-revealed img {
  transform: scale(1);
  opacity: 1;
}

.split-media .media-badge {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s ease 0.35s, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.split-media.is-revealed .media-badge {
  opacity: 1;
  transform: translateY(0);
}
.split-media .media-badge {
  position: absolute;
  bottom: var(--space-5);
  right: var(--space-5);
  left: auto;
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(201, 168, 106, 0.35);
  box-shadow: var(--shadow-lg);
  max-width: min(260px, calc(100% - var(--space-6)));
}
.media-badge .num {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--color-gold-bright);
  display: block;
  line-height: 1;
  letter-spacing: 0.04em;
}
.media-badge .label {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--fs-sm);
  color: rgba(246, 243, 238, 0.85);
  line-height: 1.45;
}

.split-body h2 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
}

.read-along-block h2 .read-along-word {
  color: rgba(13, 26, 40, calc(0.2 + 0.8 * var(--read-fill, 0)));
}

.read-along-block .lede .read-along-word {
  color: rgba(28, 38, 48, calc(0.24 + 0.76 * var(--read-fill, 0)));
}

.read-along-block .feature-list li .read-along-word {
  color: rgba(28, 38, 48, calc(0.22 + 0.78 * var(--read-fill, 0)));
}

.read-along-block .text-block p .read-along-word {
  color: rgba(28, 38, 48, calc(0.22 + 0.78 * var(--read-fill, 0)));
}

.read-along-block .text-block p.lede .read-along-word {
  color: rgba(28, 38, 48, calc(0.24 + 0.76 * var(--read-fill, 0)));
}

.read-along-word {
  transition: color 0.12s linear;
}

/* -----------------------------------------------------------------
   9. STATS
   ----------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.stat {
  text-align: center;
  padding: var(--space-5);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  color: var(--color-gold-bright);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--fs-sm);
  color: rgba(246, 243, 238, 0.75);
  letter-spacing: 0.02em;
}

/* -----------------------------------------------------------------
   10. PROCESS TIMELINE
   ----------------------------------------------------------------- */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
.timeline-runner {
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px var(--color-cream), 0 0 14px rgba(182, 145, 79, 0.45);
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}
.timeline--runner .timeline-step .dot {
  opacity: 0.35;
}
.timeline-step {
  position: relative;
  padding-top: var(--space-7);
}
.timeline-step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: var(--color-gold);
  display: block;
  margin-bottom: var(--space-3);
}
.timeline-step::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border-strong);
}
.timeline-step .dot {
  position: absolute;
  top: 7px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px var(--color-cream);
}
.timeline-step h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}
.timeline-step p {
  font-size: var(--fs-sm);
  color: var(--color-muted);
}

/* -----------------------------------------------------------------
   11. COMPARISON TABLE
   ----------------------------------------------------------------- */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--color-surface);
}
.compare-table th,
.compare-table td {
  padding: var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.compare-table thead th {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  background: var(--color-navy);
  color: var(--color-white);
}
.compare-table thead th.col-us {
  background: var(--color-gold);
  color: var(--color-navy-deep);
}
.compare-table tbody th {
  font-weight: 600;
  color: var(--color-heading);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
}
.compare-table td {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  vertical-align: middle;
}
.compare-table .col-us {
  background: rgba(182, 145, 79, 0.06);
  color: var(--color-text);
  font-weight: 500;
}
.compare-table tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }
.check { color: var(--color-success); }
.cross { color: var(--color-error); }
.compare-table svg { width: 20px; height: 20px; vertical-align: middle; }

/* -----------------------------------------------------------------
   12. PRICING TIERS
   ----------------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch;
}
.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.price-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.price-card.featured {
  background: var(--color-navy);
  color: var(--color-cream);
  border-color: var(--color-navy);
  position: relative;
}
.price-card.featured h3,
.price-card.featured .price-amount { color: var(--color-white); }
.price-badge {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  background: var(--color-gold);
  color: var(--color-navy-deep);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
}
.price-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}
.price-desc {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-5);
  min-height: 48px;
}
.price-card.featured .price-desc { color: rgba(246,243,238,0.78); }
.price-amount {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2vw, var(--fs-2xl));
  color: var(--color-heading);
  line-height: 1.2;
  margin-bottom: var(--space-5);
  min-height: 3.6rem;
}
.price-amount span {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.price-card.featured .price-amount span { color: rgba(246,243,238,0.7); }
.price-card .feature-list {
  margin-block: var(--space-5);
  flex-grow: 1;
}
.price-card.featured .feature-list li { color: rgba(246,243,238,0.85); }
.price-card .btn { width: 100%; }

/* -----------------------------------------------------------------
   13. FAQ (details/summary)
   ----------------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--space-4);
  max-width: 860px;
  margin-inline: auto;
}
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
  transition: box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-expanded {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-border-strong);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  color: var(--color-heading);
  list-style: none;
  transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.faq-item.is-expanded summary {
  background: var(--color-cream);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-expanded summary .faq-icon { transform: rotate(45deg); }
.faq-item .faq-body {
  height: 0;
  overflow: hidden;
}
.faq-item .faq-body-inner {
  overflow: hidden;
}
.faq-item .faq-body-inner p {
  padding: var(--space-2) var(--space-6) var(--space-6);
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
  font-size: var(--fs-sm);
}
.faq-item .faq-body-inner p + p {
  padding-top: 0;
}

/* -----------------------------------------------------------------
   14. TESTIMONIALS
   ----------------------------------------------------------------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.testimonial .quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 0.5;
  color: var(--color-gold);
  height: 28px;
}
.testimonial p {
  color: var(--color-text);
  font-size: var(--fs-sm);
  font-style: italic;
}
.testimonial .stars {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
}
.testimonial .stars svg { width: 18px; height: 18px; }
.testimonial-author {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}
.testimonial-author .name {
  font-weight: 600;
  color: var(--color-heading);
}
.testimonial-author .role {
  font-size: var(--fs-xs);
  color: var(--color-muted);
}

/* -----------------------------------------------------------------
   15. BLOG CARDS
   ----------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  height: 100%;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}
.blog-cat {
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.blog-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
  line-height: var(--lh-snug);
}
.blog-card p {
  font-size: var(--fs-sm);
  color: var(--color-muted);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

/* Blog + single post — override Astra container */
body.lblegal-blog-view #page,
body.lblegal-blog-view #content,
body.lblegal-blog-view .site-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.lblegal-blog-view #content,
body.lblegal-blog-view .site-content {
  padding: 0;
  margin: 0;
  max-width: none;
}

body.lblegal-blog-view .ast-container,
body.lblegal-blog-view.ast-separate-container .ast-article-post,
body.lblegal-blog-view.ast-separate-container .ast-article-single {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.lblegal-blog-view.ast-page-builder-template .site-content > .ast-container {
  max-width: 100%;
  padding: 0;
}

body.lblegal-blog-view .blog-card-media img,
body.lblegal-blog-view .blog-card-media .wp-post-image {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
}

body.lblegal-blog-view .blog-card h3 a {
  color: inherit;
  text-decoration: none;
}

body.lblegal-blog-view .blog-card h3 a:hover {
  color: var(--color-gold);
}

body.lblegal-blog-view .entry-content {
  font-size: var(--fs-base);
  line-height: var(--lh-base);
}

body.lblegal-blog-view .entry-content p {
  margin-bottom: var(--space-5);
}

body.lblegal-blog-view .navigation.pagination {
  margin-top: var(--space-7);
  display: flex;
  justify-content: center;
  gap: var(--space-3);
}

body.lblegal-blog-view .navigation.pagination a,
body.lblegal-blog-view .navigation.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
}

body.lblegal-blog-view .navigation.pagination .current {
  background: var(--color-navy);
  color: #fff;
  border-color: var(--color-navy);
}

/* -----------------------------------------------------------------
   16. PORTFOLIO / CASES
   ----------------------------------------------------------------- */
.case-list {
  display: grid;
  gap: var(--space-6);
}
.case-card {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: var(--space-6);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: all var(--transition);
}
.case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}
.case-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.case-card h3 {
  font-size: var(--fs-md);
  margin-block: var(--space-2);
}
.case-card p {
  font-size: var(--fs-sm);
  color: var(--color-muted);
}
.case-result {
  text-align: center;
  padding-left: var(--space-6);
  border-left: 1px solid var(--color-border);
}

.case-result .num {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  display: block;
  background: linear-gradient(
    102deg,
    var(--color-navy-deep) 0%,
    var(--color-navy-deep) 8%,
    var(--color-gold-soft) 18%,
    var(--color-gold-bright) 25%,
    var(--color-navy) 32%,
    var(--color-navy-deep) 42%,
    var(--color-navy-deep) 50%,
    var(--color-navy-deep) 58%,
    var(--color-gold-soft) 68%,
    var(--color-gold-bright) 75%,
    var(--color-navy) 82%,
    var(--color-navy-deep) 92%,
    var(--color-navy-deep) 100%
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  will-change: background-position;
  animation: case-result-shimmer 5.4s linear infinite;
}

@keyframes case-result-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.case-result .lbl {
  font-size: var(--fs-xs);
  color: var(--color-muted);
}

/* Sektory / branże */
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.sector-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--fs-sm);
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.sector-item:hover,
.sector-item:focus-within {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.sector-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: color var(--transition);
}
.sector-item:hover svg,
.sector-item:focus-within svg {
  color: var(--color-gold-bright);
}

/* -----------------------------------------------------------------
   17. CONTACT + FORM
   ----------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}

.contact-info-card {
  background: var(--color-navy);
  color: var(--color-cream);
  border-radius: var(--radius-md);
  padding: var(--space-7);
}
.contact-info-card h2 { color: var(--color-white); font-size: var(--fs-xl); margin-bottom: var(--space-3); }
.contact-info-card > p { color: rgba(246,243,238,0.8); margin-bottom: var(--space-6); }

.contact-detail {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding-block: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-detail .ic {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(182, 145, 79, 0.16);
  color: var(--color-gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail .ic svg { width: 22px; height: 22px; }
.contact-detail .label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: rgba(246,243,238,0.6);
}
.contact-detail .value {
  font-size: var(--fs-base);
  color: var(--color-white);
  font-weight: 500;
}
.contact-detail a.value:hover { color: var(--color-gold-bright); }

.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-7);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
.form-field { display: flex; flex-direction: column; gap: var(--space-2); }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-heading);
}
.form-field label .req { color: var(--color-error); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  padding: var(--space-4);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-gold);
}
.form-field select {
  min-height: 3rem;
  line-height: 1.4;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  padding-inline: var(--space-4) 2.75rem;
  padding-block: 0.75rem;
  background-color: var(--color-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235b6772' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.form-field select:has(> option[value=\"\"]:checked) {
  color: var(--color-muted);
}
.form-field select option {
  color: var(--color-text);
  background: var(--color-bg);
}
.form-field select option[value=\"\"] {
  color: var(--color-muted);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-hint { font-size: var(--fs-xs); color: var(--color-muted); }

.checkbox-field {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  grid-column: 1 / -1;
}
.checkbox-field input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: var(--color-gold); }
.checkbox-field label { font-size: var(--fs-sm); font-weight: 400; color: var(--color-muted); }

/* Mapa zastępcza (bez JS) */
.map-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-md);
  filter: grayscale(0.2);
}

/* -----------------------------------------------------------------
   18. CTA BAND
   ----------------------------------------------------------------- */
.cta-band {
  background: var(--color-navy-deep);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(182,145,79,0.22), transparent 70%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: var(--color-white);
  font-size: var(--fs-2xl);
  max-width: 640px;
}
body.lblegal-theme .cta-band .cta-inner h2,
body.lblegal-theme .cta-band .cta-inner h2.reveal-item.is-revealed {
  color: var(--color-white);
}
.cta-inner p { color: rgba(246,243,238,0.8); margin-top: var(--space-3); max-width: 560px; }

/* -----------------------------------------------------------------
   19. FOOTER
   ----------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(246, 243, 238, 0.88);
  padding-top: var(--space-9);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-7);
  padding-bottom: var(--space-8);
}
.footer-brand .brand-name { color: var(--color-white); }
.footer-brand .brand-sub { color: rgba(246, 243, 238, 0.75); }
.footer-about {
  margin-top: var(--space-4);
  font-size: var(--fs-base);
  line-height: 1.75;
  max-width: 360px;
  color: rgba(246, 243, 238, 0.86);
}
.footer-col h4 {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-5);
}
.footer-col ul { display: grid; gap: var(--space-3); }
.footer-col a {
  font-size: var(--fs-sm);
  color: rgba(246, 243, 238, 0.82);
}
.footer-col a:hover { color: var(--color-gold-bright); }

.footer-contact-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
  color: rgba(246, 243, 238, 0.86);
}
.footer-contact-item svg { width: 18px; height: 18px; color: var(--color-gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a {
  color: rgba(246, 243, 238, 0.9);
}
.footer-contact-item a:hover { color: var(--color-gold-bright); }

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  color: var(--color-cream);
  margin-top: var(--space-3);
  transition: all var(--transition);
}
.footer-social:hover { background: var(--color-gold); color: var(--color-navy-deep); border-color: var(--color-gold); }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-block: var(--space-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: rgba(246, 243, 238, 0.8);
}
.footer-bottom p {
  color: rgba(246, 243, 238, 0.8);
  line-height: 1.6;
}
.footer-bottom a:hover { color: var(--color-gold-bright); }

/* -----------------------------------------------------------------
   20. UTILITIES
   ----------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-center: center; text-align: center; }
.divider {
  height: 1px;
  background: var(--color-border);
  border: 0;
  margin-block: var(--space-7);
}
.tag-pill {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(182,145,79,0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
}

/* Values / przewagi (about) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

.value-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-6) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: visible;
}

.value-card .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  color: var(--color-gold);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
  transition: transform var(--transition), color var(--transition), background var(--transition);
}

.value-card .ic svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-family: var(--font-sans);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--color-heading);
  margin-bottom: var(--space-3);
}

.value-card p {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-muted);
  margin: 0;
  flex-grow: 1;
}

.values-animate .value-card {
  /* reveal handled by .reveal-item in JS */
}

/* legacy keyframes removed — unified scroll reveal system */

.values-animate .value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-gold-bright);
}

.values-animate .value-card:hover .ic {
  transform: scale(1.05);
  color: var(--color-gold-bright);
  background: var(--color-cream-2);
}

/* -----------------------------------------------------------------
   20b. SCROLL REVEAL — premium entrance animations
   ----------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item--up {
  transform: translate3d(0, 34px, 0);
}

.reveal-item--scale {
  transform: translate3d(0, 18px, 0) scale(0.94);
}

.reveal-item--fade {
  transform: none;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: none;
}

.service-card.reveal-item.is-revealed:hover,
.value-card.reveal-item.is-revealed:hover,
.blog-card.reveal-item.is-revealed:hover,
.testimonial.reveal-item.is-revealed:hover {
  transform: translateY(-4px);
}

.value-card.reveal-item.is-revealed:hover .ic {
  transform: scale(1.05);
}

.blog-card.reveal-item.is-revealed:hover .blog-card-media img {
  transform: scale(1.05);
}

/* -----------------------------------------------------------------
   21. RESPONSYWNOŚĆ (mobile-first refinements)
   ----------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --fs-4xl: 3.2rem;
    --fs-3xl: 2.7rem;
    --fs-2xl: 2.2rem;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  /* Mobile nav */
  .nav-burger { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-navy-deep);
    padding: var(--space-5);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-toggle:checked ~ .site-nav { transform: translateY(0); }
  .nav-toggle:checked ~ .nav-burger .icon-open { display: none; }
  .nav-toggle:checked ~ .nav-burger .icon-close { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-list a {
    color: var(--color-cream);
    padding: var(--space-4) 0;
    display: block;
  }
  .nav-list a::after { display: none; }
  .nav-list a:hover, .nav-list a.is-active { color: var(--color-gold-bright); }
  .nav-cta { margin-top: var(--space-5); width: 100%; }
}

@media (max-width: 760px) {
  :root {
    --fs-4xl: 2.6rem;
    --fs-3xl: 2.2rem;
    --fs-2xl: 1.9rem;
    --fs-xl: 1.6rem;
    --space-9: 4rem;
    --space-10: 5rem;
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--space-7); }
  .split-media .media-badge { position: static; margin-top: var(--space-4); max-width: none; }
  .pricing { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .case-card { grid-template-columns: 1fr; gap: var(--space-4); }
  .case-result { border-left: none; padding-left: 0; border-top: 1px solid var(--color-border); padding-top: var(--space-4); text-align: left; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .sector-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}

/* -----------------------------------------------------------------
   22. SCROLL PROGRESS + PAGE TRANSITIONS
   ----------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--scroll-progress-h);
  z-index: 1201;
  pointer-events: none;
  background: rgba(11, 22, 34, 0.06);
}

body.admin-bar .scroll-progress {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .scroll-progress {
    top: 46px;
  }
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-bright) 55%, #dcc088 100%);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  will-change: transform;
  box-shadow: 0 0 16px rgba(201, 168, 106, 0.55), 0 1px 0 rgba(201, 168, 106, 0.35);
}

/* Custom cursor — premium dot + ring (desktop only, JS adds .has-custom-cursor) */
html.has-custom-cursor body.lblegal-theme,
html.has-custom-cursor body.lblegal-theme * {
  cursor: none !important;
}

html.has-custom-cursor.custom-cursor-text body.lblegal-theme,
html.has-custom-cursor.custom-cursor-text body.lblegal-theme input,
html.has-custom-cursor.custom-cursor-text body.lblegal-theme textarea,
html.has-custom-cursor.custom-cursor-text body.lblegal-theme [contenteditable="true"] {
  cursor: text !important;
}

html.has-custom-cursor.custom-cursor-text .custom-cursor-dot,
html.has-custom-cursor.custom-cursor-text .custom-cursor-ring,
html.has-custom-cursor.custom-cursor-text .custom-cursor-glow {
  opacity: 0 !important;
}

.custom-cursor-dot,
.custom-cursor-ring,
.custom-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  will-change: transform;
}

.custom-cursor-dot {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  z-index: 100001;
  opacity: 0;
  background: var(--color-gold-bright);
  box-shadow:
    0 0 0 1px rgba(11, 22, 34, 0.12),
    0 0 10px rgba(201, 168, 106, 0.45);
  transition:
    opacity 0.22s ease,
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.05s linear;
}

.custom-cursor-dot.is-visible {
  opacity: 1;
}

.custom-cursor-dot.is-hover {
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  background: var(--color-navy-deep);
  box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.85);
}

.custom-cursor-dot.is-pressed {
  transform: scale(0.82);
}

.custom-cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  z-index: 100000;
  opacity: 0;
  border: 1px solid rgba(201, 168, 106, 0.62);
  background: rgba(201, 168, 106, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    opacity 0.22s ease,
    width 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    background-color 0.28s ease,
    border-width 0.28s ease,
    transform 0.12s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-cursor-ring.is-visible {
  opacity: 1;
}

.custom-cursor-ring.is-hover {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-width: 1.5px;
  border-color: var(--color-gold-bright);
  background: rgba(201, 168, 106, 0.09);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 24px rgba(201, 168, 106, 0.14);
}

.custom-cursor-ring.is-pressed {
  transform: scale(0.9);
}

.custom-cursor-glow {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  z-index: 9998;
  opacity: 0;
  background: radial-gradient(circle, rgba(201, 168, 106, 0.16) 0%, rgba(201, 168, 106, 0.06) 42%, transparent 72%);
  transition: opacity 0.35s ease;
}

.custom-cursor-glow.is-active {
  opacity: 1;
}

html.is-page-transition-pending::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: var(--color-bg);
  pointer-events: none;
}

html.is-page-transition-pending body {
  opacity: 0;
}

#lblegal-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

#lblegal-page-overlay.is-visible {
  pointer-events: auto;
}

#lblegal-page-overlay.is-active {
  opacity: 1;
}

.page-transition-scales {
  width: min(112px, 24vw);
  height: auto;
  color: var(--color-gold-bright);
  opacity: 0;
  transform: scale(0.88);
  filter: drop-shadow(0 6px 24px rgba(201, 168, 106, 0.45));
  transition: opacity 0.24s ease, transform 0.24s ease;
}

#lblegal-page-overlay.is-active .page-transition-scales {
  opacity: 1;
  transform: scale(1);
}

.page-transition-scales-swing {
  transform-box: fill-box;
  transform-origin: 50% 24%;
}

#lblegal-page-overlay.is-active .page-transition-scales-swing {
  animation: page-transition-balance 0.52s cubic-bezier(0.45, 0, 0.25, 1) forwards;
}

@keyframes page-transition-balance {
  0% {
    transform: rotate(-10deg);
  }
  38% {
    transform: rotate(9deg);
  }
  68% {
    transform: rotate(-4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

body.is-page-enter,
body.is-page-reveal {
  animation: page-fade-in 0.42s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* -----------------------------------------------------------------
   23. SCROLL TO TOP
   ----------------------------------------------------------------- */
.scroll-top {
  position: fixed;
  z-index: 9999;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 106, 0.45);
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: var(--color-gold-bright);
  box-shadow: 0 0 16px rgba(13, 26, 40, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease, background 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.lblegal-theme button.scroll-top {
  margin: 0;
  padding: 0;
  min-height: 0;
  line-height: 1;
}

.scroll-top-chevron {
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2.5px solid currentColor;
  border-right: 2.5px solid currentColor;
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-navy-700);
  border-color: var(--color-gold-bright);
  color: var(--color-white);
}

/* -----------------------------------------------------------------
   24. COOKIE BANNER (RODO)
   ----------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: var(--space-5);
  right: auto;
  bottom: var(--space-5);
  z-index: 1300;
  width: min(560px, calc(100vw - (var(--space-5) * 2)));
  max-width: calc(100vw - (var(--space-5) * 2));
  margin-inline: 0;
  background: var(--color-navy-deep);
  color: rgba(246, 243, 238, 0.9);
  border: 1px solid rgba(201, 168, 106, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-6);
  transform: translateY(calc(100% + var(--space-6)));
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, visibility 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner.is-expanded {
  width: min(640px, calc(100vw - (var(--space-5) * 2)));
  max-width: calc(100vw - (var(--space-5) * 2));
}

.cookie-banner-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.cookie-banner-title {
  font-family: var(--font-serif);
  font-size: var(--fs-md);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.cookie-banner-text {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: rgba(246, 243, 238, 0.82);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-btn-accept {
  background: var(--color-gold);
  color: var(--color-navy-deep);
  border-color: var(--color-gold);
}

.cookie-btn-accept:hover,
.cookie-btn-accept:focus-visible {
  background: var(--color-gold-bright);
  color: var(--color-white);
  border-color: var(--color-white);
}

.cookie-btn-reject,
.cookie-btn-settings {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(255, 255, 255, 0.25);
}

.cookie-btn-reject:hover,
.cookie-btn-reject:focus-visible,
.cookie-btn-settings:hover,
.cookie-btn-settings:focus-visible {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

body.lblegal-theme .cookie-banner .cookie-btn:hover,
body.lblegal-theme .cookie-banner .cookie-btn:focus-visible {
  outline-color: var(--color-white);
}

.cookie-panel {
  display: none;
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-banner.is-expanded .cookie-panel {
  display: block;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--space-1);
}

.cookie-option-info p {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: rgba(246, 243, 238, 0.72);
}

.cookie-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-switch span {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  transition: background 0.25s ease;
  cursor: pointer;
}

.cookie-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.25s ease;
}

.cookie-switch input:checked + span {
  background: var(--color-gold);
}

.cookie-switch input:checked + span::after {
  transform: translateX(20px);
}

.cookie-switch input:disabled + span {
  opacity: 0.55;
  cursor: not-allowed;
}

.footer-map-link {
  color: rgba(246, 243, 238, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.footer-map-link:hover {
  color: var(--color-gold-bright);
}

/* Redukcja ruchu */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.is-page-enter,
  body.is-page-reveal {
    animation: none !important;
  }

  #lblegal-page-overlay {
    display: none !important;
  }

  .faq-item .faq-body {
    transition: none !important;
  }

  .scroll-top,
  .cookie-banner {
    transition: none !important;
  }

  .timeline-runner {
    display: none !important;
  }

  .timeline--runner .timeline-step .dot {
    opacity: 1 !important;
  }

  .split-media img,
  .split-media .media-badge {
    opacity: 1 !important;
    transform: none !important;
  }

  .read-along-word {
    color: inherit !important;
  }

  .custom-cursor-dot,
  .custom-cursor-ring,
  .custom-cursor-glow {
    display: none !important;
  }

  html.has-custom-cursor body.lblegal-theme,
  html.has-custom-cursor body.lblegal-theme * {
    cursor: auto !important;
  }

  .hero--home .hero-bg::before,
  .hero-scales-wrap {
    transform: none !important;
  }

  .values-animate .value-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .values-animate .value-card:hover {
    transform: none !important;
  }

  .case-result .num {
    background: none;
    color: var(--color-navy);
    -webkit-text-fill-color: currentColor;
  }
}

/* -----------------------------------------------------------------
   Dark sections — heading color guard (Elementor / Astra overrides)
   ----------------------------------------------------------------- */
body.lblegal-theme .section.section--navy h2,
body.lblegal-theme .section--navy .split-body > h2,
body.lblegal-theme .elementor-widget-html .section--navy h2,
body.lblegal-theme .section--navy h2.reveal-item,
body.lblegal-theme .section--navy h2.reveal-item.is-revealed,
body.lblegal-theme .cta-band .cta-inner h2,
body.lblegal-theme .cta-band .cta-inner > div > h2,
body.lblegal-theme .elementor-widget-html .cta-band h2,
body.lblegal-theme .cta-band h2.reveal-item,
body.lblegal-theme .cta-band h2.reveal-item.is-revealed {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* Mobile nav — full-width highlights + backdrop blur v1.5.1 */
@media (max-width: 860px) {
  body.lblegal-theme .kb-site-nav { padding: 8px 0 20px; }
  body.lblegal-theme .kb-nav-list li { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  body.lblegal-theme .kb-nav-list a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 20px;
    border-left: 3px solid transparent;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
  }
  body.lblegal-theme .kb-nav-list a::after { display: none; }
  body.lblegal-theme .kb-nav-list a:hover,
  body.lblegal-theme .kb-nav-list a.is-active,
  body.lblegal-theme .kb-nav-list a:focus-visible {
    color: var(--color-gold-bright);
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--color-gold);
  }
  body.lblegal-theme .kb-nav-cta {
    width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    margin: 16px 20px 4px;
  }
  body.lblegal-theme:has(.kb-nav-toggle:checked)::after {
    content: "";
    position: fixed;
    inset: 0;
    top: 68px;
    z-index: 998;
    background: rgba(11, 22, 34, 0.28);
    backdrop-filter: blur(10px) saturate(0.92);
    -webkit-backdrop-filter: blur(10px) saturate(0.92);
    pointer-events: auto;
    animation: mobile-nav-backdrop-in 0.35s ease;
  }
  body.lblegal-theme:has(.kb-nav-toggle:checked),
  body.lblegal-theme:has(.nav-toggle:checked) { overflow: hidden; }
  body.lblegal-theme:has(.nav-toggle:checked)::after {
    content: "";
    position: fixed;
    inset: 0;
    top: var(--header-h);
    z-index: 998;
    background: rgba(11, 22, 34, 0.28);
    backdrop-filter: blur(10px) saturate(0.92);
    -webkit-backdrop-filter: blur(10px) saturate(0.92);
    pointer-events: auto;
    animation: mobile-nav-backdrop-in 0.35s ease;
  }
  .nav-list a {
    padding: var(--space-4) 20px;
    width: 100%;
    box-sizing: border-box;
    border-left: 3px solid transparent;
  }
  .nav-list a:hover,
  .nav-list a.is-active,
  .nav-list a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--color-gold);
  }
  .nav-cta { margin: var(--space-5) 20px 4px; width: calc(100% - 40px); box-sizing: border-box; }
}
@keyframes mobile-nav-backdrop-in {
  from { opacity: 0; backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); }
  to { opacity: 1; backdrop-filter: blur(10px) saturate(0.92); -webkit-backdrop-filter: blur(10px) saturate(0.92); }
}
@media (prefers-reduced-motion: reduce) {
  body.lblegal-theme:has(.kb-nav-toggle:checked)::after,
  body.lblegal-theme:has(.nav-toggle:checked)::after {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(11, 22, 34, 0.55);
    animation: none;
  }
}


/* Mobile viewport + nav fixes v1.5.3 */
html {
  overflow-x: clip;
}

body.lblegal-theme {
  overflow-x: clip;
}

body.is-mobile-nav-open {
  touch-action: none;
}

:root {
  --kb-header-top: 0px;
  --kb-mobile-nav-top: 68px;
}

.cookie-banner,
.cookie-banner.is-expanded {
  width: min(560px, calc(100% - (var(--space-5) * 2)));
  max-width: calc(100% - (var(--space-5) * 2));
}

.cookie-banner.is-expanded {
  width: min(640px, calc(100% - (var(--space-5) * 2)));
  max-width: calc(100% - (var(--space-5) * 2));
}

@media (max-width: 860px) {
  body.lblegal-theme {
    padding-top: var(--kb-mobile-nav-top, 68px);
  }

  body.lblegal-theme .xpro-theme-builder-header,
  body.lblegal-theme .xpro-theme-builder-header-nav,
  body.lblegal-theme .kb-site-header {
    position: fixed !important;
    top: var(--kb-header-top, 0px);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1100;
  }

  body.lblegal-theme .kb-header-inner {
    max-width: 100%;
    overflow: visible;
  }

  body.lblegal-theme .kb-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.lblegal-theme .kb-site-nav {
    position: fixed !important;
    top: var(--kb-mobile-nav-top, 68px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    z-index: 1099 !important;
    max-height: calc(100dvh - var(--kb-mobile-nav-top, 68px));
    max-height: calc(100svh - var(--kb-mobile-nav-top, 68px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 8px 0 20px;
    box-sizing: border-box;
  }

  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body.lblegal-theme .kb-nav-list a {
    padding: 14px 20px !important;
  }

  body.lblegal-theme .kb-nav-cta {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px) !important;
    margin: 16px 20px 4px !important;
  }

  body.lblegal-theme:has(.kb-nav-toggle:checked)::after,
  body.lblegal-theme:has(.nav-toggle:checked)::after {
    top: var(--kb-mobile-nav-top, 68px) !important;
  }

  body.lblegal-theme:has(.kb-nav-toggle:checked),
  body.lblegal-theme:has(.nav-toggle:checked) {
    overflow: visible !important;
  }

  body.lblegal-theme .container,
  body.lblegal-theme .container-narrow {
    max-width: 100%;
    padding-inline: 20px;
  }

  body.lblegal-theme .elementor-section,
  body.lblegal-theme .e-con,
  body.lblegal-theme .e-con-inner,
  body.lblegal-theme .elementor-widget-wrap,
  body.lblegal-theme .elementor-widget-html {
    max-width: 100% !important;
    overflow-x: clip;
  }

  .compare-wrap {
    max-width: 100%;
  }

  .cookie-banner,
  .cookie-banner.is-expanded {
    left: var(--space-4);
    right: var(--space-4);
    width: auto;
    max-width: none;
  }

  .site-nav {
    top: var(--kb-mobile-nav-top, var(--header-h)) !important;
    transform: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-toggle:checked ~ .site-nav {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }
}


/* Split media overflow fix v1.5.4 */
.split,
.split-media,
.split-body {
  min-width: 0;
  max-width: 100%;
}

.split-media {
  width: 100%;
}

.split-media img {
  max-width: 100%;
  height: auto;
  display: block;
  transform-origin: center center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr !important;
    gap: var(--space-7);
    min-width: 0;
    max-width: 100%;
  }

  .split-media,
  .split-body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .split-media img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    transform: none !important;
  }

  .split-media:not(.is-revealed) img {
    opacity: 0;
  }

  .split-media.is-revealed img {
    opacity: 1;
    transform: none !important;
  }

  .split-media .media-badge {
    position: static !important;
    margin-top: var(--space-4);
    max-width: 100% !important;
    box-sizing: border-box;
  }

  body.lblegal-theme .section .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
  }
}


/* Hero mobile polish v1.5.5 */
@media (max-width: 900px) {
  .hero-trust {
    justify-items: center;
    text-align: center;
  }

  .hero-trust-item {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-trust {
    justify-items: center;
  }
}

@media (max-width: 760px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: auto;
    max-width: 100%;
  }

  .hero-actions .btn-gold.btn-lg {
    white-space: nowrap;
    font-size: clamp(0.62rem, 2.85vw, 0.82rem);
    letter-spacing: 0.03em;
    padding: var(--space-4) clamp(0.9rem, 3.6vw, 1.35rem);
  }
}


/* Read-along feature list fix v1.5.6 */
.feature-list li {
  min-width: 0;
}

.split-body {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.read-along-block .feature-list li .read-along-line {
  flex: 1;
  min-width: 0;
  line-height: var(--lh-base);
  overflow-wrap: anywhere;
}

.read-along-block .feature-list li .read-along-word {
  display: inline;
  white-space: normal;
  overflow-wrap: anywhere;
  color: rgba(28, 38, 48, calc(0.22 + 0.78 * var(--read-fill, 0)));
}


/* Hero text wave v1.5.7 */
.hero--home .hero-inner.hero-wave-ready .hero-wave-word {
  display: inline;
  white-space: normal;
}

.hero--home .hero-inner.hero-wave-active .hero-title .hero-wave-word {
  animation: hero-text-wave-title 0.58s cubic-bezier(0.33, 1, 0.38, 1) both;
  animation-delay: calc(var(--hero-wave-i, 0) * 72ms);
  animation-iteration-count: 1;
}

.hero--home .hero-inner.hero-wave-active .hero-title .accent .hero-wave-word {
  animation-name: hero-text-wave-accent;
}

.hero--home .hero-inner.hero-wave-active .hero-text .hero-wave-word {
  animation: hero-text-wave-body 0.58s cubic-bezier(0.33, 1, 0.38, 1) both;
  animation-delay: calc(var(--hero-wave-i, 0) * 72ms);
  animation-iteration-count: 1;
}

.hero--home .hero-inner.hero-wave-complete .hero-wave-word {
  animation: none;
}

@keyframes hero-text-wave-title {
  0%, 100% { color: var(--color-white); text-shadow: none; transform: translateY(0); }
  46% { color: #f3ead8; text-shadow: 0 0 18px rgba(201, 168, 106, 0.28); transform: translateY(-1px); }
}

@keyframes hero-text-wave-accent {
  0%, 100% { color: var(--color-gold-bright); text-shadow: none; transform: translateY(0); }
  46% { color: #fff4dc; text-shadow: 0 0 20px rgba(201, 168, 106, 0.42); transform: translateY(-1px); }
}

@keyframes hero-text-wave-body {
  0%, 100% { color: rgba(246, 243, 238, 0.85); text-shadow: none; transform: translateY(0); }
  46% { color: rgba(255, 252, 247, 0.98); text-shadow: 0 0 14px rgba(201, 168, 106, 0.18); transform: translateY(-0.5px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--home .hero-wave-word {
    animation: none !important;
    transform: none !important;
    text-shadow: none !important;
  }
}


/* Hero wave reveal v1.5.8 — muted start, brighten to final color */
.hero--home .hero-inner.hero-wave-ready .hero-title .hero-wave-word {
  color: rgba(255, 255, 255, 0.26);
  text-shadow: none;
  transform: translateY(1px);
}

.hero--home .hero-inner.hero-wave-ready .hero-title .accent .hero-wave-word {
  color: rgba(201, 168, 106, 0.24);
}

.hero--home .hero-inner.hero-wave-ready .hero-text .hero-wave-word {
  color: rgba(246, 243, 238, 0.24);
  text-shadow: none;
  transform: translateY(0.5px);
}

.hero--home .hero-inner.hero-wave-active .hero-title .hero-wave-word {
  animation: hero-text-wave-title 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--hero-wave-i, 0) * 72ms);
  animation-iteration-count: 1;
}

.hero--home .hero-inner.hero-wave-active .hero-title .accent .hero-wave-word {
  animation-name: hero-text-wave-accent;
}

.hero--home .hero-inner.hero-wave-active .hero-text .hero-wave-word {
  animation: hero-text-wave-body 0.68s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--hero-wave-i, 0) * 72ms);
  animation-iteration-count: 1;
}

.hero--home .hero-inner.hero-wave-complete .hero-title .hero-wave-word {
  color: var(--color-white);
  text-shadow: none;
  transform: translateY(0);
}

.hero--home .hero-inner.hero-wave-complete .hero-title .accent .hero-wave-word {
  color: var(--color-gold-bright);
}

.hero--home .hero-inner.hero-wave-complete .hero-text .hero-wave-word {
  color: rgba(246, 243, 238, 0.85);
  text-shadow: none;
  transform: translateY(0);
}

@keyframes hero-text-wave-title {
  0% { color: rgba(255, 255, 255, 0.26); text-shadow: none; transform: translateY(1px); }
  52% { color: #fff6e8; text-shadow: 0 0 18px rgba(201, 168, 106, 0.24); transform: translateY(-0.5px); }
  100% { color: var(--color-white); text-shadow: none; transform: translateY(0); }
}

@keyframes hero-text-wave-accent {
  0% { color: rgba(201, 168, 106, 0.24); text-shadow: none; transform: translateY(1px); }
  52% { color: #ffe8b8; text-shadow: 0 0 20px rgba(201, 168, 106, 0.34); transform: translateY(-0.5px); }
  100% { color: var(--color-gold-bright); text-shadow: none; transform: translateY(0); }
}

@keyframes hero-text-wave-body {
  0% { color: rgba(246, 243, 238, 0.24); text-shadow: none; transform: translateY(0.5px); }
  52% { color: rgba(255, 252, 247, 0.96); text-shadow: 0 0 14px rgba(201, 168, 106, 0.16); transform: translateY(0); }
  100% { color: rgba(246, 243, 238, 0.85); text-shadow: none; transform: translateY(0); }
}


/* Mobile nav slide v1.5.9 */
@media (max-width: 860px) {
  body.lblegal-theme .kb-site-nav {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(0, -14px, 0) scale(0.985) !important;
    transform-origin: top center;
    box-shadow: none !important;
    background: #0b1622;
    transition:
      max-height 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.38s,
      box-shadow 0.42s ease,
      padding 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  body.lblegal-theme .kb-site-nav .kb-nav-list li,
  body.lblegal-theme .kb-site-nav .kb-nav-cta {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    transition:
      opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav {
    max-height: calc(100dvh - var(--kb-mobile-nav-top, 68px)) !important;
    max-height: calc(100svh - var(--kb-mobile-nav-top, 68px)) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 20px !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.42) !important;
  }

  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-list li,
  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-cta {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-list li:nth-child(1) { transition-delay: 0.1s; }
  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-list li:nth-child(2) { transition-delay: 0.14s; }
  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-list li:nth-child(3) { transition-delay: 0.18s; }
  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-list li:nth-child(4) { transition-delay: 0.22s; }
  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-list li:nth-child(5) { transition-delay: 0.26s; }
  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-list li:nth-child(6) { transition-delay: 0.3s; }
  body.lblegal-theme .kb-nav-toggle:checked ~ .kb-site-nav .kb-nav-cta { transition-delay: 0.36s; }

  .site-nav {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    transform: translate3d(0, -14px, 0) scale(0.985) !important;
    transform-origin: top center;
    box-shadow: none !important;
    transition:
      max-height 0.52s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.38s,
      box-shadow 0.42s ease,
      padding 0.42s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  .site-nav .nav-list li,
  .site-nav .nav-cta {
    opacity: 0;
    transform: translate3d(0, -10px, 0);
    transition:
      opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: calc(100dvh - var(--kb-mobile-nav-top, var(--header-h))) !important;
    max-height: calc(100svh - var(--kb-mobile-nav-top, var(--header-h))) !important;
    overflow-y: auto !important;
    padding: 8px 0 20px !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    box-shadow: var(--shadow-lg) !important;
  }

  .nav-toggle:checked ~ .site-nav .nav-list li,
  .nav-toggle:checked ~ .site-nav .nav-cta {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .nav-toggle:checked ~ .site-nav .nav-list li:nth-child(1) { transition-delay: 0.1s; }
  .nav-toggle:checked ~ .site-nav .nav-list li:nth-child(2) { transition-delay: 0.14s; }
  .nav-toggle:checked ~ .site-nav .nav-list li:nth-child(3) { transition-delay: 0.18s; }
  .nav-toggle:checked ~ .site-nav .nav-list li:nth-child(4) { transition-delay: 0.22s; }
  .nav-toggle:checked ~ .site-nav .nav-list li:nth-child(5) { transition-delay: 0.26s; }
  .nav-toggle:checked ~ .site-nav .nav-list li:nth-child(6) { transition-delay: 0.3s; }
  .nav-toggle:checked ~ .site-nav .nav-cta { transition-delay: 0.36s; }
}

/* Compare table mobile cards v1.6.0 */
@media (max-width: 760px) {
  .compare-wrap {
    overflow: visible !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    max-width: 100% !important;
  }

  .compare-table {
    min-width: 0 !important;
    display: block !important;
    background: transparent !important;
  }

  .compare-table caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .compare-table thead {
    display: none !important;
  }

  .compare-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--space-4) !important;
  }

  .compare-table tbody tr {
    display: block !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-md) !important;
    overflow: hidden !important;
    background: var(--color-surface) !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .compare-table tbody th[scope="row"] {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: var(--space-4) var(--space-5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: var(--color-navy) !important;
    color: var(--color-white) !important;
    font-family: var(--font-serif) !important;
    font-size: var(--fs-base) !important;
    font-weight: 600 !important;
    line-height: var(--lh-snug) !important;
  }

  .compare-table tbody td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: var(--space-5) !important;
    padding-top: calc(var(--space-5) + 1.35rem) !important;
    border-bottom: 1px solid var(--color-border) !important;
    position: relative !important;
    line-height: var(--lh-base) !important;
  }

  .compare-table tbody td:last-child {
    border-bottom: none !important;
  }

  .compare-table tbody td::before {
    content: "";
    display: block;
    position: absolute;
    top: var(--space-4);
    left: var(--space-5);
    right: var(--space-5);
    font-family: var(--font-sans);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1.2;
  }

  .compare-table tbody td:nth-child(2)::before {
    content: "Samodzielnie";
    color: var(--color-muted);
  }

  .compare-table tbody td:nth-child(3)::before,
  .compare-table tbody td.col-us::before {
    content: "Kancelaria Łukasz Brzozowski";
    color: var(--color-gold);
  }

  .compare-table tbody td.col-us {
    background: linear-gradient(180deg, rgba(182, 145, 79, 0.1) 0%, rgba(182, 145, 79, 0.04) 100%) !important;
    border-left: 3px solid var(--color-gold) !important;
    color: var(--color-text) !important;
    font-weight: 500 !important;
  }

  .compare-table tbody td:nth-child(2) {
    background: var(--color-cream) !important;
  }
}
/* Compare table labels v1.6.1 */
.compare-table thead th.col-us {
  background: linear-gradient(
    135deg,
    var(--color-navy-deep) 0%,
    var(--color-navy-700) 52%,
    rgba(182, 145, 79, 0.32) 100%
  ) !important;
  color: var(--color-white) !important;
  font-weight: 700 !important;
}
.compare-table thead th:nth-child(2) {
  font-weight: 400 !important;
}
@media (max-width: 760px) {
  .compare-table tbody td::before {
    font-weight: 400 !important;
  }
  .compare-table tbody td:nth-child(2)::before {
    font-weight: 400 !important;
  }
  .compare-table tbody td:nth-child(3)::before,
  .compare-table tbody td.col-us::before {
    color: var(--color-white) !important;
    font-weight: 700 !important;
  }
  .compare-table tbody td.col-us {
    background:
      radial-gradient(ellipse 130% 90% at 100% 0%, rgba(201, 168, 106, 0.2) 0%, transparent 58%),
      linear-gradient(155deg, var(--color-navy-deep) 0%, var(--color-navy) 46%, var(--color-navy-600) 100%) !important;
    border-left: 3px solid var(--color-gold-bright) !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .compare-table tbody td.col-us .check {
    color: var(--color-gold-bright) !important;
  }
}
/* Compare table gold restore v1.6.2 */
.compare-table thead th.col-us {
  background:
    radial-gradient(ellipse 120% 85% at 100% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 58%),
    linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 48%, #9a7538 100%) !important;
  color: var(--color-white) !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(11, 22, 34, 0.22) !important;
}
.compare-table .col-us {
  background: linear-gradient(180deg, rgba(182, 145, 79, 0.14) 0%, rgba(182, 145, 79, 0.07) 100%) !important;
}
@media (max-width: 760px) {
  .compare-table tbody td:nth-child(3)::before,
  .compare-table tbody td.col-us::before {
    color: var(--color-white) !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(11, 22, 34, 0.22) !important;
  }
  .compare-table tbody td.col-us {
    background:
      radial-gradient(ellipse 130% 90% at 100% 0%, rgba(255, 255, 255, 0.2) 0%, transparent 58%),
      linear-gradient(155deg, var(--color-gold-bright) 0%, var(--color-gold) 46%, #9a7538 100%) !important;
    border-left: 3px solid rgba(255, 255, 255, 0.45) !important;
    color: var(--color-navy-deep) !important;
  }
  .compare-table tbody td.col-us .check {
    color: var(--color-success) !important;
  }
}

/* Demo disclaimer v1.7.0 */
body.demo-disclaimer-open { overflow: hidden !important; }
.demo-disclaimer { position: fixed; inset: 0; z-index: 1400; display: flex; align-items: center; justify-content: center; padding: var(--space-5); opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s ease; }
.demo-disclaimer.is-visible { opacity: 1; visibility: visible; }
.demo-disclaimer-backdrop { position: absolute; inset: 0; background: rgba(11, 22, 34, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.demo-disclaimer-dialog { position: relative; z-index: 1; width: min(640px, 100%); max-height: min(90vh, 760px); overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--color-surface); border: 1px solid rgba(201, 168, 106, 0.45); border-radius: var(--radius-md); box-shadow: 0 24px 64px rgba(11, 22, 34, 0.35); padding: var(--space-7) var(--space-6) var(--space-6); }
.demo-disclaimer-badge { display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); padding: 0.35rem 0.75rem; border-radius: 999px; background: linear-gradient(135deg, var(--color-gold-bright) 0%, var(--color-gold) 100%); color: var(--color-navy-deep); font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.demo-disclaimer-title { margin: 0 0 var(--space-5); font-family: var(--font-serif); font-size: clamp(1.5rem, 4vw, 1.875rem); line-height: var(--lh-snug); color: var(--color-heading); }
.demo-disclaimer-body { color: var(--color-text); font-size: var(--fs-sm); line-height: var(--lh-base); }
.demo-disclaimer-body p { margin: 0 0 var(--space-4); }
.demo-disclaimer-list { margin: 0 0 var(--space-5); padding-left: 1.15rem; display: grid; gap: var(--space-3); }
.demo-disclaimer-list li::marker { color: var(--color-gold); }
.demo-disclaimer-note { margin-bottom: 0 !important; padding: var(--space-4); border-radius: var(--radius-sm); background: var(--color-cream); color: var(--color-muted); font-size: var(--fs-xs); }
.demo-disclaimer-actions { display: flex; justify-content: flex-end; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.demo-disclaimer-accept { min-width: 11rem; }
body.lblegal-demo-mode.demo-disclaimer-accepted::before { content: "Wersja demonstracyjna — treść ma charakter wyłącznie prezentacyjny"; position: fixed; top: 0; left: 0; right: 0; z-index: 1200; padding: 0.45rem var(--space-4); background: linear-gradient(90deg, var(--color-navy-deep) 0%, var(--color-navy) 100%); border-bottom: 1px solid rgba(201, 168, 106, 0.35); color: rgba(255, 255, 255, 0.92); font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; pointer-events: none; }
body.lblegal-demo-mode.demo-disclaimer-accepted { padding-top: 2rem; }
body.lblegal-demo-mode.demo-disclaimer-accepted .site-header, body.lblegal-demo-mode.demo-disclaimer-accepted .header { top: 2rem; }
@media (max-width: 760px) { .demo-disclaimer { padding: var(--space-4); } .demo-disclaimer-dialog { padding: var(--space-6) var(--space-5) var(--space-5); } .demo-disclaimer-actions { justify-content: stretch; } .demo-disclaimer-accept { width: 100%; min-width: 0; } body.lblegal-demo-mode.demo-disclaimer-accepted::before { font-size: 0.625rem; line-height: 1.35; padding-block: 0.55rem; } body.lblegal-demo-mode.demo-disclaimer-accepted { padding-top: 2.35rem; } }