/* Ceramikker — QR landing "paczka" — produkcja
   Kolory i typografia zgodne z Ceramikker Design System. */

/* ---------- Fonty (DIN Pro, tylko używane odmiany) ---------- */
@font-face { font-family: "DIN Pro"; src: url("fonts/DINPro-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DIN Pro"; src: url("fonts/DINPro-Bold.woff2")    format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DIN Pro"; src: url("fonts/DINPro-Black.woff2")   format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "DIN Pro Condensed"; src: url("fonts/DINPro-CondMedium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DIN Pro Condensed"; src: url("fonts/DINPro-CondBold.woff2")   format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokeny ---------- */
:root {
  --czern: #000;
  --biel: #fff;
  --czerwien: #E63448;
  --czerwien-gleboka: #C71530;
  --font-din: "DIN Pro", "Barlow", Arial, sans-serif;
  --font-cond: "DIN Pro Condensed", "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

/* ---------- Baza ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--czern); }
body {
  color: var(--biel);
  font-family: var(--font-din);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--czerwien); }
a:hover { color: var(--czerwien-gleboka); }
::selection { background: var(--czerwien); color: var(--biel); }
picture { display: contents; }

/* ---------- Layout ---------- */
.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--czern);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  overflow: clip;
}
.glow {
  position: absolute; right: -90px; top: -70px;
  width: 340px; height: 340px;
  background: radial-gradient(closest-side, rgba(230,52,72,.16), transparent 70%);
  pointer-events: none;
}
.dark {
  position: relative; z-index: 1;
  width: 100%; max-width: 470px;
  padding: 30px 22px 40px;
  display: flex; flex-direction: column;
}

/* ---------- Nagłówek marki ---------- */
.brand { display: flex; flex-direction: column; gap: 14px; }
.logo { width: 132px; height: auto; }
.rule { width: 34px; height: 4px; background: linear-gradient(90deg, #E63448 0%, #C71530 100%); }

/* ---------- Intro ---------- */
.intro { margin-top: 26px; }
.eyebrow {
  margin: 0;
  font-family: var(--font-cond); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .2em; color: var(--czerwien);
}
.intro h1 {
  margin: 10px 0 0;
  font-size: 38px; font-weight: 900; text-transform: uppercase;
  line-height: .96; letter-spacing: .005em;
}
.lead {
  margin: 14px 0 0;
  font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.68);
  text-wrap: pretty;
}

/* ---------- Wideo 9:16 ---------- */
.video {
  margin-top: 22px;
  aspect-ratio: 9 / 16;
  background: #0C0C0C;
  border: 1px solid rgba(255,255,255,.14);
  position: relative; overflow: hidden;
}
.video video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; background: #0C0C0C;
}

/* ---------- CTA ---------- */
.cta { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.cta h2 {
  margin: 0;
  font-size: 21px; font-weight: 900; text-transform: uppercase;
  line-height: 1.05; color: var(--czerwien); text-wrap: balance;
}
.cta p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.68); text-wrap: pretty; }
.ig { font-weight: 700; color: var(--czerwien); text-decoration: none; }
.ig:hover { color: var(--czerwien-gleboka); }

/* ---------- Sekcja jasna ---------- */
.light { position: relative; z-index: 1; width: 100%; background: #fff; color: #000; margin-top: 30px; }
.light-inner { width: 100%; max-width: 470px; margin: 0 auto; padding: 26px 22px 30px; }
.light-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.light-head h2 { margin: 8px 0 0; font-size: 24px; font-weight: 900; text-transform: uppercase; line-height: 1; }
.hint { margin: 8px 0 0; font-size: 13px; color: rgba(0,0,0,.55); }

.nav { display: flex; gap: 8px; flex: none; }
.nav-btn {
  width: 36px; height: 36px;
  background: transparent; border: 1px solid rgba(0,0,0,.44);
  color: #000; font: inherit; font-size: 16px; line-height: 1;
  cursor: pointer; transition: border-color .15s ease;
}
.nav-btn:hover { border-color: #000; }
.nav-btn:focus-visible { outline: 2px solid var(--czerwien); outline-offset: 2px; }
.nav-btn:disabled { border-color: rgba(0,0,0,.18); color: rgba(0,0,0,.28); cursor: default; }
.nav-btn:disabled:hover { border-color: rgba(0,0,0,.18); }

/* ---------- Slider produktów ---------- */
.qrs {
  margin: 16px -22px 0; padding: 0 22px;
  display: flex; gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding: 0 22px;           /* pozycje snapowania rowne krawedzi tekstu */
  overscroll-behavior-x: contain;   /* przewijanie slidera nie rusza cala strona */
  scrollbar-width: none;
}
.qrs::-webkit-scrollbar { display: none; }

.card {
  flex: none; width: 156px;
  scroll-snap-align: start;
  background: #fff; border: 1px solid rgba(0,0,0,.12);
  display: flex; flex-direction: column;
  text-decoration: none; color: #000;
  transition: border-color .15s ease;
}
.card:hover { border-color: rgba(0,0,0,.55); color: #000; }
.card:focus-visible { outline: 2px solid var(--czerwien); outline-offset: 2px; }
/* Bez tego koniec przewijania nie jest punktem snapowania i slider "odbija"
   sie po dojechaniu do ostatniego kafla. */
.card:last-child { scroll-snap-align: end; }
.card-thumb { height: 112px; background: #fff; display: flex; align-items: center; justify-content: center; }
.card-thumb img { width: 78%; height: 86%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: 5px; padding: 10px 12px 12px; flex: 1; }
.card-name { font-weight: 900; font-size: 11.5px; text-transform: uppercase; letter-spacing: .02em; }
.card-desc { font-size: 10.5px; line-height: 1.35; color: rgba(0,0,0,.62); }
.card-more {
  margin-top: auto;
  font-family: var(--font-cond); font-weight: 700; font-size: 10px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--czerwien);
}

/* ---------- Stopka ---------- */
.foot { position: relative; z-index: 1; width: 100%; margin-top: auto; }
.foot-bar { height: 6px; background: linear-gradient(90deg, #E63448 0%, #C71530 100%); }
.foot-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px calc(20px + env(safe-area-inset-bottom));
  background: #000;
}
.foot-claim {
  font-family: var(--font-cond); font-weight: 500; font-size: 10px;
  text-transform: uppercase; letter-spacing: .34em; color: rgba(255,255,255,.66);
}
.foot-link {
  font-family: var(--font-cond); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .1em; color: #fff; text-decoration: none;
  flex: none;
}
.foot-link:hover { color: #fff; opacity: .8; }

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