/* Brzozowa Polanka — arkusz stylów
   Kolory i typografia w zmiennych poniżej (:root). */

/* ---------- Fonty (lokalne, bez zapytań do zewnętrznych serwerów) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap;
  src: url(../fonts/cormorant-garamond-normal-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-500-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/nunito-sans-normal-400-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/nunito-sans-normal-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Zmienne ---------- */
:root {
  --cream: #f5efe4;
  --logo-cream: #faf4e8; /* tło logo */
  --logo-ink: #2e2e2e;   /* kreska logo */
  --paper: #fbf8f2;
  --sand: #ece3d2;
  --line: #ddd1bd;
  --ink: #2a251f;
  --text: #3b342c;
  --muted: #6a6054;
  --green: #3e4d30;
  --green-dark: #2f3b24;
  --moss: #75845a;
  --wood: #8f5f35;
  --wood-soft: #c79a6b;
  --white: #fff;

  --serif: "Cormorant Garamond", "Georgia", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(42 37 31 / .06), 0 8px 30px rgb(42 37 31 / .08);
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* strona nigdy nie przesuwa się w bok (przewijane listy mają własne przewijanie) */
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.3rem; }
h1 em, h2 em, .brand-name em, .footer-brand em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
:focus-visible { outline: 2px solid var(--wood); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.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: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: var(--white); }
.muted { color: var(--muted); }
.note { font-size: .875rem; color: var(--muted); margin-top: 24px; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; }
.eyebrow-light { color: #f1e3cf; }
.small-title { font-size: 1.35rem; margin-top: 32px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.sprig { width: 120px; height: 16px; color: var(--moss); margin: 4px 0 24px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-outline-light { border-color: rgb(255 255 255 / .8); color: var(--white); }
.btn-outline-light:hover { background: rgb(255 255 255 / .14); color: var(--white); }
.btn-paper { background: var(--paper); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.btn-paper:hover { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green); text-decoration: underline; text-decoration-color: var(--wood-soft); }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: transparent; color: inherit; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: rgb(42 37 31 / .07); }
.icon-btn-line { border: 1.5px solid var(--green); color: var(--green); flex: none; }

/* ---------- Pasek wersji roboczej ---------- */
.draft-bar { background: #fbe9b7; color: #4a3a10; font-size: .85rem; text-align: center; padding: 6px 16px; }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgb(245 239 228 / .92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgb(42 37 31 / .05); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-mark { height: 42px; width: auto; }
.brand-word { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 4px; }
.nav-list a, .nav-houses a { display: block; white-space: nowrap; padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: var(--radius-sm); }
.nav-list a:hover, .nav-houses a:hover { color: var(--green); background: rgb(62 77 48 / .07); }
.nav-houses, .nav-cta { display: none; }
.menu-toggle { display: none; }
.header-cta { white-space: nowrap; flex: none; }

@media (max-width: 1080px) {
  .header-inner { gap: 8px; }
  .menu-toggle { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
  .main-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 auto 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgb(42 37 31 / .12);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a, .nav-houses a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--sand); border-radius: 0; }
  .nav-houses { display: block; margin-top: 8px; }
  .nav-cta { display: block; margin-top: 20px; }
  .nav-houses a { font: 600 1.35rem/1.2 var(--serif); color: var(--ink); }
  .nav-houses a[aria-current="page"] { color: var(--wood); }
}
@media (max-width: 520px) {
  .header-cta { display: none; }
  .brand-mark { height: 36px; }
  .brand-word { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92svh, 860px); display: grid; align-items: end; color: var(--white); overflow: hidden; background: var(--green-dark); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; animation: heroZoom 18s var(--ease) both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(20 18 12 / .15) 0%, rgb(20 18 12 / .05) 35%, rgb(20 18 12 / .62) 100%); }
.hero-content { position: relative; padding-block: 96px clamp(56px, 9vw, 104px); }
.hero h1 { color: var(--white); font-size: clamp(3.2rem, 9vw, 6.6rem); margin-bottom: .15em; text-shadow: 0 2px 24px rgb(0 0 0 / .25); }
.hero-tagline { font: italic 500 clamp(1.35rem, 2.6vw, 1.9rem)/1.3 var(--serif); max-width: 30ch; margin-bottom: 32px; color: #fbf6ec; text-shadow: 0 1px 16px rgb(0 0 0 / .3); }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- O miejscu ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.story-text p { max-width: 54ch; }
.story-text p:first-of-type { font-size: 1.15rem; color: var(--ink); }
/* Przewijana galeria zdjęć */
.carousel { position: relative; min-width: 0; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--radius); box-shadow: var(--shadow); scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 2px solid var(--wood); outline-offset: 4px; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 2; }
.slide a { position: relative; display: block; height: 100%; background: var(--sand); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); background: rgb(251 248 242 / .92); color: var(--ink); box-shadow: 0 2px 10px rgb(0 0 0 / .15); }
.carousel-btn:hover { background: var(--white); }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots { display: flex; justify-content: center; gap: 4px; margin-top: 14px; }
.dot { width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color .25s, transform .25s; }
.dot[aria-current="true"]::before { background: var(--green); transform: scale(1.25); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 7vw, 88px); border-block: 1px solid var(--line); }
.facts li { padding: 28px 16px; text-align: center; display: grid; gap: 4px; }
.facts li + li { border-left: 1px solid var(--line); }
.fact-value { font: 600 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--serif); color: var(--green); }
.fact-label { font-size: .9rem; color: var(--muted); }

/* ---------- Domki ---------- */
.houses { background: var(--paper); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.house-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.house-card { background: var(--cream); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.house-card-media { position: relative; display: block; aspect-ratio: 16/11; overflow: hidden; }
.house-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.house-card:hover .house-card-img { transform: scale(1.03); }
.house-num { position: absolute; left: 18px; top: 18px; min-width: 48px; height: 48px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; background: rgb(251 248 242 / .92); color: var(--ink); font: 600 1.35rem/1 var(--serif); }
.house-card-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.house-card-body h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.house-card-body h3 a { color: var(--ink); text-decoration: none; }
.house-card-body h3 a:hover { color: var(--green); }
.house-card-body .btn-row { margin-top: auto; padding-top: 8px; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 8px 0 18px; }
.keyfacts > div { background: var(--paper); padding: 10px 14px; }
.keyfacts dt { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.keyfacts dd { font-weight: 700; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tags li { font-size: .85rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: rgb(117 132 90 / .16); color: var(--green-dark); }

.compare { margin-top: clamp(40px, 6vw, 64px); }
.compare-title { margin-bottom: 16px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 520px; }
.table-wrap th, .table-wrap td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap tbody tr:last-child > * { border-bottom: 0; }
.table-wrap thead th { font: 600 1.25rem/1.2 var(--serif); }
.table-wrap thead a { color: var(--ink); }
.table-wrap tbody th { font-weight: 600; color: var(--muted); font-size: .95rem; width: 30%; }
.table-wrap td { color: var(--ink); }

/* ---------- Atuty ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.perks[data-count="6"], .perks[data-count="3"] { grid-template-columns: repeat(3, 1fr); }
.perks[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.perk { background: var(--cream); padding: clamp(22px, 2.6vw, 32px); }
.perk-group + .perk-group { margin-top: clamp(36px, 5vw, 56px); }
.perk-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; margin-bottom: 18px; }
.perk-group-head h3 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.perk-group-text { margin: 0; color: var(--muted); }
.perk h4 { font-size: 1.35rem; margin-bottom: .35em; }
.perk-icon { width: 36px; height: 36px; color: var(--wood); margin-bottom: 14px; }
.perk h3 { font-size: 1.4rem; margin-bottom: .35em; }
.perk p { font-size: .96rem; color: var(--muted); margin: 0; }

/* ---------- Galeria (strona główna) ---------- */
.gallery-section { background: var(--paper); }
/* 12 zdjęć: układ dobrany tak, by każda szerokość kończyła się pełnym wierszem */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 12px; }
.g-item:nth-child(1), .g-item:nth-child(7) { grid-row: span 2; }
.g-item:nth-child(4), .g-item:nth-child(10) { grid-column: span 2; }
.g-item a { position: relative; display: block; height: 100%; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g-item a:hover img { transform: scale(1.04); }
.g-label-yard { background: rgb(122 80 44 / .92); color: #fff; }
.g-label-common { background: rgb(47 59 36 / .9); color: var(--paper); }
.g-label { position: absolute; z-index: 1; left: 10px; bottom: 10px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgb(251 248 242 / .92); color: var(--ink); }

/* ---------- Okolica ---------- */
.nearby-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); }
.nearby-grid p { max-width: 56ch; }
.nearby-media { margin: 0 0 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.nearby-media img { width: 100%; height: 100%; object-fit: cover; }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.places li { border-top: 1px solid var(--line); padding-top: 14px; }
.places h4 { margin-bottom: .25em; }
.places p { font-size: .95rem; color: var(--muted); margin: 0; }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.distances li span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------- Rezerwacja CTA ---------- */
.booking-cta { padding-block: 0 var(--section); }
.booking-cta-inner { background: var(--green); color: #eef0e4; border-radius: calc(var(--radius) + 6px); padding: clamp(32px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.booking-cta-inner h2 { color: var(--white); }
.booking-cta-inner > p { max-width: 52ch; margin-inline: auto; }
.cta-houses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; margin: 32px auto 24px; }
.cta-houses li { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); border-radius: var(--radius); padding: 24px; display: grid; justify-items: center; gap: 4px; }
.cta-houses .muted { color: #cfd5c0; margin-bottom: 12px; }
.cta-house { font: 600 1.6rem/1.2 var(--serif); color: var(--white); margin: 0; }
.cta-alt { margin: 0; color: #dfe4d3; }
.cta-alt a { color: var(--white); }

/* ---------- Kontakt + FAQ ---------- */
.contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); }
.contact-list { display: grid; gap: 22px; margin: 28px 0; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { color: var(--wood); margin-top: 3px; }
.contact-label { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.contact-list a:not(.text-link) { font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; word-break: break-word; }
.contact-list a:not(.text-link):hover { color: var(--green); text-decoration: underline; }
.contact-list address { margin-bottom: 6px; color: var(--ink); }
.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; min-height: 46px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; }
.social-link:hover { border-color: var(--green); color: var(--green); }
.faq-title { margin-bottom: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--wood); border-bottom: 2px solid var(--wood); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { color: var(--green); }
.faq-body { padding: 0 0 18px; color: var(--muted); }
.faq-body p { margin: 0; max-width: 62ch; }

/* ---------- Stopka ---------- */
/* Stopka w kolorach logo: kremowe tło i ciemnobrązowy rysunek */
.site-footer { background: var(--logo-cream); color: var(--text); padding: 64px 0 0; font-size: .95rem; border-top: 3px solid var(--logo-ink); box-shadow: inset 0 4px 0 var(--logo-cream), inset 0 5px 0 var(--logo-ink); }
.site-footer a { color: var(--ink); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.site-footer .muted { color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; align-items: start; }
.footer-brand { margin-bottom: 18px; }
.footer-brand img { height: 110px; width: auto; }
.footer-list { display: grid; gap: 10px; align-content: start; }
.footer-band { background: var(--logo-ink); color: #d9d4ca; margin-top: 48px; }
.footer-bottom { padding-block: 18px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Okno wyboru domu ---------- */
dialog { border: 0; padding: 0; color: var(--text); }
dialog::backdrop { background: rgb(26 23 18 / .6); backdrop-filter: blur(3px); }
.availability { width: min(640px, calc(100vw - 24px)); background: var(--paper); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 4vw, 32px); box-shadow: 0 30px 80px rgb(0 0 0 / .3); }
.availability[open] { animation: dialogIn .35s var(--ease); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 4px; }
.dialog-head h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin: 0; }
.choices { display: grid; gap: 14px; margin-top: 18px; }
.choice { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.choice-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.choice-body h3 { margin: 0 0 2px; }
.choice-body .muted { margin-bottom: 10px; font-size: .95rem; }
.choice-body .text-link { margin-left: 14px; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; background: rgb(18 16 12 / .96); color: #eee6d8; }
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 64px 72px 56px; width: 100%; height: 100%; align-content: center; }
.lb-img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-caption { font-size: .95rem; text-align: center; max-width: 70ch; color: #d7cfc1; }
.lb-count { position: absolute; top: 18px; left: 22px; margin: 0; font-size: .9rem; color: #bfb6a7; }
.lightbox .icon-btn { position: absolute; color: #f5efe4; background: rgb(255 255 255 / .08); }
.lightbox .icon-btn:hover { background: rgb(255 255 255 / .18); }
.lb-close { top: 10px; right: 12px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Podstrona domu ---------- */
.breadcrumbs { padding-top: 18px; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

.house-gallery { position: relative; margin-top: 16px; }
.hg-list { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(180px, 260px)); gap: 10px; border-radius: var(--radius); overflow: hidden; }
.hg-item:nth-child(n + 6) { display: none; }
.hg-item:first-child { grid-row: span 2; }
.hg-item .g-label { top: 10px; bottom: auto; }
.hg-item a { position: relative; display: block; height: 100%; background: var(--sand); overflow: hidden; }
.hg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .3s; }
.hg-item a:hover img { transform: scale(1.03); }
.hg-all { position: absolute; right: calc(var(--gutter) + 16px); bottom: 16px; }

.house-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 6vw, 80px); padding-block: clamp(32px, 5vw, 56px) var(--section); }
.house-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.house-head h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.keyfacts-lg { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 24px; }
.keyfacts-lg dd { font-size: 1.05rem; }
.house-section { padding-top: clamp(32px, 4vw, 48px); }
.house-section h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); }
.house-section p { max-width: 66ch; }
.floors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.floor { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.floor h3 { font-size: 1.35rem; color: var(--wood); }
.floor li { padding: 8px 0; border-top: 1px solid var(--sand); }
.floor li:first-child { border-top: 0; }
.amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px 32px; }
.amen-group h3 { font-size: 1.3rem; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.amen-group li, .onsite li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: .97rem; }
.amen-group .icon, .onsite .icon { color: var(--moss); margin-top: 4px; }
.onsite { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.rules { display: grid; border-top: 1px solid var(--line); }
.rules > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rules dt { font-weight: 700; color: var(--ink); }

.house-aside { position: relative; }
.book-box { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.book-title { font: 600 1.7rem/1.15 var(--serif); color: var(--ink); margin-bottom: 4px; }
.book-box .muted { font-size: .95rem; margin-bottom: 18px; }
.book-note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.book-alt { margin: 0; font-size: .95rem; }

.other-house { padding-top: 0; }
.other-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.other-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: transform 1.2s var(--ease); }
.other-card:hover .other-img { transform: scale(1.03); }
.other-card > :first-child { overflow: hidden; }
.other-body { padding: clamp(24px, 4vw, 48px); align-self: center; }
.other-body h2 { color: var(--ink); }
.other-card:hover h2 { color: var(--green); }

.mobile-bar { display: none; }

/* ---------- Animacje przy przewijaniu ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsywność ---------- */
@media (max-width: 1100px) {
  .perks, .perks[data-count] { grid-template-columns: repeat(2, 1fr); }
  .perks[data-count="3"] { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g-item:nth-child(10) { grid-column: auto; }
  .house-layout { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 900px) {
  .story-grid, .nearby-grid, .contact-grid, .house-cards { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .house-layout { grid-template-columns: 1fr; }
  .house-aside { display: none; }
  .mobile-bar {
    display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgb(251 248 242 / .96);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .house-page { padding-bottom: 76px; }
}
@media (max-width: 760px) {
  .hg-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; border-radius: 0; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; grid-template-rows: none; }
  .hg-list::-webkit-scrollbar { display: none; }
  .hg-item, .hg-item:nth-child(n + 6) { display: block; flex: 0 0 86%; scroll-snap-align: center; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; }
  .hg-all { right: calc(var(--gutter) + 10px); bottom: 10px; }
  .keyfacts-lg { grid-template-columns: repeat(2, 1fr); }
  .floors, .onsite { grid-template-columns: 1fr; }
  .rules > div { grid-template-columns: 1fr; gap: 2px; }
  .other-card { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 8px; }
  .g-item:nth-child(1), .g-item:nth-child(7) { grid-row: auto; }
  .g-item:nth-child(4), .g-item:nth-child(10) { grid-column: span 2; }
  .places { grid-template-columns: 1fr; }
  .table-wrap table { min-width: 0; table-layout: fixed; font-size: .9rem; }
  .table-wrap th, .table-wrap td { padding: 11px 8px; }
  .table-wrap thead th { font-size: 1.08rem; }
  .table-wrap tbody th { width: 30%; font-size: .82rem; }
  .cta-houses { grid-template-columns: 1fr; }
  .lb-figure { padding: 60px 8px 64px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .hero { min-height: 88svh; }
  .hero-img { object-position: 66% 60%; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .house-card-body .btn-row .btn { flex: 1 1 100%; }
  .choice { grid-template-columns: 96px 1fr; gap: 14px; }
  .choice-body .text-link { margin: 10px 0 0; display: flex; }
  .choice-body .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .facts li { padding: 22px 8px; }
}

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

@media print {
  .site-header, .mobile-bar, .hg-all, .draft-bar, dialog { display: none !important; }
}

/* ---------- Rezerwacja bezpośrednia ---------- */
.choice-links { margin: 10px 0 0; font-size: .9rem; }
.choice-body .choice-links .text-link { margin: 0; }
.book-price { font-size: 1.05rem; margin: -6px 0 14px; color: var(--muted); }
.book-price strong { font: 600 1.7rem/1 var(--serif); color: var(--ink); }
.cta-booking { color: #dfe4d3; font-size: .9rem; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
.cta-booking:hover { color: var(--white); }

.rez-head { padding-block: 24px 8px; max-width: 760px; }
.rez-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.rez-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; padding-bottom: var(--section); }
.rez-step { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: clamp(18px, 3vw, 28px); margin: 0 0 18px; min-width: 0; }
.rez-step legend { display: flex; align-items: center; gap: 12px; font: 600 1.55rem/1.2 var(--serif); color: var(--ink); padding: 0 6px; }
.step-num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); font: 700 .95rem/1 var(--sans); }
.rez-hint, .field-hint { color: var(--muted); font-size: .92rem; margin: 6px 0 0; }

.house-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.house-option { position: relative; cursor: pointer; }
.house-option input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.house-option-box { display: flex; flex-direction: column; height: 100%; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--cream); transition: border-color .2s, box-shadow .2s; }
.house-option:hover .house-option-box { border-color: var(--moss); }
.house-option input:checked + .house-option-box { border-color: var(--green); box-shadow: 0 0 0 3px rgb(62 77 48 / .18); }
.house-option input:focus-visible + .house-option-box { outline: 2px solid var(--wood); outline-offset: 3px; }
.house-option-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.house-option-body { display: grid; gap: 8px; padding: 14px 16px 16px; }
.house-option-name { font: 600 1.45rem/1.15 var(--serif); color: var(--ink); }
.house-option input:checked + .house-option-box .house-option-name::after { content: " \2713"; color: var(--green); }
.house-option-price { color: var(--muted); }
.house-option-price strong { color: var(--ink); font-size: 1.1rem; }
.house-option .keyfacts { margin: 2px 0; }
.house-option .keyfacts > div { padding: 6px 10px; }
.house-option-layout { font-size: .88rem; color: var(--muted); }

.cal { margin-top: 14px; position: relative; }
.cal-head { position: absolute; inset: -6px 0 auto 0; display: flex; justify-content: space-between; pointer-events: none; z-index: 1; }
.cal-head .icon-btn { pointer-events: auto; border: 1px solid var(--line); background: var(--white); }
.cal-head .icon-btn[disabled] { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.cal-title { text-align: center; font: 600 1.3rem/46px var(--serif); color: var(--ink); margin: -6px 0 6px; text-transform: capitalize; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-wd { text-align: center; font-size: .75rem; font-weight: 700; text-transform: uppercase; color: var(--muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 8px; background: var(--white); color: var(--ink); font: 600 .95rem/1 var(--sans); cursor: pointer; transition: background-color .15s; }
.cal-day:hover:not([disabled]) { background: rgb(117 132 90 / .22); }
.cal-day[disabled] { background: transparent; color: #b9b0a3; cursor: default; }
.cal-day.is-busy { background: repeating-linear-gradient(135deg, #eee5d6 0 4px, #e3d8c5 4px 8px); color: #a69b8b; text-decoration: line-through; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--wood); }
.cal-day.in-range { background: rgb(62 77 48 / .16); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--green); color: var(--white); text-decoration: none; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: .85rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-free { background: var(--white); border: 1px solid var(--line); }
.lg-sel { background: var(--green); }
.lg-busy { background: repeating-linear-gradient(135deg, #eee5d6 0 3px, #e3d8c5 3px 6px); }
.rez-dates { margin: 14px 0 0; font-weight: 700; color: var(--ink); }

.field { display: grid; gap: 6px; margin-top: 14px; }
.field label, .field-label { font-weight: 700; color: var(--ink); font-size: .95rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; min-height: 46px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgb(62 77 48 / .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 3px; background: var(--white); width: max-content; }
.seg label { cursor: pointer; position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 22px; border-radius: 999px; font-weight: 700; }
.seg input:checked + span { background: var(--green); color: var(--white); }
.seg input:focus-visible + span { outline: 2px solid var(--wood); outline-offset: 2px; }
.pets { margin-top: 10px; display: grid; gap: 8px; justify-items: start; }
.pets[hidden] { display: none; }
.pets [data-pet-rows] { display: grid; gap: 4px; width: 100%; }
.pet-row { display: grid; grid-template-columns: 1fr 110px 46px; gap: 12px; align-items: end; }
.pet-row .field { margin-top: 6px; }
.pet-remove { font-size: 1.5rem; border: 1.5px solid var(--line); background: var(--white); }

.check-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; margin-top: 10px; }
.check-card:has(input:checked) { border-color: var(--green); background: rgb(117 132 90 / .08); }
.check-card input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); flex: none; }
.check-card-body { display: grid; gap: 2px; }
.check-card-title { font-weight: 700; color: var(--ink); }
.check-card-title strong { color: var(--green); }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .95rem; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }

.rez-side { position: sticky; top: calc(var(--header-h) + 20px); }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.summary-title { font-size: 1.7rem; margin-bottom: 12px; }
.summary-list { display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary-list > div { display: flex; justify-content: space-between; gap: 14px; font-size: .95rem; }
.summary-list dt { color: var(--muted); }
.summary-list dd { text-align: right; color: var(--ink); font-weight: 600; }
.summary-total, .summary-pay { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.summary-total strong { font: 600 2rem/1 var(--serif); color: var(--ink); }
.summary-pay { padding-top: 8px; color: var(--green-dark); font-weight: 700; }
.summary-pay strong { font-size: 1.15rem; }
.summary-rest { font-size: .88rem; color: var(--muted); margin: 6px 0 16px; min-height: 1em; }
.summary-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-error { background: #fbe4dd; color: #7a2814; border-radius: var(--radius-sm); padding: 10px 12px; font-size: .92rem; margin: 0 0 12px; }
.form-error[hidden] { display: none; }

.rez-done { background: var(--paper); border: 2px solid var(--green); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); margin-bottom: var(--section); }
.rez-done[hidden] { display: none; }
.rez-done:focus { outline: none; }
.rez-done textarea { width: 100%; font: .92rem/1.5 var(--sans); padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); margin: 10px 0 16px; }

@media (max-width: 1000px) {
  .rez-grid { grid-template-columns: 1fr; }
  .rez-side { position: static; }
}
@media (max-width: 600px) {
  .house-options, .pay-options, .field-row { grid-template-columns: 1fr; }
  .cal-day { min-height: 0; font-size: .9rem; }
  .pet-row { grid-template-columns: 1fr 84px 46px; gap: 8px; }
}

/* ---------- Opinie gości ---------- */
.reviews { background: var(--cream); border-top: 1px solid var(--line); }
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 28px; }
.reviews-head h2 { margin: 0; }
.review-scores { display: flex; flex-wrap: wrap; gap: 10px; }
.review-scores a { display: grid; gap: 2px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); text-decoration: none; color: var(--muted); font-size: .82rem; }
.review-scores a:hover { border-color: var(--green); }
.review-scores strong { font: 600 1.35rem/1 var(--serif); color: var(--ink); }
.reviews-scroller { position: relative; }
.reviews-track { position: relative; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; padding: 4px 4px 18px; margin: -4px -4px 0; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.reviews-track:focus-visible { outline: 2px solid var(--wood); outline-offset: 4px; border-radius: var(--radius); }
.review { flex: 0 0 calc((100% - 36px) / 3); scroll-snap-align: start; }
.review figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.review-stars { color: var(--wood); letter-spacing: 3px; font-size: .95rem; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font: italic 500 1.22rem/1.45 var(--serif); color: var(--ink); }
.review figcaption { display: grid; gap: 2px; font-size: .9rem; padding-top: 12px; border-top: 1px solid var(--line); }
.review figcaption strong { color: var(--ink); }
.review figcaption span { color: var(--muted); }
.reviews-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.reviews-nav .carousel-btn { position: static; transform: none; }
.reviews-nav .carousel-btn[disabled] { opacity: .35; pointer-events: none; }
@media (max-width: 1000px) { .review { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 600px) { .review { flex-basis: 86%; } .review blockquote p { font-size: 1.12rem; } }

/* =========================================================================
   Wersja 1.0 — film z drona, przezroczysty nagłówek, strona 404
   ========================================================================= */

/* ---------- Nagłówek nad filmem (tylko strona główna) ---------- */
.site-header.header-overlay {
  position: fixed; top: 0; left: 0; right: 0; background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color .35s var(--ease), border-color .3s, box-shadow .3s;
}
.header-overlay::before {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgb(15 14 10 / .5), rgb(15 14 10 / 0)); transition: opacity .35s var(--ease);
}
.header-overlay.is-scrolled, .header-overlay.menu-open {
  background: rgb(245 239 228 / .94); -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
}
.header-overlay.is-scrolled::before, .header-overlay.menu-open::before { opacity: 0; }
.brand-light { display: none; }
.header-overlay:not(.is-scrolled):not(.menu-open) .brand-dark { display: none; }
.header-overlay:not(.is-scrolled):not(.menu-open) .brand-light { display: block; }
.header-overlay:not(.is-scrolled):not(.menu-open) .menu-toggle { color: var(--white); }
.header-overlay:not(.is-scrolled):not(.menu-open) .header-cta { background: rgb(251 248 242 / .95); color: var(--ink); }
.header-overlay:not(.is-scrolled):not(.menu-open) .header-cta:hover { background: var(--white); }
@media (min-width: 1081px) {
  .header-overlay:not(.is-scrolled) .nav-list a { color: var(--white); text-shadow: 0 1px 10px rgb(0 0 0 / .35); }
  .header-overlay:not(.is-scrolled) .nav-list a:hover { color: var(--white); background: rgb(255 255 255 / .14); }
}

/* ---------- Pierwsza sekcja z filmem w tle ---------- */
.hero--video { min-height: min(100svh, 980px); }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: var(--green-dark); }
.hero--video .hero-img { animation: none; object-position: 50% 50%; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero-video.is-playing { opacity: 1; }
.hero--video .hero-overlay {
  background:
    linear-gradient(90deg, rgb(20 18 12 / .34) 0%, rgb(20 18 12 / .12) 45%, rgb(20 18 12 / 0) 70%),
    linear-gradient(180deg, rgb(20 18 12 / .38) 0%, rgb(20 18 12 / .06) 24%, rgb(20 18 12 / .12) 52%, rgb(20 18 12 / .7) 100%);
}
.hero--video .hero-content { padding-top: calc(var(--header-h) + 72px); }
.hero-toggle {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(24px, 4vw, 44px);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / .7); background: rgb(20 18 12 / .28); color: var(--white); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s var(--ease);
}
.hero-toggle:hover { background: rgb(20 18 12 / .5); }
.hero-toggle-play { display: none; }
.hero-toggle.is-paused .hero-toggle-play { display: contents; }
.hero-toggle.is-paused .hero-toggle-pause { display: none; }
.hero-toggle-pause, .hero-toggle-play { line-height: 0; }

/* ---------- Sekcja „Z lotu ptaka” ---------- */
.film { background: var(--green-dark); color: #ece4d4; position: relative; }
.film h2 { color: #fbf6ec; }
.film .lead { color: rgb(236 228 212 / .86); }
.film-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.film-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0d0d0b;
  box-shadow: 0 30px 80px rgb(0 0 0 / .35);
}
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px;
  border: 0; padding: 0; cursor: pointer; color: var(--white); font: 700 1.05rem/1.25 var(--sans);
  background: radial-gradient(ellipse at center, rgb(0 0 0 / .05) 0%, rgb(0 0 0 / .35) 100%);
}
.film-play-icon {
  display: grid; place-items: center; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%;
  background: rgb(251 248 242 / .95); color: var(--green-dark); box-shadow: 0 12px 40px rgb(0 0 0 / .35);
  transition: transform .3s var(--ease);
}
.film-play-icon .icon { width: 40%; height: 40%; margin-left: 7%; }
.film-play:hover .film-play-icon, .film-play:focus-visible .film-play-icon { transform: scale(1.07); }
.film-play-text { display: flex; flex-direction: column; text-align: left; text-shadow: 0 1px 14px rgb(0 0 0 / .55); }
.film-len { font-weight: 400; font-size: .9rem; opacity: .9; }
.film-chapters { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 24px; font-size: .95rem; color: rgb(236 228 212 / .82); }
.film-chapters li { display: flex; align-items: center; gap: 10px; }
.film-chapters li::before { content: ""; width: 18px; height: 1px; background: var(--wood-soft); }

/* ---------- Strona 404 ---------- */
.notfound { min-height: 62vh; display: grid; align-items: center; }
.notfound-inner { max-width: 680px; text-align: center; }
.notfound-inner .sprig { margin-inline: auto; }
.notfound-inner .lead { margin-inline: auto; }
.notfound-inner .btn-row { justify-content: center; margin-top: 28px; }

@media (max-width: 700px) {
  .hero--video { min-height: 100svh; }
  .hero-toggle { bottom: auto; top: calc(var(--header-h) + 14px); width: 40px; height: 40px; }
  .film-play { flex-direction: column; gap: 10px; }
  .film-play-text { text-align: center; }
  .film-frame { border-radius: var(--radius-sm); margin-inline: calc(var(--gutter) * -0.5); }
}

/* =========================================================================
   Wersje językowe — przełącznik w nagłówku i lista języków w stopce
   ========================================================================= */
.lang { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px 0 11px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: var(--text);
  font: 700 .85rem/1 var(--sans); letter-spacing: .04em; cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.lang-btn:hover, .lang.is-open .lang-btn { border-color: var(--green); color: var(--green); background: rgb(62 77 48 / .06); }
.lang-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.icon-xs { width: 14px; height: 14px; }
.lang-chev { transition: transform .25s var(--ease); }
.lang.is-open .lang-chev { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 210px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgb(42 37 31 / .16);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
}
.lang.is-open .lang-list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.lang-list a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.lang-list a:hover, .lang-list a:focus-visible { background: var(--sand); color: var(--ink); outline: none; }
.lang-list a[aria-current="true"] { color: var(--green); }
.lang-check { margin-left: auto; color: var(--green); }
.flag { width: 22px; height: 15px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgb(42 37 31 / .14); }
/* nad filmem na stronie głównej: jasny przycisk */
.header-overlay:not(.is-scrolled):not(.menu-open) .lang-btn { color: var(--white); border-color: rgb(255 255 255 / .6); }
.header-overlay:not(.is-scrolled):not(.menu-open) .lang-btn:hover,
.header-overlay:not(.is-scrolled):not(.menu-open) .lang.is-open .lang-btn { background: rgb(255 255 255 / .14); border-color: var(--white); color: var(--white); }
/* stopka */
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: .85rem; }
.footer-langs a { color: inherit; opacity: .8; text-decoration: none; }
.footer-langs a:hover { opacity: 1; text-decoration: underline; }
.footer-langs a[aria-current="true"] { opacity: 1; font-weight: 700; }
/* węższe ekrany komputerów: trochę ciaśniej, żeby menu, języki i przycisk mieściły się w jednej linii */
@media (min-width: 1081px) and (max-width: 1260px) {
  .header-inner { gap: 14px; }
  .nav-list a { padding: 10px 8px; font-size: .92rem; }
  .header-cta { padding-inline: 14px; }
}
@media (max-width: 1080px) {
  .lang-btn { height: 40px; padding: 0 10px; }
  .lang-list { right: -48px; }
}
@media (max-width: 380px) {
  .lang-btn .lang-chev { display: none; }
  .brand-word { height: 34px; }
}
