/* ============================================================
   LESNICZOWKA NIBORK - Stylesheet
   "Lesne Archiwum" - editorial premium na jasnej, kremowej skorze.
   Cormorant Garamond (display) + Inter (body). Paleta 70/20/10.
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop).
============================================================ */

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --forest-deep: #243024;
  --forest: #3E5641;
  --moss: #6B7F5B;
  --brass: #A8854E;
  --brass-dark: #8a6a38;
  --cream: #F5F1E8;
  --cream-dark: #EDE7D5;
  --charcoal: #2B2B2B;
  --white: #FFFFFF;

  --sage-wash: #EDF0E8;
  --line-brass: rgba(168, 133, 78, 0.28);
  --line-hair: rgba(43, 43, 43, 0.10);
  --forest-deep-92: rgba(36, 48, 36, 0.92);

  --shadow-sm: 0 2px 10px rgba(36, 48, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(36, 48, 36, 0.10);
  --shadow-lg: 0 18px 40px rgba(36, 48, 36, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-base: 350ms var(--ease);
  --transition-slow: 600ms var(--ease);

  --radius: 4px;
  --radius-lg: 8px;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
}

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--charcoal);
  background-color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* Skip-link (dostepnosc: przejscie od razu do tresci) */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-120%);
  z-index: 9999;
  background-color: var(--brass);
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 0 0 var(--radius) 0;
  transition: transform var(--transition-base);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ============================================================
   LAYOUT HELPERS
============================================================ */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ============================================================
   TYPOGRAPHY PRIMITIVES
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background-color: var(--brass);
  flex-shrink: 0;
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow--light {
  color: var(--brass);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: 0.005em;
}

.h2--light {
  color: var(--cream);
}

.lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--charcoal);
}

.caption {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(43, 43, 43, 0.7);
  letter-spacing: 0.02em;
  margin-top: 0.65rem;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.05rem 2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color var(--transition-base), color var(--transition-base),
    transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.btn--brass {
  background-color: var(--brass);
  color: var(--cream);
}

.btn--brass:hover,
.btn--brass:focus-visible {
  background-color: var(--brass-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 133, 78, 0.28);
}

.btn--brass:active {
  transform: translateY(0);
}

.btn--outline {
  background-color: transparent;
  color: var(--brass);
  border: 1px solid var(--brass);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--brass);
  color: var(--cream);
  transform: translateY(-2px);
}

/* Outline na ciemnym / hero */
.btn--outline-cream {
  background-color: transparent;
  color: var(--cream);
  border: 1px solid rgba(245, 241, 232, 0.7);
}

.btn--outline-cream:hover,
.btn--outline-cream:focus-visible {
  background-color: var(--brass);
  border-color: var(--brass);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--cream);
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--brass);
}

/* Maly link-strzalka brass */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  transition: color var(--transition-base);
}

.link-arrow .arrow {
  display: inline-block;
  transition: transform var(--transition-base);
}

.link-arrow:hover {
  color: var(--brass-dark);
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

/* ============================================================
   SCROLL REVEAL (sygnatura)
   Ukrycie dziala TYLKO gdy JS jest aktywny (klasa .js na <html>).
   Bez JS cala tresc jest od razu widoczna - zero ryzyka pustych sekcji.
============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }

/* Clip-path reveal duzych zdjec (rowniez gated .js) */
.js .clip-reveal {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.04);
  transition: clip-path 0.9s var(--ease), transform 1.1s var(--ease);
}

.js .clip-reveal.in {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* ============================================================
   1. UTILITY BAR
============================================================ */
.utility-bar {
  background-color: var(--forest-deep);
  padding: 0.55rem 0;
  position: relative;
  z-index: 300;
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.utility-bar__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.utility-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(245, 241, 232, 0.75);
  letter-spacing: 0.03em;
  transition: color var(--transition-base);
}

.utility-bar__link:hover {
  color: var(--cream);
}

.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.utility-bar__social {
  display: flex;
  align-items: center;
  color: rgba(245, 241, 232, 0.6);
  transition: color var(--transition-base);
}

.utility-bar__social:hover {
  color: var(--brass);
}

/* ============================================================
   2. HEADER / NAV (fixed, transparent -> scrolled cream)
============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background-color: transparent;
  transition: background-color var(--transition-base), box-shadow var(--transition-base),
    border-color var(--transition-base);
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background-color: rgba(245, 241, 232, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-brass);
  box-shadow: 0 4px 24px rgba(36, 48, 36, 0.06);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}

.site-nav__logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: opacity var(--transition-base), filter var(--transition-base);
  /* Na hero (transparent) logo w wersji kremowej */
  filter: brightness(0) invert(1);
}

.site-nav.scrolled .site-nav__logo img {
  filter: none;
}

.site-nav__logo:hover img {
  opacity: 0.85;
}

/* Desktop nav */
.site-nav__menu {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.9);
  padding: 0.5rem 0.7rem;
  transition: color var(--transition-base);
  position: relative;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 0.7rem;
  right: 0.7rem;
  height: 1px;
  background-color: var(--brass);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.site-nav.scrolled .site-nav__link {
  color: var(--charcoal);
}

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__cta {
  font-size: 0.72rem;
  padding: 0.7rem 1.4rem;
  flex-shrink: 0;
}

/* Hamburger */
.site-nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.55rem;
  border-radius: var(--radius);
  transition: background-color var(--transition-base);
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--cream);
  border-radius: 1px;
  transition: transform var(--transition-base), opacity var(--transition-base), background-color var(--transition-base);
  transform-origin: center;
}

.site-nav.scrolled .hamburger-line {
  background-color: var(--charcoal);
}

.site-nav__hamburger[aria-expanded="true"] .hamburger-line {
  background-color: var(--charcoal);
}

.site-nav__hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.site-nav__hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-nav__hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu open (pelnoekranowe, jasne + blur) */
.site-nav__menu.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: fixed;
  inset: 0;
  background-color: rgba(245, 241, 232, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 6rem var(--gutter) 3rem;
  gap: 0.25rem;
  z-index: 240;
  overflow-y: auto;
}

.site-nav__menu.is-open .site-nav__link {
  width: 100%;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--forest-deep);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-hair);
}

.site-nav__menu.is-open .site-nav__link::after {
  display: none;
}

.site-nav__cta--mobile {
  display: inline-flex;
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .site-nav__hamburger {
    display: none;
  }
  .site-nav__menu {
    display: flex;
  }
  .site-nav__cta--mobile {
    display: none;
  }
}

/* ============================================================
   3. HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

/* Ken Burns fallback (gdy wideo nie startuje) */
.hero__poster {
  position: absolute;
  inset: 0;
  background-image: url('assets/img/hero-poster.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: kenburns 22s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Nakladka dla czytelnosci: mocny scrim od dolu (gdzie jest tekst),
   plus delikatne przyciemnienie calosci. Bialy tekst czytelny na kazdej
   klatce wideo, przy zachowaniu cieplego, jasnego charakteru. */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* Mocny gradient od dolu do polowy: tytul zawsze czytelny na wideo */
    linear-gradient(
      to top,
      rgba(20, 28, 20, 0.80) 0%,
      rgba(20, 28, 20, 0.45) 35%,
      rgba(20, 28, 20, 0) 60%
    ),
    /* Delikatne przyciemnienie calosci, by gorne partie nie bielily */
    linear-gradient(
      to top,
      rgba(20, 28, 20, 0.10) 0%,
      rgba(20, 28, 20, 0.18) 100%
    ),
    radial-gradient(
      120% 90% at 50% 100%,
      rgba(20, 28, 20, 0.30) 0%,
      rgba(20, 28, 20, 0) 60%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--gutter) 16vh;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.06;
  letter-spacing: 0.005em;
  text-shadow: 0 2px 24px rgba(36, 48, 36, 0.55);
  margin-bottom: 1.4rem;
}

.hero__title .line {
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: rgba(245, 241, 232, 0.92);
  text-shadow: 0 2px 20px rgba(36, 48, 36, 0.55);
  max-width: 40ch;
  margin: 0 auto 2.2rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero .eyebrow {
  color: var(--cream);
}

.hero .eyebrow::before {
  background-color: var(--brass);
}

@media (min-width: 1024px) {
  .hero__content {
    text-align: left;
    padding-left: 7vw;
    padding-bottom: 16vh;
  }
  .hero__subtitle {
    margin-inline: 0;
  }
  .hero__cta {
    justify-content: flex-start;
  }
  .hero .eyebrow--center {
    justify-content: flex-start;
  }
}

/* Scroll-cue */
.scroll-cue {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: opacity var(--transition-base);
}

.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 46px;
  background-color: rgba(245, 241, 232, 0.35);
  overflow: hidden;
}

.scroll-cue__line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--brass);
  animation: scrolldot 2s var(--ease) infinite;
}

@keyframes scrolldot {
  0% { transform: translateY(-6px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

.scroll-cue.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   SECTION BASE + BACKGROUNDS
============================================================ */
.section {
  padding-block: var(--section-y);
}

.bg-cream { background-color: var(--cream); }
.bg-white { background-color: var(--white); }
.bg-sage { background-color: var(--sage-wash); }

/* Waski ciemny pas przejsciowy (JEDYNE zielone tlo w srodku strony) */
.band-forest {
  background-color: var(--forest);
  color: var(--cream);
}

/* Sekcja INTRO usunieta (redundancja z .forest-reveal).
   Po hero nastepuje od razu kinowy "Ostatni odcinek" (#las). */

/* ============================================================
   5a. PARALLAX PASY (pelnoekranowe, immersyjne)
============================================================ */
.parallax {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
  background-color: var(--forest-deep);
  background-size: cover;
  background-position: center;
  /* Fallback (mobile domyslnie): scroll. Fixed wlaczamy na desktopie nizej. */
  background-attachment: scroll;
  overflow: hidden;
}

.parallax--laka {
  background-image: url('assets/img/plener/dwor-laka.jpg');
}

.parallax--drzewo {
  background-image: url('assets/img/plener/park-drzewo.jpg');
}

.parallax__scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 28, 20, 0.55) 0%,
    rgba(20, 28, 20, 0.40) 50%,
    rgba(20, 28, 20, 0.60) 100%
  );
}

.parallax__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.parallax__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.35;
  text-shadow: 0 2px 22px rgba(20, 28, 20, 0.6);
}

/* Parallax fixed tylko tam, gdzie urzadzenie wskazuje mysz/duzy ekran.
   Chroni to mobile (iOS ignoruje fixed i psuje kadr). */
@media (min-width: 1024px) and (hover: hover) {
  .parallax {
    background-attachment: fixed;
  }
}

/* ============================================================
   6. SYGNATURA - OSTATNI ODCINEK (pelnoekranowa, kinowa scena)
   Full-bleed band ze zdjeciem lesnej drogi w tle i sekwencyjna
   narracja. Jasnosc i czytelnosc zachowana scrimem gradientowym.
============================================================ */
.forest-reveal {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--forest-deep);
}

/* Warstwa zdjecia w tle (parallax na desktopie, zwykle tlo na mobile) */
.forest-reveal__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/img/plener/lesna-droga.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

/* Czytelny scrim: mocniejszy u dolu (gdzie tekst), lzejszy u gory,
   plus delikatna winieta by boki nie bielily. */
.forest-reveal__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to top,
      rgba(20, 28, 20, 0.75) 0%,
      rgba(20, 28, 20, 0.45) 45%,
      rgba(20, 28, 20, 0.15) 100%
    ),
    radial-gradient(
      120% 80% at 50% 100%,
      rgba(20, 28, 20, 0.35) 0%,
      rgba(20, 28, 20, 0) 60%
    );
}

.forest-reveal__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.forest-reveal__narrative {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 40ch;
}

.forest-reveal__eyebrow {
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.forest-reveal__eyebrow::before {
  background-color: var(--brass);
}

.forest-reveal__line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.28;
  text-shadow: 0 2px 22px rgba(20, 28, 20, 0.6);
}

/* Ostatnia linia - mocny akcent, wieksza serif */
.forest-reveal__sign {
  display: inline-block;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(168, 133, 78, 0.5);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: 0.005em;
  color: var(--brass);
  text-shadow: 0 2px 22px rgba(20, 28, 20, 0.6);
}

@media (min-width: 900px) {
  .forest-reveal__narrative {
    gap: 2rem;
    max-width: 46ch;
  }
}

/* Parallax tylko na duzych ekranach z myszka (iOS ignoruje fixed) */
@media (min-width: 1024px) and (hover: hover) {
  .forest-reveal__bg {
    background-attachment: fixed;
  }
}

@media (max-width: 600px) {
  .forest-reveal {
    min-height: 78vh;
    min-height: 78svh;
  }
}

/* ============================================================
   7. O OBIEKCIE (split)
============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about__body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.about__meta {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-brass);
  padding-top: 1.75rem;
}

.about__meta-item {
  display: flex;
  flex-direction: column;
}

.about__meta-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
}

.about__meta-desc {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(43, 43, 43, 0.55);
  text-transform: uppercase;
  margin-top: 0.35rem;
}

.about__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

/* ============================================================
   8. TRZY TRYBY POBYTU (karty)
============================================================ */
.modes__head {
  text-align: center;
  margin-bottom: 3rem;
}

.modes__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .modes__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mode-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.mode-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.mode-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mode-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.mode-card:hover .mode-card__media img {
  transform: scale(1.08);
}

.mode-card__body {
  padding: 1.75rem 1.6rem 1.85rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mode-card__icon {
  color: var(--moss);
  margin-bottom: 1rem;
}

.mode-card__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.mode-card__text {
  font-size: 0.98rem;
  color: rgba(43, 43, 43, 0.82);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.4rem;
}

/* ============================================================
   9. LUK DOSWIADCZENIA
============================================================ */
.arc__head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.arc__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .arc__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.arc-step {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arc-step__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.arc-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arc-step__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brass);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.arc-step__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.5rem;
}

.arc-step__text {
  font-size: 0.92rem;
  color: rgba(43, 43, 43, 0.78);
  line-height: 1.65;
  max-width: 28ch;
}

/* Mosiezny lacznik miedzy krokami (desktop) */
@media (min-width: 768px) {
  .arc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc((100% / 3));
    right: -0.75rem;
    width: 1.5rem;
    height: 1px;
    background-color: var(--line-brass);
  }
}

/* ============================================================
   10. DZIEDZICTWO POLITYKI (full-bleed editorial)
============================================================ */
.heritage__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.heritage__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.heritage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heritage__body {
  position: relative;
}

.heritage__vertical {
  display: none;
}

.heritage__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 500;
  color: var(--forest-deep);
  line-height: 1.35;
  margin-bottom: 1.5rem;
}

.heritage__text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.heritage__logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-brass);
}

.heritage__logo {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.heritage__logo-text {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(43, 43, 43, 0.6);
}

@media (min-width: 900px) {
  .heritage__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
  .heritage__body {
    padding-left: 3rem;
  }
  .heritage__vertical {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    writing-mode: vertical-rl;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass);
  }
}

/* ============================================================
   11. WASKI PAS-CYTAT (jedyny zielony akcent)
============================================================ */
.quote-band {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-y) var(--gutter);
}

.quote-band__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.75rem, 4vw, 2.85rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.35;
  max-width: 800px;
}

.quote-band__text::before,
.quote-band__text::after {
  color: var(--brass);
}

.quote-band__text::before { content: '\201E'; }
.quote-band__text::after { content: '\201D'; }

/* ============================================================
   12. NOCLEGI (pokoje, split naprzemienny)
============================================================ */
.rooms__head {
  text-align: center;
  margin-bottom: 4rem;
}

.room {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: var(--section-y);
}

.room:last-child {
  margin-bottom: 0;
}

.room__media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 11 / 8;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.room__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.room__media:hover img,
.room__media:focus-visible img {
  transform: scale(1.07);
}

.room__media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(36, 48, 36, 0.35) 100%);
  pointer-events: none;
}

.room__media-label {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  z-index: 1;
  color: var(--cream);
}

.room__media-label .link-arrow {
  color: var(--cream);
}

.room__media:hover .room__media-label .arrow,
.room__media:focus-visible .room__media-label .arrow {
  transform: translateX(4px);
}

.room__count {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  background-color: rgba(245, 241, 232, 0.92);
  color: var(--forest-deep);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius);
}

.room__body {
  padding: 0 0.25rem;
}

.room__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.room__text {
  font-size: 1.02rem;
  color: rgba(43, 43, 43, 0.85);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.room__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
}

.room__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--forest);
}

.room__feature::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--brass);
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .room {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
  .room--reverse .room__media {
    order: 2;
  }
  .room--reverse .room__body {
    order: 1;
  }
  .room__body {
    padding: 0 1rem;
  }
}

/* ============================================================
   13. SNIADANIA (split)
============================================================ */
.breakfast__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.breakfast__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.breakfast__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breakfast__body-text {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal);
}

@media (min-width: 1024px) {
  .breakfast__inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

/* ============================================================
   14. UDOGODNIENIA (pelnowymiarowy showcase - kluczowa sekcja)
============================================================ */
.amenities__head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.amenities__intro {
  font-size: 1.0625rem;
  color: rgba(43, 43, 43, 0.72);
  font-weight: 300;
  max-width: 560px;
  margin-inline: auto;
}

.amenities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .amenities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .amenities__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.amenity {
  position: relative;
  display: block;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.amenity img {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 360px);
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.amenity:hover img {
  transform: scale(1.06);
}

.amenity__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem 1.35rem 1.2rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(20, 28, 20, 0.10) 40%,
    rgba(20, 28, 20, 0.78) 100%
  );
}

.amenity__label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--cream);
  line-height: 1.15;
  text-shadow: 0 2px 14px rgba(20, 28, 20, 0.5);
}

/* Sekcja OKOLICA przebudowana na edytorialny przewodnik (.guide)
   w warstwie edytorialnej na koncu pliku. Stare .surroundings usunieto. */

/* ============================================================
   16. GALERIA (masonry)
============================================================ */
.gallery__head {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 560px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;          /* rezerwuje miejsce, koniec zapadania do 0 */
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  padding: 0;
  margin: 0;
  border: none;
  background: var(--sage-wash, #edf0e6);
  line-height: 0;
}

.gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* jednolite kadry, zawsze widoczne */
  transition: transform var(--transition-slow);
}

.gallery__item:hover .gallery__img,
.gallery__item:focus-visible .gallery__img {
  transform: scale(1.06);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem 1.15rem;
  background: linear-gradient(180deg, transparent 55%, rgba(36, 48, 36, 0.32) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay {
  opacity: 1;
}

.gallery__overlay span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}

/* ============================================================
   LIGHTBOX (jasna skora, blur, okragle brass przyciski)
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 4rem);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(245, 241, 232, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.lightbox__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox__stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(36, 48, 36, 0.25);
  transition: opacity 0.3s var(--ease);
}

.lightbox__img.is-fading {
  opacity: 0;
}

.lightbox__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line-brass);
  color: var(--forest-deep);
  transition: border-color var(--transition-base), background-color var(--transition-base),
    transform var(--transition-base);
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
  border-color: var(--brass);
  color: var(--brass);
  background-color: var(--white);
}

.lightbox__prev { left: -1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: -1rem; top: 50%; transform: translateY(-50%); }

.lightbox__prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox__next:hover { transform: translateY(-50%) translateX(2px); }

.lightbox__close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  z-index: 2;
}

.lightbox__close:hover svg {
  transform: rotate(90deg);
  transition: transform var(--transition-base);
}

.lightbox__counter {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--forest-deep);
}

@media (min-width: 900px) {
  .lightbox__prev { left: -4rem; }
  .lightbox__next { right: -4rem; }
  .lightbox__close { top: -3.5rem; right: 0; }
}

/* ============================================================
   17. FAQ
============================================================ */
.faq__inner {
  max-width: 800px;
  margin-inline: auto;
}

.faq__head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq__list {
  border-top: 1px solid var(--line-hair);
}

.faq__item {
  border-bottom: 1px solid var(--line-hair);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--charcoal);
  text-align: left;
  transition: color var(--transition-base);
}

.faq__question:hover {
  color: var(--forest);
}

.faq__question[aria-expanded="true"] {
  color: var(--forest-deep);
  font-weight: 500;
}

.faq__icon {
  flex-shrink: 0;
  color: var(--brass);
  transition: transform var(--transition-base);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease), padding-bottom 0.4s var(--ease);
}

.faq__answer p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(43, 43, 43, 0.82);
}

.faq__answer.is-open {
  max-height: 400px;
  padding-bottom: 1.5rem;
}

.faq__answer[hidden] {
  display: block;
  max-height: 0;
  padding-bottom: 0;
}

/* ============================================================
   18. OPINIE (uczciwy placeholder)
============================================================ */
.reviews__inner {
  text-align: center;
}

.reviews__head {
  margin-bottom: 2.5rem;
}

.reviews__intro {
  font-size: 1.0625rem;
  color: rgba(43, 43, 43, 0.7);
  font-weight: 300;
  max-width: 560px;
  margin-inline: auto;
}

.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.reviews__widget { margin-top: 2.5rem; }

.gscore {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1.75rem 2rem;
  border: 1px solid var(--line-brass, rgba(168,133,78,.28));
  border-radius: var(--radius-lg, 8px);
  background: rgba(255, 255, 255, 0.55);
}
.gscore__logo { flex-shrink: 0; }
.gscore__main { text-align: left; }
.gscore__top { display: flex; align-items: center; gap: 0.75rem; }
.gscore__rating {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 2.6rem;
  line-height: 1;
  font-weight: 600;
  color: var(--forest-deep, #243024);
}
.gscore__stars { display: inline-flex; gap: 2px; }
.gscore__count { margin-top: 0.35rem; font-size: 0.85rem; color: var(--charcoal, #2b2b2b); opacity: 0.8; }
.gscore__cta { margin-left: auto; }
@media (max-width: 640px) {
  .gscore { flex-direction: column; text-align: center; }
  .gscore__main { text-align: center; }
  .gscore__top { justify-content: center; }
  .gscore__cta { margin-left: 0; }
}

.greviews {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (min-width: 768px) { .greviews { grid-template-columns: repeat(3, 1fr); } }
.greview {
  background: #fff;
  border: 1px solid var(--line-brass, rgba(168,133,78,.22));
  border-radius: var(--radius-lg, 8px);
  padding: 1.4rem 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.greview__head { display: flex; align-items: center; gap: 0.75rem; }
.greview__avatar {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--forest, #3e5641);
  color: var(--cream, #f5f1e8);
  font-family: var(--font-display, serif);
  font-size: 1.25rem;
}
.greview__id { flex: 1; min-width: 0; }
.greview__author { font-weight: 600; font-size: 0.95rem; color: var(--forest-deep, #243024); }
.greview__meta { display: flex; align-items: center; gap: 0.5rem; margin-top: 2px; }
.greview__stars { color: #f6b01e; letter-spacing: 1px; font-size: 0.9rem; }
.greview__date { font-size: 0.78rem; color: var(--charcoal, #2b2b2b); opacity: 0.6; }
.greview__g { flex-shrink: 0; }
.greview__text { font-size: 0.92rem; line-height: 1.6; color: var(--charcoal, #2b2b2b); }

.reviews__fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--line-brass, rgba(168,133,78,.28));
  border-radius: var(--radius-lg, 8px);
  background: rgba(255, 255, 255, 0.4);
}
.reviews__fallback-text {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--forest-deep, #243024);
}

@media (min-width: 768px) {
  .reviews__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.reviews__card {
  background-color: var(--white);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.reviews__avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background-color: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--moss);
  flex-shrink: 0;
}

.reviews__text {
  font-size: 0.95rem;
  color: rgba(43, 43, 43, 0.6);
  font-weight: 300;
  line-height: 1.65;
  font-style: italic;
}

.reviews__author {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(43, 43, 43, 0.4);
  margin-top: auto;
}

.reviews__soon-link {
  color: var(--brass);
  border-bottom: 1px solid var(--line-brass);
  transition: color var(--transition-base), border-color var(--transition-base);
  font-size: 0.9rem;
}

.reviews__soon-link:hover {
  color: var(--brass-dark);
  border-color: var(--brass-dark);
}

/* Wariant statyczny (nie jest linkiem - brak celu do czasu podpiecia opinii) */
.reviews__soon-link--static {
  display: inline-block;
  cursor: default;
  border-bottom-color: transparent;
}

/* ============================================================
   19. KONTAKT / DOMKNIECIE
============================================================ */
.closing__inner {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.closing__heading {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.12;
}

.closing__text {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(43, 43, 43, 0.8);
  line-height: 1.75;
  max-width: 540px;
}

.closing__btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 520px;
}

.closing__address {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(43, 43, 43, 0.55);
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

@media (min-width: 600px) {
  .closing__btns {
    flex-direction: row;
    justify-content: center;
    max-width: 100%;
  }
}

/* ============================================================
   20. NEWSLETTER
============================================================ */
.newsletter {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background-color: var(--sage-wash);
  border-top: 1px solid var(--line-hair);
}

.newsletter__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.newsletter__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 0.5rem;
}

.newsletter__subtext {
  font-size: 0.95rem;
  color: rgba(43, 43, 43, 0.7);
  font-weight: 300;
}

.newsletter__form {
  width: 100%;
  max-width: 480px;
}

.newsletter__input-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter__input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background-color: var(--white);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius);
  padding: 0.95rem 1.125rem;
  outline: none;
  width: 100%;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.newsletter__input::placeholder {
  color: rgba(43, 43, 43, 0.4);
}

.newsletter__input:focus {
  border-color: var(--brass);
  box-shadow: 0 0 0 2px var(--line-brass);
}

.newsletter__btn {
  width: 100%;
}

.newsletter__feedback {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--forest-deep);
  font-weight: 400;
}

@media (min-width: 480px) {
  .newsletter__input-wrap {
    flex-direction: row;
    align-items: stretch;
  }
  .newsletter__input {
    flex: 1;
  }
  .newsletter__btn {
    width: auto;
    flex-shrink: 0;
  }
}

@media (min-width: 768px) {
  .newsletter__inner {
    flex-direction: row;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
  .newsletter__text { flex: 1; }
  .newsletter__form { flex-shrink: 0; }
}

/* ============================================================
   21. FOOTER (jedyne duze ciemne tlo)
============================================================ */
.site-footer {
  background-color: var(--forest-deep);
  color: var(--cream);
  padding-top: 4rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
}

@media (min-width: 480px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 0.9fr 1.3fr 1fr;
    gap: 3rem;
  }
}

.site-footer__col-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.125rem;
  position: relative;
  padding-bottom: 0.625rem;
}

.site-footer__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.5rem;
  height: 1px;
  background-color: var(--brass);
}

.site-footer__logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: rgba(245, 241, 232, 0.75);
  line-height: 1.7;
  font-weight: 300;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__link {
  font-size: 0.875rem;
  color: rgba(245, 241, 232, 0.7);
  transition: color var(--transition-base);
  font-weight: 300;
}

.site-footer__link:hover {
  color: var(--cream);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(245, 241, 232, 0.7);
  font-weight: 300;
  line-height: 1.5;
}

.site-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brass);
}

.site-footer__social {
  display: flex;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, 0.18);
  color: rgba(245, 241, 232, 0.7);
  transition: color var(--transition-base), border-color var(--transition-base), background-color var(--transition-base);
}

.site-footer__social-link:hover {
  color: var(--cream);
  border-color: var(--brass);
  background-color: rgba(168, 133, 78, 0.15);
}

.site-footer__socials {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.site-footer__social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(245, 241, 232, 0.22);
  color: var(--cream, #f5f1e8);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.site-footer__social:hover,
.site-footer__social:focus-visible {
  background: var(--brass, #a8854e);
  border-color: var(--brass, #a8854e);
  transform: translateY(-2px);
}

.site-footer__polityka {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
}

.site-footer__polityka-logo {
  height: 26px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.site-footer__polityka-text {
  font-size: 0.72rem;
  color: rgba(245, 241, 232, 0.55);
  font-weight: 300;
  line-height: 1.4;
}

.site-footer__bottom {
  padding-block: 1.25rem;
  background-color: rgba(0, 0, 0, 0.2);
}

.legal-clause {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}
.legal-clause__summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(245, 241, 232, 0.72);
  transition: color 0.2s;
}
.legal-clause__summary:hover { color: rgba(245, 241, 232, 0.95); }
.legal-clause__summary::-webkit-details-marker { display: none; }
.legal-clause__summary::before {
  content: "\25B8"; /* trojkacik w prawo */
  color: var(--brass, #a8854e);
  font-size: 0.75rem;
}
.legal-clause[open] .legal-clause__summary::before { content: "\25BE"; /* trojkacik w dol */ }
.legal-clause__body {
  margin-top: 0.9rem;
  max-width: 80ch;
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(245, 241, 232, 0.5);
}
.legal-clause__body p { margin-bottom: 0.55rem; }
.legal-clause__body p:last-child { margin-bottom: 0; }

.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-footer__bottom p {
  font-size: 0.8rem;
  color: rgba(245, 241, 232, 0.45);
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ============================================================
   MOBILE STICKY BOOKING BAR (opcjonalny)
============================================================ */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 220;
  display: flex;
  background-color: rgba(245, 241, 232, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-brass);
  padding: 0.6rem var(--gutter);
  gap: 0.75rem;
  transform: translateY(120%);
  transition: transform var(--transition-base);
}

.mobile-cta.is-visible {
  transform: translateY(0);
}

.mobile-cta .btn {
  flex: 1;
  padding: 0.85rem 1rem;
  font-size: 0.72rem;
}

@media (min-width: 1024px) {
  .mobile-cta {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .js .clip-reveal {
    clip-path: inset(0 0 0 0);
    transform: none;
  }
  .hero__poster {
    animation: none;
  }
  .scroll-cue__line::after {
    animation: none;
  }
}

/* ============================================================
   PRINT
============================================================ */
@media print {
  .utility-bar,
  .site-nav,
  .scroll-cue,
  .lightbox,
  .booking-modal,
  .newsletter,
  .mobile-cta {
    display: none !important;
  }
}

/* ============================================================
   BOOKING MODAL (silnik rezerwacyjny GuestSage w iframe)
============================================================ */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 1;
  transition: opacity var(--transition-base);
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(20, 28, 20, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.booking-modal__panel {
  position: relative;
  width: min(1120px, 96vw);
  height: min(90vh, 900px);
  background-color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20, 28, 20, 0.45);
  transform: scale(1);
  opacity: 1;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

/* Plynne pojawienie panelu (animacja tylko na wejsciu, sterowana atrybutem) */
.booking-modal:not([hidden]) .booking-modal__panel {
  animation: bookingIn 350ms var(--ease) both;
}

@keyframes bookingIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

.booking-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.booking-modal__loader[hidden] { display: none; }

.booking-modal__loader {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--cream);
  color: var(--forest, #3e5641);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.booking-modal__spinner {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(168, 133, 78, 0.25);
  border-top-color: var(--brass, #a8854e);
  animation: booking-spin 0.8s linear infinite;
}

@keyframes booking-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal__spinner { animation-duration: 2s; }
}

.booking-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--brass);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(20, 28, 20, 0.35);
  transition: background-color var(--transition-base), transform var(--transition-base);
}

.booking-modal__close:hover,
.booking-modal__close:focus-visible {
  background-color: var(--brass-dark);
}

.booking-modal__close:hover svg {
  transform: rotate(90deg);
  transition: transform var(--transition-base);
}

@media (max-width: 640px) {
  .booking-modal {
    padding: 0;
  }
  .booking-modal__panel {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal,
  .booking-modal__panel {
    transition: none;
  }
  .booking-modal:not([hidden]) .booking-modal__panel {
    animation: none;
  }
}

/* ============================================================
   ==  WARSTWA EDYTORIALNA  ("Lesny dziennik")  ==
   Dopisana na koncu, nic nie nadpisuje logiki wyzej.
   Grain + asymetryczne naglowki + inicjal + edytorialne detale.
============================================================ */

/* --- Subtelna tekstura ziarna na kremowych sekcjach --- */
.bg-cream,
.bg-white,
.bg-sage {
  position: relative;
}

.bg-cream::before,
.bg-white::before,
.bg-sage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Tresc sekcji musi lezec nad ziarnem */
.section > .container,
.parallax > .container {
  position: relative;
  z-index: 1;
}

/* --- Naglowek edytorialny: asymetria do lewej, hairline, label --- */
.sec-head {
  max-width: 720px;
  margin-bottom: clamp(2.75rem, 5vw, 4rem);
  text-align: left;
}

.sec-head--wide {
  max-width: 860px;
}

.sec-head__label {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.sec-head__label::before {
  content: '';
  width: 46px;
  height: 1px;
  background-color: var(--brass);
  flex-shrink: 0;
}

.sec-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.9rem);
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
}

.sec-head__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--forest);
}

.sec-head__lead {
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.7;
  color: rgba(43, 43, 43, 0.82);
  font-weight: 300;
  margin-top: 1.35rem;
  max-width: 56ch;
}

/* delikatna mosiezna kreska pod naglowkiem, gdy potrzeba domkniecia */
.sec-head__rule {
  display: block;
  width: 64px;
  height: 1px;
  background-color: var(--brass);
  margin-top: 1.6rem;
  opacity: 0.7;
}

/* Wariant naglowka nad ciemnym / zdjeciem */
.sec-head--light .sec-head__title { color: var(--cream); }
.sec-head--light .sec-head__lead { color: rgba(245, 241, 232, 0.9); }

/* ============================================================
   OKOLICA - edytorialny przewodnik (flagowa sekcja)
============================================================ */
.guide {
  position: relative;
  overflow: hidden;
}

/* Atmosferyczne zdjecie natury jako akcent u gory sekcji */
.guide__hero {
  position: relative;
  height: clamp(220px, 34vw, 380px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.guide__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide__hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(20, 28, 20, 0.66) 0%,
    rgba(20, 28, 20, 0.34) 46%,
    rgba(20, 28, 20, 0.10) 100%
  );
}

.guide__hero-inner {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  max-width: 640px;
}

.guide__hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.9rem;
}

.guide__hero-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background-color: var(--brass);
}

.guide__hero-lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.16;
  color: var(--cream);
  text-shadow: 0 2px 18px rgba(20, 28, 20, 0.5);
}

/* Wspolny tag odleglosci / lokalizacji (pastylka) */
.guide__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  border: 1px solid var(--line-brass);
  border-radius: 100px;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- Siatka kart przewodnika --- */
.guide__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

@media (min-width: 720px) {
  .guide__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Pojedyncza karta ze zdjeciem u gory --- */
.guide-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border: 1px solid var(--line-hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.guide-card__media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.guide-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.guide-card:hover .guide-card__media img {
  transform: scale(1.06);
}

.guide-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  flex: 1;
}

.guide-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.guide-card__icon {
  color: var(--moss);
  flex-shrink: 0;
}

.guide-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.05rem);
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.15;
}

.guide-card__lead {
  font-size: 1rem;
  line-height: 1.72;
  color: rgba(43, 43, 43, 0.82);
}

/* Karta na pełną szerokość (Szlaki rowerowe) */
.guide-card--wide {
  grid-column: 1 / -1;
  display: block;
}
.guide-card--wide .guide-card__body { padding-bottom: 0; }
.guide-trails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 1.75rem 1.75rem;
}
.guide-trail { display: flex; flex-direction: column; gap: 0.9rem; }
.guide-trail__media {
  border-radius: var(--radius, 6px);
  overflow: hidden;
  background: var(--sage-wash, #edf0e6);
  border: 1px solid var(--line-brass, rgba(168,133,78,.18));
}
.guide-trail__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}
.guide-trail__name {
  display: block;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.3rem;
  color: var(--forest-deep, #243024);
  margin-bottom: 0.35rem;
}
.guide-trail__desc { font-size: 0.92rem; line-height: 1.6; color: rgba(43,43,43,.8); }
@media (max-width: 760px) {
  .guide-trails { grid-template-columns: 1fr; padding: 0 1.25rem 1.5rem; }
}

/* Karta pozioma na pełną szerokość (Nidzica i okolica) */
.guide-card--split {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}
.guide-card--split .guide-card__media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}
.guide-card--split .guide-card__body { align-self: center; }
@media (max-width: 760px) {
  .guide-card--split { grid-template-columns: 1fr; }
  .guide-card--split .guide-card__media { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
}

.guide-card__list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.guide-card__item + .guide-card__item {
  border-top: 1px solid var(--line-hair);
  padding-top: 1.1rem;
}

.guide-card__item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.guide-card__item-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.25;
}

.guide-card__item-desc {
  font-size: 0.96rem;
  line-height: 1.68;
  color: rgba(43, 43, 43, 0.8);
}

/* Wariant zwarty: lista miejsc jako wiersze z tagiem odleglosci */
.guide-card__list--tags {
  gap: 0;
}

.guide-card__trip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line-hair);
  font-size: 1rem;
  color: var(--charcoal);
}

.guide-card__trip:first-child {
  border-top: none;
  padding-top: 0;
}

@media (min-width: 720px) {
  /* Karta "Na wycieczke autem" zajmuje pelna szerokosc ze zdjeciem bocznym,
     co daje bardziej edytorialny rytm na desktopie */
  .guide-card--trip {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .guide-card--trip .guide-card__media {
    flex: 0 0 42%;
    aspect-ratio: auto;
  }
  .guide-card--trip .guide-card__body {
    justify-content: center;
  }
  .guide-card--trip .guide-card__list--tags {
    columns: 2;
    column-gap: 2.5rem;
  }
  .guide-card--trip .guide-card__trip {
    break-inside: avoid;
  }
}

/* --- ODGENERYCZENIE: naglowki sekcji przeniesione na .sec-head (do lewej).
   Bloki .reviews i .faq maja wlasne wyrownanie do lewej dla spojnosci. --- */
.reviews__inner { text-align: left; }
.reviews__intro { margin-inline: 0; }
.faq__head { text-align: left; }
