/* ==========================================================
   Film od Św. Mikołaja — makieta strony głównej
   Noc na zewnątrz chatki → ciepłe wnętrze. Jeden ciemny motyw,
   jasny jest tylko papier (formularz, listy-opinie, metki).
   ========================================================== */
:root {
  --night: #0B1220;
  --night-2: #121C31;
  --wood: #140D09;
  --wood-2: #1E140D;
  --wood-3: #2A1C12;
  --amber: #F4A340;
  --amber-soft: #F8C77E;
  --velvet: #A3182B;
  --velvet-2: #BE1F35;
  --snow: #F7F2E8;
  --paper: #F8F2E6;
  --paper-2: #EFE5D2;
  --paper-line: #E0D3BA;
  --ink: #2B1B12;
  --ink-2: #6B5442;
  --gold: #D4AF5F;
  --gold-2: #B98F3E;
  --pine: #2E6B4C;
  --muted: rgba(247, 242, 232, .72);
  --line: rgba(212, 175, 95, .28);

  --display: 'Fraunces', Georgia, serif;
  --text: 'Figtree', system-ui, sans-serif;
  --script: 'Pinyon Script', 'Fraunces', cursive;

  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--wood);
  color: var(--snow);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--snow); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); font-size: .9rem; }

.h2 {
  font-family: var(--display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin: 0;
  text-wrap: balance;
}

/* ---------- Przyciski ---------- */
.btn {
  --bg: var(--velvet);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.5em;
  border: 0; border-radius: 999px;
  background: var(--bg); color: #fff;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(163, 24, 43, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s;
}
.btn:hover { --bg: var(--velvet-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0 1.15em; font-size: .94rem; }
.btn--lg { min-height: 60px; padding: 0 2em; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--gold { --bg: var(--amber); color: #2A1405; box-shadow: 0 10px 30px -10px rgba(244, 163, 64, .7), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--gold:hover { --bg: var(--amber-soft); }
.btn--line { --bg: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--paper-line); }
.btn--line:hover { --bg: var(--paper-2); }

/* ---------- Pasek terminu ---------- */
.ribbon {
  position: relative; z-index: 31;
  background: var(--velvet);
  color: #fff; text-align: center;
  font-size: .9rem; line-height: 1.35;
  padding: 8px var(--gut);
}
.ribbon p { margin: 0; }
.ribbon b, .ribbon strong { font-weight: 700; }
@media (max-width: 640px) { .ribbon__more { display: none; } }

/* ---------- Logo ---------- */
.logo {
  display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto;
  align-items: center; column-gap: 8px;
  text-decoration: none; color: var(--snow); line-height: 1;
}
.logo__seal {
  grid-row: 1 / 3; grid-column: 1;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,.28), transparent 45%),
    radial-gradient(circle, var(--velvet-2) 0 58%, var(--velvet) 60%);
  box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px rgba(212,175,95,.25), 0 6px 14px rgba(0,0,0,.4);
  /* lakowa pieczęć — nierówna krawędź */
  clip-path: polygon(50% 0, 61% 3%, 72% 2%, 80% 9%, 90% 13%, 94% 24%, 100% 34%, 98% 46%, 100% 58%, 95% 68%, 92% 80%, 82% 87%, 73% 96%, 61% 97%, 50% 100%, 39% 97%, 27% 96%, 18% 88%, 8% 81%, 5% 69%, 0 58%, 2% 46%, 0 34%, 6% 23%, 10% 13%, 20% 8%, 28% 2%, 39% 3%);
}
.logo__seal span {
  font-family: var(--display); font-variation-settings: "SOFT" 100;
  font-weight: 700; font-size: 15px; color: #FFE7C2; letter-spacing: -.02em;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px dashed rgba(255, 231, 194, .45);
}
.logo__small { grid-column: 2; font: 500 12px/1 var(--text); letter-spacing: .02em; color: var(--amber-soft); }
.logo__big { grid-column: 2; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: 24px; letter-spacing: -.02em; }

/* ---------- Menu ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  height: var(--nav-h);
  margin-bottom: calc(-1 * var(--nav-h));
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.is-solid { background: rgba(14, 10, 8, .86); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav__in { height: 100%; width: min(100% - 2 * var(--gut), 1360px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a, .nav__account { text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--muted); transition: color .2s; position: relative; }
.nav__links a:hover, .nav__account:hover { color: var(--snow); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__account { padding-left: 24px; border-left: 1px solid var(--line); }
@media (max-width: 1080px) { .nav__links, .nav__account { display: none; } .nav .btn { margin-left: auto; } }
@media (max-width: 420px) { .logo__big { font-size: 20px; } .logo__seal { width: 40px; height: 40px; } .logo__seal span { width: 31px; height: 31px; font-size: 13px; } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; background: var(--night); }
.hero__stage { position: relative; height: 100svh; min-height: 660px; overflow: hidden; isolation: isolate; }
.hero__scene { position: absolute; inset: 0; }
.hero__scene img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 60%; }

@keyframes hearth { from { opacity: .65; } to { opacity: 1; } }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 22, .92) 0%, rgba(7, 11, 22, .72) 30%, rgba(7, 11, 22, .1) 58%, transparent 70%),
    linear-gradient(0deg, rgba(7, 11, 22, .85) 0%, transparent 28%),
    linear-gradient(180deg, rgba(7, 11, 22, .6) 0%, transparent 18%);
}
.hero__content {
  position: relative; z-index: 3;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 20px); padding-bottom: 40px;
}
.hero__kicker { margin: 0 0 14px; color: var(--amber-soft); font-weight: 600; font-size: 1rem; }
.hero__title {
  margin: 0; max-width: 11.5em;
  font-family: var(--display); font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 600; font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); line-height: .98; letter-spacing: -.025em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .45);
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .ln > span { display: inline-block; }
.hero__title em { font-style: italic; color: var(--amber); font-weight: 500; }
.hero__lead { max-width: 31em; margin: 22px 0 26px; font-size: clamp(1.02rem, .95rem + .3vw, 1.16rem); color: var(--muted); }

.namebox { max-width: 560px; padding: 16px; border-radius: var(--r-lg); background: rgba(10, 15, 28, .62); border: 1px solid rgba(212, 175, 95, .35); backdrop-filter: blur(8px); }
.namebox label { display: block; font-weight: 600; margin: 0 0 10px 4px; }
.namebox__row { display: flex; gap: 10px; }
.namebox input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 999px;
  border: 1px solid rgba(247, 242, 232, .3); background: rgba(247, 242, 232, .08);
  font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: #fff;
}
.namebox input::placeholder { color: rgba(247, 242, 232, .5); font-weight: 400; }
.namebox input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(244, 163, 64, .3); }
@media (max-width: 560px) { .namebox__row { flex-direction: column; } .namebox input { flex: none; } .namebox .btn { width: 100%; } }

.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: .95rem; }
.hero__facts b { color: var(--snow); font-size: 1.1rem; margin-right: 4px; }
.stars { color: var(--gold); letter-spacing: .08em; }

.hero__scroll { position: absolute; z-index: 4; left: 50%; bottom: 22px; translate: -50% 0; width: 30px; height: 48px; border: 2px solid rgba(247, 242, 232, .5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--snow); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 760px) {
  .hero__stage { min-height: 720px; }
  .hero__scene img { object-position: 62% 60%; }
  .hero__shade { background: linear-gradient(0deg, rgba(7, 11, 22, .96) 0%, rgba(7, 11, 22, .75) 55%, rgba(7, 11, 22, .25) 100%); }
  .hero__content { justify-content: flex-end; padding-bottom: 72px; }
  .hero__scroll { display: none; }
}

/* intro (klasa ustawiana w <head>) */
html.intro .hero__title .ln > span { transform: translateY(105%); }
html.intro .hero__kicker, html.intro .hero__lead, html.intro .namebox, html.intro .hero__facts { opacity: 0; }
html.intro .hero__scene img { filter: brightness(.25) saturate(.6); }

/* ==========================================================
   FRAGMENT FILMU
   ========================================================== */
.film {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 8vw, 110px);
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(244, 163, 64, .12), transparent 70%),
    linear-gradient(180deg, #0F0A07, var(--wood));
}
.film__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.film__head .h2 { max-width: 16em; }

.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(247, 242, 232, .04); color: var(--snow); font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #2A1405; }
.chip--own { border-style: dashed; }

.film__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
@media (max-width: 1000px) { .film__grid { grid-template-columns: minmax(0, 1fr); } }

.player { margin: 0; }
.player__screen {
  position: relative; aspect-ratio: 1920 / 1072; overflow: hidden; border-radius: var(--r-lg);
  background: #000;
  box-shadow: 0 0 0 1px rgba(212, 175, 95, .35), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(244, 163, 64, .35);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.is-on { opacity: 1; z-index: 1; }
.slide > img, .slide .quadbox > img { width: 100%; height: 100%; object-fit: cover; }
.slide.is-on > img, .slide.is-on .quadbox { animation: kenburns 6s ease-out both; }
.slide:nth-child(even).is-on > img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.07); } }
@keyframes kenburns2 { from { transform: scale(1.08) translateX(1.5%); } to { transform: scale(1.0) translateX(0); } }
.player__sub {
  position: absolute; z-index: 3; left: 50%; bottom: 7%; translate: -50% 0; width: min(90%, 760px);
  margin: 0; text-align: center;
  font-size: clamp(.9rem, .6rem + 1.1vw, 1.35rem); font-weight: 600; line-height: 1.35;
}
.player__sub span { background: rgba(0, 0, 0, .66); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: .12em .45em; border-radius: 6px; }
.player__sub b { color: var(--amber-soft); }
.player__big {
  position: absolute; z-index: 4; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(163, 24, 43, .92); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(163, 24, 43, .25), 0 20px 40px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease), opacity .3s;
}
.player__big svg { width: 38px; fill: currentColor; margin-left: 5px; }
.player__big:hover { transform: scale(1.06); }
.player.is-playing .player__big { opacity: 0; pointer-events: none; transform: scale(.8); }
.player__badge { position: absolute; z-index: 3; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .55); font-size: .8rem; font-weight: 600; color: var(--amber-soft); }
.player__bar { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.player__btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center; }
.player__btn svg { width: 20px; fill: var(--snow); }
.player__btn .i-pause, .player.is-playing .player__btn .i-play { display: none; }
.player.is-playing .player__btn .i-pause { display: block; }
.player__track { flex: 1; display: flex; gap: 4px; }
.player__track button { flex: 1; height: 26px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.player__track button::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: rgba(247, 242, 232, .18); }
.player__track button i { position: absolute; left: 0; top: 11px; height: 4px; border-radius: 2px; background: var(--amber); width: 0; }
.player__track button.is-done i { width: 100%; }
.player__time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; min-width: 3ch; }
.player__note { margin-top: 12px; color: var(--muted); font-size: .88rem; }

.scenes { list-style: none; margin: 0; padding: 0; counter-reset: sc; border-top: 1px solid var(--line); }
.scenes li { border-bottom: 1px solid var(--line); counter-increment: sc; }
.scenes button {
  width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; text-align: left;
  padding: 13px 8px 13px 44px; border: 0; background: transparent; cursor: pointer; position: relative;
  transition: background-color .25s;
}
.scenes button::before { content: counter(sc); position: absolute; left: 6px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--muted); }
.scenes__t { flex: 1 1 100%; font-weight: 600; }
.scenes .tag { font-size: .76rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: rgba(244, 163, 64, .14); color: var(--amber-soft); }
.scenes button:hover { background: rgba(247, 242, 232, .04); }
.scenes li.is-on button { background: linear-gradient(90deg, rgba(244, 163, 64, .16), transparent); }
.scenes li.is-on button::before { background: var(--amber); border-color: var(--amber); color: #2A1405; }
@media (max-width: 1000px) {
  .scenes { display: flex; overflow-x: auto; gap: 8px; border: 0; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .scenes li { border: 0; flex: 0 0 auto; }
  .scenes button { width: auto; border: 1px solid var(--line); border-radius: 12px; max-width: 220px; }
}

/* quad: zdjęcie dziecka w złotej ramce */
.quadbox { position: relative; overflow: hidden; height: 100%; }
.quadbox > img { width: 100%; height: 100%; object-fit: cover; }
.quad { position: absolute; left: 0; top: 0; width: 300px; height: 440px; transform-origin: 0 0; visibility: hidden; }
.quadbox.is-fit .quad { visibility: visible; }
.quad img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.12) saturate(1.05) brightness(.97); }
.quad::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 18px 4px rgba(40, 20, 5, .55); background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 40%), linear-gradient(0deg, rgba(255, 170, 60, .12), transparent); }
.quad__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 70% 25%, rgba(255, 220, 140, .12), transparent 70%); }

/* ==========================================================
   JAK TO DZIAŁA — girlanda
   ========================================================== */
.how { padding: clamp(40px, 5vw, 70px) 0 clamp(70px, 9vw, 120px); background: var(--wood); position: relative; }
.how .h2 { max-width: 14em; }
.garland { position: relative; height: 90px; margin: 40px 0 -50px; }
.garland svg { width: 100%; height: 100%; overflow: visible; }
.garland path { fill: none; stroke: #3A2A1C; stroke-width: 3; }
.how__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: st; }
.how__steps li { position: relative; padding-top: 60px; counter-increment: st; }
.how__steps li:nth-child(1) { margin-top: 18px; }
.how__steps li:nth-child(2) { margin-top: 24px; }
.how__steps li:nth-child(3) { margin-top: -12px; }
.how__steps h3 { margin: 0 0 8px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.how__steps h3::before { content: counter(st) ". "; color: var(--amber); }
.how__steps p { margin: 0; color: var(--muted); max-width: 30em; }
.bulb {
  position: absolute; top: 0; left: 6px; width: 22px; height: 32px;
  border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background: #4A3A2A; transition: background-color .6s, box-shadow .6s;
}
.bulb::before { content: ""; position: absolute; left: 5px; top: -9px; width: 12px; height: 11px; border-radius: 3px; background: #6E5C46; }
.how__steps li.is-lit .bulb { background: var(--amber); box-shadow: 0 0 22px 6px rgba(244, 163, 64, .55), 0 0 80px 20px rgba(244, 163, 64, .2); }
.how__steps li:nth-child(2).is-lit .bulb { background: #E2414F; box-shadow: 0 0 22px 6px rgba(226, 65, 79, .55), 0 0 80px 20px rgba(226, 65, 79, .2); }
.how__steps li:nth-child(3).is-lit .bulb { background: #5BC48A; box-shadow: 0 0 22px 6px rgba(91, 196, 138, .5), 0 0 80px 20px rgba(91, 196, 138, .18); }
html:not(.js) .how__steps li .bulb, html.is-static .how__steps li .bulb { background: var(--amber); }
@media (max-width: 800px) {
  .garland { display: none; }
  .how__steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 36px; border-left: 2px solid #3A2A1C; margin-left: 10px; }
  .how__steps li, .how__steps li:nth-child(n) { margin: 0; padding: 0 0 34px 34px; }
  .bulb { left: -12px; top: 2px; }
}

/* ==========================================================
   KONFIGURATOR
   ========================================================== */
.cfg {
  position: relative; z-index: 2;
  padding: clamp(70px, 9vw, 120px) 0;
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(244, 163, 64, .14), transparent 70%),
    linear-gradient(180deg, var(--wood), var(--wood-2));
}
.cfg__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26em); gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.cfg__head .cfg__to { font-family: var(--script); font-weight: 400; color: var(--amber-soft); font-size: 1.15em; }
.cfg__lead { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .cfg__head { grid-template-columns: minmax(0, 1fr); } }

.cfg__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: start; }
@media (max-width: 1040px) { .cfg__grid { grid-template-columns: minmax(0, 1fr); } .preview { order: -1; } }

.paper {
  color-scheme: light;
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg);
  padding: clamp(18px, 3vw, 36px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255,255,255,.6);
  background-image:
    radial-gradient(rgba(120, 90, 50, .05) 1px, transparent 1px);
  background-size: 6px 6px;
  min-width: 0;
}
.paper a { color: var(--velvet); }
.steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.steps button {
  width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 6px 12px; border: 0; background: none; cursor: pointer;
  font-weight: 600; font-size: .95rem; color: var(--ink-2); text-align: left;
  border-bottom: 3px solid var(--paper-line); transition: color .2s, border-color .2s;
}
.steps__n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: .82rem; font-weight: 700; }
.steps button[aria-selected="true"] { color: var(--ink); border-color: var(--velvet); }
.steps button[aria-selected="true"] .steps__n { background: var(--velvet); color: #fff; }
.steps button.is-done .steps__n { background: var(--pine); color: #fff; }
@media (max-width: 640px) { .steps button { font-size: 0; justify-content: center; } .steps__n { font-size: .85rem; width: 30px; height: 30px; } .steps button[aria-selected="true"] { font-size: .8rem; flex-direction: column; gap: 4px; } }

.step { border: 0; margin: 0; padding: 0; min-width: 0; }
html.js .step { min-height: 600px; }
html.js .step.is-on { display: flex; flex-direction: column; }
html.js .step__nav { margin-top: auto; }
.step__nav { margin-top: 28px; }
html.js .step:not(.is-on) { display: none; }
.step__title { padding: 0; margin: 0 0 18px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; }
.step__title small, label small, .label small { display: block; font-family: var(--text); font-weight: 400; font-size: .85rem; color: var(--ink-2); margin-top: 4px; }
html:not(.js) .step + .step { margin-top: 40px; padding-top: 30px; border-top: 1px dashed var(--paper-line); }
.step__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px dashed var(--paper-line); }
.pay { color: var(--ink-2); font-size: .9rem; }

.pick2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .pick2 { grid-template-columns: minmax(0, 1fr); } }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; }
.opt__body {
  height: 100%; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "icon name price" "icon desc desc"; gap: 2px 14px; align-items: center;
  padding: 18px; border-radius: var(--r); background: #fff; box-shadow: inset 0 0 0 2px var(--paper-line);
  transition: box-shadow .2s, transform .2s;
}
.opt--row .opt__body { grid-template-columns: 1fr auto; grid-template-areas: "name price" "desc desc"; }
.opt__icon { grid-area: icon; width: 48px; height: 48px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; }
.opt__icon svg { width: 34px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.opt__name { grid-area: name; font-weight: 700; }
.opt__desc { grid-area: desc; font-size: .9rem; color: var(--ink-2); }
.opt__price { grid-area: price; font-family: var(--display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.opt__price small { font-family: var(--text); font-size: .85rem; color: var(--velvet); }
.opt:hover .opt__body { box-shadow: inset 0 0 0 2px var(--gold); }
.opt input:checked + .opt__body { box-shadow: inset 0 0 0 3px var(--velvet), 0 10px 24px -14px rgba(163, 24, 43, .6); background: #FFF9F4; }
.opt input:focus-visible + .opt__body { outline: 3px solid var(--amber); outline-offset: 3px; }

.kids-count { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--paper-2); font-weight: 600; }
.kids-count .muted { flex: 1 1 100%; font-weight: 400; }
.stepper { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--paper-line); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 1.3rem; font-weight: 700; color: var(--velvet); border-radius: 50%; }
.stepper button:disabled { color: var(--paper-line); cursor: default; }
.stepper output { min-width: 2ch; text-align: center; font-family: var(--display); font-weight: 700; font-size: 1.3rem; }

/* zakładki dzieci */
.kidtabs { display: flex; gap: 6px; margin: -4px 0 18px; overflow-x: auto; scrollbar-width: none; }
.kidtabs button {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--paper-2); color: var(--ink-2); font-weight: 600;
}
.kidtabs button img, .kidtabs button .kidtabs__ph { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--paper-line); }
.kidtabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }

.field { margin-top: 20px; min-width: 0; }
.field > label, .label { display: block; font-weight: 600; margin-bottom: 8px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
@media (max-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.paper input[type="text"], .paper input[type="email"], .paper textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 0;
  background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--paper-line);
  transition: box-shadow .2s;
}
.paper textarea { resize: vertical; }
.paper input:focus, .paper textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--velvet), 0 0 0 4px rgba(163, 24, 43, .12); }
.paper ::placeholder { color: #A8937C; }
.hint { margin: 8px 0 0; font-size: .85rem; color: var(--ink-2); }
.hint.is-ok { color: var(--pine); font-weight: 600; }
.hint.is-new { color: var(--gold-2); font-weight: 600; }

.combo { position: relative; }
.combo input { font-family: var(--display); font-weight: 600; font-size: 1.15rem !important; }
.combo__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); max-height: 260px; overflow: auto;
  margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px -10px rgba(40, 20, 5, .35), inset 0 0 0 1px var(--paper-line);
}
.combo__list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; }
.combo__list li small { color: var(--ink-2); }
.combo__list li[aria-selected="true"], .combo__list li:hover { background: var(--paper-2); }
.combo__list li.is-new { color: var(--velvet); font-weight: 600; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--paper-line); width: 100%; }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 42px; border-radius: 999px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--amber); }

.ages { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.ages label { position: relative; cursor: pointer; }
.ages input { position: absolute; opacity: 0; }
.ages span { display: grid; place-items: center; height: 44px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 2px var(--paper-line); font-weight: 700; transition: background-color .15s, box-shadow .15s, color .15s; }
.ages label:hover span { box-shadow: inset 0 0 0 2px var(--gold); }
.ages input:checked + span { background: var(--velvet); color: #fff; box-shadow: none; }
.ages input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (max-width: 640px) { .ages { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

.uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .extras { grid-template-columns: minmax(0, 1fr); } }
.up { min-width: 0; }
.up__drop {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; cursor: pointer; overflow: hidden;
  background: #fff; border: 2px dashed var(--paper-line); transition: border-color .2s, background-color .2s;
}
.up--wide .up__drop { aspect-ratio: 16 / 10; }
.up__drop:hover { border-color: var(--gold); background: #FFFBF4; }
.up__drop:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.up__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.up__drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.up__ph { display: grid; justify-items: center; gap: 6px; padding: 10px; text-align: center; font-weight: 600; font-size: .92rem; color: var(--ink-2); pointer-events: none; }
.up__ph svg { width: 28px; fill: none; stroke: var(--velvet); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.up__drop.has-img { border-style: solid; border-color: var(--pine); }
.up__drop.has-img .up__ph { display: none; }
.up__cap { margin-top: 8px; min-height: 44px !important; font-size: .92rem; }
.linkbtn { margin-top: 10px; padding: 0; border: 0; background: none; color: var(--velvet); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--paper-line); font-size: .93rem; font-weight: 500; line-height: 1.25; transition: background-color .15s, box-shadow .15s, color .15s; }
.chips label:hover span { box-shadow: inset 0 0 0 2px var(--gold); }
.chips input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.chips--sm span { min-height: 36px; padding: 6px 12px; font-size: .88rem; }

.check { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; font-size: .94rem; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--velvet); }

/* podgląd */
.preview { position: sticky; top: calc(var(--nav-h) + 16px); min-width: 0; }
.preview__card {
  border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #23170F, #1A110B);
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.quadbox--preview { height: auto; aspect-ratio: 1920 / 1072; }
.preview__scene { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,.55); font-size: .78rem; font-weight: 600; color: var(--amber-soft); }
.lines { padding: 18px 22px 6px; min-height: 196px; }
.lines__label { margin: 0 0 8px; font-size: .82rem; font-weight: 700; color: var(--amber-soft); }
.line { margin: 0 0 8px; padding-left: 14px; border-left: 2px solid var(--gold); font-size: .98rem; line-height: 1.45; }
.line b { color: var(--amber-soft); font-weight: 700; }
.line.is-flash { animation: flash .8s ease; }
@keyframes flash { from { background: rgba(244, 163, 64, .25); } to { background: transparent; } }
.sum { margin: 0; padding: 10px 22px 16px; }
.sum > div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--line); transition: opacity .25s; }
.sum dt, .sum dd { margin: 0; }
.sum dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.sum > div.is-off { opacity: .35; }
.sum > div.is-off dd { text-decoration: line-through; }
.sum__total { border-bottom: 0 !important; padding-top: 12px !important; font-size: 1.25rem; }
.sum__total dt { font-weight: 700; }
.sum__total dd { font-family: var(--display); color: var(--amber); }
.preview__card > .btn { margin: 0 22px; width: calc(100% - 44px); }
.preview__trust { display: flex; gap: 10px; align-items: flex-start; margin: 14px 22px 20px; font-size: .86rem; color: var(--muted); }
.preview__trust svg { flex: none; width: 20px; fill: none; stroke: var(--pine); stroke: #6FCF97; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1040px) {
  .preview { position: relative; top: 0; }
  .preview__card { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .preview__card .quadbox { grid-row: span 3; height: 100%; aspect-ratio: auto; min-height: 220px; }
  .preview__card .sum, .preview__card > .btn, .preview__trust { display: none; }
}
@media (max-width: 640px) {
  .preview__card { grid-template-columns: minmax(0, 1fr); }
  .preview__card .quadbox { aspect-ratio: 1920 / 1072; min-height: 0; }
  .lines { min-height: 0; padding-bottom: 10px; }
}

.paybar {
  position: fixed; z-index: 25; left: 0; right: 0; bottom: 0;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 13, 9, .95); backdrop-filter: blur(8px); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.paybar b { color: var(--amber); font-size: 1.2rem; }
@media (max-width: 1040px) { .paybar { display: flex; } .paybar.is-on { transform: none; } }

/* ==========================================================
   OPINIE — listy na sznurku
   ========================================================== */
.reviews { padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 100px); background: linear-gradient(180deg, var(--wood-2), var(--wood)); overflow: hidden; }
.reviews__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.reviews__score { margin: 0; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.reviews__num { font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--snow); }
.reviews__score .stars { font-size: 1.1rem; }
.reviews__note { margin-top: 8px; margin-bottom: 36px; color: var(--muted); font-size: .85rem; }
.line-wrap { display: grid; gap: 34px; }
.string { position: relative; display: flex; gap: 0; width: max-content; padding: 26px 0 10px; }
.string::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: linear-gradient(90deg, #6E5C46, #8A7458, #6E5C46); }
.note {
  position: relative; flex: none; width: 300px; margin: 0 26px 0 0; padding: 26px 22px 20px;
  background: var(--paper); color: var(--ink); border-radius: 4px;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .9);
  rotate: var(--rot, -1.5deg); transform-origin: 50% -20px;
  background-image: repeating-linear-gradient(180deg, transparent 0 27px, rgba(160, 130, 90, .16) 27px 28px);
  background-position: 0 14px;
}
.note::before { /* klamerka */
  content: ""; position: absolute; left: 50%; top: -22px; translate: -50% 0; width: 14px; height: 40px; border-radius: 3px;
  background: linear-gradient(90deg, #B98F5E, #D6B283 50%, #B98F5E); box-shadow: 0 2px 4px rgba(0,0,0,.4);
}
.note:hover { rotate: 0deg; }
.note { transition: rotate .5s var(--ease); }
.note .stars { font-size: .9rem; color: var(--gold-2); }
.note blockquote { margin: 8px 0 14px; font-size: 1rem; line-height: 28px; }
.note figcaption { font-family: var(--script); font-size: 1.6rem; line-height: 1; color: var(--velvet); }
.note figcaption small { display: block; margin-top: 6px; font-family: var(--text); font-size: .8rem; color: var(--ink-2); }
.note--photo { width: 230px; padding: 12px 12px 16px; background-image: none; }
.note--photo img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.note--photo figcaption { margin-top: 10px; font-size: 1.4rem; text-align: center; }

/* ==========================================================
   CENNIK — metki
   ========================================================== */
.price { padding: clamp(70px, 9vw, 120px) 0; background: var(--wood); }
.price__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
@media (max-width: 960px) { .price__grid { grid-template-columns: minmax(0, 1fr); } }
.price__copy p { color: var(--muted); max-width: 32em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.tags { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
.tag-card {
  position: relative; margin: 0; padding: 30px 26px 26px 30px; color: var(--ink);
  background: var(--paper);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
  clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
  border-radius: 0 var(--r) var(--r) 0;
}
.tag-card__hole { position: absolute; left: 14px; top: 50%; translate: 0 -50%; width: 14px; height: 14px; border-radius: 50%; background: var(--wood); box-shadow: inset 0 0 0 2px var(--gold); }
.tag-card p { margin: 0; padding-left: 20px; }
.tag-card__label { font-weight: 700; color: var(--ink-2); }
.tag-card__price { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 700; font-size: 3rem; line-height: 1; margin: 8px 0 4px !important; }
.tag-card__price small { font-size: .45em; margin-left: 4px; }
.tag-card__desc { color: var(--ink-2); font-size: .95rem; }
.tag-card--main { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, #FFF8EC, var(--paper-2)); padding-block: 40px; rotate: -2deg; }
.tag-card--main .tag-card__price { font-size: clamp(4.5rem, 3rem + 5vw, 7rem); color: var(--velvet); }
.tag-card--main .btn { margin: 22px 0 0 20px; align-self: flex-start; }
.tag-card--add { rotate: 1.5deg; }
.tag-card--add + .tag-card--add { rotate: -1deg; }
@media (max-width: 520px) { .tags { grid-template-columns: minmax(0, 1fr); } .tag-card--main { grid-row: auto; } }

/* ==========================================================
   PYTANIA
   ========================================================== */
.faq { padding: clamp(70px, 9vw, 120px) 0; background: linear-gradient(180deg, var(--wood), #0F0A07); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.faq__side p { color: var(--muted); max-width: 26em; }
.faq__side a { color: var(--amber-soft); }
.faq__deer { margin: 26px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 0 0 1px var(--line); }
.faq__deer img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
@media (max-width: 900px) { .faq__deer { display: none; } }
.acc details { border-bottom: 1px solid var(--line); }
.acc details:first-child { border-top: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0;
  font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); line-height: 1.25;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2px solid var(--amber); border-bottom: 2px solid var(--amber); rotate: 45deg; transition: rotate .3s var(--ease), margin .3s; }
.acc details[open] summary::after { rotate: 225deg; margin-top: -3px; }
.acc details p { margin: -6px 0 22px; color: var(--muted); max-width: 40em; }

/* ==========================================================
   FINAŁ + STOPKA
   ========================================================== */
.final { position: relative; min-height: min(92svh, 820px); display: grid; align-items: center; overflow: hidden; isolation: isolate; background: #0E0906; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12,7,4,.6), transparent 35%); }
@media (min-width: 761px) {
  .final__bg { left: 28%; width: 72%; object-position: 40% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
}
.snow--soft { z-index: 0; opacity: .7; }
.final__in { position: relative; z-index: 1; padding: 100px 0; }
.final__title { margin: 0; max-width: 9.5em; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.final__title b { font-family: var(--script); font-weight: 400; color: var(--amber-soft); }
.final p { color: var(--muted); max-width: 28em; margin: 18px 0 28px; font-size: 1.1rem; }
.final p b { color: var(--snow); }
@media (max-width: 760px) {
  .final { align-items: end; }
  .final__bg { object-position: 58% 30%; }
  .final::before { background: linear-gradient(0deg, rgba(12, 7, 4, .95) 0%, rgba(12, 7, 4, .7) 50%, rgba(12,7,4,.1) 100%); }
  .final__in { padding: 300px 0 60px; }
}

.foot { background: #0B0705; padding: 48px 0 36px; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot__links a { color: var(--muted); text-decoration: none; font-size: .94rem; }
.foot__links a:hover { color: var(--snow); text-decoration: underline; }
.foot__small { flex: 1 1 100%; margin: 0; color: rgba(247, 242, 232, .5); font-size: .85rem; }
@media (max-width: 1040px) { .foot { padding-bottom: 96px; } }

/* ==========================================================
   OKNA (makieta, wysłane)
   ========================================================== */
.soon { color-scheme: light; border: 0; padding: 0; background: transparent; max-width: min(560px, calc(100% - 32px)); color: var(--ink); }
.soon::backdrop { background: rgba(8, 5, 3, .7); backdrop-filter: blur(4px); }
.soon__box { background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.soon__stage { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; font-size: .82rem; font-weight: 600; }
.soon__stage span { padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.soon__stage .is-now { background: var(--velvet); color: #fff; }
.soon h2 { margin: 0 0 10px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.8rem; line-height: 1.1; outline: none; }
.soon ul { margin: 12px 0 0; padding-left: 20px; }
.soon li { margin: 4px 0; }
.soon__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sent { text-align: center; }
.sent .soon__actions { justify-content: center; }
.sent__seal { margin: 0 auto 14px; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.3), transparent 45%), var(--velvet); box-shadow: 0 0 0 3px var(--gold); font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #FFE7C2; }
.soon[open] .soon__box { animation: pop .35s var(--ease); }
@keyframes pop { from { transform: translateY(16px) scale(.97); opacity: 0; } }

/* ==========================================================
   Statyczny podgląd i ograniczony ruch
   ========================================================== */
html.is-static .hero__stage { height: 860px; min-height: 0; }
html.is-static .final { min-height: 760px; }
html.is-static .slide.is-on > img, html.is-static .slide.is-on .quadbox { animation: none; }
html.is-static *, html.is-static *::before, html.is-static *::after { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.cfg__to:not(.has-name) { font-family: inherit; color: inherit; font-size: 1em; font-weight: inherit; }

/* taśmy z listami: ruch ciągły, bez pauzy po najechaniu */
.string { animation: drift 70s linear infinite; }
.string--b { animation-duration: 80s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html.is-static .string { animation: none; }

/* krok 1: co jest w każdym filmie */
.inside { margin-top: 22px; padding: 18px 20px; border-radius: var(--r); border: 1px dashed var(--paper-line); }
.inside__t { margin: 0 0 8px; font-weight: 700; }
.inside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inside__list li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--ink-2); }
.inside__list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; }
.inside__list b { color: var(--ink); }

/* ==========================================================
   HERO — wariant B: produkt od razu widoczny + zakup z ceną
   ========================================================== */
.hero__layer { position: absolute !important; inset: 0; z-index: 3; }

.hero__content--b { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 64px); align-items: center; justify-content: stretch; }
.hero__content--b .hero__title { max-width: none; font-size: clamp(2.4rem, 1.1rem + 3.9vw, 4.6rem); }
.hero__content--b .hero__title em.has-name { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.18em; line-height: .9; color: var(--amber-soft); }
.hero__content--b .hero__lead { margin: 18px 0 22px; }
.namebox--order { max-width: 600px; }
.namebox--order .btn { padding-inline: 1.3em; }
.hero__peek { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--snow); font-weight: 600; text-decoration: none; }
.hero__peek svg { width: 30px; height: 30px; padding: 7px 6px 7px 8px; border-radius: 50%; fill: currentColor; background: rgba(247, 242, 232, .14); box-shadow: inset 0 0 0 1px rgba(247, 242, 232, .3); transition: background-color .2s; }
.hero__peek:hover svg { background: var(--velvet); }
.hero__peek:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero__content--b .hero__facts { margin-top: 22px; }

.hcard { margin: 0; perspective: 1400px; }
.hcard__screen {
  position: relative; display: block; aspect-ratio: 1920 / 1072; border-radius: 18px; overflow: hidden; color: var(--snow); text-decoration: none;
  box-shadow: 0 0 0 1px rgba(212, 175, 95, .55), 0 0 0 7px rgba(20, 13, 9, .55), 0 40px 80px -20px rgba(0, 0, 0, .9), 0 0 140px -30px rgba(244, 163, 64, .55);
  transform: rotateY(-9deg) rotateX(2deg); transform-origin: 30% 50%;
  transition: transform .8s var(--ease);
}
.hcard__screen:hover { transform: rotateY(0) rotateX(0); }
.hcard .quadbox { position: absolute; inset: 0; display: block; }
.hcard__badge { position: absolute; z-index: 3; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .58); font-size: .78rem; font-weight: 700; color: var(--amber-soft); }
.hcard__sub { position: absolute; z-index: 3; left: 50%; bottom: 9%; translate: -50% 0; width: 88%; text-align: center; font-size: clamp(.82rem, .6rem + .55vw, 1.05rem); font-weight: 600; line-height: 1.35; }
.hcard__sub > span { background: rgba(0, 0, 0, .7); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: .14em .45em; border-radius: 6px; transition: opacity .35s; }
.hcard__sub b { color: var(--amber-soft); }
.hcard__sub.is-swap > span { opacity: 0; }
.hcard__play { position: absolute; z-index: 3; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--velvet); box-shadow: 0 0 0 6px rgba(163, 24, 43, .3); }
.hcard__play svg { width: 18px; fill: #fff; margin-left: 3px; }
.hcard__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); }
.hcard__bar i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--amber); }
.hcard.is-run .hcard__bar i { animation: hbar 4.2s linear infinite; }
@keyframes hbar { to { width: 100%; } }
.hcard__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 22px; font-size: .88rem; color: var(--muted); }
.hcard__cap .tag { font-size: .76rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(244, 163, 64, .16); color: var(--amber-soft); }
.hero .hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 11, 22, .94) 0%, rgba(7, 11, 22, .78) 40%, rgba(7, 11, 22, .45) 70%, rgba(7, 11, 22, .35) 100%),
    linear-gradient(0deg, rgba(7, 11, 22, .85) 0%, transparent 30%),
    linear-gradient(180deg, rgba(7, 11, 22, .6) 0%, transparent 18%);
}
html.intro .hcard { opacity: 0; }

@media (max-width: 960px) {
  .hero__content--b { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 22px; padding-top: calc(var(--nav-h) + 18px); padding-bottom: 40px; }
  .hero__content--b .hcard { order: -1; max-width: 560px; }
  .hcard__screen, .hcard__screen:hover { transform: none; }
  .hcard__cap { margin-top: 12px; }
  .hero .hero__stage { min-height: 900px; }
  .hero .hero__shade { background: linear-gradient(180deg, rgba(7, 11, 22, .7), rgba(7, 11, 22, .9)); }
  .hero .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  .hero__content--b .hero__kicker { display: none; }
  .hide-sm { display: none; }
  .hcard__cap { display: none; }
  .hero__content--b .hero__facts { gap: 6px 18px; font-size: .88rem; }
  .hero .hero__stage { min-height: 820px; }
}
html.is-static .hero .hero__stage { height: 900px; }
@media (max-width: 960px) { html.is-static .hero .hero__stage { height: auto; min-height: 860px; } }

/* Hero B na niskich ekranach: wszystko ma się zmieścić w 100svh (inaczej pin ucina dół) */
@media (min-width: 961px) and (max-height: 820px) {
  .hero__content--b .hero__title { font-size: clamp(2.2rem, 1rem + 3.1vw, 3.9rem); }
  .hero__content--b .hero__lead { margin: 12px 0 16px; }
  .hero__content--b .hide-sm { display: none; }
  .hero__content--b .hero__facts { margin-top: 14px; }
  .hero__content--b .hero__peek { margin-top: 10px; }
}
@media (max-width: 560px) {
  .hero__content--b { gap: 16px; }
  .hero__content--b .hero__title { font-size: 2.2rem; }
  .hero__content--b .hero__lead { margin: 10px 0 14px; font-size: 1rem; }
  .hero__content--b .namebox { padding: 12px; }
  .hero__content--b .namebox label { margin-bottom: 8px; font-size: .95rem; }
  .hero__content--b .hero__peek { margin-top: 10px; }
  .hero__content--b .hero__facts { margin-top: 14px; }
  .hero__content--b .hero__facts li:nth-child(2) { display: none; }
}

.hero__title em[data-gen].has-name, .hero__title em[data-nom].has-name { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.18em; line-height: .9; color: var(--amber-soft); }

@keyframes clap { 0% { transform: rotate(0); } 35% { transform: rotate(-22deg); } 70% { transform: rotate(2deg); } 100% { transform: rotate(0); } }

@keyframes glow { 0% { box-shadow: 0 0 0 1px rgba(212, 175, 95, .55), 0 0 0 0 rgba(244, 163, 64, .9); } 100% { box-shadow: 0 0 0 1px rgba(212, 175, 95, .55), 0 0 0 30px rgba(244, 163, 64, 0); } }

/* ==========================================================
   Hero A i B: Mikołaj przy kominku (zamiast chatki)
   ========================================================== */

.hero .hero__stage { background: #0E0906; }
.hero__scene--santa { inset: 0 0 0 26%; }
.hero__scene--santa img { object-position: 45% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%); mask-image: linear-gradient(90deg, transparent 0, #000 28%); }
.hero__fire { /* migoczący ogień z kominka, rozlany za tekstem */
  position: absolute; left: -30%; bottom: 0; width: 70%; height: 70%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 140, 40, .28), rgba(255, 110, 30, .08) 60%, transparent);
  animation: fire 2.6s ease-in-out infinite alternate;
}
@keyframes fire { 0% { opacity: .7; transform: scale(1); } 40% { opacity: 1; } 70% { opacity: .8; transform: scale(1.04); } 100% { opacity: .95; transform: scale(.98); } }
.hero .hero__shade {
  background:
    linear-gradient(90deg, rgba(14, 9, 6, .92) 0%, rgba(14, 9, 6, .7) 34%, rgba(14, 9, 6, .1) 56%, transparent 70%),
    linear-gradient(0deg, rgba(14, 9, 6, .8) 0%, transparent 26%),
    linear-gradient(180deg, rgba(14, 9, 6, .55) 0%, transparent 16%);
}
/* B: karta podglądu w prawym dolnym rogu, żeby nie zasłaniała Mikołaja */
.hero__content--b .hcard { align-self: end; justify-self: end; width: min(100%, 390px); margin-bottom: 6vh; }
.hero__content--b .hcard__cap { display: none; }
.hero__content--b .hcard__screen { transform: rotateY(-6deg) rotate(-1.5deg); }

@media (max-width: 960px) {
  .hero__scene--santa { inset: 0 0 auto 0; height: 60%; }
  .hero__scene--santa img { object-position: 52% 22%; -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 35%); mask-image: linear-gradient(0deg, transparent 0, #000 35%); }
  .hero__fire { left: -40%; bottom: 20%; width: 100%; height: 50%; }
  .hero .hero__shade { background: linear-gradient(180deg, rgba(14, 9, 6, .45) 0%, rgba(14, 9, 6, .15) 22%, rgba(14, 9, 6, .8) 44%, rgba(14, 9, 6, .96) 60%); }
  .hero__content--b .hcard { width: 48%; margin: 17svh 0 0; }
  .hero__content--b .hcard__badge { display: none; }
  .hero__content--b .hcard__sub { font-size: .66rem; width: 94%; }
  .hero__content--b .hcard__play { width: 30px; height: 30px; top: 6px; right: 6px; box-shadow: none; }
  .hero__content--b .hcard__play svg { width: 13px; }
}
html.is-static .hero__scene--santa img { filter: none; }

/* finał: chatka nocą */
.final__bg { object-position: 50% 60%; }
@media (min-width: 761px) { .final__bg { object-position: 45% 62%; } }
@media (max-width: 760px) { .final__bg { object-position: 55% 55%; } }
.final { background: var(--night); } .final::before { background: linear-gradient(0deg, rgba(11, 18, 32, .65), transparent 35%); }

/* hero B: ocena + większy nadtytuł */
.hero__rating {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 16px 8px 12px;
  border-radius: 999px; background: rgba(20, 13, 9, .55); border: 1px solid rgba(212, 175, 95, .35); backdrop-filter: blur(6px);
  font-size: .92rem; color: var(--muted);
}
.hero__rating .stars { font-size: 1.05rem; letter-spacing: .06em; }
.hero__rating b { color: var(--snow); font-size: 1rem; }
.hero__kicker--big {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
  font-family: var(--display); font-variation-settings: "SOFT" 100; font-style: italic; font-weight: 500;
  font-size: clamp(1.25rem, .95rem + .9vw, 1.75rem); line-height: 1.15; color: var(--amber-soft);
}
.hero__kicker--big svg { flex: none; width: .9em; height: .9em; fill: var(--gold); filter: drop-shadow(0 0 8px rgba(244, 163, 64, .7)); }
@media (min-width: 961px) and (max-height: 820px) { .hero__rating { margin-bottom: 12px; } .hero__kicker--big { font-size: 1.3rem; } }
@media (max-width: 560px) { .hero__content--b .hero__rating { display: none; } .hero__content--b .hero__kicker--big { display: flex; font-size: 1.15rem; margin-bottom: 6px; } }
@media (max-width: 560px) { .hero__content--b .hcard { margin-top: 14svh; } .hero__content--b .hero__lead { margin: 8px 0 12px; } }

/* ==========================================================
   Formularz: lista materiałów do filmu
   ========================================================== */
.req { color: var(--velvet); font-weight: 700; }
.opt-tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: .74rem; font-weight: 600; vertical-align: 2px; }
.label small, .field > label small { font-weight: 400; }

/* krok 1: co przygotować */
.inside__t small { margin-left: 6px; font-weight: 400; color: var(--ink-2); font-size: .88rem; }
.inside__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 10px 0 12px; }
@media (max-width: 640px) { .inside__cols { grid-template-columns: minmax(0, 1fr); } }
.inside__h { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--velvet); }
.inside__list li.is-opt { color: #9A8570; font-style: italic; }
.inside__list li.is-opt::before { background: var(--paper-line); }
.inside > .muted { margin: 4px 0 0; }

/* forma zwracania się: „Cześć, [Zosiu]!” */
.vocbox { display: flex; align-items: center; gap: 8px; max-width: 420px; padding: 6px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 2px var(--paper-line); font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.vocbox:focus-within { box-shadow: inset 0 0 0 2px var(--velvet), 0 0 0 4px rgba(163, 24, 43, .12); }
.paper .vocbox input[type="text"] { flex: 1; min-width: 0; min-height: 40px; padding: 0 4px; box-shadow: none; background: transparent; font-family: var(--script); font-size: 1.7rem; font-weight: 400; color: var(--velvet); }
.paper .vocbox input[type="text"]:focus { box-shadow: none; }

/* portret */
.portrait { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; align-items: start; }
.up--portrait .up__drop { aspect-ratio: 4 / 5; }
.portrait__info p { margin: 0 0 6px; }
.uses { margin: 0 0 10px; padding: 0; list-style: none; counter-reset: u; display: grid; gap: 6px; }
.uses li { counter-increment: u; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.uses li::before { content: counter(u); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #fff; font-size: .8rem; }
.portrait__info .muted { font-size: .86rem; }
@media (max-width: 560px) { .portrait { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; } .uses li { font-size: .9rem; } }

/* „Inne” pod chipsami */
.paper input.own { margin-top: 10px; min-height: 42px; font-size: .92rem; }

/* tablica z polaroidami */
.board {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 22px 18px 18px; border-radius: 14px;
  background: radial-gradient(rgba(0, 0, 0, .12) 1px, transparent 1.4px) 0 0 / 7px 7px, linear-gradient(160deg, #B98A5A, #9C6F44);
  box-shadow: inset 0 0 0 6px #6E4A2B, inset 0 0 30px rgba(0, 0, 0, .35);
}
.pola { position: relative; padding: 8px 8px 6px; background: #fff; box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .55); rotate: var(--r, 0deg); transition: rotate .3s var(--ease); }
.pola::before { /* pinezka */ content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F27A86, var(--velvet)); box-shadow: 0 2px 3px rgba(0, 0, 0, .4); z-index: 1; }
.pola:hover, .pola:focus-within { rotate: 0deg; }
.pola__drop.up__drop { aspect-ratio: 1; border-radius: 2px; border-width: 1.5px; }
.pola__drop .up__ph { font-size: .8rem; }
.paper input.pola__cap { min-height: 30px; margin-top: 4px; padding: 2px 4px; box-shadow: none; background: transparent; text-align: center; font-family: var(--script); font-size: 1.15rem; color: var(--ink); }
.paper input.pola__cap::placeholder { font-family: var(--text); font-size: .74rem; }
@media (max-width: 640px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.row3 .label { font-size: .95rem; }
@media (max-width: 640px) { .row3 { grid-template-columns: minmax(0, 1fr); } }
.up__drop--paper { background: repeating-linear-gradient(180deg, #fff 0 19px, #EEE4D2 19px 20px); }

/* podgląd: placeholdery i liczniki */
.line .ph { color: rgba(247, 242, 232, .45); border-bottom: 1px dashed rgba(247, 242, 232, .4); }
.meters { padding: 4px 22px 6px; }
.meter { display: grid; grid-template-columns: 90px minmax(0, 1fr) 40px; align-items: center; gap: 10px; padding: 4px 0; font-size: .9rem; }
.meter i { position: relative; height: 6px; border-radius: 3px; background: rgba(247, 242, 232, .14); overflow: hidden; }
.meter b { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 3px; background: var(--amber); transition: width .4s var(--ease); }
.meter em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.meter.is-full b { background: #6FCF97; }
.meter.is-full em { color: #6FCF97; }
.lines { min-height: 0; }
@media (max-width: 1040px) { .meters { grid-column: 2; } }
@media (max-width: 640px) { .meters { grid-column: auto; } }
@media (max-width: 640px) { .row3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .row3 .up:first-child { grid-column: 1 / -1; } .row3 .up__drop { aspect-ratio: 4 / 3; } .row3 .up:first-child .up__drop { aspect-ratio: 16 / 7; } .row3 .label { font-size: .85rem; } .row3 .opt-tag { display: block; margin: 2px 0 0; width: max-content; } .row3 .up__ph { font-size: .8rem; } }

/* FAQ: płynne rozwijanie */
.acc__body { overflow: hidden; }
.acc details p { margin: 0; padding: 0 0 22px; }
.acc details.is-closing summary::after { rotate: 45deg; margin-top: -10px; }
.acc summary { transition: color .25s; }
.acc summary:hover, .acc details[open]:not(.is-closing) summary { color: var(--amber-soft); }

/* ==========================================================
   Przykładowy film — prawdziwe wideo
   ========================================================== */
.film__head { align-items: end; }
.film__lead { margin: 0; max-width: 30em; color: var(--muted); }
.film__lead b { color: var(--snow); }
.film__grid { grid-template-columns: minmax(0, 1fr) 360px; }

.vplayer { margin: 0; }
.vplayer__screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: #000;
  box-shadow: 0 0 0 1px rgba(212, 175, 95, .45), 0 0 0 8px rgba(30, 20, 13, .7), 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 140px -40px rgba(244, 163, 64, .45);
}
.vplayer__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.vplayer.is-started .vplayer__video { object-fit: contain; }
.vplayer__cover {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 0; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .05) 45%, rgba(0, 0, 0, .25) 100%);
  transition: opacity .35s, visibility .35s;
}
.vplayer.is-started .vplayer__cover { opacity: 0; visibility: hidden; }
.vplayer__play {
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--velvet); box-shadow: 0 0 0 12px rgba(163, 24, 43, .28), 0 20px 40px rgba(0, 0, 0, .5);
  transition: transform .35s var(--ease), box-shadow .35s;
  animation: vpulse 2.4s ease-in-out infinite;
}
.vplayer__play svg { width: 40%; fill: #fff; margin-left: 8%; }
.vplayer__cover:hover .vplayer__play { transform: scale(1.07); box-shadow: 0 0 0 16px rgba(163, 24, 43, .3), 0 20px 40px rgba(0, 0, 0, .5); }
@keyframes vpulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(163, 24, 43, .3), 0 20px 40px rgba(0, 0, 0, .5); } 50% { box-shadow: 0 0 0 20px rgba(163, 24, 43, .08), 0 20px 40px rgba(0, 0, 0, .5); } }
.vplayer__meta { position: absolute; left: 22px; bottom: 18px; display: grid; gap: 2px; text-align: left; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.vplayer__meta b { font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(1.1rem, .8rem + 1vw, 1.6rem); }
.vplayer__meta span { font-size: .92rem; color: rgba(255, 255, 255, .85); }
.vplayer__soon { position: absolute; z-index: 3; left: 50%; bottom: 16px; translate: -50% 0; width: min(92%, 520px); padding: 12px 16px; border-radius: 12px; background: rgba(20, 13, 9, .9); box-shadow: 0 0 0 1px var(--line); text-align: center; font-size: .92rem; }
.vplayer__soon p { margin: 0; }
.vplayer.is-missing .vplayer__meta { display: none; }
.vplayer__note { margin-top: 12px; color: var(--muted); font-size: .88rem; }

.chapters { min-width: 0; }
.chapters__t { margin: 0 0 10px; font-weight: 700; color: var(--amber-soft); }
.chapters .scenes button { padding-left: 64px; }
.chapters .scenes button::before { content: none; }
.scenes__time { position: absolute; left: 6px; top: 13px; min-width: 46px; padding: 2px 0; border-radius: 6px; background: rgba(247, 242, 232, .08); text-align: center; font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--muted); }
.chapters .scenes li.is-on .scenes__time { background: var(--amber); color: #2A1405; }
.chapters__cta { margin-top: 20px; width: 100%; }
@media (max-width: 1000px) {
  .film__grid { grid-template-columns: minmax(0, 1fr); }
  .chapters .scenes button { max-width: 240px; padding: 12px 12px 12px 12px; }
  .scenes__time { position: static; margin-right: 4px; }
  .chapters__cta { width: auto; }
}
@media (max-width: 560px) {
  .vplayer__meta { left: 14px; bottom: 10px; }
  .vplayer__meta span { font-size: .78rem; }
  .vplayer__soon { font-size: .8rem; padding: 8px 10px; bottom: 8px; }
  .chapters__cta { width: 100%; }
}
@media (min-width: 1001px) {
  .chapters .scenes button { padding-top: 8px; padding-bottom: 8px; gap: 4px 6px; }
  .chapters .scenes__t { flex: 1 1 100%; font-size: .95rem; }
  .chapters .scenes .tag { font-size: .7rem; padding: 1px 8px; }
  .scenes__time { top: 8px; }
  .chapters__cta { margin-top: 16px; }
}
.vplayer__video { object-position: 50% 40%; }

/* hero: cena „od 39 zł” pod nadtytułem */
.hero__from {
  display: flex; align-items: baseline; gap: .12em; margin: -2px 0 10px;
  font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 700; line-height: .9;
  color: var(--velvet); /* ten sam czerwony co przyciski CTA */
  text-shadow: 0 0 1px rgba(255, 220, 220, .35), 0 0 22px rgba(163, 24, 43, .55), 0 2px 0 rgba(0, 0, 0, .4);
}
.hero__from-od { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); font-style: italic; font-weight: 600; margin-right: .18em; }
.hero__from-n { font-size: clamp(3.4rem, 2.2rem + 3.6vw, 5.6rem); letter-spacing: -.03em; }
.hero__from-zl { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.5rem); }
html.intro .hero__from { opacity: 0; }
@media (min-width: 961px) and (max-height: 820px) { .hero__from-n { font-size: 3.6rem; } .hero__from { margin-bottom: 4px; } }
@media (max-width: 560px) { .hero__from { margin: 0 0 6px; } .hero__from-n { font-size: 3rem; } .hero__from-od { font-size: 1.4rem; } .hero__from-zl { font-size: 1.5rem; } }

/* hero bez karty z filmem: na telefonie tekst przy dolnej krawędzi, twarz Mikołaja odsłonięta */
@media (max-width: 960px) {
  .hero__content--b { align-content: end; padding-bottom: 28px; }
}

/* hero bez dużego nagłówka: nadtytuł to H1, cena „od 39 zł” większa i na środku kolumny */
h1.hero__kicker--big { margin: 0 0 8px; }
.hero__from {
  justify-content: center; align-items: center; gap: .14em;
  max-width: 600px; margin: 6px 0 18px;
}
.hero__from-n { font-size: clamp(5rem, 2.6rem + 7vw, 9.5rem); line-height: .85; }
.hero__from-od { font-size: clamp(2rem, 1.3rem + 2vw, 3.4rem); margin-right: .1em; }
.hero__from-zl { font-size: clamp(2.2rem, 1.4rem + 2.3vw, 3.8rem); }
@media (min-width: 961px) and (max-height: 820px) { .hero__from-n { font-size: 6.5rem; } .hero__from { margin: 0 0 10px; } }
@media (max-width: 560px) {
  .hero__from { max-width: none; margin: 4px 0 12px; }
  .hero__from-n { font-size: 5.6rem; } .hero__from-od { font-size: 2rem; } .hero__from-zl { font-size: 2.3rem; }
}

/* cena „od 39 zł”: z lewej strony, większy odstęp pod spodem */
.hero__from { justify-content: flex-start; margin-bottom: 34px; }
@media (min-width: 961px) and (max-height: 820px) { .hero__from { margin-bottom: 22px; } }
@media (max-width: 560px) { .hero__from { margin-bottom: 20px; } }
/* cena „od 39 zł”: taki sam odstęp nad i pod */
.hero__from { margin-top: 34px; }
@media (min-width: 961px) and (max-height: 820px) { .hero__from { margin-top: 22px; } }
@media (max-width: 560px) { .hero__from { margin-top: 20px; } }

/* ==========================================================
   Zamówienie w minutę (imię + e-mail), szczegóły w ankiecie
   ========================================================== */
.order__block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px dashed var(--paper-line); }
.order__t { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-family: var(--display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); line-height: 1.15; }
.order__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--velvet); color: #fff; font: 700 .9rem/1 var(--text); }
.names { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 6px 18px; }
.names .field { margin-top: 0; }
.name-row__l { font-weight: 600; }
.combo input[data-name] { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.field--mail { max-width: 460px; margin-top: 0; }
.field--mail input { font-size: 1.05rem; }
.hint--fix { color: var(--ink); }
.hint--fix .linkbtn { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.paper .is-err input[type="text"], .paper .is-err input[type="email"] { box-shadow: inset 0 0 0 2px #C62828, 0 0 0 4px rgba(198, 40, 40, .12); }
.check.is-err span { color: #B3261E; }
.check.is-err input { outline: 2px solid #C62828; outline-offset: 2px; }
.order__err { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #FDECEC; color: #8A1C1C; font-weight: 600; }
.order__submit { min-height: 58px; font-size: 1.05rem; }
.btn.is-busy, .btn:disabled { opacity: .75; cursor: progress; transform: none; }
@media (min-width: 1041px) { .order__submit { display: none; } .order .order__block:last-of-type { border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; } }

.line--hello { font-size: 1.05rem; }
.next { padding: 6px 22px 12px; }
.next__list { list-style: none; margin: 0; padding: 0; counter-reset: nx; }
.next__list li { position: relative; counter-increment: nx; padding: 0 0 14px 40px; }
.next__list li::before { content: counter(nx); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: rgba(247, 242, 232, .1); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); }
.next__list li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px; width: 2px; background: var(--line); }
.next__list li.is-now::before { background: var(--velvet); color: #fff; box-shadow: none; }
.next__list b { display: block; font-size: .98rem; }
.next__list span { display: block; color: var(--muted); font-size: .86rem; line-height: 1.4; }
#order .preview { order: 1; }
@media (max-width: 1040px) { #order .preview__card .quadbox { grid-row: span 2; } }
@media (max-width: 640px) { #order .preview__card .quadbox { display: none; } }

/* okno po zamówieniu */
.sent__next { margin: 16px 0 0; padding: 14px 16px 14px 34px; border-radius: 12px; background: var(--paper-2); text-align: left; font-size: .95rem; }
.sent__next li { margin: 4px 0; }
.sent .soon__actions .btn { text-decoration: none; }

/* ==========================================================
   Ankieta /ankieta/{token}/
   ========================================================== */
.survey { padding-top: calc(var(--nav-h) + 56px); min-height: 80vh; }
.survey__no { margin: 0 0 8px; color: var(--amber-soft); font-weight: 600; }
.survey .cfg__lead b { color: var(--snow); }
.survey-banner { margin: 0 0 22px; padding: 14px 18px; border-radius: 14px; background: rgba(46, 107, 76, .22); border: 1px solid rgba(111, 207, 151, .45); color: var(--snow); }
.survey-msg { max-width: 680px; margin: 0 auto; }
.survey-msg p { margin: 0 0 14px; }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.survey-save { color: var(--ink-2); font-size: .88rem; }
.survey .step__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.up__drop { position: relative; }
.up__progress { display: none; position: absolute; z-index: 3; left: 10px; right: 10px; bottom: 10px; height: 6px; border-radius: 3px; background: rgba(43, 27, 18, .15); overflow: hidden; }
.up__progress i { display: block; height: 100%; width: 0; background: var(--velvet); border-radius: 3px; transition: width .2s; }
.up__drop.is-uploading .up__progress { display: block; }
.up__drop.is-uploading::after { content: "Wgrywanie…"; position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .78); font-weight: 700; color: var(--ink); }
.up__drop.has-file::after { content: attr(data-file); position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; font-weight: 600; font-size: .85rem; color: var(--pine); }
.up__err { margin: 6px 0 0; color: #B3261E; font-size: .85rem; font-weight: 600; }
.survey-missing { margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: #FDF3E1; border: 1px solid #F0D9A8; }
.survey-missing p { margin: 0 0 6px; }
.survey-missing ul { margin: 0 0 8px; padding-left: 20px; }
.survey-missing .linkbtn { margin: 2px 0; text-align: left; }

/* zgoda na wcześniejsze rozpoczęcie (§ 11 regulaminu) */
.hint--early { margin: -2px 0 14px 34px; color: var(--ink-2); font-size: .85rem; line-height: 1.4; }
.check a[target="_blank"] { text-decoration: underline; }

/* dane do faktury (§ 7 ust. 7 regulaminu) */
.invoice { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 0 16px; margin: -4px 0 14px 34px; }
.invoice .field { margin-top: 0; }
.invoice__addr { grid-column: 1 / -1; }
@media (max-width: 640px) { .invoice { grid-template-columns: 1fr; margin-left: 0; } }
.invoice { align-items: end; }
.invoice label small { display: inline; margin-left: 6px; }
