
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/Archivo_Expanded-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/Archivo_Expanded-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --zolty: #FFD400;
  --zolty-ciemny: #D9B400;
  --czarny: #111111;
  --bialy: #FEFFFF;
  --cieply: #ede8e8;
  --linia: 4px;
  --linia-kolor: #111111;
  --tytul-sekcji: #BABABA;
  --szer: 1200px;
  --odstep: clamp(20px, 3.2vw, 44px);
  --font-tekst: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-tytul: "Archivo Expanded", "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bialy); color: var(--czarny); font-family: var(--font-tekst); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--zolty-ciemny); }
:focus-visible { outline: 3px solid var(--czarny); outline-offset: 3px; box-shadow: 0 0 0 6px var(--zolty); }
::selection { background: var(--zolty); color: var(--czarny); }
.przeskocz { position: absolute; left: -9999px; top: 0; background: var(--zolty); padding: 10px 16px; font-weight: 700; z-index: 10; }
.przeskocz:focus { left: 12px; top: 12px; }
.wrap { max-width: var(--szer); margin: 0 auto; padding: 0 var(--odstep); }

h1, h2, .etykieta, .dane dt, .rachunek dt, .nawigacja a, .przycisk, .marka { font-family: var(--font-tytul); letter-spacing: 0.01em; }
:root { --wielkosc-tytulu: clamp(1.8rem, 4.4vw, 3.2rem); }
h1 { font-weight: 900; font-size: var(--wielkosc-tytulu); line-height: 1; margin: 0 0 0.5em; text-transform: uppercase; }
h2 { font-weight: 900; font-size: var(--wielkosc-tytulu); line-height: 1; margin: 0; text-transform: uppercase; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.etykieta, .dane dt, .rachunek dt { display: block; font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.7em; }
.duzy { display: block; font-family: var(--font-tytul); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.25; margin-bottom: 0.4em; }
.wiodacy { font-size: clamp(1.15rem, 1.9vw, 1.45rem); line-height: 1.5; font-weight: 500; max-width: 40em; }
.numer { font-family: var(--font-tytul); font-weight: 700; font-size: clamp(1.2rem, 2.3vw, 1.65rem); line-height: 1.15; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; margin: 0; }

.naglowek { position: sticky; top: 0; z-index: 50; background: var(--bialy); border-bottom: var(--linia) solid var(--linia-kolor); }
.naglowek .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.marka { display: block; flex: 0 0 auto; line-height: 0; }
.marka img { height: 52px; width: auto; }
.nawigacja ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.nawigacja a { text-decoration: none; font-weight: 700; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 0; border-bottom: 3px solid transparent; }
.nawigacja a:hover { border-bottom-color: var(--zolty); }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--linia); background: var(--linia-kolor); border: var(--linia) solid var(--linia-kolor); margin: 0; }
.bento > * { background: var(--bialy); padding: var(--odstep); min-width: 0; }
.k4 { grid-column: span 4; } .k6 { grid-column: span 6; } .k8 { grid-column: span 8; } .k12 { grid-column: span 12; }
.t-zolty { background: var(--zolty) !important; }
.t-cieply { background: var(--cieply) !important; }
.t-czarny { background: var(--czarny) !important; color: var(--bialy); }
.t-czarny a:not(.przycisk) { color: var(--zolty); }
.t-czarny .etykieta, .t-czarny dt { color: var(--zolty); }

.hero { margin-top: calc(var(--odstep) * 1.2); }
.sekcja { padding-top: calc(var(--odstep) * 1.6); }
h2.sekcja-tytul { margin: 0 0 18px; color: var(--tytul-sekcji); }

.kafel-link { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; text-decoration: none; }
.kafel-link:hover .strzalka { transform: translateX(6px); }
.strzalka { font-family: var(--font-tytul); font-weight: 900; font-size: 1.6rem; transition: transform 0.15s; display: inline-block; }

.manifest { font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; }
.manifest > * { max-width: 40em; }
.manifest p { margin-bottom: 1.1em; }
.manifest-tytul { font-family: var(--font-tytul); font-weight: 900; text-transform: uppercase; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.1; margin: 0 0 1em; }
.manifest .manifest-koniec { font-family: var(--font-tytul); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.4rem); line-height: 1.4; margin: 1.6em 0 0; padding-top: 1em; border-top: var(--linia) solid var(--linia-kolor); }

.dane dd { margin: 0; }

.nr-konta { font-family: var(--font-tekst); font-weight: 700; font-size: clamp(1.25rem, 2.9vw, 2.1rem); line-height: 1.25; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; margin: 0 0 0.9em; }
.kopiuj { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; margin-left: 6px; padding: 6px; border: 0; background: transparent; color: var(--czarny); cursor: pointer; font: inherit; line-height: 1; }
.kopiuj[hidden] { display: none; }
.kopiuj svg { width: 26px; height: 26px; fill: currentColor; flex: 0 0 auto; }
.kopiuj:hover { background: var(--czarny); color: var(--zolty); }
.kopiuj-info { font-family: var(--font-tytul); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.kopiuj-info:empty { display: none; }
.rachunek { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 1.2em; }
.rachunek dt { margin: 0; padding-top: 0.35em; }
.rachunek dd { margin: 0; font-weight: 500; }

.przelew { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.qr { margin: 0; width: 200px; }
.qr-obraz { position: relative; display: block; border: 3px solid var(--czarny); background: #FFFFFF; }
.qr-obraz img { width: 100%; height: auto; }
.qr figcaption { font-size: 0.85rem; line-height: 1.35; margin-top: 8px; }
.wsparcie:has(.tymczasowy) .qr-obraz::after {
  content: "WZÓR"; position: absolute; left: -10px; right: -10px; top: 42%;
  background: #C8102E; color: #FFFFFF; text-align: center; padding: 4px 0;
  font-family: var(--font-tytul); font-weight: 900; letter-spacing: 0.12em; transform: rotate(-12deg);
}

.przyciski { display: flex; flex-wrap: wrap; gap: 12px; }
.przycisk { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 14px 20px; border: 3px solid var(--czarny); background: var(--bialy); color: var(--czarny); text-decoration: none; cursor: pointer; }
.przycisk:hover { background: var(--czarny); color: var(--zolty); }
.przycisk.glowny { background: var(--czarny); color: var(--zolty); }
.przycisk.glowny:hover { background: var(--zolty); color: var(--czarny); }
.t-czarny .przycisk { border-color: var(--zolty); background: transparent; color: var(--zolty); }
.t-czarny .przycisk:hover { background: var(--zolty); color: var(--czarny); }

.do-uzupelnienia { display: inline-block; outline: 3px dashed #C8102E; outline-offset: 4px; background: repeating-linear-gradient(45deg, rgba(200, 16, 46, 0.06) 0 8px, transparent 8px 16px); color: #8A0A1F; font-weight: 700; padding: 2px 6px; }
.do-uzupelnienia::before { content: "DO UZUPEŁNIENIA · "; font-family: var(--font-tytul); font-size: 0.7em; letter-spacing: 0.06em; }
.do-uzupelnienia.tymczasowy::before { content: "NUMER TYMCZASOWY, PRZED PUBLIKACJĄ WPISAĆ PRAWDZIWY · "; font-size: 0.5em; vertical-align: middle; }
.blok-uzupelnienia { display: block; padding: 18px; }

.stopka { margin-top: calc(var(--odstep) * 1.6); background: var(--czarny); color: var(--bialy); }
.stopka .wrap { padding-top: var(--odstep); padding-bottom: var(--odstep); display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.stopka a { color: var(--zolty); }
.stopka .etykieta { color: var(--zolty); }
.stopka p, .stopka li { font-size: 0.92rem; }
.stopka ul { list-style: none; padding: 0; margin: 0; }
.stopka li { margin-bottom: 6px; }

@media (max-width: 860px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento > * { grid-column: span 4; }
  .stopka .wrap { grid-template-columns: 1fr; }
  .rachunek { grid-template-columns: 1fr; gap: 2px; }
  .rachunek dd { margin-bottom: 10px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  html { scroll-padding-top: 76px; }
  .naglowek .wrap { gap: 14px; padding-top: 10px; padding-bottom: 10px; }
  .marka img { height: 34px; }
  .nawigacja { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .nawigacja::-webkit-scrollbar { display: none; }
  .nawigacja ul { flex-wrap: nowrap; gap: 16px; white-space: nowrap; }
  .przelew { grid-template-columns: 1fr; }
  .qr { display: none; }
}

@media print {
  .nawigacja, .przyciski, .stopka, .przeskocz { display: none !important; }
  .bento { background: none; border: 0; gap: 0; display: block; }
  .bento > * { padding: 0 0 12px; }
  body { font-size: 11pt; }
}
