/* ==========================================================
   Projekt J 3,16
   ========================================================== */

:root {
  --black: #000;
  --bg: #000;
  --bg-alt: #0b0b0b;
  --surface: #121212;
  --surface-2: #1a1a1a;
  --line: #262626;
  --white: #fff;
  --text: #e9e9e9;
  --muted: #9a9a9a;
  --red: #ff0404;
  --red-dark: #c80000;

  --font-display: "Antonio", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --narrow: 820px;
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 .6em;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }

::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.red { color: var(--red); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.center, .center-text { text-align: center; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.narrow { max-width: var(--narrow); margin-inline: auto; }
.container.narrow { max-width: calc(var(--narrow) + 48px); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 10px 16px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: .85em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 30px -10px rgba(255, 4, 4, .7);
}
.btn-primary:hover { background: var(--red-dark); box-shadow: 0 12px 34px -10px rgba(255, 4, 4, .9); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-ghost:hover { background: var(--white); color: var(--black); }

.btn-sm { padding: .5em 1.1em; font-size: 1rem; }
.btn-lg { padding: 1em 2em; font-size: 1.3rem; }
.btn-block { width: 100%; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  transition: background-color .3s, border-color .3s, height .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  --header-h: 64px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { height: 40px; width: auto; transition: height .3s; }
.is-scrolled .brand img { height: 34px; }

.nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a:not(.btn) {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 4px 0;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover,
.nav a.is-current { color: var(--white); }
.nav a:not(.btn):hover::after,
.nav a.is-current::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 90vmax;
  height: 90vmax;
  background:
    radial-gradient(closest-side, rgba(255, 4, 4, .16), transparent 70%);
  z-index: -1;
  animation: glow 9s ease-in-out infinite alternate;
}
.hero::before {
  /* snop światła jak na grafikach kampanii */
  content: "";
  position: absolute;
  top: -30%;
  left: -20%;
  width: 70%;
  height: 160%;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .07) 48%, transparent 66%);
  transform: rotate(-28deg);
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: -1;
  pointer-events: none;
}
@keyframes glow {
  from { transform: translate(0, 0) scale(1); opacity: .8; }
  to   { transform: translate(-6%, 8%) scale(1.1); opacity: 1; }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 clamp(12px, 2.4vw, 30px);
  margin: 0;
  font-weight: 400;
  line-height: .9;
}
.hero-projekt {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  color: var(--white);
  padding-bottom: .06em;
  opacity: 0;
  animation: rise .9s var(--ease) .15s forwards;
}
.hero-code {
  font-size: clamp(5.5rem, 17vw, 14rem);
  color: var(--red);
  font-weight: 400;
  opacity: 0;
  animation: rise .9s var(--ease) .35s forwards;
}

.scribble {
  width: min(380px, 70%);
  margin: 0 auto;
  pointer-events: none;
  user-select: none;
}
.hero-scribble {
  width: min(420px, 75%);
  margin: 28px auto 22px;
  transform: translateX(-42%);
  clip-path: inset(0 100% 0 0);
  animation: draw 1.2s var(--ease) .8s forwards;
}
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: .6em;
  opacity: 0;
  animation: rise .9s var(--ease) 1.1s forwards;
}
.hero-lead {
  max-width: 600px;
  color: var(--muted);
  opacity: 0;
  animation: rise .9s var(--ease) 1.3s forwards;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
  opacity: 0;
  animation: rise .9s var(--ease) 1.5s forwards;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  transform: translateX(-50%);
}
.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--red);
  border-radius: 2px;
  animation: scroll 1.8s ease-in-out infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Sekcje ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid #141414; }

.section-title {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  position: relative;
  padding-bottom: .5em;
  margin-bottom: .8em;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: var(--red);
}
.section-title.center::after { left: 50%; transform: translateX(-50%); }

.sub-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  margin: 70px auto 30px;
  max-width: 760px;
}

.prose p { color: var(--text); }
.prose strong { color: var(--white); }
.lead {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.6;
  color: var(--white);
}
.highlight {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.3;
  color: var(--white);
  border-left: 4px solid var(--red);
  padding-left: 22px;
  margin-top: 1.6em;
}

/* Statement */
.statement {
  text-align: center;
  padding: clamp(60px, 9vw, 110px) 24px 0;
}
.statement-line {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 .15em;
}
.statement-line.red { color: var(--red); font-weight: 700; }
.statement .scribble { margin-top: 24px; }

/* ---------- Kampania ---------- */
.campaign { margin-top: 56px; }

.campaign-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.campaign-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px 18px 20px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  transition: color .25s, background-color .25s;
}
.campaign-tab:hover { color: var(--white); background: rgba(255, 255, 255, .02); }
.campaign-tab.is-active { color: var(--white); }
.tab-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--line);
  transition: color .25s;
}
.campaign-tab.is-active .tab-num,
.campaign-tab.is-done .tab-num { color: var(--red); }
.tab-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.tab-sub { font-size: .85rem; color: var(--muted); }

.campaign-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
}
.campaign-progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--red);
  transition: width .6s var(--ease);
}

.campaign-panels { position: relative; margin-top: 44px; }
.campaign-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.campaign-panel[hidden] { display: none; }
.campaign-panel.is-active { animation: panelIn .6s var(--ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.campaign-image {
  position: relative;
  display: block;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--black);
  cursor: zoom-in;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(255, 4, 4, .3);
}
.campaign-image img { transition: transform .8s var(--ease); width: 100%; }
.campaign-image:hover img { transform: scale(1.03); }
.campaign-image::after {
  content: "⤢";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .7);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity .25s;
}
.campaign-image:hover::after,
.campaign-image:focus-visible::after { opacity: 1; }

.campaign-week {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--red);
  margin-bottom: .6em;
}
.campaign-text blockquote {
  margin: 0 0 .8em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  color: var(--white);
}
.campaign-text p { color: var(--muted); }
.verse {
  color: var(--text) !important;
  font-style: italic;
  border-left: 3px solid var(--red);
  padding-left: 18px;
}
.verse cite { font-style: normal; color: var(--red); white-space: nowrap; }

.campaign-nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}
.icon-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--red); background: var(--red); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }

/* ---------- Karty ---------- */
.big-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 11rem);
  line-height: 1;
  text-align: center;
  color: var(--white);
  margin: 0;
}
.cards {
  display: grid;
  gap: 22px;
  margin-top: 56px;
}
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: #3a3a3a; transform: translateY(-4px); }
.card h3 { font-size: 1.6rem; }
.card p { color: var(--muted); margin: 0; }

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid var(--red);
  border-radius: 50%;
}
.card-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-line { border-left: 3px solid var(--red); }
.card-line h3 span { margin-right: .3em; }

/* ---------- Wesprzyj ---------- */
.support {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 4, 4, .1), transparent 60%),
    var(--bg);
}

.cost {
  max-width: 900px;
  margin: 60px auto 0;
  padding: clamp(28px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.cost-intro { color: var(--text); max-width: 680px; margin-inline: auto; }
.cost-intro strong { color: var(--white); }
.cost-total {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 1;
  color: var(--white);
  margin: 10px 0 30px;
}
.cost-total span { color: var(--red); }

.cost-bar {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 74px;
  border: 1px solid #333;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0a0a;
}
.cost-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px dashed #3a3a3a;
  font-family: var(--font-display);
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.2;
}
.cost-stage:last-of-type { border-right: 0; }
.cost-stage small {
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .7);
}
.cost-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  transition: width .8s var(--ease);
  z-index: 1;
}
.cost-caption {
  margin: 18px 0 0;
  color: var(--muted);
  min-height: 1.7em;
}
.cost-caption strong { color: var(--white); }

.tiers {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.tier:hover { border-color: #4a4a4a; transform: translateY(-4px); }
.tier[aria-checked="true"] {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(255, 4, 4, .14), var(--surface) 70%);
}
.tier[aria-checked="true"]::before {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--red);
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
}
.tier-amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--white);
}
.tier-desc { font-size: .92rem; line-height: 1.55; color: var(--muted); }
.tier-featured { border-color: #3a3a3a; }
.tier-badge {
  position: absolute;
  top: -11px;
  left: 20px;
  padding: 2px 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
}

.company {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.company h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.company p { color: var(--muted); margin: 0; }
.company .btn { flex-shrink: 0; }

.pay { margin-top: 22px; }
.pay-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pay-card h3 { font-size: 1.8rem; }
.pay-card > p { color: var(--muted); }

.bank { margin: 0 0 18px; }
.bank-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.bank-row:first-child { border-top: 1px solid var(--line); }
.bank dt { color: var(--muted); font-size: .9rem; }
.bank dd {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
  font-weight: 500;
}
.copy-btn {
  flex-shrink: 0;
  padding: 5px 12px;
  background: transparent;
  border: 1px solid #3a3a3a;
  border-radius: 3px;
  font-size: .78rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.copy-btn:hover { border-color: var(--white); color: var(--white); }
.copy-btn.is-copied { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---------- Cytat ---------- */
.quote-section {
  padding: clamp(80px, 12vw, 150px) 0;
  background: var(--black);
  border-top: 1px solid #141414;
}
.quote {
  position: relative;
  margin: 0;
  text-align: center;
}
.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 8rem;
  line-height: 1;
  height: .55em;
  margin-bottom: .1em;
  color: var(--red);
}
.quote blockquote { margin: 0; }
.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  line-height: 1.3;
  color: var(--white);
  margin: 0 0 .4em;
}
.quote figcaption {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 24px;
}

/* ---------- Zakończenie ---------- */
.closing {
  background:
    linear-gradient(180deg, transparent, rgba(255, 4, 4, .08)),
    var(--bg-alt);
}
.closing-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
}
.closing .lead { margin-bottom: 36px; }

/* ---------- Podziękowania ---------- */
.thanks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.thanks-col {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.thanks-col h3 { font-size: 1.6rem; }
.partners,
.supporters {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.partners img { height: 56px; width: auto; filter: grayscale(1) brightness(1.4); transition: filter .3s; }
.partners img:hover { filter: none; }
.supporters li { color: var(--text); }
.partners:empty::before,
.supporters:empty::before {
  content: attr(data-empty);
  color: var(--muted);
  font-style: italic;
}

/* ---------- Regulamin ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: color .2s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--red);
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion summary:hover { color: var(--red); }
.accordion-body { padding: 0 0 24px; color: var(--muted); font-size: .97rem; }
.accordion-body ol { margin: 0; padding-left: 1.3em; }
.accordion-body li { margin-bottom: .6em; }
.accordion-body ul { margin-top: .5em; padding-left: 1.2em; }
.accordion-body strong { color: var(--white); }
.accordion-body a { color: var(--red); }

/* ---------- Stopka ---------- */
.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--black);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-logo { height: 46px; width: auto; }
.footer-info p { margin: 0; }
.footer-info a { text-decoration: none; color: var(--white); }
.footer-info a:hover { color: var(--red); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: var(--white); }
.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid #141414;
  font-size: .85rem;
  color: #666;
}

/* ---------- Lightbox ---------- */
.lightbox {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: min(92vw, 92vh);
  max-height: 92vh;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(0, 0, 0, .92); }
.lightbox[open] { animation: zoomIn .35s var(--ease); }
.lightbox img { max-height: 92vh; width: auto; border: 1px solid var(--line); }
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--red);
  border: 0;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(.94); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  background: var(--white);
  color: var(--black);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .6);
  transform: translate(-50%, 150%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Animacje przewijania ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tier-featured { grid-column: span 1; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .nav a:not(.btn) { font-size: 1.8rem; }
  .nav .btn { font-size: 1.3rem; padding: .8em 2em; }

  .cards-3 { grid-template-columns: 1fr; }
  .company { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .container { padding-inline: 18px; }

  .campaign-tabs { grid-template-columns: repeat(4, 1fr); }
  .campaign-tab { padding: 12px 6px 16px; align-items: center; text-align: center; }
  .tab-num { font-size: 1.7rem; }
  .tab-label { font-size: .95rem; }
  .tab-sub { display: none; }

  .campaign-panel { grid-template-columns: 1fr; }
  .campaign-nav { justify-content: center; }

  .cards-2, .thanks { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr 1fr; }
  .tier:last-child { grid-column: 1 / -1; }

  .cost-bar { height: 64px; }
  .cost-stage { font-size: .85rem; }
  .cost-stage small { font-size: .7rem; }

  .bank-row { grid-template-columns: 1fr; gap: 4px; }

  .hero-scribble { transform: translateX(-20%); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 440px) {
  .tiers { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .bank dd { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .hero-scribble { clip-path: none; }
}

/* ---------- Baner zgód ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn-light {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-light:hover { background: #d9d9d9; border-color: #d9d9d9; }

.link-btn {
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: .95rem;
  cursor: pointer;
}
.link-btn:hover { color: var(--white); }

.consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 250;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid #333;
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .7);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.consent.is-visible { opacity: 1; transform: none; }
.consent-inner { padding: 24px; }
.consent-title { font-size: 1.6rem; margin-bottom: .4em; }
.consent-desc { font-size: .9rem; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }

.consent-settings { margin-bottom: 18px; border-top: 1px solid var(--line); }
.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.consent-option-title { margin: 0; color: var(--white); font-weight: 600; font-size: .95rem; }
.consent-option-desc { margin: 2px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }

.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { flex: 1 1 auto; }
.consent-actions .btn:hover { transform: none; }

.switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.switch span[aria-hidden] {
  position: absolute;
  inset: 0;
  background: #333;
  border-radius: 13px;
  transition: background-color .2s;
}
.switch span[aria-hidden]::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform .2s var(--ease);
}
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: .5; }
.switch input:disabled { cursor: not-allowed; }
.switch input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }

@media (max-width: 520px) {
  .consent { left: 16px; bottom: 16px; }
  .consent-inner { padding: 20px; }
  .consent-actions .btn { flex-basis: calc(50% - 5px); }
}
