/* ============================================================
   KOJAK Szczeciński — style.css
   Vanilla CSS · mobile-first · design system oparty na
   zmiennych CSS (kobalt + złota żółć).
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Kolory bazowe marki */
  --blue-900: #061a52;
  --blue-800: #0a2a7a;   /* główne tło (z plakatu) */
  --blue-700: #103aa0;
  --blue-600: #1b4fd6;
  --blue-glow: #2f6bff;

  --yellow:   #ffc61a;   /* podstawowa żółć / złoto */
  --yellow-300:#ffd94d;
  --gold-deep:#e5a100;

  /* Akcent różowy/magenta (jak lizak w logo) */
  --pink:     #ff0068;   /* główny akcent */
  --pink-300: #ea679a;   /* wsparcie */
  --pink-200: #ed7ba6;   /* delikatny tint */

  --cream:    #fff7e6;
  --ink:      #08123a;    /* prawie-czerń w błękicie */
  --white:    #ffffff;

  /* Semantyka */
  --bg:        var(--blue-800);
  --bg-deep:   var(--blue-900);
  --text:      #eaf0ff;
  --text-dim:  #a8b6e8;

  /* Typografia */
  --f-display: "Alfa Slab One", Georgia, serif;   /* wordmark KOJAK — slab 3D */
  --f-head:    "Archivo", system-ui, sans-serif;
  --f-body:    "Manrope", system-ui, sans-serif;
  --f-serif:   "Playfair Display", Georgia, serif;

  /* Płynne skale typograficzne (clamp) */
  --fs-hero:  clamp(4.5rem, 18vw, 15rem);
  --fs-h2:    clamp(2.1rem, 5.5vw, 4.6rem);
  --fs-lead:  clamp(1.05rem, 1.6vw, 1.35rem);

  /* Layout */
  --maxw: 1400px;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --radius: 22px;
  --radius-lg: 34px;

  /* Ruch */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.76, 0, 0.24, 1);
  --dur: 0.6s;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--f-body);
  background: #04123a;
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Lenis smooth-scroll hooks */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

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

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

h1, h2, h3, h4 { line-height: 1.02; font-weight: 800; }

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

/* ---------- TŁO: brudne, gradientowe warstwy ---------- */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

/* Gradient / winieta: ciemno u góry → jaśniej w środku → znów ciemno na dole */
.bg__grad {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      #030d2e 0%,
      #0a2a7a 26%,
      #1440b4 50%,
      #0e327f 72%,
      #030b26 100%);
}
/* Poziomy „reflektor" wzmacniający środek */
.bg__grad::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 70% at 50% 42%, rgba(46,107,255,0.38), transparent 60%);
  mix-blend-mode: screen;
}

/* Tekstura brudu / rys — warstwa parallax (przesuwana przez GSAP) */
.bg__grunge {
  position: absolute; left: 0; right: 0; top: -18%; height: 136%;
  background: url("../assets/img/grunge.png") center / cover;
  opacity: 0.5; mix-blend-mode: overlay;
  will-change: transform;
}

/* Ciemna winieta na krawędziach */
.bg__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(130% 90% at 50% 38%, transparent 45%, rgba(2,8,28,0.66) 100%);
}

/* ---------- 3. PRELOADER ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg-deep);
  display: grid; place-items: center;
  transition: transform 0.9s var(--ease-inout);
}
.preloader.is-done { transform: translateY(-100%); }
.preloader__inner { text-align: center; width: min(80vw, 340px); }
.preloader__word {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 9vw, 5rem);
  color: var(--yellow);
  letter-spacing: 0.04em;
  display: block; margin-bottom: 1.4rem;
}
.preloader__bar {
  height: 4px; width: 100%; border-radius: 4px;
  background: rgba(255,255,255,0.12); overflow: hidden;
}
.preloader__fill {
  display: block; height: 100%; width: 0%;
  background: var(--yellow); border-radius: 4px;
}

/* ---------- 4. CUSTOM CURSOR ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--white); transform: translate(-50%, -50%);
}
.cursor__ring {
  position: fixed; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid var(--white);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s var(--ease), opacity 0.3s;
}
.cursor.is-hover .cursor__ring { width: 68px; height: 68px; background: rgba(255,255,255,0.12); }
.cursor.is-cta .cursor__ring {
  width: 118px; height: 118px; background: var(--yellow); border-color: var(--yellow);
  animation: cursorPulse 0.85s var(--ease-inout) infinite;
}
.cursor.is-cta { mix-blend-mode: normal; }
.cursor.is-cta .cursor__dot { opacity: 0; }
.cursor__ring::after {
  content: attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 900; font-size: 0.78rem;
  color: var(--ink); opacity: 0; transition: opacity 0.25s, font-size 0.25s;
}
.cursor.is-cta .cursor__ring::after { opacity: 1; font-size: 1.5rem; }
@keyframes cursorPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.16); }
}
/* chowamy natywny kursor tylko gdy custom działa */
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--f-head); font-weight: 800;
  letter-spacing: 0.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 0.95em 1.6em; border-radius: 100px;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  will-change: transform;
  box-shadow: 0 10px 30px -10px rgba(255,198,26,0.6);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--white); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease-inout);
}
.btn:hover::before { transform: translateY(0); }
.btn > * { position: relative; z-index: 1; transition: color 0.3s; }
.btn__arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn:hover { transform: translateY(-2px); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border: 1.5px solid rgba(255,255,255,0.28);
  box-shadow: none;
}
.btn--ghost::before { background: var(--yellow); }
.btn--ghost:hover { color: var(--ink); }
.btn--big  { font-size: 1.05rem; padding: 1.05em 1.9em; }
.btn--xl   { font-size: clamp(1.1rem, 2.4vw, 1.6rem); padding: 1.1em 2.4em; }
.btn--nav  { padding: 0.72em 1.3em; font-size: 0.92rem; }

/* Różowy przycisk (sekcja CTA „Osłodź sobie życie") — biały tekst */
.btn--pink {
  --btn-bg: var(--pink); --btn-fg: #fff;
  box-shadow: 0 12px 34px -10px rgba(255,0,104,0.65);
}
.btn--pink::before { background: #fff; }
.btn--pink:hover > * { color: var(--ink); }   /* na białym tle hoveru tekst ciemny */

/* ---------- 6. NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: clamp(0.8rem, 2vw, 1.4rem) var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), backdrop-filter 0.5s;
}
.nav.is-scrolled {
  background: rgba(6, 26, 82, 0.72);
  backdrop-filter: blur(14px);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
/* przy dużym logo pasek trzyma linki/CTA u góry, a logo „wychodzi" w dół */
.nav__links, .nav .btn--nav, .nav__burger { margin-top: 0.5rem; }
.brand { margin-top: -0.2rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55em; }
.brand__logo { height: clamp(66px, 9.5vw, 168px); width: auto; display: block; transition: height 0.4s var(--ease); }
.nav.is-scrolled .brand__logo { height: clamp(50px, 6vw, 96px); }
/* Mobile: kompaktowe logo wg standardów nawigacyjnych (nie „puchnie") */
@media (max-width: 760px) {
  .brand__logo { height: 46px; }
  .nav.is-scrolled .brand__logo { height: 40px; }
}
.brand__mark { width: 34px; height: 34px; display: block; }
.brand__smiley { width: 100%; height: 100%; display: block; }
.brand__word {
  font-family: var(--f-display); font-size: 1.5rem; color: var(--yellow);
  letter-spacing: 0.02em; line-height: 1;
}
.nav__links { display: none; gap: 2rem; }
.nav__links a {
  font-family: var(--f-head); font-weight: 700; font-size: 0.98rem;
  position: relative; padding: 0.2em 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--yellow); transition: width 0.35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.btn--nav { display: none; }

/* Burger */
.nav__burger {
  display: inline-flex; flex-direction: column; gap: 6px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.nav__burger span { width: 28px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: var(--blue-900);
  display: grid; place-items: center;
  clip-path: circle(0% at 100% 0);
  transition: clip-path 0.7s var(--ease-inout);
}
.mobile-menu.is-open { clip-path: circle(150% at 100% 0); }
.mobile-menu__links { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.mobile-menu__links a {
  font-family: var(--f-display); font-size: clamp(2rem, 9vw, 3rem);
  color: var(--text);
}
.mobile-menu__links a.btn { font-family: var(--f-head); font-size: 1.1rem; color: var(--ink); }

/* ---------- 7. SECTION SHELL ---------- */
section { position: relative; z-index: 2; }
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section-kicker {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.18em; font-size: 0.82rem; color: var(--pink);
  margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.6em;
}
.section-kicker::before {
  content: ""; width: 1.8em; height: 2px; background: var(--pink); border-radius: 2px;
}
.section-title {
  font-family: var(--f-head); font-weight: 900;
  font-size: var(--fs-h2); letter-spacing: -0.02em;
  max-width: 16ch; text-wrap: balance;
}
.section-sub { font-size: var(--fs-lead); color: var(--text-dim); max-width: 42ch; margin-top: 1.2rem; }

/* ---------- 8. HERO ---------- */
.hero {
  min-height: 100svh; position: relative;
  padding: clamp(7rem, 14vh, 11rem) var(--gutter) clamp(3rem, 8vh, 6rem);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(20px); opacity: 0.55;
  will-change: transform;
}
.blob--1 { width: 42vw; height: 42vw; left: -12vw; top: -8vw;
  background: radial-gradient(circle at 30% 30%, var(--blue-600), transparent 70%); }
.blob--2 { width: 34vw; height: 34vw; right: -8vw; bottom: -10vw;
  background: radial-gradient(circle at 50% 50%, var(--blue-glow), transparent 68%); opacity: 0.4; }
.blob--3 { width: 24vw; height: 24vw; right: 26vw; top: 8vw;
  background: radial-gradient(circle at 50% 50%, rgba(255,0,104,0.45), transparent 70%); opacity: 0.32; }

.hero__grid {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__eyebrow {
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.24em; font-size: clamp(0.72rem, 1.5vw, 0.95rem);
  color: var(--yellow); margin-bottom: clamp(0.6rem, 2vw, 1.2rem);
}
.hero__title { margin: 0; }
.hero__title-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title-line > span {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  line-height: 1; letter-spacing: 0.01em;
  color: var(--yellow);            /* płaski kolor, bez efektu 3D */
}
.hero__tagline {
  font-family: var(--f-head); font-weight: 900;
  font-size: clamp(1.4rem, 4.4vw, 2.6rem);
  letter-spacing: -0.01em; margin: clamp(0.6rem,2vw,1.1rem) 0 1.4rem;
  color: var(--white);
}
.hero__tagline em { font-family: var(--f-serif); font-style: italic; color: var(--yellow); font-weight: 600; }
.hero__lead { font-size: var(--fs-lead); color: var(--text-dim); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__badges {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  margin-top: 2.4rem; font-family: var(--f-head); font-weight: 700;
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim);
}
.hero__badges li { position: relative; padding-left: 1.4rem; }
.hero__badges li::before { content: "✶"; position: absolute; left: 0; color: var(--pink); }

/* Hero media / video frame */
.hero__media { justify-self: center; width: 100%; max-width: 420px; will-change: transform; }
.hero__frame {
  position: relative; aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg); overflow: visible;
  transform: rotate(-3deg);
}
.hero__frame .hero__video {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,198,26,0.1);
}
.sticker {
  position: absolute; z-index: 3;
  will-change: transform;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.55);
  border: 3px solid rgba(255,255,255,0.9);
}
.sticker--drop {
  top: -22px; right: -14px; width: 96px; height: 96px;
  background: var(--pink);
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
  transform: rotate(12deg);
  /* obrys ścinamy razem z kształtem gwiazdy */
  border: none;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.45));
}
.sticker--sweet {
  bottom: 16px; left: -34px;
  /* ~25% szerokości ramki plakatu */
  width: clamp(72px, 7.3vw, 106px); height: clamp(72px, 7.3vw, 106px);
  background: var(--pink); border: none; border-radius: 50%;
  transform: rotate(-8deg);
  box-shadow: 0 12px 26px -8px rgba(0,0,0,0.5);
}

/* Scroll cue */
.hero__scroll {
  position: relative; z-index: 2;
  align-self: center; margin-top: clamp(2rem, 5vh, 3.5rem);
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.72rem; color: var(--text-dim);
}
.hero__scroll-line { width: 1.5px; height: 46px; background: linear-gradient(var(--yellow), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:""; position:absolute; top:-50%; left:0; width:100%; height:50%; background: var(--white); animation: scrollpulse 1.8s var(--ease-inout) infinite; }
@keyframes scrollpulse { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(300%)} }

/* ---------- 9. MARQUEE ---------- */
.marquee {
  background: var(--yellow); color: var(--ink);
  padding: 0.9rem 0; overflow: hidden; white-space: nowrap;
  border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink);
  transform: rotate(-1.4deg) scale(1.04); margin: clamp(3rem,8vh,6rem) 0;
  position: relative; z-index: 3;
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-size: clamp(1.3rem, 3vw, 2.1rem);
  text-transform: uppercase; padding-right: 0.4em;
}
.marquee__track b { color: var(--pink); margin: 0 0.4em; }

/* ---------- 10. O MARCE ---------- */
.marka { padding: clamp(3rem, 8vh, 7rem) 0; }
.marka__grid {
  max-width: var(--maxw); margin: clamp(2.4rem,5vw,4rem) auto 0;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; gap: clamp(2.4rem, 5vw, 5rem); align-items: center;
}
.marka__figure {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  transform: rotate(-2.5deg);
  box-shadow: 0 40px 80px -34px rgba(0,0,0,0.7);
  border: 3px solid rgba(255,255,255,0.1);
}
.marka__figure img { width: 100%; }
.marka__lead { font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 600; color: var(--white); margin-bottom: 1.4rem; }
.marka__text p { color: var(--text-dim); margin-bottom: 1.2rem; max-width: 52ch; }
.marka__quote {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--yellow); line-height: 1.35; margin: 2rem 0;
  padding-left: 1.4rem; border-left: 4px solid var(--pink);
}
.marka__stats { display: flex; flex-wrap: wrap; gap: 2rem 3rem; margin-top: 2.4rem; }
.stat__num { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--yellow); display: block; line-height: 1; }
.stat__label { font-size: 0.9rem; color: var(--text-dim); }

/* ---------- 11. SMAKI ---------- */
.smaki { padding: clamp(3rem, 8vh, 7rem) 0; }
.smaki__grid {
  max-width: var(--maxw); margin: clamp(2.4rem,5vw,4rem) auto 0;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
.flavor {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.09);
  padding: 1.6rem 1.6rem 1.8rem;
  display: flex; align-items: center; gap: 1.4rem;
  transition: transform 0.5s var(--ease), border-color 0.5s, background 0.5s;
  will-change: transform;
}
.flavor::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(120% 120% at 50% 120%, var(--accent), transparent 60%);
  transition: opacity 0.5s var(--ease);
}
.flavor > * { position: relative; z-index: 1; }
.flavor:hover { transform: translateY(-6px); border-color: var(--accent); }
.flavor:hover::before { opacity: 0.22; }
.flavor__media { width: 74px; flex-shrink: 0; display: grid; place-items: center; }
.flavor__media img { max-height: 150px; width: auto; transition: transform 0.6s var(--ease); transform-origin: bottom center; filter: drop-shadow(0 16px 16px rgba(0,0,0,0.35)); }
.flavor:hover .flavor__media img { transform: translateY(-6px) rotate(-6deg) scale(1.08); }
.flavor__index { font-family: var(--f-head); font-weight: 800; color: var(--accent); font-size: 0.85rem; letter-spacing: 0.1em; }
.flavor__name { font-family: var(--f-head); font-weight: 900; font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 0.2rem 0 0.5rem; }
.flavor__note { color: var(--text-dim); font-size: 0.96rem; }

/* ---------- 12. GALERIA ---------- */
.galeria { padding: clamp(3rem, 8vh, 7rem) 0; }
.galeria__grid {
  max-width: var(--maxw); margin: clamp(2.4rem,5vw,4rem) auto 0;
  padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; gap: 1.2rem;
}
.galeria__item {
  margin: 0; overflow: hidden; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative; aspect-ratio: 4/3;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
}
.galeria__item--tall { aspect-ratio: 3/4; }
.galeria__item--wide { aspect-ratio: 16/10; }
/* Akcentowa poświata pod wyciętym produktem */
.galeria__item--float::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(68% 58% at 50% 56%, rgba(255,0,104,0.20), transparent 70%);
}
.galeria__item--float.is-yellow::before {
  background: radial-gradient(68% 58% at 50% 56%, rgba(255,198,26,0.18), transparent 70%);
}
.galeria__item img { position: relative; z-index: 1; width: 100%; height: 100%; transition: transform 0.7s var(--ease); }
.galeria__item--photo { background: var(--blue-900); }
.galeria__item--photo img { object-fit: contain; padding: 4%; }   /* cały plakat mieści się w ramce */
.galeria__item--float img { object-fit: contain; padding: 7% 9%; filter: drop-shadow(0 22px 26px rgba(0,0,0,0.5)); }
.galeria__item:hover img { transform: scale(1.05) translateY(-4px); }

/* ---------- 13. JAK KUPIĆ ---------- */
.kup { padding: clamp(3rem, 8vh, 7rem) 0; }
.kup__grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr; gap: clamp(2.4rem, 5vw, 5rem); align-items: center;
}
.kup__figure { position: relative; margin: 0; display: grid; place-items: center; }
.kup__figure img { max-height: 60vh; width: auto; filter: drop-shadow(0 40px 50px rgba(0,0,0,0.5)); }
.kup__price-tag {
  position: absolute; top: 6%; right: 8%;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-size: 1.1rem;
  transform: rotate(-12deg); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.5);
  will-change: transform;
}
/* Cena + specyfikacja */
.kup__specs { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; margin: 1.8rem 0 0.4rem; }
.kup__price {
  font-family: var(--f-display); font-size: clamp(2rem, 5vw, 3rem);
  color: var(--yellow); line-height: 1;
}
.kup__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; color: var(--text-dim); font-size: 0.92rem; }
.kup__meta li { position: relative; padding-left: 1.1rem; }
.kup__meta li::before { content: "✶"; position: absolute; left: 0; color: var(--pink); }
.kup__meta b { color: var(--white); }

.usecases { list-style: none; margin: 2rem 0; display: flex; flex-direction: column; gap: 1.2rem; }
.usecase { display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.2rem 1.3rem; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s var(--ease), border-color 0.4s; }
.usecase:hover { transform: translateX(6px); border-color: var(--pink); }
.usecase__ico { font-size: 1.7rem; line-height: 1; }
.usecase h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.2rem; }
.usecase p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- 14. CTA BAND ---------- */
.cta-band { padding: clamp(4rem, 10vh, 8rem) 0 0; text-align: center; overflow: hidden; }
.cta-band__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.cta-band__title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 10vw, 7.5rem); line-height: 1.02;
  color: var(--yellow); letter-spacing: 0.01em;
  margin-bottom: 2rem;
}
.cta-band__marquee { margin-top: clamp(3rem, 7vh, 5rem); overflow: hidden; white-space: nowrap;
  border-top: 3px solid rgba(255,255,255,0.12); padding: 1.2rem 0; }
.cta-band__marquee .marquee__track span {
  font-family: var(--f-display); font-size: clamp(1.4rem, 4vw, 2.6rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.35); text-transform: uppercase; padding-right: 0.4em;
}

/* ---------- 15. FOOTER ---------- */
.footer { background: var(--blue-900); padding: clamp(3rem,7vh,5rem) var(--gutter) 2rem; position: relative; z-index: 2; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.6rem;
  padding-bottom: 2.6rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brandrow { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.4rem); margin-bottom: 1rem; }
.brand__word--big { font-size: clamp(3rem, 12vw, 5rem); color: var(--yellow); display: block;
  letter-spacing: 0.01em; line-height: 1; }
.footer__logo { height: clamp(3rem, 11vw, 4.6rem); width: auto; display: block; }
.footer__brand p { color: var(--text-dim); }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.footer__col h4 { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; color: var(--yellow); margin-bottom: 1rem; }
.footer__col a, .footer__muted { display: block; color: var(--text-dim); margin-bottom: 0.6rem; transition: color 0.3s; }
.footer__muted strong { color: var(--text); font-weight: 800; }
.footer__col a:hover { color: var(--yellow); }
.footer__bottom { max-width: var(--maxw); margin: 1.6rem auto 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
  justify-content: space-between; font-size: 0.82rem; color: var(--text-dim); }
.footer__tags { font-family: var(--f-head); font-weight: 800; letter-spacing: 0.04em; color: var(--yellow); }
.footer__legal { max-width: var(--maxw); margin: 1.2rem auto 0; font-size: 0.72rem; line-height: 1.5; color: rgba(168,182,232,0.55); }

/* ---------- 16. REVEAL STATES (JS-driven) ---------- */
.reveal-fade { opacity: 0; transform: translateY(28px); }
.reveal-line { overflow: hidden; }
/* Uwaga: stan ukrycia spanów steruje GSAP (yPercent). Nie ustawiamy tu
   transformu w % — kolidowałby z gsap.yPercent. Pre-JS chroni preloader. */
.reveal-line > span { display: inline-block; will-change: transform; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; transform: translateY(110%); will-change: transform; }

/* Bez JS / reduce-motion — pokaż wszystko */
.no-js .reveal-fade, .no-js .reveal-line > span, .no-js .split-line > span { opacity: 1; transform: none; }

/* ---------- 17. RESPONSIVE ---------- */
@media (min-width: 620px) {
  .smaki__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1.2fr 2fr; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .btn--nav { display: inline-flex; }
  .nav__burger { display: none; }

  /* zapas u góry, by duże logo w nawigacji nie nachodziło na hero */
  .hero { padding-top: clamp(12.5rem, 15vh, 14.5rem); }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero__scroll { position: absolute; left: 50%; transform: translateX(-50%); bottom: clamp(1rem,3vh,2rem); margin: 0; }

  .marka__grid { grid-template-columns: 0.9fr 1.1fr; }
  .smaki__grid { grid-template-columns: repeat(3, 1fr); }

  .galeria__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(10px, auto);
  }
  .galeria__item--tall { grid-row: span 2; aspect-ratio: auto; }
  .galeria__item--wide { grid-column: span 2; aspect-ratio: 21/9; }

  .kup__grid { grid-template-columns: 0.9fr 1.1fr; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .flavor { flex-direction: column; align-items: flex-start; text-align: left; min-height: 360px; padding: 2rem; }
  .flavor__media { width: 100%; height: 190px; }
  .flavor__media img { max-height: 190px; }
}

/* ---------- 18. A11Y / MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal-fade { opacity: 1; transform: none; }
  .reveal-line > span, .split-line > span { transform: none; }
  .hero__frame { transform: none; }
  .cursor { display: none; }
}

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

/* Ukryj custom cursor na urządzeniach dotykowych */
@media (hover: none) {
  .cursor { display: none; }
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: auto; }
}
