/* ============================================================
   SANOVIA GLAMPING — arkusz stylów
   Premium eco-glamping: głęboka leśna zieleń / ciepłe drewno /
   przydymiony beż / off-white / grafitowy tekst
   Kroje: Fraunces (serif, nagłówki) + Hanken Grotesk (sans, treść)
   ============================================================ */

/* ----------  ZMIENNE / TOKENY DESIGNU  ---------- */
:root {
  /* Kolory — przydymiona, naturalna paleta premium */
  --forest: #1c2a20;   /* głęboka leśna zieleń */
  --moss:   #35493a;   /* średnia zieleń */
  --clay:   #c2a884;   /* ciepłe drewno / beż (akcent) */
  --wood:   #9c7f57;   /* głębszy ton drewna */
  --brass:  #b08d57;   /* stonowany mosiądz (subtelny akcent) */
  --sand:   #ece5d7;   /* jasny piaskowy */
  --cream:  #f5f1e9;   /* off-white (tło) */
  --ink:    #1a1c16;   /* grafitowy tekst */
  --ink-soft: #4a4e43; /* przygaszony tekst */

  /* Typografia */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Układ */
  --header-h: 88px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1280px;
  --radius: 14px;

  /* Ruch */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------  RESET / BAZA  ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Odsunięcie kotwic spod przyklejonego nagłówka */
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* Widoczny focus dla nawigacji z klawiatury */
:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Link „pomiń do treści” – widoczny dopiero po sfokusowaniu */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--cream);
  color: var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* Klasa tylko dla czytników ekranu */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ----------  POWTARZALNE ELEMENTY  ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
}

/* Nagłówek-„nadkreślenie” sekcji */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--clay);
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.section-title em { font-style: italic; color: var(--moss); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.6rem;
  /* Minimalny cel dotyku 48px (WCAG / mobile) */
  min-height: 48px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-primary { background: var(--forest); color: var(--cream); }
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--moss);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(22, 36, 28, 0.28);
}
/* Wariant jasny – na ciemnym tle (hero) */
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover,
.btn-light:focus-visible {
  background: var(--clay);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
/* Wariant obrysowany */
.btn-outline {
  border: 1px solid currentColor;
  background: transparent;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
/* Link tekstowy ze strzałką */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0;
  position: relative;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-arrow::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.link-arrow:hover svg,
.link-arrow:focus-visible svg { transform: translateX(5px); }
.link-arrow:hover::after,
.link-arrow:focus-visible::after { transform: scaleX(1); }

/* ============================================================
   NAGŁÓWEK
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--cream);
  background: linear-gradient(
    to bottom,
    rgba(8, 14, 10, 0.45),
    rgba(8, 14, 10, 0)
  );
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    box-shadow 0.4s var(--ease), height 0.4s var(--ease), color 0.4s var(--ease);
}
/* Stan po przewinięciu – pełne, matowe tło */
.site-header.is-scrolled {
  height: 72px;
  background: rgba(28, 42, 32, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(201, 183, 156, 0.18);
}

.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.logo svg { width: 22px; height: 22px; flex: none; }
/* Logo graficzne w nagłówku — na biało (ciemny/przezroczysty nagłówek nad hero) */
.logo-img {
  height: clamp(38px, 5vw, 50px);
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}
.nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.4rem 0;
  color: var(--cream);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--clay);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after,
.nav a:focus-visible::after { transform: scaleX(1); }

/* Trwałe CTA rezerwacji w nagłówku — widoczne zawsze (desktop). */
.header-cta { display: inline-flex; }

/* Mobilny sticky CTA (dół ekranu) — tylko < 768px */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 1rem 1.25rem;
  /* Bezpieczny margines na „notch”/pasek gestów */
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
  transform: translateY(120%);
  visibility: hidden;
  transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.mobile-cta:hover,
.mobile-cta:focus-visible { background: var(--moss); }
@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  body.past-booking .mobile-cta {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.4s var(--ease);
  }
  /* Nie zasłaniaj otwartego menu mobilnego */
  body.menu-open .mobile-cta {
    transform: translateY(120%);
    visibility: hidden;
  }
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  position: relative; z-index: 120;
  color: var(--cream);
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  display: block;
  width: 26px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before { position: absolute; top: -8px; }
.nav-toggle .bars::after  { position: absolute; top:  8px; }
body.menu-open .nav-toggle .bars { background: transparent; }
body.menu-open .nav-toggle .bars::before { transform: translateY(8px) rotate(45deg); }
body.menu-open .nav-toggle .bars::after  { transform: translateY(-8px) rotate(-45deg); }

/* ----------  MOBILNE MENU (overlay)  ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 46px) 44px);
  visibility: hidden;
  transition: clip-path 0.55s var(--ease), visibility 0s linear 0.55s;
}
body.menu-open .mobile-nav {
  clip-path: circle(150% at calc(100% - 46px) 44px);
  visibility: visible;
  transition: clip-path 0.6s var(--ease), visibility 0s;
}
.mobile-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.mobile-nav a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 8vw, 2.8rem);
  color: var(--cream);
  display: inline-block;
  padding: 0.3rem 0;
  opacity: 0;
  transform: translateY(24px);
}
body.menu-open .mobile-nav a { animation: menu-item-in 0.5s var(--ease) forwards; }
@keyframes menu-item-in { to { opacity: 1; transform: translateY(0); } }
.mobile-nav .btn { align-self: flex-start; margin-top: 2rem; }
.mobile-nav .meta {
  margin-top: auto; padding-top: 2rem;
  color: rgba(243, 239, 230, 0.6);
  font-size: 0.85rem; letter-spacing: 0.04em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  /* Kolumna: treść u góry, widget rezerwacji zakotwiczony przy dole */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--cream);
  /* Treść podniesiona wyżej niż środek pionowy (ok. 30% od góry) */
  padding-top: clamp(6rem, 26vh, 12rem);
  padding-bottom: clamp(1.5rem, 4vh, 3rem);
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Kadrowanie: zachowaj górną część kadru (korony drzew / niebo) */
  object-position: center 40%;
  /* Powolny „oddychający” zoom */
  animation: hero-zoom 24s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  /* Dwie warstwy:
     1) lewa→prawa — przyciemnia stronę z nagłówkiem/CTA (kontrast AAA dla białego tekstu),
        prawą stronę zostawia jaśniejszą, by zdjęcie „oddychało”;
     2) dół — czytelność paska rezerwacji i wskaźnika przewijania. */
  background:
    /* Scrim czytelności: mocny cień pod tekstem (lewa) → przezroczysty (prawa, widok) */
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.5) 38%,
      rgba(0, 0, 0, 0.15) 62%,
      rgba(0, 0, 0, 0) 82%
    ),
    /* Pionowy: przyciemnia GÓRĘ (nagłówek na mobile nad jasnym niebem) i DÓŁ */
    linear-gradient(
      to bottom,
      rgba(8, 14, 10, 0.52) 0%,
      rgba(8, 14, 10, 0.24) 30%,
      rgba(8, 14, 10, 0.34) 62%,
      rgba(8, 14, 10, 0.74) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

/* Kolumna z tekstem – wyśrodkowana */
.hero-content { text-align: center; }
/* Wąski kontener copy (~450px) — wymusza wcześniejsze zawijanie,
   trzymając tekst nad ciemnym, lewym fragmentem zdjęcia (z dala od jasnego nieba) */
.hero-copy {
  max-width: 510px;
  margin-inline: auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;  /* tracking-widest */
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  margin: 0 0 1.4rem;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ""; width: 28px; height: 1px; background: rgba(255, 255, 255, 0.45);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;                          /* dominacja przez rozmiar, nie „bold” */
  font-size: clamp(2.7rem, 6vw, 4.25rem);    /* powiększone, ~text-6xl → text-7xl */
  line-height: 1.12;                         /* leading-tight */
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;                               /* czysta biel */
  /* Cień = ostre krawędzie liter nad zdjęciem (czytelność) */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 2px 22px rgba(0, 0, 0, 0.6);
}
.hero-sub {
  /* 24px odstęp po H1 (mt-6) */
  margin: 1.5rem auto 0;
  max-width: none;                  /* szerokość rządzona przez .hero-copy */
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  /* Medium (500) — lepsza czytelność na zdjęciu; wciąż nie „bold” */
  font-weight: 500;
  line-height: 1.5;
  /* Lekko przygaszona biel (white/90) */
  color: rgba(245, 241, 233, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 1px 16px rgba(0, 0, 0, 0.55);
}
/* Blok treści hero (H1 + podtytuł) — bez CTA; akcją główną jest moduł
   rezerwacji, a trwałe CTA znajduje się w nagłówku (.header-cta). */

/* Karta ze zdjęciem namiotu po prawej */
.hero-card {
  justify-self: center;
  max-width: 420px;
  width: 100%;
  background: var(--cream);
  padding: 12px;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  transform: rotate(0.5deg);
}
.hero-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 6px);
}
.hero-card figcaption {
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  /* Więcej powietrza wokół tekstu karty (min. 16px ze wszystkich stron) */
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.hero-card figcaption strong { font-weight: 600; }
.hero-card figcaption span { color: var(--moss); }

/* Wskaźnik przewijania */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3.5vh, 2.2rem);
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(243, 239, 230, 0.8);
}
.scroll-cue .mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(243, 239, 230, 0.7);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute; top: 7px; left: 50%;
  width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--cream);
  animation: scroll-bounce 1.8s var(--ease) infinite;
}
@keyframes scroll-bounce {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================================
   O NAS
   ============================================================ */
.about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(22, 36, 28, 0.18);
}
.about-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.about-text p + p { margin-top: 1.1rem; }
.about-stats {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
}
.about-stats div { line-height: 1.2; }
.about-stats .num {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--moss);
  display: block;
}
.about-stats .label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

/* ============================================================
   NAMIOTY
   ============================================================ */
.tents { background: var(--sand); }
.section-head {
  max-width: 60ch;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.tents-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
.tent-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(22, 36, 28, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tent-card:hover,
.tent-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(22, 36, 28, 0.18);
}
.tent-card .media {
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.tent-card .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.tent-card:hover .media img { transform: scale(1.06); }
.tent-card .body {
  padding: 1.5rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tent-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}
.tent-card p { margin: 0 0 1.1rem; color: var(--ink-soft); font-size: 0.97rem; }
.tent-amenities {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
/* Udogodnienia jako „badge'e” — szybkie skanowanie wzrokiem */
.tent-amenities li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--forest);
  background: rgba(47, 68, 53, 0.06);
  border: 1px solid rgba(47, 68, 53, 0.16);
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
}
/* Mała kropka-akcent w kolorze --clay przed etykietą */
.tent-amenities li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}
.tent-card .btn { margin-top: auto; align-self: flex-start; }

/* ============================================================
   DOŚWIADCZENIE
   ============================================================ */
.exp-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  grid-template-columns: 1fr;
}
.exp-card {
  padding: 2rem 1.6rem;
  border: 1px solid rgba(47, 68, 53, 0.14);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.exp-card:hover { border-color: var(--clay); transform: translateY(-4px); }
.exp-card .icon {
  width: 48px; height: 48px;
  margin-bottom: 1.1rem;
  color: var(--moss);
}
.exp-card .icon svg { width: 100%; height: 100%; }
.exp-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
}
.exp-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* ============================================================
   LOKALIZACJA
   ============================================================ */
.location { background: var(--forest); color: var(--cream); }
.location .eyebrow { color: var(--clay); }
.location .eyebrow::before { background: var(--clay); }
.location .section-title em { color: var(--clay); }
.location .lead { color: rgba(243, 239, 230, 0.85); }
.location-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.location-points {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.location-points li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.location-points svg {
  width: 22px; height: 22px; flex: none;
  color: var(--clay); margin-top: 2px;
}
.location-points strong { display: block; font-weight: 600; }
.location-points span { color: rgba(243, 239, 230, 0.78); font-size: 0.95rem; }
/* ============================================================
   PLAN TERENU (ilustrowana mapa SVG + znaczniki HTML)
   ============================================================ */
.sitemap {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 600;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  /* przestrzeń na dymki wychodzące poza ramkę */
  isolation: isolate;
}
/* Ramka z zaokrąglonym, przyciętym rysunkiem terenu */
.sitemap-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(201, 183, 156, 0.3);
  z-index: 0;
}
.sitemap-frame .terrain { width: 100%; height: 100%; display: block; }

/* Kompas */
.sitemap-compass {
  position: absolute;
  top: 14px;
  right: 14px;
  width: clamp(40px, 5vw, 56px);
  z-index: 3;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}
.sitemap-compass svg { width: 100%; height: auto; display: block; }

/* ----- ZNACZNIKI (namioty + obiekty) ----- */
.spot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  /* Minimalny obszar dotyku 44×44 px (WCAG 2.5.5) */
  min-width: 44px;
  min-height: 44px;
  z-index: 2;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}
.spot:hover,
.spot:focus-visible,
.spot:focus-within { z-index: 8; outline: none; }

/* Pinezka – kropla z ikoną */
.spot-pin {
  width: clamp(36px, 4.4vw, 46px);
  height: clamp(36px, 4.4vw, 46px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c);
  border: 2px solid var(--cream);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.spot-pin svg {
  width: 58%;
  height: 58%;
  transform: rotate(45deg);
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* ikona ciemna (np. wjazd – jasna kropla) */
.spot-pin--dark svg { stroke: var(--forest); }
.spot:hover .spot-pin,
.spot:focus-visible .spot-pin,
.spot:focus-within .spot-pin {
  transform: rotate(-45deg) scale(1.14);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.45);
}

/* Stała etykieta pod pinezką */
.spot-tag {
  font-size: clamp(0.55rem, 1.1vw, 0.66rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(243, 239, 230, 0.9);
  padding: 1px 6px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.spot--tent .spot-tag { background: var(--cream); color: var(--forest); }

/* Statyczne znaczniki POI (bez interakcji) — kursor i hover bez efektu „klikalności” */
.spot--static { cursor: default; }
.spot--static:hover .spot-pin {
  transform: rotate(-45deg);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.4);
}

/* ----- BOTTOM SHEET / MODAL znacznika (działa na dotyku) ----- */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  /* domyślnie: panel przy dole ekranu (bottom sheet — wygodne na telefonie) */
  align-items: flex-end;
  justify-content: center;
  background: rgba(8, 14, 10, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.sheet[hidden] { display: none; }
.sheet.is-open { opacity: 1; }
.sheet-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 18px 18px 0 0;
  padding: 1.8rem 1.5rem 1.6rem;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}
.sheet.is-open .sheet-panel { transform: translateY(0); }
.sheet-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  border-radius: 50%;
  transition: background 0.25s var(--ease);
}
.sheet-close:hover,
.sheet-close:focus-visible { background: rgba(47, 68, 53, 0.1); }
.sheet-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--c, var(--forest));
  border: 2px solid var(--cream);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}
.sheet-pin svg {
  width: 52%;
  height: 52%;
  transform: rotate(45deg);
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sheet-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
}
.sheet-desc { margin: 0 0 1.3rem; color: var(--ink-soft); }
.sheet-book { width: 100%; }

/* Na większych ekranach panel jako wyśrodkowany modal */
@media (min-width: 768px) {
  .sheet { align-items: center; }
  .sheet-panel { border-radius: 18px; }
  .sheet.is-open .sheet-panel { transform: translateY(0) scale(1); }
  .sheet-panel { transform: translateY(20px) scale(0.96); }
}

/* ----- LEGENDA ----- */
.sitemap-legend {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem 1.6rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  /* Min. wysokość obszaru dotyku 44 px */
  min-height: 44px;
  font-size: 0.92rem;
  color: rgba(243, 239, 230, 0.9);
}
.legend-pin {
  flex: none;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c);
  border-radius: 9px;
  border: 1.5px solid rgba(243, 239, 230, 0.5);
}
.legend-pin svg {
  width: 60%;
  height: 60%;
  fill: none;
  stroke: var(--cream);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.legend-pin--dark svg { stroke: var(--forest); }

/* ============================================================
   GALERIA
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.6rem, 1.5vw, 1rem);
  grid-auto-flow: dense; /* wypełniaj dziury po kafelkach tall/wide */
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1 / 1;
  padding: 0;
  display: block;
  cursor: zoom-in;
}
/* Wybrane kafelki większe – efekt „masonry” na desktopie */
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(22, 36, 28, 0);
  transition: background 0.4s var(--ease);
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item:hover::after,
.gallery-item:focus-visible::after { background: rgba(22, 36, 28, 0.18); }

/* ----------  LIGHTBOX  ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 14, 10, 0.92);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { display: flex; }
.lightbox.is-visible { opacity: 1; }
.lightbox-figure {
  position: relative; /* punkt odniesienia dla strzałek przy zdjęciu */
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}
.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.lightbox-caption {
  color: rgba(243, 239, 230, 0.85);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.lightbox-nav {
  position: absolute;
  top: 45%; /* środek zdjęcia (podpis pod spodem lekko obniża 50% figury) */
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: rgba(8, 14, 10, 0.45);
  border: 1px solid rgba(243, 239, 230, 0.4);
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease);
}
.lightbox-nav:hover { background: rgba(243, 239, 230, 0.18); }
/* Strzałki tuż przy krawędzi zdjęcia (nie przy krawędzi ekranu) */
.lightbox-prev { left: -72px; }
.lightbox-next { right: -72px; }
/* Gdy brak miejsca obok zdjęcia — strzałki nachodzą na zdjęcie */
@media (max-width: 1280px) {
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
@media (max-width: 767px) {
  .lightbox-nav { width: 44px; height: 44px; }
}
.lightbox-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  border: 1px solid rgba(243, 239, 230, 0.4);
  border-radius: 50%;
  font-size: 1.5rem; line-height: 1;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(243, 239, 230, 0.15); }

/* ============================================================
   REZERWACJA (widget w sekcji HERO)
   ============================================================ */
/* Owijka zakotwicza pasek przy dole hero (margin-top:auto w flex-column) */
.hero-booking {
  position: relative;
  z-index: 1;
  width: 100%;
  /* margin-top:auto dosuwa moduł do dołu hero na wysokich ekranach;
     padding-top gwarantuje min. 48px odstępu od bloku treści także na niskich (mb-12). */
  margin-top: auto;
  padding-top: 3rem;
  padding-inline: var(--gutter);
}
/* Pasek rezerwacji – matowa, jasna karta na tle zdjęcia */
.booking-bar {
  max-width: var(--maxw);
  margin-inline: auto;
  background: rgba(243, 239, 230, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  border-radius: var(--radius);
  /* Więcej powietrza: wyraźnie większy odstęp u góry (nagłówek nie jest ściśnięty) */
  padding: clamp(3rem, 5vw, 4rem) clamp(1.6rem, 3vw, 2.5rem) clamp(1.8rem, 3vw, 2.5rem);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}
/* Nagłówek paska */
.booking-bar-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  margin-bottom: 1.6rem;
}
.booking-bar-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin: 0;
  color: var(--ink);
}
.booking-bar-head p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }
.booking-fields {
  display: grid;
  gap: 1.6rem 1.4rem;
  grid-template-columns: 1fr;
  align-items: end;
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  /* Większy i ciemniejszy = lepsza czytelność i kontrast */
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  /* 8px odstępu do pola (gap kolumny .field) */
  margin-bottom: 0;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(47, 68, 53, 0.3);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
/* Pole „Namiot” na całą szerokość rzędu (osobny wiersz nad datami) */
.field--full { grid-column: 1 / -1; }
/* Własna strzałka selecta */
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232f4435' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.2rem;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(47, 68, 53, 0.18);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #a23b2d; }
.booking-bar .btn { width: 100%; margin-top: 0.4rem; }
/* Komunikaty walidacji / statusu */
.booking-message {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.booking-message.error { color: #8c2f22; }
.booking-message.success { color: var(--moss); }

/* Podświetlenie formularza po wyborze namiotu (potwierdzenie akcji) */
.booking-bar.is-highlight {
  animation: booking-pulse 1.4s var(--ease);
}
@keyframes booking-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201, 183, 156, 0); }
  25%  { box-shadow: 0 0 0 5px rgba(201, 183, 156, 0.85); }
  100% { box-shadow: 0 0 0 0 rgba(201, 183, 156, 0); }
}
.field select.is-justset {
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(47, 68, 53, 0.22);
}

/* ============================================================
   MODAL REZERWACJI (podsumowanie + przejście do silnika partnera)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(8, 14, 10, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s var(--ease);
}
.modal.is-open .modal-panel { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  width: 40px;
  height: 40px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  border-radius: 50%;
  transition: background 0.25s var(--ease);
}
.modal-close:hover,
.modal-close:focus-visible { background: rgba(47, 68, 53, 0.1); }
.modal .eyebrow { color: var(--moss); margin-bottom: 0.5rem; }
.modal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  margin: 0 0 1.2rem;
}
/* Podsumowanie pobytu */
.bm-summary {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
  border-top: 1px solid rgba(47, 68, 53, 0.14);
}
.bm-summary li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(47, 68, 53, 0.14);
}
.bm-summary span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss);
}
.bm-summary strong { font-weight: 600; color: var(--ink); text-align: right; }
/* Tryb embed: iframe silnika rezerwacji */
.bm-embed {
  margin-bottom: 1.2rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(47, 68, 53, 0.18);
}
.bm-embed iframe { width: 100%; height: 60vh; border: 0; display: block; }
.bm-cta { width: 100%; }
.bm-note {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ink-soft);
  text-align: center;
}

/* ============================================================
   OPINIE GOŚCI (social proof)
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
}
.testimonial-card {
  margin: 0; /* reset domyślnych marginesów <figure> (40px po bokach) */
  background: var(--cream);
  border: 1px solid rgba(47, 68, 53, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(22, 36, 28, 0.06);
}
.testimonial-card .stars {
  color: var(--brass);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}
.testimonial-card blockquote {
  margin: 0 0 1.3rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.5;
  color: var(--ink);
}
.testimonial-card figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--forest);
}
.testimonial-card figcaption span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============================================================
   FAQ (dostępny akordeon na <details>)
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}
.faq-item {
  background: var(--cream);
  border: 1px solid rgba(47, 68, 53, 0.14);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item:hover { border-color: rgba(201, 183, 156, 0.7); }
/* Subtelne wyróżnienie aktywnego (otwartego) pytania */
.faq-item[open] {
  background: rgba(47, 68, 53, 0.045);
  border-color: var(--clay);
  box-shadow: 0 10px 26px rgba(22, 36, 28, 0.08);
}
/* <summary> = klikalny przycisk z tekstem pytania */
.faq-item summary {
  list-style: none;                      /* ukryj domyślny marker (Firefox/standard) */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  /* Pytanie: krój bezszeryfowy marki, średnia grubość */
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.4;
  color: var(--forest);
}
.faq-item summary::-webkit-details-marker { display: none; } /* ukryj trójkąt w Safari/Chrome */
.faq-item summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: -2px;
  border-radius: var(--radius);
}
.faq-item[open] summary { color: var(--moss); }

/* Ikona „+” przez ::after na <summary>; po otwarciu obrót 45° → „×” */
.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--sans);
  font-weight: 300;            /* cienki znak */
  font-size: 1.6rem;
  line-height: 1;
  color: var(--moss);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);    /* „+” → „×” */
  color: var(--clay);
}

.faq-answer {
  padding: 0 1.3rem 1.2rem;
  color: var(--ink-soft);
}
.faq-answer p { margin: 0; max-width: 64ch; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-details {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-details li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-details svg { width: 22px; height: 22px; flex: none; color: var(--moss); margin-top: 2px; }
.contact-details strong { display: block; font-weight: 600; }
.contact-details span { color: var(--ink-soft); font-size: 0.97rem; }
.contact-details a { color: var(--ink-soft); transition: color 0.25s var(--ease); }
.contact-details a:hover,
.contact-details a:focus-visible { color: var(--moss); }
.contact-socials { display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.contact-socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(47, 68, 53, 0.2);
  border-radius: 50%;
  color: var(--forest);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.contact-socials a:hover,
.contact-socials a:focus-visible { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.contact-socials svg { width: 20px; height: 20px; }

.contact-form {
  display: grid;
  gap: 1.2rem;
  background: var(--cream);
  border: 1px solid rgba(47, 68, 53, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  box-shadow: 0 14px 36px rgba(22, 36, 28, 0.08);
}
.contact-form .btn { justify-self: start; }
.contact-message {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.92rem;
}
.contact-message.error { color: #8c2f22; }
.contact-message.success { color: var(--moss); }

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

/* ============================================================
   POPOVER PODGLĄDU NAMIOTU (hover/fokus na planie terenu)
   ============================================================ */
.map-pop {
  position: absolute;
  left: 0;
  top: 0;
  width: 210px;
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0s linear 0.18s;
  z-index: 20;
}
.map-pop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.map-pop-img {
  width: 100%;
  height: 118px;
  object-fit: cover;
  display: block;
  background: var(--sand);
}
.map-pop-body {
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.map-pop-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--ink);
}
.map-pop-desc { font-size: 0.8rem; color: var(--ink-soft); }
.map-pop-book {
  margin-top: 0.45rem;
  width: 100%;
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}
/* Na urządzeniach dotykowych korzystamy z panelu (sheet), nie z hovera */
@media (hover: none) { .map-pop { display: none !important; } }

/* Zdjęcie w panelu (sheet) po kliknięciu — adaptacyjne (skaluje się do szerokości panelu) */
.sheet-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;      /* zgodne ze źródłem 700×467 — bez zniekształceń */
  max-height: 46vh;         /* nie zabiera całego ekranu na niskich viewportach */
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--sand);
}

/* ============================================================
   ZAKŁADKI MAPY (Lokalizacja: Plan terenu / Dojazd i okolica)
   ============================================================ */
.map-tablist {
  display: inline-flex;
  gap: 0.3rem;
  margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
  padding: 0.3rem;
  background: rgba(243, 239, 230, 0.08);
  border: 1px solid rgba(201, 183, 156, 0.3);
  border-radius: 999px;
}
.map-tab {
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  padding: 0.55rem 1.3rem;
  min-height: 44px;
  border-radius: 999px;
  color: rgba(243, 239, 230, 0.82);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.map-tab:hover:not(.is-active) { color: var(--cream); }
.map-tab.is-active { background: var(--cream); color: var(--forest); }
.map-panel[hidden] { display: none; }

/* Mapa okolicy (Tab 2) */
.area-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-top: clamp(1rem, 3vw, 1.5rem);
}
.area-note {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(243, 239, 230, 0.7);
}

/* Plan ewakuacji (Tab 2) */
.evac-legend { margin-top: 1.4rem; }
.ev-sw {
  flex: none;
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 700;
}
.ev-sw-tent { background: #c0392b; color: #f3efe6; border: 1.5px solid rgba(243, 239, 230, 0.6); }
.ev-sw-zbiorka { background: #2f4435; border: 1.5px solid rgba(243, 239, 230, 0.6); }
.ev-sw-apt { background: #f3efe6; color: #2f7d3a; border: 1.5px solid #2f4435; }
.ev-sw-line { background: transparent; }
.ev-sw-line::before { content: ""; width: 26px; height: 4px; border-radius: 2px; }
.ev-sw-line.ev-g::before { background: #6bbf5f; }
.ev-sw-line.ev-b::before { background: #6c98d6; }
/* Techniczne oznaczenia (granica / ogrodzenie / drogi) */
.ev-sw-dash, .ev-sw-path { background: transparent; }
.ev-sw-dash::before, .ev-sw-path::before {
  content: "";
  width: 26px;
  height: 0;
  border-top: 2px dashed rgba(243, 239, 230, 0.6);
}
.ev-sw-path::before { border-top-style: dashed; opacity: 0.7; }
.ev-sw-fence {
  background: transparent;
  color: #e08a7f;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.evac-info { margin-top: clamp(1.4rem, 4vw, 2rem); }
/* Panel numerów na ciemnym tle sekcji — wyróżnij spośród tła */
#panel-evac .safety-emergency {
  background: var(--moss);
  border: 1px solid rgba(201, 183, 156, 0.25);
}
/* Ostrzeżenie — czytelne na ciemnym tle sekcji Lokalizacja */
#panel-evac .safety-warning {
  margin-top: clamp(1.2rem, 3vw, 1.8rem);
  background: rgba(192, 57, 43, 0.18);
  border-color: rgba(192, 57, 43, 0.55);
  color: #f0c9c2;
}
#panel-evac .safety-warning strong { color: #fff; }

/* ============================================================
   BEZPIECZEŃSTWO — plan ewakuacji
   ============================================================ */
.safety { background: var(--sand); }
.safety-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}
/* Instrukcja — kroki */
.safety-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.safety-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid rgba(47, 68, 53, 0.12);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.step-num {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1.15rem;
}
.safety-steps strong { display: block; font-weight: 600; color: var(--forest); }
.safety-steps p { margin: 0.15rem 0 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Panel boczny */
.safety-side { display: grid; gap: 1.2rem; }
.safety-emergency {
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.7rem);
}
.safety-emergency h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 1rem;
}
.emergency-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.emergency-list a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-height: 64px;
  justify-content: center;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  background: rgba(243, 239, 230, 0.08);
  border: 1px solid rgba(201, 183, 156, 0.35);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.emergency-list a:hover,
.emergency-list a:focus-visible {
  background: rgba(243, 239, 230, 0.16);
  transform: translateY(-2px);
}
.en-num { font-family: var(--serif); font-size: 1.7rem; line-height: 1; color: var(--clay); }
.en-label { font-size: 0.8rem; letter-spacing: 0.02em; color: rgba(243, 239, 230, 0.85); }
.safety-contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  background: rgba(243, 239, 230, 0.08);
  border: 1px solid rgba(201, 183, 156, 0.35);
  transition: background 0.25s var(--ease);
}
.safety-contact:hover,
.safety-contact:focus-visible { background: rgba(243, 239, 230, 0.16); }
.safety-contact svg { width: 22px; height: 22px; flex: none; color: var(--clay); }
.safety-contact strong { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(243, 239, 230, 0.7); }
.safety-contact span { line-height: 1.3; }

/* Punkty (zbiórka, apteczka) */
.safety-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.safety-points li { display: flex; gap: 0.85rem; align-items: flex-start; }
.sp-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(47, 68, 53, 0.08);
  color: var(--moss);
}
.sp-icon svg { width: 22px; height: 22px; }
.safety-points strong { display: block; font-weight: 600; color: var(--forest); }
.safety-points span { color: var(--ink-soft); font-size: 0.92rem; }

/* Ostrzeżenie */
.safety-warning {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: clamp(1.5rem, 4vw, 2.2rem) 0 0;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  background: rgba(140, 47, 34, 0.08);
  border: 1px solid rgba(140, 47, 34, 0.28);
  color: #8c2f22;
  font-size: 0.98rem;
}
.safety-warning svg { width: 24px; height: 24px; flex: none; }
.safety-warning strong { font-weight: 700; }

@media (min-width: 768px) {
  .safety-grid { grid-template-columns: 1.1fr 0.9fr; }
}

/* ============================================================
   STOPKA
   ============================================================ */
.site-footer {
  background: var(--forest);
  color: rgba(243, 239, 230, 0.82);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
.footer-brand .logo { color: var(--cream); margin-bottom: 1rem; }
/* Logo graficzne w stopce — ciemny plik odwrócony do bieli na ciemnym tle */
.footer-logo { display: inline-block; margin-bottom: 1.2rem; }
.footer-logo img {
  width: clamp(150px, 42vw, 180px);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-brand p { max-width: 36ch; font-size: 0.95rem; }
.footer-col h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--cream);
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { transition: color 0.3s var(--ease); }
.footer-col a:hover,
.footer-col a:focus-visible { color: var(--clay); }
.socials { display: flex; gap: 0.8rem; margin-top: 0.4rem; }
.socials a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 183, 156, 0.3);
  border-radius: 50%;
  color: var(--cream);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.socials a:hover,
.socials a:focus-visible { background: var(--moss); border-color: var(--moss); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(201, 183, 156, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }

/* ============================================================
   SANOVIA GLAMPING — nowe komponenty (rebrand)
   ============================================================ */

/* ----- Hero: link pomocniczy obok CTA ----- */
.hero-link { color: var(--cream); }
.hero-link:hover,
.hero-link:focus-visible { color: var(--clay); }

/* ----- O nas: podpis założyciela ----- */
.about-signature {
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(53, 73, 58, 0.18);
}
.about-signature figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sig-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--moss);
  line-height: 1;
}
.sig-role {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
}

/* ----- Domki: nagłówek karty + pojemność + plakietka ----- */
.tent-card .media { position: relative; }
.cabin-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(28, 42, 32, 0.82);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}
.cabin-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.cabin-head h3 { margin: 0; }
.cabin-cap {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--wood);
  white-space: nowrap;
}
.cabin-cap svg { width: 17px; height: 17px; }

/* ----- Rezerwacja: dodatki (upsell) ----- */
.booking-addons {
  margin: 1.6rem 0 0;
  padding: 0;
  border: 0;
  min-width: 0; /* pozwól fieldsetowi się kurczyć w gridzie */
}
.booking-addons legend {
  padding: 0;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss);
  margin-bottom: 0.9rem;
}
.booking-addons legend span {
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--ink-soft);
}
.booking-addons {
  display: grid;
  gap: 0.7rem;
}
.addon {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem 0.9rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(53, 73, 58, 0.2);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.addon:hover { border-color: var(--clay); }
/* Ukryj natywny checkbox, ale zostaw dostępny dla klawiatury/AT */
.addon input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.addon-check {
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(53, 73, 58, 0.45);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.addon-check::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid var(--cream);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s var(--ease);
  margin-top: -2px;
}
.addon input:checked + .addon-check {
  background: var(--forest);
  border-color: var(--forest);
}
.addon input:checked + .addon-check::after { transform: rotate(45deg) scale(1); }
.addon:has(input:checked) {
  border-color: var(--moss);
  background: rgba(53, 73, 58, 0.05);
  box-shadow: 0 0 0 3px rgba(53, 73, 58, 0.1);
}
.addon input:focus-visible + .addon-check {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}
.addon-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.addon-text strong { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.addon-desc { font-size: 0.82rem; line-height: 1.4; color: var(--ink-soft); }
.addon-price {
  flex: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--moss);
  white-space: nowrap;
}

.booking-bar .booking-submit { margin-top: 1.6rem; }

/* Podsumowanie modalu: wiersz „Dodatki razem” */
.bm-addons-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0 0.2rem;
}
.bm-addons-total span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wood);
}
.bm-addons-total strong { font-weight: 700; color: var(--forest); }

/* ============================================================
   ANIMACJE WEJŚCIA (IntersectionObserver dodaje .is-visible)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Opóźnienia kaskadowe dla elementów w siatce */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

/* Wejście treści hero przy załadowaniu */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.9s var(--ease) forwards;
}
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
.site-header { opacity: 0; animation: fade-in 0.8s var(--ease) 0.1s forwards; }
@keyframes fade-in { to { opacity: 1; } }

/* ============================================================
   RESPONSYWNOŚĆ (mobile-first → większe ekrany)
   ============================================================ */

/* Tablet i więcej */
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; }
  .tents-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid   { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  /* Większe kafelki galerii dla efektu masonry */
  .gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }
  .gallery-item.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
  .booking-fields { grid-template-columns: repeat(2, 1fr); }
  .sitemap-legend { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { font-size: 0.85rem; }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; align-items: center; }
  .hero-content { text-align: center; }
  .hero-copy { margin-inline: auto; }
  .hero h1 { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  /* Karta lekko nachodzi na krawędź hero */
  .hero-card { justify-self: end; transform: translateX(2%) rotate(0.5deg); }

  .tents-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-grid   { grid-template-columns: repeat(3, 1fr); }
  .booking-fields { grid-template-columns: repeat(3, 1fr); }
  .booking-bar .booking-submit { width: auto; }
  .sitemap-legend { grid-template-columns: repeat(4, 1fr); }
}

/* Poniżej 900px – chowamy desktopową nawigację, pokazujemy hamburger */
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ============================================================
   PREFERS-REDUCED-MOTION – wyłączenie animacji
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-media img { animation: none; }
  .reveal, .fade-up, .site-header, .mobile-nav a {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ============================================================
   NOWE KOMPONENTY: przełącznik języka, CTA hero, cena, opinie
   ============================================================ */

/* --- Przełącznik języka (PL / EN / UA) --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(245, 241, 233, 0.28);
  border-radius: 999px;
}
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--cream);
  font: 600 0.72rem/1 var(--sans);
  letter-spacing: 0.08em;
  padding: 0.5rem 0.7rem;
  min-height: 32px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.75;
  transition: background 0.25s var(--ease), opacity 0.25s var(--ease);
}
.lang-btn:hover { opacity: 1; }
.lang-btn.is-active {
  background: var(--cream);
  color: var(--forest);
  opacity: 1;
}
.lang-switch--mobile { margin: 1.2rem 0 0.4rem; }
@media (max-width: 767px) {
  .site-header .lang-switch { display: none; } /* w menu mobilnym jest własny */
}

/* --- CTA w hero --- */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-cta { justify-content: center; }
}
.btn-outline--light {
  color: var(--cream);
  border-color: rgba(245, 241, 233, 0.55);
}
.btn-outline--light:hover {
  background: rgba(245, 241, 233, 0.14);
  color: var(--cream);
}

/* --- Podgląd ceny w formularzu --- */
.booking-price {
  margin: 1.1rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.booking-price.has-total {
  color: var(--forest);
  font-weight: 600;
}

/* --- Cena i akcje na kartach namiotów --- */
.tent-price {
  margin: 0.9rem 0 0;
  font-size: 1.02rem;
  color: var(--forest);
}
.tent-price strong { font-size: 1.25rem; font-weight: 600; }
.tent-price-unit { color: var(--ink-soft); font-size: 0.88rem; }
.tent-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.tent-actions .btn { flex: 1 1 0; padding-inline: 0.9rem; white-space: nowrap; }
.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid rgba(26, 28, 22, 0.18);
}
.btn-ghost:hover { border-color: var(--forest); color: var(--forest); }

/* --- Zbiorcza ocena Booking.com w sekcji opinii --- */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 2.2rem;
}
.rating-score {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px 18px 18px 4px;
  background: var(--forest);
  color: var(--cream);
  font: 600 1.7rem/1 var(--serif);
}
.rating-info { display: flex; flex-direction: column; gap: 0.15rem; }
.rating-info strong { font-size: 1.05rem; }
.rating-info span { color: var(--ink-soft); font-size: 0.9rem; }
.rating-cats { font-size: 0.82rem; }

/* --- CTA po sekcjach --- */
.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 2.6rem;
}

/* --- Metadane w panelu planu terenu (pojemność + cena) --- */
.sheet-meta {
  margin: 0.15rem 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
}

/* --- Suma w modalu rezerwacji --- */
.bm-summary .bm-total {
  border-top: 1px solid rgba(26, 28, 22, 0.12);
  margin-top: 0.5rem;
  padding-top: 0.7rem;
}
.bm-summary .bm-total strong { font-size: 1.1rem; }

/* ============================================================
   KALENDARZ ZAKRESU DAT — kompaktowy popover pod polem daty
   ============================================================ */
.booking-bar { position: relative; }
.cal {
  position: fixed;
  z-index: 60;
  width: 330px;
  max-width: calc(100% - 16px);
  border: 1px solid rgba(26, 28, 22, 0.12);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.8rem 0.9rem 0.6rem;
  box-shadow: 0 18px 40px -14px rgba(26, 28, 22, 0.4);
}
.cal-input { cursor: pointer; }
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.cal-month-name {
  font-family: var(--serif);
  font-size: 0.98rem;
  text-transform: capitalize;
  text-align: center;
  flex: 1;
}
.cal-nav {
  appearance: none;
  border: 1px solid rgba(26, 28, 22, 0.15);
  background: transparent;
  color: var(--forest);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  flex: none;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.cal-nav:hover:not(:disabled) { background: var(--sand); border-color: var(--forest); }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-week, .cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.cal-wd {
  text-align: center;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.3rem;
}
.cal-day {
  appearance: none;
  border: 0;
  background: transparent;
  font: 500 0.85rem var(--sans);
  color: var(--ink);
  min-height: 38px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day.is-disabled { color: rgba(26, 28, 22, 0.28); cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--brass); }
.cal-day.is-mid { background: var(--sand); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end {
  background: var(--forest);
  color: var(--cream);
}
.cal-day.is-start { border-radius: 9px 0 0 9px; }
.cal-day.is-end { border-radius: 0 9px 9px 0; }
.cal-day.is-start.is-end { border-radius: 9px; }
.cal-foot {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.15rem;
}
.cal-clear {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: 500 0.8rem var(--sans);
  text-decoration: underline;
  cursor: pointer;
  padding: 0.4rem;
}
.cal-clear:hover { color: var(--forest); }


/* ============================================================
   POPUP SZYBKIEJ REZERWACJI (formularz przenoszony do modalu)
   ============================================================ */
.qb-panel { max-width: 760px; width: 100%; }
#quick-book .booking-bar {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0.6rem 0 0;
  max-width: none;
}
#quick-book .booking-bar-head { display: none; } /* modal ma własny tytuł */
/* Kalendarz musi być nad modalem (modal z-index: 320) */
.cal { z-index: 400; }

/* ============================================================
   MINI-SLIDER ZDJĘĆ W PANELU PLANU TERENU
   ============================================================ */
.sheet-media { position: relative; }
.sheet-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: rgba(8, 14, 10, 0.5);
  border: 1px solid rgba(243, 239, 230, 0.35);
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.sheet-nav:hover { background: rgba(8, 14, 10, 0.75); }
.sheet-nav--prev { left: 10px; }
.sheet-nav--next { right: 10px; }
.sheet-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(8, 14, 10, 0.6);
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   CENNIK I USŁUGI DODATKOWE
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
.pricing-card {
  background: var(--cream);
  border: 1px solid rgba(47, 68, 53, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: 0 10px 30px rgba(22, 36, 28, 0.06);
}
.pricing-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3rem;
  margin: 0 0 1rem;
}
.pricing-card h3 span {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.pricing-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid rgba(26, 28, 22, 0.14);
}
.pricing-table td {
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid rgba(26, 28, 22, 0.07);
}
.pricing-table td:nth-child(2),
.pricing-table td:nth-child(3),
.pricing-table th:nth-child(2),
.pricing-table th:nth-child(3) { text-align: right; white-space: nowrap; }
.pricing-table td:nth-child(2) { font-weight: 600; color: var(--forest); }
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* --- Karty usług (kajaki / rowery / masaż) --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--cream);
  border: 1px solid rgba(47, 68, 53, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 1.8rem);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(22, 36, 28, 0.06);
}
.service-card .icon {
  width: 44px; height: 44px;
  color: var(--brass);
  margin-bottom: 0.9rem;
}
.service-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
}
.service-prices {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
}
.service-prices li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(26, 28, 22, 0.12);
  font-size: 0.92rem;
}
.service-prices li:last-child { border-bottom: 0; }
.service-prices strong { color: var(--forest); white-space: nowrap; }
.service-card p {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.55;
}
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* --- Baner „Rezerwuj bezpośrednio" --- */
.direct-banner {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3.5vw, 2.5rem);
}
.direct-banner strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.direct-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(243, 239, 230, 0.8);
}

/* Pole kajaka w formularzu */
.booking-kayak { margin-top: 1.2rem; }

/* Komunikat dostępności (Lodgify) pod podglądem ceny */
.booking-avail {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.booking-avail.is-success { color: var(--forest); font-weight: 500; }
.booking-avail.is-error { color: #a33a2a; font-weight: 500; }

/* Formularz gościa + ekran sukcesu w modalu rezerwacji */
.bm-subtitle {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  margin: 1.2rem 0 0.8rem;
}
#bm-guest-form .field { margin-bottom: 0.9rem; }
#bm-guest-form .bm-cta { width: 100%; margin-top: 0.4rem; }
.bm-success { text-align: center; padding: 0.6rem 0 0.4rem; }
.bm-success-icon {
  width: 56px; height: 56px;
  margin: 0.4rem auto 0.8rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--cream);
  font-size: 1.6rem;
}
.bm-success .btn { margin-top: 1rem; }

/* Zajęte noce w kalendarzu (dane z Lodgify) */
.cal-day.is-busy { text-decoration: line-through; text-decoration-thickness: 1px; }

/* Rząd dodatków (kajak / rower / masaż) w formularzu */
.booking-extras {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem 1.4rem;
  margin-top: 1.2rem;
}
@media (min-width: 768px) {
  .booking-extras { grid-template-columns: repeat(3, 1fr); }
}
