/* Camping Zatoka Czapli — demo strony kempingu zintegrowanej z Camp2Find.
   Design system przeniesiony 1:1 z mockupu (Bricolage Grotesque + DM Sans,
   ciepły kremowy ground, zieleń boru, pomarańcz akcentu). */

:root {
  --bg: #f3f0e6;
  --bg-2: #ede9dc;
  --ink: #1a2118;
  --ink-2: #3a4a36;
  --ink-3: #6b7a5c;
  --green: #2c5240;
  --green-dark: #14251b;
  --accent: #d9622b;
  --accent-dark: #b94c1c;
  --cream: #fff8ec;
  --line: rgba(26, 33, 24, 0.1);
  --line-2: rgba(26, 33, 24, 0.16);
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 18px 44px rgba(20, 37, 27, 0.16);
  --shadow-sm: 0 6px 18px rgba(20, 37, 27, 0.1);
  /* Margines boczny. Na wąskim ekranie 22 px, ale od tabletu w górę treść nie
     ma się kleić do krawędzi — patrz nadpisanie w media query niżej. */
  --gutter: max(22px, calc((100% - 1280px) / 2 + 22px));
  --head: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --hand: 'Caveat', 'Segoe Script', cursive;
}

@media (min-width: 861px) {
  :root { --gutter: max(44px, calc((100% - 1280px) / 2 + 44px)); }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
/* `display` z klasy wygrywa z UA-stylem [hidden], a `.bw-unit-row` jest flexem
   — bez tego pola chowane atrybutem `hidden` zostają widoczne. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(217, 98, 43, 0.2); }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: var(--cream); padding: 10px 18px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ── animacje ─────────────────────────────────────────────────────── */
@keyframes rv { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pageIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: none; } }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(10px); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes shimmer { from { background-position: -600px 0; } to { background-position: 600px 0; } }

[data-rv] { opacity: 0; }
[data-rv].seen { animation: rv .5s cubic-bezier(.2, .75, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  [data-rv] { opacity: 1; }
}

/* ── header ───────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(243, 240, 230, .88);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; padding: 13px var(--gutter); }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: inherit; }
.brand:hover { color: inherit; }
/* Znak kempingu rysuje `#zc-mark` z index.html — jedna definicja SVG na obie
   wersje, bo kolory wchodzą zmiennymi. Koło jest w środku SVG, `border-radius`
   został tu wyłącznie po to, żeby cień szedł po jego krawędzi. */
.brand-mark {
  --mark-bg: var(--green); --mark-fg: #f0e7d0; --mark-sun: var(--accent);
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(44, 82, 64, .3);
}
.brand-mark-light { --mark-bg: var(--cream); --mark-fg: var(--green); box-shadow: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-text strong { font-family: var(--head); font-weight: 800; font-size: 19px; letter-spacing: -0.03em; }
.brand-text em { font-style: normal; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }

.main-nav { display: flex; gap: 0; margin-left: auto; align-items: center; min-width: 0; }
.main-nav a {
  position: relative; padding: 9px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
}
.main-nav a:hover { background: rgba(44, 82, 64, .09); color: var(--ink); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--accent); animation: pop .3s both;
}
.header-cta { flex: 0 0 auto; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── przyciski ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 24px;
  font-weight: 700; font-size: 14.5px; cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s, color .25s;
}
.btn-accent { background: var(--accent); color: var(--cream); box-shadow: 0 6px 18px rgba(217, 98, 43, .32); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); color: var(--cream); }
.btn-green { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--ink-2); border: 1.5px solid rgba(44, 82, 64, .28); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: rgba(44, 82, 64, .06); }
.btn-light { background: var(--cream); color: var(--green-dark); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink-2); border: 1.5px solid rgba(44, 82, 64, .28);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .25s;
}
.pill:hover { border-color: var(--green); }
.pill.on { background: var(--green); color: var(--cream); border-color: var(--green); }

/* ── typografia sekcji ────────────────────────────────────────────── */
/* Nadtytuł sekcji. Był pomarańczowy nad KAŻDYM nagłówkiem — a pomarańcz na tej
   stronie znaczy „rezerwacja", więc krzyczał tam, gdzie nie było co klikać.
   Teraz kreska + stonowany napis: dalej porządkuje, już nie konkuruje z CTA. */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; color: var(--ink-3); margin-bottom: 14px;
}
/* Kreska bierze kolor napisu (sektor ma własny), więc nie trzeba jej nadpisywać
   osobno dla ciemnego tła ani dla kafla sektora. */
.kicker::before { content: ''; width: 26px; height: 1.5px; background: currentColor; opacity: .45; flex: 0 0 auto; }
/* Rytm pionowy: sekcja „tight" przykleja się do poprzedniej (bez górnego
   marginesu), więc odstęp między blokami wynosi zawsze 96 px, a nie raz 136,
   raz 192. */
.section { padding: 96px var(--gutter); }
.section-tight { padding: 0 var(--gutter) 96px; }
/* Sekcja tuż nad pasem wydmy. Standardowe 96 px odstępu zamieniało szew
   w trzecią, pustą sekcję: pas ma dotykać treści nad sobą. */
.section-to-dune { padding-bottom: 36px; }
/* Rozmiar nagłówka i leadu NIE MOŻE zależeć od klasy opakowania — wcześniej
   `h2` w `.section-tight` spadał do 25,5 px z UA-stylesheetu, obok 52 px
   w sąsiedniej sekcji. */
.section h2, .section-tight h2 { font-size: clamp(30px, 4.6vw, 52px); }
.section .lead, .section-tight .lead { font-size: 18.5px; color: var(--ink-2); max-width: 62ch; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(44, 82, 64, .08); color: var(--green);
  padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.tag-accent { background: rgba(217, 98, 43, .12); color: var(--accent-dark); }
.tag-muted { background: rgba(26, 33, 24, .07); color: var(--ink-3); }

/* ── hero ─────────────────────────────────────────────────────────── */
/* Wysokość hero jest POCHODNĄ wysokości okna, nie ułamkiem: pasek wyszukiwania
   ma się mieścić w całości na wejściu, a nie wisieć na krawędzi ekranu.
   245 px = pasek demo + nagłówek + wystająca część widżetu + zapas na oddech;
   przy 76vh mieścił się dokładnie na 900 px i znikał na 800 px. */
.hero {
  position: relative; overflow: hidden; background: var(--green-dark);
  height: clamp(430px, calc(100vh - 245px), 700px);
}
.hero-media { position: absolute; inset: -14% 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 37, 27, .62) 0%, rgba(20, 37, 27, .18) 38%, rgba(20, 37, 27, .85) 100%);
}
.hero-body {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) 74px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; width: max-content;
  background: rgba(255, 248, 236, .14); border: 1px solid rgba(255, 248, 236, .3); color: #f0ead9;
  padding: 7px 15px; border-radius: 999px; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; backdrop-filter: blur(6px);
}
/* Rozmiar nazwy ogranicza też WYSOKOŚĆ okna (11vh): na niskim ekranie hero
   jest niski, a 92 px tytułu zjadałoby miejsce potrzebne na wyszukiwarkę. */
.hero h1 { color: var(--cream); font-size: clamp(40px, min(7.6vw, 11vh), 92px); margin: 12px 0 10px; max-width: 16ch; }
.hero p { color: rgba(240, 234, 217, .88); font-size: 19px; max-width: 56ch; margin: 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-facts span {
  background: rgba(255, 248, 236, .12); border: 1px solid rgba(255, 248, 236, .22); color: #f0ead9;
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(6px);
}
.scroll-cue { position: absolute; left: 50%; bottom: 16px; z-index: 3; color: rgba(240, 234, 217, .7); animation: cue 2.2s infinite; }

.hero-eyebrow {
  display: inline-flex; width: max-content; color: #e5c9a8;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700;
  text-shadow: 0 1px 10px rgba(20, 37, 27, .6);
}
.hero-lead { color: rgba(240, 234, 217, .92) !important; font-size: 19px; max-width: 52ch; margin: 0; }
.hero-live {
  display: inline-flex; align-items: center; gap: 9px; width: max-content; margin-top: 18px;
  background: rgba(20, 37, 27, .58); border: 1px solid rgba(255, 248, 236, .28); color: #f0ead9;
  padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(8px);
}
.hero-live svg { color: #cfe0c6; }

/* ── pasek „co to jest" ───────────────────────────────────────────── */
.demo-ribbon {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: var(--green-dark); color: rgba(240, 234, 217, .82);
  padding: 9px var(--gutter); font-size: 13px;
}
.demo-ribbon[hidden] { display: none; }
.demo-ribbon strong { color: var(--cream); }
.demo-ribbon a { display: inline-flex; align-items: center; gap: 6px; color: #e5a173; font-weight: 600; white-space: nowrap; }
.demo-ribbon button {
  margin-left: auto; display: inline-flex; align-items: center; background: none; border: 0;
  color: rgba(240, 234, 217, .6); line-height: 1; cursor: pointer; padding: 0 4px;
}
.demo-ribbon button:hover { color: var(--cream); }
.demo-ribbon em { font-style: normal; }
@media (max-width: 700px) {
  /* Na telefonie pasek ma zająć jeden wiersz — wyjaśnienie schodzi, zostaje sens. */
  .demo-ribbon { font-size: 12.5px; padding: 8px 16px; }
  .demo-ribbon em { display: none; }
}

/* ── dlaczego tu ──────────────────────────────────────────────────── */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.props article { background: var(--cream); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
/* Znak w miękkim kwadracie — ten sam zabieg co w kaflach „na terenie",
   więc cała strona ma jeden sposób pokazywania ikony. */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: rgba(44, 82, 64, .09); color: var(--green); flex: 0 0 auto;
  margin-bottom: 14px;
}
.props strong { display: block; font-family: var(--head); font-size: 18px; letter-spacing: -.02em; margin-bottom: 6px; }
.props p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

/* ── oferta wg rodzaju zakwaterowania ─────────────────────────────── */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 22px; margin-top: 40px; }
.offer-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.offer-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .75, .2, 1); }
.offer-card:hover .offer-photo img { transform: scale(1.05); }
.offer-kind {
  display: inline-flex; align-items: center; gap: 7px;
  position: absolute; top: 12px; left: 12px; background: rgba(255, 248, 236, .94); color: var(--green-dark);
  font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.offer-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.offer-body h3 { font-size: 20px; }
.offer-meta { font-size: 13px; color: var(--ink-3); }
.offer-free { font-style: normal; color: var(--green); font-weight: 600; }
.offer-body p { margin: 0; font-size: 14px; color: var(--ink-2); }
.offer-price { margin-top: auto; padding-top: 8px; font-family: var(--head); font-size: 18px; color: var(--accent-dark); }
.offer-price em { font-style: normal; font-family: var(--body); font-size: 13px; font-weight: 500; color: var(--ink-3); }

/* ── plan terenu (zapowiedź) ──────────────────────────────────────── */
.map-teaser { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; }
.map-teaser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map-teaser::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 37, 27, .25) 0%, rgba(20, 37, 27, .9) 72%);
}
.map-teaser-body { position: relative; z-index: 2; padding: 40px; max-width: 620px; }
.map-teaser-body .kicker { color: rgba(240, 234, 217, .72); }
.map-teaser-body h2 { color: var(--cream); font-size: clamp(26px, 3.4vw, 38px); }
.map-teaser-body p { color: rgba(240, 234, 217, .86); margin: 12px 0 22px; font-size: 15.5px; }

/* ── przykład cenowy ──────────────────────────────────────────────── */
.price-example { margin: 18px 0 0; font-size: 18.5px; color: var(--ink-2); }
.price-example strong { font-family: var(--head); font-size: 26px; color: var(--accent-dark); }
.price-example span { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 6px; }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--head); font-size: 17.5px; letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 10px; top: calc(50% - 7px);
  width: 9px; height: 9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: calc(50% - 2px); }
.faq summary:hover { color: var(--green); }
.faq p { margin: -4px 0 20px; font-size: 15px; color: var(--ink-2); max-width: 78ch; }

/* ── widget rezerwacji ────────────────────────────────────────────── */
.booking-widget {
  position: relative; z-index: 5; margin: -58px var(--gutter) 0;
  background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px;
}
.booking-widget.inline { margin: 0; box-shadow: var(--shadow-sm); }
.bw-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-bottom: 16px; }
.bw-head h3 { font-size: 21px; }
.bw-head .bw-sub { font-size: 13.5px; color: var(--ink-3); }

/* pasek segmentów — układ z wyszukiwarki camp2find */
.bw-bar {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px; align-items: stretch;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 6px;
}
.bw-seg {
  display: flex; flex-direction: column; gap: 2px; text-align: left; min-width: 0;
  background: transparent; border: 0; border-radius: 999px; padding: 10px 20px; cursor: pointer;
  transition: background .2s;
}
.bw-seg + .bw-seg { box-shadow: inset 1px 0 0 var(--line); }
.bw-seg:hover { background: rgba(44, 82, 64, .06); }
.bw-seg.on { background: rgba(44, 82, 64, .1); box-shadow: none; }
.bw-seg.on + .bw-seg { box-shadow: none; }
.bw-seg-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.bw-seg-value { font-size: 14.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bw-seg-value.muted { font-weight: 500; color: var(--ink-3); }
.bw-go { align-self: center; white-space: nowrap; }

/* rozwijane panele */
.bw-panel {
  margin-top: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; animation: pop .22s cubic-bezier(.2, .75, .2, 1) both;
}
.bw-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.bw-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bw-field > span, .bw-field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.bw-field input, .bw-field select {
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 14px;
  padding: 11px 13px; font-size: 15px; width: 100%; transition: border-color .2s;
}
.bw-field input:focus, .bw-field select:focus { border-color: var(--green); }
.bw-note { font-size: 13px; color: var(--ink-3); margin: 14px 0 0; }

/* steppery (goście, namioty, jednostki extra) */
.bw-step { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.bw-step + .bw-step { border-top: 1px solid var(--line); }
.bw-step.compact { padding: 8px 0; }
.bw-step-text strong { display: block; font-size: 15.5px; font-weight: 600; }
.bw-step-text span { font-size: 13px; color: var(--ink-3); }
.bw-step-ctl { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; }
.bw-step-ctl button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2);
  background: #fff; font-size: 17px; line-height: 1; cursor: pointer; color: var(--ink);
  transition: border-color .2s, background .2s;
}
.bw-step-ctl button:hover:not([disabled]) { border-color: var(--green); background: rgba(44, 82, 64, .06); }
.bw-step-ctl button[disabled] { opacity: .35; cursor: not-allowed; }
.bw-step-ctl output { min-width: 28px; text-align: center; font-weight: 700; font-size: 15.5px; }
.bw-step-ctl.small button { width: 28px; height: 28px; font-size: 15px; }
.bw-step-ctl.small output { min-width: 20px; font-size: 14px; }

.bw-panel-open { margin-top: 0; }

/* pierwsze pytanie ankiety — wybór grupy zakwaterowania */
.bw-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.bw-group {
  display: block; text-align: left; background: #fff; cursor: pointer;
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 20px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.bw-group:hover { border-color: var(--green); transform: translateY(-2px); }
.bw-group.on { border-color: var(--green); box-shadow: 0 0 0 2px rgba(44, 82, 64, .14); }
.bw-group-icon { display: block; color: var(--green); margin-bottom: 10px; }
.bw-group.on .bw-group-icon { color: var(--green); }
.bw-group strong { display: block; font-family: var(--head); font-size: 18px; letter-spacing: -.02em; margin-bottom: 4px; }
.bw-group.on strong { color: var(--green); }
.bw-group span { font-size: 13.5px; color: var(--ink-3); }
.bw-group.off { cursor: not-allowed; background: var(--bg-2); border-color: transparent; }
.bw-group.off:hover { transform: none; border-color: transparent; }
.bw-group.off .bw-group-icon, .bw-group.off strong, .bw-group.off > span { opacity: .55; }
.bw-group-note {
  display: block; margin-top: 10px; font-style: normal; font-size: 12.5px; font-weight: 600;
  color: var(--accent-dark); background: rgba(217, 98, 43, .12); border-radius: 10px; padding: 6px 10px;
}

/* kreator jednostki — etapy */
.bw-wizard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bw-wizard-count { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.bw-wizard-dots { display: inline-flex; gap: 5px; }
.bw-wizard-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); transition: background .25s, transform .25s; }
.bw-wizard-dots i.done { background: rgba(44, 82, 64, .45); }
.bw-wizard-dots i.on { background: var(--accent); transform: scale(1.35); }
.bw-wizard h4 { font-size: 19px; margin-bottom: 16px; }
.bw-wizard-body { min-height: 96px; animation: pop .22s cubic-bezier(.2, .75, .2, 1) both; }
.bw-wizard-foot {
  display: flex; align-items: center; gap: 12px; margin-top: 18px;
  border-top: 1px solid var(--line); padding-top: 14px;
}
.bw-wizard-summary {
  flex: 1; min-width: 0; font-size: 13px; color: var(--ink-3);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bw-wizard-foot .btn:last-child { margin-left: auto; }

.bw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.bw-tile-main {
  display: flex; align-items: center; gap: 9px; text-align: left;
  background: #fff; border: 1.5px solid var(--line-2); border-radius: 16px;
  padding: 13px 15px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, color .2s;
}
.bw-tile-main:hover { border-color: var(--green); }
.bw-tile-main.on { border-color: var(--green); color: var(--green); box-shadow: 0 0 0 2px rgba(44, 82, 64, .12); }
.bw-tile-icon { display: inline-flex; color: inherit; }
/* Znak wewnątrz wiersza tekstu (nazwa pojazdu, telefon w stopce CTA). */
.ico-inline { vertical-align: -4px; margin-right: 8px; }

.bw-detail { margin-top: 14px; background: var(--bg-2); border-radius: var(--radius-sm); padding: 12px 16px; }
.bw-detail .bw-step { padding: 6px 0; }
.bw-detail .bw-step + .bw-slider { margin-top: 6px; }

/* suwak długości — prowadzony za uchwyt, wartość aktualizuje się w trakcie */
.bw-slider { display: block; }
.bw-slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bw-slider-head span { font-size: 13px; color: var(--ink-3); }
.bw-slider-head output { font-family: var(--head); font-size: 19px; color: var(--green); }
.bw-slider input[type='range'] {
  -webkit-appearance: none; appearance: none; width: 100%; margin: 10px 0 2px;
  background: transparent; cursor: grab;
}
.bw-slider input[type='range']:active { cursor: grabbing; }
.bw-slider input[type='range']::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--fill, 50%), var(--line-2) var(--fill, 50%));
}
.bw-slider input[type='range']::-moz-range-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green) var(--fill, 50%), var(--line-2) var(--fill, 50%));
}
.bw-slider input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -10px;
  border-radius: 50%; background: var(--green); border: 3px solid var(--cream);
  box-shadow: 0 2px 8px rgba(20, 37, 27, .28); transition: transform .15s;
}
.bw-slider input[type='range']::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--green);
  border: 3px solid var(--cream); box-shadow: 0 2px 8px rgba(20, 37, 27, .28);
}
.bw-slider input[type='range']:active::-webkit-slider-thumb { transform: scale(1.12); }
.bw-slider input[type='range']:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 2px; }
.bw-slider-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }

.bw-tent-rows { display: grid; gap: 8px; margin-top: 14px; }
.bw-tent-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.bw-tent-row select { border: 1.5px solid var(--line-2); border-radius: 12px; padding: 6px 12px; font-size: 14px; background: #fff; }
.bw-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 26px; }
.bw-extras .bw-step:first-child, .bw-extras .bw-step:nth-child(2) { border-top: 0; }
.bw-flags { display: flex; flex-wrap: wrap; gap: 8px; }
.bw-skip {
  display: inline-flex; align-items: center; gap: 9px;
  display: block; margin: 16px auto 0; background: none; border: 0; cursor: pointer;
  font-size: 13.5px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px;
}
.bw-skip:hover { color: var(--green); }

/* wyniki */
.bw-results { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 18px; }
.bw-results.stale .bw-list, .bw-results.stale .bw-summary { opacity: .5; filter: saturate(.7); transition: opacity .25s; }

.bw-recheck {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-3); margin: 0 0 14px;
}
.bw-recheck.warn {
  background: rgba(217, 98, 43, .09); border: 1px solid rgba(217, 98, 43, .25);
  color: var(--accent-dark); border-radius: 14px; padding: 10px 14px; font-weight: 600;
}
.bw-recheck.warn .btn { margin-left: auto; }

.bw-summary { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; margin-bottom: 8px; }
.bw-summary > strong { font-family: var(--head); font-size: 23px; letter-spacing: -.02em; }
.bw-summary > span { font-size: 14px; color: var(--ink-3); }
.bw-from { color: var(--ink-2) !important; }
.bw-from strong { font-family: var(--head); font-size: 18px; color: var(--accent-dark); }
.bw-from em { font-style: normal; font-size: 13px; color: var(--ink-3); }
.bw-assure { font-size: 13px; color: var(--ink-3); margin: 0 0 16px; }

.bw-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.bw-card {
  display: flex; gap: 12px; align-items: center; text-align: left; width: 100%;
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 10px; cursor: pointer;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.bw-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bw-card:hover .bw-card-go { opacity: 1; transform: translateX(2px); }
.bw-card img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.bw-card-body { min-width: 0; flex: 1; }
.bw-card-body strong { display: block; font-family: var(--head); font-size: 16.5px; letter-spacing: -.02em; }
.bw-card-free { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--ink-3); }
.bw-last {
  font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(217, 98, 43, .14); color: var(--accent-dark); padding: 1px 6px; border-radius: 999px; white-space: nowrap;
}
.bw-price { display: block; margin-top: 2px; font-family: var(--head); font-size: 16px; color: var(--accent-dark); }
.bw-price em { font-style: normal; font-family: var(--body); font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.bw-card-go { flex: 0 0 auto; display: inline-flex; color: var(--green); opacity: .35; transition: opacity .2s, transform .2s; }

/* odrzucony sektor zostaje CZYTELNY — ma tłumaczyć, nie znikać */
.bw-card.off { background: var(--bg-2); border-color: transparent; cursor: default; }
.bw-card.off:hover { transform: none; box-shadow: none; border-color: transparent; }
.bw-card.off img { filter: grayscale(1); opacity: .5; }
.bw-card.off strong { color: var(--ink-2); }
.bw-why { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.bw-fix {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px;
  background: var(--bg-2); border-radius: 16px; padding: 12px 16px; font-size: 13.5px; color: var(--ink-2);
}
.bw-fix > span { flex: 1 1 200px; }

.bw-empty { background: var(--bg-2); border-radius: var(--radius-sm); padding: 20px; }
.bw-empty p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.bw-empty-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bw-empty-actions .pill { font-size: 13.5px; padding: 8px 15px; }

/* ── przyklejone CTA (telefon) ────────────────────────────────────── */
.sticky-cta { display: none; }
@media (max-width: 860px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 248, 236, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 37, 27, .1);
    animation: pop .25s both;
  }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
  .sticky-cta-text strong { font-family: var(--head); font-size: 14px; letter-spacing: -.02em; }
  .sticky-cta-text span { font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-cta .btn { margin-left: auto; flex: 0 0 auto; padding: 11px 18px; }
  .site-footer { padding-bottom: 76px; }
}

/* ── paski / listy ────────────────────────────────────────────────── */
/* ── siatki treści ────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 70px; align-items: center; }
.portrait { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 9 / 13; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* ── sekcja ciemna ────────────────────────────────────────────────── */
.dark { background: var(--green-dark); color: #f0ead9; }
.dark h2, .dark h3 { color: var(--cream); }
.dark .lead { color: rgba(240, 234, 217, .82); }
.dark .kicker { color: rgba(240, 234, 217, .66); }
.day-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; margin: 44px 0; }
.day-grid div { border-top: 2px solid rgba(240, 234, 217, .22); padding-top: 16px; }
.day-grid time { font-family: var(--head); font-size: 26px; color: var(--accent); display: block; }
.day-grid strong { display: block; font-family: var(--head); font-size: 17px; margin: 6px 0 4px; color: var(--cream); }
.day-grid p { margin: 0; font-size: 14.5px; color: rgba(240, 234, 217, .74); }
.day-photos { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; }
.day-photos > div { border-radius: var(--radius); overflow: hidden; }
.day-photos img { width: 100%; height: 100%; object-fit: cover; }
.day-photos-stack { display: grid; gap: 16px; }

/* ── galeria ──────────────────────────────────────────────────────── */
.gal-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 16px; margin-top: 40px; }
.gal-mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gal-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .75, .2, 1); }
.gal-mosaic figure:hover img { transform: scale(1.06); }
.gal-mosaic figure.big { grid-column: span 2; grid-row: span 2; }
.gal-mosaic figure.wide { grid-column: span 2; }
.gal-mosaic figure.tall { grid-row: span 2; }
.gal-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; color: var(--cream);
  font-size: 13.5px; font-weight: 600; background: linear-gradient(180deg, transparent, rgba(20, 37, 27, .78));
  opacity: 0; transition: opacity .3s;
}
.gal-mosaic figure:hover .gal-caption, .masonry figure:hover .gal-caption { opacity: 1; }
/* Na landingu podpis jest treścią, nie dymkiem: mówi, CO widać na zdjęciu.
   Na dotyku `:hover` nie zachodzi, więc ukryty podpis nie istniałby wcale.
   Na `/galeria` (`.masonry`) zostaje na hoverze — tam podpis dubluje filtr. */
.gal-mosaic .gal-caption { opacity: 1; }

.masonry { columns: 3 280px; column-gap: 16px; margin-top: 30px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; border-radius: 24px; overflow: hidden; position: relative; cursor: pointer; }
.masonry img { width: 100%; transition: transform .45s cubic-bezier(.2, .75, .2, 1); }
.masonry figure:hover img { transform: scale(1.04); }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── cennik ───────────────────────────────────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.price-table th { text-align: left; font-family: var(--head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 0 14px 12px; font-weight: 700; }
.price-table td { padding: 16px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table td:first-child { font-weight: 600; }
.price-table td small { display: block; color: var(--ink-3); font-weight: 400; font-size: 13.5px; }
.price-table td.price { font-family: var(--head); font-size: 19px; color: var(--green); white-space: nowrap; text-align: right; }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 44px; }
.notes div { background: var(--bg-2); border-radius: var(--radius-sm); padding: 22px; }
.notes strong { display: block; font-family: var(--head); font-size: 17px; margin-bottom: 6px; }
.notes p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.rules-list { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: r; }
.rules-list li { position: relative; padding-left: 44px; font-size: 15px; color: var(--ink-2); }
.rules-list li::before {
  counter-increment: r; content: counter(r, decimal-leading-zero);
  position: absolute; left: 0; top: 1px; font-family: var(--head); font-size: 13px; color: var(--accent);
  background: rgba(217, 98, 43, .12); width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── nagłówek podstrony bez zdjęcia ───────────────────────────────── */
.page-intro {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  padding: 54px var(--gutter) 48px;
}
.page-intro h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 14px; }
.page-intro .lead { font-size: 18.5px; color: var(--ink-2); max-width: 62ch; margin: 0; }
/* Pasek daje już oddech — sekcja pod nim nie potrzebuje pełnych 96 px. */
.page-intro + .section, .page-intro + .section-tight { padding-top: 56px; }

/* ── nagłówek podstrony ze zdjęciem ───────────────────────────────── */
.page-head { position: relative; height: 380px; overflow: hidden; background: var(--green-dark); }
.page-head .hero-media { inset: -12% 0; }
.page-head::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 37, 27, .5), rgba(20, 37, 27, .82)); }
.page-head-body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gutter) 42px; }
.page-head h1 { color: var(--cream); font-size: clamp(34px, 6vw, 66px); }
.page-head p { color: rgba(240, 234, 217, .86); max-width: 60ch; margin: 10px 0 0; }

/* ── sektory (noclegi) ────────────────────────────────────────────── */
/* Równe kolumny: przy 0,9/1,1 węższa strona nie mieściła czterech liczb
   w jednym rzędzie i co druga karta łamała siatkę faktów 3+1. */
.sector { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.sector:nth-child(even) .sector-photo { order: 2; }
.sector-photo { min-height: 320px; position: relative; overflow: hidden; }
.sector-photo img { width: 100%; height: 100%; object-fit: cover; }
.sector-body { padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.sector-body h3 { font-size: 27px; }
.sector-body p { margin: 0; font-size: 15px; color: var(--ink-2); }
.sector-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.sector-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.sector-facts div strong { display: block; font-family: var(--head); font-size: 17px; }
.sector-facts div span { font-size: 12.5px; color: var(--ink-3); }
.sector-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }

/* ── mapa ─────────────────────────────────────────────────────────── */
.map-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); height: min(76vh, 720px); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink-3); background: var(--bg-2); font-size: 15px; }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 10px; margin-top: 20px; }
.legend button {
  display: flex; align-items: center; gap: 10px; text-align: left; width: 100%;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 16px; padding: 11px 14px; cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.legend button:hover { border-color: var(--green); transform: translateY(-2px); }
.legend button.on { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217, 98, 43, .14); }
.legend .dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }
.legend strong { display: block; font-family: var(--head); font-size: 15px; }
.legend span { font-size: 12.5px; color: var(--ink-3); }

/* ── POI ──────────────────────────────────────────────────────────── */
.poi-group + .poi-group { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 40px; }
.poi-group > h3 { font-size: 25px; margin-bottom: 20px; display: flex; align-items: baseline; gap: 10px; }
/* Licznik przy kategorii — na stronie z ośmioma grupami mówi od razu, ile
   punktów kryje się pod nagłówkiem. */
.poi-group > h3 span {
  font-family: var(--body); font-size: 12.5px; font-weight: 700; color: var(--ink-3);
  background: var(--bg-2); border-radius: 999px; padding: 3px 9px;
}
.poi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.poi-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.poi-photo { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.poi-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.poi-card:hover .poi-photo img { transform: scale(1.05); }
.poi-body { padding: 18px 20px 22px; }
.poi-body h4 { font-size: 18px; margin-bottom: 6px; }
.poi-body p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 26px; }
.amenity-grid span { display: flex; align-items: center; gap: 11px; background: var(--bg-2); border-radius: 14px; padding: 12px 15px; font-size: 14.5px; font-weight: 500; }
.amenity-grid svg { color: var(--green); flex: 0 0 auto; }
/* Kod udogodnienia bez narysowanego znaku — patrz `amenityGrid` w pages.js. */
.amenity-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: 0 0 auto; margin: 0 6px; }

/* ── dojazd, wjazd, parking ───────────────────────────────────────── */
.arrive-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 34px; }
.arrive-facts > div { display: flex; align-items: flex-start; gap: 14px; }
.arrive-facts .icon-badge { margin-bottom: 0; width: 40px; height: 40px; }
.arrive-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.arrive-text em { font-style: normal; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.arrive-text strong { font-family: var(--head); font-size: 17px; letter-spacing: -.02em; }

.park-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.park-grid article { background: var(--cream); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.park-grid h3 { font-size: 19px; margin-bottom: 4px; }
.park-grid p { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-2); }

/* Zasady ruchu po terenie — cytat z regulaminu kempingu, nie parafraza. */
.road-rules { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.road-rules li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--ink-2); max-width: 78ch; }
.road-rules svg { color: var(--accent-dark); flex: 0 0 auto; margin-top: 2px; }

/* ── pas przekroju wydmy ──────────────────────────────────────────── */
/* Pełna szerokość niezależnie od marginesu bocznego sekcji; `line-height: 0`
   zdejmuje pasek tła pod inline-SVG, przez który szew z ciemną sekcją
   rozjeżdżał się o kilka pikseli. */
.dune { line-height: 0; margin: 0; }
.dune svg { display: block; width: 100%; height: auto; }

/* ── kontakt ──────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 46px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-radius: var(--radius-sm); overflow: hidden; }
.contact-list li { display: flex; justify-content: space-between; gap: 16px; background: var(--bg-2); padding: 15px 20px; font-size: 15px; }
.contact-list li span:first-child { color: var(--ink-3); font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.form-grid input, .form-grid textarea, .form-grid select {
  background: var(--cream); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 14px;
  font-size: 15px; letter-spacing: normal; text-transform: none; font-weight: 400; color: var(--ink);
}
.form-grid textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--ink-3); margin: 12px 0 0; }

/* ── CTA band ─────────────────────────────────────────────────────── */
.cta-band { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: center; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 37, 27, .94) 0%, rgba(20, 37, 27, .78) 45%, rgba(20, 37, 27, .5) 100%); }
.cta-body { position: relative; z-index: 2; padding: 46px; max-width: 640px; }
.cta-body h2 { color: var(--cream); font-size: clamp(28px, 4vw, 44px); }
.cta-body p { color: rgba(240, 234, 217, .84); margin: 12px 0 24px; }

/* ── stopka ───────────────────────────────────────────────────────── */
.site-footer { background: var(--green-dark); color: rgba(240, 234, 217, .8); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 50px; padding: 66px var(--gutter) 44px; }
.footer-claim { font-family: var(--head); font-size: 23px; color: var(--cream); letter-spacing: -.02em; margin: 18px 0 4px; }
.footer-address { font-size: 14px; color: rgba(240, 234, 217, .7); margin: 0 0 14px; }
.footer-note { font-size: 13.5px; line-height: 1.6; max-width: 52ch; margin: 0; color: rgba(240, 234, 217, .6); }
.footer-note a { color: #e5a173; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; }
.footer-cols h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin-bottom: 14px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.footer-cols a { color: rgba(240, 234, 217, .8); }
.footer-cols a:hover { color: #e5a173; }
.footer-cols li span { color: rgba(240, 234, 217, .5); display: block; font-size: 12.5px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(240, 234, 217, .14); padding: 20px var(--gutter); font-size: 13px; color: rgba(240, 234, 217, .55);
}

/* ── lightbox ─────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20, 37, 27, .94); display: flex; align-items: center; justify-content: center; padding: 40px; animation: pop .25s both; }
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1180px, 92vw); max-height: 86vh; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lightbox-figure img { max-height: 78vh; width: auto; border-radius: 18px; object-fit: contain; }
.lightbox-figure figcaption { color: rgba(240, 234, 217, .82); font-size: 14.5px; text-align: center; }
.lightbox-close { position: absolute; top: 18px; right: 22px; display: inline-flex; background: none; border: 0; color: var(--cream); line-height: 1; cursor: pointer; padding: 6px; }
.lightbox-nav {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 248, 236, .12); border: 0; color: var(--cream);
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer; flex: 0 0 auto;
}
.lightbox-nav:hover { background: rgba(255, 248, 236, .24); }

/* ── modal rezerwacji ─────────────────────────────────────────────── */
/* Ramka wokół panelu jest cienka celowo: w środku siedzi silnik rezerwacji,
   a nie dialog — im więcej ekranu dostanie plan terenu, tym mniej gość scrolluje
   w iframie. */
.modal { position: fixed; inset: 0; z-index: 130; display: flex; align-items: center; justify-content: center; padding: clamp(10px, 1.4vw, 22px); }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20, 37, 27, .78); backdrop-filter: blur(3px); }
.modal-panel {
  position: relative; z-index: 2; background: var(--bg); border-radius: var(--radius); overflow: hidden;
  /* 1640 px: strona oferty i tak centruje treść w swoim kontenerze 1200 px,
     ale plan terenu (na nim gość kończy) wypełnia całą szerokość iframe'a —
     i to on decyduje o limicie. Poniżej ~1690 px okna i tak wygrywa `100%`. */
  width: min(1640px, 100%); height: min(1040px, 95vh); display: flex; flex-direction: column; box-shadow: var(--shadow);
  animation: pop .28s cubic-bezier(.2, .75, .2, 1) both;
}
.modal-bar { display: flex; align-items: center; gap: 16px; padding: 13px 18px; border-bottom: 1px solid var(--line); background: var(--cream); }
.modal-title strong { font-family: var(--head); font-size: 17px; display: block; }
.modal-title span { font-size: 13px; color: var(--ink-3); }
.modal-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.modal-external { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.modal-close { display: inline-flex; background: none; border: 0; line-height: 1; cursor: pointer; color: var(--ink-2); padding: 4px; }
.modal-body { position: relative; flex: 1; min-height: 0; }
.modal-body iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; background: var(--bg); color: var(--ink-3); font-size: 15px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(44, 82, 64, .25); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }

/* ── stany ────────────────────────────────────────────────────────── */
.skeleton { border-radius: var(--radius); background: linear-gradient(90deg, var(--bg-2) 0, #f7f4ea 40%, var(--bg-2) 80%); background-size: 600px 100%; animation: shimmer 1.4s infinite linear; }
.page-loading { padding: 120px var(--gutter); display: grid; gap: 16px; }
.page-loading .skeleton:nth-child(1) { height: 46px; max-width: 380px; }
.page-loading .skeleton:nth-child(2) { height: 240px; }
.page-loading .skeleton:nth-child(3) { height: 240px; }
.error-box { margin: 90px var(--gutter); background: var(--cream); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.error-box h2 { font-size: 26px; margin-bottom: 10px; }
.error-box p { color: var(--ink-2); margin: 0 0 18px; }
.empty { color: var(--ink-3); font-size: 15px; margin: 0; }

main { animation: pageIn .5s cubic-bezier(.2, .75, .2, 1) both; }

/* ── kolaż odbitek ────────────────────────────────────────────────── */
/* Trzy zdjęcia rzucone na stół jak świeżo wywołane odbitki — ten sam chwyt,
   co na camp2find.eu. Rotacja siedzi na `.polaroid`, a NIE na kontenerze:
   kontener niesie `data-rv`, a animacja wejścia kończy się `transform: none`
   i skasowałaby przekrzywienie. */
.snap-row { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
/* Zdanie kempingu, nie nagłówek sekcji: lżejsza grubość i mniejszy stopień
   niż `h2` w innych sekcjach, bo to ma się czytać jak zdanie, nie krzyczeć. */
h2.statement {
  font-family: var(--head); font-weight: 500; letter-spacing: -.02em; line-height: 1.2;
  font-size: clamp(23px, 2.9vw, 35px); max-width: 26ch; margin-top: 16px;
}
.snap-row + .props { margin-top: 58px; }
.snaps { position: relative; aspect-ratio: 10 / 11; }
.snaps > div { position: absolute; }
.snap-a { left: 0; top: 7%; width: 53%; z-index: 1; }
.snap-b { right: 0; top: 0; width: 47%; z-index: 2; }
.snap-c { left: 15%; bottom: 0; width: 51%; z-index: 3; }
.snaps > div:hover { z-index: 4; }
.polaroid {
  position: relative; margin: 0; background: #fdfbf6; padding: 10px 10px 12px; border-radius: 4px;
  box-shadow: 0 24px 48px -20px rgba(20, 37, 27, .45), 0 3px 8px rgba(20, 37, 27, .12);
  transition: transform .5s cubic-bezier(.2, .75, .2, 1);
}
.snap-a .polaroid { transform: rotate(-5deg); }
.snap-b .polaroid { transform: rotate(4deg); }
.snap-c .polaroid { transform: rotate(-2deg); }
.snaps > div:hover .polaroid { transform: rotate(0) scale(1.04); }
/* taśma malarska u góry — bez niej odbitka jest po prostu białą ramką */
.polaroid::before {
  content: ''; position: absolute; top: -10px; left: 50%; width: 82px; height: 24px;
  transform: translateX(-50%) rotate(-2.5deg);
  background: rgba(232, 220, 195, .8); box-shadow: 0 1px 3px rgba(20, 37, 27, .1);
}
.polaroid-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--bg-2); }
.polaroid-frame img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption {
  font-family: var(--hand); font-size: 21px; line-height: 1.05; text-align: center;
  padding: 10px 6px 0; color: rgba(26, 33, 24, .74);
}

/* ── pas ze zdjęciem i jednym zdaniem ─────────────────────────────── */
/* Pełna szerokość, jedno zdanie z opisu kempingu i zdjęcie tego, o czym to
   zdanie mówi. Oddech między sekcjami gęstymi od treści. */
.interlude {
  position: relative; overflow: hidden; background: var(--green-dark);
  display: flex; align-items: flex-end; min-height: clamp(320px, 46vh, 470px);
}
.interlude img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interlude::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 37, 27, .38) 0%, rgba(20, 37, 27, .12) 40%, rgba(20, 37, 27, .88) 100%);
}
.interlude-body { position: relative; z-index: 2; padding: 74px var(--gutter) 50px; max-width: 1040px; }
/* Sekcja pod pasem nie ma własnego górnego odstępu (`.section-tight` daje tylko
   dolny), więc kafel plan terenu przyklejał się do zdjęcia bez przerwy — dwa
   zdjęcia sklejone krawędziami czytają się jak jedno rozjechane. Ten sam rytm
   96 px co między pozostałymi sekcjami. */
.interlude + .section-tight { padding-top: 96px; }
.interlude-body i { display: block; width: 60px; height: 2px; background: var(--accent); margin-bottom: 20px; }
.interlude-body p {
  margin: 0; font-family: var(--head); font-weight: 500; letter-spacing: -.02em; line-height: 1.18;
  font-size: clamp(21px, 3vw, 37px); color: var(--cream);
}

/* ── kafel „z dziećmi" ────────────────────────────────────────────── */
.family {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-top: 34px;
}
.family-photo { position: relative; min-height: 320px; }
.family-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.family-body { padding: 38px 40px 40px; }
.family-body .lead { margin: 0; font-size: 16.5px; }
.family-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 17px; }
.family-list li { display: flex; align-items: flex-start; gap: 14px; }
.family-list li > span { min-width: 0; }
.family-list svg { color: var(--green); flex: 0 0 auto; margin-top: 3px; }
.family-list strong { display: block; font-family: var(--head); font-size: 16.5px; letter-spacing: -.02em; }
.family-list span { font-size: 14.5px; color: var(--ink-2); }

/* ── responsywność ────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .snap-row { grid-template-columns: 1fr; gap: 40px; }
  .snaps { width: 100%; max-width: 520px; margin: 0 auto; }
  .family { grid-template-columns: minmax(0, 1fr); }
  .family-photo { min-height: 240px; }
  .portrait { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .sector, .day-photos { grid-template-columns: 1fr; }
  .sector:nth-child(even) .sector-photo { order: 0; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .gal-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .gal-mosaic figure.wide { grid-column: span 2; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 64px var(--gutter); }
  .nav-toggle { display: flex; order: 3; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 10px; gap: 2px; box-shadow: var(--shadow); display: none;
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 16px; border-radius: 14px; font-size: 16px; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: rgba(44, 82, 64, .1); color: var(--green); }
  .booking-widget { margin: -30px 14px 0; padding: 16px; }
  .hero-lead { font-size: 16.5px; }
  .map-teaser { min-height: 340px; }
  .map-teaser-body { padding: 24px; }
  .bw-bar { grid-template-columns: 1fr; border-radius: var(--radius-sm); padding: 6px; }
  .bw-seg { border-radius: 14px; padding: 10px 14px; }
  .bw-seg + .bw-seg { box-shadow: inset 0 1px 0 var(--line); }
  .bw-go { width: 100%; margin-top: 6px; }
  .bw-extras { grid-template-columns: 1fr; }
  .bw-recheck.warn { flex-direction: column; align-items: stretch; text-align: left; }
  .bw-recheck.warn .btn { margin-left: 0; width: 100%; }
  .bw-list { grid-template-columns: 1fr; }
  .bw-summary > strong { font-size: 20px; }
  .hero { height: min(62svh, 520px); min-height: 400px; }
  .hero-body { padding-bottom: 46px; }
  .modal { padding: 0; }
  .modal-panel { height: 100vh; width: 100%; border-radius: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .lightbox { padding: 16px; }
  .lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
  .gal-mosaic figure.big { grid-column: span 2; grid-row: span 2; }
  .family-body { padding: 28px 24px 30px; }
  .interlude-body { padding-bottom: 36px; }
}

@media (max-width: 560px) {
  .gal-mosaic { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .gal-mosaic figure.big, .gal-mosaic figure.wide, .gal-mosaic figure.tall { grid-column: span 1; grid-row: span 1; }
  .stats { gap: 22px; }
  .stats div strong { font-size: 34px; }
  .sector-body, .cta-body { padding: 24px; }
}
