/* Hallmark · macrostructure: Marquee Hero + Deal Grid · genre: playful · theme: custom (vibe: "friendly, trustworthy Polish savings, town-sign green") · paper oklch(99% .006 140) · accent oklch(55.8% .142 158) warm-green · Bricolage Grotesque + Inter */

:root {
  /* Kolory bazowe */
  --color-brand:        oklch(55.8% 0.142 158);   /* #009343 znak miejscowości */
  --color-brand-deep:   oklch(46% 0.125 159);
  --color-brand-soft:   oklch(94% 0.045 155);
  --color-brand-wash:   oklch(97.3% 0.022 152);

  --color-ink:          oklch(22% 0.028 160);
  --color-ink-2:        oklch(38% 0.022 160);
  --color-muted:        oklch(52% 0.016 160);

  --color-paper:        oklch(99% 0.006 140);
  --color-paper-2:      oklch(97.2% 0.012 150);
  --color-paper-3:      oklch(95% 0.016 152);
  --color-line:         oklch(89% 0.016 150);
  --color-line-soft:    oklch(93% 0.012 150);

  --color-sun:          oklch(82% 0.15 86);        /* ciepły akcent oszczędności */
  --color-white:        #ffffff;

  /* Kolory marketów — używane jako drobne detale na kuponach */
  --mm-red:   #d80000;  /* MediaMarkt  */
  --me-yellow:#f7cd00;  /* Media Expert */
  --al-orange:#f75700;  /* Allegro */

  /* Typografia */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --text-xs:   0.78rem;
  --text-sm:   0.9rem;
  --text-base: 1.03rem;
  --text-lg:   1.2rem;
  --text-xl:   1.45rem;
  --text-2xl:  1.85rem;
  --text-3xl:  2.4rem;
  --text-4xl:  clamp(2.5rem, 6vw, 4rem);
  --text-display: clamp(3rem, 8.5vw, 6rem);

  /* Przestrzeń — skala 4pt */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1.25rem;
  --space-lg:  2rem;
  --space-xl:  3.25rem;
  --space-2xl: 5rem;
  --space-3xl: 7.5rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --rule: 1px solid var(--color-line);

  --shadow-sm: 0 2px 10px -4px oklch(40% 0.08 160 / 0.18);
  --shadow-md: 0 14px 40px -18px oklch(40% 0.1 160 / 0.32);
  --shadow-lg: 0 32px 70px -28px oklch(35% 0.1 160 / 0.4);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.5s;

  --maxw: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  overflow-x: clip;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }

code {
  font-family: "Bricolage Grotesque", ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.92em;
  background: var(--color-brand-soft);
  color: var(--color-brand-deep);
  padding: 0.1em 0.45em;
  border-radius: 6px;
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: var(--text-base);
  line-height: 1.1;
  padding: 0.95em 1.6em;
  border-radius: var(--radius-pill);
  transition: transform 0.18s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.2s var(--ease-out);
  white-space: nowrap;
  text-align: center;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-primary {
  background: var(--color-brand);
  color: var(--color-white);
  box-shadow: 0 10px 26px -10px oklch(55.8% 0.142 158 / 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px oklch(55.8% 0.142 158 / 0.75); background: var(--color-brand-deep); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--color-white);
  color: var(--color-ink);
  border: 1px solid var(--color-line);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-brand); color: var(--color-brand-deep); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 1.1em 2em; font-size: var(--text-lg); }
.btn:focus-visible { outline: 3px solid var(--color-brand-deep); outline-offset: 3px; }

/* Logo — znak miejscowości */
.sign {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.sign-plate {
  --plate-pad: 0.34em;
  display: inline-flex;
  align-items: center;
  background: var(--color-brand);
  padding: var(--plate-pad);
  border-radius: 7px;
  box-shadow: 0 4px 14px -8px oklch(55.8% 0.142 158 / 0.6);
}
.sign-inner {
  border: 2.5px solid var(--color-white);
  border-radius: 4px;
  padding: 0.22em 0.62em 0.28em;
}
.sign-inner span {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.sign-tld { color: var(--color-muted); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.02em; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: oklch(99% 0.006 140 / 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.nav.scrolled { border-color: var(--color-line-soft); box-shadow: 0 6px 24px -20px oklch(40% 0.08 160 / 0.5); }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 74px;
}
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); transition: color 0.2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0; background: var(--color-brand); transition: width 0.25s var(--ease-out); border-radius: 2px; }
.nav-links a:hover { color: var(--color-ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: var(--space-sm); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); align-items: center; justify-content: center; color: var(--color-ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); overflow: clip; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 85% 8%, oklch(94% 0.045 155 / 0.9), transparent 60%),
    radial-gradient(50% 45% at 5% 90%, oklch(97.3% 0.022 152), transparent 65%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  padding: 0.45em 0.95em;
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brand-deep);
  box-shadow: var(--shadow-sm);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-brand); box-shadow: 0 0 0 4px var(--color-brand-soft); }
.hero h1 {
  font-size: var(--text-display);
  font-weight: 800;
  margin-top: var(--space-md);
  letter-spacing: -0.035em;
}
.hero h1 .hl { color: var(--color-brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 0.06em;
  height: 0.26em;
  background: var(--color-sun);
  z-index: -1;
  border-radius: 3px;
  transform: skewX(-9deg);
  opacity: 0.85;
}
.hero-sub { font-size: var(--text-lg); color: var(--color-ink-2); max-width: 36ch; margin-top: var(--space-md); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); margin-top: var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); }
.avatars { display: flex; }
.avatars span {
  width: 36px; height: 36px; border-radius: 50%; margin-left: -10px;
  border: 2.5px solid var(--color-paper);
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.8rem; color: var(--color-white);
}
.avatars span:first-child { margin-left: 0; }
.stars { color: var(--color-sun); letter-spacing: 2px; }

/* Hero visual — kolaż kart okazji */
.hero-visual { position: relative; }
.deal-float {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
}
.deal-float.a { position: relative; z-index: 2; }
.deal-float.b { position: absolute; right: -4%; top: -14%; width: 56%; z-index: 3; animation: bob 5s var(--ease-in-out) infinite; }
.deal-float.c { position: absolute; left: -6%; bottom: -12%; width: 50%; z-index: 1; animation: bob 6s var(--ease-in-out) infinite reverse; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.df-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.df-shop { font-weight: 700; font-size: var(--text-sm); }
.df-badge { font-size: var(--text-xs); font-weight: 700; color: var(--color-white); padding: 0.3em 0.7em; border-radius: var(--radius-pill); }
.df-title { font-weight: 600; margin-top: var(--space-sm); font-size: var(--text-base); line-height: 1.3; }
.df-price { display: flex; align-items: baseline; gap: 0.5rem; margin-top: var(--space-sm); }
.df-now { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--color-brand); }
.df-old { text-decoration: line-through; color: var(--color-muted); font-size: var(--text-sm); }
.df-back { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-brand-deep); font-weight: 600; }

/* ---------- SEKCJE ---------- */
section { position: relative; }
.band { padding-top: var(--space-3xl); padding-bottom: var(--space-3xl); }
.band-soft { background: var(--color-brand-wash); }
.sec-head { max-width: 50ch; margin-bottom: var(--space-xl); }
.eyebrow { font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-brand); margin-bottom: var(--space-sm); }
.sec-head h2 { font-size: var(--text-4xl); font-weight: 700; }
.sec-head p { margin-top: var(--space-md); font-size: var(--text-lg); color: var(--color-ink-2); }
.sec-head.center { margin-inline: auto; text-align: center; }

/* Korzyści */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.benefit {
  background: var(--color-white);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-brand-soft); }
.benefit .ico {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--color-brand-soft); color: var(--color-brand-deep);
  margin-bottom: var(--space-md);
}
.benefit .ico svg { width: 28px; height: 28px; }
.benefit h3 { font-size: var(--text-xl); font-weight: 700; }
.benefit p { margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-base); }
.benefit.wide { grid-column: span 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--space-lg); align-items: center; background: var(--color-ink); color: var(--color-paper); }
.benefit.wide .ico { background: oklch(55.8% 0.142 158 / 0.25); color: oklch(85% 0.12 155); }
.benefit.wide h3 { font-size: var(--text-3xl); color: var(--color-white); }
.benefit.wide p { color: oklch(85% 0.01 150); font-size: var(--text-lg); }
.benefit.wide .btn { margin-top: var(--space-md); }

/* Jak działa */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); counter-reset: step; }
.step { position: relative; padding-top: var(--space-lg); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-3xl);
  color: var(--color-brand);
  opacity: 0.35;
  display: block;
  margin-bottom: var(--space-sm);
}
.step h3 { font-size: var(--text-xl); }
.step p { margin-top: var(--space-xs); color: var(--color-muted); }
.step-line { position: absolute; top: calc(var(--space-lg) + 0.7em); left: 2.6em; right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--color-line) 0 8px, transparent 8px 16px); }

/* Okazje */
.deals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.deal {
  background: var(--color-white);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.deal:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.deal-media { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; }
.deal-media .glyph { font-family: var(--font-display); font-weight: 800; font-size: 3rem; color: var(--color-white); opacity: 0.95; letter-spacing: -0.03em; }
.deal-save { position: absolute; top: 12px; left: 12px; background: var(--color-ink); color: var(--color-white); font-weight: 700; font-size: var(--text-xs); padding: 0.4em 0.75em; border-radius: var(--radius-pill); }
.deal-shop { position: absolute; top: 12px; right: 12px; background: var(--color-white); font-weight: 800; font-size: var(--text-xs); padding: 0.4em 0.75em; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.deal-body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); flex: 1; }
.deal-cat { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); }
.deal-title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.25; }
.deal-prices { display: flex; align-items: baseline; gap: 0.6rem; margin-top: auto; }
.deal-now { font-family: var(--font-display); font-weight: 800; font-size: var(--text-2xl); color: var(--color-brand); }
.deal-old { text-decoration: line-through; color: var(--color-muted); font-size: var(--text-sm); }
.coupon {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm);
  border: 2px dashed var(--color-line); border-radius: var(--radius-md); padding: 0.6rem 0.9rem;
}
.coupon-code { font-family: "Bricolage Grotesque", monospace; font-weight: 800; letter-spacing: 0.08em; color: var(--color-ink); }
.coupon-btn {
  font-weight: 700; font-size: var(--text-sm); color: var(--color-brand-deep);
  background: var(--color-brand-soft); padding: 0.5em 0.9em; border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s, transform 0.15s var(--ease-out);
}
.coupon-btn:hover { background: var(--color-brand); color: var(--color-white); transform: translateY(-1px); }
.coupon-btn:focus-visible { outline: 3px solid var(--color-brand-deep); outline-offset: 2px; }
.coupon-btn.copied { background: var(--color-ink); color: var(--color-white); }
.deal-foot { display: flex; }
.deal-foot .btn { width: 100%; }

.deals-more { display: flex; justify-content: center; margin-top: var(--space-xl); }

/* Pasek filtrów (podstrona okazji) */
.filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  align-items: end;
  padding: var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.filters .fld { display: flex; flex-direction: column; gap: var(--space-2xs); min-width: 0; }
.filters label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-muted); }
.filters input,
.filters select {
  font: inherit;
  color: var(--color-ink);
  background: var(--color-paper);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.8rem;
  width: 100%;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.filters input:focus-visible,
.filters select:focus-visible {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-soft);
}
.filters-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-md); margin: var(--space-lg) 0 var(--space-md);
}
.wyniki-info { font-weight: 600; color: var(--color-ink-2); }
.btn-reset {
  font-weight: 600; font-size: var(--text-sm); color: var(--color-brand-deep);
  padding: 0.5em 0.9em; border-radius: var(--radius-pill); border: 1px solid var(--color-line);
  background: var(--color-white); transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-reset:hover { border-color: var(--color-brand); background: var(--color-brand-soft); }
.btn-reset:focus-visible { outline: 3px solid var(--color-brand-deep); outline-offset: 2px; }
.brak-wynikow {
  text-align: center; padding: var(--space-2xl) var(--space-md);
  border: 2px dashed var(--color-line); border-radius: var(--radius-lg); color: var(--color-muted);
}
.brak-wynikow strong { display: block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); margin-bottom: var(--space-xs); }

/* Statystyki */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.stat { text-align: center; padding: var(--space-md); }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: var(--text-4xl); color: var(--color-brand); line-height: 1; letter-spacing: -0.03em; }
.stat .lab { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }

/* Opinie */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.quote {
  background: var(--color-white); border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-lg); padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-md);
}
.quote .stars { font-size: var(--text-base); }
.quote p { font-size: var(--text-base); color: var(--color-ink); line-height: 1.55; }
.quote-by { display: flex; align-items: center; gap: var(--space-sm); margin-top: auto; }
.quote-by .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--color-white); font-weight: 700; }
.quote-by b { display: block; font-size: var(--text-sm); }
.quote-by span { font-size: var(--text-xs); color: var(--color-muted); }

/* Partnerzy — marquee */
.partners { margin-top: var(--space-xl); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: var(--space-xl); width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .logo { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-muted); white-space: nowrap; opacity: 0.8; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-xs); }
.faq-item { border: 1px solid var(--color-line-soft); border-radius: var(--radius-md); background: var(--color-white); overflow: hidden; transition: border-color 0.25s; }
.faq-item[open] { border-color: var(--color-brand-soft); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: var(--space-md) var(--space-lg);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md);
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 26px; height: 26px; position: relative; transition: transform 0.3s var(--ease-out); color: var(--color-brand); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; inset: 0; margin: auto; }
.faq-item summary .plus::before { width: 16px; height: 2.5px; }
.faq-item summary .plus::after { width: 2.5px; height: 16px; transition: transform 0.3s var(--ease-out); }
.faq-item[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item .faq-ans { padding: 0 var(--space-lg) var(--space-md); color: var(--color-ink-2); }

/* CTA band */
.cta-band {
  background:
    radial-gradient(60% 120% at 80% 0%, oklch(62% 0.14 158), transparent 60%),
    var(--color-brand-deep);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 15% 100%, oklch(70% 0.12 155 / 0.5), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: var(--text-4xl); color: var(--color-white); }
.cta-band p { margin-top: var(--space-md); font-size: var(--text-lg); color: oklch(94% 0.03 155); max-width: 48ch; margin-inline: auto; }
.cta-band .btn-primary { background: var(--color-white); color: var(--color-brand-deep); box-shadow: 0 12px 30px -12px oklch(20% 0.05 160 / 0.6); }
.cta-band .btn-primary:hover { background: var(--color-sun); color: var(--color-ink); }
.cta-band .hero-actions { justify-content: center; margin-top: var(--space-lg); }
.cta-mini { margin-top: var(--space-md); font-size: var(--text-sm); color: oklch(90% 0.02 155); }

/* Footer */
.footer { padding-top: var(--space-2xl); padding-bottom: var(--space-lg); border-top: 1px solid var(--color-line); margin-top: var(--space-3xl); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.footer-brand p { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); max-width: 34ch; }
.socials { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  color: var(--color-ink-2);
  background: var(--color-white);
  transition: transform 0.18s var(--ease-out), color 0.2s, border-color 0.2s, box-shadow 0.25s var(--ease-out);
}
.socials a:hover { transform: translateY(-3px); color: var(--color-brand); border-color: var(--color-brand); box-shadow: var(--shadow-sm); }
.socials a:focus-visible { outline: 3px solid var(--color-brand-deep); outline-offset: 2px; }
.socials svg { width: 20px; height: 20px; }
.footer h4 { font-family: var(--font-body); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); font-weight: 700; margin-bottom: var(--space-md); }
.footer-col a { display: block; padding: 0.3rem 0; color: var(--color-ink-2); font-size: var(--text-sm); transition: color 0.2s; }
.footer-col a:hover { color: var(--color-brand); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-line-soft); color: var(--color-muted); font-size: var(--text-xs); }

/* ---------- PODSTRONY TEKSTOWE (Regulamin, Polityka) ---------- */
.page-hero {
  position: relative;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-lg);
  background:
    radial-gradient(60% 90% at 90% 0%, oklch(94% 0.045 155 / 0.8), transparent 60%),
    var(--color-brand-wash);
  border-bottom: 1px solid var(--color-line-soft);
}
.crumbs { font-size: var(--text-sm); color: var(--color-muted); display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.crumbs a { color: var(--color-brand-deep); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.page-hero h1 { font-size: var(--text-4xl); margin-top: var(--space-sm); }
.page-hero .lead { margin-top: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-lg); max-width: 60ch; }
.page-meta { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }

.prose-wrap {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: var(--space-xl);
  align-items: start;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}
.toc {
  position: sticky; top: 94px;
  border: 1px solid var(--color-line-soft);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: var(--space-md);
}
.toc h4 { font-family: var(--font-body); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-muted); font-weight: 700; margin-bottom: var(--space-sm); }
.toc a { display: block; padding: 0.35rem 0; font-size: var(--text-sm); color: var(--color-ink-2); border-left: 2px solid transparent; padding-left: 0.7rem; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--color-brand); border-color: var(--color-brand); }

.prose { max-width: 70ch; }
.prose h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-2xl);
  scroll-margin-top: 94px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--text-lg); margin-top: var(--space-lg); }
.prose p { margin-top: var(--space-md); color: var(--color-ink-2); }
.prose ul { margin-top: var(--space-md); padding-left: 1.2rem; list-style: disc; display: flex; flex-direction: column; gap: 0.4rem; color: var(--color-ink-2); }
.prose li { padding-left: 0.3rem; }
.prose a { color: var(--color-brand-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--color-ink); }
.note {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-brand-soft);
  border-left: 4px solid var(--color-brand);
  border-radius: var(--radius-md);
  background: var(--color-brand-wash);
  font-size: var(--text-sm);
  color: var(--color-ink-2);
}

/* Formularz kontaktowy */
.contact-form { margin-top: var(--space-lg); display: flex; flex-direction: column; gap: var(--space-md); max-width: 36rem; }
.contact-form .field { display: flex; flex-direction: column; gap: var(--space-2xs); }
.contact-form label { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); }
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.contact-form textarea { resize: vertical; min-height: 7rem; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--color-muted); }
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px var(--color-brand-soft);
}
.contact-form .btn { align-self: flex-start; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* Mobile menu panel */
.m-menu { display: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin-top: var(--space-lg); max-width: 460px; }
  .deal-float.b { right: 0; }
  .deal-float.c { left: 0; }
  .benefits, .deals, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit.wide { grid-column: span 2; grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-line { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: span 2; }
  .prose-wrap { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; order: -1; }
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .benefits, .deals, .quotes { grid-template-columns: minmax(0, 1fr); }
  .benefit.wide { grid-column: span 1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .footer-brand { grid-column: span 1; }
  .hero-actions .btn { flex: 1; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .m-menu.open { display: block; position: fixed; inset: 74px 0 0; z-index: 55; background: var(--color-paper); padding: var(--space-lg); }
  .m-menu.open a { display: block; padding: var(--space-md) 0; font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); border-bottom: 1px solid var(--color-line-soft); }
  .m-menu.open .btn { width: 100%; margin-top: var(--space-lg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
