/* ==========================================================================
   Chata Zacisze — arkusz stylów (szkic v0.1)
   Kolory i typografia są zebrane w zmiennych poniżej — zmiana w jednym miejscu
   zmienia wygląd całej strony.
   ========================================================================== */

:root {
  /* Kolory: spokojne odcienie lasu — mech, szałwia, drewno */
  --cream: #f2f1e7;
  --paper: #e5e9da;
  --card: #f9f8f2;
  --sand: #d9d9c6;
  --line: #d7dacb;
  --wood: #7d6243;
  --wood-light: #b8966b;
  --forest: #3b5a44;
  --forest-deep: #2a3f31;
  --moss: #667b5a;
  --ink: #232a24;
  --text: #384137;
  --muted: #5a6356;
  --white: #ffffff;
  --header-bg: rgba(242, 241, 231, .97);
  --hero-top: #e3e9da;
  --ph-bg: #dfe4d2;
  --ph-line: rgba(90, 110, 80, .4);

  /* Typografia */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Układ */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 72px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(30, 36, 32, .05), 0 10px 30px rgba(30, 36, 32, .07);
  --ease: 200ms ease;
}

/* ---------- Kolory pory roku ----------
   Porę roku ustawia skrypt w <head> każdej strony: marzec–sierpień = lato, wrzesień–luty = zima. */
html[data-season="lato"] {
  --cream: #f1f3ea; --paper: #e2e8dc; --card: #fafbf6; --sand: #d6ddcf; --line: #d4dbcc;
  --forest: #2b5234; --forest-deep: #1f3d27; --moss: #8a6440; --wood: #845a36;
  --ink: #212923; --text: #363f37; --muted: #58625a;
  --header-bg: rgba(241, 243, 234, .97); --hero-top: #dde6d6; --ph-bg: #dce3d4; --ph-line: rgba(80, 110, 80, .4);
}
html[data-season="zima"] {
  --cream: #eef3f7; --paper: #dce7ef; --card: #f9fbfd; --sand: #cddbe5; --line: #cfdce6;
  --forest: #2f5670; --forest-deep: #1f3b4e; --moss: #5b7f96; --wood: #6f5b47;
  --ink: #1b2a35; --text: #324452; --muted: #546877;
  --header-bg: rgba(238, 243, 247, .97); --hero-top: #d8e6f0; --ph-bg: #d6e2eb; --ph-line: rgba(70, 105, 135, .4);
}
/* Treści tylko na jedną porę roku */
html[data-season="zima"] .only-lato,
html[data-season="lato"] .only-zima,
html:not([data-season]) .only-zima { display: none !important; }

/* ---------- Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-deep); }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
::selection { background: var(--sand); color: var(--ink); }

/* ---------- Narzędzia ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { padding: var(--section) 0; }
.section--paper { background: var(--paper); }
.section--tight { padding-top: 0; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: block;
  margin-bottom: 14px;
  font: 500 .78rem/1.4 var(--font-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--wood);
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--forest); color: var(--cream); border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; }

/* Przyciski */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: 500 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--forest-deep); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--white); color: var(--ink); }
.btn--ghost { border-color: currentColor; color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.btn--ghost-light { border-color: rgba(250, 247, 241, .7); color: var(--cream); background: transparent; }
.btn--ghost-light:hover { background: rgba(250, 247, 241, .14); color: var(--cream); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--ease), border-color var(--ease);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { width: 38px; height: 38px; }
/* Logo (szczyt z okienkiem): kolory z palety pory roku; w stopce wersja jasna */
.logo { --logo-roof: var(--forest); --logo-gable: #c8963e; --logo-win: var(--forest-deep); --logo-logs: var(--wood); --logo-end: #e2c79c; }
html[data-season="zima"] .logo { --logo-gable: #7fa7c6; --logo-end: #cddbe5; }
.site-footer .logo { --logo-roof: var(--cream); --logo-win: var(--forest-deep); --logo-logs: #d2b184; --logo-end: var(--forest-deep); }
html[data-season="zima"] .site-footer .logo { --logo-gable: #9fc1da; --logo-logs: #cddbe5; }
.logo .lg-gable { fill: var(--logo-gable); }
.logo .lg-win { fill: var(--logo-win); }
.logo .lg-roof { fill: none; stroke: var(--logo-roof); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.logo .lg-logs { fill: none; stroke: var(--logo-logs); stroke-width: 4.2; stroke-linecap: round; }
.logo .lg-end { fill: var(--logo-end); stroke: var(--logo-logs); stroke-width: 1.4; }
.brand__name { font: 500 1.35rem/1 var(--font-serif); letter-spacing: -.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; list-style: none; }
.nav__list a { position: relative; padding: 6px 0; color: var(--text); font-size: .96rem; text-decoration: none; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--ink); }
.nav__list a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: transparent; color: inherit; cursor: pointer; }

/* Nagłówek przezroczysty nad zdjęciem (strona główna) */
.site-header--overlay:not(.is-scrolled) { background: transparent; border-color: transparent; }
.site-header--overlay:not(.is-scrolled) .brand,
.site-header--overlay:not(.is-scrolled) .brand svg,
.site-header--overlay:not(.is-scrolled) .nav__list a,
.site-header--overlay:not(.is-scrolled) .nav-toggle { color: var(--cream); }
.site-header--overlay:not(.is-scrolled) .nav .btn--primary { background: var(--cream); color: var(--ink); }

.nav .btn { white-space: nowrap; }
@media (max-width: 1279px) {
  .site-header__inner { gap: 16px; }
  .nav, .nav__list { gap: 20px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .brand, .nav-toggle, .season-switch { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    display: none; flex-direction: column; align-items: stretch; gap: 24px;
    padding: calc(var(--header-h) + 48px) var(--gutter) 48px; background: var(--cream); overflow-y: auto;
  }
  .nav-open .nav { display: flex; }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 1.5rem/1.3 var(--font-serif); color: var(--ink) !important; }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav .btn { width: 100%; background: var(--forest) !important; color: var(--cream) !important; }
  .nav-open .site-header { background: var(--cream) !important; border-color: var(--line) !important; }
  .nav-open .site-header .brand, .nav-open .site-header .brand svg, .nav-open .site-header .nav-toggle { color: var(--ink) !important; }
}

/* ---------- Hero (strona główna) ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: min(92svh, 900px);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 48px) 0 clamp(40px, 7vw, 88px);
  color: var(--cream);
  background: var(--forest-deep);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { z-index: -1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 28, 23, .45) 0%, rgba(20, 28, 23, 0) 22%),
    linear-gradient(20deg, rgba(20, 28, 23, .72) 0%, rgba(20, 28, 23, .25) 55%, rgba(20, 28, 23, .05) 100%);
}
@media (max-width: 760px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(20, 28, 23, .4) 0%, rgba(20, 28, 23, .5) 40%, rgba(20, 28, 23, .82) 100%); }
}
.hero__content { max-width: 1080px; }
.hero .eyebrow { color: #eadcc6; }
.hero h1 { color: var(--cream); margin-bottom: 20px; }
.hero__lead { max-width: 600px; margin-bottom: 32px; font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: rgba(250, 247, 241, .92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(32px, 5vw, 56px); padding-top: 22px;
  border-top: 1px solid rgba(250, 247, 241, .25); list-style: none; font-size: .95rem; color: rgba(250, 247, 241, .9);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts .icon { width: 20px; height: 20px; color: #eadcc6; }

/* ---------- Hero: tekst + zdjęcie obok (dla zdjęć w mniejszej rozdzielczości) ---------- */
.hero-split { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); background: linear-gradient(180deg, var(--hero-top) 0%, var(--cream) 100%); }
.hero-split__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-split h1 { font-size: clamp(2.3rem, 4.2vw, 3.5rem); margin-bottom: 20px; }
.hero-split .lead { max-width: 560px; margin-bottom: 32px; }
/* Hasło pod tytułem: jedno zdanie zależne od pory roku, z wyróżnionymi słowami */
.hero-tagline { max-width: 560px; margin: 0 0 32px; font: 400 clamp(1.4rem, 2.4vw, 1.85rem)/1.6 var(--font-serif); color: var(--ink); text-wrap: balance; }
/* Sezonowe ozdoby na wyróżnionych słowach: rysunki wokół liter, delikatny ruch */
.deco {
  position: relative; isolation: isolate; display: inline-block;
  white-space: nowrap; font-weight: 500; line-height: 1.2; color: var(--forest);
}
.deco--zima { padding-right: .95em; }
.deco__art { position: absolute; inset: 0; pointer-events: none; }
.deco__art svg { position: absolute; display: block; overflow: visible; }

/* Lato: trawa pod literami, listki na literach, ptaszek na końcu */
.deco-grass { left: -.12em; bottom: -.08em; width: calc(100% + .24em); height: .6em; z-index: -1; }
.deco-grass g { transform-box: fill-box; transform-origin: 50% 100%; animation: deco-sway 3.6s ease-in-out infinite; }
.deco-grass g:nth-child(2) { animation-duration: 4.3s; animation-delay: -1.3s; }
.deco-grass g:nth-child(3) { animation-duration: 3.1s; animation-delay: -2.2s; }
.deco-grass .deco-flowers { animation: none; }
.deco-leaf { width: .66em; height: .66em; transform-origin: 20% 90%; animation: deco-leaf 3.4s ease-in-out infinite; }
.deco-leaf--1 { left: 18%; top: -.36em; }
.deco-leaf--2 { left: 69%; top: -.26em; width: .54em; height: .54em; animation-delay: -1.7s; }
.deco-leaf--fall { left: 71%; top: -.3em; width: .46em; height: .46em; opacity: 0; animation: deco-leaf-fall 8s ease-in-out 1.5s infinite; }
.deco-bird { right: -.35em; top: -.25em; width: .88em; height: .74em; transform-origin: 60% 100%; animation: deco-peck 6.5s ease-in-out infinite; }
.deco-butterfly { left: 36%; top: -.95em; width: .5em; height: .4em; animation: deco-flutter 9s ease-in-out infinite; }
.deco-butterfly .flap { transform-box: fill-box; transform-origin: 50% 50%; animation: deco-flap .32s ease-in-out infinite alternate; }

/* Zima: zaspa pod literami, girlanda światełek nad nimi, płatki śniegu, bałwanek */
.deco-snowbank { left: -.15em; bottom: -.04em; width: calc(100% + .3em); height: .44em; z-index: -1; filter: drop-shadow(0 1px 1px rgba(80, 120, 150, .18)); }
.deco-lights { left: 0; top: -.2em; width: 100%; height: .9em; z-index: -1; }
.deco-lights .bulb { animation: deco-twinkle 2.6s ease-in-out infinite; }
.deco-lights .bulb:nth-of-type(2n) { animation-delay: -1.3s; }
.deco-lights .bulb:nth-of-type(3n) { animation-delay: -.6s; animation-duration: 3.2s; }
.deco-flake { top: -.8em; width: .3em; height: .3em; opacity: 0; animation: deco-flake 6.5s linear infinite; }
.deco-flake--1 { left: 4%; }
.deco-flake--2 { left: 19%; width: .22em; height: .22em; animation-delay: -1.6s; animation-duration: 7.5s; }
.deco-flake--3 { left: 36%; animation-delay: -3.4s; }
.deco-flake--4 { left: 52%; width: .24em; height: .24em; animation-delay: -5s; animation-duration: 8s; }
.deco-flake--5 { left: 67%; animation-delay: -2.4s; animation-duration: 7s; }
.deco-flake--6 { left: 83%; width: .22em; height: .22em; animation-delay: -4.2s; }
.deco-snowman { right: 0; bottom: .04em; width: .78em; height: 1.2em; transform-origin: 50% 100%; animation: deco-wobble 4.5s ease-in-out infinite; }

@keyframes deco-sway { 0%, 100% { transform: skewX(0); } 50% { transform: skewX(-7deg); } }
@keyframes deco-leaf { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(12deg); } }
@keyframes deco-leaf-fall {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  8% { opacity: 1; }
  45% { transform: translate(-1.4em, 1.1em) rotate(-160deg); opacity: 1; }
  55%, 100% { transform: translate(-1.8em, 1.5em) rotate(-220deg); opacity: 0; }
}
@keyframes deco-peck {
  0%, 70%, 100% { transform: rotate(0); }
  74%, 82% { transform: rotate(-20deg) translateY(.03em); }
  78%, 86% { transform: rotate(0); }
}
@keyframes deco-flap { from { transform: scaleX(1); } to { transform: scaleX(.3); } }
@keyframes deco-flutter {
  0%, 100% { transform: translate(0, 0) rotate(-8deg); }
  25% { transform: translate(1.1em, -.25em) rotate(10deg); }
  50% { transform: translate(2em, .1em) rotate(-4deg); }
  75% { transform: translate(.8em, .2em) rotate(8deg); }
}
@keyframes deco-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes deco-flake {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  12% { opacity: .9; }
  85% { opacity: .9; }
  100% { transform: translateY(2em) rotate(180deg); opacity: 0; }
}
@keyframes deco-wobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  .deco__art svg, .deco__art g { animation: none !important; }
  .deco-leaf--fall { display: none; }
  .deco-flake { opacity: .7; }
  .deco-flake--1, .deco-flake--4 { top: -.35em; }
  .deco-flake--3, .deco-flake--6 { top: .15em; }
}
.hero-split__media { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.hero-split__media img { width: 100%; height: auto; }
.hero-split .hero__facts { border-top-color: var(--line); color: var(--text); }
.hero-split .hero__facts .icon { color: var(--moss); }
@media (max-width: 900px) {
  .hero-split__inner { grid-template-columns: minmax(0, 1fr); }
  .hero-split__media { order: -1; max-width: 600px; margin-inline: auto; }
}

/* ---------- Miejsce na brakujące zdjęcie ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 100%; min-height: 150px; padding: 16px;
  background: var(--ph-bg); outline: 1px dashed var(--ph-line); outline-offset: -10px;
  color: var(--muted); font-size: .9rem; line-height: 1.4; text-align: center;
}
.ph .icon { width: 28px; height: 28px; opacity: .75; }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); max-width: 900px; }
.page-hero .lead { max-width: 680px; margin-bottom: 0; }
.page-hero__image { margin-top: clamp(32px, 5vw, 56px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--sand); }
.page-hero__image img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumbs { margin-bottom: 20px; font-size: .88rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sand); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }

/* ---------- Tekst + zdjęcie ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: 2; }
/* Sekcje ze zdjeciem: kolumna ze zdjeciem nieco szersza (tylko na szerokich ekranach) */
@media (min-width: 861px) {
  .split--photo { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 56px); }
  .split--photo.split--reverse { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
}
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; max-width: 600px; margin-inline: auto; }
}

/* Lista odległości */
.distances { margin: 28px 0 32px; list-style: none; border-top: 1px solid var(--line); }
.distances li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.distances span:first-child { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.distances .icon { width: 20px; height: 20px; color: var(--moss); transform: translateY(3px); }
.distances strong { font-weight: 500; color: var(--ink); white-space: nowrap; }

/* ---------- Wyróżniki ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px); list-style: none; }
.feature { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .icon { width: 32px; height: 32px; color: var(--forest); stroke-width: 1.25; }
.feature h3 { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
@media (max-width: 1024px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .feature { padding: 18px 16px; gap: 10px; }
  .feature .icon { width: 28px; height: 28px; }
}


/* ---------- Mozaika zdjęć (strona główna) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(170px, 21vw, 292px)); gap: 12px; }
.mosaic > * { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand); }
.mosaic > :first-child { grid-column: span 2; grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--ease); }
.mosaic a:hover img { opacity: .9; }
.section-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 42vw; }
  .mosaic > :first-child { grid-column: span 2; grid-row: span 1; }
  .mosaic > :nth-child(n+6) { display: none; }
}

/* ---------- Udogodnienia ---------- */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; list-style: none; }
.amenities li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.amenities .icon { color: var(--moss); }
.amenities--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .amenities--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .amenities, .amenities--3 { grid-template-columns: 1fr; } }
.amenity-group + .amenity-group { margin-top: clamp(40px, 6vw, 64px); }
.amenity-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 20px; }

/* Kluczowe dane domku */
.facts { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); list-style: none; }
.facts li { padding: 22px 20px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts span { display: block; font-size: .85rem; color: var(--muted); }
.facts strong { display: block; font: 400 1.6rem/1.2 var(--font-serif); color: var(--ink); }
@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { border-left: 0; border-top: 1px solid var(--line); }
  .facts li:nth-child(-n+2) { border-top: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--line); }
  .facts li:last-child { grid-column: span 2; border-left: 0; }
}

/* ---------- Karty (okolica) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); list-style: none; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card__media { aspect-ratio: 3 / 2; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--card); }
.card__media--duo img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__meta { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: .85rem; color: var(--wood); }
.card__meta .icon { width: 16px; height: 16px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .98rem; color: var(--muted); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Gęstsze sekcje na stronie Okolica — dużo miejsc, mało przewijania */
.section--compact { padding: clamp(36px, 4.5vw, 64px) 0; }
.section--compact h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.section--compact.section--tight { padding-top: 0; }
.section-head--row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 4px clamp(24px, 5vw, 72px); align-items: end;
  max-width: none; margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head--row h2 { margin-bottom: 0; }
.section-head--row p { margin: 0 0 .4em; color: var(--muted); }
.section-head--row p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .section-head--row { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; }
  .section-head--row h2 { margin-bottom: .2em; }
}

/* Lista atrakcji (bez zdjęć) */
.place-list { list-style: none; border-top: 1px solid var(--line); }
.place-list--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); column-gap: clamp(28px, 4vw, 56px); }
.place-list--grid li { padding: 16px 0; }
.place-list li.is-hidden { display: none; }
@media (max-width: 760px) {
  .place-list--grid li { padding: 12px 0; }
  .place-list--grid h3 { font-size: 1.05rem; }
}
.more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; padding: 10px 20px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--forest); font: 500 .95rem/1 var(--font-sans); cursor: pointer;
}
.more-btn:hover { background: var(--card); color: var(--forest-deep); }
.more-btn[hidden] { display: none; }
.place-list--grid h3 { font-size: 1.1rem; }
.place-list--grid p { font-size: .94rem; }
.place-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.place-list h3 { margin: 0; font-size: 1.2rem; }
.place-list p { grid-column: 1; margin: 0; color: var(--muted); font-size: .98rem; }
.place-list .time { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 500; color: var(--ink); white-space: nowrap; }

/* ---------- Opinie ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 32px); list-style: none; }
.review { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 32px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.review__stars { display: flex; gap: 3px; color: var(--wood-light); }
.review__stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0; font: 400 1.2rem/1.5 var(--font-serif); color: var(--ink); }
.review figcaption { margin-top: auto; font-size: .92rem; color: var(--muted); }
.review figcaption strong { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Pas CTA ---------- */
.cta-band { position: relative; isolation: isolate; padding: clamp(80px, 12vw, 160px) 0; color: var(--cream); text-align: center; background: var(--forest-deep); overflow: hidden; }
.cta-band__media, .cta-band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band__media { z-index: -1; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: rgba(20, 28, 23, .58); }
.cta-band h2 { color: var(--cream); max-width: 760px; margin: 0 auto 16px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: rgba(250, 247, 241, .9); }
.cta-band .eyebrow { color: #eadcc6; }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Stopka ---------- */
.site-footer { padding: clamp(56px, 8vw, 96px) 0 32px; background: var(--forest-deep); color: rgba(250, 247, 241, .78); font-size: .95rem; }
.site-footer a { color: rgba(250, 247, 241, .78); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand, .site-footer .brand svg { color: var(--cream); }
.site-footer h2 { margin-bottom: 16px; font: 500 .78rem/1.4 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: #cdbb9e; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer address { font-style: normal; display: grid; gap: 10px; }
.footer-tagline { max-width: 300px; margin: 18px 0 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(250, 247, 241, .14); font-size: .85rem; color: rgba(250, 247, 241, .6); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pasek rezerwacji na telefonie ---------- */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--header-bg); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(30, 36, 32, .06);
  }
  .mobile-cta { transition: opacity var(--ease), visibility var(--ease); }
  .mobile-cta.is-hidden { opacity: 0; visibility: hidden; }
  .mobile-cta .btn { flex: 1; }
  body.has-mobile-cta { padding-bottom: 76px; }
}

/* ---------- Galeria ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  min-height: 40px; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text); font: 500 .95rem/1 var(--font-sans); cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}
.filters button:hover { border-color: var(--forest); color: var(--forest); }
.filters button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 22vw, 300px); grid-auto-flow: dense; gap: 12px; list-style: none; }
.gallery-grid li { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.gallery-grid li.is-wide { grid-column: span 2; }
.gallery-grid li[hidden] { display: none; }
.gallery-grid a { display: block; height: 100%; cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--ease); }
.gallery-grid a:hover img { opacity: .9; }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 8px; }
}

.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(18, 22, 19, .96); color: var(--cream);
  opacity: 0; transition: opacity 180ms ease;
}
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; opacity: 1; }
.lightbox::backdrop { background: transparent; }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: .9rem; color: rgba(250, 247, 241, .75); }
.lightbox__stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 64px; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox__caption { margin: 0; padding: 14px 16px 22px; text-align: center; font-size: .95rem; color: rgba(250, 247, 241, .85); }
.lightbox button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(250, 247, 241, .08); color: var(--cream); cursor: pointer; }
.lightbox button:hover { background: rgba(250, 247, 241, .18); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
@media (max-width: 600px) {
  .lightbox__stage { padding: 0 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 64px; transform: none; }
}
html.lightbox-open { overflow: hidden; }

/* ---------- Cennik ---------- */

/* Kroki rezerwacji */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--sand); }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 10px; font: 400 1rem/1 var(--font-serif); color: var(--wood); }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; font-size: .98rem; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Rezerwacja ---------- */
.booking { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.panel { padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.panel--narrow { max-width: 680px; }
@media (max-width: 1024px) { .booking { grid-template-columns: minmax(0, 1fr); } }
.embed-note { margin-top: 16px; padding: 14px 16px; border: 1px dashed var(--sand); border-radius: var(--radius-sm); font-size: .88rem; color: var(--muted); }

/* Rezerwacja telefoniczna */
.call-number { display: inline-flex; align-items: center; gap: 12px; margin: 8px 0 6px; font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.2 var(--font-serif); color: var(--ink); text-decoration: none; white-space: nowrap; }
.call-number:hover { color: var(--forest); }
.call-number .icon { width: 28px; height: 28px; color: var(--forest); }

/* ---------- Okolica ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; list-style: none; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); font-size: .92rem; text-decoration: none; transition: border-color var(--ease), color var(--ease); }
.chips a:hover { border-color: var(--forest); color: var(--forest); }

/* Pasek działów, który zostaje pod nagłówkiem przy przewijaniu (Okolica) */
.section-nav {
  position: sticky; top: calc(var(--header-h) - 1px); z-index: 40;
  background: var(--header-bg); border-bottom: 1px solid var(--line);
}
.section-nav .chips {
  flex-wrap: nowrap; gap: 6px; margin: 0; padding: 10px 0;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth;
}
.section-nav .chips::-webkit-scrollbar { display: none; }
.section-nav .chips a { min-height: 36px; padding: 6px 14px; white-space: nowrap; background: transparent; }
.section-nav .chips a[aria-current="true"] { background: var(--forest); border-color: var(--forest); color: var(--cream); }
.has-section-nav [id] { scroll-margin-top: calc(var(--header-h) + 72px); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 700px) { .cards--2 { grid-template-columns: minmax(0, 1fr); } }
.card__body .link-arrow { margin-top: 14px; }
.place-note { margin: 20px 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- Przełącznik pory roku w nagłówku ---------- */
.brand, .season-switch { flex: none; }
.season-switch { display: inline-flex; gap: 6px; margin-right: auto; }
.season-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 13px; border: 0; border-radius: 999px; cursor: pointer;
  font: 500 .8rem/1 var(--font-sans); white-space: nowrap;
  transition: box-shadow var(--ease), transform var(--ease);
}
.season-btn:hover { transform: translateY(-1px); }
.season-btn__icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.season-btn--lato { color: #ffffff; background: linear-gradient(135deg, #1c462a 0%, #2c5a37 55%, #7a5230 100%); }
.season-btn--lato .season-btn__icon { color: #9fd98a; transform-origin: 30% 90%; }
.season-btn--zima { color: #1c3a52; background: linear-gradient(135deg, #f4f9fc 0%, #d4e5f1 60%, #a9c6dc 100%); }
.season-btn--zima .season-btn__icon { color: #2f6f9e; }
.season-btn--lato[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px #7a5230; }
.season-btn--zima[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--cream), 0 0 0 4px #7fa7c6; }

/* Animacje po najechaniu: kołyszący się i spadający listek, obracająca się śnieżka i padający śnieg */
.season-btn::after { content: ""; position: absolute; top: -10px; opacity: 0; pointer-events: none; }
.season-btn--lato::after {
  left: 72%; width: 10px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239fd98a' d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.season-btn--zima::after {
  left: 74%; width: 4px; height: 4px; border-radius: 50%; background: #7fa7c6;
  box-shadow: -22px -8px 0 0 #9dbdd5, -44px -3px 0 -1px #7fa7c6, -64px -12px 0 0 #9dbdd5;
}
.season-btn--lato:hover .season-btn__icon { animation: leaf-sway 1.1s ease-in-out infinite; }
.season-btn--lato:hover::after { animation: leaf-fall 1.8s ease-in infinite; }
.season-btn--zima:hover .season-btn__icon { animation: flake-spin 2.4s linear infinite; }
.season-btn--zima:hover::after { animation: snow-fall 1.6s linear infinite; }
@keyframes leaf-sway { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg) translateY(-1px); } }
@keyframes leaf-fall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(-16px, 54px) rotate(170deg); opacity: 0; } }
@keyframes flake-spin { to { transform: rotate(360deg); } }
@keyframes snow-fall { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(56px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .season-btn:hover .season-btn__icon, .season-btn:hover::after { animation: none; }
}
@media (max-width: 600px) {
  .site-header__inner { gap: 10px; }
  .brand__name { font-size: 1.15rem; }
  .brand svg { width: 32px; height: 32px; }
  .season-btn { width: 38px; padding: 0; justify-content: center; }
  .season-btn__label { display: none; }
}
@media (max-width: 360px) {
  .site-header__inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand svg { width: 28px; height: 28px; }
  .brand__name { font-size: 1.02rem; }
  .facts li { padding: 16px 14px; }
  .facts strong { font-size: 1.3rem; }
}

/* ---------- Przyciski w rzędzie (kontakt) ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 4px; list-style: none; margin-bottom: 28px; font-style: normal; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .icon { color: var(--moss); margin-top: 2px; }
.contact-list span { display: block; font-size: .85rem; color: var(--muted); }
.contact-list a, .contact-list strong { font-weight: 500; color: var(--ink); text-decoration: none; font-size: 1.08rem; }
.contact-list a:hover { text-decoration: underline; }
.map {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  aspect-ratio: 16 / 9; padding: 24px; border-radius: var(--radius); overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--paper), var(--sand)); color: var(--text);
}
.map::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px); background-size: 48px 48px; }
.map > * { position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map p { max-width: 420px; margin: 0; font-size: .88rem; color: var(--muted); }
.map__pin { width: 44px; height: 44px; color: var(--forest); }
@media (max-width: 560px) { .map { aspect-ratio: 4 / 5; } }

/* ---------- Treści prawne / 404 ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.notfound { min-height: 60vh; display: flex; align-items: center; text-align: center; }
.notfound .container { max-width: 640px; }

/* ---------- Ograniczenie ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
