/* =========================================================
   Klient z wizytówki — Jakub, wizytówki Google (Siedlce)
   Typografia: Archivo (nagłówki) / Space Mono (etykiety) / Inter (tekst)
   Paleta: jasna, z dominującym błękitem pobranym z logotypu
   ========================================================= */

/* ---------- 1. Tokeny ---------- */
:root {
  /* tła i powierzchnie — biel z lekkim błękitnym podbiciem, nigdy czysta szarość */
  --bg:            #F7FAFF;
  --bg-alt:        #EDF3FF;
  --surface:       #FFFFFF;
  --line:          #DBE6F9;
  --line-strong:   #BDD1F3;

  /* marka — kolory pobrane z logotypu */
  --brand-deep:    #003BF3;
  --brand:         #0B5BFF;
  --brand-soft:    #E8F0FF;
  --brand-cyan:    #00A6D6;
  --grad:          linear-gradient(135deg, #003BF3 0%, #0B5BFF 48%, #00A6D6 100%);

  /* ciemna scena pod kartę „o mnie” i kafelek ceny */
  --stage:         linear-gradient(160deg, #061334 0%, #0A2A6B 55%, #073B7A 100%);

  /* tekst — granat zamiast czerni */
  --ink:           #08132E;
  --ink-2:         #44567A;
  --ink-3:         #5B6E92;

  /* stany */
  --bad:           #C0392F;
  --bad-soft:      #FDEEEC;
  --good:          #0E7A5F;
  --good-soft:     #E7F6F1;

  /* typografia */
  --font-display:  'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:     'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --font-body:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* metryka */
  --container:     1200px;
  --radius:        16px;
  --radius-lg:     24px;
  --radius-pill:   999px;
  --header-h:      72px;
  --ease:          cubic-bezier(.22, .61, .36, 1);

  --shadow-sm:     0 2px 8px rgba(8, 19, 46, .05);
  --shadow-md:     0 14px 34px -18px rgba(8, 19, 46, .28);
  --shadow-blue:   0 20px 44px -18px rgba(11, 91, 255, .45);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(15px, .3vw + 14.2px, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* widoczne tylko dla czytników ekranu */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 44px); }
.container--narrow { max-width: 840px; }

.section { padding-block: clamp(66px, 8vw, 116px); position: relative; }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 4.5vw, 66px); text-align: center; }
.section-head .lead { margin-inline: auto; }

/* ---------- 4. Typografia ---------- */
.h1, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.026em;
}
.h2 { font-size: clamp(1.75rem, 3.7vw, 2.9rem); margin-bottom: 20px; }
.h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: -.01em; }

.dot { color: var(--brand); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, .75vw, 11.5px);
  font-weight: 700; text-transform: uppercase; letter-spacing: .2em;
  color: var(--brand); margin-bottom: 16px;
}
.eyebrow--pin { display: inline-flex; align-items: center; gap: 9px; }
.eyebrow--pin svg { width: 13px; height: 13px; flex-shrink: 0; }

.lead { color: var(--ink-2); font-size: clamp(15px, 1vw, 17.5px); max-width: 62ch; }
.lead strong { color: var(--ink); font-weight: 650; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 24px;
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--brand);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 5px;
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.link-arrow:hover { gap: 15px; border-color: var(--brand); }

.note { font-size: 13px; color: var(--ink-3); }

/* ---------- 5. Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .13em; white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--grad); background-size: 150% 150%; color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 24px 50px -16px rgba(11, 91, 255, .55); }

.btn--ghost { border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--sm { padding: 11px 19px; font-size: 11px; }
.btn--lg { padding: 19px 32px; font-size: 13px; }
.btn--block { width: 100%; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.btn-wa:hover { color: var(--brand); }
.btn-wa svg { width: 15px; height: 15px; }

/* ---------- 6. Nagłówek ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  padding: 14px clamp(14px, 3vw, 26px);
  transition: padding .3s var(--ease);
}
.site-header.is-scrolled { padding-block: 8px; }

.nav-shell { max-width: var(--container); margin-inline: auto; }
.nav {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  padding: 9px 10px 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled .nav {
  background: rgba(255, 255, 255, .96);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 28px; height: auto; }
.brand__name {
  font-family: var(--font-display); font-weight: 800;
  font-size: 14.5px; text-transform: uppercase; letter-spacing: -.005em; white-space: nowrap;
}
.brand__name i { color: var(--brand); font-style: normal; }

.nav__links { display: flex; align-items: center; gap: clamp(12px, 1.9vw, 28px); margin-left: auto; }
.nav__links > li > a:not(.btn) {
  position: relative; display: inline-block; padding-block: 6px;
  font-family: var(--font-mono); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: .15em; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.nav__links > li > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--brand); transition: width .25s var(--ease);
}
.nav__links > li > a:not(.btn):hover,
.nav__links > li > a.is-active { color: var(--ink); }
.nav__links > li > a:not(.btn):hover::after,
.nav__links > li > a.is-active::after { width: 100%; }
.nav__links-cta { display: none; }

.nav__burger {
  display: none; width: 40px; height: 40px; margin-left: auto;
  border-radius: 50%; border: 1px solid var(--line-strong);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span {
  display: block; width: 16px; height: 1.6px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; padding-top: clamp(112px, 13vw, 168px); padding-bottom: clamp(48px, 6vw, 84px); overflow: hidden; }
.hero__wash {
  position: absolute; inset: -20% 0 auto 0; height: 78%;
  background: radial-gradient(ellipse 60% 70% at 72% 32%, rgba(11, 91, 255, .13), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  gap: clamp(30px, 3.4vw, 52px); align-items: center;
}
.hero__lead { margin-top: 26px; font-size: clamp(15px, 1.05vw, 18px); color: var(--ink-2); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero__assurance { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: 28px; }
.hero__assurance li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3);
}
.hero__assurance li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }

/* telefon stoi na przezroczystym tle — pod nim tylko miękka poświata */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__visual::before {
  content: ''; position: absolute; inset: 6% 2% 10%;
  background: radial-gradient(ellipse 58% 52% at 50% 46%, rgba(11, 91, 255, .20), rgba(0, 166, 214, .10) 45%, transparent 72%);
  filter: blur(26px);
  pointer-events: none;
}
.hero__phone {
  position: relative;
  width: min(100%, 300px);
  filter: drop-shadow(0 26px 40px rgba(8, 19, 46, .22));
}

/* ---------- 8. Karty problemów ---------- */
.split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(30px, 4.5vw, 68px); align-items: start; }
.split__left { position: sticky; top: calc(var(--header-h) + 46px); }

.pains { display: grid; gap: 12px; }
.pains li {
  display: flex; gap: 15px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pains li:hover { transform: translateX(4px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.pains__x {
  display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
  width: 25px; height: 25px; border-radius: 8px;
  background: var(--bad-soft); color: var(--bad); font-size: 12px;
}
.pains strong { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.pains p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }

.callout {
  margin-top: clamp(34px, 4vw, 56px);
  padding: clamp(26px, 3.2vw, 40px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, var(--brand-soft), #F5FAFF);
  text-align: center;
}
.callout p { font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.2rem, 2.5vw, 1.95rem); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
.callout span { color: var(--brand); }
.callout .note { margin-top: 14px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; }

/* ---------- 9. Sekcja „Jakub” ---------- */
.jakub { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 4.5vw, 64px); align-items: center; }
.jakub__card {
  padding: clamp(26px, 3vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--stage); color: #EAF1FF;
  box-shadow: 0 28px 56px -26px rgba(6, 19, 52, .55);
}
.jakub__mark {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px;
  border-radius: 15px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.jakub__mark img { width: 26px; }
.jakub__card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.02; letter-spacing: -.015em; }
.jakub__card p { color: #B9CBEA; font-size: 15px; margin-top: 14px; }
.jakub__facts { display: grid; gap: 11px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.jakub__facts li { position: relative; padding-left: 24px; font-size: 14.5px; color: #D6E3F8; line-height: 1.55; }
.jakub__facts li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand-cyan); font-size: 12px; }

/* ---------- 10. Karty usług ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: clamp(13px, 1.5vw, 18px); }
.card {
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 13px; background: var(--brand-soft); color: var(--brand);
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-size: 17.5px; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.62; }

/* ---------- 11. Porównanie profili ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: start; }
.profile {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm);
}
.profile--win { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.profile__head {
  display: flex; align-items: center; gap: 9px;
  padding: 13px 22px;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
}
.profile--lose .profile__head { background: var(--bad-soft); color: var(--bad); }
.profile--win  .profile__head { background: var(--good-soft); color: var(--good); }
.profile__body { padding: 22px; }
.profile__body > strong { display: block; font-size: 16px; margin-bottom: 14px; }
.profile__rows { display: grid; gap: 0; }
.profile__rows li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-2);
}
.profile__rows li:first-child { border-top: 0; }
.profile__rows b { font-weight: 650; text-align: right; }
.profile__rows .rating { display: inline-flex; align-items: baseline; gap: 7px; }
.profile__rows .stars-mini { letter-spacing: 1px; font-size: 12px; }
.profile--lose .stars-mini { color: #C9CFDA; }
.profile--win  .stars-mini { color: #F2B01E; }
.profile--lose .profile__rows b { color: var(--bad); }
.profile--win  .profile__rows b { color: var(--good); }

/* ---------- 12. Proces ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: clamp(13px, 1.5vw, 18px); counter-reset: step; }
.step {
  padding: clamp(22px, 2.4vw, 28px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.step__num {
  display: block; margin-bottom: 16px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--brand);
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 14px; line-height: 1.62; }
.step em { font-style: normal; color: var(--brand); font-weight: 600; }

/* ---------- 13. Tabela porównawcza ---------- */
.compare-wrap { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 15px clamp(16px, 2vw, 26px); text-align: left; font-size: 14.5px; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .13em; }
.compare thead th:first-child { border-top-left-radius: var(--radius-lg); }
.compare thead th:last-child  { border-top-right-radius: var(--radius-lg); }
.compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare tbody tr:nth-child(even) { background: #FAFCFF; }
.compare td:first-child { color: var(--ink-2); font-weight: 500; }
.compare .col-them { color: var(--bad); }
.compare .col-me { color: var(--good); font-weight: 650; }
.compare thead .col-me { color: #8FD8FF; }

/* poniżej 760 px każdy wiersz staje się osobną kartą — przewijanie tabeli w bok
   na telefonie jest nieczytelne i ukrywa najważniejszą kolumnę poza ekranem */
@media (max-width: 760px) {
  .compare-wrap { border: 0; background: none; box-shadow: none; border-radius: 0; }
  .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr {
    padding: 18px 20px; margin-bottom: 12px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface); box-shadow: var(--shadow-sm);
  }
  .compare tbody tr:nth-child(even) { background: var(--surface); }
  .compare tbody tr + tr td { border-top: 0; }
  .compare td { padding: 0; }
  .compare td:first-child {
    font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .13em; color: var(--ink-3);
    margin-bottom: 12px;
  }
  .compare td.col-them, .compare td.col-me { position: relative; padding-left: 92px; margin-top: 9px; font-size: 14.5px; }
  .compare td.col-them::before, .compare td.col-me::before {
    position: absolute; left: 0; top: 0; width: 82px;
    font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em; line-height: 1.7;
  }
  .compare td.col-them::before { content: 'Agencja'; color: var(--bad); opacity: .75; }
  .compare td.col-me::before   { content: 'Jakub';   color: var(--good); opacity: .75; }
}

/* ---------- 14. Cennik — jeden kafelek ---------- */
.price-wrap { display: flex; justify-content: center; }
.price {
  position: relative; width: min(100%, 560px);
  padding: clamp(30px, 3.6vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--stage); color: #EAF1FF;
  box-shadow: 0 34px 70px -30px rgba(6, 19, 52, .6);
  text-align: center; overflow: hidden;
}
.price::before {
  content: ''; position: absolute; inset: -40% -20% auto -20%; height: 90%;
  background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(0, 166, 214, .28), transparent 70%);
  pointer-events: none;
}
.price > * { position: relative; }
.price__label {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em; color: #8FD8FF;
}
.price__amount { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 20px; }
.price__value {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 5.2rem); line-height: .9; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.price__unit { font-size: 15px; color: #B9CBEA; }
.price__setup { margin-top: 16px; font-size: 15px; color: #D6E3F8; }
.price__setup b { color: #fff; font-weight: 650; }
.price__terms {
  margin-top: 10px; font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .12em; color: #8FA9D6;
}
.price__list {
  display: grid; gap: 13px; text-align: left;
  margin: 30px 0; padding-block: 28px;
  border-block: 1px solid rgba(255, 255, 255, .14);
}
.price__list li { position: relative; padding-left: 32px; font-size: 14.5px; color: #DCE7FA; line-height: 1.55; }
.price__list li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(0, 166, 214, .2); color: #7FE1FF; font-size: 11px;
}
.price__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.price .btn-wa { color: #B9CBEA; }
.price .btn-wa:hover { color: #7FE1FF; }

/* ---------- 15. FAQ ---------- */
.faq { display: grid; gap: 11px; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 19px clamp(18px, 2.2vw, 26px);
  cursor: pointer; list-style: none;
  font-size: clamp(15px, 1.1vw, 16.5px); font-weight: 650;
  transition: color .2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__item summary i {
  position: relative; flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--line-strong);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease);
}
.faq__item summary i::before, .faq__item summary i::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  background: var(--brand); transform: translate(-50%, -50%); transition: opacity .25s var(--ease), background-color .25s var(--ease);
}
.faq__item summary i::before { width: 10px; height: 1.6px; }
.faq__item summary i::after  { width: 1.6px; height: 10px; }
.faq__item[open] summary i { background: var(--grad); border-color: transparent; transform: rotate(180deg); }
.faq__item[open] summary i::before { background: #fff; }
.faq__item[open] summary i::after { opacity: 0; }
.faq__answer { padding: 0 clamp(18px, 2.2vw, 26px) 22px; }
.faq__answer p { color: var(--ink-2); font-size: 14.8px; max-width: 72ch; }
.faq__answer p + p { margin-top: 12px; }

/* ---------- 16. Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 4vw, 60px); align-items: start; }
.contact__list { display: grid; gap: 11px; margin-top: 28px; }
.contact__list li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15px; }
.contact__list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--brand); font-size: 12px; }

.contact__direct { display: grid; gap: 10px; margin-top: 28px; }
.contact__direct a, .contact__direct span {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; color: var(--ink); transition: color .2s var(--ease);
}
.contact__direct a:hover { color: var(--brand); }
.contact__direct svg { width: 17px; height: 17px; color: var(--brand); flex-shrink: 0; }
.contact__area {
  margin-top: 26px; padding: 16px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); font-size: 14px; color: var(--ink-2);
}
.contact__area strong { color: var(--ink); }

/* ---------- 17. Formularz ---------- */
.form {
  display: grid; gap: 17px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-md);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2);
}
.field label span { color: var(--brand); }
.field input, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--line-strong); border-radius: 11px;
  background: #FBFDFF; font-size: 15px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #93A5C2; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 91, 255, .14);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--bad); }
.field__error { font-size: 12.5px; color: var(--bad); }
.field__error:empty { display: none; }
.field__hint { font-size: 12.5px; color: var(--ink-3); }

.checkbox { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.checkbox input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); cursor: pointer; }
.checkbox span { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.checkbox a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

.form__status { font-size: 14px; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--good); }
.form__status.is-error { color: var(--bad); }

/* ---------- 18. Stopka ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding-block: clamp(42px, 5vw, 66px) 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 4.5vw, 64px); padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--ink-2); font-size: 14.5px; margin-top: 16px; max-width: 44ch; }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.footer__nav h3 { font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; color: var(--ink); margin-bottom: 15px; }
.footer__nav ul { display: grid; gap: 10px; }
.footer__nav a, .footer__nav span { font-size: 14px; color: var(--ink-2); transition: color .2s var(--ease); }
.footer__nav a:hover { color: var(--brand); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px; padding-top: 24px; }
.footer__bottom p { font-size: 12.5px; color: var(--ink-3); }
.footer__note { max-width: 52ch; }

/* ---------- 19. Animacje wejścia ---------- */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 20. Szybsze rysowanie sekcji poza ekranem ---------- */
#uslugi, #porownanie, #proces, #agencja, #cennik, #faq {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

/* ---------- 21. Responsywność ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .jakub, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
    background: #fff; box-shadow: 0 24px 50px -22px rgba(8, 19, 46, .35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links > li > a:not(.btn) { display: block; padding: 12px 15px; border-radius: 11px; }
  .nav__links > li > a:not(.btn):hover { background: var(--brand-soft); }
  .nav__links > li > a:not(.btn)::after { display: none; }
  .nav__links-cta { display: block; margin-top: 6px; }
  .nav__links-cta .btn { width: 100%; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero { padding-top: 104px; }
  .hero__inner { grid-template-columns: 1fr; gap: 38px; }
  .hero__visual { order: 2; }
  .hero__phone { width: min(64%, 270px); }

  .split { grid-template-columns: 1fr; }
  .split__left { position: static; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .brand__name { font-size: 13px; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { gap: 12px; }
  .versus { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .profile__rows li { flex-direction: column; gap: 2px; }
  .profile__rows b { text-align: left; }
}

@media (max-width: 380px) { .footer__nav { grid-template-columns: 1fr; } }

/* ---------- 22. Ograniczona animacja ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 23. Druk ---------- */
@media print {
  .site-header, .hero__wash { display: none !important; }
  body { background: #fff; }
  .card, .price, .faq__item, .step { break-inside: avoid; box-shadow: none; }
}

/* ---------- 24. Strona dokumentu (regulamin, polityka) ---------- */
.doc-hero {
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(34px, 4vw, 54px);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.doc-hero h1 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: .98; letter-spacing: -.022em; }
.doc-hero .eyebrow { margin-bottom: 14px; }
.doc-hero__meta { margin-top: 16px; font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-3); }

.doc { padding-block: clamp(40px, 5vw, 68px) clamp(56px, 7vw, 96px); }
.doc__intro {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--brand-soft); color: var(--ink-2); font-size: 15px;
}
.doc section { margin-top: clamp(34px, 4vw, 52px); }
.doc h2 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.08; letter-spacing: -.015em;
  padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.doc h2 span { color: var(--brand); }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 14px; }
.doc ul { display: grid; gap: 9px; }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: '—'; position: absolute; left: 0; top: 0; color: var(--brand); }
.doc strong { color: var(--ink); font-weight: 650; }
.doc a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.doc dl { display: grid; gap: 10px; margin-top: 14px; }
.doc dl div { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.doc dt { font-weight: 650; color: var(--ink); min-width: 190px; }
.doc dd { margin: 0; color: var(--ink-2); }

.doc__end {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--stage); color: #DCE7FA; font-size: 15px;
}
.doc__end a { color: #7FE1FF; text-decoration: underline; text-underline-offset: 3px; }



/* pole pułapka na boty — musi być niewidoczne, ale nie przez display:none,
   bo część botów pomija ukryte w ten sposób pola */
.hp {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}

/* ---------- 25. Odnośnik do Facebooka ---------- */
.social {
  display: inline-flex; align-items: center; gap: 13px; margin-top: 20px;
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.social:hover { color: var(--brand); }
.social__icon {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.social:hover .social__icon { background: var(--brand); color: #fff; }
.social__icon svg { width: 24px; height: 24px; }

}
