/* Space Finance — arkusz stylów */
:root {
  --bg: #0b0b0c; --bg-2: #111114; --bg-3: #18181c;
  --ink: #f4efe6; --ink-2: #d8d1c4; --muted: #a59f95;
  --gold: #c9a45c; --gold-2: #ead5a3; --gold-3: #9a7a3d; --gold-ink: #c9a45c;
  --line: rgba(201, 164, 92, .24); --line-2: rgba(244, 239, 230, .1);
  --ivory: #f6f1e7; --ivory-2: #ede5d6;
  --grad-gold: linear-gradient(115deg, #a8823f 0%, #e9d39f 38%, #c9a45c 62%, #f2e2b8 100%);
  --ff-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --ff-body: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-scale: 1;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 84px;
  --radius: 4px;
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--fs-scale)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--ff-body); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-2); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; line-height: 1.1; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
::selection { background: var(--gold); color: #0b0b0c; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 1000; background: var(--gold); color: #0b0b0c; padding: 12px 20px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
main:focus { outline: none; }
.container { width: min(1280px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.linklike { background: none; border: 0; padding: 0; color: var(--gold-ink); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-size: inherit; }

/* ---------- typografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 .75rem/1.2 var(--ff-body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .8; }
.h2 { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.01em; }
.h3 { font-family: var(--ff-display); font-weight: 500; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.h-sm { font: 600 .8rem/1.3 var(--ff-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 28px 0 14px; }
.h2 em, .h3 em, .phero__title em, .cta__title em, .mega__title em, .hero__title em { font-style: italic; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.65; color: var(--ink-2); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; letter-spacing: .02em; }
.link-arrow svg { width: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- przyciski ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--radius); border: 1px solid transparent; font: 600 .95rem/1 var(--ff-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(4px); }
.btn--gold { background: var(--grad-gold); background-size: 200% 100%; color: #0b0b0c; box-shadow: 0 10px 30px -12px rgba(201, 164, 92, .55); }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn--gold:hover { color: #0b0b0c; transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(201, 164, 92, .7); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { background: rgba(255, 255, 255, .03); color: var(--ink); border-color: rgba(244, 239, 230, .28); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--text { background: none; color: var(--muted); min-height: 40px; text-decoration: underline; text-underline-offset: .25em; }
.btn--text:hover { color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .88rem; }
.btn--lg { min-height: 58px; padding: 0 34px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, transform .3s var(--ease); }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); transform: rotate(90deg); }
.icon-btn svg { width: 20px; }

/* ---------- nagłówek ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background-color .4s, backdrop-filter .4s, border-color .4s, height .4s var(--ease); border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(11, 11, 12, .82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-2); --header-h: 72px; }
.header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: block; color: var(--gold); flex: none; }
.logo__svg { width: 168px; height: auto; transition: width .4s var(--ease); }
.header.is-scrolled .logo__svg { width: 150px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; background: none; border: 0; color: var(--ink-2); font: 500 .92rem/1 var(--ff-body); letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: color .25s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"], .nav__link[data-active="true"], .nav__link[aria-expanded="true"] { color: var(--gold-2); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link[data-active="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__chev { width: 14px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; letter-spacing: .02em; white-space: nowrap; }
.header__phone svg { width: 17px; color: var(--gold); }
.header__phone:hover { color: var(--gold-2); }
.burger { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.burger svg { width: 22px; }

/* mega menu */
.nav__has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 0; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__in { width: min(1280px, calc(100% - 2 * clamp(16px, 4vw, 40px))); margin: 0 auto; display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 36px; background: rgba(17, 17, 20, .97); backdrop-filter: blur(20px); border: 1px solid var(--line); border-top: 0; box-shadow: var(--shadow); }
.mega__title { font: 500 2rem/1.1 var(--ff-display); margin-bottom: 20px; }
.mega__grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 20px; }
.mega__item { display: flex; gap: 16px; align-items: flex-start; padding: 14px; color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: border-color .25s, background-color .25s; }
.mega__item svg { width: 26px; height: 26px; flex: none; color: var(--gold); margin-top: 2px; }
.mega__item strong { display: block; font-weight: 600; font-size: .98rem; }
.mega__item small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.45; margin-top: 2px; }
.mega__item:hover, .mega__item[aria-current="page"] { border-color: var(--line); background: rgba(201, 164, 92, .05); color: var(--ink); }

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 300; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); padding: 20px clamp(16px, 5vw, 28px) 28px; display: flex; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform .55s var(--ease-out); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.drawer__top .logo__svg { width: 140px; }
.drawer__close { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.drawer__close svg { width: 22px; }
.drawer__list { list-style: none; }
.drawer__list > li { border-bottom: 1px solid var(--line-2); }
.drawer__link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; background: none; border: 0; color: var(--ink); font: 500 1.6rem/1.1 var(--ff-display); text-decoration: none; cursor: pointer; text-align: left; }
.drawer__link svg { width: 20px; color: var(--gold); transition: transform .3s; }
.drawer__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__link[aria-current="page"] { color: var(--gold-2); }
.drawer__sub { list-style: none; display: none; padding: 0 0 16px 4px; }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: block; padding: 9px 0; color: var(--ink-2); text-decoration: none; font-size: 1rem; }
.drawer__sub a[aria-current="page"], .drawer__sub a:hover { color: var(--gold-2); }
.drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; text-align: center; }
.drawer__mail { color: var(--muted); }

/* ---------- animacje wejścia ---------- */
@keyframes up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }
@keyframes shine { to { background-position: 200% center; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
@keyframes ticker { to { transform: translateX(-50%); } }
.anim-up { animation: up 1s var(--ease-out) both; animation-delay: var(--d, 0s); }
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 120px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; animation: kenburns 9s var(--ease-out) both; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .72) 38%, rgba(11, 11, 12, .1) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .08; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__in { position: relative; }
.hero__title { font-family: var(--ff-display); font-weight: 500; font-size: clamp(2.9rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.015em; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: block; animation: lineUp 1.2s var(--ease-out) both; animation-delay: var(--d); }
.shine { background-size: 200% auto !important; animation: shine 6s linear infinite; }
.hero__lead { max-width: 560px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); margin-bottom: 38px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 56px; color: var(--muted); font-size: .9rem; }
.hero__trust li { display: flex; align-items: baseline; gap: 10px; }
.hero__trust li + li { padding-left: 34px; border-left: 1px solid var(--line); }
.hero__trust strong { font: 500 2rem/1 var(--ff-display); color: var(--gold); }
.hero__scroll { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid rgba(244, 239, 230, .4); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollDot 2s var(--ease) infinite; }

/* ticker */
.ticker { border-block: 1px solid var(--line-2); padding: 26px 0; overflow: hidden; background: var(--bg); }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { list-style: none; display: flex; align-items: center; }
.ticker li { display: flex; align-items: center; font: italic 500 1.65rem/1 var(--ff-display); color: var(--ink-2); white-space: nowrap; padding-right: 56px; }
.ticker li::after { content: ""; width: 7px; height: 7px; margin-left: 56px; background: var(--gold); transform: rotate(45deg); opacity: .8; }

/* ---------- sekcje ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--alt { background: var(--bg-2); }
.section--ivory { --ink: #16130e; --ink-2: #3b352b; --muted: #5d564a; --gold-ink: #7d5c20; --line: rgba(125, 92, 32, .25); --line-2: rgba(22, 19, 14, .12); background: var(--ivory); color: var(--ink); color-scheme: light; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

/* intro + statystyki */
.intro { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.stats { display: grid; gap: 0; border-left: 1px solid var(--line); }
.stat { padding: 26px 0 26px 36px; position: relative; }
.stat + .stat { border-top: 1px solid var(--line-2); }
.stat__num { font: 500 clamp(3.4rem, 6vw, 5rem)/1 var(--ff-display); margin: 0 0 8px; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: lining-nums; }
.stat__label { margin: 0; color: var(--muted); font-size: .95rem; max-width: 28ch; }

/* karty usług */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-grid > li:first-child { grid-column: span 2; }
.svc-grid--six { grid-template-columns: repeat(3, 1fr); }
.svc-grid--six > li:first-child { grid-column: auto; }
.svc { position: relative; }
.svc__link { position: relative; display: flex; min-height: 400px; height: 100%; overflow: hidden; color: var(--ink); text-decoration: none; border: 1px solid var(--line-2); isolation: isolate; transition: border-color .5s; }
.svc__media { position: absolute; inset: 0; z-index: -2; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease-out), filter .8s; filter: saturate(.85) brightness(.85); }
.svc__link::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 12, .15) 0%, rgba(11, 11, 12, .55) 45%, rgba(11, 11, 12, .95) 100%); transition: background-color .5s; }
.svc__link::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, .18), transparent 45%); }
.svc__link:hover { border-color: var(--line); }
.svc__link:hover::after { opacity: 1; }
.svc__link:hover .svc__media img { transform: scale(1.12); filter: saturate(1) brightness(.95); }
.svc__body { margin-top: auto; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.svc__icon { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); background: rgba(11, 11, 12, .5); backdrop-filter: blur(6px); margin-bottom: 8px; }
.svc__icon svg { width: 24px; }
.svc__title { font: 500 clamp(1.6rem, 2.2vw, 2rem)/1.1 var(--ff-display); }
.svc__text { color: var(--ink-2); font-size: .95rem; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--gold); font-weight: 600; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; }
.svc__more svg { width: 16px; transition: transform .35s var(--ease); }
.svc__link:hover .svc__more svg { transform: translateX(6px); }

/* kroki */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 40px 30px 10px 0; position: relative; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--gold-ink); transform: rotate(45deg); }
.step + .step { padding-left: 30px; border-left: 1px solid var(--line-2); }
.step + .step::before { left: 30px; }
.step__num { display: block; font: italic 500 3.4rem/1 var(--ff-display); color: var(--gold-ink); margin-bottom: 18px; }
.step__title { font: 500 1.7rem/1.15 var(--ff-display); }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* kalkulator */
.section--calc { background: radial-gradient(1200px 500px at 85% 0%, rgba(201, 164, 92, .1), transparent 60%), var(--bg-2); }
.calc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.calc__intro .btn { margin-top: 12px; }
.calc__box { position: relative; padding: clamp(26px, 4vw, 48px); background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc__box::before { content: ""; position: absolute; inset: -1px; pointer-events: none; background: linear-gradient(135deg, var(--gold) 0%, transparent 25%, transparent 75%, var(--gold) 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px; opacity: .6; }
.calc__field { margin-bottom: 26px; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.calc__row label { font-weight: 500; color: var(--ink-2); font-size: .95rem; }
.calc__row output { font: 600 1.05rem/1 var(--ff-body); color: var(--gold-2); font-variant-numeric: tabular-nums; }
input[type="range"] { --p: 50%; width: 100%; height: 28px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(90deg, var(--gold) var(--p), rgba(244, 239, 230, .16) var(--p)); }
input[type="range"]::-moz-range-track { height: 3px; background: rgba(244, 239, 230, .16); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--gold); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(201, 164, 92, .15); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(201, 164, 92, .15); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--gold-2); outline-offset: 3px; }
input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.calc__result { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; align-items: end; }
.calc__label { grid-column: 1 / -1; margin: 0; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.calc__rate { margin: 0; font: 500 clamp(3rem, 6vw, 4.6rem)/1 var(--ff-display); color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.calc__rate span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__rate small { font: 500 1rem/1 var(--ff-body); color: var(--muted); }
.calc__sum { margin: 0; display: grid; gap: 8px; text-align: right; font-size: .9rem; }
.calc__sum div { display: flex; gap: 12px; justify-content: flex-end; }
.calc__sum dt { color: var(--muted); }
.calc__sum dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.calc__note { margin: 26px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.split--top { align-items: start; grid-template-columns: 1.2fr .8fr; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; z-index: 1; }
.split__media::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--line); }
.split__badge { position: absolute; z-index: 2; left: -24px; bottom: 40px; padding: 22px 26px; background: var(--bg); border: 1px solid var(--line); color: var(--muted); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.split__badge strong { display: block; font: 500 3rem/1 var(--ff-display); color: var(--gold); letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
.split__text p { color: var(--ink-2); }
.ticks { list-style: none; display: grid; gap: 16px; margin-top: 30px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 50%; }
.ticks strong { color: var(--ink); font-weight: 600; }
.note { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 20px 22px; border: 1px solid var(--line); background: rgba(201, 164, 92, .05); }
.note svg { width: 22px; flex: none; color: var(--gold); margin-top: 3px; }

/* panel boczny */
.panel { position: sticky; top: calc(var(--header-h) + 24px); padding: clamp(26px, 3vw, 40px); background: var(--bg-2); border: 1px solid var(--line); }
.panel__title { font: 500 1.8rem/1.1 var(--ff-display); }
.ticks--panel { margin: 22px 0 30px; gap: 14px; }

/* karty korzyści */
.cards { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; padding: 36px 30px; background: var(--bg-3); border: 1px solid var(--line-2); overflow: hidden; transition: border-color .4s, transform .5s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 164, 92, .14), transparent 50%); pointer-events: none; }
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card__icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); margin-bottom: 26px; }
.card__icon svg { width: 26px; }
.card__n { display: block; font: italic 500 3rem/1 var(--ff-display); color: var(--gold); margin-bottom: 18px; }
.card__title { font: 500 1.55rem/1.15 var(--ff-display); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* pigułki */
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 9px 18px; border: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); transition: border-color .3s, color .3s; }
.pills li:hover { border-color: var(--gold); color: var(--gold-2); }

/* feature (wyszukiwarka) */
.feature { display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.feature__media { position: relative; min-height: 420px; overflow: hidden; }
.feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
.feature:hover .feature__media img { transform: scale(1.06); }
.feature__text { padding: clamp(32px, 5vw, 64px); align-self: center; }
.feature__text p { color: var(--ink-2); margin-bottom: 30px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); }
.faq__head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; font: 500 clamp(1.3rem, 1.9vw, 1.6rem)/1.25 var(--ff-display); transition: color .25s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-2); }
.faq__icon { position: relative; width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: 50%; transition: transform .45s var(--ease), background-color .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--gold); transition: transform .45s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: rgba(201, 164, 92, .1); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { padding: 0 60px 28px 0; color: var(--ink-2); animation: fadeUp .5s var(--ease-out); }
.faq__a p { margin: 0; }

/* CTA */
.cta { position: relative; padding: clamp(100px, 14vw, 180px) 0; overflow: hidden; isolation: isolate; text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(11, 11, 12, .6) 0%, rgba(11, 11, 12, .92) 70%); }
.cta__in .eyebrow { justify-content: center; }
.cta__title { font: 500 clamp(2.4rem, 5.4vw, 4.6rem)/1.02 var(--ff-display); max-width: 18ch; margin: 0 auto 22px; }
.cta__text { max-width: 560px; margin: 0 auto 40px; color: var(--ink-2); font-size: 1.12rem; }

/* page hero */
.phero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 80px) 0 clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.phero--sm { min-height: 60vh; }
.phero__bg { position: absolute; inset: 0; z-index: -2; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 9s var(--ease-out) both; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, .6) 55%, rgba(11, 11, 12, .3) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 45%); }
.phero--legal { min-height: 0; padding-bottom: 40px; background: radial-gradient(900px 400px at 80% 0%, rgba(201, 164, 92, .12), transparent 60%), var(--bg); }
.phero--legal::before { display: none; }
.phero--404 { min-height: 100svh; align-items: center; }
.phero__title { font: 500 clamp(2.7rem, 6.4vw, 5.6rem)/1.02 var(--ff-display); letter-spacing: -.01em; max-width: 16ch; }
.phero--404 .phero__title { margin-inline: auto; }
.phero__lead { max-width: 620px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); margin-bottom: 34px; }
.phero--404 .phero__lead { margin-inline: auto; }
.nf__code { font: italic 500 clamp(6rem, 18vw, 12rem)/1 var(--ff-display); margin: 0; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.crumbs { margin-bottom: 30px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: .84rem; color: var(--muted); letter-spacing: .04em; }
.crumbs li + li::before { content: "/"; margin: 0 12px; color: var(--gold-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold); }

/* kontakt */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: border-color .3s, transform .4s var(--ease); }
a.contact-item:hover { border-color: var(--line); transform: translateX(4px); color: var(--ink); }
.contact-item__icon { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); }
.contact-item__icon svg { width: 20px; }
.contact-item small { display: block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-item strong { display: block; font-weight: 600; word-break: break-word; }
.contact-item span span { color: var(--ink-2); font-size: .95rem; }
.contact__form { padding: clamp(26px, 4vw, 52px); border: 1px solid var(--line); background: var(--bg-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; background: var(--bg); border: 1px solid rgba(244, 239, 230, .18); border-radius: var(--radius); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a45c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #7d776d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .2); }
.field [aria-invalid="true"] { border-color: #ff8a7a; }
.field__err { min-height: 1.4em; margin: 6px 0 4px; font-size: .84rem; color: #ff9d8f; visibility: hidden; }
.field__err.is-visible { visibility: visible; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; margin-top: 6px; }
.field--check input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--gold); }
.field--check label { margin: 0; font-size: .9rem; line-height: 1.5; }
.field--check .field__err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .8rem; color: var(--muted); line-height: 1.55; margin: 8px 0 24px; }
.form-status { margin: 18px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-ok { color: #9ee0b0; padding: 16px 18px; border: 1px solid rgba(158, 224, 176, .4); }
.form-status.is-err { color: #ffb2a6; padding: 16px 18px; border: 1px solid rgba(255, 157, 143, .4); }

/* osadzenia */
.embed { position: relative; border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.embed--map { aspect-ratio: 21 / 8; }
.embed--vehis { min-height: 80vh; margin-bottom: 20px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--map iframe { filter: grayscale(.6) invert(.9) hue-rotate(180deg) contrast(.9); }
.embed__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 30px; background: radial-gradient(600px 300px at 50% 0%, rgba(201, 164, 92, .1), transparent 70%); }
.embed__ph > svg { width: 44px; color: var(--gold); margin-bottom: 10px; }
.embed__ph h3 { font: 500 1.8rem/1.1 var(--ff-display); }
.embed__ph p { max-width: 520px; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.embed.is-loaded .embed__ph { display: none; }

/* strony prawne */
.legal { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border: 1px solid var(--line); background: var(--bg-2); }
.legal__toc ol { padding-left: 20px; display: grid; gap: 8px; font-size: .92rem; }
.legal__toc a { color: var(--ink-2); text-decoration: none; }
.legal__toc a:hover { color: var(--gold-2); }
.legal > * { min-width: 0; }
.prose { max-width: 780px; color: var(--ink-2); }
.prose h2 { font: 500 clamp(1.6rem, 2.4vw, 2.1rem)/1.15 var(--ff-display); color: var(--ink); margin: 0 0 18px; }
.legal__sec { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line-2); }
.prose ul { padding-left: 22px; display: grid; gap: 10px; margin-bottom: 1.1em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--ink); }
.legal__date { font-size: .88rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
th { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); background: var(--bg-2); }
code { font-size: .88em; color: var(--gold-2); }

/* stopka */
.footer { background: #070708; border-top: 1px solid var(--line-2); padding: clamp(64px, 8vw, 100px) 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { color: var(--muted); max-width: 36ch; margin: 24px 0; }
.logo--footer .logo__svg { width: 190px; }
.footer__social { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); transition: background-color .3s, color .3s; }
.footer__social:hover { background: var(--gold); color: #0b0b0c; }
.footer__social svg { width: 20px; }
.footer__h { font: 600 .75rem/1.2 var(--ff-body); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer__list { list-style: none; display: grid; gap: 11px; }
.footer__list a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.footer__list a:hover { color: var(--gold-2); }
.footer__contact li, .footer__contact a { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.footer__contact svg { width: 18px; flex: none; color: var(--gold); margin-top: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; padding: 26px 0 34px; border-top: 1px solid var(--line-2); font-size: .85rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__legal a, .footer__legal .linklike { color: var(--muted); text-decoration: none; font-size: .85rem; }
.footer__legal a:hover, .footer__legal .linklike:hover { color: var(--gold-2); }
.footer__by a { color: var(--ink-2); }

/* do góry */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(17, 17, 20, .9); backdrop-filter: blur(8px); color: var(--gold); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s, transform .45s var(--ease), visibility .35s, background-color .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: #0b0b0c; }
.to-top svg { width: 20px; }

/* ---------- cookies ---------- */
.cc { position: fixed; z-index: 500; left: 16px; bottom: 16px; width: min(480px, calc(100% - 32px)); background: rgba(17, 17, 20, .97); backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px; display: none; }
.cc.is-open { display: block; animation: fadeUp .6s var(--ease-out); }
.cc__icon { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold); margin-bottom: 16px; }
.cc__icon svg { width: 22px; }
.cc__title { font: 500 1.6rem/1.1 var(--ff-display); margin-bottom: 10px; }
.cc p { font-size: .9rem; color: var(--ink-2); margin-bottom: 20px; }
.cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc__btns .btn { width: 100%; min-height: 48px; padding: 0 12px; }
.cc__btns .cc__settings { grid-column: 1 / -1; }
.modal { position: fixed; inset: 0; z-index: 600; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(4px); }
.modal.is-open { display: flex; }
.modal__box { width: min(580px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); animation: fadeUp .4s var(--ease-out); }
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal__head h2 { font: 500 1.9rem/1.1 var(--ff-display); margin: 0; }
.modal__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.cc-cat { border: 1px solid var(--line-2); padding: 18px; margin-top: 12px; }
.cc-cat__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cc-cat h3 { font: 600 1rem/1.3 var(--ff-body); margin: 0; }
.cc-cat p { font-size: .87rem; margin: 8px 0 0; color: var(--muted); }
.switch { position: relative; width: 52px; height: 30px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #3a3833; border-radius: 999px; transition: background-color .25s; }
.switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--gold); }
.switch input:checked + span::after { transform: translateX(22px); background: #0b0b0c; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* ---------- panel dostępności ---------- */
.a11y-fab { position: fixed; left: 16px; bottom: 16px; z-index: 95; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #0b0b0c; border: 0; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 30px -10px rgba(201, 164, 92, .6); transition: transform .35s var(--ease); }
.a11y-fab:hover { transform: scale(1.07); }
.a11y-fab svg { width: 30px; height: 30px; }
.cc.is-open ~ .a11y-fab { opacity: 0; visibility: hidden; }
.a11y { position: fixed; z-index: 700; left: 16px; bottom: 82px; width: min(410px, calc(100% - 32px)); max-height: calc(100vh - 110px); overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; display: none; }
.a11y.is-open { display: block; animation: fadeUp .35s var(--ease-out); }
.a11y__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.a11y__head h2 { font: 500 1.6rem/1.1 var(--ff-display); margin: 0; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--line-2); background: var(--bg); font: 600 .88rem/1.25 var(--ff-body); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .2s, background-color .2s; }
.a11y__opt:hover { border-color: var(--gold); }
.a11y__opt svg { width: 22px; height: 22px; color: var(--gold); }
.a11y__opt[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #0b0b0c; }
.a11y__opt[aria-pressed="true"] svg { color: #0b0b0c; }
.a11y__size { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); }
.a11y__size span { font-weight: 600; font-size: .9rem; }
.a11y__size div { display: flex; gap: 6px; }
.a11y__size button { width: 42px; height: 42px; border: 1px solid var(--line); background: var(--bg); font: 700 1rem/1 var(--ff-body); color: var(--ink); cursor: pointer; }
.a11y__size button:hover { border-color: var(--gold); }
.a11y__size output { min-width: 52px; text-align: center; font-size: .9rem; align-self: center; font-variant-numeric: tabular-nums; }
.a11y__reset { width: 100%; margin-top: 12px; }
.a11y__note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }

/* tryby dostępności */
html.a11y-light { --bg: #f6f1e7; --bg-2: #eee6d7; --bg-3: #fffaf1; --ink: #16130e; --ink-2: #3b352b; --muted: #5a5347; --gold-ink: #7a5a1f; --line: rgba(122, 90, 31, .3); --line-2: rgba(22, 19, 14, .14); color-scheme: light; }
html.a11y-light .header.is-scrolled { background: rgba(246, 241, 231, .9); }
html.a11y-light .hero::before, html.a11y-light .phero::before { background: linear-gradient(90deg, rgba(246, 241, 231, .96) 0%, rgba(246, 241, 231, .85) 50%, rgba(246, 241, 231, .5) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
html.a11y-light .cta::before { background: rgba(246, 241, 231, .9); }
html.a11y-light .svc__link { color: #f4efe6; }
html.a11y-light .svc__text { color: #e5ddcf; }
html.a11y-light .footer { background: var(--bg-2); }
html.a11y-light .logo, html.a11y-light .svc__more, html.a11y-light a:not(.btn):not(.svc__link):not(.contact-item) { color: var(--gold-ink); }
html.a11y-light .header__phone, html.a11y-light .nav__link, html.a11y-light .footer__list a, html.a11y-light .crumbs a { color: var(--ink); }
html.a11y-light .h2 em, html.a11y-light .phero__title em, html.a11y-light .hero__title em, html.a11y-light .cta__title em, html.a11y-light .stat__num, html.a11y-light .calc__rate span, html.a11y-light .nf__code { background: none; color: var(--gold-ink); -webkit-text-fill-color: var(--gold-ink); }
html.a11y-contrast { --bg: #000; --bg-2: #000; --bg-3: #000; --ink: #fff; --ink-2: #fff; --muted: #fff; --gold: #ffd75e; --gold-2: #ffe58f; --gold-ink: #ffd75e; --line: #fff; --line-2: #fff; }
html.a11y-contrast .hero::before, html.a11y-contrast .phero::before, html.a11y-contrast .cta::before, html.a11y-contrast .svc__link::before { background: rgba(0, 0, 0, .88); }
html.a11y-contrast .section--ivory { --ink: #fff; --ink-2: #fff; --muted: #fff; --gold-ink: #ffd75e; background: #000; }
html.a11y-contrast .h2 em, html.a11y-contrast .phero__title em, html.a11y-contrast .hero__title em, html.a11y-contrast .cta__title em, html.a11y-contrast .stat__num, html.a11y-contrast .calc__rate span, html.a11y-contrast .nf__code { background: none; color: #ffd75e; -webkit-text-fill-color: #ffd75e; }
html.a11y-contrast a:not(.btn) { text-decoration: underline !important; }
html.a11y-links a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-links a:not(.btn):focus, html.a11y-links a:not(.btn):hover { background: #fff3a8; color: #000 !important; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable .h2, html.a11y-readable .btn, html.a11y-readable input, html.a11y-readable textarea, html.a11y-readable [class*="title"], html.a11y-readable .stat__num, html.a11y-readable .step__num, html.a11y-readable .ticker li { font-family: Verdana, Tahoma, "Segoe UI", sans-serif !important; font-style: normal !important; letter-spacing: .01em !important; }
html.a11y-spacing body { line-height: 1.95 !important; letter-spacing: .06em; word-spacing: .14em; }
html.a11y-spacing p { margin-bottom: 1.8em; }
html.a11y-gray body > *:not(.a11y):not(.a11y-fab) { filter: grayscale(1); }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M8 4l30 22-13 2 8 15-6 3-8-15-11 9z' fill='%23000' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") 6 4, auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.a11y-motion .ticker__track { animation: none !important; flex-wrap: wrap; width: auto; }
html.a11y-motion .ticker ul[aria-hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker__track { animation: none !important; flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden] { display: none; }
}

/* ---------- responsywność ---------- */
@media (max-width: 1180px) {
  .nav, .header__phone { display: none; }
  .burger { display: grid; }
  .header__cta { margin-left: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid--six { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .intro, .calc, .split, .split--top, .faq, .contact, .legal, .feature { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line-2); margin-top: 20px; }
  .faq__head, .panel, .legal__toc { position: static; }
  .split__media { max-width: 560px; }
  .feature__media { min-height: 300px; }
  .embed--map { aspect-ratio: 4 / 3; }
  .stats { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
  .stat { padding: 26px 16px 0 0; }
  .stat + .stat { border-top: 0; border-left: 1px solid var(--line-2); padding-left: 20px; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  body { font-size: 1rem; }
  .header__cta .btn { display: none; }
  .logo__svg { width: 140px; }
  .header.is-scrolled .logo__svg { width: 132px; }
  .hero { padding-bottom: 100px; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 6%, rgba(11, 11, 12, .78) 55%, rgba(11, 11, 12, .55) 100%); }
  .hero__bg img { object-position: 72% center; }
  .hero__trust { gap: 14px 22px; margin-top: 40px; }
  .hero__trust li + li { padding-left: 22px; }
  .hero__trust strong { font-size: 1.6rem; }
  .hero__scroll { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
  .svc-grid, .svc-grid--six, .cards, .steps, .form-grid, .footer__grid { grid-template-columns: 1fr; }
  .svc-grid > li:first-child { grid-column: auto; }
  .svc__link { min-height: 340px; }
  .step, .step + .step { padding: 30px 0 0; border-left: 0; }
  .step + .step::before, .step::before { left: 0; }
  .step + .step { border-top: 1px solid var(--line-2); margin-top: 24px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 22px 0; border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line-2); }
  .split__media::before { inset: 16px -10px -16px 16px; }
  .split__badge { left: 12px; bottom: 16px; padding: 16px 18px; }
  .calc__result { grid-template-columns: 1fr; }
  .calc__sum, .calc__sum div { text-align: left; justify-content: flex-start; }
  .faq__a { padding-right: 0; }
  .cc { padding: 22px 20px; }
  .modal__foot { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .phero { min-height: 70vh; }
  .phero--sm { min-height: 54vh; }
  .ticker li { font-size: 1.35rem; padding-right: 36px; }
  .ticker li::after { margin-left: 36px; }
  .to-top { bottom: 82px; }
}

@media print {
  .header, .footer, .cc, .a11y, .a11y-fab, .to-top, .cta, .ticker, .hero__scroll { display: none !important; }
  body { background: #fff; color: #000; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* cyfry wyrównane w fontach szeryfowych */
.hero__trust strong, .split__badge strong, .step__num, .card__n, .stat__num, .calc__rate, .nf__code { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
@media (max-width: 640px) {
  .hero__trust { flex-direction: column; gap: 10px; }
  .hero__trust li + li { padding-left: 0; border-left: 0; }
  .hero::before { background: linear-gradient(0deg, var(--bg) 4%, rgba(11, 11, 12, .7) 50%, rgba(11, 11, 12, .45) 100%); }
}
