/* ============================================================================
   SKYBOARD24.COM — arkusz stylów
   Biel, dużo powietrza, duża typografia, czarne akcenty.
   ========================================================================= */

@font-face {
  font-family: 'InterVar';
  src: url('../fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:        #0d0d0f;
  --ink-soft:   #3a3a40;
  --muted:      #74747c;
  --line:       #e8e8ea;
  --line-soft:  #f3f3f4;
  --paper:      #ffffff;
  --wash:       #fafafa;
  --accent:     #1b4dff;

  --font: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;

  --wrap: 1320px;
  --gut: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 28px;

  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: 'cv05' 1, 'ss03' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { max-width: 100%; display: block; }
img { height: auto; }

/* Kontenery o stałych proporcjach — <picture> musi wypełnić kadr */
.hero__media, .card__media, .showcase__media, .gallery__main, .gallery__thumb,
.line__img, .post-card__media, .article-cover { position: relative; }

.hero__media picture, .card__media picture, .showcase__media picture,
.gallery__main picture, .gallery__thumb picture, .line__img picture,
.post-card__media picture, .article-cover picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Zdjęcia produktu na białym tle — pokazujemy cały kadr */
.img--contain { object-fit: contain !important; padding: 7%; }
.gallery__thumb .img--contain, .line__img .img--contain { padding: 10%; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--ink); color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: clamp(64px, 9vw, 140px); }
.section--tight { padding-block: clamp(44px, 6vw, 84px); }
.section--narrow { max-width: 820px; margin-inline: auto; padding-inline: var(--gut); }
.section--wash { background: var(--wash); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ── Typografia ───────────────────────────────────────────────────────────── */
.display {
  font-size: clamp(2.85rem, 7.6vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  font-weight: 700;
  margin: 0;
}
.display em { font-style: normal; color: var(--muted); }

.h1 { font-size: clamp(2.15rem, 5.2vw, 4.15rem); letter-spacing: -0.045em; }
.h2 { font-size: clamp(1.85rem, 4vw, 3.15rem); letter-spacing: -0.04em; }
.h3 { font-size: clamp(1.3rem, 2.1vw, 1.75rem); letter-spacing: -0.03em; }

.lead {
  font-size: clamp(1.1rem, 1.55vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 20px;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ── Przyciski ────────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--ink); }

.btn--lg { padding: 20px 40px; font-size: 1.06rem; }
.btn--sm { padding: 11px 20px; font-size: .92rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .2s ease;
}
.link-arrow:hover { gap: 14px; }

/* ── Nagłówek ─────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: clamp(150px, 20vw, 205px); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  font-size: .98rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-block: 6px;
  transition: color .18s ease;
}
.nav a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 10px; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  font-weight: 600; font-size: .93rem;
  background: var(--ink); color: #fff;
  transition: transform .18s ease;
}
.cart-btn:hover { transform: translateY(-2px); }
.cart-btn__count {
  min-width: 21px; height: 21px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink);
  border-radius: 100px; font-size: .75rem; font-weight: 700;
}

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 1.5px solid var(--line);
  border-radius: 100px; cursor: pointer;
}
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--ink);
  transition: transform .22s ease, top .22s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 12px var(--gut) 32px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  body.menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 1.45rem; font-weight: 600; color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line-soft); letter-spacing: -0.03em; }
  .nav a::after { display: none; }
  .cart-btn span.cart-btn__label { display: none; }
  .cart-btn { padding: 11px 14px; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 72px); }
/* W hero nagłówek dzieli kolumnę z mockupem, więc skalujemy go ostrożniej */
.hero .display { font-size: clamp(2.6rem, 5.4vw, 4.75rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__copy { max-width: 660px; }
.hero .display { margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--wash);
  aspect-ratio: 4 / 5;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.hero__points {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 34px; padding: 0; list-style: none;
  font-size: .96rem; color: var(--muted);
}
.hero__points li { display: flex; align-items: center; gap: 9px; }
.hero__points li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 3 / 4; max-height: 62vh; }
}

@media (max-width: 560px) {
  /* Na wąskich ekranach przyciski w jednej kolumnie, tej samej szerokości */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* ── Pasek zaufania ───────────────────────────────────────────────────────── */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.trust__item { background: #fff; padding: 30px clamp(16px, 2.2vw, 32px); }
.trust__item strong { display: block; font-size: 1.02rem; letter-spacing: -0.02em; margin-bottom: 5px; }
.trust__item span { font-size: .9rem; color: var(--muted); line-height: 1.5; display: block; }

@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust { grid-template-columns: 1fr; } }

/* ── Siatka produktów ─────────────────────────────────────────────────────── */
.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(36px, 4.5vw, 64px);
}
.section__head .lead { margin: 18px 0 0; }

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(28px, 3.6vw, 56px);
}

.card { display: flex; flex-direction: column; }
.card__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--wash);
  aspect-ratio: 4 / 3;
  margin-bottom: 26px;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.card:hover .card__media img { transform: scale(1.035); }

.badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: #fff; color: var(--ink);
  padding: 8px 15px; border-radius: 100px;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 2px 14px rgba(0,0,0,.08);
}
.badge--accent { background: var(--accent); color: #fff; }

.card__title { font-size: clamp(1.5rem, 2.4vw, 2.05rem); letter-spacing: -0.04em; margin-bottom: 12px; }
.card__desc { color: var(--muted); margin-bottom: 22px; max-width: 52ch; }
.card__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
}
.price { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.price small { display: block; font-size: .74rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

/* ── Pasek pełnoekranowy z mockupem ───────────────────────────────────────── */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.showcase--flip .showcase__media { order: 2; }
.showcase__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--wash);
  aspect-ratio: 1 / 1;
}
.showcase__media img { width: 100%; height: 100%; object-fit: cover; }
.showcase__copy { max-width: 560px; }
.showcase__copy .h2 { margin-bottom: 22px; }

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; }
  .showcase--flip .showcase__media { order: 0; }
}

/* ── Lista zastosowań ─────────────────────────────────────────────────────── */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); }
.uses__cell { background: #fff; padding: 34px clamp(20px, 2.4vw, 34px); }
.uses__cell h3 { font-size: 1.08rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.uses__cell p { color: var(--muted); font-size: .95rem; margin: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tags li {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* ── Produkt ──────────────────────────────────────────────────────────────── */
.product {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 4.5vw, 80px);
  align-items: start;
  padding-top: clamp(28px, 4vw, 56px);
}
.gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--wash);
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__thumb {
  border: 1.5px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  background: var(--wash);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  padding: 0;
  transition: border-color .18s ease;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb[aria-selected="true"] { border-color: var(--ink); }

.product__title { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -0.045em; margin-bottom: 18px; }
.product__price {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 2rem; font-weight: 700; letter-spacing: -0.035em;
  margin: 26px 0 8px;
}
.product__price small { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.field { margin-bottom: 26px; }
.field__label {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: .8rem; letter-spacing: .13em; text-transform: uppercase;
  font-weight: 600; color: var(--muted); margin-bottom: 14px;
}

.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr)); gap: 10px; }
.size {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 15px 14px;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
  background: #fff;
  display: block;
}
.size:hover { border-color: var(--ink-soft); }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size__dim { display: block; font-weight: 650; letter-spacing: -0.02em; font-size: 1.02rem; }
.size__price { display: block; font-size: .9rem; color: var(--muted); margin-top: 3px; }
.size:has(input:checked) { border-color: var(--ink); background: var(--ink); }
.size:has(input:checked) .size__dim { color: #fff; }
.size:has(input:checked) .size__price { color: rgba(255,255,255,.72); }
.size:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.input, .select, .textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 15px 17px;
  background: #fff;
  transition: border-color .16s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: #d5d5d9; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); outline: none; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%230d0d0f' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 100px; overflow: hidden; }
.qty button {
  width: 46px; height: 46px; background: none; border: 0; cursor: pointer;
  font-size: 1.15rem; line-height: 1; color: var(--ink);
}
.qty button:hover { background: var(--line-soft); }
.qty input {
  width: 46px; text-align: center; border: 0; background: none; font-weight: 650; padding: 0;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.buybar { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.buybar .btn { flex: 1; }

@media (max-width: 480px) {
  /* Na małym ekranie licznik zostaje w swoim wierszu, przycisk na całą szerokość */
  .buybar .btn { flex: 1 0 100%; }
}

.product__meta { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.product__meta li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: .95rem; color: var(--ink-soft);
}
.product__meta svg { flex-shrink: 0; margin-top: 3px; }

.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); letter-spacing: -0.035em; margin: 2.2em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 .55em; }
.prose p { margin: 0 0 1.15em; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: .55em; color: var(--ink-soft); }
.prose ul li::before {
  content: ''; position: absolute; left: 4px; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
}
.prose ol { padding-left: 1.2em; }
.prose ol li { margin-bottom: .55em; color: var(--ink-soft); }
.prose a { border-bottom: 1.5px solid var(--line); }
.prose a:hover { border-color: var(--ink); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 650; }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

/* ── Koszyk / zamówienie ──────────────────────────────────────────────────── */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 940px) { .checkout-grid { grid-template-columns: 1fr; } }

.line {
  display: grid;
  grid-template-columns: 108px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.line:first-child { border-top: 1px solid var(--line); }
.line__img { border-radius: 14px; overflow: hidden; background: var(--wash); aspect-ratio: 1/1; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 650; letter-spacing: -0.02em; font-size: 1.08rem; margin-bottom: 4px; display: block; }
.line__meta { font-size: .9rem; color: var(--muted); }
.line__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.line__price { font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.line__remove { background: none; border: 0; padding: 0; color: var(--muted); font-size: .85rem; cursor: pointer; text-decoration: underline; }
.line__remove:hover { color: var(--ink); }

@media (max-width: 640px) {
  .line { grid-template-columns: 78px 1fr; }
  .line__right { grid-column: 2; align-items: flex-start; text-align: left; flex-direction: row; justify-content: space-between; width: 100%; }
}

.summary {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; color: var(--ink-soft); }
.summary__total {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  margin-top: 14px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.035em;
}
.summary__note { font-size: .86rem; color: var(--muted); margin: 18px 0 0; line-height: 1.6; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.label span { color: var(--muted); font-weight: 400; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.check a { border-bottom: 1px solid var(--line); }
.check a:hover { border-color: var(--ink); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

.fieldset { border: 0; padding: 0; margin: 0 0 34px; }
.fieldset legend { padding: 0; font-size: .8rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 16px; }

/* ── Komunikaty ───────────────────────────────────────────────────────────── */
.flash {
  border-radius: 14px;
  padding: 15px 20px;
  margin-bottom: 26px;
  font-size: .96rem;
  border: 1.5px solid var(--line);
  background: var(--wash);
}
.flash--err { border-color: #f0c9c9; background: #fdf4f4; color: #8c2323; }
.flash--ok { border-color: #cfe3cf; background: #f4f9f4; color: #245c2c; }

/* ── Blog ─────────────────────────────────────────────────────────────────── */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 3.2vw, 48px); }
.post-card__media { border-radius: var(--radius); overflow: hidden; background: var(--wash); aspect-ratio: 3/2; margin-bottom: 20px; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__meta { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.post-card__title { font-size: clamp(1.25rem, 1.9vw, 1.6rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.post-card__excerpt { color: var(--muted); font-size: .96rem; margin: 0; }

.article-hero { max-width: 820px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.article-hero .h1 { margin-bottom: 20px; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; background: var(--wash); aspect-ratio: 16/9; margin-bottom: clamp(36px, 5vw, 64px); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; font-size: 1.09rem; }

/* ── Stopka ───────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding-block: clamp(52px, 6vw, 88px) 34px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 3.5vw, 56px);
  margin-bottom: clamp(38px, 5vw, 64px);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand img { width: 190px; margin-bottom: 20px; }
.footer__brand p { color: var(--muted); font-size: .93rem; max-width: 34ch; margin: 0; line-height: 1.7; }
.footer h4 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: .96rem; color: var(--ink-soft); }
.footer li a:hover { color: var(--ink); }

.pay {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px;
  margin-bottom: 28px;
}
.pay__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pay__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.pay__logos img { height: 26px; width: auto; opacity: .82; }
.pay__logos img.pay--tall { height: 30px; }
.pay__chip {
  border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 15px; font-size: .84rem; color: var(--muted); white-space: nowrap;
}

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px;
  font-size: .86rem; color: var(--muted);
}
.footer__bottom a:hover { color: var(--ink); }

/* ── Elementy pomocnicze ──────────────────────────────────────────────────── */
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.crumbs { font-size: .88rem; color: var(--muted); padding-top: 24px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin-inline: 8px; }

.note-box {
  border-left: 3px solid var(--ink);
  padding: 4px 0 4px 22px;
  color: var(--ink-soft);
  margin: 28px 0;
}

.big-num {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight: 700; letter-spacing: -0.05em; line-height: 1;
  margin-bottom: 10px; display: block;
}

/* ── Animacje wejścia ─────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .btn, .burger { display: none !important; }
}
