:root {
  --cream: #f9f7f2;
  --cream-2: #f3efe6;
  --green: #2d4033;
  --green-deep: #24362b;
  --oak: #b88e44;
  --oak-bar: #c4a46a;
  --ink: #2a322c;
  --muted: #6b726c;
  --line: rgba(45, 64, 51, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }

/* Honeypot antybot — ukryte przed ludźmi, widoczne dla prostych botów */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-error {
  color: #8b2e2e;
  background: #f8eaea;
  border: 1px solid rgba(139, 46, 46, 0.25);
  padding: 10px 12px;
  margin: 10px 0;
  font-size: 0.92rem;
  line-height: 1.45;
}
.turnstile-slot { margin: 10px 0 4px; min-height: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Lato", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
}
a { color: inherit; }

.site-header {
  position: relative;
  background: var(--cream);
  padding: 8px 20px 10px;
  text-align: center;
  flex-shrink: 0;
}
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 2px;
}
.logo-art {
  width: min(240px, 58vw);
  height: auto;
  display: block;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
  margin-bottom: -2px;
}
.logo-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  padding-left: 0.2em;
  line-height: 1.15;
}
.logo-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.logo-tag::before,
.logo-tag::after {
  content: "";
  width: 28px;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--oak) 0 5px,
    transparent 5px 9px
  );
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.site-nav a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green-deep);
  padding: 6px 22px;
  transition: color .2s ease;
}
.site-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--oak);
  transform: translateY(-50%);
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--oak); }
@media (max-width: 640px) {
  .site-header { padding: 10px 14px 10px; }
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 4px;
  }
  .site-nav a { letter-spacing: 0.1em; padding: 5px 14px; font-size: 0.68rem; }
  .site-nav a:not(:last-child)::after { display: none; }
  .page-main { padding: 32px 14px 56px; }
  .page-title { font-size: clamp(1.55rem, 7vw, 2rem); }
}

.page-main { padding: 48px 18px 72px; }
.wrap { max-width: 1100px; margin: 0 auto; }
.page-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
  font-weight: 700;
  margin-bottom: 10px;
}
.page-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-lead {
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 36px;
}
.page-visual { margin-bottom: 40px; }
.page-copy { max-width: 720px; }
.page-copy--wide { max-width: 960px; }
.page-copy--full { max-width: none; width: 100%; }
.historia-hero-photo {
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.22), transparent 42%),
    url("/media/historia/historia-2.jpg");
  background-size: cover;
  background-position: center 40%;
}
.historia-thumb-a {
  background-image: url("/media/historia/historia-1.jpg");
  background-size: cover;
  background-position: center;
}
.historia-thumb-b {
  background-image: url("/media/historia/historia-3.jpg");
  background-size: cover;
  background-position: center;
}
.story-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  margin: 8px 0 40px;
}
.story-row--flip .story-copy { order: 2; }
.story-row--flip .story-photo { order: 1; }
@media (max-width: 860px) {
  .story-row { grid-template-columns: 1fr; gap: 18px; }
  .story-row--flip .story-copy,
  .story-row--flip .story-photo { order: unset; }
}
.story-photo {
  margin: 0;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.story-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 420px;
  object-fit: cover;
}
.page-photo {
  margin: 18px 0 28px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--line);
}
.page-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.page-photo--full img {
  min-height: 280px;
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}
.page-photo--half { max-width: 48%; }
.page-photo--half img {
  min-height: 200px;
  max-height: 320px;
  object-fit: cover;
}
.page-photo--third { max-width: 32%; }
.page-photo--third img {
  min-height: 160px;
  max-height: 240px;
  object-fit: cover;
}
@media (max-width: 640px) {
  .page-photo--half,
  .page-photo--third { max-width: 100%; }
}
.story-copy .sec-title { margin-bottom: 8px; }
.page-copy .page-intro {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 62ch;
}
.page-copy.page-copy--full .page-intro {
  max-width: none;
  width: 100%;
}
.page-copy.page-copy--full .fact-row {
  max-width: none;
}
.page-copy .page-block { margin-bottom: 8px; }
.page-copy .page-h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--green);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 22px 0 10px;
}
.page-copy p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 14px;
}
.page-copy .page-note {
  border-left: 3px solid var(--oak);
  padding: 8px 0 8px 14px;
  color: var(--ink);
  font-size: 0.95rem;
}
.page-list {
  margin: 0 0 18px;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}
.page-list li { margin-bottom: 6px; }
.fact-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 36px;
}
@media (max-width: 860px) {
  .fact-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fact-row { grid-template-columns: 1fr; }
}
.fact {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px 14px;
  display: grid;
  gap: 6px;
}
.fact strong {
  color: var(--green);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.fact span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}
.table-wrap { overflow-x: auto; margin: 16px 0 28px; }
.page-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.page-table th,
.page-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.page-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--cream-2);
}
.sec-title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--green);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 40px 0 22px;
}

.home-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 860px) { .home-grid { grid-template-columns: 1fr; } }
.photo-lg {
  min-height: 380px;
  background:
    linear-gradient(0deg, rgba(0,0,0,.15), transparent 40%),
    var(--hero) 20% 70% / cover no-repeat;
}
.side-stack { display: flex; flex-direction: column; gap: 18px; min-height: 380px; }
.side-caption {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  color: var(--green);
  padding-top: 8px;
}
.side-caption::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: var(--oak);
  margin-top: 12px;
}
.side-caption p {
  margin-top: 14px;
  font-family: "Lato", system-ui, sans-serif;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 36ch;
}
.photo-sm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; }
.photo-sm { min-height: 160px; background-size: cover; background-position: center; }
.p1 { background-image: linear-gradient(135deg,#5a4a38,#8a7350); }
.p2 {
  background-image: linear-gradient(0deg, rgba(0,0,0,.1), transparent), var(--hero);
  background-position: 80% 30%;
  background-size: cover;
}
/* Góra „Nasz dom”: środkowe zdjęcie (2) duże po lewej, 1 i 3 po prawej */
.nasz-dom-photo-main {
  background-image:
    linear-gradient(0deg, rgba(0,0,0,.18), transparent 42%),
    url("/media/nasz-dom/nasz-dom-2.jpg");
  background-size: cover;
  background-position: center 40%;
  min-height: 420px;
}
.nasz-dom-photo-a {
  background-image: url("/media/nasz-dom/nasz-dom-1.jpg");
  background-size: cover;
  background-position: center 55%;
  min-height: 180px;
}
.nasz-dom-photo-b {
  background-image: url("/media/nasz-dom/nasz-dom-3.jpg");
  background-size: cover;
  background-position: center 45%;
  min-height: 180px;
}
@media (max-width: 860px) {
  .nasz-dom-photo-main { min-height: 280px; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .gallery-grid { grid-template-columns: 1fr; } }
.g-item {
  min-height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.g-item span {
  position: absolute; left: 14px; bottom: 14px;
  color: #fff; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.g1 { background-image: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45)), linear-gradient(135deg,#3d4a38,#6a7a55); }
.g2 {
  background-image: linear-gradient(180deg,transparent 45%,rgba(0,0,0,.4)), var(--hero);
  background-position: center 60%;
  background-size: cover;
}
.g3 { background-image: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45)), linear-gradient(135deg,#2f3d34,#5a6e58); }
.g4 { background-image: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45)), linear-gradient(135deg,#4a3f30,#7a6548); }
.g5 { background-image: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45)), linear-gradient(135deg,#314038,#6b7d68); }
.g6 { background-image: linear-gradient(180deg,transparent 40%,rgba(0,0,0,.45)), linear-gradient(135deg,#3a3228,#6e5a42); }

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 22px;
}
.am { text-align: center; padding: 10px; }
.am .ico {
  width: 44px; height: 44px; margin: 0 auto 12px;
  border: 1px solid var(--oak);
  display: grid; place-items: center;
  color: var(--green);
  font-size: 1.1rem;
}
.am h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 8px;
}
.am p { font-size: 0.9rem; color: var(--muted); line-height: 1.45; }

.site-footer {
  background: var(--green-deep);
  color: rgba(243, 235, 224, 0.88);
  margin-top: auto;
  flex-shrink: 0;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 48px 18px 36px;
}
@media (max-width: 800px) {
  .site-footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 36px 16px 28px; }
}
.footer-col h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.footer-col p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(243, 235, 224, 0.78);
}
.footer-col a {
  color: #f0d9a0;
  text-decoration: none;
  font-weight: 700;
}
.footer-col a:hover { border-bottom: 1px solid rgba(240, 217, 160, 0.55); }
.footer-strong {
  color: #fff !important;
  font-weight: 700;
}
.footer-note {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(243, 235, 224, 0.58);
  font-weight: 400;
}
.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(243, 235, 224, 0.28);
  color: #f3ebe0;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.footer-social a:hover {
  border-color: var(--oak);
  color: var(--oak);
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid var(--oak);
}
.footer-social svg { width: 18px; height: 18px; display: block; }
.footer-maps {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.88rem;
}
.site-footer-legal {
  border-top: 1px solid rgba(243, 235, 224, 0.14);
  padding: 16px 18px 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(243, 235, 224, 0.55);
  line-height: 1.6;
}
.site-footer-legal p { margin: 0 0 6px; }
.site-footer-legal p:last-child { margin-bottom: 0; }
.site-footer-legal a {
  color: rgba(240, 217, 160, 0.9);
  text-decoration: none;
  font-weight: 700;
}
.site-footer-legal a:hover { border-bottom: 1px solid rgba(240, 217, 160, 0.45); }
html, body {
  overflow-x: clip;
  max-width: 100%;
}
.cookie-bar {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 80;
  width: auto;
  max-width: min(520px, calc(100vw - 32px));
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(45,64,51,.12);
  padding: 8px 8px 8px 14px;
  display: inline-flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
  box-sizing: border-box;
}
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p {
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--muted);
}
.cookie-bar a,
.cookie-bar [data-cookie-more] {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.cookie-bar button[data-cookie-ok] {
  border: 0;
  background: var(--green);
  color: #f7f2e8;
  font: 700 0.65rem/1 "Lato", system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-bar button[data-cookie-ok]:hover { background: var(--green-deep); }
@media (max-width: 640px) {
  .cookie-bar {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    max-width: none;
    width: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    white-space: normal;
  }
  .cookie-bar p {
    flex: 1 1 100%;
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .cookie-bar button[data-cookie-ok] {
    flex: 1 1 100%;
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    font: 700 0.72rem/1 "Lato", system-ui, sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
}
.cookie-info-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 28, 22, 0.55);
  display: grid;
  place-items: center;
  padding: 18px;
}
.cookie-info-panel {
  width: min(480px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  padding: 22px 22px 18px;
}
.cookie-info-panel h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--green);
  font-size: 1.2rem;
  margin: 0 0 12px;
}
.cookie-info-panel p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.cookie-info-panel p:last-of-type { margin-bottom: 16px; }
.cookie-info-panel button {
  border: 0;
  background: var(--green);
  color: #f7f2e8;
  font: 700 0.65rem/1 "Lato", system-ui, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
  cursor: pointer;
}
.cookie-info-panel button:hover { background: var(--green-deep); }
.map-box {
  min-height: 180px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #33483b;
}
.map-box iframe {
  display: block;
  width: 100%;
  height: 180px;
  border: 0;
  filter: saturate(0.9) contrast(1.02);
}
.map-caption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}
.map-caption a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.btn-green {
  display: inline-block;
  background: var(--green);
  color: #f7f2e8;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 26px;
}
.btn-green:hover { background: var(--green-deep); }
