/* ===== Fonty self-hosted (Fraunces + Inter) – bez Google CDN (szybciej + RODO) ===== */
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/fraunces-i400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/fraunces-i400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/fraunces-n400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/fraunces-n400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/fraunces-n500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/fraunces-n500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/fraunces-n600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/fraunces-n600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-n400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-n400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-n500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-n500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-n600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-n600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-n700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-n700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =================================================================
   Kancelaria Prawno-Podatkowa DPPW – Design System
   "Quiet authority": editorial elegance, dual theme (light / dark),
   gold/brass accent, Beskidy motif. Vanilla CSS, no frameworks.
   ================================================================= */

/* ---------- 1. Tokens ---------- */
:root,
[data-theme="light"] {
  --bg:          #F7F5F0;
  --bg-2:        #EFEBE2;
  --surface:     #FFFFFF;
  --surface-2:   #F3F0E9;
  --text:        #16212E;
  --text-muted:  #56616E;
  --heading:     #10202F;
  --line:        #E4DED2;
  --line-strong: #D4CCBC;

  --navy:        #13243B;
  --gold:        #C29A45;
  --gold-deep:   #95702A;
  --accent:      var(--gold-deep);
  --on-gold:     #1B1407;

  --hero-ink:    #0E1A28;

  --shadow-sm:  0 2px 10px rgba(20,30,45,.06);
  --shadow-md:  0 14px 40px -18px rgba(20,30,45,.28);
  --shadow-lg:  0 36px 80px -32px rgba(20,30,45,.34);
  --ring:       0 0 0 3px rgba(194,154,69,.38);

  color-scheme: light;
}

[data-theme="dark"] {
  --bg:          #0E1218;
  --bg-2:        #0A0E13;
  --surface:     #161C24;
  --surface-2:   #1B222B;
  --text:        #E9E4D8;
  --text-muted:  #9BA6B2;
  --heading:     #F5F0E6;
  --line:        #232B35;
  --line-strong: #313A46;

  --navy:        #0B1422;
  --gold:        #D9BA6E;
  --gold-deep:   #E0C57E;
  --accent:      var(--gold-deep);
  --on-gold:     #16100A;

  --hero-ink:    #05080C;

  --shadow-sm:  0 2px 12px rgba(0,0,0,.4);
  --shadow-md:  0 18px 46px -20px rgba(0,0,0,.66);
  --shadow-lg:  0 40px 90px -30px rgba(0,0,0,.7);
  --ring:       0 0 0 3px rgba(217,186,110,.42);

  color-scheme: dark;
}

:root {
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-eyebrow: .76rem;
  --fs-body:    1.05rem;
  --fs-sub:     clamp(1rem, .95rem + .35vw, 1.16rem);
  --fs-lg:      clamp(1.1rem, .92rem + .7vw, 1.32rem);
  --fs-h3:      clamp(1.22rem, 1.06rem + .7vw, 1.55rem);
  --fs-h2:      clamp(1.85rem, 1.35rem + 2.1vw, 2.95rem);
  --fs-h1:      clamp(2.1rem, 1.25rem + 3.6vw, 4.4rem);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(3.5rem, 7.5vw, 7.5rem);
  --radius:   18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --ease:   cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur:    .55s;
  --micro:  .25s;

  --z-header: 100;
  --z-menu:   120;
  --z-top:    200;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.015em;
  color: var(--heading);
  font-optical-sizing: auto;
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* Icon paint: <use> instances don't inherit paint from the sprite's <g>,
   so define it on the host <svg> (inherited CSS reaches the cloned content). */
svg:has(> use) { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg:has(> use[href="#i-fb"]), svg:has(> use[href="#i-in"]) { fill: currentColor; stroke: none; }

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tint { background: var(--surface-2); }
.section--flush-top { padding-top: 0; }

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 2rem); }

/* ---------- 4. Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4.5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { margin-top: .9rem; font-size: var(--fs-h2); }
.section-head p { margin-top: 1rem; color: var(--text-muted); font-size: var(--fs-sub); }

.lead { font-size: var(--fs-lg); color: var(--text-muted); }
.muted { color: var(--text-muted); }
.text-gold { color: var(--accent); }
.serif-em { font-family: var(--font-display); font-style: italic; font-weight: 400; }

.rule { height: 1px; border: 0; background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- 5. Buttons ---------- */
.btn {
  --_pad: .9rem 1.55rem;
  position: relative; display: inline-flex; align-items: center; gap: .6rem;
  padding: var(--_pad);
  font-family: var(--font-sans); font-size: .96rem; font-weight: 600; letter-spacing: .01em; line-height: 1.1;
  border-radius: 999px; border: 1px solid transparent; white-space: nowrap;
  transition: transform var(--micro) var(--ease), background-color var(--micro) var(--ease),
              color var(--micro) var(--ease), border-color var(--micro) var(--ease), box-shadow var(--micro) var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn--primary { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 30px -12px rgba(194,154,69,.7); }
.btn--primary:hover { background: var(--gold-deep); color: var(--on-gold); transform: translateY(-2px); }
[data-theme="dark"] .btn--primary:hover { background: #E8CE8C; }

.btn--ghost { border-color: var(--line-strong); color: var(--heading); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.btn--on-dark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn--on-dark:hover { background: #fff; color: var(--hero-ink); border-color: #fff; }

.btn--lg { --_pad: 1.05rem 1.95rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent); width: fit-content; }
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform var(--micro) var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 6. Top utility bar ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.08); }
[data-theme="dark"] .topbar { background: var(--bg-2); border-color: var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 42px; padding-block: .4rem; }
.topbar a { color: inherit; transition: color var(--micro) var(--ease); }
.topbar a:hover { color: var(--gold); }
.topbar__set { display: flex; align-items: center; gap: 1.4rem; }
.topbar__item { display: inline-flex; align-items: center; gap: .5rem; }
.topbar__item svg { width: 15px; height: 15px; color: var(--gold); }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- 7. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: border-color var(--micro) var(--ease), background-color var(--micro) var(--ease), box-shadow var(--micro) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; transition: min-height var(--micro) var(--ease); }
.site-header.is-scrolled .header__inner { min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand__mark { width: 42px; height: 42px; flex: none; color: var(--accent); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: .02em; color: var(--heading); }
.brand__sub { font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--text-muted); margin-top: .28rem; }

.nav { display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.6rem); }
.nav > .btn { flex: none; }
.nav__list { display: flex; align-items: center; gap: clamp(.3rem, 1vw, 1rem); }
.nav__link {
  position: relative; padding: .5rem .2rem; font-size: .95rem; font-weight: 500;
  white-space: nowrap; color: var(--text); transition: color var(--micro) var(--ease);
}
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform var(--micro) var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__item--has-menu { position: relative; }
.nav__trigger { display: inline-flex; align-items: center; gap: .35rem; }
.nav__trigger svg { width: 13px; height: 13px; transition: transform var(--micro) var(--ease); }
.nav__item--has-menu:hover .nav__trigger svg, .nav__item--has-menu:focus-within .nav__trigger svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 8px;
  width: 320px; padding: .6rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transition: opacity var(--micro) var(--ease), translate var(--micro) var(--ease), visibility var(--micro);
}
.nav__item--has-menu:hover .dropdown, .nav__item--has-menu:focus-within .dropdown { opacity: 1; visibility: visible; translate: -50% 0; }
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.dropdown__link { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border-radius: var(--radius-sm); transition: background-color var(--micro) var(--ease), transform var(--micro) var(--ease); }
.dropdown__link:hover { background: var(--surface-2); transform: translateX(3px); }
.dropdown__link svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.dropdown__link span { font-size: .93rem; font-weight: 500; color: var(--text); }

.controls { display: flex; align-items: center; gap: .6rem; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); transition: border-color var(--micro) var(--ease), color var(--micro) var(--ease), background-color var(--micro) var(--ease); }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }

.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: .8rem; font-weight: 600; }
.lang button { padding: .42rem .7rem; color: var(--text-muted); transition: color var(--micro) var(--ease), background-color var(--micro) var(--ease); }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); }

.nav-toggle { display: none; }

/* ---------- 8. Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--bg); padding: clamp(1.5rem, 6vw, 3rem); padding-top: 92px;
  display: flex; flex-direction: column; gap: .1rem;
  transform: translateX(100%); transition: transform .45s var(--ease-out); overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__link { display: flex; align-items: center; justify-content: space-between; padding: .85rem 0; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--heading); border-bottom: 1px solid var(--line); }
.mobile-menu__link svg { width: 19px; height: 19px; color: var(--accent); }
.mobile-menu__sub { padding: .3rem 0 .6rem 1rem; }
.mobile-menu__sub a { display: block; padding: .5rem 0; color: var(--text-muted); font-size: 1rem; }
.mobile-menu__foot { margin-top: auto; padding-top: 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-menu__contact { display: flex; flex-direction: column; gap: .5rem; font-size: .95rem; color: var(--text-muted); }
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: .6rem; }
.mobile-menu__contact svg { width: 16px; height: 16px; color: var(--accent); }
body.menu-open { overflow: hidden; }

@media (max-width: 1040px) {
  .nav__list, .nav > .btn { display: none; }
  .nav-toggle { display: inline-grid; }
}

/* ---------- 9. Hero (cinematic card + glass panel) ---------- */
.hero { position: relative; padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: 55vw; max-width: 680px; aspect-ratio: 1; top: -8%; right: -6%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 30%, transparent), transparent 62%);
  filter: blur(22px); opacity: .5; animation: glowDrift 17s var(--ease) infinite;
}
.hero .container { position: relative; z-index: 1; }
.hero__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: min(80vh, 720px);
  border-radius: clamp(20px, 2.6vw, 32px);
  background: var(--hero-ink);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  box-shadow: var(--shadow-lg);
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,11,18,.88) 0%, rgba(6,11,18,.52) 46%, rgba(6,11,18,.22) 100%),
    linear-gradient(180deg, rgba(6,11,18,.32), rgba(6,11,18,.62));
}
.hero__card-inner {
  flex: 1; width: 100%; display: grid; grid-template-columns: 1.55fr .9fr;
  gap: clamp(1.5rem, 3vw, 3rem); align-items: center; align-content: center;
  padding: clamp(1.8rem, 4vw, 3.4rem);
}
.hero__content { max-width: 640px; }
.eyebrow--on-dark { color: var(--gold); }
.hero h1 { color: #fff; font-size: var(--fs-h1); margin-top: 1.2rem; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
.hero__sub { margin-top: 1.2rem; max-width: 520px; font-size: var(--fs-lg); color: rgba(255,255,255,.82); }
.hero__cta { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__panel {
  justify-self: end; align-self: center; width: 100%; max-width: 330px;
  padding: 1.5rem 1.6rem; border-radius: 18px; color: #fff;
  background: rgba(18,26,36,.55);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.7);
}
.hero__panel-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); font-weight: 600; }
.hero__panel-stat { font-family: var(--font-display); font-size: 1rem; margin-top: .55rem; color: rgba(255,255,255,.66); }
.hero__panel-stat b { display: block; font-size: 2.7rem; line-height: 1; color: #fff; font-weight: 600; letter-spacing: -.02em; margin-top: .15rem; }
.hero__panel-sub { font-size: .82rem; color: rgba(255,255,255,.74); margin-top: .55rem; }
.hero__panel-rule { display: block; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 1.1rem 0; }
.hero__panel-list { display: flex; flex-direction: column; gap: .55rem; }
.hero__panel-list li { display: flex; gap: .55rem; align-items: center; font-size: .85rem; color: rgba(255,255,255,.9); }
.hero__panel-list svg { width: 16px; height: 16px; color: var(--gold); flex: none; }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem clamp(1.4rem, 3vw, 2.6rem);
  padding: clamp(.9rem, 2vw, 1.3rem) clamp(1.8rem, 4vw, 3.4rem);
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(6,11,18,.34);
}
.trust-item { display: inline-flex; align-items: center; gap: .6rem; font-size: .84rem; white-space: nowrap; color: rgba(255,255,255,.84); }
.trust-item svg { width: 32px; height: 32px; padding: 7px; border-radius: 9px; color: var(--gold); border: 1px solid rgba(216,184,110,.32); background: rgba(216,184,110,.12); flex: none; }
.trust-item strong { color: #fff; font-weight: 600; }

@media (max-width: 880px) {
  .hero__card { align-items: stretch; min-height: min(86vh, 640px); }
  .hero__card-inner { grid-template-columns: 1fr; gap: 1.6rem; align-content: center; }
  .hero__panel { justify-self: stretch; max-width: none; }
}

/* ---------- 10. About preview ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); will-change: transform; }
.about__frame { position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: var(--radius-lg); translate: 20px 20px; z-index: -1; }
.about__badge { position: absolute; left: -18px; bottom: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .9rem; max-width: 250px; animation: floaty 6.5s var(--ease) infinite; }
.about__badge svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.about__badge b { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--heading); }
.about__badge span { font-size: .78rem; color: var(--text-muted); }
.about__body h2 { font-size: var(--fs-h2); margin-top: .9rem; }
.about__body p { margin-top: 1.1rem; color: var(--text-muted); }
.about__sign { margin-top: 1.7rem; display: flex; align-items: center; gap: 1rem; }
.about__sign-name { font-family: var(--font-display); font-style: italic; font-size: 1.28rem; color: var(--heading); }
.about__sign-role { font-size: .8rem; color: var(--text-muted); letter-spacing: .04em; }

/* ---------- 11. Service cards ---------- */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.7rem, 2.6vw, 2.3rem);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--bg)));
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--micro) var(--ease), border-color var(--micro) var(--ease), box-shadow var(--micro) var(--ease);
}
.service-card > * { position: relative; z-index: 1; }
.service-card::before { content: ""; position: absolute; z-index: 2; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--gold), transparent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.service-card::after { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(260px circle at var(--mx,50%) var(--my,-10%), color-mix(in srgb, var(--gold) 16%, transparent), transparent 55%); }
.service-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }
.service-card__num { font-family: var(--font-display); font-size: .9rem; color: var(--accent); letter-spacing: .1em; }
.service-card__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--accent);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  transition: transform var(--micro) var(--ease), background var(--micro) var(--ease), border-color var(--micro) var(--ease);
}
.service-card:hover .service-card__icon { transform: translateY(-2px); background: color-mix(in srgb, var(--gold) 14%, transparent); border-color: var(--accent); }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: var(--fs-h3); }
.service-card p { color: var(--text-muted); font-size: .96rem; flex: 1; }
.service-card .link-arrow { margin-top: .3rem; font-size: .9rem; }

/* ---------- 12. Why us ---------- */
.why-grid { grid-template-columns: repeat(4, 1fr); }
.feature {
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--bg)));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--micro) var(--ease), border-color var(--micro) var(--ease), box-shadow var(--micro) var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); box-shadow: var(--shadow-md); }
.feature__icon {
  width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; color: var(--accent); margin-bottom: 1.1rem;
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  transition: transform var(--micro) var(--ease), border-color var(--micro) var(--ease);
}
.feature:hover .feature__icon { transform: translateY(-3px); border-color: var(--accent); }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.feature p { font-size: .93rem; color: var(--text-muted); }

/* ---------- 13. Process ---------- */
.process-grid { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); opacity: .85; }
.step::after { content: ""; position: absolute; top: 1.1rem; left: 3.4rem; right: 0; height: 1px; background: var(--line); }
.process-grid .step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--text-muted); }

/* ---------- 14. Pricing teaser ---------- */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  padding: clamp(1.8rem, 2.6vw, 2.4rem);
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--bg)));
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--micro) var(--ease), box-shadow var(--micro) var(--ease), border-color var(--micro) var(--ease);
}
.price-card > * { position: relative; z-index: 1; }
.price-card::after { content: ""; position: absolute; z-index: 0; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease); background: radial-gradient(300px circle at var(--mx,50%) var(--my,-10%), color-mix(in srgb, var(--gold) 14%, transparent), transparent 55%); }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
/* Przycisk w karcie nie unosi się już osobno – cała karta i tak unosi się jako jedność (bez tego był podwójny, "szarpany" ruch: karta -5px + przycisk -2px jednocześnie). Kliknięcie (:active) nadal działa. */
.price-card .btn:hover { transform: none; }
.price-card .btn:active { transform: translateY(1px); }
.price-card:hover::after { opacity: 1; }
.price-card--featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.price-card__tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.price-card h3 { font-size: 1.35rem; }
.price-card__price { margin: .9rem 0 .2rem; font-family: var(--font-display); }
.price-card__price b { font-size: 2.5rem; color: var(--heading); font-weight: 600; }
.price-card__price span { color: var(--text-muted); font-size: .92rem; font-family: var(--font-sans); }
.price-card__list { margin: 1.3rem 0; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.price-card__list li { display: flex; gap: .6rem; font-size: .92rem; color: var(--text-muted); }
.price-card__list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: .15rem; }

/* ---------- 15. Articles ---------- */
.articles-grid { grid-template-columns: repeat(3, 1fr); }
.article-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--bg)));
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--micro) var(--ease), box-shadow var(--micro) var(--ease), border-color var(--micro) var(--ease);
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold) 40%, var(--line)); }
.article-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.07); }
.article-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--hero-ink) 55%, transparent)); }
.article-card__chip { position: absolute; z-index: 2; left: 1rem; bottom: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-gold); background: var(--gold); padding: .32rem .7rem; border-radius: 999px; }
.article-card__body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.article-card h3 { font-size: 1.2rem; }
.article-card p { font-size: .91rem; color: var(--text-muted); flex: 1; }
.article-card .link-arrow { font-size: .9rem; }

/* ---------- 16. CTA band ---------- */
.cta-band { position: relative; isolation: isolate; padding-block: clamp(3.2rem, 7vw, 6rem); background: var(--navy); color: #fff; overflow: hidden; }
[data-theme="dark"] .cta-band { background: var(--surface); border-block: 1px solid var(--line); }
.cta-band__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 130% at 80% 0%, color-mix(in srgb, var(--gold) 26%, transparent), transparent 60%), radial-gradient(50% 120% at 10% 110%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 60%); background-size: 200% 200%; animation: ctaPan 20s ease-in-out infinite alternate; }
.cta-band__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); }
[data-theme="dark"] .cta-band h2 { color: var(--heading); }
.cta-band p { margin-top: .9rem; color: rgba(255,255,255,.78); font-size: var(--fs-sub); }
[data-theme="dark"] .cta-band p { color: var(--text-muted); }
.cta-band__actions { display: flex; flex-direction: column; gap: 1rem; }

/* ---------- 17. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-item__icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--gold) 14%, transparent); color: var(--accent); }
.contact-item__icon svg { width: 22px; height: 22px; }
.contact-item h4 { font-family: var(--font-sans); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: .25rem; font-weight: 600; }
.contact-item a, .contact-item p { color: var(--text); font-size: 1rem; }
.contact-item a:hover { color: var(--accent); }
.contact-social { display: flex; gap: .7rem; margin-top: .3rem; }
.contact-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; color: var(--text); transition: all var(--micro) var(--ease); }
.contact-social a:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); transform: translateY(-3px); }
.contact-social svg { width: 18px; height: 18px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--text); }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select { width: 100%; padding: .8rem 1rem; font: inherit; font-size: .96rem; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color var(--micro) var(--ease), box-shadow var(--micro) var(--ease); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: .7; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .82rem; color: var(--text-muted); margin-bottom: 1.1rem; }
.form-consent input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--gold); }
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* ---------- Baner zgód (cookies / RODO) ---------- */
.cookie { position: fixed; inset: auto 0 0 0; z-index: 150; display: flex; justify-content: flex-start; padding: clamp(.8rem, 2vw, 1.4rem); pointer-events: none; }
.cookie[hidden] { display: none; }
.cookie__inner { pointer-events: auto; width: 100%; max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.1rem, 2.6vw, 1.7rem); animation: cookieUp .45s var(--ease-out) both; }
.cookie--hide .cookie__inner { animation: cookieDown .3s ease forwards; }
@keyframes cookieUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes cookieDown { to { opacity: 0; transform: translateY(22px); } }
.cookie__title { font-size: 1.18rem; margin-bottom: .45rem; }
.cookie__text { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.cookie__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.cookie__details { display: grid; gap: .65rem; margin-top: 1rem; }
.cookie__details[hidden] { display: none; }
.cookie__cat { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .15rem .9rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.cookie__cat-h { grid-area: 1 / 1; font-weight: 600; font-size: .9rem; color: var(--heading); }
.cookie__cat-h small { font-weight: 500; font-size: .76rem; color: var(--gold-deep); margin-left: .45rem; }
.cookie__cat-d { grid-area: 2 / 1; font-size: .8rem; color: var(--text-muted); margin-top: .15rem; }
.cookie__sw { grid-area: 1 / 2 / 3 / 3; position: relative; width: 44px; height: 25px; align-self: center; }
.cookie__sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie__sw > span { position: absolute; inset: 0; border-radius: 999px; background: color-mix(in srgb, var(--text-muted) 38%, transparent); transition: background .2s; }
.cookie__sw > span::before { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.35); transition: transform .2s; }
.cookie__sw input:checked + span { background: var(--gold); }
.cookie__sw input:checked + span::before { transform: translateX(19px); }
.cookie__sw input:disabled { cursor: not-allowed; }
.cookie__sw input:disabled + span { opacity: .55; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.2rem; }
.cookie__actions .btn { flex: 1 1 auto; font-size: .88rem; padding: .62rem 1rem; }
.cookie__save { width: 100%; margin-top: .55rem; }
@media (max-width: 560px) { .cookie__actions .btn { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .cookie__inner { animation: none; } }

/* link „Ustawienia cookies" w stopce */
.footer-legal { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.cookie-reopen { background: none; border: 0; padding: 0; font: inherit; color: var(--text-muted); cursor: pointer; }
.cookie-reopen:hover { color: var(--accent); text-decoration: underline; }
.form-note { margin-top: 1rem; font-size: .82rem; text-align: center; }
.form-note[data-state="success"] { color: #2e7d4f; }
.form-note[data-state="error"]   { color: #c0392b; }
[data-theme="dark"] .form-note[data-state="success"] { color: #6fd29a; }
[data-theme="dark"] .form-note[data-state="error"]   { color: #ef8a7c; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.btn .spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.map-embed { margin-top: 2.2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(.2); }
[data-theme="dark"] .map-embed iframe { filter: grayscale(.6) invert(.9) hue-rotate(180deg) brightness(.9); }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: clamp(3.2rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { color: var(--text-muted); font-size: .93rem; max-width: 320px; }
.footer-col h4 { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 1.2rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { color: var(--text-muted); font-size: .94rem; transition: color var(--micro) var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: .6rem; color: var(--text-muted); font-size: .93rem; margin-bottom: .7rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: .2rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- 19. Animations ---------- */
.reveal { opacity: 0; transform: translateY(26px) scale(.992); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-fade { opacity: 0; transition: opacity .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms); }
.reveal-fade.is-in { opacity: 1; }
html:not(.js) .reveal, html:not(.js) .reveal-fade { opacity: 1 !important; transform: none !important; }

@keyframes glowDrift  { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity: .5; } 50% { transform: translate3d(-3%,4%,0) scale(1.1); opacity: .72; } }
@keyframes glowDrift2 { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity: .34; } 50% { transform: translate3d(5%,-3%,0) scale(1.14); opacity: .52; } }
@keyframes floaty     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes ctaPan     { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-fade { opacity: 1 !important; transform: none !important; transition: none !important; }
  .service-card, .price-card, .article-card, .btn, .brand__mark { transition: none !important; }
  .hero__glow, .hero__glow--2, .about__badge, .cta-band__glow { animation: none !important; }
  .service-card::after, .price-card::after { display: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Cursor spotlight (subtle: hero + process) ---------- */
.spotlight-area { position: relative; overflow: hidden; }
.spotlight {
  position: absolute; top: 0; left: 0; z-index: 0;
  width: 480px; height: 480px; margin: -240px 0 0 -240px; border-radius: 50%;
  background: radial-gradient(circle, var(--spot-color, color-mix(in srgb, var(--gold) 13%, transparent)), transparent 70%);
  pointer-events: none; opacity: 0;
  transform: translate3d(var(--sx, -999px), var(--sy, -999px), 0);
  transition: opacity .5s var(--ease); will-change: transform, opacity;
}
.spotlight-area.spot-on .spotlight { opacity: 1; }
.hero__card { --spot-color: color-mix(in srgb, var(--gold) 26%, transparent); }
.hero__card-inner, .hero__trust { position: relative; z-index: 2; }
.spotlight-area > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .spotlight { display: none; } }

/* ---------- Subpage hero (compact card – echoes homepage) ---------- */
.page-hero { position: relative; padding-block: clamp(1.25rem, 3vw, 2.2rem) clamp(1.75rem, 3.5vw, 2.75rem); }
.page-hero__card {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  display: flex; align-items: center;
  min-height: clamp(220px, 33vh, 370px);
  border-radius: clamp(18px, 2.4vw, 30px);
  background: var(--hero-ink);
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  box-shadow: var(--shadow-lg);
}
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,11,18,.9) 0%, rgba(6,11,18,.58) 48%, rgba(6,11,18,.32) 100%),
    linear-gradient(180deg, rgba(6,11,18,.34), rgba(6,11,18,.62));
}
.page-hero__glow { position: absolute; z-index: -1; width: 40vw; max-width: 460px; aspect-ratio: 1; top: -32%; right: -6%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--gold) 28%, transparent), transparent 62%); filter: blur(20px); opacity: .5; pointer-events: none; }
.page-hero__inner { position: relative; z-index: 1; width: 100%; max-width: 720px; padding: clamp(1.4rem, 3.2vw, 2.3rem); }
.page-hero .breadcrumb { margin-bottom: .8rem; color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.74); transition: color var(--micro) var(--ease); }
.page-hero .breadcrumb a:hover { color: var(--gold); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.1vw, 2.85rem); margin-top: .65rem; letter-spacing: -.02em; }
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.page-hero__lead { margin-top: .8rem; max-width: 540px; font-size: 1.02rem; color: rgba(255,255,255,.82); }
.page-hero__cta { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; font-size: .8rem; }
.breadcrumb span { opacity: .5; }

/* Partner card */
.partner { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: center; padding: clamp(1.6rem, 3vw, 2.4rem); background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--bg))); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.partner__icon { width: 64px; height: 64px; flex: none; display: grid; place-items: center; border-radius: 16px; color: var(--accent); background: color-mix(in srgb, var(--gold) 10%, transparent); border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); }
.partner__icon svg { width: 30px; height: 30px; }
.partner h3 { font-size: 1.3rem; }
.partner__role { color: var(--accent); font-size: .9rem; font-weight: 600; margin: .25rem 0 .6rem; }
.partner p { color: var(--text-muted); font-size: .96rem; }
@media (max-width: 560px) { .partner { grid-template-columns: 1fr; } }

/* Content prose (lists with checks) */
.checklist { display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-muted); }
.checklist svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: .2rem; }

/* ---------- FAQ (native <details>) ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item { background: linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface) 82%, var(--bg))); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color var(--micro) var(--ease); }
.faq-item[open] { border-color: color-mix(in srgb, var(--gold) 34%, var(--line)); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; font-family: var(--font-display); font-size: 1.08rem; color: var(--heading); cursor: pointer; list-style: none; transition: color var(--micro) var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: .25rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform var(--micro) var(--ease); }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item__body { padding: 0 1.4rem 1.25rem; color: var(--text-muted); font-size: .97rem; }

/* Service scope grid reuses .why-grid + .feature; 3-up on desktop */
.scope-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .scope-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scope-grid { grid-template-columns: 1fr; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: var(--z-top); display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(6,11,18,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: modalFade .25s var(--ease); }
.modal__panel { position: relative; z-index: 1; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-lg); animation: modalPop .3s var(--ease-out); }
.modal__close { position: absolute; top: .85rem; right: .85rem; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); color: var(--text-muted); transition: border-color var(--micro) var(--ease), color var(--micro) var(--ease); }
.modal__close:hover { border-color: var(--accent); color: var(--accent); }
.modal__close svg { width: 18px; height: 18px; }
body.modal-open { overflow: hidden; }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(14px) scale(.985); } }

/* ---------- Article prose (blog) ---------- */
.prose { color: var(--text); font-size: 1.05rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2, .prose h3 { font-family: var(--font-display); color: var(--heading); margin-top: 1.9rem; line-height: 1.2; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; }
.prose a { color: var(--accent); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-top: .45rem; }
.prose strong { color: var(--heading); font-weight: 600; }
.prose img { border-radius: var(--radius); margin: 1.4rem 0; max-width: 100%; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .85rem; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-2); font-weight: 600; color: var(--heading); }
.prose figure { margin: 1.6rem 0; }
.prose figcaption { font-size: .85rem; color: var(--text-muted); text-align: center; margin-top: .55rem; }
.article-page { max-width: 760px; }

/* Article hero – przyciemnione zdjęcie z tytułem na wierzchu */
.article-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin: 1.2rem 0 2.2rem; min-height: 320px; display: flex; align-items: flex-end; box-shadow: var(--shadow-lg); }
.article-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-hero__scrim { position: absolute; inset: 0; background: linear-gradient(175deg, rgba(11,17,28,.18), rgba(11,17,28,.55) 50%, rgba(11,17,28,.9)); }
.article-hero__inner { position: relative; width: 100%; padding: clamp(1.4rem, 4vw, 2.4rem); }
.article-hero__inner .eyebrow { color: var(--gold); }
.article-hero__inner h1 { color: #fff; margin-top: .5rem; }
.article-hero__meta { color: rgba(255,255,255,.82); font-size: .9rem; margin-top: .85rem; }
@media (max-width: 640px) { .article-hero { min-height: 240px; } }

@media (prefers-reduced-motion: reduce) { .modal__overlay, .modal__panel { animation: none; } }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1040px) {
  .services-grid, .articles-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 380px; }
  .about__frame { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero__trust { gap: .7rem 1.4rem; }
  .trust-item { font-size: .85rem; }
}
@media (max-width: 560px) {
  .services-grid, .articles-grid, .pricing-grid, .why-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__trust { flex-direction: column; gap: .7rem; }
  .trust-item svg { width: 30px; height: 30px; padding: 6px; }
  .service-card { gap: .75rem; }
  .about__badge { left: 0; padding: .8rem 1rem; }
  .about__badge b { font-size: .95rem; }
}

/* ===== W3: Ken Burns – powolny, kinowy zoom zdjęć hero ===== */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.07) translate3d(0, -1.2%, 0); } }
.hero__img, .page-hero__img { animation: kenburns 34s ease-in-out infinite alternate; }

/* ===== W1: kinetyczne nagłówki – odsłanianie spod maski ===== */
.js .reveal-mask { opacity: 1; clip-path: inset(-2% -3% 103% -3%); transform: translateY(26px); transition: clip-path .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal-mask.is-in { clip-path: inset(-10% -3% -16% -3%); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__img, .page-hero__img { animation: none; }
  .js .reveal-mask { clip-path: none; transform: none; transition: none; }
}
/* ===== W7: pasek postępu czytania + pływające CTA (artykuły) ===== */
.readbar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 160; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.float-cta { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 140; opacity: 0; transform: translateY(14px); pointer-events: none; box-shadow: var(--shadow-lg); transition: opacity .35s var(--ease-out), transform .35s var(--ease-out); }
.float-cta.is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 860px) { .float-cta { display: none; } }

/* ===== W8: mobilny pasek kontaktu ===== */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 145; display: none; grid-template-columns: 1fr 1.45fr; gap: .6rem; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
.mobilebar .btn { justify-content: center; padding: .68rem .9rem; font-size: .92rem; }
@media (max-width: 760px) {
  .mobilebar { display: grid; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .cookie { inset: auto 0 calc(62px + env(safe-area-inset-bottom)) 0; }
}
/* linki w odpowiedziach FAQ (klikalny e-mail/telefon) */
.faq-item__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
