:root {
  --bg: #0d0f16;
  --bg2: #141722;
  --card: #181b27;
  --line: #2a2f40;
  --ink: #eef0f6;
  --muted: #9aa2b6;
  --red: #e41e20;
  --red2: #ff4d4f;
  --gold: #f6b860;
  --teal: #3fd1c7;
  --r: 18px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
b { font-weight: 600; color: #fff; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .4em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red2); font-weight: 700; margin-bottom: .6rem; }
.section { padding-block: 90px 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }

/* progress + nav */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 100; background: linear-gradient(90deg, var(--red), var(--gold)); box-shadow: 0 0 12px var(--red); }
#nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 90; display: flex; gap: 2px; padding: 6px; border-radius: 999px;
  background: rgba(13, 15, 22, .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.08); transition: transform .4s, opacity .4s; max-width: calc(100vw - 24px); }
#nav a { color: var(--ink); padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 500; white-space: nowrap; }
#nav a:hover, #nav a.on { background: rgba(255,255,255,.1); text-decoration: none; }
#nav .brand { font-family: var(--serif); font-weight: 800; }
#nav.hide { transform: translate(-50%, -140%); opacity: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .4em; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 30px rgba(228,30,32,.4); }
.btn-primary:hover { box-shadow: 0 12px 40px rgba(228,30,32,.6); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); backdrop-filter: blur(8px); }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.seg { display: inline-flex; background: rgba(13,15,22,.7); border: 1px solid var(--line); border-radius: 999px; padding: 4px; backdrop-filter: blur(10px); }
.seg button { background: none; border: 0; color: var(--muted); padding: 6px 13px; border-radius: 999px; cursor: pointer; font: 500 .85rem var(--sans); }
.seg button.on { background: var(--ink); color: var(--bg); }

/* hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center;
  background: linear-gradient(180deg, #0b1030 0%, #6b2d5c 45%, #f08a5d 70%, #2f4a3f 100%); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.05) 30%, rgba(0,0,0,.45) 100%), linear-gradient(180deg, rgba(13,15,22,0) 70%, var(--bg) 100%); pointer-events: none; }
.hero-content { position: relative; text-align: center; padding-inline: 20px; max-width: 900px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.2); font-size: .8rem; backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(4rem, 17vw, 12rem); font-weight: 800; letter-spacing: -.02em; margin: .1em 0 .05em; text-shadow: 0 10px 60px rgba(0,0,0,.45);
  background: linear-gradient(180deg, #fff 30%, #ffd9b8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1-small { display: block; font-size: .2em; font-style: italic; letter-spacing: .1em; color: var(--gold); -webkit-text-fill-color: var(--gold); margin-bottom: -.1em; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.35rem); text-shadow: 0 2px 20px rgba(0,0,0,.6); margin: 0 auto 1.2rem; }
.route-ticker { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 auto 1.8rem; max-width: 760px; }
.route-ticker span { font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.14); opacity: 0; transform: translateY(8px); }
.route-ticker span i { font-style: normal; color: var(--gold); margin-right: 4px; font-weight: 700; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: sh 1.8s infinite; }
@keyframes sh { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -30px; position: relative; z-index: 2; }
.stat { text-align: center; padding: 22px 10px; border-radius: var(--r); background: linear-gradient(160deg, #1d2130, #151823); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1; background: linear-gradient(90deg, var(--red2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .85rem; }

/* intro */
.intro { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; padding-block: 40px 70px; }
.priorities ol { list-style: none; padding: 0; margin: 10px 0 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.priorities li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #22263a; font-weight: 500; }
.priorities li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-weight: 700; font-size: .85rem; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 14px 0 12px; }
.months button { border: 0; cursor: pointer; font: 600 .72rem var(--sans); color: var(--ink); padding: 34px 0 6px; border-radius: 8px; position: relative; background: #22263a; transition: transform .2s; }
.months button::before { content: ''; position: absolute; left: 20%; right: 20%; bottom: 26px; border-radius: 4px; background: var(--c, #3a3f55); height: var(--h, 6px); transition: height .6s cubic-bezier(.2,.9,.3,1.3); }
.months button:hover, .months button.on { transform: translateY(-3px); background: #2b3048; }
.months .best { --c: linear-gradient(0deg, var(--red), var(--gold)); --h: 22px; }
.months .hot { --c: #b86b3a; --h: 13px; }
.season-note { min-height: 3.2em; margin: 0 0 6px; }

/* story (mapa + etapy) */
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); background: var(--bg2); border-block: 1px solid var(--line); }
.map-col { position: sticky; top: 0; height: 100vh; height: 100svh; }
#map { position: absolute; inset: 0; background: #0a0c12; }
.map-ui { position: absolute; top: 76px; left: 16px; right: 16px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 3; }
.map-hud { position: absolute; left: 16px; bottom: 34px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px;
  background: rgba(13,15,22,.72); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.1); max-width: calc(100% - 32px); }
.hud-n { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-weight: 700; }
.hud-name { font-family: var(--serif); font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.map-hint { position: absolute; right: 12px; bottom: 34px; font-size: .72rem; color: rgba(255,255,255,.6); z-index: 3; text-shadow: 0 1px 4px #000; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-top-right { top: 70px; }

.stages-col { padding: 90px 36px 60px; }
.stages-head { margin-bottom: 40px; }
.stage { position: relative; margin-bottom: 38vh; padding: 0; overflow: hidden; transition: border-color .4s, box-shadow .4s, transform .4s; }
.stage.active { border-color: rgba(228,30,32,.7); box-shadow: 0 20px 60px rgba(228,30,32,.15); }
.stage-photo { margin: 0; position: relative; aspect-ratio: 16/10; overflow: hidden; background: #22263a; }
.stage-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.stage:hover .stage-photo img { transform: scale(1.06); }
.stage-photo figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .7rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 4px #000; }
.stage-photo.noimg { aspect-ratio: auto; height: 120px; background: linear-gradient(120deg, #3a1420, #1b2140); display: grid; place-items: center; font-size: 3rem; }
.photos2 { display: grid; grid-template-columns: 1fr 1fr; }
.photos2 .stage-photo { aspect-ratio: 4/3; }
.stage-body { padding: 22px 24px 24px; }
.stage-num { position: absolute; top: 14px; left: 14px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font: 800 1.3rem var(--serif); background: var(--red); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.stage-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.stage-title h3 { font-size: 1.7rem; margin: 0; }
.stage-title em { color: var(--gold); font-family: var(--serif); font-size: 1.05rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 14px; }
.chip { font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: #232839; border: 1px solid var(--line); white-space: nowrap; }
.chip.night { background: rgba(228,30,32,.15); border-color: rgba(228,30,32,.45); }
.chip.live { background: rgba(63,209,199,.1); border-color: rgba(63,209,199,.4); }
.stage ul { margin: 0; padding-left: 18px; color: #d3d7e2; }
.stage li { margin-bottom: 7px; }
.stage li::marker { color: var(--red2); }
.stage-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.stage-actions a, .stage-actions button { font: 500 .82rem var(--sans); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #1f2333; color: var(--ink); cursor: pointer; }
.stage-actions a:hover, .stage-actions button:hover { border-color: var(--gold); text-decoration: none; }
.map-static { margin-top: 20px; }
.map-static img { border-radius: 12px; margin-top: 12px; cursor: zoom-in; background: #fff; }

/* markers */
.mk { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #111; font: 700 .8rem var(--sans); display: grid; place-items: center; cursor: pointer;
  border: 3px solid var(--red); box-shadow: 0 4px 14px rgba(0,0,0,.5); transition: transform .25s, background .25s; }
.mk:hover { transform: scale(1.18); }
.mk.done { background: var(--red); color: #fff; border-color: #fff; }
.mk.active { transform: scale(1.35); background: var(--gold); color: #111; border-color: #fff; }
.mk.active::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 3px solid var(--gold); animation: pulse 1.6s infinite; }
.mk-label { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; font: 600 .75rem var(--sans); padding: 2px 8px; border-radius: 6px; background: rgba(13,15,22,.85); color: #fff; pointer-events: none; opacity: 0; transition: opacity .2s; }
.mk:hover .mk-label, .mk.active .mk-label { opacity: 1; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* noclegi */
.stays { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 26px; perspective: 1200px; }
.stay { height: 170px; position: relative; cursor: pointer; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.2,.8,.2,1); border: 0; background: none; padding: 0; color: inherit; font: inherit; text-align: left; }
.stay.flip { transform: rotateY(180deg); }
.stay > div { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r); padding: 20px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.stay .front { background: linear-gradient(150deg, #1f2334, #161926); }
.stay .front i { font-style: normal; font-size: 2rem; }
.stay .front b { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.stay .front small { color: var(--gold); }
.stay .back { background: linear-gradient(150deg, #5a1418, #2a0e18); transform: rotateY(180deg); justify-content: center; }

/* auto */
.sort { margin: 18px 0 20px; }
.rentals { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.rental { padding: 20px 22px; }
.rental h4 { margin: 0 0 6px; font-size: 1.05rem; }
.stars { position: relative; display: inline-block; font-size: 1.1rem; letter-spacing: 2px; color: #3a3f55; }
.stars::before { content: '★★★★★'; }
.stars span { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.stars span::before { content: '★★★★★'; }
.rating-row { display: flex; align-items: center; gap: 10px; }
.rating-row b { font-size: 1.1rem; }
.bar { height: 6px; border-radius: 6px; background: #232839; margin: 10px 0 12px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), #4f8cff); transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.rental p { margin: 0; color: #cfd4df; font-size: .92rem; }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.tip { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: linear-gradient(150deg, rgba(63,209,199,.08), rgba(79,140,255,.05)); border: 1px solid rgba(63,209,199,.25); }
.tip i { font-style: normal; font-size: 1.8rem; }
.tip p { margin: 4px 0 0; color: #cfd4df; font-size: .93rem; }

/* checklista */
.check-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.ring { position: relative; width: 110px; height: 110px; flex: none; }
.ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: #232839; }
.ring-fg { stroke: var(--red); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .6s, stroke .4s; }
.ring.full .ring-fg { stroke: var(--teal); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.3rem var(--serif); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checklist label { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); cursor: pointer; transition: border-color .3s, background .3s; }
.checklist input { position: absolute; opacity: 0; }
.checklist .box { flex: none; width: 26px; height: 26px; border-radius: 8px; border: 2px solid #4a5068; display: grid; place-items: center; transition: all .25s; margin-top: 2px; }
.checklist .box::after { content: '✓'; color: #fff; font-weight: 800; transform: scale(0); transition: transform .25s cubic-bezier(.2,.9,.3,1.6); }
.checklist input:checked + .box { background: var(--teal); border-color: var(--teal); }
.checklist input:checked + .box::after { transform: scale(1); }
.checklist input:focus-visible + .box { outline: 2px solid var(--gold); outline-offset: 2px; }
.checklist input:checked ~ div b { text-decoration: line-through; color: var(--muted); }
.checklist label:hover { border-color: #3d4360; }
.checklist .ico { font-size: 1.4rem; }
.checklist p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }

/* rozmówki */
.phrases { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 22px; }
.phrase { position: relative; height: 100px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); cursor: pointer; overflow: hidden; color: inherit; font: inherit; padding: 0; }
.phrase span { position: absolute; inset: 0; display: grid; place-items: center; padding: 10px; text-align: center; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.phrase .sq { font: 600 1.3rem var(--serif); }
.phrase .pl { transform: translateY(100%); background: linear-gradient(150deg, var(--red), #8f1518); font-weight: 600; }
.phrase.on .sq { transform: translateY(-100%); }
.phrase.on .pl { transform: translateY(0); }

.footer { padding-block: 70px 50px; text-align: center; border-top: 1px solid var(--line); margin-top: 90px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(30px); }
.no-gsap .reveal, .no-gsap .route-ticker span { opacity: 1; transform: none; }

/* lightbox tweak */
.glightbox-clean .gslide-description { background: var(--card); }

/* responsywność */
@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; }
  .map-col { height: 46vh; height: 46svh; z-index: 5; }
  .map-ui { top: 10px; left: 10px; right: 10px; }
  .map-hud { bottom: 10px; left: 10px; padding: 6px 14px 6px 6px; }
  .hud-n { width: 30px; height: 30px; font-size: .85rem; }
  .hud-name { font-size: 1rem; }
  .map-hint { display: none; }
  .maplibregl-ctrl-top-right { top: 48px; }
  .stages-col { padding: 40px 16px 40px; }
  .stage { margin-bottom: 30vh; }
  #nav { top: auto; bottom: 12px; }
  #nav.hide { transform: translate(-50%, 140%); }
  .intro { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .br-d { display: none; }
}
@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  #nav a:not(.brand) { padding: 7px 9px; font-size: .8rem; }
  #nav .brand span { display: none; }
  .stage-body { padding: 18px; }
  .stage-title h3 { font-size: 1.4rem; }
  .card { padding: 20px; }
  .months button { font-size: .6rem; padding-top: 30px; }
  .rentals { grid-template-columns: 1fr; }
  .section { padding-block: 70px 10px; }
  .ring { width: 84px; height: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint span, .mk.active::after { animation: none; }
}
