/* Barkadia — style strony. Sekcje ofert przeniesione z prezentacji „impreza” (jasne sceny, zdjęcia maszyny, kalkulator jako kulminacja). */
:root {
  --bg: #F7F6FA;
  --card: #FFFFFF;
  --tint: #EFEDF4;
  --ink: #1E1B26;
  --mute: #625D70;
  --line: rgba(30, 27, 38, .1);
  --led: #12B39A;
  --green: #2FB84F;
  --green-btn: #167A35;      /* tło pod białym tekstem: kontrast 5,4:1 (WCAG AA) */
  --green-btn-hover: #0F5E28;
  --green-hi: #43C963;
  --green-deep: #167A35;
  --green-soft: #E4F6E8;
  --amber: #E8890C;
  --neg: #D12B2E;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; text-wrap: balance; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--card); padding: 8px 14px; border-radius: 8px; }
.wrap { max-width: 1140px; margin-inline: auto; padding-inline: max(16px, 4vw); }

/* ---------- Pasek z menu ---------- */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; display: flex; align-items: center; gap: 16px 28px; padding: 12px max(16px, 4vw);
  background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.mark { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -.03em; font-variation-settings: 'wdth' 75; text-decoration: none; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover, .nav .current-menu-item > a { color: var(--green-deep); }
.nav-toggle { display: none; align-items: center; gap: 6px; margin-left: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
.nav-toggle .ic { width: 20px; height: 20px; }
.cta-sm { font-weight: 600; font-size: 15px; padding: 9px 18px; border-radius: 999px; background: var(--green-btn); color: #fff; text-decoration: none; white-space: nowrap; }
.mark + .cta-sm { margin-left: auto; }
.cta-sm:hover { background: var(--green-btn-hover); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(30,27,38,.5); }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px max(16px, 4vw) 16px; }
  .nav a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) { .cta-sm { padding: 8px 14px; font-size: 14px; } .bar { gap: 10px; } }

/* ---------- Sceny ---------- */
.scene { position: relative; padding-block: clamp(64px, 9vw, 116px); padding-inline: max(16px, 4vw); overflow: hidden; }
.scene > .wrap { padding-inline: 0; }
.scene > .wrap.story-flow { padding-inline: max(16px, 4vw); }
.scene.alt { background: var(--card); }
.kicker { color: var(--green-deep); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.h2 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; line-height: 1.02; font-variation-settings: 'wdth' 82; }
.lead { color: var(--mute); font-size: clamp(17px, 1.6vw, 20px); max-width: 58ch; margin-top: 18px; }

/* Animacja wejścia sekcji: treść jest widoczna bez skryptu; skrypt ukrywa tylko to, co jest poniżej ekranu */
.rv { transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.rv-wait { opacity: 0; transform: translateY(34px); }
.rv.rv-wait.from-right { transform: translateX(40px); }
.rv.rv-wait.zoom { transform: scale(.94); }


/* ---------- Otwarcie ---------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--line); background: var(--card); }
.btn-go { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.btn-go:hover { background: var(--green-btn-hover); border-color: var(--green-btn-hover); }
.btn-ghost:hover { border-color: var(--ink); }
.hero-note { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; color: var(--mute); font-size: 14px; }
.hero-note b { display: block; color: var(--ink); font-family: var(--display); font-size: 28px; font-weight: 800; letter-spacing: -.03em; }

/* ---------- Otwarcie z modelem 3D (slalom) ---------- */
.story { overflow: visible; padding-inline: 0; padding-top: 0; }
.story-flow { position: relative; z-index: 1; padding-inline: max(16px, 4vw); }
.stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh;
  z-index: 0; pointer-events: none;
}
.stage canvas { width: 100%; height: 100%; display: block; }
.stage.no-webgl canvas { display: none; }
.stage.no-webgl { background: url("../img/hero.jpg") 92% 55% / min(44vw, 560px) auto no-repeat; }
.hero-text { max-width: min(34rem, 46%); min-height: calc(100vh - 64px); display: flex; flex-direction: column; justify-content: center; padding-block: 24px 48px; }
.hero-text h1 { font-size: clamp(50px, 8vw, 108px); font-weight: 800; line-height: .9; letter-spacing: -.045em; font-variation-settings: 'wdth' 75; }
.hero-text h1 span { display: block; color: var(--green-deep); }
.hero-text .lead { margin-top: 24px; }
.stage-hint { margin-top: 28px; font-size: 14px; color: var(--mute); transition: opacity .5s; }
.stage-hint.gone { opacity: 0; }
.beats { padding-bottom: 12vh; }
.beat { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; max-width: min(30rem, 44%); }
.beat.side-r { margin-left: auto; }
.beat.side-l { margin-right: auto; }
.beat .big { font-family: var(--display); font-size: clamp(52px, 6vw, 76px); font-weight: 800; color: var(--green-deep); line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; }
.beat h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.05; }
.beat p { color: var(--mute); margin-top: 12px; font-size: 18px; }
.intro .hero-text h1, .intro .hero-text .lead, .intro .hero-actions, .intro .hero-note { opacity: 0; transform: translateY(24px); }
.intro .stage { opacity: 0; }
.hero-text h1, .hero-text .lead, .hero-actions, .hero-note { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.stage { transition: opacity 1.1s ease .15s; }
.hero-text .lead { transition-delay: .12s; } .hero-actions { transition-delay: .22s; } .hero-note { transition-delay: .32s; }
@media (max-width: 960px) {
  .story { display: flex; flex-direction: column; }
  .story-flow { display: contents; }
  .hero-text { order: 1; max-width: none; min-height: 0; padding-inline: max(16px, 4vw); padding-block: 48px 8px; }
  .stage { order: 2; position: relative; height: 420px; margin-bottom: 0; }
  .stage.no-webgl { background-position: center; background-size: contain; }
  .beats { order: 3; padding-inline: max(16px, 4vw); padding-bottom: 0; }
  .beat, .beat.side-r, .beat.side-l { min-height: 0; max-width: none; margin: 0; padding-block: 28px; }
  .stage-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text h1, .hero-text .lead, .stage { transition: none !important; }
  .intro .hero-text h1, .intro .hero-text .lead, .intro .stage { opacity: 1 !important; transform: none !important; }
}

/* ---------- Jak to działa ---------- */
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 14px; counter-reset: s; position: relative; }
.steps li { counter-increment: s; background: var(--card); border-radius: 20px; padding: 22px 20px 24px; position: relative; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--led); display: block; margin-bottom: 16px; }
.steps li:last-child { background: var(--green-btn); color: #fff; }
.steps li:last-child::before { color: #fff; }
.steps li:last-child p { color: rgba(255,255,255,.88); }
.steps h3 { font-size: 20px; font-weight: 700; line-height: 1.15; }
.steps p { color: var(--mute); font-size: 15px; margin-top: 8px; }

/* ---------- Kalkulator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; margin-top: 40px; align-items: start; }
.panel { background: var(--card); border-radius: 26px; padding: 28px; min-width: 0; border: 1px solid var(--line); }
.panel h3 { font-size: 20px; font-weight: 700; }
.panel .hint { color: var(--mute); font-size: 14px; margin-top: 2px; }
.example { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--mute); padding: 3px 10px; border-radius: 999px; background: var(--tint); }
.field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.field label { font-weight: 500; }
.field .unit { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 14px; }
.field input[type=number], .field select {
  width: 104px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(30,27,38,.18); background: #fff; color: var(--ink);
  font: 600 16px var(--body); text-align: right; font-variant-numeric: tabular-nums;
}
.field select { width: auto; text-align: left; }
.field input:focus, .field select:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(47,184,79,.18); }
.field input[type=range] { grid-column: 1 / -1; width: 100%; accent-color: var(--green); }
.group-title { margin-top: 20px; padding-top: 4px; color: var(--green-deep); font-weight: 600; font-size: 15px; }

.result-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.res { border-radius: 18px; padding: 18px 20px; background: var(--bg); border: 2px solid transparent; transition: border-color .4s, background-color .4s, transform .4s; min-width: 0; }
.res.best { border-color: var(--green); background: var(--green-soft); }
.res .tag { font-size: 13px; color: var(--mute); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.res .best-tag { color: var(--green-deep); font-weight: 700; visibility: hidden; }
.res.best .best-tag { visibility: visible; }
.res .val { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.1vw, 40px); letter-spacing: -.03em; line-height: 1.05; margin-top: 8px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.res .val.neg { color: var(--neg); }
.res .det { color: var(--mute); font-size: 13px; margin-top: 4px; }
.verdict { margin-top: 14px; padding: 14px 18px; border-radius: 16px; background: var(--green-soft); color: var(--ink); }
.verdict.bad { background: #FDECEC; }
.rows { margin-top: 16px; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.row span { color: var(--mute); }
.row b { font-weight: 600; text-align: right; }
.row.minus b { color: var(--mute); font-weight: 500; }
.row.sub b { color: var(--ink); }
.row.total { border-bottom: 0; }
.row.total span { color: var(--ink); font-weight: 600; }
.row.total b { color: var(--green-deep); font-family: var(--display); font-size: 24px; font-weight: 800; }
.chart { margin-top: 18px; }
.chart svg { width: 100%; height: auto; display: block; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--mute); margin-top: 6px; }
.legend i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }
.fine { color: var(--mute); font-size: 13px; margin-top: 14px; }

/* ---------- Zestaw ---------- */
.kit { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.kit li { background: var(--bg); border-radius: 20px; padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kit b { font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.15; }
.kit span { color: var(--mute); font-size: 15px; }
.fair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.fair > div { border-radius: 20px; padding: 22px 24px; background: var(--green-soft); }
.fair > div + div { background: #FFF4E5; }
.fair b { font-family: var(--display); font-size: 20px; font-weight: 700; }
.fair p { margin-top: 6px; color: var(--ink); }

/* ---------- Cennik ---------- */
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 40px; }
.type { text-align: left; font: inherit; color: inherit; cursor: pointer; background: var(--bg); border: 2px solid transparent; border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; transition: border-color .3s, background-color .3s; }
.type span { font-weight: 600; }
.type b { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 52px); letter-spacing: -.04em; line-height: 1; color: var(--green-deep); margin-top: 8px; }
.type small { color: var(--mute); font-size: 14px; }
.type:hover { border-color: rgba(47,184,79,.4); }
.type[aria-checked="true"] { border-color: var(--green); background: var(--green-soft); }
#cennik .calc { margin-top: 18px; }
#cennik .res { margin: 0; }

/* ---------- Ikony ---------- */
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.note-ic { display: block; width: 26px; height: 26px; color: var(--green-deep); margin-bottom: 8px; }
.beat-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--green-soft); color: var(--green-deep); margin-bottom: 18px; }
.beat-ic .ic { width: 28px; height: 28px; }
.steps li > .ic { position: absolute; top: 22px; right: 20px; width: 30px; height: 30px; color: var(--green-deep); }
.steps li:last-child > .ic { color: #fff; }
.kit li > .ic { width: 30px; height: 30px; color: var(--green-deep); margin-bottom: 8px; }
.fair > div > .ic { width: 26px; height: 26px; vertical-align: -6px; margin-right: 8px; color: var(--green-deep); }
.fair > div + div > .ic { color: var(--amber); }
.contact .btn .ic { width: 20px; height: 20px; }

/* ---------- Ilustracje drinków ---------- */
.dk-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.dk-art { display: block; aspect-ratio: 260 / 248; background: radial-gradient(110% 95% at 50% 35%, #ffffff 0%, var(--bg) 58%, color-mix(in srgb, var(--bg) 62%, #6f6390) 100%); }
.dk-svg { width: 100%; height: 100%; display: block; }
.dk-float, .dk-ice, .dk-bub, .dk-drop, .dk-rim, .dk-sprig, .dk-surf { transform-box: fill-box; transform-origin: center; }
.dk-float { animation: dkFloat 6s ease-in-out infinite; }
@keyframes dkFloat { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(var(--r, 6deg)); } }
.dk-surf { animation: dkSurf 2.6s ease-in-out infinite; }
@keyframes dkSurf { 50% { transform: scaleY(.6) translateY(1px); } }
.dk-ice { animation: dkBob 4s ease-in-out infinite; }
@keyframes dkBob { 50% { transform: translateY(3px) rotate(3deg); } }
.dk-bub { animation: dkBub 3s linear infinite; opacity: 0; }
@keyframes dkBub { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: .9; } 100% { transform: translateY(-120px); opacity: 0; } }
.dk-drop { animation: dkDrop 4.6s ease-in infinite; opacity: 0; }
@keyframes dkDrop { 0% { transform: translateY(0) scale(.5); opacity: 0; } 20% { opacity: 1; transform: translateY(0) scale(1); } 55% { transform: translateY(12px); } 100% { transform: translateY(96px) scaleY(1.25); opacity: 0; } }
.dk-rim { animation: dkTilt 5s ease-in-out infinite; }
@keyframes dkTilt { 50% { transform: rotate(-4deg); } }
.dk-sprig { animation: dkSway 4.5s ease-in-out infinite; transform-origin: center bottom !important; }
@keyframes dkSway { 50% { transform: rotate(5deg); } }
.spin-card.is-out .dk-svg *, .spin-card.is-far-left .dk-svg *, .spin-card.is-far-right .dk-svg * { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .dk-svg * { animation: none !important; } .dk-bub, .dk-drop { opacity: 0; } }

/* ---------- Obrotowa karuzela drinków ---------- */
.menu-spin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px 48px; align-items: center; }
.drink-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.drink-filter button { font: 600 15px var(--body); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.drink-filter button span { color: var(--mute); font-weight: 500; margin-left: 2px; }
.drink-filter button:hover { border-color: var(--green); }
.drink-filter button[aria-pressed="true"] { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.drink-filter button[aria-pressed="true"] span { color: rgba(255,255,255,.8); }
.spin-nav { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.spin-name { display: flex; flex-direction: column; min-width: 13em; line-height: 1.25; }
.spin-name b { font-weight: 600; }
.spin-name small { color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.spin { position: relative; height: clamp(380px, 40vw, 520px); perspective: 1200px; touch-action: pan-y; user-select: none; }
.spin-card { position: absolute; left: 50%; top: 50%; width: clamp(230px, 22vw, 330px); padding: 0; border: 0; background: none; border-radius: 24px;
  transform: translate(-50%, -50%) scale(.5); opacity: 0; pointer-events: none; cursor: pointer;
  transition: transform .8s cubic-bezier(.3,.7,.2,1), opacity .8s, filter .8s; }
.dk { display: flex; flex-direction: column; width: 100%; background: var(--card); border-radius: 24px; overflow: hidden; text-align: left; }
.dk-photo { display: block; aspect-ratio: 620 / 450; overflow: hidden; }
.dk-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; display: block; -webkit-user-drag: none; }
.dk-body { display: block; padding: 14px 18px 18px; }
.dk-name { display: block; font-family: var(--display); font-size: clamp(20px, 1.9vw, 25px); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; color: var(--ink); }
.dk-ing { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.dk-ing li { font: 500 12.5px var(--body); padding: 3px 9px; border-radius: 999px; background: var(--tint); color: var(--ink); white-space: nowrap; }
.dk-ing li.zero { background: var(--green-btn); color: #fff; font-weight: 600; }
.spin-card.is-front { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; pointer-events: auto; cursor: zoom-in; filter: drop-shadow(0 26px 34px rgba(30,27,38,.32)); }
.spin-card.is-left, .spin-card.is-right { opacity: .78; z-index: 2; pointer-events: auto; filter: blur(3px) drop-shadow(0 16px 20px rgba(30,27,38,.18)); }
.spin-card.is-left { transform: translate(-112%, -50%) scale(.74) rotateY(32deg); }
.spin-card.is-right { transform: translate(12%, -50%) scale(.74) rotateY(-32deg); }
.spin-card.is-far-left { transform: translate(-150%, -50%) scale(.5) rotateY(50deg); opacity: 0; z-index: 1; filter: blur(6px); }
.spin-card.is-far-right { transform: translate(50%, -50%) scale(.5) rotateY(-50deg); opacity: 0; z-index: 1; filter: blur(6px); }
.spin-card.is-out { transform: translate(-50%, -50%) scale(.4); opacity: 0; z-index: 0; }
.spin-card.is-left:hover, .spin-card.is-right:hover { filter: blur(1px) drop-shadow(0 16px 20px rgba(30,27,38,.18)); opacity: .95; }
.spin-card:focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.car-btn { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.car-btn .ic { width: 22px; height: 22px; }
.car-btn:hover { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.car-box { border: 0; padding: 0; background: transparent; max-width: none; overflow: visible; }
.car-box::backdrop { background: rgba(20,18,26,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.car-box[open] { display: flex; align-items: center; gap: 16px; }
#car-big .dk { width: min(84vw, 460px); }
#car-big .dk-name { font-size: clamp(26px, 4vw, 34px); }
#car-big .dk-ing li { font-size: 15px; padding: 5px 12px; }
@media (max-height: 700px) { #car-big .dk { width: min(84vw, 380px); } }
.car-x { position: absolute; top: -12px; right: -12px; z-index: 1; }
@media (max-width: 960px) {
  .menu-spin { grid-template-columns: minmax(0, 1fr); }
  .spin { height: clamp(340px, 92vw, 470px); }
  .spin-card { width: clamp(200px, 52vw, 300px); }
}
@media (max-width: 640px) {
  .car-box[open] { flex-direction: column; }
  .car-bp, .car-bn { display: none; }
  .car-x { top: -56px; right: 0; }
  .spin-name { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { .spin-card { transition: none; } }

/* ---------- Galeria z powiększeniem ---------- */
.gal { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 15vw, 210px); gap: 12px; }
.gal-item { min-width: 0; }
.gal-item[hidden] { display: none; }
.gal-feat { grid-column: span 2; grid-row: span 2; }
.gal-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--tint); }
.gal-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.gal-btn:hover img { transform: scale(1.05); }
.gal-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.gal-more { margin-top: 22px; display: flex; justify-content: center; }
.gal-more .btn { cursor: pointer; font: inherit; font-weight: 600; }
.gal-box { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.gal-box::backdrop { background: rgba(16,14,22,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.gal-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.gal-fig img { display: block; max-width: min(92vw, 1400px); max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: opacity .25s; }
.gal-fig img.is-loading { opacity: .35; }
.gal-cap { color: rgba(255,255,255,.85); font-size: 14px; font-variant-numeric: tabular-nums; }
.gal-x { position: fixed; top: 16px; right: 16px; }
.gal-p, .gal-n { position: fixed; top: 50%; transform: translateY(-50%); }
.gal-p { left: 16px; } .gal-n { right: 16px; }
@media (max-width: 960px) {
  .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 34vw, 220px); }
}
@media (max-width: 640px) { .gal-p, .gal-n { top: auto; bottom: 16px; transform: none; } }

/* ---------- Kontakt ---------- */
.final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.final .h2 { font-size: clamp(40px, 6vw, 80px); font-variation-settings: 'wdth' 75; }
.final img { border-radius: 26px; }
.contact { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- Miejsce na kalendarz (WWW-05) ---------- */
.kalendarz { margin-top: 48px; }
.kalendarz-miejsce { padding: 28px; border: 2px dashed rgba(30,27,38,.2); border-radius: 22px; color: var(--mute); text-align: center; }

@media (max-width: 960px) {
  .calc, .final { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fair, .types { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps, .result-top, .kit { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .res { transition: none !important; }
  .rv.rv-wait { opacity: 1 !important; transform: none !important; }
}

/* ---------- Zwykłe strony (polityka, regulamin) ---------- */
.prose { padding-block: 56px 80px; max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin-bottom: 24px; }
.prose p, .prose ul, .prose ol { margin-block: 0 1em; }

/* ---------- Stopka ---------- */
.foot { background: var(--ink); color: #E9E6F0; padding-block: 48px 24px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot .mark { color: #fff; }
.foot p { margin-top: 8px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-copy { margin-top: 32px; color: #A9A3B8; font-size: 14px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr; } }

/* ========== Sekcje oferty dla hoteli i restauracji (z prezentacji „oferta”) ========== */
.trial { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 24px; align-items: baseline; margin-top: 28px; padding: 18px 22px; border-radius: 16px; background: var(--green-btn); color: #fff; }
.trial b { font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.02em; }
.trial p { margin: 0; font-size: 16px; opacity: .95; }
@media (max-width: 760px) { .trial { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; margin-top: 46px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 22px; position: relative; min-width: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .g1 { grid-row: span 2; }
.gallery .g4 { grid-column: span 2; }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 14px; font-weight: 500; padding: 5px 12px; border-radius: 999px; }
.scene.alt .gain { background: var(--bg); }
.scene.alt .mode, .scene.alt .open-mode { background: var(--bg); }
.scene.alt .plan { background: var(--bg); }
/* ---------- Kupon czy karta ---------- */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.mode { background: var(--card); border-radius: 26px; padding: 30px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.mode-head { display: flex; align-items: center; gap: 16px; }
.mode-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--green-soft); }
.mode-icon svg { width: 34px; height: 34px; }
.mode h3 { font-size: 28px; font-weight: 800; line-height: 1; }
.mode .for { color: var(--mute); margin-top: 4px; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 10px 0; position: relative; }
.flow li::before { content: counter(f); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 15px; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 14.5px; top: 42px; bottom: -8px; width: 1px; background: var(--line); }
.flow b { display: block; font-weight: 600; }
.flow span { color: var(--mute); font-size: 15px; }
.safe { padding: 14px 18px; border-radius: 16px; background: var(--green-soft); font-size: 15px; }
.safe b { color: var(--green-deep); }
.panel-sees { display: flex; flex-wrap: wrap; gap: 8px; }
.panel-sees .t { width: 100%; color: var(--mute); font-size: 14px; }
.panel-sees span:not(.t) { font-size: 14px; padding: 5px 12px; border-radius: 999px; background: var(--tint); }
.open-mode { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 26px; border-radius: 22px; background: var(--card); border: 1px dashed rgba(30,27,38,.2); }
.open-mode b { font-family: var(--display); font-size: 20px; }
.open-mode p { color: var(--mute); max-width: 70ch; }
@media (max-width: 960px) { .modes { grid-template-columns: minmax(0, 1fr); } }
/* ---------- Menu ---------- */
.menu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; margin-top: 10px; }
.menu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.menu-cards img { border-radius: 18px; box-shadow: 0 20px 40px -26px rgba(30,27,38,.5); background: #fff; }
.menu-cards img:nth-child(2) { transform: translateY(28px); }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; }
.ticks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23167A35' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 14px no-repeat; }
/* ---------- Wynajem ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.plan { background: var(--card); border-radius: 26px; padding: 34px; border: 1px solid var(--line); }
.plan.feat { border: 2px solid var(--green); box-shadow: 0 26px 50px -30px rgba(47,184,79,.6); }
.plan h3 { font-size: 24px; font-weight: 700; }
.plan .sub { color: var(--mute); margin-top: 4px; }
.price { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: .95; margin-top: 24px; font-size: clamp(46px, 5.6vw, 72px); color: var(--green-deep); }
.price small { font-family: var(--body); font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--mute); }
.price .plus { color: var(--ink); }
.plan .fit { margin-top: 18px; }
.split { margin-top: 22px; padding: 18px 22px; border-radius: 18px; background: #FFF4E5; color: var(--ink); }
.split b { color: var(--amber); }
.included { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.included span { display: inline-flex; gap: 8px; align-items: center; }
.included span::before { content: '✓'; color: var(--green-deep); font-weight: 700; }

@media (max-width: 960px) {
  .menu { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
  .gallery .g1 { grid-column: span 2; grid-row: auto; }
  .gallery .g4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 22px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .gallery .g1, .gallery .g4 { grid-column: auto; }
  .menu-cards img:nth-child(2) { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none !important; } }

/* ========== Strona startowa: jeden ekran, model 3D i dwa przyciski ========== */
.start { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: 1fr 1fr auto;
  grid-template-areas: "head stage" "choice stage" "foot foot"; gap: 0 clamp(16px, 4vw, 56px);
  flex: 1; width: 100%; max-width: 1320px; margin-inline: auto; padding: 16px max(16px, 4vw) 14px; }
/* ekran startowy wypełnia okno pod paskiem, bez przewijania */
body.home { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body.home main { flex: 1; display: flex; }
.start-head { grid-area: head; align-self: end; padding-bottom: 28px; }
.start-head h1 { font-size: clamp(46px, 7vw, 100px); font-weight: 800; line-height: .9; letter-spacing: -.045em; font-variation-settings: 'wdth' 75; }
.start-head h1 span { display: block; color: var(--green-deep); }
.start-choice { grid-area: choice; align-self: start; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 460px; }
.choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 22px 22px 26px; border-radius: 22px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, background-color .3s; }
.choice b { display: block; font-family: var(--display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.choice small { display: block; margin-top: 6px; color: var(--mute); font-size: 14px; }
.choice .ic { width: 28px; height: 28px; flex: none; transition: transform .3s; }
.choice-go { background: var(--green-btn); border-color: var(--green-btn); color: #fff; }
.choice-go small { color: #E8F5EC; }
.choice:hover, .choice:focus-visible { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(30,27,38,.55); }
.choice:hover .ic, .choice:focus-visible .ic { transform: translateX(4px); }
.choice-go:hover { background: var(--green-btn-hover); }
.choice-ghost:hover { border-color: var(--ink); }
.start .stage { grid-area: stage; position: relative; top: auto; height: auto; min-height: 340px; margin: 0; pointer-events: auto; cursor: grab; touch-action: pan-y; }
.start .stage.is-drag { cursor: grabbing; }
.start .stage.no-webgl { background-position: center; background-size: contain; cursor: default; }
.start .stage-hint { grid-area: stage; align-self: end; justify-self: center; margin: 0 0 8px; pointer-events: none; z-index: 1; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 80%, transparent); }
.start-foot { grid-area: foot; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
.start-foot a { text-decoration: none; }
.start-foot a:hover { color: var(--ink); text-decoration: underline; }
.start-foot-menu { display: contents; list-style: none; }
.start-head, .start-choice { transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.start-choice { transition-delay: .15s; }
.intro .start-head, .intro .start-choice { opacity: 0; transform: translateY(24px); }
@media (max-width: 860px) {
  .start { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(300px, 1fr) auto auto; grid-template-areas: "head" "stage" "choice" "foot"; padding-top: 24px; }
  .start-head { padding-bottom: 0; text-align: center; }
  .start .stage { min-height: 300px; }
  .start-choice { padding-block: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 520px) {
  .start-choice { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .choice { padding: 16px 18px 16px 22px; }
  .start-foot { gap: 4px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .choice, .choice .ic, .start-head, .start-choice { transition: none; }
  .intro .start-head, .intro .start-choice { opacity: 1; transform: none; }
}
