/* Czcionki wgrane na serwer strony (bez Google Fonts) */
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-SemiBold.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/InterDisplay-MediumItalic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

/* =========================================================
   FIZARO — arkusz stylów
   Kolory: zieleń butelkowa, złoto (z logo), ecru
   ========================================================= */

:root {
  --ink: #0b1210;          /* czerń - tło ciemnych sekcji */
  --ink-2: #01312f;        /* morska zieleń - karty i powierzchnie na czarnym tle */
  --paper: #f2efe9;        /* ecru */
  --paper-2: #e9e3d6;
  --green: #0d4a46;        /* jaśniejsza morska zieleń — wyróżnienia */
  --green-2: #15605a;
  --gold: #c4a052;         /* złoto z logo */
  --gold-2: #dcc289;
  --bronze: #8b6a2e;       /* akcent na tle ecru */
  --graphite: #1f2624;     /* grafit — przyciski na tle ecru */
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  --btn-hover: var(--paper);

  --bg: var(--ink);
  --fg: var(--paper);
  --line: rgba(242, 239, 233, .14);
  --muted: rgba(242, 239, 233, .66);
  --em: var(--gold-2);

  --font: "Inter Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Inter Display", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 18px;
}

body.theme-light {
  --bg: var(--paper);
  --fg: var(--ink);
  --line: rgba(11, 18, 16, .14);
  --muted: rgba(11, 18, 16, .64);
  --em: var(--bronze);
  --btn-bg: var(--graphite);
  --btn-fg: var(--paper);
  --btn-hover: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  background: var(--bg);
  color: var(--fg);
  transition: background-color .9s var(--ease), color .9s var(--ease);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--em); transition: color .9s var(--ease); }
::selection { background: var(--gold); color: var(--ink); }
.no-loader .loader { display: none; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--paper); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.u { text-decoration: underline; text-underline-offset: 3px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(5rem, 12vw, 10rem) 0; position: relative; }

/* ---------- Typografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.5rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(196,160,82,.2); }
.eyebrow .num {
  display: inline-grid; place-items: center; height: 26px; padding: 0 .55rem;
  border: 1px solid var(--line); border-radius: 99px; color: var(--fg); letter-spacing: .05em;
}
.h2 {
  font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.035em;
  font-weight: 500; margin: 0; max-width: 16ch;
}
.lead { font-size: clamp(1.2rem, 1rem + .9vw, 1.6rem); line-height: 1.4; letter-spacing: -.01em; margin-top: 0; color: var(--fg); }
p { color: var(--muted); }

/* ---------- Przyciski ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .8rem;
  padding: 1rem 1.5rem; border-radius: 99px; overflow: hidden; isolation: isolate;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 500; font-size: .95rem;
  transition: transform .5s var(--ease), color .4s, background .9s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover); transform: translateY(101%); border-radius: inherit;
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--small { padding: .7rem 1.15rem; font-size: .88rem; }

/* Główny przycisk „Umów darmową analizę” */
/* Główny przycisk — złoty, dobrze widoczny na granacie */
.btn--cta { --btn-hover: var(--paper);
  font-weight: 600; background: var(--gold); color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 12px 30px -14px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn--xl { padding: .6rem .6rem .6rem 2rem; font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); gap: 1.25rem; }
.btn__circle {
  width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--gold-2);
  display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease);
}
.btn--xl:hover .btn__circle { background: var(--green); color: var(--gold-2); transform: rotate(-45deg); }
.btn--xl:hover svg { transform: none; }
.btn--xl::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -2;
  box-shadow: 0 0 0 0 rgba(196,160,82,.45); animation: pulse 3s var(--ease) infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(196,160,82,.45); } 70%,100% { box-shadow: 0 0 0 16px rgba(196,160,82,0); } }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--ink);
  display: grid; place-items: center; align-content: center; gap: 2rem;
  transition: transform 1s var(--ease-io) .1s;
}
.loader__logo { overflow: hidden; }
.loader__logo img { width: min(64vw, 380px); height: auto; transform: translateY(110%); animation: up 1s var(--ease) forwards .1s; }
.loader__bar { width: 160px; height: 1px; background: rgba(255,255,255,.15); justify-self: center; overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; animation: bar 1s var(--ease) forwards .2s; transform: scaleX(0); }
body.loaded .loader { transform: translateY(-100%); }
@keyframes up { to { transform: translateY(0); } }
@keyframes bar { to { transform: scaleX(1); } }

/* ---------- Pasek postępu ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* ---------- Nagłówek ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 1.25rem 0; transition: padding .5s var(--ease), transform .5s var(--ease); }
.header::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header.is-scrolled { padding: .7rem 0; }
.header.is-scrolled::before { opacity: 1; }

.header__inner { position: relative; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: block; position: relative; z-index: 70; }
.logo img { height: 36px; width: auto; }
.logo__dark { display: none; }
body.theme-light .logo__light { display: none; }
body.theme-light .logo__dark { display: block; }
body.menu-open .logo__light { display: block; }
body.menu-open .logo__dark { display: none; }
.nav { display: flex; gap: .25rem; margin-left: auto; padding: .3rem; border: 1px solid var(--line); border-radius: 99px; }
.nav__link { position: relative; padding: .5rem 1rem; border-radius: 99px; font-size: .9rem; color: var(--muted); transition: color .3s, background .3s; }
.nav__link:hover { color: var(--fg); }
.nav__link.is-active { color: var(--bg); background: var(--fg); }
.header__phone { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 500; }
.header__phone svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; margin-left: auto; z-index: 70; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
body.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Menu mobilne ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--ink); color: var(--paper);
  padding: 7rem var(--pad) 2rem; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
body.menu-open .header { color: var(--paper); }
body.menu-open .header::before { opacity: 0; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  font-size: clamp(2.2rem, 10vw, 4rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15;
  padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease);
}
.mobile-menu__nav small { font-size: .8rem; color: var(--gold); letter-spacing: .05em; width: 1.6rem; }
body.menu-open .mobile-menu__nav a { opacity: 1; transform: none; }
body.menu-open .mobile-menu__nav a:nth-child(1) { transition-delay: .25s; } body.menu-open .mobile-menu__nav a:nth-child(2) { transition-delay: .3s; }
body.menu-open .mobile-menu__nav a:nth-child(3) { transition-delay: .35s; } body.menu-open .mobile-menu__nav a:nth-child(4) { transition-delay: .4s; }
body.menu-open .mobile-menu__nav a:nth-child(5) { transition-delay: .45s; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.mobile-menu__phone { color: rgba(255,255,255,.7); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.media__inner { position: absolute; inset: -12% 0; will-change: transform; }
.media__inner img { width: 100%; height: 100%; object-fit: cover; }
.media--a .media__inner, .media--b .media__inner, .media--c .media__inner, .media--d .media__inner { inset: 0; }
.media--a::after, .media--b::after, .media--c::after, .media--d::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: overlay; opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
/* Grafiki abstrakcyjne w kolorach marki (do realizacji) */
.media--a .media__inner {
  background:
    repeating-radial-gradient(circle at 72% 60%, rgba(226,196,127,.10) 0 1px, transparent 1px 34px),
    radial-gradient(45% 60% at 72% 60%, rgba(21,96,90,.85), transparent 70%),
    linear-gradient(180deg, #0d3b38, #01201e);
}
.media--b .media__inner {
  background:
    radial-gradient(50% 42% at 50% 100%, #0d4a46 0 98%, transparent 100%),
    radial-gradient(70% 60% at 30% 20%, #f6e3b8, transparent 70%),
    linear-gradient(180deg, #e6d9bd, #b99449);
}
.media--c .media__inner {
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px),
    radial-gradient(80% 80% at 80% 10%, rgba(226,196,127,.7), transparent 60%),
    linear-gradient(135deg, #15605a, #01312f);
}
.media--d .media__inner {
  background:
    radial-gradient(30% 45% at 50% 50%, rgba(242,239,233,.85), rgba(242,239,233,0) 70%),
    conic-gradient(from 200deg at 50% 50%, #01312f, #0d4a46, #01312f, #c4a052, #01312f);
}

/* ---------- Animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; } [data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; } [data-delay="4"] { transition-delay: .4s; } [data-delay="5"] { transition-delay: .5s; }

.clip-reveal { clip-path: inset(12% 8% 12% 8% round var(--radius)); transition: clip-path 1.6s var(--ease-io); }
.clip-reveal .media__inner { scale: 1.25; transition: scale 2s var(--ease-io); }
.clip-reveal.in-view { clip-path: inset(0 0 0 0 round var(--radius)); }
.clip-reveal.in-view .media__inner { scale: 1; }

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
[data-split].in-view .w > span { transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; color: var(--paper); }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg-inner { position: absolute; inset: -10% 0; }
.hero__bg-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; scale: 1.15; transition: scale 2.6s var(--ease); }
body.loaded .hero__bg-inner img { scale: 1; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,18,16,.94) 0%, rgba(11,18,16,.78) 38%, rgba(11,18,16,.25) 72%, rgba(11,18,16,.1) 100%),
    linear-gradient(180deg, rgba(11,18,16,.55) 0%, transparent 25%, transparent 60%, rgba(11,18,16,1) 100%);
}
.hero__content { position: relative; padding-top: clamp(6.5rem, 15vh, 10rem); }
.hero__title {
  font-size: clamp(2.6rem, min(7.4vw, 10vh), 8rem); line-height: .94; letter-spacing: -.045em; font-weight: 500;
  margin: 0 0 clamp(1rem, 2.6vh, 2.25rem); max-width: 11ch;
}
.hero__title em { color: var(--gold-2); }
.hero__lead { max-width: 44ch; margin: 0 0 clamp(1.25rem, 3.6vh, 2.5rem); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: rgba(242,239,233,.85); }
.hero__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hero__strip {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin-top: clamp(1.75rem, 6vh, 5rem); padding-top: clamp(1rem, 2.2vh, 1.5rem); padding-bottom: clamp(1.25rem, 3.2vh, 2.5rem);
}
.hero__strip::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: rgba(242,239,233,.18); }
.hero__fact strong { display: block; font-size: 1.15rem; font-weight: 600; color: var(--gold-2); }
.hero__fact span { font-size: .92rem; color: rgba(242,239,233,.7); }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(2.5rem, 5vw, 4rem) 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee__track { display: flex; align-items: center; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-size: clamp(2.2rem, 5.4vw, 5rem); font-weight: 500; letter-spacing: -.04em; white-space: nowrap; }
.marquee__track span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); }
.marquee__track i { font-style: normal; color: var(--gold); font-size: 1.3rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nagłówki sekcji ---------- */
.section-head { margin-bottom: clamp(3rem, 7vw, 6rem); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head__aside { max-width: 40ch; margin: 0; }

/* ---------- O nas ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.about__media { position: relative; padding-bottom: 14%; }
.about__img { aspect-ratio: 4 / 5; }
.about__badge {
  position: absolute; width: 40%; aspect-ratio: 1; right: -5%; bottom: 0; border-radius: 50%;
  clip-path: circle(0% at 50% 50%); transition: clip-path 1.6s var(--ease-io) .3s;
  filter: drop-shadow(0 20px 40px rgba(11,18,16,.35));
}
.about__badge.in-view { clip-path: circle(50% at 50% 50%); }
.about__badge { background: radial-gradient(circle at 30% 25%, #15605a, #01312f 70%); display: grid; place-items: center; border: 1px solid rgba(220,194,137,.35); }
.about__badge img { width: 52%; height: auto; }
.about__text { padding-top: 1rem; }
.values { list-style: none; padding: 0; margin: 3rem 0 0; border-top: 1px solid var(--line); }
.values li { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.values li > span { font-size: .8rem; color: var(--bronze); padding-top: .35rem; font-weight: 600; }
.values h3 { margin: 0 0 .25rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.values p { margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: clamp(4rem, 9vw, 8rem); }
.stat { padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--paper-2); transition: background .9s var(--ease); }
body.theme-dark .stat { background: var(--ink-2); }
.stat { position: relative; overflow: hidden; }
.stat strong { display: block; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; }
.stat strong small { font-size: .42em; letter-spacing: -.01em; color: var(--bronze); margin-left: .15em; }
.stat__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--bronze), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-io) .3s; }
.stat.in-view .stat__bar { transform: scaleX(1); }
.stat.is-counting strong span { color: var(--bronze); }
body.theme-dark .stat strong { color: var(--paper); }
.stat p { margin: 1rem 0 0; font-size: .95rem; }
.note { font-size: .82rem; margin-top: 1.5rem; }

/* ---------- Oferta ---------- */
.service-list { border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: 80px 1.1fr 1fr 64px; align-items: center; gap: 2rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem) 0; border-bottom: 1px solid var(--line); isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background: var(--green); transform: scaleY(0); transform-origin: bottom; transition: transform .7s var(--ease);
}
.service:hover::before { transform: scaleY(1); }
.service__num { font-size: .85rem; color: var(--gold); transition: color .4s; }
.service__title { margin: 0; font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; transition: transform .7s var(--ease); }
.service__desc { margin: 0; max-width: 44ch; transition: color .4s; }
.service__icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .5s, color .5s, transform .7s var(--ease), border-color .5s; }
.service__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.service:hover { color: var(--paper); }
.service:hover .service__desc { color: rgba(242,239,233,.85); }
.service:hover .service__num { color: var(--gold-2); }
.service:hover .service__title { transform: translateX(14px); }
.service:hover .service__icon { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(45deg); }

/* ---------- Proces ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.timeline__line { position: absolute; top: 28px; left: 28px; right: 12%; height: 1px; background: var(--line); }
.timeline__line i { display: block; height: 100%; background: linear-gradient(90deg, var(--graphite), var(--bronze)); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease-io) .3s; }
.timeline.in-view .timeline__line i { transform: scaleX(1); }
.tl-step { position: relative; }
.tl-step__dot {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--bronze);
  margin-bottom: 1.75rem; transition: background .6s, color .6s, border-color .6s;
}
.tl-step.in-view .tl-step__dot { background: var(--graphite); color: var(--gold-2); border-color: var(--graphite); }
.tl-step:nth-child(3) .tl-step__dot { transition-delay: .6s; } .tl-step:nth-child(4) .tl-step__dot { transition-delay: 1.1s; } .tl-step:nth-child(5) .tl-step__dot { transition-delay: 1.6s; }
.tl-step h3 { margin: 0 0 .6rem; font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.tl-step p { margin: 0; }
.process__cta {
  margin-top: clamp(3.5rem, 7vw, 5.5rem); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  border-radius: calc(var(--radius) + 6px); background: var(--paper-2);
}
.process__cta p { margin: 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); color: var(--fg); }

/* ---------- Realizacje ---------- */
.filters { display: flex; gap: .4rem; padding: .3rem; border: 1px solid var(--line); border-radius: 99px; }
.filter { padding: .55rem 1.1rem; border-radius: 99px; font-size: .9rem; color: var(--muted); transition: background .4s, color .4s; }
.filter.is-active { background: var(--fg); color: var(--bg); }
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.work { display: block; transition: opacity .6s var(--ease), transform 1.2s var(--ease), filter .6s; }
.work--wide { grid-column: span 2; }
.work__media { aspect-ratio: 4 / 3.4; }
.work--wide .work__media { aspect-ratio: 16 / 7; }
.work__media .media__inner { inset: 0; transition: transform 1.4s var(--ease); }
.work__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,18,16,.35), transparent 35%); pointer-events: none; }
.work:hover .work__media .media__inner { transform: scale(1.06); }
.work__tag {
  position: absolute; left: 1rem; top: 1rem; z-index: 2; font-size: .75rem; letter-spacing: .06em;
  padding: .45rem .8rem; border-radius: 99px; color: var(--paper);
  background: rgba(11,18,16,.5); border: 1px solid rgba(220,194,137,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.work__info { padding: 1.25rem .25rem 0; }
.work__info h3 { margin: 0 0 .5rem; font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; max-width: 32ch; }
.work__info p { margin: 0; max-width: 60ch; }
.work.is-dim { opacity: .18; filter: grayscale(1); }

/* ---------- CTA ---------- */
.cta { padding: clamp(5rem, 12vw, 10rem) 0 clamp(3rem, 6vw, 5rem); text-align: center; position: relative; }
.cta .container { display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(2.8rem, 8.5vw, 8.5rem); line-height: .92; letter-spacing: -.05em; font-weight: 500; margin: 0; max-width: 14ch; }
.cta__circle {
  margin-top: clamp(2rem, 4vw, 3rem); width: clamp(150px, 15vw, 200px); aspect-ratio: 1; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-weight: 600; line-height: 1.2; position: relative; z-index: 2; border: 1px solid rgba(220,194,137,.45);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.7);
  transition: transform .7s var(--ease), background .4s, color .4s, opacity 1s var(--ease);
}
.cta__circle:hover { transform: scale(1.08) rotate(-6deg); background: var(--paper); color: var(--ink); }

/* ---------- Kontakt ---------- */
.contact { padding-top: clamp(3rem, 6vw, 5rem); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); }
.contact__info .h2 { margin-bottom: 1.5rem; }
.contact__phone { display: inline-block; margin-top: 1.5rem; font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; transition: color .4s; }
.contact__phone small { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.contact__phone:hover { color: var(--gold-2); }
.contact__list { margin: 2.5rem 0 0; display: grid; gap: 1.5rem; }
.contact__list dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.contact__list dd { margin: 0; font-size: 1.05rem; }

.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 4vw, 3rem); scroll-margin-top: 6rem; }
.form__title { margin: 0 0 .5rem; color: var(--gold-2); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hidden-field { position: absolute; left: -9999px; }
.field { position: relative; display: block; margin-bottom: 1.25rem; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--fg); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: 1.6rem 0 .7rem; outline: none; border-radius: 0; resize: vertical; transition: border-color .4s; -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; padding-right: 1.5rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23e2c47f' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { color: #111; }
.field > span { position: absolute; left: 0; top: 1.6rem; color: var(--muted); pointer-events: none; transition: font-size .4s, top .4s var(--ease), color .4s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field--select > span { top: .2rem; font-size: .75rem; letter-spacing: .06em; }
.field input:focus + span, .field textarea:focus + span { color: var(--gold-2); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff7a7a; }
.check { display: flex; gap: .9rem; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: .5rem 0 2rem; cursor: pointer; line-height: 1.5; position: relative; }
.check input { position: absolute; opacity: 0; }
.check__box { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line); margin-top: 1px; position: relative; transition: background .3s, border-color .3s; }
.check input:checked + .check__box { background: var(--gold); border-color: var(--gold); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check input:checked + .check__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #ff7a7a; }
.form__foot { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form__status { margin: 0; font-size: .9rem; }
.form__status.ok { color: #8fe0b3; } .form__status.err { color: #ff9a9a; }

/* ---------- Partnerzy ---------- */
.partners__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.partner {
  display: grid; place-items: center; text-align: center; min-height: 140px; padding: 1.5rem;
  border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.35);
  transition: background .5s, transform .6s var(--ease), box-shadow .6s, opacity 1s var(--ease);
}
.partner:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(11,18,16,.35); }
.partner__name { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -.02em; opacity: .78; transition: opacity .4s; }
.partner:hover .partner__name { opacity: 1; }
.partner img { max-height: 46px; width: auto; max-width: 78%; filter: brightness(0); opacity: .72; transition: opacity .4s; }
.partner img[src*="pekao"] { max-height: none; width: 86%; max-width: 86%; }
.partner img[src*="nest"] { max-height: 52px; }
.partner:hover img { opacity: 1; }
.partner__name { color: #000; opacity: .72; white-space: nowrap; font-size: clamp(1rem, 1.3vw, 1.3rem); }

/* ---------- Stopka ---------- */
.footer {
  --fg: var(--paper); --line: rgba(242,239,233,.14); --muted: rgba(242,239,233,.66); --em: var(--gold-2);
  padding: clamp(4rem, 8vw, 6rem) 0 2rem; overflow: hidden; background: var(--ink); color: var(--paper);
}
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer__logo { height: 46px; width: auto; margin-bottom: 1.5rem; }
.footer__claim { font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--fg); letter-spacing: -.02em; line-height: 1.2; max-width: 20ch; margin: 0 0 1.5rem; }
.footer__phone { display: block; font-size: 1.6rem; font-weight: 500; color: var(--gold-2); }
.footer__mail { display: inline-block; margin-top: .3rem; color: var(--muted); transition: color .3s; }
.footer__mail:hover { color: var(--fg); }
.footer__head { margin: 0 0 1rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.footer__links { display: flex; flex-direction: column; gap: .55rem; }
.footer__links a { color: var(--muted); transition: color .3s, transform .4s var(--ease); width: fit-content; }
.footer__links a:hover { color: var(--fg); transform: translateX(4px); }
.footer__legal { font-size: .8rem; max-width: 80ch; margin: clamp(3rem, 6vw, 4rem) 0 0; }
.todo { color: var(--gold-2); }
.footer__word {
  font-size: clamp(5rem, 24vw, 24rem); font-weight: 600; letter-spacing: -.06em; line-height: .8;
  margin: clamp(2.5rem, 5vw, 4rem) 0 2rem; text-align: center; user-select: none;
  background: linear-gradient(180deg, var(--paper) 30%, rgba(242,239,233,0) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .92;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer__bottom a:hover { color: var(--fg); }

/* ---------- Pływający przycisk ---------- */
.float-cta {
  position: fixed; left: 1rem; right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; justify-content: center; gap: .7rem;
  padding: 1rem 1.25rem; border-radius: 99px; background: var(--gold); color: var(--ink); font-weight: 600;
  border: 1px solid rgba(220,194,137,.5); box-shadow: 0 14px 40px -10px rgba(11,18,16,.6);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.float-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.float-cta.is-visible { transform: none; }


/* ---------- Menu rozwijane (Oferta) ---------- */
.nav__drop { position: relative; }
.nav__drop > .nav__link { display: inline-flex; align-items: center; gap: .35rem; }
.nav__drop > .nav__link svg { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .4s var(--ease); }
.nav__menu {
  position: absolute; top: calc(100% + .6rem); left: 50%; min-width: 250px; padding: .5rem;
  background: var(--ink-2); border: 1px solid rgba(242,239,233,.12); border-radius: 16px;
  display: flex; flex-direction: column; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.8rem; height: .8rem; }
.nav__menu a { padding: .65rem .9rem; border-radius: 10px; font-size: .9rem; color: rgba(242,239,233,.75); transition: background .3s, color .3s; }
.nav__menu a:first-child { color: var(--gold-2); font-weight: 500; }
.nav__menu a:hover { background: rgba(242,239,233,.07); color: var(--paper); }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__drop:hover > .nav__link svg { transform: rotate(180deg); }
.mobile-menu { overflow-y: auto; }
.mobile-menu__sub { display: flex; flex-wrap: wrap; gap: .4rem; padding: .9rem 0 .9rem 2.6rem; border-bottom: 1px solid rgba(255,255,255,.1);
  opacity: 0; transition: opacity .6s .45s; }
body.menu-open .mobile-menu__sub { opacity: 1; }
.mobile-menu__sub a { font-size: .85rem; padding: .4rem .75rem; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; color: rgba(242,239,233,.8); }
.mobile-menu__sub a:first-child { border-color: var(--gold); color: var(--gold-2); }

/* ---------- Wyróżniona usługa: kredyt firmowy ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
  border: 1px solid rgba(220,194,137,.28); border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: linear-gradient(135deg, rgba(21,96,90,.35), rgba(23,65,63,.85));
}
.feature__media { border-radius: 0; min-height: 420px; }
.feature__media .media__inner { inset: 0; transition: transform 1.6s var(--ease); }
.feature:hover .feature__media .media__inner { transform: scale(1.04); }
.feature__tag { position: absolute; left: 1.25rem; top: 1.25rem; z-index: 2; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .5rem .9rem; border-radius: 99px; background: var(--gold); color: var(--ink); font-weight: 600; }
.feature__body { padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.feature__title { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; margin: .75rem 0 1.25rem; }
.feature__lead { margin: 0 0 1.5rem; font-size: 1.08rem; color: rgba(242,239,233,.8); max-width: 50ch; }
.feature__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.feature__list li { position: relative; padding-left: 1.6rem; font-weight: 500; }
.feature__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--gold); }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.services__sub { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 1.25rem; }

/* ---------- Podstrony: nagłówek ---------- */
.page-hero { position: relative; padding: clamp(8rem, 16vh, 11rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 85% 10%, rgba(21,96,90,.55), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(196,160,82,.10), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.page-hero__title { font-size: clamp(2.6rem, 6.2vw, 6rem); line-height: .96; letter-spacing: -.045em; font-weight: 500; margin: 0 0 1.5rem; max-width: 14ch; }
.page-hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: rgba(242,239,233,.8); max-width: 50ch; margin: 0 0 2.25rem; }
.page-hero__img { aspect-ratio: 1; }
.page-hero__img--art { display: grid; place-items: center; }
.page-hero__emblem { position: relative; z-index: 2; width: 44%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); } }
.page-hero--simple .page-hero__title { max-width: 16ch; }
.page-hero--full { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: rgba(242,239,233,.55); margin-bottom: 1.75rem; }
.crumbs a { color: rgba(242,239,233,.8); transition: color .3s; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: var(--gold-2); }

.h2--md { font-size: clamp(2.1rem, 4.4vw, 4rem); max-width: 18ch; margin-bottom: 1.75rem; }

/* ---------- Podstrony: treść ---------- */
.intro__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.intro__text p { font-size: 1.08rem; }
.intro__aside { display: grid; gap: 1.25rem; position: sticky; top: 7rem; }
.aside-card { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius); background: var(--paper-2); }
.aside-card h3 { margin: 0 0 1rem; font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.8rem; color: var(--fg); line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--graphite); }
.ticks li::after { content: ""; position: absolute; left: 6.5px; top: calc(.2em + 4px); width: 4px; height: 8px; border: solid var(--gold-2); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.docs { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.docs h3 { margin: 0 0 .75rem; font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; }

.types__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.type-card { padding: 2rem 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--ink-2); transition: border-color .5s, transform .6s var(--ease), opacity 1s var(--ease); }
.type-card:hover { border-color: rgba(220,194,137,.5); transform: translateY(-4px); }
.type-card span { font-size: .8rem; color: var(--gold); font-weight: 600; }
.type-card h3 { margin: 1.25rem 0 .6rem; font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.type-card p { margin: 0; }

.faq__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.5rem 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 500; letter-spacing: -.015em; }
.faq__item p { margin: 0 0 1.5rem; max-width: 62ch; animation: faq .6s var(--ease); }
@keyframes faq { from { opacity: 0; transform: translateY(-6px); } }
.faq__plus { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); transition: background .4s, border-color .4s; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }

.others__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.other { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  border: 1px solid var(--line); font-size: 1.15rem; font-weight: 500; letter-spacing: -.01em; transition: background .4s, color .4s, border-color .4s, transform .6s var(--ease), opacity 1s var(--ease); }
.other svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; transition: transform .5s var(--ease); }
.other:hover { background: var(--graphite); color: var(--paper); border-color: var(--graphite); }
.other:hover svg { transform: rotate(45deg); color: var(--gold-2); }
.others__grid--dark { margin-top: 3.5rem; }
.others__grid--dark .other { border-color: rgba(242,239,233,.14); }
.others__grid--dark .other:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- Polityka prywatności ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; margin: 2.75rem 0 1rem; color: var(--fg); }
.prose p, .prose li { color: rgba(11,18,16,.78); }
.prose ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.prose a { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.prose .todo { color: var(--bronze); background: rgba(196,160,82,.18); padding: 0 .3em; border-radius: 4px; }
.prose__meta { font-size: .9rem; }

.work__link { display: block; }


/* =========================================================
   Karty z liczbami (KPI) - licznik bębnowy
   ========================================================= */
.kpis { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: clamp(4rem, 9vw, 8rem); }
.kpi {
  container-type: inline-size;
  position: relative; overflow: hidden; isolation: isolate; border-radius: 22px; aspect-ratio: 1 / 1.08;
  padding: clamp(1.25rem, 2.2vw, 2rem); display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .8s var(--ease), box-shadow .8s var(--ease), opacity 1s var(--ease);
  transform-style: preserve-3d;
}
.kpi.reveal { transform: translateY(60px) scale(.94); }
.kpi.reveal.in-view { transform: none; }
.kpi:hover { box-shadow: 0 30px 60px -30px rgba(11,18,16,.55); }
.kpi--gold { background: var(--gold-2); color: var(--ink); }
.kpi--white { background: #fff; color: var(--ink); }
.kpi--photo { color: var(--paper); background: var(--ink); }
.kpi__bg { position: absolute; inset: 0; z-index: -1; }
.kpi__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.6s var(--ease); }
.kpi--photo.in-view .kpi__bg img { transform: scale(1); }
.kpi--photo:hover .kpi__bg img { transform: scale(1.06); }
.kpi__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,16,.35), rgba(11,18,16,.75)); }
.kpi__icon { width: clamp(38px, 3.6vw, 52px); height: auto; display: block; transition: transform 1s var(--ease); }
.kpi__icon svg { width: 100%; height: auto; fill: currentColor; }
.kpi--white .kpi__icon, .kpi--gold .kpi__icon { color: var(--ink); }
.kpi--photo .kpi__icon { color: var(--paper); }
.kpi:hover .kpi__icon { transform: rotate(90deg) scale(1.08); }
.kpi__num { margin: 0; font-size: clamp(2rem, 21cqi, 4.4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; color: inherit; display: flex; align-items: baseline; }
.kpi__num small { font-size: .38em; font-weight: 600; letter-spacing: -.01em; margin-left: .25em; }
.kpi__label { margin: .6rem 0 0; font-size: clamp(.95rem, 1.1vw, 1.1rem); font-weight: 500; color: inherit; opacity: .85; }
.odo { display: inline-flex; height: 1.1em; line-height: 1.1; white-space: nowrap; }
.odo__d { display: inline-block; height: 1.1em; clip-path: inset(0 -.2em); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); }
.odo__s { display: flex; flex-direction: column; transform: translateY(0); transition: transform 2.2s cubic-bezier(.16, 1, .3, 1); }
.odo__s span { height: 1.1em; display: block; text-align: center; }


/* ozdobne kółka (jak w szablonie) */
.orb { position: absolute; pointer-events: none; z-index: 2; }
.orb--ring { width: 64px; height: 64px; border: 1.5px solid rgba(139,106,46,.55); border-radius: 50%; left: 30%; top: -32px; animation: drift 9s ease-in-out infinite; }
.orb--dot { width: 12px; height: 12px; background: var(--bronze); border-radius: 50%; left: 14%; top: -22px; animation: drift 7s ease-in-out infinite reverse; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 33% { transform: translate(18px,-10px); } 66% { transform: translate(-12px,8px); } }

/* =========================================================
   Sekcja „Przedsiębiorcy nam ufają” - rozkładane zdjęcia
   ========================================================= */
.trust { position: relative; height: 280vh; }
.trust__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; align-content: center; text-align: center; }
.trust__title { position: relative; z-index: 3; margin: 0; display: flex; flex-direction: column; align-items: center; line-height: .88; letter-spacing: -.04em; text-transform: uppercase; color: var(--gold-2); pointer-events: none; }
.trust__l1 { font-weight: 400; font-size: clamp(2.8rem, 9vw, 9.5rem); }
.trust__l2 { font-weight: 700; font-size: clamp(3rem, 10.5vw, 11rem); }
.trust__sub { position: relative; z-index: 3; margin: 1.75rem 0 0; color: rgba(242,239,233,.75); font-size: clamp(.95rem, 1.2vw, 1.15rem); letter-spacing: .02em; }
.trust__cards { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tcard {
  --w: clamp(120px, 15vw, 240px);
  position: absolute; left: calc(50% - var(--w) / 2); top: calc(50% - var(--w) * .62); width: var(--w); aspect-ratio: 4 / 5; margin: 0;
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); border: 4px solid rgba(242,239,233,.9);
  will-change: transform; transform: translate3d(0, 70vh, 0) rotate(calc((var(--i) - 2.5) * 5deg));
}
.tcard img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   CTA z tłem
   ========================================================= */
.cta { overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg-inner { position: absolute; inset: -12% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(11,18,16,.82) 30%, rgba(11,18,16,.82) 70%, var(--ink) 100%); }
.cta { isolation: isolate; }

/* =========================================================
   Przewijane logotypy banków
   ========================================================= */
.logos { overflow: hidden; padding: .5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; width: max-content; animation: logos 38s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__set { display: flex; gap: 1.25rem; padding-right: 1.25rem; }
@keyframes logos { to { transform: translateX(-50%); } }
.logos .partner { width: clamp(180px, 18vw, 250px); min-height: 120px; flex: none; }
.logos .partner img { max-height: 44px; max-width: 72%; }
.logos .partner img[src*="pekao"] { width: 82%; max-width: 82%; max-height: none; }
.logos .partner img[src*="nest"] { max-height: 54px; }
.logos .partner img[src*="millennium"] { max-height: 40px; max-width: 76%; }

/* =========================================================
   Kafelki „Rodzaje kredytów” - pełne podświetlenie
   ========================================================= */
.type-card {
  position: relative; overflow: hidden; isolation: isolate; min-height: 320px; padding: 1.75rem; border-radius: 22px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; cursor: default;
  background: var(--ink-2); border: 1px solid rgba(242,239,233,.08);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), color .5s, border-color .5s, opacity 1s var(--ease);
}
.type-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--gold-2), var(--gold));
  clip-path: circle(0% at 12% 12%); transition: clip-path .9s var(--ease-io);
}
.type-card:hover, .type-card:focus-visible { transform: translateY(-10px); color: var(--ink); border-color: transparent; box-shadow: 0 34px 60px -28px rgba(0,0,0,.6); }
.type-card:hover::before, .type-card:focus-visible::before { clip-path: circle(150% at 12% 12%); }
.type-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.type-card__icon svg { width: 40px; height: 40px; fill: none; stroke: var(--gold-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s, transform .8s var(--ease); }
.type-card:hover .type-card__icon svg, .type-card:focus-visible .type-card__icon svg { stroke: var(--ink); transform: rotate(-12deg) scale(1.12); }
.type-card__num { font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; color: var(--gold-2); line-height: 1; transition: color .5s, transform .8s var(--ease); }
.type-card:hover .type-card__num, .type-card:focus-visible .type-card__num { color: var(--ink); transform: translateY(-4px); }
.type-card h3 { margin: 0 0 .6rem; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; }
.type-card p { margin: 0; color: rgba(242,239,233,.78); transition: color .5s; }
.type-card:hover p, .type-card:focus-visible p { color: rgba(11,18,16,.85); }
.types__grid .type-card:nth-child(even) { margin-top: 2.5rem; }

/* =========================================================
   Maskotka Fizek - prawy dolny róg
   ========================================================= */
.mascot { position: fixed; right: clamp(.75rem, 2vw, 1.75rem); bottom: clamp(.75rem, 2vw, 1.75rem); z-index: 48;
  opacity: 0; transform: translateY(30px) scale(.8); transition: opacity .8s var(--ease), transform .8s var(--ease); }
body.loaded .mascot { opacity: 1; transform: none; transition-delay: .3s; }
.mascot__btn { position: relative; width: 124px; height: 124px; border-radius: 50%; background: var(--paper); box-shadow: 0 20px 45px -15px rgba(0,0,0,.5); display: grid; place-items: center; transition: transform .6s var(--ease), box-shadow .6s; }
.mascot__btn:hover { box-shadow: 0 26px 55px -15px rgba(0,0,0,.6); }
.mascot__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.mascot__ring text { font-size: 10.4px; font-weight: 600; letter-spacing: .14em; fill: var(--ink); }
.mascot__owl { width: 76px; height: 76px; display: block; }
.owl { width: 100%; height: 100%; overflow: visible; }
.owl__body { transform-origin: 60px 110px; animation: owl-bob 3.2s ease-in-out infinite; }
.owl__lids rect { transform-box: fill-box; transform-origin: center top; transform: scaleY(0); animation: blink 5s infinite; }
.owl__pupils { transition: transform .2s ease-out; }
.owl__wing--r { transform-box: fill-box; transform-origin: top left; }
.mascot__btn:hover .owl__wing--r, .mascot.is-waving .owl__wing--r { animation: wave .9s ease-in-out 2; }
@keyframes owl-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-2deg); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(0); } 95% { transform: scaleY(1); } }
@keyframes wave { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-35deg); } }
.mascot__bubble {
  position: absolute; right: .5rem; bottom: calc(100% + .75rem); width: max-content; max-width: 220px; margin: 0; padding: .8rem 1rem; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink);
  font-size: .9rem; line-height: 1.35; box-shadow: 0 16px 40px -18px rgba(0,0,0,.45);
  opacity: 0; transform: translateY(10px) scale(.95); transform-origin: bottom right; transition: opacity .5s, transform .6s var(--ease); pointer-events: none;
}
.mascot.show-bubble .mascot__bubble { opacity: 1; transform: none; }
.mascot__panel {
  position: absolute; right: 0; bottom: calc(100% + .9rem); width: min(320px, calc(100vw - 1.5rem)); padding: 1.5rem 1.4rem 1.25rem; border-radius: 22px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.6); display: flex; flex-direction: column; gap: .7rem;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.96); transform-origin: bottom right; transition: opacity .4s, transform .6s var(--ease), visibility .4s;
}
.mascot.is-open .mascot__panel { opacity: 1; visibility: visible; transform: none; }
.mascot.is-open .mascot__bubble { display: none; }
.mascot__hi { margin: 0 1.5rem .3rem 0; color: rgba(11,18,16,.8); font-size: .95rem; }
.mascot__hi strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: .2rem; }
.mascot__go { justify-content: space-between; }
.mascot__link { padding: .7rem 1rem; border-radius: 12px; border: 1px solid rgba(11,18,16,.15); font-weight: 500; transition: background .3s, border-color .3s; }
.mascot__link:hover { background: #fff; border-color: var(--gold); }
.mascot__close { position: absolute; right: .8rem; top: .7rem; width: 32px; height: 32px; border-radius: 50%; font-size: 1.3rem; line-height: 1; color: var(--ink); transition: background .3s; }
.mascot__close:hover { background: rgba(11,18,16,.08); }

/* słowa podświetlane podczas przewijania */
[data-scrub] .sw { opacity: .18; transition: opacity .3s linear; }
[data-scrub] .sw.on { opacity: 1; }

/* delikatne „unoszenie” zdjęć i kart */
.tilt { transition: transform .5s var(--ease); transform-style: preserve-3d; will-change: transform; }


/* =========================================================
   Proces - przyklejona karta + nakładające się etapy (jak Ventrix)
   ========================================================= */
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
.pcard {
  position: sticky; top: 6.5rem; min-height: min(78vh, 760px); border-radius: 24px; overflow: hidden; isolation: isolate;
  padding: clamp(1.75rem, 4vw, 3.5rem); display: flex; flex-direction: column; color: var(--paper);
}
.pcard__bg { position: absolute; inset: 0; z-index: -1; }
.pcard__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.08); transition: transform 2s var(--ease); }
.pcard.in-view .pcard__bg img { transform: scale(1); }
.pcard__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,16,.55) 0%, rgba(11,18,16,.25) 40%, rgba(1,49,47,.95) 100%); }
.pcard__tag { align-self: flex-start; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--gold-2); padding: .3rem .75rem; margin-bottom: 1.5rem; }
.pcard__title { margin: 0; font-size: clamp(1.9rem, 3.3vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; max-width: 16ch; }
.pcard__title em { color: var(--gold-2); }
.pcard__foot { margin-top: auto; padding-top: 3rem; display: flex; align-items: center; gap: 1.25rem; }
.pcard__count { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .95rem; color: rgba(242,239,233,.7); white-space: nowrap; }
.pcard__cur { color: var(--gold-2); font-weight: 600; }
.pcard__bar { flex: 1; height: 2px; background: rgba(242,239,233,.2); overflow: hidden; border-radius: 2px; }
.pcard__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

.psteps { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.5rem); }
.pstep {
  position: sticky; top: calc(6.5rem + var(--i) * 1.25rem);
  padding: clamp(1.5rem, 3vw, 3rem); border-radius: 24px; background: #fff; color: var(--ink);
  box-shadow: 0 -12px 40px -24px rgba(11,18,16,.35); transform-origin: top center;
}
.pstep:nth-child(even) { background: #faf6ec; }
.pstep__head { display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.pstep__num { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; color: rgba(11,18,16,.32); line-height: 1; }
.pstep__line { flex: 1; height: 1px; background: rgba(11,18,16,.12); position: relative; overflow: hidden; }
.pstep__line::after { content: ""; position: absolute; inset: 0; background: var(--bronze); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease-io) .2s; }
.pstep.in-view .pstep__line::after { transform: scaleX(1); }
.pstep__title { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.pstep__text { margin: 0 0 1.75rem; color: rgba(11,18,16,.72); font-size: 1.05rem; max-width: 52ch; }
.pstep__img { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 7; margin-bottom: 1.5rem; }
.pstep__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.pstep.in-view .pstep__img img { transform: scale(1); }
.pstep:hover .pstep__img img { transform: scale(1.04); }
.pstep__tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pstep__tags li { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .5rem .9rem; border-radius: 99px; background: var(--paper); color: var(--ink); border: 1px solid rgba(11,18,16,.08); transition: background .3s, color .3s; }
.pstep:nth-child(even) .pstep__tags li { background: #fff; }
.pstep__tags li:hover { background: var(--ink); color: var(--gold-2); }
@media (max-width: 900px) {
  .pgrid { grid-template-columns: 1fr; }
  .pcard { position: relative; top: 0; min-height: 420px; }
  .pstep { top: calc(5.5rem + var(--i) * .9rem); }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1200px) {
  .header__phone span { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header__cta { display: none; }
  .header__phone { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); justify-content: center; }
  .burger { display: block; margin-left: 0; }
  .float-cta { display: flex; }
  body.menu-open .float-cta { transform: translateY(160%); }
  .service { grid-template-columns: 50px 1fr 56px; }
  .service__desc { grid-column: 2 / 3; grid-row: 2; }
  .service__icon { width: 52px; height: 52px; grid-row: 1 / 3; grid-column: 3; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .timeline__line { display: none; }
  .partners__grid { grid-template-columns: repeat(3, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: 16 / 9; }
  .types__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .types__grid .type-card:nth-child(even) { margin-top: 0; }
  .mascot { bottom: 5.6rem; }
  .mascot__btn { width: 92px; height: 92px; }
  .mascot__owl { width: 58px; height: 58px; }
  .mascot__ring text { font-size: 10.8px; }
}
@media (max-width: 820px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .page-hero__grid, .intro__grid, .faq__grid { grid-template-columns: 1fr; }
  .page-hero__img { max-width: 480px; aspect-ratio: 4 / 3; }
  .intro__aside { position: static; }
  .others__grid { grid-template-columns: 1fr 1fr; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(11,18,16,.7) 0%, rgba(11,18,16,.5) 35%, rgba(11,18,16,.85) 70%, rgba(11,18,16,1) 100%);
  }
}
@media (max-width: 640px) {
  .logo img { height: 30px; }
  .hero__strip { grid-template-columns: repeat(3, 1fr); gap: .75rem; padding-bottom: 5.75rem; }
  .hero__fact strong { font-size: .95rem; }
  .hero__fact span { font-size: .78rem; line-height: 1.35; display: block; }
  .hero__lead { font-size: 1rem; }
  .hero__actions { gap: 1.25rem; }
  .btn--xl { padding-left: 1.4rem; font-size: 1.05rem; gap: .9rem; }
  .btn__circle { width: 46px; height: 46px; }
  .works__grid { grid-template-columns: 1fr; }
  .work--wide { grid-column: auto; }
  .work--wide .work__media, .work__media { aspect-ratio: 4 / 3; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .service { grid-template-columns: 1fr 48px; gap: .75rem 1rem; }
  .service__num { grid-column: 1; grid-row: 1; }
  .service__title { grid-column: 1; grid-row: 2; }
  .service__desc { grid-column: 1 / -1; grid-row: 3; }
  .service__icon { grid-column: 2; grid-row: 1 / 3; width: 48px; height: 48px; }
  .filters { width: 100%; }
  .filter { flex: 1; }
  .stats { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat { padding: 1.5rem 1.1rem; }
  .timeline { grid-template-columns: 1fr; row-gap: 2rem; }
  .tl-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; }
  .tl-step__dot { grid-row: 1 / 3; margin: 0; }
  .partners__grid { grid-template-columns: repeat(2, 1fr); }
  .partner { min-height: 110px; }
  .footer { padding-bottom: 6rem; }
  .feature__list { grid-template-columns: 1fr; }
  .types__grid, .others__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .stat strong { font-size: 2.4rem; }
  .page-hero { padding-top: 7rem; }
  .kpis { gap: .75rem; }
  .kpi { aspect-ratio: 1 / 1.15; padding: 1rem; border-radius: 18px; }
  .kpi__num { font-size: 2.3rem; }
  .kpi__label { font-size: .85rem; }
  .trust { height: 240vh; }
  .tcard { --w: 30vw; border-width: 3px; }
  .mascot__btn { width: 80px; height: 80px; }
  .mascot__owl { width: 52px; height: 52px; }
  .mascot__ring text { font-size: 11.5px; letter-spacing: .1em; }
  .mascot__bubble { font-size: .82rem; max-width: 190px; }
  .logos .partner { width: 150px; min-height: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, [data-split] .w > span { opacity: 1; transform: none; }
  .clip-reveal, .about__badge { clip-path: none; }
  .trust { height: auto; }
  .trust__sticky { position: relative; height: auto; padding: 6rem 0; }
  .trust__cards { display: none; }
  [data-scrub] .sw { opacity: 1; }
}

body.loaded .mascot.is-tucked { transform: translateX(150%); }
.mascot__btn, .btn--cta, .cta__circle { transition: translate .4s var(--ease), transform .6s var(--ease), box-shadow .6s, color .4s, background .4s, opacity 1s var(--ease); }

/* Lisek Fizek */
.fox { width: 100%; height: 100%; overflow: visible; }
.fox__head { transform-origin: 60px 100px; animation: fox-bob 3.4s ease-in-out infinite; }
.fox__lids ellipse { transform-box: fill-box; transform-origin: center top; transform: scaleY(0); animation: blink 4.6s infinite; }
.fox__eyes { transition: transform .2s ease-out; }
.fox__ear { transform-box: fill-box; }
.fox__ear--l { transform-origin: 80% 90%; }
.fox__ear--r { transform-origin: 20% 90%; animation: ear 6s ease-in-out infinite; }
.mascot__btn:hover .fox__head, .mascot.is-waving .fox__head { animation: fox-tilt 1s ease-in-out 2; }
.mascot__btn:hover .fox__ear--l { animation: ear-l .5s ease-in-out 2; }
@keyframes fox-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes fox-tilt { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 70% { transform: rotate(8deg); } }
@keyframes ear { 0%, 88%, 100% { transform: rotate(0); } 92% { transform: rotate(14deg); } 96% { transform: rotate(-4deg); } }
@keyframes ear-l { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-14deg); } }
.mascot__btn { background: radial-gradient(circle at 50% 40%, #fff, var(--paper) 70%); }

/* Dane firmy - na samym końcu strony */
.footer__legal { font-size: .78rem; max-width: none; margin: 1.25rem 0 0; color: rgba(242,239,233,.5); }

/* =========================================================
   Wersja 8: zielony przycisk jak w Ventrix, hero w ramce, szerszy układ
   ========================================================= */
:root { --cta: #01312f; --cta-2: #0d4a46; }
.container { max-width: 1680px; }
.btn--cta, .header__cta {
  --btn-hover: var(--gold);
  background: var(--cta); color: var(--paper);
  border: 1px solid rgba(242,239,233,.22);
  box-shadow: 0 14px 34px -16px rgba(1,49,47,.9);
}
.btn--cta:hover, .header__cta:hover { color: var(--ink); }
.btn--cta::after, .btn--xl::after { box-shadow: none; animation: none; }
.btn--cta > span:first-child::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: .7rem; vertical-align: .08em;
  border-radius: 50%; border: 2px solid currentColor; transition: background .3s;
}
.btn--cta:hover > span:first-child::before { background: currentColor; }
.btn__circle { background: var(--paper); color: var(--cta); }
.btn--xl:hover .btn__circle { background: var(--cta); color: var(--paper); }
.float-cta { background: var(--cta); color: var(--paper); border-color: rgba(242,239,233,.25); }
.cta__circle { background: var(--cta); color: var(--paper); border: 1px solid rgba(242,239,233,.25); }
.cta__circle:hover { background: var(--gold); color: var(--ink); }

/* Hero jak w Ventrix: zdjęcie w zaokrąglonej ramce, wyśrodkowane */
.hero { margin: 10px; border-radius: 26px; min-height: calc(100vh - 20px); min-height: calc(100svh - 20px); }
.hero__bg-inner img { object-position: 50% 50%; }
.hero__overlay {
  background:
    linear-gradient(90deg, rgba(11,18,16,.72) 0%, rgba(11,18,16,.42) 40%, rgba(11,18,16,.05) 75%),
    linear-gradient(180deg, rgba(11,18,16,.45) 0%, transparent 22%, transparent 55%, rgba(1,49,47,.92) 100%);
}
.header .container { padding-left: calc(var(--pad) + 10px); padding-right: calc(var(--pad) + 10px); }
@media (max-width: 640px) { .hero { margin: 6px; border-radius: 18px; min-height: calc(100svh - 12px); } }

/* Piesek Fizek */
.dog { width: 100%; height: 100%; overflow: visible; }
.dog__head { transform-origin: 60px 100px; animation: fox-bob 3.4s ease-in-out infinite; }
.dog__lids ellipse { transform-box: fill-box; transform-origin: center top; transform: scaleY(0); animation: blink 4.8s infinite; }
.dog__eyes { transition: transform .2s ease-out; }
.dog__ear { transform-box: fill-box; transform-origin: 50% 8%; }
.dog__ear--l { animation: flop-l 5s ease-in-out infinite; }
.dog__ear--r { animation: flop-r 5s ease-in-out infinite .4s; }
.dog__tongue { transform-box: fill-box; transform-origin: top center; animation: tongue 2.4s ease-in-out infinite; }
.mascot__btn:hover .dog__head, .mascot.is-waving .dog__head { animation: fox-tilt 1.1s ease-in-out 2; }
@keyframes flop-l { 0%, 80%, 100% { transform: rotate(0); } 88% { transform: rotate(10deg); } }
@keyframes flop-r { 0%, 80%, 100% { transform: rotate(0); } 88% { transform: rotate(-10deg); } }
@keyframes tongue { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(1.15); } }
@media (max-width: 820px) { .hero__bg-inner img { object-position: 74% 50%; } }

/* =========================================================
   Wersja 10: układ pierwszego ekranu jak w Ventrix
   ========================================================= */
:root { --hpad: clamp(1.25rem, 5.6vw, 7rem); }
.header .container { max-width: none; padding-left: calc(var(--hpad) + 10px); padding-right: calc(var(--hpad) + 10px); }
.hero { display: block; }
.hero__inner {
  position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column;
  padding: clamp(7rem, 16vh, 11rem) var(--hpad) clamp(1.5rem, 3vh, 2.5rem);
}
.hero__main { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(2rem, 5vh, 4rem); }
.hero__trust {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .9rem; margin-bottom: clamp(1.5rem, 4vh, 2.75rem);
  padding: .35rem 1.1rem .35rem .35rem; border-radius: 99px;
  background: rgba(242,239,233,.1); border: 1px solid rgba(242,239,233,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__avatars { display: flex; }
.hero__avatars img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(242,239,233,.85); object-fit: cover; }
.hero__avatars img + img { margin-left: -12px; }
.hero__trust-txt { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; color: var(--paper); }
.hero__title {
  font-size: clamp(2.5rem, min(5.4vw, 9vh), 6.4rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 600;
  margin: 0 0 clamp(1.75rem, 4.5vh, 3rem); max-width: 17ch;
}
.hero__actions { gap: 1rem; }
.btn--hero {
  padding: 1.05rem 1.9rem; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .95rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600;
}
.btn--hero > span:first-child::before { margin-right: 1.1rem; }
.btn--light { --btn-hover: var(--gold); background: var(--paper); color: var(--ink); border: 1px solid transparent; }
.btn--light > span:first-child::before {
  content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 1.1rem; vertical-align: .08em;
  border-radius: 50%; border: 2px solid currentColor;
}

.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero__info { flex: 1; max-width: 900px; padding-bottom: .5rem; }
.hero__rule { display: block; height: 1px; background: rgba(242,239,233,.22); margin-bottom: clamp(1.25rem, 3vh, 2.25rem); }
.hero__lead { margin: 0; max-width: 50ch; color: var(--gold-2); font-size: clamp(1.05rem, 1rem + .4vw, 1.4rem); line-height: 1.5; }
.hero__cards { display: flex; align-items: flex-end; gap: 1rem; flex: none; }
.hcard {
  width: 240px; padding: 1.25rem; border-radius: 20px;
  background: rgba(1,49,47,.72); border: 1px solid rgba(242,239,233,.14); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.hcard--small { width: 250px; }
.hcard__title { margin: 0 0 1.4rem; display: flex; align-items: center; gap: .6rem; color: var(--paper); font-size: 1.15rem; font-weight: 600; }
.hcard__title svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hcard__pills { display: flex; flex-direction: column; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.hcard__pills--row { flex-direction: row; flex-wrap: wrap; }
.hcard__pills a, .hcard__pills li {
  display: flex; align-items: center; gap: .5rem; padding: .5rem .8rem; border-radius: 99px;
  background: rgba(242,239,233,.16); color: var(--paper);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.hcard__pills a:hover { background: var(--gold); color: var(--ink); }
.hcard__pills svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
.hcard__img { margin-top: 1.1rem; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; }
.hcard__img img { width: 100%; height: 100%; object-fit: cover; }

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(11,18,16,.6) 0%, rgba(11,18,16,.3) 45%, rgba(11,18,16,0) 75%),
    linear-gradient(180deg, rgba(11,18,16,.4) 0%, transparent 20%, transparent 50%, rgba(1,49,47,.95) 100%);
}

@media (max-width: 1200px) { .hcard--small { display: none; } }
@media (max-width: 900px) {
  .hero__bottom { flex-direction: column; align-items: stretch; }
  .hero__cards { display: none; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3.6rem); }
}
@media (max-width: 640px) {
  .hero__inner { padding-top: 6.5rem; }
  .hero__trust-txt { font-size: .75rem; }
  .hero__avatars img { width: 32px; height: 32px; }
  .btn--hero { padding: .95rem 1.3rem; font-size: .8rem; }
  .hero__lead { font-size: 1rem; }
}
@media (max-height: 880px) and (min-width: 901px) {
  .hcard__img { display: none; }
  .hero__inner { padding-top: clamp(6rem, 13vh, 8rem); }
  .hero__trust { margin-bottom: 1.25rem; }
  .hcard__title { margin-bottom: 1rem; }
}

/* Wersja 11: przywrócona treść pierwszego ekranu w nowym rozłożeniu */
.hero__main .eyebrow { margin-bottom: clamp(1rem, 2.5vh, 1.75rem); }
.hero__main .hero__title { font-size: clamp(2.6rem, min(6.2vw, 10vh), 7.2rem); max-width: 11ch; font-weight: 500; line-height: .96; }
.hero__main .hero__lead { color: rgba(242,239,233,.85); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); max-width: 46ch; margin: 0 0 clamp(1.5rem, 3.6vh, 2.5rem); }
.hero__inner .hero__strip { margin-top: 0; padding-left: 0; padding-right: 0; max-width: none; }
.hero__inner .hero__strip::before { left: 0; right: 0; }
.hero__main { padding-bottom: clamp(1.5rem, 4vh, 3rem); }

/* Biały przycisk na zielonej karcie „Kredyt firmowy” */
.btn--white { background: var(--paper); color: var(--ink); border-color: transparent; box-shadow: 0 14px 30px -16px rgba(0,0,0,.6); }
.btn--white:hover { color: var(--ink); }

.mascot { opacity: 1; transform: none; }
body.is-loading .mascot { opacity: 0; }

@media (max-width: 1024px) { .mascot { bottom: 1rem; transition: opacity .8s var(--ease), transform .8s var(--ease), bottom .5s var(--ease); } .mascot.is-raised { bottom: 5.6rem; } }

/* Nagłówki dzielone na słowa - bez ucinania ostatniej litery */
[data-split] .w { padding-left: .04em; padding-right: .1em; margin-left: -.04em; margin-right: -.1em; }

/* Kafelki z liczbami - wlatują z obrotem i odbiciem */
.kpis .kpi.reveal {
  opacity: 0;
  transform: translateY(160px) rotate(var(--kr, -6deg)) scale(.82);
  transition: transform 1.25s cubic-bezier(.34, 1.56, .64, 1), opacity .7s ease, box-shadow .8s var(--ease);
}
.kpis .kpi:nth-of-type(1) { --kr: -9deg; transition-delay: 0s; }
.kpis .kpi:nth-of-type(2) { --kr: 7deg; transition-delay: .12s; }
.kpis .kpi:nth-of-type(3) { --kr: -6deg; transition-delay: .24s; }
.kpis .kpi:nth-of-type(4) { --kr: 9deg; transition-delay: .36s; }
.kpis .kpi.reveal.in-view { opacity: 1; transform: none; }
.kpis .kpi.tilt { transition: transform .5s var(--ease), box-shadow .8s var(--ease); }
/* ikony w ciągłym, spokojnym ruchu */
.kpi:nth-of-type(1) .kpi__icon svg { animation: kpi-spin 14s linear infinite; }
.kpi:nth-of-type(2) .kpi__icon svg { animation: kpi-spin 10s linear infinite reverse; }
.kpi:nth-of-type(3) .kpi__icon svg { animation: kpi-pulse 3.2s ease-in-out infinite; }
.kpi:nth-of-type(4) .kpi__icon svg { animation: kpi-spin 18s linear infinite; }
@keyframes kpi-spin { to { transform: rotate(360deg); } }
@keyframes kpi-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14) rotate(-12deg); } }
/* delikatna poświata przesuwająca się po kafelku */
.kpi::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%);
  transform: translateX(-120%); 
}
.kpi.in-view::after { animation: kpi-shine 1.4s .9s ease forwards; }
.kpi:hover::after { animation: kpi-shine 1.1s ease forwards; }
@keyframes kpi-shine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.kpi > * { position: relative; z-index: 2; }
.kpi .kpi__bg { position: absolute; z-index: -1; }

/* =========================================================
   Okienko cookies (gotowe, domyślnie wyłączone - js/cookies.js)
   ========================================================= */
.cookie-settings-link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.cookie-settings-link:hover { color: var(--fg); }
.cookiebar {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 90; width: min(440px, calc(100vw - 2rem));
  padding: 1.5rem; border-radius: 22px; background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.6); font-size: .92rem;
  transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.cookiebar.is-open { transform: none; opacity: 1; }
.cookiebar h2 { margin: 0 0 .5rem; font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.cookiebar p { margin: 0 0 1rem; color: rgba(11,18,16,.75); }
.cookiebar a { text-decoration: underline; text-underline-offset: 2px; }
.cookiebar__opts { display: none; margin: 0 0 1rem; padding: .75rem 0; border-top: 1px solid rgba(11,18,16,.12); border-bottom: 1px solid rgba(11,18,16,.12); }
.cookiebar.show-opts .cookiebar__opts { display: grid; gap: .6rem; }
.cookiebar__opts label { display: flex; gap: .6rem; align-items: flex-start; }
.cookiebar__opts small { display: block; color: rgba(11,18,16,.6); }
.cookiebar__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookiebar__btns button { flex: 1 1 auto; padding: .75rem 1rem; border-radius: 99px; font-weight: 600; font-size: .88rem; border: 1px solid rgba(11,18,16,.18); cursor: pointer; transition: background .3s, color .3s; }
.cookiebar__btns .cb-accept { background: var(--cta); color: var(--paper); border-color: var(--cta); }
.cookiebar__btns .cb-accept:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.cookiebar__btns .cb-reject:hover, .cookiebar__btns .cb-more:hover { background: #fff; }
@media (max-width: 640px) { .cookiebar { left: .5rem; bottom: .5rem; width: calc(100vw - 1rem); } }

/* =========================================================
   Sekcja ze stołem (CTA) i kontakt: zielone tło, białe napisy bez kursywy
   ========================================================= */
.cta__bg::after {
  background: linear-gradient(180deg, var(--ink) 0%, rgba(1,49,47,.88) 22%, rgba(1,49,47,.86) 78%, var(--ink) 100%);
}
.cta__title em, .contact .h2 em {
  font-family: var(--font); font-style: normal; font-weight: inherit; letter-spacing: inherit; color: var(--paper);
}
.cta__title, .contact .h2 { color: #fff; }
.cta__title em, .contact .h2 em { color: #fff; }
.cta__circle { background: #fff; color: var(--cta); border-color: transparent; box-shadow: 0 20px 50px -20px rgba(0,0,0,.55); }
.cta__circle:hover { background: var(--gold); color: var(--ink); }
/* „Z kim współpracujemy” - całość tą samą czcionką i kolorem */
.partners .h2 em { font-family: var(--font); font-style: normal; font-weight: inherit; letter-spacing: inherit; color: inherit; }

/* =========================================================
   Nagłówek sekcji w stylu Ventrix (O nas)
   ========================================================= */
.vhead { position: relative; }
.vtag {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem); line-height: 1.55;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: clamp(.9rem, 1.2vw, 1.1rem);
  letter-spacing: .04em; text-transform: uppercase;
}
.vtag span { background: var(--gold-2); color: var(--ink); padding: .2rem .7rem; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.vhead__title {
  margin: 0; max-width: 24ch; font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: var(--fg);
}
.vhead__rule { display: block; height: 1px; background: var(--line); margin-top: clamp(2rem, 4vw, 3.5rem); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io) .3s; }
.vhead.in-view .vhead__rule, .vhead__title.in-view + .vhead__rule { transform: scaleX(1); }
.vhead__orb { left: calc(var(--pad) * -1 + 4px); top: 3.2rem; width: 54px; height: 54px; transform: translateX(-50%); animation: none; }
@media (max-width: 1024px) { .vhead__orb { display: none; } }
@media (max-width: 640px) { .vhead__orb { display: none; } }
/* Pasek przewijany - kółeczka zamiast rombów */
.marquee__track i { display: inline-block; width: clamp(1rem, 1.6vw, 1.5rem); height: clamp(1rem, 1.6vw, 1.5rem); border-radius: 50%; border: 3px solid var(--gold); font-size: 0; flex: none; }

/* Wyróżnione słowa: nowoczesna pochylona czcionka bezszeryfowa zamiast szeryfowej kursywy */
em { font-family: var(--font); font-style: italic; font-weight: inherit; letter-spacing: -.02em; }
.marquee__track span:nth-of-type(even) { font-family: var(--font); font-style: italic; font-weight: 500; }
.marquee__track i { background: var(--gold); border: 0; width: clamp(.75rem, 1.1vw, 1.05rem); height: clamp(.75rem, 1.1vw, 1.05rem); }

/* =========================================================
   Kalkulator raty
   ========================================================= */
.calc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.calc-intro { position: sticky; top: 7rem; }
.calc-intro p:not(.vtag) { max-width: 46ch; margin-top: 1.5rem; }
.calc { background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(1.5rem, 3.5vw, 2.75rem); box-shadow: 0 30px 70px -40px rgba(11,18,16,.45); }
.calc__field { margin-bottom: 1.6rem; }
.calc__field label { display: block; font-size: .85rem; letter-spacing: .04em; color: rgba(11,18,16,.6); margin-bottom: .35rem; }
.calc__val { display: flex; align-items: baseline; gap: .5rem; border-bottom: 1px solid rgba(11,18,16,.12); padding-bottom: .35rem; margin-bottom: .8rem; }
.calc__val input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; color: var(--ink); outline: none; -moz-appearance: textfield; }
.calc__val input::-webkit-outer-spin-button, .calc__val input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__val span { color: rgba(11,18,16,.55); font-weight: 500; }
.calc__hint { display: block; margin-top: .45rem; color: rgba(11,18,16,.5); font-size: .8rem; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--cta) var(--p, 50%), rgba(11,18,16,.12) var(--p, 50%)); outline: none; cursor: pointer; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 6px solid var(--cta); box-shadow: 0 4px 12px rgba(1,49,47,.35); transition: transform .2s; }
.calc input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.calc input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 6px solid var(--cta); }
.calc__out { margin-top: 2rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); border-radius: 20px; background: var(--cta); color: var(--paper); }
.calc__main span { display: block; font-size: .85rem; color: rgba(242,239,233,.7); }
.calc__main strong { display: block; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; line-height: 1.1; margin: .2rem 0 1rem; font-variant-numeric: tabular-nums; transition: transform .3s var(--ease); }
.calc__main strong.bump { transform: scale(1.04); }
.calc__row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(242,239,233,.14); font-size: .95rem; }
.calc__row span { color: rgba(242,239,233,.72); }
.calc__row b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__btn { margin-top: 1.25rem; width: 100%; justify-content: center; background: var(--paper); color: var(--ink); }
.calc__note { margin: 1.25rem 0 0; font-size: .75rem; line-height: 1.55; color: rgba(11,18,16,.55); }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-intro { position: static; } }

/* =========================================================
   Poradniki
   ========================================================= */
.article-meta { color: rgba(242,239,233,.6); font-size: .9rem; margin: 0; }
.article h3 { font-size: 1.2rem; font-weight: 600; margin: 1.75rem 0 .5rem; color: var(--ink); }
.article-box { background: #fff; border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1rem; border-left: 4px solid var(--gold); }
.article-box h2 { margin-top: 0 !important; }
.table-wrap { overflow-x: auto; margin: 1rem 0 .5rem; border-radius: 18px; background: #fff; }
.article table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.article th, .article td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid rgba(11,18,16,.08); vertical-align: top; color: rgba(11,18,16,.82); }
.article thead th { background: var(--cta); color: var(--paper); font-weight: 600; }
.article tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.table-note { font-size: .82rem; }
.article-cta { margin: 3rem 0 2rem; padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: 24px; background: var(--cta); }
.article-cta h2 { margin-top: 0 !important; color: #fff !important; }
.article-cta p { color: rgba(242,239,233,.8) !important; }
.article-cta .btn { background: var(--paper); color: var(--ink); }
.article-disclaimer { font-size: .82rem; color: rgba(11,18,16,.55) !important; }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.gcard { display: flex; flex-direction: column; gap: .75rem; padding: 2rem; border-radius: 24px; background: #fff; color: var(--ink); min-height: 280px; transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity 1s var(--ease); }
a.gcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11,18,16,.4); }
.gcard__meta { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bronze); }
.gcard__title { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.gcard p { margin: 0; color: rgba(11,18,16,.7); }
.gcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--cta); }
.gcard__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .4s var(--ease); }
a.gcard:hover .gcard__more svg { transform: translateX(5px); }
.gcard--soon { background: transparent; border: 1px dashed rgba(11,18,16,.2); }

/* kafelki z liczbami - łagodniejsze maskowanie cyfr */
.odo__d { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 10%, #000 90%, transparent 100%); }
.kpis .kpi.kpi--fly { opacity: 0; transform: translateY(160px) rotate(var(--kr, -6deg)) scale(.82);
  transition: transform 1.25s cubic-bezier(.34, 1.56, .64, 1), opacity .7s ease, box-shadow .8s var(--ease); }
.kpis .kpi.kpi--fly.in-view { opacity: 1; transform: none; }
.kpis .kpi.kpi--fly.tilt { transition: transform .5s var(--ease), box-shadow .8s var(--ease), opacity .7s; transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .kpis .kpi.kpi--fly { opacity: 1; transform: none; } }

/* =========================================================
   Telefon: spokojniejszy pierwszy ekran
   ========================================================= */
.only-mobile { display: none; }
@media (max-width: 820px) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  /* nagłówki bez animacji słowo po słowie - po prostu łagodne pojawienie */
  [data-split] { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  [data-split].in-view { opacity: 1; transform: none; }
  /* pierwszy ekran: bez paska z trzema hasłami i bez ozdobników */
  .hero__strip { display: none; }
  .hero__main { justify-content: flex-end; padding-bottom: 5.5rem; }
  .hero .eyebrow { font-size: .7rem; letter-spacing: .1em; }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero .reveal { transition-duration: .7s; }
  .hero [data-delay] { transition-delay: .1s; }
  .hero .link-arrow { font-size: .95rem; }
  .btn--xl::after { animation: none; }
  .hero__bg-inner img { scale: 1 !important; transition: none; }
  /* maskotka pojawia się dopiero po przewinięciu, bez dymka */
  .mascot__bubble { display: none; }
  body.loaded .mascot.is-tucked-top { transform: translateX(150%); }
}

@media (max-width: 820px) {
  .hero__main { justify-content: center; padding-bottom: 7rem; }
  #kontakt { scroll-margin-top: 0; }
  .form { scroll-margin-top: 5rem; }
}
.calc__note p { margin: 0 0 .5rem; color: inherit; }
.calc__note ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }
.calc__note strong { color: var(--ink); }
/* Telefon: tekst wyżej, lepszy kadr zdjęcia */
@media (max-width: 820px) {
  .hero__main { justify-content: flex-start; padding-top: 9vh; padding-bottom: 6rem; }
  .hero__bg-inner img { object-position: 84% 50%; }
}
@media (max-width: 820px) { .hero__bg-inner img { object-position: 40% 50%; } }

/* =========================================================
   WERSJA „MEGA NOWOCZESNA” - warstwa efektów (głównie komputer)
   ========================================================= */

/* 1. Delikatna faktura „ziarna” na całej stronie - efekt premium, nie płaskiego ekranu */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 9998; pointer-events: none; opacity: .045;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* 2. Własny kursor: kropka + pierścień, który rośnie nad linkami */
.cur, .cur-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cur { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--gold); }
.cur-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(196,160,82,.7);
  display: grid; place-items: center; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s;
}
.has-cursor .cur, .has-cursor .cur-ring { opacity: 1; }
.cur-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(196,160,82,.14); border-color: transparent; }
.cur-ring.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--gold); border-color: transparent; }
.cur-ring span { opacity: 0; transition: opacity .2s; }
.cur-ring.is-view span { opacity: 1; }
.cur.is-hidden { opacity: 0 !important; }

/* 3. Podgląd zdjęcia przy najechaniu na usługę */
.svc-preview {
  position: fixed; left: 0; top: 0; z-index: 30; width: 260px; aspect-ratio: 4 / 5; margin: -170px 0 0 -130px;
  border-radius: 18px; overflow: hidden; pointer-events: none; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7);
  opacity: 0; scale: .6; rotate: -8deg; transition: opacity .35s, scale .5s var(--ease), rotate .6s var(--ease);
}
.svc-preview.is-on { opacity: 1; scale: 1; rotate: 4deg; }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }

/* 4. „Reflektor” - poświata podążająca za kursorem po kartach */
.spot { isolation: isolate; }
.spot:not(.pstep):not(.pcard) { position: relative; }
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(220,194,137,.16), transparent 45%);
}
.spot:hover::after { opacity: 1; }
.spot--light::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(196,160,82,.18), transparent 45%); }

/* 5. Przyciski - tekst „przewija się” przy najechaniu */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.25; height: 1.25em; }
.roll > span { grid-area: 1 / 1; transition: transform .55s var(--ease); }
.roll > span + span { transform: translateY(110%); }
a:hover > span > .roll > span:first-child, button:hover > span > .roll > span:first-child { transform: translateY(-110%); }
a:hover > span > .roll > span + span, button:hover > span > .roll > span + span { transform: none; }

/* 6. Poświata „zorzy” za nagłówkiem na pierwszym ekranie */
.hero__aurora { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; mix-blend-mode: screen; }
.hero__aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; }
.hero__aurora i:nth-child(1) { width: 46vw; height: 46vw; left: -12vw; top: 10vh; background: #0d4a46; animation: aur1 18s ease-in-out infinite alternate; }
.hero__aurora i:nth-child(2) { width: 30vw; height: 30vw; left: 18vw; top: 45vh; background: rgba(196,160,82,.55); opacity: .18; animation: aur2 22s ease-in-out infinite alternate; }
@keyframes aur1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes aur2 { to { transform: translate(-10vw, -12vh) scale(.85); } }
.hero__inner { z-index: 2; }

/* 7. Litery w dużym napisie FIZARO w stopce wjeżdżają po kolei */
.footer__word .fl { display: inline-block; transform: translateY(45%); opacity: 0; transition: transform .8s var(--ease), opacity .5s; }
.footer__word.in-view .fl { transform: none; opacity: 1; }

/* 8. Pasek z usługami reaguje na szybkość przewijania (lekkie przechylenie) */
.marquee__track { will-change: transform; }
.marquee__skew { transition: transform .4s var(--ease); }

/* 9. Pasek postępu czytania z gradientem */
.progress i { background: linear-gradient(90deg, var(--gold), var(--gold-2), #fff); }

/* Telefon i ekrany dotykowe: bez kursora, podglądów i poświat */
@media (hover: none), (max-width: 1024px) {
  .cur, .cur-ring, .svc-preview, .hero__aurora { display: none !important; }
  body::after { animation: none; }
}
@media (prefers-reduced-motion: reduce) { .cur, .cur-ring, .svc-preview, .hero__aurora { display: none !important; } body::after { animation: none; } }
.roll { white-space: nowrap; }

/* Telefon na pierwszym ekranie w delikatnej, obłej ramce */
.hero .link-arrow { padding: .85rem 1.4rem; border: 1px solid rgba(242,239,233,.35); border-radius: 99px; transition: border-color .3s, background .3s; }
.hero .link-arrow::after { display: none; }
.hero .link-arrow:hover { border-color: var(--gold); background: rgba(242,239,233,.06); }
.calc__main strong { margin-bottom: 0; }

/* Ciepła biel zamiast ecru */
:root { --paper: #faf9f6; --paper-2: #efece5; }
.pstep:nth-child(even) { background: #f4f2ec; }
.pstep:nth-child(even) .pstep__tags li { background: #fff; }
.pstep__tags li { background: #f1efe9; }
.partner { background: #fff; }

/* =========================================================
   Duże, czyste hasła z podkreślonymi słowami
   ========================================================= */
.statement {
  margin: clamp(4rem, 9vw, 8rem) 0 0; max-width: 20ch;
  font-size: clamp(2.2rem, 5.6vw, 5.6rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 400; color: var(--fg);
}
.statement u {
  text-decoration: none; background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 92%; background-size: 0% .055em;
  transition: background-size 1.1s var(--ease-io);
}
.statement.in-view u { background-size: 100% .055em; }
.statement.in-view u:nth-of-type(1) { transition-delay: .5s; }
.statement.in-view u:nth-of-type(2) { transition-delay: .8s; }
.statement.in-view u:nth-of-type(3) { transition-delay: 1.1s; }
.statement-sec { padding-bottom: 0; }
.statement-sec .statement { margin-top: 0; }
.statement + .kpis { margin-top: clamp(4rem, 8vw, 7rem); }
.statement-sec { padding-top: clamp(3rem, 6vw, 5rem); }
#o-nas { padding-top: clamp(4rem, 8vw, 7rem); } #oferta { padding-bottom: clamp(4rem, 8vw, 7rem); }
/* Oferta na jasnym tle */
#oferta .feature { color: var(--paper); background: linear-gradient(135deg, #0d4a46, #01312f); border-color: transparent; box-shadow: 0 40px 80px -45px rgba(1,49,47,.6); }
#oferta .feature .feature__title { color: var(--paper); }
#oferta .service:hover .service__desc { color: rgba(250,249,246,.85); }
#oferta .service__num { color: var(--bronze); }
#oferta .service:hover .service__num { color: var(--gold-2); }
#oferta { padding-top: clamp(5rem, 10vw, 8rem); }

/* =========================================================
   Pierwszy ekran uproszczony + biały przycisk
   ========================================================= */
.hero__strip { display: none !important; }
.hero__main { padding-bottom: clamp(3rem, 8vh, 6rem); }
.btn--white-hero { background: #fff !important; color: var(--ink) !important; border-color: transparent !important; box-shadow: 0 16px 40px -18px rgba(0,0,0,.6) !important; }
.btn--white-hero .btn__circle { background: var(--cta); color: #fff; }
.btn--white-hero:hover { color: var(--ink) !important; }
.btn--white-hero:hover .btn__circle { background: var(--gold); color: var(--ink); }

/* =========================================================
   Pasek usług: jednakowe białe napisy + złote ikony usług
   ========================================================= */
.marquee__track span, .marquee__track span:nth-of-type(even) {
  font-family: var(--font) !important; font-style: normal !important; font-weight: 500 !important; color: #fff !important;
}
.marquee__track { gap: clamp(1.5rem, 3vw, 3rem); }
.mq-ico {
  flex: none; display: grid; place-items: center; width: clamp(54px, 5vw, 76px); height: clamp(54px, 5vw, 76px);
  border-radius: 50%; border: 1.5px solid rgba(196,160,82,.55); background: rgba(196,160,82,.08); color: var(--gold-2);
}
.mq-ico svg { width: 52%; height: 52%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* wejście przy pierwszym przewinięciu: pasek wjeżdża, ikony obracają się i „wskakują” */
.marquee { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.marquee.is-in { opacity: 1; transform: none; }
.marquee .mq-ico { transform: scale(0) rotate(-180deg); transition: transform 1.1s cubic-bezier(.34,1.56,.64,1); }
.marquee.is-in .mq-ico { transform: none; }
.marquee.is-in .mq-ico svg { animation: mq-spin 6s ease-in-out infinite; }
@keyframes mq-spin { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-12deg) scale(1.08); } 90% { transform: rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .marquee, .marquee .mq-ico { opacity: 1; transform: none; } }

/* =========================================================
   Pasek usług: biały, przy przewijaniu zmienia się w czarny
   ========================================================= */
.marquee { --mq: 0; position: relative; background: rgb(calc(250 - 239 * var(--mq)) calc(249 - 231 * var(--mq)) calc(246 - 230 * var(--mq))); border-bottom: 0; }
.marquee__track span, .marquee__track span:nth-of-type(even) { color: rgb(calc(11 + 244 * var(--mq)) calc(18 + 237 * var(--mq)) calc(16 + 239 * var(--mq))) !important; }
.mq-ico { width: clamp(30px, 2.6vw, 42px); height: clamp(30px, 2.6vw, 42px); border: 0; background: none; color: #dcfda3; }
.mq-ico svg { width: 100%; height: 100%; stroke-width: 2.2; stroke: color-mix(in srgb, #01312f calc((1 - var(--mq)) * 100%), #dcfda3); }
.marquee.is-in .mq-ico svg { animation: mq-rot 9s linear infinite; }
@keyframes mq-rot { to { transform: rotate(360deg); } }

/* Karta „Kredyt firmowy” - butelkowa zieleń jak na wzorze */
#oferta .feature { background: #01312f !important; }
.feature__tag { background: #dcfda3; color: #01312f; }

/* „Jak działamy” - seledynowa etykieta */
.pcard__tag { background: #dcfda3 !important; color: #01312f !important; font-weight: 500; }
.marquee__track span, .marquee__track span:nth-of-type(even) { color: var(--ink) !important; transition: color .35s; }
.marquee.is-dark .marquee__track span { color: #fff !important; }
.mq-ico svg { stroke: #01312f; transition: stroke .35s; }
.marquee.is-dark .mq-ico svg { stroke: #dcfda3; }

/* „Dla kogo” - słowo „pomagamy” prosto, seledynowe */
#dla-kogo .h2 em, #dla-kogo .h2 em * { font-style: normal !important; font-family: inherit; color: #dcfda3 !important; }

/* =========================================================
   Jeden styl akcentów: proste litery, seledyn na ciemnym tle
   ========================================================= */
:root { --em: #dcfda3; }
body.theme-light { --em: var(--bronze); }
em { font-style: normal !important; font-family: var(--font); font-weight: inherit; }
.hero__title em, .pcard__title em, .footer__claim em { color: #dcfda3 !important; }
.vtag span { background: #dcfda3; color: #01312f; }
/* pasek partnerów: krótsze wygaszenie brzegów */
.logos { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
/* podgląd zdjęć przy usługach - widoczny zawsze na komputerze */
@media (hover: hover) and (pointer: fine) and (min-width: 900px) { .svc-preview { display: block !important; } }
@media (prefers-reduced-motion: reduce) { .svc-preview { transition: opacity .2s !important; rotate: 0deg !important; scale: 1 !important; } }

/* Karta „Kredyt firmowy”: bez ramki, zdjęcie płynnie przechodzi w zieleń */
#oferta .feature { border: 0 !important; outline: 0 !important; overflow: hidden; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
#oferta .feature::after { display: none !important; }
#oferta .feature__media { border: 0 !important; margin: 0; overflow: hidden; }
#oferta .feature__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(1,49,47,0) 55%, rgba(1,49,47,.55) 85%, #01312f 100%); }
#oferta .feature__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) {
  #oferta .feature__media::after { background: linear-gradient(180deg, rgba(1,49,47,0) 50%, rgba(1,49,47,.6) 82%, #01312f 100%); }
  #oferta .feature__media { aspect-ratio: 4 / 3; margin-bottom: -1px; }
}
#oferta .feature__media { background: #01312f; border-radius: 0 !important; }

/* Karta „Kredyt firmowy” - żywe zdjęcie: powolny najazd kamery, migoczące światła, wejście z odsłonięciem */
#oferta .feature__media img { transform-origin: 40% 50%; animation: kb 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes kb { 0% { transform: scale(1.04) translate(0, 0); } 100% { transform: scale(1.16) translate(-2.5%, -1.5%); } }
.feature__glow { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; overflow: hidden; }
.feature__glow i { position: absolute; border-radius: 50%; filter: blur(6px); background: radial-gradient(circle, rgba(255,226,170,.75), rgba(255,210,140,0) 70%); opacity: 0; animation: glint 7s ease-in-out infinite; }
.feature__glow i:nth-child(1) { width: 70px; height: 70px; left: 62%; top: 18%; animation-delay: 0s; }
.feature__glow i:nth-child(2) { width: 46px; height: 46px; left: 78%; top: 52%; animation-delay: 1.8s; }
.feature__glow i:nth-child(3) { width: 90px; height: 90px; left: 52%; top: 70%; animation-delay: 3.4s; }
.feature__glow i:nth-child(4) { width: 36px; height: 36px; left: 86%; top: 28%; animation-delay: 5s; }
@keyframes glint { 0%, 100% { opacity: 0; transform: translateY(8px) scale(.8); } 45% { opacity: .9; transform: translateY(-6px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) {
  #oferta .feature__media img, .feature__glow i { animation: none !important; }
}

/* Ekran startowy: podpis pod logo */
.loader__tag { margin: -1rem 0 0; text-align: center; color: var(--gold-2); font-size: clamp(.72rem, 1.6vw, .9rem); font-weight: 500;
  letter-spacing: .6em; padding-left: .6em; text-transform: uppercase; opacity: 0; animation: tagIn 1s var(--ease) forwards .55s; }
@keyframes tagIn { from { opacity: 0; letter-spacing: 1.1em; } to { opacity: 1; letter-spacing: .6em; } }

/* Karta „Kredyt firmowy”: tekst wjeżdża po kolei */
#oferta .feature__body > * { opacity: 0; transform: translateX(48px); transition: opacity .8s var(--ease), transform 1s var(--ease); }
#oferta .feature.in-view .feature__body > * { opacity: 1; transform: none; }
#oferta .feature.in-view .feature__body > :nth-child(1) { transition-delay: .15s; }
#oferta .feature.in-view .feature__body > :nth-child(2) { transition-delay: .28s; }
#oferta .feature.in-view .feature__body > :nth-child(3) { transition-delay: .42s; }
#oferta .feature.in-view .feature__body > :nth-child(4) { transition-delay: .56s; }
#oferta .feature.in-view .feature__body > :nth-child(5) { transition-delay: .7s; }
@media (max-width: 1024px) { #oferta .feature__body > * { transform: translateY(28px); } }
@media (prefers-reduced-motion: reduce) { #oferta .feature__body > * { opacity: 1 !important; transform: none !important; } }

/* Telefon i tablet: nagłówki wjeżdżają w całości (zamiast słowo po słowie) */
@media (max-width: 820px) {
  [data-split] { opacity: 0; transform: translateX(-36px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
  [data-split].in-view { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { [data-split] { opacity: 1 !important; transform: none !important; } }

/* Kafelki rodzajów: tekst wjeżdża po pojawieniu się kafelka */
.type-card .type-card__body > * { opacity: 0; transform: translateX(32px); transition: opacity .8s var(--ease), transform 1s var(--ease), color .5s; }
.type-card.in-view .type-card__body > * { opacity: 1; transform: none; }
.type-card.in-view .type-card__body > h3 { transition-delay: .25s, .25s, 0s; }
.type-card.in-view .type-card__body > p { transition-delay: .4s, .4s, 0s; }
@media (prefers-reduced-motion: reduce) { .type-card .type-card__body > * { opacity: 1; transform: none; } }

/* Kafelki rodzajów: złoty kolor włącza się przy przewijaniu (telefon/tablet) */
.type-card.is-lit { transform: translateY(-6px); color: var(--ink); border-color: transparent; box-shadow: 0 34px 60px -28px rgba(0,0,0,.6); }
.type-card.is-lit::before { clip-path: circle(150% at 12% 12%); }
.type-card.is-lit .type-card__icon svg { stroke: var(--ink); transform: rotate(-12deg) scale(1.12); }
.type-card.is-lit .type-card__num { color: var(--ink); }
.type-card.is-lit p { color: rgba(11,18,16,.85); }

/* =========================================================
   Karta „Kredyt firmowy” - animacje wejścia
   ========================================================= */
/* numer 01 + rosnąca złota linia */
#oferta .feature__body > .service__num { display: inline-flex; align-items: center; gap: .8rem; }
#oferta .feature__body > .service__num::after { content: ""; height: 1px; width: 0; background: linear-gradient(90deg, var(--gold-2), rgba(220,194,137,0)); transition: width 1.4s var(--ease) .5s; }
#oferta .feature.in-view .feature__body > .service__num::after { width: 120px; }
/* tytuł wysuwa się zza niewidocznej krawędzi */
#oferta .feature__title { clip-path: inset(0 0 100% 0); transform: translateY(60%) !important; opacity: 1 !important;
  transition: clip-path 1.1s cubic-bezier(.77,0,.18,1) .3s, transform 1.1s cubic-bezier(.77,0,.18,1) .3s !important; }
#oferta .feature.in-view .feature__title { clip-path: inset(-10% 0 -25% 0); transform: none !important; }
/* lista: punkty jeden po drugim, romby się obracają */
#oferta .feature__list { opacity: 1 !important; transform: none !important; }
#oferta .feature__list li { opacity: 0; transform: translateX(-24px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
#oferta .feature__list li::before { transform: scale(0) rotate(-135deg); transition: transform .8s cubic-bezier(.34,1.56,.64,1); }
#oferta .feature.in-view .feature__list li { opacity: 1; transform: none; }
#oferta .feature.in-view .feature__list li::before { transform: scale(1) rotate(45deg); }
#oferta .feature.in-view .feature__list li:nth-child(1), #oferta .feature.in-view .feature__list li:nth-child(1)::before { transition-delay: .75s; }
#oferta .feature.in-view .feature__list li:nth-child(2), #oferta .feature.in-view .feature__list li:nth-child(2)::before { transition-delay: .87s; }
#oferta .feature.in-view .feature__list li:nth-child(3), #oferta .feature.in-view .feature__list li:nth-child(3)::before { transition-delay: .99s; }
#oferta .feature.in-view .feature__list li:nth-child(4), #oferta .feature.in-view .feature__list li:nth-child(4)::before { transition-delay: 1.11s; }
#oferta .feature.in-view .feature__body > .feature__actions { transition-delay: 1.25s; }
/* błysk przesuwający się po przycisku */
#oferta .feature__actions .btn { position: relative; overflow: hidden; }
#oferta .feature__actions .btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-20deg); }
#oferta .feature.in-view .feature__actions .btn::after { animation: shine 1.2s var(--ease) 2s, shine 1.2s var(--ease) 7s; }
@keyframes shine { to { left: 130%; } }
/* poświata przesuwająca się po krawędzi karty */
#oferta .feature::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, rgba(220,253,163,.7) 80%, transparent 90%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 1s; }
#oferta .feature.in-view::before { opacity: 1; animation: ang 6s linear infinite; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ang { to { --ang: 360deg; } }
#oferta .feature { position: relative; }
@media (prefers-reduced-motion: reduce) {
  #oferta .feature__title { clip-path: none; transform: none !important; }
  #oferta .feature__list li, #oferta .feature__list li::before { opacity: 1; transform: none; }
  #oferta .feature__list li::before { transform: rotate(45deg); }
  #oferta .feature::before, #oferta .feature__actions .btn::after { animation: none !important; }
}
#oferta .feature__media .media__inner { inset: -24px 0 !important; }

/* =========================================================
   Strona główna - więcej jasnego
   ========================================================= */
/* Pasek usług zostaje jasny przez cały czas */
.marquee, .marquee.is-dark { background: var(--paper-w, #faf9f6) !important; border-top: 1px solid rgba(11,18,16,.08); border-bottom: 1px solid rgba(11,18,16,.08) !important; }
.marquee .marquee__track span, .marquee.is-dark .marquee__track span, .marquee__track span:nth-of-type(even) { color: var(--ink) !important; }
.marquee .mq-ico svg, .marquee.is-dark .mq-ico svg { stroke: #01312f !important; }
/* „Dla kogo” na jasnym tle */
#dla-kogo .h2 em, #dla-kogo .h2 em * { color: var(--em) !important; }
/* Kontakt na stronie głównej: jasne tło, formularz w butelkowej zieleni */
body.theme-light .contact .h2 { color: var(--ink); }
body.theme-light .contact .h2 em { color: var(--em); }
.contact .form { --fg: var(--paper); --line: rgba(242,239,233,.18); --muted: rgba(242,239,233,.7); color: var(--paper); background: #01312f !important; border-color: transparent; box-shadow: 0 40px 80px -40px rgba(1,49,47,.55); }
.contact .form .field input, .contact .form .field textarea, .contact .form .field select { color: var(--paper); }
.contact .form a { color: var(--gold-2); }
/* Seledynowe gwiazdki w pasku usług - na zielonym kółku, żeby były widoczne na jasnym tle */
.marquee .mq-ico, .marquee.is-dark .mq-ico { display: inline-grid; place-items: center; width: clamp(40px, 3.4vw, 54px); height: clamp(40px, 3.4vw, 54px); border-radius: 50%; background: #01312f; }
.marquee .mq-ico svg, .marquee.is-dark .mq-ico svg { width: 62%; height: 62%; stroke: #dcfda3 !important; stroke-width: 2.4; }
/* Gwiazdki w pasku: pełna seledynowa gwiazda z cienkim zielonym konturem, bez kółka */
.marquee .mq-ico, .marquee.is-dark .mq-ico { width: clamp(34px, 3vw, 48px); height: clamp(34px, 3vw, 48px); border-radius: 0; background: none; }
.marquee .mq-ico svg, .marquee.is-dark .mq-ico svg { width: 100%; height: 100%; fill: #dcfda3; stroke: #01312f !important; stroke-width: 1; stroke-linejoin: round; filter: drop-shadow(0 2px 6px rgba(1,49,47,.18)); }
.marquee .mq-ico, .marquee.is-dark .mq-ico { width: clamp(40px, 3.8vw, 60px); height: clamp(40px, 3.8vw, 60px); }
/* Iskierki w pasku: pierwotny kształt, seledynowe, z cienką zieloną obwódką dla widoczności na jasnym tle */
.marquee .mq-ico, .marquee.is-dark .mq-ico { width: clamp(34px, 3vw, 46px); height: clamp(34px, 3vw, 46px); border-radius: 0; background: none; }
.marquee .mq-ico svg, .marquee.is-dark .mq-ico svg { width: 100%; height: 100%; fill: none; filter: none; stroke-linecap: round; }
.marquee .mq-ico .sp-o { stroke: #01312f !important; stroke-width: 3.6; }
.marquee .mq-ico .sp-i { stroke: #dcfda3 !important; stroke-width: 2; }
/* Pasek usług: przy zjeżdżaniu do Oferty napisy płynnie szarzeją */
.marquee .marquee__track span { transition: color .6s var(--ease) !important; }
html body .marquee.is-dark .marquee__track span { color: #b9bab4 !important; }
/* Iskierki dokładnie jak na początku: cienkie seledynowe promienie, bez obwódki */
.marquee .mq-ico .sp-o { display: none; }
.marquee .mq-ico .sp-i { stroke: #dcfda3 !important; stroke-width: 2.2; stroke-linecap: butt; }
.marquee .mq-ico, .marquee.is-dark .mq-ico { width: clamp(30px, 2.6vw, 42px); height: clamp(30px, 2.6vw, 42px); }
/* Zdjęcie na pierwszym ekranie: doradca z tabletem, ciemno-zielona wersja */
.hero { background: #0b1210; }
.hero__bg-inner img { filter: brightness(.82) saturate(.9) contrast(1.05); }
@media (min-width: 821px) {
  .hero__bg-inner { left: 12%; inset-block: -3%; }
  .hero__bg-inner img { object-position: 50% 30% !important; scale: 1 !important; }
  .hero__overlay { background:
    radial-gradient(70% 60% at 0% 100%, rgba(1,49,47,.85), rgba(1,49,47,0) 70%),
    linear-gradient(0deg, rgba(1,49,47,.6), rgba(1,49,47,0) 30%),
    linear-gradient(90deg, #0b1210 0%, #0b1210 12%, rgba(11,18,16,.85) 30%, rgba(11,18,16,.45) 46%, rgba(1,49,47,.22) 62%, rgba(1,49,47,.18) 100%),
    linear-gradient(180deg, rgba(11,18,16,.45), rgba(11,18,16,0) 18%) !important; }
}
@media (max-width: 820px) {
  .hero__bg-inner img { object-position: 64% 0% !important; }
  .hero__overlay { background:
    linear-gradient(0deg, rgba(1,49,47,.7), rgba(1,49,47,0) 25%),
    linear-gradient(180deg, rgba(11,18,16,.45) 0%, rgba(11,18,16,.05) 14%, rgba(11,18,16,.1) 32%, rgba(11,18,16,.82) 50%, rgba(11,18,16,.92) 100%) !important; }
  .hero__main { justify-content: flex-end !important; }
}
/* Menu na komputerze: ciemne, półprzezroczyste tło pod linkami nad zdjęciem */
@media (min-width: 1025px) {
  body:not(.theme-light) .nav__menu { background: rgba(8,16,14,.5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; }
}
@media (min-width: 1025px) {
  body:not(.theme-light) .nav__menu { background: rgba(8,16,14,.62) !important; border-color: rgba(255,255,255,.14) !important; }
  body:not(.theme-light) .nav__link:not(.is-active) { color: #fff !important; opacity: 1 !important; }
}

/* =========================================================
   Fizek 3D - skacze po elementach strony przy przewijaniu
   ========================================================= */
.fizek { position: absolute; left: 0; top: 0; z-index: 60; width: 104px; height: 118px; padding: 0; border: 0; background: none; cursor: pointer;
  will-change: transform; transform: translate3d(var(--fx, -200px), var(--fy, -200px), 0); }
.fizek[hidden] { display: none; }
.fizek__inner { position: absolute; inset: 0; transform-origin: 50% 100%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.22)); }
.fizek .fz { width: 100%; height: 100%; display: block; overflow: visible; }
.fizek__shadow { position: absolute; left: 18%; right: 18%; bottom: -4px; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.28), rgba(0,0,0,0)); transform-origin: 50% 50%; }
/* życie na postoju */
.fz__body { transform-origin: 80px 170px; animation: fzBreath 3.2s ease-in-out infinite; }
.fz__head { transform-origin: 80px 100px; animation: fzHead 5s ease-in-out infinite; }
.fz__tail { transform-origin: 112px 128px; animation: fzWag .45s ease-in-out infinite alternate; }
.fz__ear--l { transform-origin: 44px 32px; animation: fzEarL 4s ease-in-out infinite; }
.fz__ear--r { transform-origin: 116px 32px; animation: fzEarR 4s ease-in-out infinite; }
.fz__lids { transform-origin: 80px 60px; transform: scaleY(0); animation: fzBlink 4.5s infinite; }
@keyframes fzBreath { 50% { transform: scale(1.02, .985); } }
@keyframes fzHead { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-6deg); } 60% { transform: rotate(4deg); } }
@keyframes fzWag { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes fzEarL { 0%, 80%, 100% { transform: rotate(0); } 88% { transform: rotate(8deg); } }
@keyframes fzEarR { 0%, 80%, 100% { transform: rotate(0); } 90% { transform: rotate(-8deg); } }
@keyframes fzBlink { 0%, 93%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }
.fizek:hover .fz__head { animation: fzTilt .6s ease-in-out; }
@keyframes fzTilt { 50% { transform: rotate(-14deg) translateY(-3px); } }
.fizek.is-air .fz__ear--l { animation: none; transform: rotate(28deg); transition: transform .2s; }
.fizek.is-air .fz__ear--r { animation: none; transform: rotate(-28deg); transition: transform .2s; }
.fizek.is-air .fz__tail { animation-duration: .18s; }
.fizek:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 12px; }
@media (max-width: 1024px) { .fizek { display: none !important; } }

/* =========================================================
   Produkty kredytowe dla firm: menu, karty, lista na stronie głównej
   ========================================================= */
.nav__menu { display: grid !important; grid-template-columns: 1.15fr 1fr; gap: 0 1.4rem; min-width: 560px; }
.nav__col { display: flex; flex-direction: column; }
.nav__label { margin: .3rem .9rem .5rem; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); opacity: .85; }
.nav__menu a:first-child { color: inherit; font-weight: inherit; }
.nav__menu .nav__main { color: var(--gold-2) !important; font-weight: 500; }
.nav__menu a { padding: .5rem .9rem; }
.mobile-menu__sub a.is-sub { font-size: .78rem; border-style: dashed; }
/* karty produktów na podstronie Kredytu firmowego */
a.type-card--link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.type-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-size: .85rem; font-weight: 500; color: var(--gold-2); }
.type-card__more svg { width: 14px; height: 14px; stroke: currentColor; transition: transform .3s; }
a.type-card--link:hover .type-card__more, a.type-card--link.is-lit .type-card__more { color: var(--ink); }
a.type-card--link:hover .type-card__more svg { transform: translateX(4px); }
.types__grid:has(> a.type-card--link) { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
/* lista produktów w karcie Kredyt firmowy na stronie głównej */
.feature__list a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .3s; }
.feature__list a:hover { color: #dcfda3; background-size: 100% 1px; }
@media (max-width: 1100px) { .nav__menu { min-width: 0; grid-template-columns: 1fr; } }
/* Fizek: chodzenie */
.fizek .fz { transition: transform .25s ease; transform-origin: 50% 50%; }
.fizek.is-walk .fz__paw--l { animation: fzStep .32s ease-in-out infinite alternate; }
.fizek.is-walk .fz__paw--r { animation: fzStep .32s ease-in-out infinite alternate-reverse; }
.fizek.is-walk .fz__leg--l { animation: fzLeg .32s ease-in-out infinite alternate-reverse; }
.fizek.is-walk .fz__leg--r { animation: fzLeg .32s ease-in-out infinite alternate; }
.fizek.is-walk .fz__body { animation: fzBob .32s ease-in-out infinite alternate; }
.fizek.is-walk .fz__head { animation: fzHeadBob .32s ease-in-out infinite alternate; }
.fizek.is-walk .fz__tail { animation-duration: .22s; }
@keyframes fzStep { from { transform: translateY(0); } to { transform: translateY(-7px); } }
@keyframes fzLeg { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes fzBob { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes fzHeadBob { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-4px) rotate(2deg); } }
.fizek { z-index: 45 !important; }

.fizek { transition: opacity .35s ease; }
.fizek.is-away { opacity: 0; pointer-events: none; }
/* Fizek przy formularzu: dymek */
.fizek__bubble { position: absolute; right: calc(100% - 6px); bottom: 78%; width: 210px; padding: .75rem .95rem; border-radius: 16px 16px 4px 16px;
  background: #fff; color: var(--ink); font-size: .82rem; line-height: 1.35; text-align: left; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45);
  opacity: 0; transform: translate(10px, 8px) scale(.9); transform-origin: 100% 100%; transition: opacity .35s ease, transform .5s cubic-bezier(.3,1.5,.5,1); pointer-events: none; }
.fizek__bubble strong { color: #01312f; }
.fizek.is-talk .fizek__bubble { opacity: 1; transform: none; }

/* Jasne nagłówki podstron (polityka prywatności, poradniki): czytelny tekst */
.page-hero--simple[data-theme="light"] { color: var(--ink); }
.page-hero--simple[data-theme="light"] .page-hero__lead { color: rgba(11,18,16,.72) !important; }
.page-hero--simple[data-theme="light"] .crumbs { color: rgba(11,18,16,.5); }
.page-hero--simple[data-theme="light"] .crumbs a { color: rgba(11,18,16,.72); }
.page-hero--simple[data-theme="light"] .crumbs [aria-current] { color: var(--bronze); }
.page-hero--simple[data-theme="light"] .article-meta { color: rgba(11,18,16,.55); }
.page-hero--simple[data-theme="light"] .page-hero__title { color: var(--ink); }
.page-hero--simple[data-theme="light"] + .section.legal { padding-top: clamp(1rem, 3vw, 2.5rem); }

/* Jasne karty na podstronach: zawsze ciemny tekst, niezależnie od motywu sekcji */
.aside-card { background: #efebe3 !important; color: var(--ink) !important; --fg: var(--ink); --muted: rgba(11,18,16,.68); }
.aside-card h3, .aside-card .ticks li { color: var(--ink) !important; }
.aside-card .ticks li::before { background: #01312f; }
.aside-card .ticks li::after { border-color: #dcfda3; }
/* FAQ na ciemnym tle: zawsze jasny tekst */
.section.faq { color: var(--paper); }
.section.faq .faq__item summary h3 { color: var(--paper) !important; }
.section.faq .faq__item p { color: rgba(242,239,233,.78) !important; }
.section.faq .faq__item { border-color: rgba(242,239,233,.16); }
/* Poradniki: karta „Kolejne poradniki” czytelna */
.gcard--soon { background: #efebe3 !important; color: var(--ink) !important; }
.gcard--soon p, .gcard--soon h2 { color: var(--ink) !important; }
