/* NEST apartments, wygląd „A2” (wybór właściciela 14.11). Paleta właściciela: Ivory/Sand tła, Espresso tekst i przyciski,
   Taupe tylko duże podtytuły, Cocoa drobny tekst; kolory apartamentów to znaczniki (kropki), nie tła pod tekstem.
   Podmiana kolorów = tylko ten blok. Wariant zielony: <html data-theme="zielony"> (albo ?theme=zielony, patrz theme.js).
   Fonty: tekst Visby CF / Montserrat, tytuły The Seasons / Playfair Display, podtytuły to samo kursywą (pliki płatnych fontów: README). */
/* @font-face: odkomentuj po wgraniu plików do site/fonts/ (licencja webowa od klienta), nazwy plików jak niżej.
@font-face { font-family: "The Seasons"; src: url("fonts/TheSeasons-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "The Seasons"; src: url("fonts/TheSeasons-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Visby CF"; src: url("fonts/VisbyCF-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Visby CF"; src: url("fonts/VisbyCF-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Visby CF"; src: url("fonts/VisbyCF-Bold.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
*/
:root {
  --ground: #F7F3EE; --surface: #E9DCD0; --field: #FBF8F4;
  --ink: #43372F; --muted: #806A5B; --line: #DCCFC2;
  --accent: #43372F; --accent-hover: #2E2520; --on-accent: #F7F3EE; --on-accent-muted: #E9DCD0;
  --copper: #B16B56; --taupe: #C6AF9B;
  --c-ba: #8C9079; --c-sr: #B16B56; --c-m1: #8C9DAD; --c-m2: #806A5B;
  --hi: #EFE2D3; --sold: #EFE6DD; --sold-ink: #806A5B;
  --err: #a3281a; --err-bg: #faeceb; --focus: #B16B56;
  --font: "Visby CF", "Visby", Montserrat, system-ui, sans-serif; --display: "The Seasons", "Playfair Display", Georgia, serif;
  --shade: 67,55,47; --input-line: #9C8573; /* 3,3:1 do --field (WCAG 1.4.11) */ --hero-bg: #5A4A3F; --band-line: rgba(198,175,155,.35); --lead-on-dark: #EFE6DD;
  --r: 10px; --r-md: 14px; --r-lg: 16px; --r-xl: 20px;
}
/* wariant zielony (wersja A) */
:root[data-theme="zielony"] {
  --ground: #F6F4EF; --surface: #E3EAE5; --field: #FBFAF7;
  --ink: #17201d; --muted: #55605b; --line: #DEDAD0;
  --accent: #24493f; --accent-hover: #1b3830; --on-accent: #F6F4EF; --on-accent-muted: #d9e4de;
  --copper: #8fa79d; --taupe: #8fa79d;
  --c-ba: #53665d; --c-sr: #b9935a; --c-m1: #8fa79d; --c-m2: #38504a;
  --hi: #E3ECE6; --sold: #ECEAE3; --sold-ink: #55605b; --focus: #24493f;
  --shade: 23,32,29; --input-line: #8E887C; /* 3,4:1 do --field */ --hero-bg: #2c3f39; --band-line: rgba(143,167,157,.35); --lead-on-dark: #E7EEEA;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
html.menu-open { overflow: hidden; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--font); font-feature-settings: "lnum"; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.band :focus-visible { outline-color: var(--on-accent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -80px; background: var(--field); padding: 12px 16px; z-index: 40; border: 1px solid var(--ink); border-radius: var(--r); }
.skip:focus { top: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }

/* nawigacja */
.top { background: var(--ground); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; position: relative; z-index: 31; }
.logo img { width: 96px; height: auto; margin-block: 6px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a:not(.btn) { position: relative; font-size: 15px; padding: 6px 0; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.menu a:not(.btn):hover::after, .menu a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; position: relative; z-index: 31; width: 48px; height: 48px; margin-right: -10px; border: 0; background: none; align-items: center; justify-content: center; }
.menu-btn .i-x { display: none; }
.menu-btn[aria-expanded="true"] .i-x { display: block; } .menu-btn[aria-expanded="true"] .i-m { display: none; }

/* przyciski i linki */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 16px; border: 0; border-radius: var(--r); transition: background .2s, transform .15s; }
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn svg, .lnk svg { transition: transform .25s; }
.btn:hover svg, .lnk:hover svg { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 999px; }
.btn--ghost { background: var(--field); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: #fff; border-color: var(--ink); }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.ph { overflow: hidden; display: block; background: var(--surface); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a:hover > .ph img, a.ph:hover img { transform: scale(1.03); }

/* strona główna: hero ze zdjęciem i pasek wyszukiwania nachodzący na dół hero */
.hero-w { padding-top: 32px; }
.hero { position: relative; isolation: isolate; border-radius: var(--r-xl); overflow: hidden; min-height: 540px; background: var(--hero-bg); color: var(--field); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--shade),.74) 0%, rgba(var(--shade),.52) 45%, rgba(var(--shade),.82) 100%); }
.hero__txt { padding: 64px 48px 128px; max-width: 800px; display: grid; gap: 16px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 66px); line-height: 1.04; }
.hero__lead { font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--lead-on-dark); max-width: 34em; }
.find { position: relative; margin: -64px 48px 0; background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 32px rgba(var(--shade),.14); padding: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 220px; gap: 12px; align-items: start; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.fld input, .fld select { font: inherit; font-size: 16px; color: var(--ink); border: 1px solid var(--input-line); border-radius: var(--r); padding: 0 14px; background: var(--field); width: 100%; min-height: 48px; }
.find .btn { min-height: 48px; margin-top: 25px; } /* na wysokości pól pod etykietami */
.fld input { -webkit-appearance: none; appearance: none; min-width: 0; display: block; text-align: left; } /* iOS: pole daty nie wychodzi poza kolumnę */
.fld input::-webkit-date-and-time-value { text-align: left; }
.party { border: 0; margin: 0; padding: 0; gap: 8px; }
.party legend { padding: 0; margin-bottom: 6px; }
.party__row { display: grid; grid-template-columns: auto minmax(0, 1fr) 40px; gap: 10px; align-items: center; }
.party__row span { color: var(--ink); font-size: 14px; white-space: nowrap; }
.party__rm { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--field); color: var(--ink); font-size: 20px; line-height: 1; }
.party__rm:hover { border-color: var(--ink); }
.party__sum { font-size: 13px; color: var(--muted); margin: 0; }
.party__add { align-self: flex-start; background: none; border: 0; padding: 6px 0; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.demo-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hero-w > .demo-note { margin: 14px 48px 0; }

.sec { padding-top: 120px; }
.sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.sec h2 { font-size: 50px; max-width: 14em; }
.sec__head > p { max-width: 26em; color: var(--muted); font-family: var(--display); font-style: italic; font-size: 20px; line-height: 1.45; }

/* apartamenty: karty, kropka w kolorze apartamentu */
.apt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.apt { display: grid; grid-template-rows: auto 1fr; gap: 14px; align-content: start; }
.apt .ph { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.apt__b { display: grid; gap: 4px; align-content: start; }
.apt h3 { font-size: 23px; display: flex; align-items: center; gap: 10px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--apt, var(--taupe)); flex: none; }
[data-apt="BA"] { --apt: var(--c-ba); } [data-apt="SR"] { --apt: var(--c-sr); } [data-apt="M1"] { --apt: var(--c-m1); } [data-apt="M2"] { --apt: var(--c-m2); }
.apt__f { font-size: 15px; color: var(--muted); }
.apt__p { margin-top: 6px; font-size: 15px; color: var(--muted); } .apt__p b { color: var(--ink); font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* kalendarz dostępności na stronie głównej */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px 0 14px; background: var(--field); border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; transition: border-color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px var(--ground); }

.dots { display: flex; gap: 3px; justify-content: center; height: 6px; } .dots s { width: 6px; height: 6px; border-radius: 50%; background: var(--apt); display: block; }
.day .dots { margin-top: 1px; } .legend .dots { height: auto; }
.avail { margin-top: 24px; display: grid; gap: 12px; }
.avail h3 { font-size: 22px; }
.avail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.avail li { display: grid; gap: 6px; padding: 14px 16px; background: var(--field); border: 1px solid var(--line); border-radius: var(--r-md); }
.avail__plan { display: flex; align-items: center; gap: 12px; padding: 10px 0 0; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.avail__plan > span:first-child { flex: 1; min-width: 0; display: grid; } .avail__plan b { font-weight: 600; } .avail__plan small { font-size: 13px; color: var(--muted); }
.avail__px { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.avail__plan:hover .btn { filter: brightness(1.15); }
.avail li > div { flex: 1; min-width: 0; } .avail li strong { font-weight: 600; } .avail li p { margin: 2px 0 0; font-size: 15px; color: var(--muted); } .avail li p b { color: var(--ink); font-size: 18px; font-variant-numeric: tabular-nums; }
.avail li.is-off { background: transparent; border-style: dashed; } .avail li.is-off strong { color: var(--muted); } .avail li.is-off .dot { opacity: .35; }


/* ciemny pas: strefa dla gości */
.band { background: var(--accent); color: var(--field); border-radius: var(--r-xl); padding: 56px; display: grid; gap: 40px; }
.band h2 { font-size: 50px; }
.band ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.band li { display: grid; gap: 14px; align-content: start; font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.25; }
.band svg { stroke: var(--taupe); }

/* okolica */
.area { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.area .ph { aspect-ratio: 5 / 4; border-radius: var(--r-xl); }
.area .ph img { object-position: 50% 30%; }
.area__t { display: grid; gap: 24px; justify-items: start; }
.area h2 { font-size: 50px; }
.places__from { font-size: 14px; color: var(--muted); margin: 0 0 -8px; }
.places + .places__from { margin: 0; line-height: 1.5; }
.places__from b { color: var(--ink); font-weight: 600; }
.places { margin: 0; padding: 0; list-style: none; width: 100%; border-top: 1px solid var(--line); }
.places li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.places li span:last-child { color: var(--muted); text-align: right; white-space: nowrap; }
.places small { display: block; font-size: 13px; }

.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.post { display: flex; flex-direction: column; gap: 12px; }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); border-radius: var(--r-md); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.post:hover .post__img img { transform: scale(1.03); }
.post__meta { font-size: 13px; color: var(--muted); }
.post h3 { font-size: 25px; line-height: 1.2; }
.post p { color: var(--muted); }

/* stopka */
.foot { position: relative; margin-top: 120px; padding-block: 56px 40px; }
.foot::before { content: ""; position: absolute; top: 0; left: 24px; right: 24px; border-top: 1px solid var(--line); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; line-height: 26px; font-size: 15px; }
.foot__cols > div, .foot__cols nav { display: grid; gap: 4px; align-content: start; justify-items: start; }
.foot__cols b { font-weight: 600; }
.foot__cols .logo img { width: 110px; }
.foot__cols .lnk { margin-top: 6px; font-weight: 500; }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; line-height: 20px; color: var(--muted); }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.foot--s { margin-top: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot--s .legal { margin: 0; padding: 0; border: 0; }
.fixbar { display: none; }

/* rezerwacja */
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; color: var(--muted); }
.steps li[aria-current="step"] { color: var(--ink); font-weight: 600; }
.steps li.is-done { color: var(--accent); }
.bk { padding-block: 40px 96px; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.bk__main { flex: 999 1 640px; min-width: 0; display: grid; gap: 32px; }
.panel { background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 20px; }
.panel__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.panel h1, .bk h1 { font-size: 34px; }
.panel__head p, .hint { font-size: 14px; color: var(--muted); }
.cal__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal__arrow { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--field); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s; }
.cal__arrow:hover { border-color: var(--ink); }
.cal__arrow[disabled] { opacity: .35; cursor: not-allowed; }
.months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.month { display: grid; gap: 10px; align-content: start; min-width: 0; }
.month h3 { font-size: 18px; text-transform: capitalize; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.cal { border-collapse: separate; border-spacing: 3px; table-layout: fixed; margin: -3px; width: calc(100% + 6px); }
.cal th { font-size: 12px; font-weight: 400; color: var(--muted); text-align: center; padding: 0 0 4px; }
.cal td { padding: 0; }
.day { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--r); border: 1px solid transparent; background: transparent; color: var(--ink); padding: 2px 0; transition: border-color .15s, background .15s; }
.day b { font-size: 15px; font-weight: 600; line-height: 1.1; }
.day i { font-style: normal; font-size: 11px; line-height: 1.1; color: var(--muted); font-variant-numeric: tabular-nums; }
.day:hover:not([aria-disabled="true"]):not(.is-sel) { border-color: var(--ink); }
.day.is-sold, .day.is-closed { background: var(--sold); color: var(--sold-ink); cursor: not-allowed; }
.day.is-sold b, .day.is-sold i { color: var(--sold-ink); text-decoration: line-through; }
.day.is-closed { border: 1px dashed var(--line); }
.day.is-closed b, .day.is-closed i { color: var(--sold-ink); }
.day.is-past { opacity: .4; pointer-events: none; }
.day.is-sel { background: var(--accent); border-color: var(--accent); }
.day.is-sel i, .day.is-sel b { color: var(--on-accent); text-decoration: none; }
.day.is-end { border: 2px solid var(--accent); background: var(--field); }
.day.is-wait { background: var(--sold); color: transparent; animation: pulse 1.4s ease-in-out infinite; }
.day.is-wait * { color: transparent; }
@keyframes pulse { 50% { opacity: .5; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 14px; border: 1px solid var(--line); border-radius: 4px; }
.range { font-size: 15px; min-height: 24px; }
.range strong { font-weight: 600; }
.msg { padding: 12px 14px; font-size: 14px; border-radius: var(--r); }
.msg--err { background: var(--err-bg); color: var(--err); border: 1px solid #e4bcb7; }
.msg--info { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.is-folded > .cal__nav, .is-folded > #cal, .is-folded > #cal-msg, .is-folded > .legend, .is-folded #cal-note { display: none; }
.term-sum { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ground); font-size: 16px; }
.term-sum strong { font-weight: 600; }
.is-folded .guests { padding-top: 0; border-top: 0; }
.guests { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.party-ed { display: grid; gap: 10px; justify-items: start; }
.party-ed .pill > span { min-width: 104px; color: var(--ink); }
.rtabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 16px; }
.rtab { min-width: 0; display: grid; gap: 2px; text-align: left; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--field); color: var(--ink); font: inherit; font-size: 14px; }
.rtab span { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rtab[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.guests h2 { font-size: 24px; }
.guests .hint { grid-column: 1 / -1; }
.pill { display: inline-flex; align-items: center; gap: 16px; font-size: 15px; }
.pill b { font-weight: 600; font-size: 20px; min-width: 20px; text-align: center; }
.pill button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--field); border-radius: 50%; font-size: 22px; line-height: 1; transition: border-color .2s; }
.pill button:hover { border-color: var(--ink); }
.pill button[disabled] { opacity: .35; cursor: not-allowed; }
.results { display: grid; gap: 16px; }
.results h2 { font-size: 32px; }
.offer { background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; transition: border-color .2s; }
.offer.is-on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.m-only { display: none; }
.offer__img { grid-row: 1 / span 2; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); align-self: start; border-radius: var(--r); }
.offer__img img { width: 100%; height: 100%; object-fit: cover; }
.offer__body, .offer__info { display: grid; gap: 12px; min-width: 0; align-content: start; }
.offer__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: baseline; }
.offer h3 { font-size: 25px; }
.left { font-size: 13px; color: var(--muted); }
.offer__facts { font-size: 14px; color: var(--muted); }
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 4px 12px; min-height: 60px; padding: 14px 16px; border: 1px solid var(--line); background: var(--ground); border-radius: var(--r); text-align: left; color: inherit; transition: border-color .2s, transform .15s; }
.plan:active { transform: scale(.99); }
.plan__t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan__i, .plan__x { grid-column: 1 / -1; }
.plan__i { line-height: 1.45; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; opacity: .85; }
.plan:hover { border-color: var(--ink); }
.plan small { display: block; font-size: 13px; font-weight: 400; opacity: .85; }
.plan b { font-weight: 600; }
.plan b.p { font-size: 20px; white-space: nowrap; }
.plan[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.more { justify-self: start; background: none; border: 0; padding: 4px 0; color: var(--accent); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.split { display: grid; gap: 16px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.split h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.split ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.split li { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.split li.t { color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); padding-top: 4px; }
.skel { background: var(--sold); height: 168px; border-radius: var(--r-lg); animation: pulse 1.4s ease-in-out infinite; }
.empty { background: var(--field); border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 12px; justify-items: start; }

/* podsumowanie */
.sum { flex: 1 1 340px; min-width: 0; background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 18px; position: sticky; top: 16px; }
.sum h2 { font-size: 28px; }
.sum__top { display: grid; gap: 4px; }
.sum__top b { font-weight: 600; font-size: 18px; }
.sum__top span { font-size: 14px; color: var(--muted); }
.sum ul.l { margin: 0; padding: 16px 0 0; list-style: none; display: grid; gap: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.sum ul.l li { display: flex; justify-content: space-between; gap: 12px; }
.sum ul.l li span:first-child { color: var(--muted); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; }
.total b { font-family: var(--display); font-size: 34px; font-weight: 500; letter-spacing: 0; }
.sum .note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sum ul.l--tax { padding-top: 12px; }
.sum ul.l--tax li:last-child span { color: var(--ink); font-weight: 600; }
.addon-list { display: grid; gap: 10px; }
.addon { display: grid; grid-template-columns: auto 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ground); cursor: pointer; transition: border-color .2s; }
.addon:hover, .addon:has(input:checked) { border-color: var(--accent); }
.addon input { width: 22px; height: 22px; accent-color: var(--accent); margin: 0; }
.addon small { display: block; font-size: 13px; color: var(--muted); }
.addon b { font-weight: 600; white-space: nowrap; }
.terms-box { display: grid; gap: 12px; padding: 20px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-md); }
.terms-box h2 { font-size: 24px; }
.terms { margin: 0; display: grid; gap: 0; font-size: 14px; line-height: 1.5; }
.terms > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.terms dt { color: var(--muted); }
.terms dd { margin: 0; }
@media (max-width: 560px) { .terms > div { grid-template-columns: minmax(0, 1fr); } }
.bar { display: none; }

/* kroki: dane, potwierdzenie */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid var(--input-line); border-radius: var(--r); background: var(--field); color: var(--ink); font: 400 17px/1.4 var(--font); }
.field textarea { padding: 12px 16px; min-height: 96px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.err { font-size: 13px; color: var(--err); font-weight: 400; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.consent input { width: 22px; height: 22px; accent-color: var(--accent); margin-top: 1px; flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.done { display: grid; gap: 14px; }
.done__head { display: flex; align-items: center; gap: 12px; }
.done__ico { width: 28px; height: 28px; flex: none; background: var(--accent); border-radius: 50%; display: grid; place-items: center; }
.ticket { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; background: var(--surface); border-radius: var(--r-md); }
.ticket > div { display: grid; min-width: 0; }
.ticket__l { font-size: 14px; font-weight: 500; color: var(--ink); }
.ref { font-family: var(--display); font-size: clamp(24px, 7vw, 32px); font-weight: 500; letter-spacing: .04em; line-height: 1.2; white-space: nowrap; }
.ticket__copy { min-height: 44px; padding: 0 16px; flex: none; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.tile { display: grid; gap: 2px; align-content: start; padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); }
.tile span { font-size: 13px; color: var(--muted); } .tile b { font-weight: 600; overflow-wrap: anywhere; }
.paid { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--accent); color: var(--on-accent); border-radius: var(--r-md); }
.paid b { font-family: var(--display); font-size: 28px; font-weight: 500; }
.hint--s { font-size: 13px; } .nb { white-space: nowrap; }

/* blog i teksty */
.blog { padding-block: 64px 0; }
.blog h1 { font-size: 58px; }
.blog__lead { margin-top: 12px; font-family: var(--display); font-style: italic; font-size: 22px; line-height: 1.45; color: var(--muted); max-width: 36em; }
.blog .posts { margin-top: 48px; }
.blog .post h3 { font-size: 27px; }
.article { max-width: 720px; margin: 0 auto; padding-block: 64px 0; display: grid; gap: 20px; }
.article h1 { font-size: 52px; }
.article h2 { font-size: 32px; margin-top: 16px; }
.article p { font-size: 17px; line-height: 1.75; }
.article .lead { color: var(--muted); font-family: var(--display); font-style: italic; font-size: 23px; line-height: 1.5; }
.article .post__img { aspect-ratio: 16 / 9; margin-block: 8px; border-radius: var(--r-lg); }
.article a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.crumbs { font-size: 14px; color: var(--muted); }
.cta { margin-top: 24px; background: var(--surface); border-radius: var(--r-lg); padding: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta h2 { margin: 0; font-size: 30px; }

@media (max-width: 1100px) {
  .apt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .area { gap: 32px; }
}
@media (max-width: 1023px) {
  .sum { position: static; flex-basis: 100%; }
  .find { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: 24px; }
  .find .btn { grid-column: 1 / -1; margin-top: 0; }
  .hero-w > .demo-note { margin-inline: 24px; }
  .hero__txt { padding: 48px 32px 112px; }
  .band { padding: 40px 32px; }
  .area { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .top__bar { min-height: 68px; }
  .menu-btn { display: inline-flex; }
  /* menu pełnoekranowe, zamykane X (ten sam przycisk) */
  .menu { display: none; position: fixed; inset: 0; z-index: 30; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--ground); padding: 92px 16px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: 0; }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 24px; min-height: 56px; font-size: 17px; }
  .hero-w { padding-top: 16px; }
  .hero { min-height: 420px; border-radius: var(--r-lg); }
  .hero__txt { padding: 32px 20px 96px; gap: 12px; }
  .hero h1 { font-size: 38px; }
  .hero__lead { font-size: 19px; }
  .find { margin: -48px 8px 0; grid-template-columns: 1fr 1fr; padding: 14px; gap: 10px; }
  .find .party { grid-column: 1 / -1; }
  .find .btn { min-height: 52px; }
  .hero-w > .demo-note { margin: 12px 8px 0; }
  .sec { padding-top: 72px; }
  .sec__head { margin-bottom: 28px; }
  .sec h2, .band h2, .area h2 { font-size: 34px; }
  .sec__head > p { font-size: 18px; }
  .apt-grid { grid-template-columns: 1fr; gap: 12px; }
  .apt { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: none; gap: 16px; align-items: center; }
  .apt .ph { border-radius: var(--r); }
  .apt h3 { font-size: 20px; }
  .apt__p { margin-top: 2px; }
  .panel { padding: 16px; gap: 14px; }
  .band { padding: 28px 20px; gap: 24px; border-radius: var(--r-lg); }
  .band ul { grid-template-columns: 1fr; gap: 0; }
  .band li { grid-template-columns: 32px 1fr; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--band-line); font-size: 20px; }
  .area .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
  .posts { grid-template-columns: 1fr; gap: 32px; }
  .foot { margin-top: 72px; padding-block: 40px 120px; }
  .foot::before { left: 16px; right: 16px; }
  .foot__cols { grid-template-columns: 1fr; gap: 28px; }
  .fixbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 12px; }
  .fixbar span { font-size: 14px; color: var(--muted); } .fixbar b { color: var(--ink); font-weight: 600; font-size: 18px; }
  .fixbar .btn { min-height: 52px; }
  .foot--s { margin-top: 64px; padding-block: 32px 40px; }
  /* rezerwacja */
  .bk { padding-block: 16px 140px; gap: 24px; }
  .bk:has(+ .bar[hidden]) { padding-bottom: 48px; }
  .bk__main { gap: 28px; }
  .steps { gap: 2px 14px; font-size: 13px; }
  .panel h1, .bk h1 { font-size: 30px; }
  .months { grid-template-columns: minmax(0, 1fr); }
  .day { min-height: 48px; }
  .offer { padding: 14px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .m-only { display: inline; }
  .offer__img { grid-row: auto; }
  .offer__top { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
  .offer h3 { font-size: 22px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .done .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--ground); border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 12px; }
  .bar[hidden] { display: none; }
  .bar span { display: grid; font-size: 13px; color: var(--muted); } .bar b { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--ink); }
  .bar .btn { min-height: 52px; padding-inline: 24px; }
  .sum { padding: 18px; }
  /* blog */
  .blog { padding-block: 32px 0; } .blog h1 { font-size: 40px; } .blog__lead { font-size: 19px; }
  .blog .posts { margin-top: 32px; }
  .article { padding-block: 32px 0; } .article h1 { font-size: 36px; } .article p { font-size: 16.5px; } .article .lead { font-size: 20px; }
  .cta { padding: 24px 20px; } .cta .btn { width: 100%; }
}
@media (min-width: 761px) { .offer__top { display: contents; } .menu-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ikony NEST (img/ikony, okrągłe) */
.feats { margin: 0 0 32px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feats li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; }
.feats img { width: 48px; height: 48px; flex: none; }
.addon img { width: 40px; height: 40px; }
@media (max-width: 760px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-bottom: 24px; } .feats img { width: 40px; height: 40px; } }

/* kalendarz dat w formularzu (site.js): rozwijany pod polami, na telefonie arkusz od dołu */
.dp-btn { font: inherit; font-size: 16px; color: var(--ink); border: 1px solid var(--input-line); border-radius: var(--r); padding: 0 14px 0 44px; background: var(--field) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23806A5B' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat 14px 50%; width: 100%; min-height: 48px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: border-color .2s; }
.dp-btn span { color: var(--muted); }
.dp-btn:hover, .dp-btn.is-on { border-color: var(--ink); }
.dp-btn.is-on { box-shadow: inset 0 0 0 1px var(--ink); }
.dp:not([open]) { display: none; }
.dp { position: absolute; z-index: 25; top: calc(100% + 8px); left: 16px; right: auto; margin: 0; max-width: none; color: var(--ink); width: min(680px, calc(100% - 32px)); background: var(--field); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 20px 48px rgba(var(--shade),.2); padding: 20px 24px; display: grid; gap: 12px; }
.dp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink); min-height: 40px; }
.dp-top strong { font-weight: 600; }
.dp-x { width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--field); color: var(--ink); font-size: 22px; line-height: 1; }
.dp-x:hover { border-color: var(--ink); }
.dp-nav { display: flex; justify-content: space-between; margin-bottom: -48px; position: relative; z-index: 1; pointer-events: none; }
.dp-nav .cal__arrow { pointer-events: auto; width: 40px; height: 40px; }
.dp-ms { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 32px; }
.dp-m h3 { font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: capitalize; text-align: center; line-height: 40px; margin-bottom: 8px; }
.dp-m table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dp-m th { font-size: 12px; font-weight: 400; color: var(--muted); padding-bottom: 6px; }
.dp-m td { padding: 2px 0; }
.dp-day { width: 100%; height: 42px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; transition: background .15s, box-shadow .15s; }
.dp-day:hover:not([disabled]):not(.is-a):not(.is-b) { box-shadow: inset 0 0 0 1px var(--ink); }
.dp-day.is-today { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.dp-day[disabled] { color: var(--line); cursor: default; }
.dp-day.is-in { background: var(--surface); border-radius: 0; }
.dp-day.is-a, .dp-day.is-b { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.dp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dp-foot .btn[disabled] { opacity: .4; cursor: not-allowed; }
@media (max-width: 699px) {
  .dp { position: fixed; inset: auto 0 0; top: auto; left: 0; width: auto; max-height: 92dvh; overflow-y: auto; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 16px max(16px, env(safe-area-inset-left)) calc(16px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-right)); box-shadow: 0 -12px 40px rgba(var(--shade),.25); }
  .dp-day { height: 46px; }
  .dp-foot .btn { min-width: 140px; }
  .dp::backdrop { background: rgba(var(--shade),.35); }
  body.dp-lock { overflow: hidden; }
}

/* Przed przyjazdem: pytania rozwijane (details), bez skryptu */
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; list-style: none; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; max-width: 65ch; }
.faq .lnk { margin-left: 4px; }
