/* ============================================================
   KapitałPro — Finansowanie dla firm
   Design system: Navy + Złoto · Manrope + Fraunces
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Kolory */
  --navy-900: #081424;
  --navy-800: #0A1A2F;
  --navy-700: #0B2545;
  --navy-600: #12325C;
  --navy-500: #1C4173;

  --gold:      #C9A24A;
  --gold-soft: #E0C074;
  --gold-deep: #A8842F;

  --ink:    #0E1726;
  --body:   #36414F;
  --muted:  #6B7585;
  --line:   #E5E9F0;
  --line-soft: #EEF2F7;

  --white:  #FFFFFF;
  --off:    #F6F8FC;
  --off-2:  #EEF3F9;

  /* Cienie */
  --sh-sm: 0 1px 2px rgba(10, 26, 47, .06), 0 1px 3px rgba(10, 26, 47, .04);
  --sh-md: 0 6px 20px rgba(10, 26, 47, .08), 0 2px 6px rgba(10, 26, 47, .05);
  --sh-lg: 0 18px 50px rgba(10, 26, 47, .14), 0 6px 16px rgba(10, 26, 47, .07);
  --sh-gold: 0 10px 30px rgba(201, 162, 74, .28);

  /* Promienie */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Layout */
  --container: 1180px;
  --container-narrow: 800px;
  --gap: clamp(2rem, 5vw, 4.5rem);

  /* Typografia */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }
section[id], div[id="formularz"] { scroll-margin-top: calc(var(--header-h) + 14px); }
body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
input, button, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typografia ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.12; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.65rem); font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-weight: 600; }

.text-gold { color: var(--gold); }
.text-gold-dark { color: var(--gold-deep); }

/* ---------- Helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, var(--container-narrow)); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-gold { stroke: var(--gold-deep); }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem; position: relative; padding-left: 2.4rem;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1.8rem; height: 2px; background: var(--gold);
}
.eyebrow-gold { color: var(--gold-soft); }
.eyebrow-gold::before { background: var(--gold); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: var(--r-md); border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap; cursor: pointer;
}
.btn .icon { width: 1.15em; height: 1.15em; stroke-width: 2.4; }
.btn-sm { padding: .65rem 1.15rem; font-size: .92rem; border-radius: var(--r-sm); }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.08rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--navy-900);
  box-shadow: var(--sh-gold);
  border-color: rgba(168, 132, 47, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 162, 74, .42); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: var(--sh-sm); background: rgba(255,255,255,.96); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.brand-logo { height: 50px; width: auto; }
.nav-links { display: flex; gap: 1.9rem; }
.nav-links a { font-weight: 600; font-size: .96rem; color: var(--body); position: relative; padding: .3rem 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold);
  transition: width .25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--navy-700); font-size: .96rem; }
.nav-phone .icon { color: var(--gold-deep); width: 1.05em; height: 1.05em; }
.nav-phone:hover { color: var(--gold-deep); }
.nav-toggle { display: none; background: var(--navy-800); color: #fff; border: 0; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle .icon { width: 1.5em; height: 1.5em; }

.mobile-menu { display: none; flex-direction: column; gap: .35rem; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--line-soft); background: #fff; }
.mobile-menu a { padding: .85rem .5rem; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.btn { justify-content: center; border-bottom: 0; margin-top: .6rem; }
.mobile-phone { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold-deep); }
.mobile-phone .icon { width: 1.1em; height: 1.1em; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; isolation: isolate;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: url("../assets/tlo-linie-navy-zloto.jpg") center/cover no-repeat;
  opacity: .22; mix-blend-mode: screen;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 50% at 20% 30%, rgba(201,162,74,.10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: center; }
.hero-copy { max-width: 36rem; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #C7D2E0; max-width: 34rem; margin-bottom: 2.1rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero-reassure { display: flex; align-items: center; gap: .6rem; font-size: .96rem; color: #B6C2D2; }
.hero-reassure strong { color: #fff; }
.hero-reassure .icon { color: var(--gold-soft); width: 1.3em; height: 1.3em; }

.hero-visual { position: relative; }
.hero-photo-frame {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  border: 1px solid rgba(201,162,74,.35);
  box-shadow: var(--sh-lg), 0 0 0 6px rgba(255,255,255,.03);
}
.hero-photo-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(8,20,36,.45));
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1.2rem; bottom: 1.6rem;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; color: var(--ink); padding: .9rem 1.2rem; border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
}
.hero-badge .icon { color: var(--gold-deep); width: 1.7em; height: 1.7em; }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.hero-badge span { font-size: .82rem; color: var(--muted); }

/* ============================================================
   PASEK ZAUFANIA
   ============================================================ */
.trustbar { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,.06); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 1.5rem 0; }
.trust-item { display: flex; align-items: center; gap: .85rem; color: #DCE4EF; justify-content: center; }
.trust-item .icon { color: var(--gold-soft); width: 1.6em; height: 1.6em; }
.trust-item strong { display: block; color: #fff; font-size: .98rem; }
.trust-item span { font-size: .82rem; color: #93A1B5; }

/* ============================================================
   SECTIONS (ogólne)
   ============================================================ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--off); }
.section-head { max-width: 44rem; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section-head h2 { margin-bottom: .9rem; }
.section-lead { font-size: 1.12rem; color: var(--muted); }
.section-head-light h2 { color: #fff; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--gap); align-items: center; }
.split-copy h2 { margin-bottom: 1.1rem; }
.split-copy .section-lead { margin-bottom: 1.8rem; }
.split-reverse .split-copy { order: 2; }
.split-reverse .split-visual { order: 1; }
.visual-card {
  background: #fff; border-radius: var(--r-xl); padding: clamp(1.2rem, 3vw, 2.2rem);
  border: 1px solid var(--line); box-shadow: var(--sh-md);
}
.visual-card img { border-radius: var(--r-lg); width: 100%; }
.section-alt .visual-card { box-shadow: var(--sh-lg); }

/* ============================================================
   PROBLEM (PAS)
   ============================================================ */
.problem .section-head { max-width: 50rem; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.5rem; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.75rem; box-shadow: var(--sh-sm); position: relative; overflow: hidden;
  transition: transform .2s ease, box-shadow .25s ease;
}
.pain-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(var(--gold-soft), var(--gold)); opacity: .9; }
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pain-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); font-weight: 600; display: block; margin-bottom: .4rem; line-height: 1; }
.pain-card h3 { margin-bottom: .55rem; }
.pain-card p { color: var(--muted); font-size: .98rem; }
.problem-solution {
  text-align: center; font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  color: var(--ink); max-width: 46rem; margin: 0 auto; line-height: 1.4;
}
.problem-solution strong { color: var(--gold-deep); }

/* ============================================================
   KORZYŚCI
   ============================================================ */
.benefit-list { display: flex; flex-direction: column; gap: 1.15rem; margin-bottom: 2rem; }
.benefit-list li { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-list .icon { width: 1.5em; height: 1.5em; margin-top: .15rem; padding: .55rem; box-sizing: content-box; background: rgba(201,162,74,.12); border-radius: 10px; }
.benefit-list strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: .15rem; font-family: var(--serif); font-weight: 600; }
.benefit-list div { color: var(--muted); font-size: .98rem; line-height: 1.55; }

/* ============================================================
   OFERTA
   ============================================================ */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.offer-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.6rem; display: flex; flex-direction: column; gap: .7rem;
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}
.section-alt .offer-card { box-shadow: var(--sh-sm); }
.offer-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(201,162,74,.5); }
.offer-icon {
  width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); color: var(--gold-soft);
  border-radius: var(--r-md); margin-bottom: .4rem;
}
.offer-icon .icon { width: 1.6em; height: 1.6em; }
.offer-card h3 { font-size: 1.18rem; }
.offer-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--gold-deep); font-size: .95rem; margin-top: .3rem; }
.card-link .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.offer-card:hover .card-link .icon { transform: translateX(4px); }

/* ============================================================
   DLA KOGO
   ============================================================ */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2.2rem; }
.audience-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem 1.75rem;
  box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .25s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.audience-card h3 { margin-bottom: .5rem; }
.audience-card p { color: var(--muted); font-size: .97rem; }
.branch-tags { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.branch-tags span {
  background: #fff; border: 1px solid var(--line); color: var(--body);
  padding: .5rem 1.05rem; border-radius: 100px; font-size: .92rem; font-weight: 600;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.branch-tags span:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }

/* ============================================================
   PROCES
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 1.6rem; margin-bottom: 2rem; }
.steps li { display: flex; gap: 1.2rem; align-items: flex-start; position: relative; }
.step-num {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy-900);
  background: linear-gradient(160deg, var(--gold-soft), var(--gold)); box-shadow: var(--sh-gold);
}
.steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 23.5px; top: 52px; width: 1px; height: calc(100% - 12px);
  background: linear-gradient(var(--gold), transparent);
}
.steps h3 { margin-bottom: .3rem; }
.steps p { color: var(--muted); font-size: .98rem; }

/* ============================================================
   KALKULATOR
   ============================================================ */
.calc {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--sh-lg);
}
.calc-controls { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 2.2rem; justify-content: center; }
.calc-field label { display: block; font-weight: 700; color: var(--ink); font-size: 1.02rem; margin-bottom: .2rem; }
.calc-output-inline { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-deep); font-weight: 600; margin-bottom: .7rem; }
.calc-range-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: .5rem; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 100px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 40%), var(--off-2) var(--fill, 40%));
  outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 5px solid var(--gold); box-shadow: var(--sh-md); cursor: pointer; margin-top: -1px;
  transition: transform .15s ease;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid var(--gold);
  box-shadow: var(--sh-md); cursor: pointer;
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 100px; background: var(--off-2); }

.calc-result {
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-700), var(--navy-900));
  color: #fff; padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.calc-result-label { font-size: .92rem; color: #B6C2D2; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.calc-result-value { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 3.6rem); color: var(--gold-soft); font-weight: 600; line-height: 1.1; margin: .5rem 0 .3rem; }
.calc-result-sub { font-size: .9rem; color: #93A1B5; margin-bottom: 1.6rem; }
.calc-result .btn { width: 100%; }
.calc-disclaimer { font-size: .76rem; color: #7E8DA3; margin-top: 1.1rem; line-height: 1.5; }

/* ============================================================
   LICZBY / STATS
   ============================================================ */
.stats { position: relative; isolation: isolate; color: #fff; padding: clamp(3.5rem, 8vw, 6rem) 0; overflow: hidden; }
.stats-bg { position: absolute; inset: 0; z-index: -1; background: var(--navy-800) url("../assets/tlo-abstrakcja-navy-zloto.jpg") center/cover no-repeat; }
.stats-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,36,.82), rgba(8,20,36,.9)); }
.stats .section-head { margin-inline: auto; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat-num { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; color: var(--gold-soft); line-height: 1; margin-bottom: .5rem; }
.stat-label { color: #C7D2E0; font-size: .95rem; }

/* ============================================================
   ZAUFANIE INSTYTUCJONALNE
   ============================================================ */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 3rem; }
.partner-slot {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 92px; padding: 1rem; border-radius: var(--r-md);
  background: var(--off); border: 1px dashed var(--line); color: var(--navy-700); font-size: .92rem; line-height: 1.3;
}
.partner-slot strong { font-family: var(--serif); }
.partner-empty { color: var(--muted); font-weight: 600; }
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.security-item { display: flex; gap: 1rem; align-items: flex-start; }
.security-item .icon { width: 1.5em; height: 1.5em; padding: .6rem; box-sizing: content-box; background: rgba(201,162,74,.12); border-radius: 10px; flex: none; }
.security-item strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.08rem; margin-bottom: .25rem; }
.security-item p { color: var(--muted); font-size: .95rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: .85rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.faq-item[open] { box-shadow: var(--sh-md); border-color: rgba(201,162,74,.4); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; font-weight: 700; color: var(--ink); font-size: 1.05rem; font-family: var(--serif);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--gold-deep); transition: transform .25s ease; width: 1.3em; height: 1.3em; flex: none; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-body { padding: 0 1.5rem 1.4rem; }
.faq-body p { color: var(--body); }

/* ============================================================
   FORMULARZ / LEAD
   ============================================================ */
.lead-section { background: linear-gradient(180deg, var(--off) 0%, #fff 35%); }
.lead-split { align-items: start; gap: clamp(2rem, 4vw, 3.5rem); }
.lead-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.lead-aside h2 { margin-bottom: 1rem; }
.lead-aside .section-lead { margin-bottom: 1.8rem; }

.advisor-card {
  display: flex; gap: 1.1rem; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.2rem; box-shadow: var(--sh-md); margin-bottom: 1.6rem;
}
.advisor-photo { width: 96px; height: 120px; object-fit: cover; border-radius: var(--r-md); flex: none; border: 2px solid var(--gold-soft); }
.advisor-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-deep); font-weight: 700; }
.advisor-info strong { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }
.advisor-role { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .5rem; }
.advisor-contacts { display: flex; flex-direction: column; gap: .25rem; }
.advisor-contacts a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .92rem; color: var(--navy-700); }
.advisor-contacts a:hover { color: var(--gold-deep); }
.advisor-contacts .icon { color: var(--gold-deep); width: 1.05em; height: 1.05em; }

.lead-reassure { display: flex; flex-direction: column; gap: .7rem; }
.lead-reassure li { display: flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--body); font-size: .98rem; }
.lead-reassure .icon { width: 1.2em; height: 1.2em; }

/* Form */
.lead-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.6rem); box-shadow: var(--sh-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group > label, .group-label { display: block; font-weight: 700; color: var(--ink); font-size: .96rem; margin-bottom: .5rem; }
.req { color: var(--gold-deep); }

.lead-form input[type="text"], .lead-form input[type="tel"] {
  width: 100%; padding: .9rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--off); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.lead-form input::placeholder { color: #9AA6B6; }
.lead-form input:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(201,162,74,.14); }
.lead-form input.invalid { border-color: #D1485B; background: #FDF4F5; }

.choice-group { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .6rem; }
.choice-group-2 { grid-template-columns: 1fr 1fr; max-width: 320px; }
.choice {
  background: var(--off); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: .8rem .9rem; font-weight: 600; color: var(--body); text-align: center;
  transition: all .18s ease;
}
.choice:hover { border-color: var(--gold-soft); color: var(--ink); }
.choice.selected { background: var(--navy-800); color: #fff; border-color: var(--navy-800); box-shadow: var(--sh-md); }
.choice.selected::before { content: "✓ "; color: var(--gold-soft); font-weight: 800; }

.field-error { display: none; color: #D1485B; font-size: .85rem; margin-top: .4rem; font-weight: 600; }
.field-error.show { display: block; }

/* Honeypot — ukryty */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* Checkbox RODO */
.form-consent { background: var(--off); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.checkbox { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox-box {
  flex: none; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 7px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: all .18s ease; margin-top: 1px;
}
.checkbox-box .icon { width: 1em; height: 1em; opacity: 0; color: #fff; stroke-width: 3; transition: opacity .15s ease; }
.checkbox input:checked + .checkbox-box { background: var(--navy-800); border-color: var(--navy-800); }
.checkbox input:checked + .checkbox-box .icon { opacity: 1; }
.checkbox input:focus-visible + .checkbox-box { outline: 3px solid var(--gold); outline-offset: 2px; }
.checkbox-text { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.form-microcopy { display: flex; align-items: center; gap: .5rem; font-size: .86rem; color: var(--muted); margin-top: 1rem; justify-content: center; }
.form-microcopy .icon { color: var(--gold-deep); width: 1.1em; height: 1.1em; }
.form-error-global { color: #D1485B; font-weight: 600; text-align: center; margin-top: 1rem; }

/* Sukces */
.lead-success { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.success-icon { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(160deg, var(--gold-soft), var(--gold)); color: var(--navy-900); margin-bottom: 1.3rem; box-shadow: var(--sh-gold); }
.success-icon .icon { width: 2.4em; height: 2.4em; stroke-width: 2.4; }
.lead-success h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.lead-success p { color: var(--muted); max-width: 30rem; margin: 0 auto .5rem; }
.success-sub { margin-top: 1.4rem !important; font-weight: 600; color: var(--body) !important; }
.lead-success .btn { margin-top: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy-900); color: #AEB9C8; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo-pill { background: #fff; border-radius: var(--r-md); padding: .7rem 1rem; display: inline-block; margin-bottom: 1.1rem; }
.footer-logo-pill img { height: 46px; width: auto; }
.footer-brand p { font-size: .95rem; max-width: 22rem; }
.footer-col h4 { color: #fff; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a { font-size: .94rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-contact .icon { color: var(--gold-soft); width: 1.05em; height: 1.05em; }
.footer-company { font-size: .9rem; color: #8595A8; margin-top: .4rem; line-height: 1.6; }
.footer-col .btn { margin-top: 1.2rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: .85rem; color: #76859A; }
.footer-legal { max-width: 40rem; }

/* ============================================================
   STICKY CTA (mobile)
   ============================================================ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .7rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(10,26,47,.12);
  transform: translateY(120%); transition: transform .3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-phone { flex: none; width: 52px; display: inline-flex; align-items: center; justify-content: center; background: var(--navy-800); color: var(--gold-soft); border-radius: var(--r-md); }
.sticky-phone .icon { width: 1.4em; height: 1.4em; }
.sticky-main { flex: 1; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 30rem; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-visual { order: 2; }
  .split-visual { max-width: 30rem; margin-inline: auto; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-aside { position: static; }
  .lead-split { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-phone { display: none; }
  .nav-actions .btn-primary { display: none; }
  .site-header.menu-open .mobile-menu { display: flex; }
  .pain-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
  .trust-item { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 540px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .form-row { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-badge { left: 0; right: 0; margin: 0 1rem; bottom: -1.4rem; }
  .hero-visual { margin-bottom: 1.4rem; }
  .advisor-card { flex-direction: column; text-align: center; }
  .advisor-contacts { align-items: center; }
  .choice-group { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
