/* =========================================================
   Prawdziwe Oblicze — wspólne style całej strony
   ========================================================= */
:root {
  --ink: #141210;
  --ink-2: #1d1a16;
  --ink-3: #2a2621;
  --paper: #f4f0e8;
  --paper-2: #ebe5d8;
  --white: #fffdf9;
  --text: #1f1c18;
  --muted: #6e675c;
  --muted-dark: #a39a8a;
  --soft-dark: #cfc7b8;
  --line: rgba(20, 18, 16, .12);
  --line-dark: rgba(244, 240, 232, .12);
  --brass: #c8a45d;
  --brass-hover: #d6b46f;
  --brass-ink: #86662a;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; }
h1 em, h2 em, h3 em { font-style: italic; }

.label { font-size: 13px; font-weight: 500; color: var(--muted); }
.label-dot::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass);
  margin-right: 10px;
  vertical-align: 2px;
}
.on-dark .label, .label.on-dark { color: var(--muted-dark); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--brass); color: var(--ink); }
.btn-primary:hover { background: var(--brass-hover); }
.btn-ghost { border: 1px solid var(--line-dark); color: var(--paper); }
.btn-ghost:hover { border-color: rgba(244, 240, 232, .4); }
.btn-outline { border: 1px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: rgba(20, 18, 16, .35); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; padding: 18px 26px; font-size: 16px; }

/* ---------- Nagłówek ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 16, .9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}
.brand { font-family: var(--serif); font-size: 22px; color: var(--paper); letter-spacing: -.01em; white-space: nowrap; }
.brand em { color: var(--brass); }
.nav-main { display: flex; gap: 6px; }
.nav-main a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-main a:hover { color: var(--paper); }
.nav-main a[aria-current="page"] { color: var(--paper); background: rgba(244, 240, 232, .08); }
.nav-sub { display: flex; gap: 24px; font-size: 14px; color: var(--muted-dark); margin-left: auto; }
.nav-sub a:hover { color: var(--paper); }
.nav .btn { margin-left: auto; }
.nav-sub + .btn { margin-left: 0; }

/* ---------- Okruszki ---------- */
.crumbs { font-size: 13px; color: var(--muted-dark); margin-bottom: 28px; }
.crumbs a:hover { color: var(--paper); }
.crumbs span { margin: 0 8px; opacity: .5; }

/* ---------- Hero (ciemny) ---------- */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.hero::before {
  content: '';
  position: absolute;
  width: 760px; height: 760px;
  right: -180px; top: -120px;
  background: radial-gradient(closest-side, rgba(200, 164, 93, .16), transparent);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
  position: relative;
}
.hero .label { color: var(--muted-dark); margin-bottom: 28px; display: block; }
.hero h1 { font-size: clamp(44px, 6.4vw, 84px); margin-bottom: 28px; }
.hero h1 em { color: var(--brass); }
.hero-lead { font-size: 18px; color: var(--soft-dark); max-width: 500px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  color: var(--muted-dark);
}
.hero-proof strong { color: var(--paper); }
.stars { color: var(--brass); letter-spacing: 1px; margin-right: 6px; }

.hero-books { position: relative; height: 520px; }
.hero-books img {
  position: absolute;
  width: 58%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .05);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.hero-books img:nth-child(1) { left: 0; top: 70px; transform: rotate(-7deg); }
.hero-books img:nth-child(2) { right: 0; top: 60px; transform: rotate(6deg); }
.hero-books img:nth-child(3) { left: 21%; top: 0; z-index: 2; }
.hero-books:hover img:nth-child(1) { transform: rotate(-10deg) translateX(-14px); }
.hero-books:hover img:nth-child(2) { transform: rotate(9deg) translateX(14px); }
.hero-books:hover img:nth-child(3) { transform: translateY(-8px); }

/* Hero produktu: okładka + box zakupu */
.hero-product .wrap { grid-template-columns: 1.15fr .85fr; padding-top: 56px; }
.hero-product h1 { font-size: clamp(42px, 5.6vw, 74px); }
.hero-cover {
  width: 100%;
  max-width: 400px;
  justify-self: center;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06);
  transform: rotate(2deg);
}
.hero-cover.square { aspect-ratio: 1; transform: none; max-width: 460px; }
.buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-dark);
}
.buy-price { display: flex; align-items: baseline; gap: 12px; }
.buy-price .price { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--paper); }
.buy-price s { color: var(--muted-dark); font-size: 16px; }
.buy-note { flex-basis: 100%; font-size: 12.5px; color: var(--muted-dark); }
.buy-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted-dark); margin-top: 16px; }
.buy-meta span::before { content: '✓'; color: var(--brass); margin-right: 6px; font-weight: 600; }

/* ---------- Sekcje ---------- */
section { position: relative; }
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.bg-2 { background: var(--paper-2); }
.bg-dark { background: var(--ink); color: var(--paper); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(36px, 4.6vw, 58px); }
.section-head p { color: var(--muted); max-width: 440px; justify-self: end; }
.section-head .label { margin-bottom: 18px; display: block; }
.section-head.solo { grid-template-columns: 1fr; }
.section-head.solo p { justify-self: start; margin-top: 4px; }
.bg-dark .section-head p { color: var(--muted-dark); }
.bg-dark h2 em { color: var(--brass); }

/* ---------- Proza (długie teksty sprzedażowe) ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; }
.split > :first-child h2 { font-size: clamp(36px, 4.4vw, 54px); position: sticky; top: 112px; }
.split .label { margin-bottom: 18px; display: block; }
.prose p { margin-bottom: 18px; color: var(--text); }
.prose p.lead { font-family: var(--serif); font-size: 30px; line-height: 1.2; letter-spacing: -.01em; }
.prose p.quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1.2;
  padding-left: 24px;
  border-left: 2px solid var(--brass);
  margin: 32px 0;
}
.prose h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin: 28px 0 12px; }
.bg-dark .prose p { color: var(--soft-dark); }
.bg-dark .prose p.lead, .bg-dark .prose p.quote { color: var(--paper); }
.bg-dark .prose strong { color: var(--paper); }

.checks, .crosses { list-style: none; margin: 8px 0 24px; }
.checks li, .crosses li {
  display: grid;
  grid-template-columns: 28px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.checks li:first-child, .crosses li:first-child { border-top: 1px solid var(--line); }
.checks li::before { content: '✓'; color: var(--brass-ink); font-weight: 600; }
.crosses li::before { content: '×'; color: var(--brass-ink); font-size: 20px; line-height: 1.2; }
.bg-dark .checks li, .bg-dark .crosses li { border-color: var(--line-dark); color: var(--soft-dark); }
.bg-dark .checks li::before, .bg-dark .crosses li::before { color: var(--brass); }

/* ---------- Spis treści / rozdziały ---------- */
.chapters { list-style: none; border-top: 1px solid var(--line); }
.chapters > li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.chapters .n { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--brass-ink); }
.chapters h3 { font-size: 30px; margin-bottom: 12px; }
.chapters h3 small { display: block; font-family: var(--sans); font-size: 15px; color: var(--muted); letter-spacing: 0; margin-top: 6px; line-height: 1.5; }
.chapters ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.chapters ul li { font-size: 15px; color: var(--muted); padding: 4px 0 4px 16px; position: relative; }
.chapters ul li::before { content: ''; position: absolute; left: 0; top: 14px; width: 6px; height: 1px; background: var(--brass-ink); }
.chapters ul li strong { color: var(--text); }
.chapters ul.one { columns: 1; }

/* Siatka „co dostajesz” */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fact { background: var(--white); padding: 28px; }
.fact h3 { font-size: 26px; margin-bottom: 12px; }
.fact ul { list-style: none; }
.fact li { font-size: 15px; color: var(--muted); padding: 5px 0; }
.fact li strong { color: var(--text); }
.fact .hl { color: var(--brass-ink); font-weight: 600; }
.fact.cta { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; align-items: flex-start; }
.fact.cta h3 { font-size: 44px; line-height: 1; }
.fact.cta p { color: var(--muted-dark); font-size: 15px; margin-bottom: 20px; }
.fact.cta .btn { margin-top: auto; }

/* ---------- Karty produktów ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .25s, box-shadow .25s;
}
a.card:hover {
  border-color: rgba(20, 18, 16, .25);
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -28px rgba(20, 18, 16, .5);
}
.card-cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-2); position: relative; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .5s; }
a.card:hover .card-cover img { transform: scale(1.04); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body .label { margin-bottom: 10px; }
.card-body h3 { font-size: 27px; line-height: 1.1; margin-bottom: 10px; }
.card-body p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.card-price { font-family: var(--serif); font-size: 30px; line-height: 1; }
.card-price s { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-left: 8px; }
.card-link { font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; }
.card-link .arrow { transition: transform .2s; }
a.card:hover .card-link .arrow { transform: translateX(3px); }
.card.is-current { border-color: var(--brass); }

.badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.badge.dark { background: var(--ink); color: var(--paper); }

/* ---------- Zestaw ---------- */
.bundle {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.bundle-media {
  background: var(--paper-2);
  padding: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: center;
}
.bundle-media img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 18px 30px -16px rgba(20, 18, 16, .55);
}
.bundle-media img:nth-child(2) { transform: translateY(-16px); }
.bundle-body { padding: 48px; display: flex; flex-direction: column; }
.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--brass-ink);
  background: rgba(200, 164, 93, .16);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.bundle-body h3 { font-size: 40px; margin-bottom: 12px; }
.bundle-body > p { color: var(--muted); margin-bottom: 28px; }
.contents { list-style: none; border-top: 1px solid var(--line); margin-bottom: 32px; }
.contents li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 8px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.45;
}
.contents .n { font-family: var(--serif); font-size: 20px; color: var(--brass-ink); line-height: 1; }
.contents a { font-size: 13px; color: var(--muted); white-space: nowrap; }
.contents a:hover { color: var(--text); }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; }
.price { font-family: var(--serif); font-size: 56px; line-height: 1; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 17px; }
.price-off { font-size: 13px; font-weight: 600; color: var(--brass-ink); }
.price-note { font-size: 12.5px; color: var(--muted); margin: 10px 0 22px; }
.reassure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.reassure span::before { content: '✓'; color: var(--brass-ink); margin-right: 6px; font-weight: 600; }

/* ---------- Upsell zestawu na stronach części ---------- */
.upsell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 32px;
  margin-top: 20px;
}
.upsell img { width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--ink); }
.upsell h3 { font-size: 30px; margin-bottom: 6px; }
.upsell p { color: var(--muted); font-size: 15px; }

/* ---------- Lista „dlaczego” ---------- */
.why-list { list-style: none; border-top: 1px solid var(--line); }
.why-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.why-list .n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--brass-ink); }
.why-list h3 { font-size: 28px; margin-bottom: 8px; }
.why-list p { color: var(--muted); max-width: 520px; }

/* ---------- Wybór działu (strona główna) ---------- */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--paper);
  isolation: isolate;
}
.choice-media { position: absolute; inset: 0; z-index: -1; }
.choice-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.choice:hover .choice-media img { transform: scale(1.04); }
.choice::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 18, 16, .2) 0%, rgba(20, 18, 16, .55) 45%, rgba(20, 18, 16, .97) 78%);
}
.choice-top { display: flex; justify-content: space-between; padding: 24px 28px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.choice-top .status { letter-spacing: 0; text-transform: none; font-weight: 500; background: rgba(20, 18, 16, .55); backdrop-filter: blur(6px); padding: 4px 12px; border-radius: 999px; }
.choice-body { margin-top: auto; padding: 32px 28px 28px; }
.choice h2 { font-size: clamp(44px, 5vw, 68px); margin-bottom: 12px; }
.choice h2 em { color: var(--brass); }
.choice p { color: var(--soft-dark); max-width: 420px; margin-bottom: 24px; }
.choice-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.choice-foot .meta { font-size: 14px; color: var(--muted-dark); }
.choice-foot .meta strong { color: var(--paper); font-weight: 500; }
.choice-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brass);
  color: var(--ink);
  font-size: 20px;
  transition: transform .25s;
  flex-shrink: 0;
}
.choice:hover .choice-arrow { transform: translateX(4px); }

/* Pasek zaufania */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 32px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .big { font-family: var(--serif); font-size: 52px; line-height: 1; display: block; margin-bottom: 8px; }
.stat .big em { color: var(--brass-ink); font-size: .6em; }
.stat span:last-child { font-size: 14px; color: var(--muted); }

/* ---------- Gwarancja ---------- */
.guarantee { background: var(--ink); color: var(--paper); }
.guarantee .wrap { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.seal {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(200, 164, 93, .5);
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
}
.seal::after { content: ''; position: absolute; inset: 10px; border-radius: 50%; border: 1px dashed rgba(200, 164, 93, .35); }
.seal .big { font-family: var(--serif); font-size: 76px; line-height: .9; color: var(--brass); display: block; }
.seal .small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.guarantee h2 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 18px; }
.guarantee h2 em { color: var(--brass); }
.guarantee p { color: var(--soft-dark); max-width: 600px; margin-bottom: 14px; }
.guarantee p strong { color: var(--paper); }
.guarantee .sign { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--paper); margin-top: 8px; }
.guarantee a.mail { color: var(--brass); border-bottom: 1px solid rgba(200, 164, 93, .4); }

/* ---------- FAQ ---------- */
.faq h2 { font-size: clamp(36px, 4.4vw, 54px); margin-bottom: 40px; }
.faq .label { margin-bottom: 18px; display: block; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 19px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  color: var(--brass-ink);
  transition: transform .25s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 26px 0; max-width: 680px; }
.faq details a { color: var(--text); border-bottom: 1px solid var(--line); }

/* ---------- Finałowe CTA ---------- */
.final { padding: 0 0 112px; }
.final-box {
  background: var(--ink);
  color: var(--paper);
  border-radius: 22px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.final-box::before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  left: -160px; bottom: -320px;
  background: radial-gradient(closest-side, rgba(200, 164, 93, .18), transparent);
}
.final-box h2 { font-size: clamp(32px, 4vw, 50px); position: relative; }
.final-box h2 em { color: var(--brass); }
.final-box p { color: var(--muted-dark); margin-top: 12px; position: relative; }
.final-box .btn { position: relative; }

/* ---------- Strony tekstowe (regulamin, kontakt) ---------- */
.page-head { background: var(--ink); color: var(--paper); padding: 72px 0 64px; }
.page-head h1 { font-size: clamp(44px, 6vw, 72px); }
.page-head p { color: var(--muted-dark); margin-top: 14px; max-width: 520px; }
.page-head .crumbs { margin-bottom: 20px; }
.doc { padding: 72px 0 112px; }
.doc h2 { font-size: 30px; margin: 48px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc ul { color: var(--text); margin-bottom: 16px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc a:not(.btn):not(.mail-big) { color: var(--brass-ink); border-bottom: 1px solid rgba(134, 102, 42, .35); }
.checkout a:not(.btn) { border-bottom: 0 !important; }
.doc .meta { color: var(--muted); font-size: 14px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.panel h2 { font-size: 32px; margin: 0 0 12px; }
.panel p { color: var(--muted); }
.mail-big {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
  color: var(--text);
  border-bottom: 1px solid var(--brass);
  margin: 20px 0 16px;
  word-break: break-all;
}

/* ---------- Stopka ---------- */
.footer { background: var(--ink); color: var(--muted-dark); padding: 72px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { font-size: 28px; display: inline-block; margin-bottom: 10px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; }
.footer-col a { display: block; padding: 4px 0; }
.footer-col a:hover { color: var(--paper); }
.footer-legal { font-size: 12.5px; line-height: 1.6; max-width: 760px; padding-top: 28px; }

/* ---------- Pasek zakupu (mobile) ---------- */
.buybar {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .5);
  transform: translateY(140%);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.buybar.show { transform: none; }
.buybar small { display: block; font-size: 12px; color: var(--muted-dark); line-height: 1.2; }
.buybar strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.1; }

/* ---------- Animacje wejścia ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 960px) {
  .nav-sub { display: none; }
  .hero .wrap, .hero-product .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; gap: 48px; }
  .hero-books { height: 420px; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-product .hero-cover { max-width: 300px; order: -1; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head p { justify-self: start; }
  .bundle { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split > :first-child h2 { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .guarantee .wrap { grid-template-columns: 1fr; gap: 36px; }
  .final-box { grid-template-columns: 1fr; padding: 48px 32px; }
  .choices { grid-template-columns: 1fr; }
  .choice { min-height: 480px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .upsell { grid-template-columns: auto 1fr; }
  .upsell .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .wrap-narrow { padding: 0 16px; }
  .nav .wrap { height: 58px; gap: 12px; }
  .brand { font-size: 19px; }
  .nav-main { margin-left: auto; gap: 2px; }
  .nav-main a { padding: 7px 9px; font-size: 12px; letter-spacing: .06em; }
  .nav .btn { display: none; }
  .hero h1 { font-size: 46px; }
  .hero-product h1 { font-size: 42px; }
  .hero-lead { font-size: 16.5px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-books { height: 340px; }
  .hero-product .wrap { padding-top: 28px; gap: 28px; }
  .hero-product .hero-cover { max-width: 150px; justify-self: start; transform: rotate(-3deg); }
  .hero-product .hero-cover.square { max-width: 190px; transform: none; }
  .hero-product .crumbs { margin-bottom: 18px; }
  .hero-product .label { margin-bottom: 18px; }
  .hero-product h1 { margin-bottom: 18px; }
  .hero-product .hero-lead { margin-bottom: 24px; }
  .buy .btn { width: 100%; }
  .buy-price .price { font-size: 46px; }
  .section { padding: 80px 0; }
  .section-tight { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .prose p.lead, .prose p.quote { font-size: 25px; }
  .bundle-media { padding: 28px 20px; gap: 10px; }
  .bundle-body { padding: 28px 20px; }
  .bundle-body h3 { font-size: 32px; }
  .price { font-size: 48px; }
  .card-cover { aspect-ratio: 16 / 10; }
  .chapters > li { grid-template-columns: 1fr; gap: 6px; padding: 26px 0; }
  .chapters .n { font-size: 30px; }
  .chapters h3 { font-size: 26px; }
  .chapters ul { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .why-list li { grid-template-columns: 44px 1fr; padding: 26px 0; }
  .why-list .n { font-size: 32px; }
  .why-list h3 { font-size: 24px; }
  .seal { width: 150px; height: 150px; }
  .seal .big { font-size: 56px; }
  .faq summary { font-size: 17px; padding: 20px 0; }
  .faq details p { padding-right: 0; }
  .final { padding-bottom: 100px; }
  .final-box { padding: 40px 22px; border-radius: 18px; }
  .final-box .btn { width: 100%; }
  .choice { min-height: 440px; border-radius: 18px; }
  .choice-top, .choice-body { padding-left: 20px; padding-right: 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 24px 0; }
  .upsell { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; }
  .upsell img { width: 96px; }
  .panel { padding: 26px 20px; }
  .page-head { padding: 52px 0 44px; }
  .doc { padding: 52px 0 80px; }
  .buybar { display: flex; }
  .has-buybar .footer { padding-bottom: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   SKLEP: koszyk, checkout, karty książek
   ========================================================= */
.sr-only, .hp { position: absolute !important; left: 0; top: 0; width: 1px !important; height: 1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 !important; padding: 0 !important; margin: -1px; }

/* Ikona koszyka w nagłówku */
.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--paper);
  border: 1px solid var(--line-dark);
  transition: border-color .2s;
}
.nav-cart:hover { border-color: rgba(244, 240, 232, .4); }
.nav-sub + .nav-cart { margin-left: 0; }
.nav-cart + .btn { margin-left: 0; }
.nav-cart-n {
  min-width: 20px; height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  display: inline-grid;
  place-items: center;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100% - 32px);
  padding: 12px 12px 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  border-radius: 999px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
  transform: translate(-50%, 160%);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.toast.show { transform: translate(-50%, 0); }
.toast strong { font-weight: 600; }

/* Karty książek */
.grid-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.grid-shop .card-cover { aspect-ratio: 4 / 4.4; }
.grid-shop .card-body h3 { font-size: 25px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; }
.omnibus { font-size: 12px !important; color: var(--muted); margin: -12px 0 16px !important; }
.notify-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.notify-form[hidden], .sub-box[hidden], .cart-empty[hidden], .checkout[hidden], .free-hint[hidden], .locker-picked[hidden], .alert[hidden] { display: none; }
.card-foot .label { white-space: nowrap; }
.card-foot .link-btn { white-space: nowrap; }
.notify-form input[type=email] { flex: 1 1 160px; }
.notify-msg { flex-basis: 100%; font-size: 13px; color: #a2401f; margin: 0 !important; }
.notify-msg:empty { display: none; }
.notify-ok { font-size: 14px; color: var(--brass-ink) !important; margin: 14px 0 0 !important; font-weight: 500; }

/* Pola formularzy (wspólne) */
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], textarea, select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(20, 18, 16, .2);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brass-ink); box-shadow: 0 0 0 3px rgba(200, 164, 93, .25); }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: #b4532a; }
textarea { resize: vertical; min-height: 84px; }

.page-head-sm { padding: 56px 0 48px; }
.page-head-sm h1 { font-size: clamp(40px, 5vw, 60px); }
.page-head h1 em { color: var(--brass); }
.page-head p strong { color: var(--paper); }

.alert { background: rgba(200, 164, 93, .14); border: 1px solid rgba(200, 164, 93, .4); color: var(--text); padding: 14px 18px; border-radius: 12px; font-size: 15px; margin-bottom: 24px; }
.alert-error { background: #fbeee8; border-color: #e5b8a3; color: #8a3417; margin: 16px 0 0; }
.co-loading { color: var(--muted); }

.cart-empty { text-align: left; max-width: 560px; }
.cart-empty h2 { font-size: 40px; margin-bottom: 10px; }
.cart-empty p { color: var(--muted); margin-bottom: 28px; }

/* Checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.co-main { display: grid; gap: 20px; min-width: 0; }
.co-block { border: 1px solid var(--line); margin: 0; min-width: 0; }
.co-block h2, .co-block legend { font-family: var(--serif); font-size: 28px; font-weight: 400; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 0; }
.co-block legend { float: left; width: 100%; }
.co-block legend + * { clear: both; }
.step { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 14px; font-weight: 600; display: inline-grid; place-items: center; flex-shrink: 0; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field small { font-size: 12.5px; color: var(--muted); }
.opt { color: var(--muted); font-weight: 400; }
.err { font-size: 13px; color: #a2401f; margin: 0; }
.err:empty { display: none; }

.lines { list-style: none; }
.line { display: grid; grid-template-columns: 64px 1fr auto auto 32px; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.line:first-child { border-top: 0; padding-top: 0; }
.line img { width: 64px; height: 80px; object-fit: cover; border-radius: 6px; background: var(--ink-2); }
.line-info { display: flex; flex-direction: column; min-width: 0; }
.line-info strong { font-weight: 500; line-height: 1.3; }
.line-info span { font-size: 13px; color: var(--muted); }
.line.is-off { opacity: .6; }
.line.is-off .line-info span { color: #a2401f; }
.line-total { font-weight: 600; white-space: nowrap; }
.line-remove { width: 32px; height: 32px; border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 50%; }
.line-remove:hover { background: var(--paper-2); color: var(--text); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 34px; height: 34px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--text); border-radius: 50%; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 15px; }

.choice-list { display: grid; gap: 10px; }
.choice-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.choice-row:hover { border-color: rgba(20, 18, 16, .3); }
.choice-row:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.choice-row input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.choice-row-main { display: flex; flex-direction: column; }
.choice-row-main small { color: var(--muted); font-size: 13px; }
.choice-row-price { font-weight: 600; white-space: nowrap; }

.sub-box { margin-top: 16px; padding: 20px; background: var(--paper); border-radius: 12px; }
.locker-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.locker-manual { flex: 1 1 200px; }
.locker-manual label { font-weight: 400; color: var(--muted); }
.locker-picked { display: flex; flex-direction: column; padding: 14px 16px; margin-bottom: 16px; background: var(--white); border: 1px solid var(--brass); border-radius: 10px; }
.locker-picked strong { font-weight: 600; }
.locker-picked span { font-size: 14px; color: var(--muted); }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 14px; cursor: pointer; margin-top: 14px; }
.check input { accent-color: var(--ink); width: 18px; height: 18px; margin: 2px 0 0; }
.check a { text-decoration: underline; text-underline-offset: 2px; }

.co-summary { position: sticky; top: 88px; }
.co-summary h2 { font-size: 30px; margin-bottom: 16px; }
.sum { margin-bottom: 8px; }
.sum div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.sum dt { color: var(--muted); }
.sum .sum-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; align-items: baseline; }
.sum .sum-total dt { color: var(--text); font-weight: 600; }
.sum .sum-total dd { font-family: var(--serif); font-size: 34px; line-height: 1; }
.free-hint { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.free-hint span { color: var(--text); font-weight: 600; }
.free-hint b { display: block; height: 4px; background: var(--paper-2); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.free-hint i { display: block; height: 100%; background: var(--brass); border-radius: 4px; transition: width .3s; }
.co-summary .btn-block { margin-top: 20px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.is-loading { opacity: .7; cursor: progress; }
.pay-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.pay-badges { display: flex; justify-content: center; gap: 6px; margin-bottom: 8px; }
.pay-badges span { font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); }

/* Modal mapy paczkomatów */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 18, 16, .6); }
.modal-box { position: relative; width: min(1000px, 100%); height: min(720px, 100%); background: var(--white); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.modal-close { width: 36px; height: 36px; border: 0; background: var(--paper-2); border-radius: 50%; font-size: 22px; cursor: pointer; }
.modal-body { flex: 1; min-height: 0; }
.modal-body inpost-geowidget { display: block; width: 100%; height: 100%; }

/* Strona zamówienia */
.o-items { list-style: none; margin: 8px 0 20px; }
.o-items li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.o-items li.total { border-bottom: 0; font-weight: 600; font-size: 17px; }
.o-where { font-size: 15px; }

@media (max-width: 960px) {
  .checkout { grid-template-columns: 1fr; }
  .co-summary { position: static; }
}
@media (max-width: 640px) {
  .nav-cart { padding: 7px 9px; border: 0; }
  .nav-cart-label { display: none; }
  .nav-main + .nav-cart { margin-left: 0; }
  .fields { grid-template-columns: 1fr; }
  .co-block h2, .co-block legend { font-size: 24px; }
  .line { grid-template-columns: 52px 1fr 32px; grid-template-areas: "img info rm" "img qty total"; row-gap: 10px; }
  .line img { grid-area: img; width: 52px; height: 66px; }
  .line-info { grid-area: info; }
  .line .qty { grid-area: qty; justify-self: start; }
  .line-total { grid-area: total; justify-self: end; }
  .line-remove { grid-area: rm; }
  .modal { padding: 0; }
  .modal-box { border-radius: 0; height: 100%; }
  .toast { border-radius: 16px; flex-wrap: wrap; bottom: 12px; }
}

/* Dokumenty prawne: spis treści, listy, wzór formularza, pola do uzupełnienia */
.doc ol { padding-left: 22px; margin-bottom: 16px; }
.doc ol > li { margin-bottom: 10px; padding-left: 4px; }
.doc ol ul { margin: 8px 0 0; }
.doc h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 24px 0 10px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px; margin-bottom: 48px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.doc .toc a { font-size: 13.5px; color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.doc .toc a:hover { border-color: var(--brass-ink); }
.form-sample { background: var(--white); border: 1px dashed rgba(20, 18, 16, .3); border-radius: var(--radius); padding: 28px; }
.form-sample p { margin-bottom: 12px; }
.muted-note { font-size: 13px; color: var(--muted) !important; }
mark.todo { background: #ffe58a; color: #5c4500; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
