/* =================================================================
   Zacisze na Podlasiu — arkusz stylów
   Styl: rustykalny / przytulny / natura Podlasia
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* kolory */
  --cream:        #faf6ef;
  --cream-soft:   #f3ebdd;
  --surface:      #ffffff;
  --forest:       #2f4a3c;   /* główna zieleń lasu */
  --forest-dark:  #243a2f;
  --forest-soft:  #3c5a49;
  --amber:        #b67c2c;   /* ciepły bursztyn świateł w oknach */
  --amber-dark:   #9a661f;
  --ink:          #25211b;   /* ciepła czerń tekstu */
  --muted:        #6a6256;
  --line:         #e6dccb;

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

  /* układ */
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(37, 33, 27, .08);
  --shadow:    0 14px 40px -18px rgba(37, 33, 27, .35);
  --header-h: 72px;

   --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

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

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

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

a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; margin: 0; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600;
  color: var(--amber-dark); margin: 0 0 .65rem;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--alt { background: var(--cream-soft); }
.section__title { font-size: clamp(1.85rem, 4vw, 2.85rem); color: var(--ink); }
.section__head { max-width: 660px; margin: 0 auto clamp(34px, 5vw, 56px); text-align: center; }
.section__intro { color: var(--muted); margin: .8rem 0 0; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .82em 1.6em; border-radius: 999px; border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  text-decoration: none; line-height: 1;
  transition: transform .18s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--amber); --btn-fg: #fff; }
.btn--accent:hover { background: var(--amber-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }
.btn--lg { font-size: 1.05rem; padding: 1em 1.9em; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.header__inner { display: flex; align-items: center; gap: 1.5rem; width: 100%; }

.site-header[data-scrolled] { background: rgba(250, 246, 239, .92); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }

.brand { display: inline-flex; align-items: center; gap: .55rem; flex: 0 0 auto; white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--amber); flex: none; }
.brand__accent { color: rgba(255,255,255,.85); font-weight: 400; }
.site-header[data-scrolled] .brand { color: var(--ink); }
.site-header[data-scrolled] .brand__mark { color: var(--forest); }
.site-header[data-scrolled] .brand__accent { color: var(--muted); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav__list > li > a { color: rgba(255,255,255,.92); font-weight: 500; font-size: .98rem; white-space: nowrap; }
.nav__list > li > a:hover { color: #fff; text-decoration: none; }
.nav__list > li > a[aria-current="true"] {
  color: #fff;
  border-bottom: 2px solid var(--amber);
  padding-bottom: .15em;
}
.site-header[data-scrolled] .nav__list > li > a { color: var(--ink); }
.site-header[data-scrolled] .nav__list > li > a:hover { color: var(--forest); }
.site-header[data-scrolled] .nav__list > li > a[aria-current="true"] {
  color: var(--forest);
  border-bottom-color: var(--amber);
}

.header__cta { flex: none; }

.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__media--active { opacity: 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,28,22,.55) 0%, rgba(20,28,22,.18) 38%, rgba(20,28,22,.72) 100%);
}
.hero__content { position: relative; max-width: 720px; min-height: 480px; padding-top: 0; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; font-weight: 600; color: #f2d9a8; margin: 0 0 1rem; padding-top: calc(var(--header-h) + 12px); }
.hero__title {
  font-size: clamp(2.7rem, 8vw, 5rem);
  background: linear-gradient(
    100deg,
    #eafff0 0%,
    #a8e6b8 20%,
    #6fce8c 40%,
    #cfffe0 60%,
    #8edca0 80%,
    #eafff0 100%
  );
  background-size: 280% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.45));
  animation: heroTitleGradient 8s ease-in-out infinite;
}
@keyframes heroTitleGradient {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title { animation: none; }
}
.hero__lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.6; max-width: 40ch; margin: 1.2rem 0 0; color: rgba(255,255,255,.94); text-shadow: 0 1px 12px rgba(0,0,0,.4); }
.hero__actions { display: flex; flex-wrap: nowrap; gap: .9rem; margin-top: 2rem; }
.hero__actions .btn { white-space: nowrap; }
.phone-links { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.phone-links__label { font-size: .92rem; font-weight: 600; white-space: nowrap; }
.phone-links .btn { padding-inline: 1.2em; }
/* Atuty: na desktopie zwykła lista, baner rozwijania ukryty */
.hero__atuty { margin-top: 2.2rem; }
.hero__atuty-banner { display: none; }

/* Mobile atuty: domyślnie ukryte (widoczne tylko na mobile) */
.hero__atuty-mobile { display: none; }

.hero__chips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
  list-style: none; margin: 0; padding: 0;
  max-width: var(--maxw);
}
.hero__chips li {
  display: flex; align-items: center; gap: .55em;
  font-size: .85rem; font-weight: 500;
  padding: .55em 1.1em; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(4px);
  color: #fff;
}
.hero__chips li svg {
  width: 1.4em; height: 1.4em; flex: none;
  color: var(--amber);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: #fff; opacity: .85; animation: bob 2.4s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes bannerPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(182, 124, 44, 0); transform: scale(1); }
  50%      { box-shadow: 0 0 0 7px rgba(182, 124, 44, .14); transform: scale(1.015); }
}

/* ---------- Quick facts ---------- */
.facts { background: var(--forest); color: #fff; padding: clamp(40px, 5vw, 56px) 0; }
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 38px); }
.fact { text-align: center; }
.fact svg { width: 38px; height: 38px; margin: 0 auto .7rem; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact__title { font-size: 1.18rem; margin-bottom: .35rem; color: #fff; }
.fact p { margin: 0; font-size: .94rem; color: rgba(255,255,255,.8); line-height: 1.5; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__text p { color: var(--muted); margin: 0 0 1.1rem; }
.about__text .section__title { margin-bottom: 1.2rem; }
.checklist { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .12em;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--forest);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center/72% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center/72% no-repeat;
}
.about__media { position: relative; }
.about__media::after {
  content: ""; position: absolute; inset: -14px -14px -14px auto; width: 58%; height: auto;
  border: 2px solid var(--amber); border-radius: var(--radius); z-index: -1;
}

/* Slider pionowy — nieskończona pętla (taśma filmowa) */
.about-slider {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: transparent;
  height: 560px;
}
.about-slider__track {
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.about-slider__track img {
  width: 100%;
  height: 560px;
  flex: none;
  object-fit: cover;
  display: block;
  border-bottom: 5px solid;
  border-image: repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.22) 0px,
      rgba(0,0,0,0.22) 3px,
      transparent 3px,
      transparent 8px,
      rgba(0,0,0,0.08) 8px,
      rgba(0,0,0,0.08) 9px,
      transparent 9px,
      transparent 14px
    ) 5;
}
/* Pauza przy hover */
.about-slider:hover .about-slider__track {
  animation-play-state: paused;
}
.about-slider--paused .about-slider__track {
  animation-play-state: paused;
}

/* Film promocyjny pod sliderem */
.about__video {
  width: 50%;
  margin-top: 1rem;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  background: #000;
}


/* ---------- Amenities ---------- */
.amenities__grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; list-style: none; margin: 0; padding: 0; }
.amenity {
  flex: 0 0 calc(25% - 12px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.4rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--amber); }
.amenity svg { width: 34px; height: 34px; margin: 0 auto .8rem; fill: none; stroke: var(--forest); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.amenity h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink); }

/* ---------- Gallery ---------- */
/* Zakładki / pigułki */
.gallery__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
}
.gallery__tab {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-body); font-weight: 600; font-size: .88rem;
  padding: .6em 1.3em; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--surface);
  color: var(--muted); transition: all .2s var(--ease);
  white-space: nowrap;
}
.gallery__tab:hover { border-color: var(--amber); color: var(--amber-dark); }
.gallery__tab.active,
.gallery__tab[aria-current="page"] {
  background: var(--forest); border-color: var(--forest); color: #fff;
}

/* Podsekcje */
.gallery-sub { margin-top: clamp(32px, 5vw, 56px); }
.gallery-sub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* Siatka kafli */
.gallery-sub__tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Pojedynczy kafel */
.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 0; padding: 0;
  background: #d9d1be;
  box-shadow: 0 4px 14px rgba(37,33,27,.12);
  transition: transform 0.28s cubic-bezier(.22,.61,.36,1),
              box-shadow 0.28s cubic-bezier(.22,.61,.36,1);
}
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

/* Winieta (wycieniowanie brzegów) */
.gallery-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hover: lekkie uniesienie + pogłębienie cienia */
.gallery-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -10px rgba(37,33,27,.3);
}
.gallery-tile:hover img { transform: scale(1.05); }

/* Opis (prawa kolumna) */
.gallery-sub__desc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-x: hidden;       /* blokada scrolla poziomego */
  overflow-y: auto;         /* tylko pionowy */
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  /* Bursztynowy pasek scrolla */
  scrollbar-color: var(--amber) var(--cream-soft);
  scrollbar-width: thin;
}
/* Webkit: Chrome, Edge, Safari */
.gallery-sub__desc::-webkit-scrollbar { width: 6px; }
.gallery-sub__desc::-webkit-scrollbar-track { background: var(--cream-soft); border-radius: 3px; }
.gallery-sub__desc::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }
.gallery-sub__desc::-webkit-scrollbar-thumb:hover { background: var(--amber-dark); }
.gallery-sub__desc-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
.gallery-sub__desc-body {
  font-size: .92rem;
  line-height: 1.7;
  color: var(--muted);
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}
.gallery-sub__desc-body p { margin: 0 0 .85rem; }
.gallery-sub__counter {
  font-size: .78rem; font-weight: 600;
  color: var(--amber-dark);
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

/* Rustykalny separator między podsekcjami */
.gallery-sub {
  position: relative;
  padding-bottom: 28px;
  margin-top: clamp(32px, 5vw, 56px);
  margin-bottom: 8px;
}
.gallery-sub::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--amber-dark) 0px,
    var(--amber-dark) 3px,
    transparent 3px,
    transparent 8px,
    rgba(0,0,0,.08) 8px,
    rgba(0,0,0,.08) 9px,
    transparent 9px,
    transparent 14px
  );
  opacity: 0.55;
  border-radius: 3px;
}
/* Ostatnia podsekcja bez separatora */
.gallery-sub:last-of-type::after { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 18, 15, .94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__img {
  max-width: 94vw; max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__close {
  position: absolute; top: 16px; right: 16px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12);
  color: #fff; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox__nav:hover { background: rgba(255,255,255,.22); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 500;
  background: rgba(0,0,0,.4); padding: .35em .9em; border-radius: 999px;
}

/* ---------- Gallery carousel (zachowane dla kompatybilności) ---------- */
.carousel { position: relative; display: flex; justify-content: center; justify-self: center; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #14211b; }
.carousel__viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__slide {
  position: relative; flex: 0 0 100%; scroll-snap-align: center; margin: 0;
  height: clamp(360px, 64vh, 660px); overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: #14211b;
}
/* rozmyte tło = to samo zdjęcie, wypełnia kadr za pełnym zdjęciem */
.carousel__bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: blur(26px) brightness(.5); transform: scale(1.15);
  z-index: 0;
}
/* pełne zdjęcie – bez przycinania */
.carousel__slide picture { position: relative; z-index: 1; display: flex; height: 100%; }
.carousel__slide picture img { width: auto; max-width: 100%; height: 100%; object-fit: contain; display: block; }
.carousel__slide figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 2rem 1.5rem 1.1rem; color: #fff;
  font-size: 1rem; font-weight: 500; background: linear-gradient(180deg, transparent, rgba(20,28,22,.78));
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.85); color: var(--forest);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.carousel__btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel__btn svg { width: 24px; height: 24px; }
.carousel__btn--prev { left: 14px; }
.carousel__btn--next { right: 14px; }
.carousel__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: .5rem; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.55); transition: background-color .2s var(--ease), transform .2s var(--ease); }
.carousel__dots button[aria-current="true"] { background: #fff; transform: scale(1.3); }

/* ---------- Attractions ---------- */
.around__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.place {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.place:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.place__dist {
  display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  color: var(--amber-dark); background: #f6ecd9; border-radius: 999px;
  padding: .3em .85em; margin-bottom: .9rem;
}
.place h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: .5rem; }
.place p { margin: 0; color: var(--muted); font-size: .96rem; }

.place__link,
.place__link:hover {
  text-decoration: none;
  color: inherit;
}
.place__link:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--amber);
}
.place__link:hover p {
  text-decoration: none;
}

/* ---------- Pricing ---------- */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.price-card--feature { border-color: var(--amber); box-shadow: var(--shadow); }
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #fff; font-size: .72rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: .4em 1em; border-radius: 999px;
  white-space: nowrap;
}
.price-card__name { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.price-card__price { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); margin: .6rem 0 1.3rem; }
.price-card__price strong { font-size: 2.6rem; font-weight: 600; color: var(--forest); }
.price-card__price span { display: block; font-family: var(--font-body); font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-card__note { font-family: var(--font-body); font-size: .85rem; color: var(--amber-dark); font-weight: 500; margin: -1rem 0 1.3rem; font-style: italic; }
.price-card__list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .55rem; }
.price-card__list li { position: relative; padding-left: 1.6rem; color: var(--ink); font-size: .96rem; }
.price-card__list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: 1rem;
  background: var(--amber);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4 10-11'/%3E%3C/svg%3E") center/contain no-repeat;
}
.price-card .btn { margin-top: auto; }
.pricing__note { text-align: center; color: var(--muted); font-size: .92rem; margin: 2rem auto 0; max-width: 620px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__list { list-style: none; margin: 1.8rem 0; padding: 0; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact__list svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact__list a { color: var(--forest); font-weight: 500; }

.map { margin-top: 1.6rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9e3d6; aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* form */
.contact__form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.contact__form-title { font-size: 1.4rem; margin-bottom: 1.4rem; color: var(--ink); }
.field { margin-bottom: 1.05rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .4rem; }
.field label span { color: var(--amber-dark); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: .75em .9em; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); min-height: 48px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: auto; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(182,124,44,.18); }
.contact__form-note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }

/* Checkbox RODO w formularzu */
.field--checkbox {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: .55rem; margin-bottom: 1.05rem;
  font-size: .88rem; color: var(--ink); cursor: pointer; line-height: 1.45;
}
.field--checkbox input[type="checkbox"] {
  flex: none; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--amber); cursor: pointer;
}
.field--checkbox span {
  min-width: 0;
}
.field--checkbox a { color: var(--forest); font-weight: 600; text-decoration: underline; }
.field--checkbox a:hover { color: var(--amber-dark); }

/* ---------- Podstrona Polityki Prywatności ---------- */
.privacy-hero {
  padding: clamp(100px, 12vw, 160px) 0 clamp(40px, 5vw, 64px);
  background: var(--forest-dark); color: #fff; text-align: center;
}
.privacy-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.2rem); font-family: var(--font-head);
  font-weight: 600; line-height: 1.15; margin: .4rem 0 .3rem;
  color: #fff;
}
.privacy-hero__sub {
  font-size: 1.1rem; color: rgba(255,255,255,.78); margin: 0; font-style: italic;
}

.privacy-content__inner { max-width: 760px; margin: 0 auto; }
.privacy-content__intro { color: var(--muted); font-size: 1.05rem; margin: .8rem 0 2.2rem; line-height: 1.7; }

.privacy-content__list {
  list-style: none; counter-reset: privacy-counter; margin: 0; padding: 0;
  display: grid; gap: 2rem;
}
.privacy-item {
  counter-increment: privacy-counter;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
.privacy-item::before {
  content: counter(privacy-counter) ".";
  display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600;
  color: var(--amber-dark); margin-bottom: .5rem;
}
.privacy-item h3 {
  font-size: 1.15rem; color: var(--ink); margin: 0 0 .65rem;
}
.privacy-item p, .privacy-item li {
  color: var(--muted); font-size: .95rem; line-height: 1.65; margin: 0 0 .55rem;
}
.privacy-item ul { margin: .4rem 0 .6rem; padding-left: 1.3rem; }
.privacy-item ul li { margin-bottom: .35rem; }
.privacy-item a { color: var(--forest); font-weight: 500; text-decoration: underline; }
.privacy-item a:hover { color: var(--amber-dark); }
.privacy-item__address {
  font-style: normal; color: var(--ink); background: var(--cream-soft);
  padding: .85rem 1.1rem; border-radius: var(--radius-sm); margin-top: .5rem;
  line-height: 1.7; font-size: .95rem;
}
.privacy-item__address a { color: var(--forest); font-weight: 600; }

/* ---------- Strony ofertowe i informacje o pobycie ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(128px, 16vw, 190px) 0 clamp(56px, 8vw, 96px);
  background: var(--forest-dark);
  color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-color: var(--forest-dark);
  background-image:
    linear-gradient(90deg, rgba(14, 47, 35, .94) 0%, rgba(14, 47, 35, .77) 48%, rgba(14, 47, 35, .42) 100%),
    linear-gradient(0deg, rgba(9, 31, 23, .34), rgba(9, 31, 23, .08)),
    var(--page-hero-image, none);
  background-position: center, center, var(--page-hero-position, center);
  background-repeat: no-repeat;
  background-size: cover;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero--pasynki {
  --page-hero-image: url("../assets/img/siedliskonapodasiu/poziome/20260626_170147.webp");
  --page-hero-position: 52% center;
}
.page-hero--whole-home {
  --page-hero-image: url("../assets/img/siedliskonapodasiu/poziome/20260626_170520.webp");
  --page-hero-position: 52% center;
}
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: .45rem; list-style: none;
  margin: 0 0 1.3rem; padding: 0; font-size: .9rem;
  color: rgba(255,255,255,.72);
}
.breadcrumbs li + li::before { content: "/"; margin-right: .45rem; color: rgba(255,255,255,.45); }
.breadcrumbs a { color: rgba(255,255,255,.9); }
.page-hero .eyebrow { color: #f2d9a8; }
.page-hero__title { max-width: 760px; font-size: clamp(2.35rem, 6vw, 4.25rem); color: #fff; }
.page-hero__lead { max-width: 650px; margin: 1.25rem 0 0; font-size: clamp(1.03rem, 2vw, 1.22rem); color: rgba(255,255,255,.88); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.page-hero__actions .phone-links { flex: 1 1 100%; }

.page-copy__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.page-intro { max-width: 780px; margin-inline: auto; }
.page-intro > p { color: var(--muted); font-size: 1.08rem; }
.page-grid,
.stay-details__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.page-card,
.stay-details__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm);
}
.page-card h3,
.stay-details__card h3 { font-size: 1.25rem; color: var(--ink); }
.page-card p,
.stay-details__card p { margin: .7rem 0 0; color: var(--muted); }
.page-card ul { margin: .85rem 0 0; padding-left: 1.15rem; color: var(--muted); }
.page-card li + li { margin-top: .35rem; }
.page-media-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.page-media-grid--reverse > :first-child { order: 2; }
.page-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.page-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-copy p { color: var(--muted); }
.page-copy .checklist { margin-top: 1.2rem; }

.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.1rem; }
.faq details + details { margin-top: .75rem; }
.faq summary { cursor: pointer; padding: 1rem 1.8rem 1rem 0; font-weight: 600; color: var(--ink); }
.faq p { margin: 0; padding: 0 0 1.1rem; color: var(--muted); }

.stay-details__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2rem; }
.stay-details__link {
  display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600;
}
.stay-details__link:hover { text-decoration: none; border-color: var(--amber); box-shadow: var(--shadow-sm); }
.stay-details__link span { color: var(--amber-dark); font-size: 1.2em; }
.contact__map-link { margin: .8rem 0 0; font-size: .94rem; }
.contact__map-link a { font-weight: 600; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-dark); color: rgba(255,255,255,.82); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(48px, 6vw, 72px) clamp(32px, 4vw, 48px); }
.brand--footer { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.brand--footer svg { color: var(--amber); }
.footer__brand p { margin: 0; max-width: 38ch; font-size: .95rem; line-height: 1.6; }
.footer__nav { display: flex; flex-direction: column; gap: .65rem; }
.footer__nav a, .footer__contact a { color: rgba(255,255,255,.82); }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact p { margin: 0 0 .55rem; font-size: .95rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; }
.footer__bottom p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; flex-wrap: wrap; }
.powered a { color: rgba(255,255,255,.7); font-weight: 500; }
.powered a:hover { color: #fff; }
.powered__al { color: #3b82f6; font-weight: 700; }

/* ---------- Social media ---------- */
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; }
.social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--forest);
  transition: transform .18s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.social:hover { transform: translateY(-3px); background: var(--forest); color: #fff; border-color: var(--forest); text-decoration: none; }
.social svg { width: 20px; height: 20px; }

.booking-link {
  display: inline-flex; align-items: center; gap: .5rem;
  max-width: 100%; min-height: 44px; margin-top: .8rem;
  color: var(--forest); font-size: .9rem; font-weight: 600;
  text-decoration: underline; text-underline-offset: .2em;
}
.booking-link svg { flex: none; width: 16px; height: 16px; }
.page-hero .booking-link { color: #fff; }

.contact__socials { margin-top: 1.7rem; }
.contact__socials-label,
.nav__extra-label {
  display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted); margin-bottom: .7rem;
}

.footer__socials { margin-top: 1.2rem; }
.footer__socials .social { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }
.footer__socials .social:hover { background: var(--amber); border-color: var(--amber); color: #fff; }

.nav__extra { display: none; }

/* ---------- Dekoracyjna linia świerków (tło sekcji) ---------- */
.section--trees { position: relative; overflow: hidden; }
.section--trees > .container { position: relative; z-index: 1; }
.section-trees-decor {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 88px;
  z-index: 0; pointer-events: none; display: block;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 12px; bottom: 12px; z-index: 90;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--amber); background: rgba(182,124,44,0.85); color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: 0 4px 16px rgba(37,33,27,.18);
}
.back-to-top svg {
  width: 18px; height: 18px;
}
.back-to-top:hover {
  background: rgba(154,102,31,0.9);
  border-color: var(--amber-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,33,27,.28);
}
.back-to-top.is-visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}

/* =================================================================
   RESPONSYWNOŚĆ
   ================================================================= */
@media (max-width: 1024px) {
  .facts__grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .amenity { flex: 0 0 calc(33.333% - 11px); }
  .around__grid { grid-template-columns: repeat(2, 1fr); }

  /* Eyebrow nie nachodzi na nawigację */
  .hero__eyebrow { margin-top: 0; }

  /* Hero: przyciski w kolumnie, żeby nie ucinało numeru */
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  /* Chipsy: 2 kolumny na tablecie */
  .hero__chips { grid-template-columns: repeat(2, 1fr); }

  /* Galeria: 3 kolumny kafli, węższy opis */
  .gallery-sub__grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .gallery-sub__tiles { grid-template-columns: repeat(3, 1fr); }
  .gallery-sub__desc { padding: 22px 18px; }
  .gallery-sub__desc-body { font-size: .85rem; }
  .gallery-sub__desc-title { font-size: 1.2rem; }
}

@media (max-width: 1180px) {
  /* Mobile nav - przycisk z ikona domku */
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    flex: none; width: 48px; height: 48px; margin-left: auto; padding: 0;
    background: transparent; border: 0; cursor: pointer; position: relative; z-index: 110;
    color: #fff;
  }
  .site-header[data-scrolled] .nav__toggle { color: var(--ink); }
  .nav__toggle-ic { flex: none; width: 28px; height: 28px; }
  [data-nav-toggle][aria-expanded="true"] { color: var(--ink); }

  /* Animacja kresek: domek -> krzyzyk (morfowanie atrybutu d) */
  .nav__toggle-ic .t-line {
    transition: d .4s var(--ease), opacity .25s var(--ease);
  }
  /* stan zamkniety = domek (d zdefiniowane tez w CSS, by transition dzialal) */
  .nav__toggle-ic .t-roofL { d: path("M3.5 11.5 12 4"); }
  .nav__toggle-ic .t-roofR { d: path("M12 4 20.5 11.5"); }
  .nav__toggle-ic .t-wallL { d: path("M5.5 10 5.5 20"); }
  .nav__toggle-ic .t-floor { d: path("M5.5 20 18.5 20"); }
  .nav__toggle-ic .t-wallR { d: path("M18.5 20 18.5 10"); }
  .nav__toggle-ic .t-door  { d: path("M9.5 20 9.5 15 14.5 15 14.5 20"); }

  /* stan otwarty = krzyzyk: dach -> przekatne, reszta zwija sie do srodka i znika */
  [data-nav-toggle][aria-expanded="true"] .t-roofL { d: path("M6 6 18 18"); }
  [data-nav-toggle][aria-expanded="true"] .t-roofR { d: path("M18 6 6 18"); }
  [data-nav-toggle][aria-expanded="true"] .t-wallL { d: path("M12 12 12 12"); opacity: 0; }
  [data-nav-toggle][aria-expanded="true"] .t-floor { d: path("M12 12 12 12"); opacity: 0; }
  [data-nav-toggle][aria-expanded="true"] .t-wallR { d: path("M12 12 12 12"); opacity: 0; }
  [data-nav-toggle][aria-expanded="true"] .t-door  { d: path("M12 12 12 12 12 12 12 12"); opacity: 0; }

  @media (prefers-reduced-motion: reduce) {
    .nav__toggle-ic .t-line { transition: none; }
  }

  .nav { margin-left: auto; }
  .nav__list {
    position: fixed; top: 0; right: 0; bottom: auto; width: min(78vw, 320px);
    height: 100vh; height: 100dvh;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--cream); padding: calc(var(--header-h) + 16px) 28px 28px;
    box-shadow: -12px 0 40px -16px rgba(0,0,0,.4);
    transform: translateX(100%); transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  .nav__list[data-open] { transform: translateX(0); }
  .nav__list > li { width: 100%; }
  .nav__list > li > a { display: block; padding: .9rem 0; width: 100%; color: var(--ink) !important; font-size: 1.1rem; border-bottom: 1px solid var(--line); }

  .header__cta { display: none; }

  .nav__extra { display: block; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
  .nav__extra .socials { gap: clamp(.3rem, 1.8vw, .55rem); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; max-width: 460px; }

  .gallery__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .page-grid,
  .stay-details__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .page-media-grid,
  .page-media-grid--reverse { grid-template-columns: 1fr; }
  .page-media-grid--reverse > :first-child { order: initial; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .price-card--feature { order: -1; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }

  /* Hero na tabletach: przyciski zostają w jednej linii */
  .hero .hero__atuty { display: none; }
  .hero__atuty-mobile { display: block; padding: 1.5rem 0 .8rem; }
  .hero__atuty-mobile .hero__atuty { width: 100%; margin-left: 0; padding-inline: clamp(18px, 5vw, 40px); }

  /* Chipsy poza hero: ciemniejsze tlo, czytelny tekst */
  .hero__atuty-mobile .hero__chips li {
    background: var(--forest);
    border-color: var(--forest-soft);
    color: #fff;
  }
  .hero__atuty-mobile .hero__chips li svg { color: var(--amber); }

  /* Collapse button poza hero: spójna kolorystyka */
  .hero__atuty-mobile .hero__atuty-banner {
    display: flex; align-items: center; justify-content: space-between; gap: .6em;
    cursor: pointer; user-select: none;
    padding: .85em 1.2em; border-radius: 999px; margin-bottom: .9rem;
    font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
    color: var(--ink);
    background: var(--cream-soft);
    border: 1px solid var(--line);
    animation: bannerPulse 2.6s var(--ease) infinite;
  }
  .hero__atuty-mobile .hero__atuty-banner::-webkit-details-marker { display: none; }
  .hero__atuty-mobile .hero__atuty-label { display: inline-flex; align-items: center; gap: .5em; }
  .hero__atuty-mobile .hero__atuty-caret { width: 1.2em; height: 1.2em; flex: none; color: var(--forest); transition: transform .25s var(--ease); }
  .hero__atuty-mobile .hero__atuty[open] .hero__atuty-banner { animation: none; }
  .hero__atuty-mobile .hero__atuty[open] .hero__atuty-caret { transform: rotate(180deg); }
}

@media (max-width: 560px) {
  .facts__grid { grid-template-columns: 1fr; }
  .amenity { flex: 0 0 calc(50% - 8px); }
  .around__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .page-hero { padding-top: 118px; }
  .page-hero__actions { flex-direction: column; align-items: stretch; }
  .page-hero__actions .btn { width: 100%; }
  .phone-links { width: 100%; align-items: stretch; }
  .phone-links__label { flex-basis: 100%; }
  .phone-links .btn { flex-basis: 100%; }
  .page-copy__actions { flex-direction: column; align-items: stretch; }
  .page-copy__actions .btn { width: 100%; }
  .stay-details__links { align-items: stretch; flex-direction: column; }
  .stay-details__link { justify-content: space-between; }
  .footer__inner { grid-template-columns: 1fr; }
  /* Letnie zdjęcie na mobile: przesunięcie kadru w lewo by widoczny był cały dom */
  .hero__media--lato img { object-position: 19% 38%; }

  /* Ramka bursztynowa: ukryta tylko na mobile */
  .about__media::after { display: none; }

  /* Wideo: pełna szerokość na mobile */
  .about__video { width: 100%; }

    /* Chipsy 1-kolumnowe na mobile */
  .hero__chips { grid-template-columns: 1fr; gap: .7rem; margin-top: 1rem; }
  .hero__chips li { padding: .6em 1em; }
  .hero__chips li svg { width: 1.35em; height: 1.35em; }

  /* Galeria mobile: 50/50 (opis lewo, kafle prawo) */
  .gallery-sub__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gallery-sub__tiles {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .gallery-tile {
    aspect-ratio: 1 / 1;
  }
  .gallery-sub__desc {
    position: sticky;
    top: calc(var(--header-h) + 12px);
    padding: 16px 14px;
    max-height: calc(100vh - var(--header-h) - 24px);
    overflow-y: auto;
  }
  .gallery-sub__desc-title { font-size: .95rem; }
  .gallery-sub__desc-body { font-size: .73rem; }
  .gallery-sub__counter { font-size: .7rem; padding-top: .6rem; margin-top: .8rem; }
  /* Navbar galerii: 2 przyciski w rzędzie */
  .gallery__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery__tab {
    font-size: .75rem;
    padding: .55em .9em;
    justify-content: center;
  }
  .gallery__tab svg { width: 14px; height: 14px; }

  /* Odstęp dla atutów poza hero */
  .hero__atuty-mobile { padding: 1.5rem 0 .8rem; }

  .hero__content { padding-bottom: 1.2rem; }

  /* strzałka „przewiń w dół" niżej, by nie nachodziła na baner atutów */
  .hero__scroll { bottom: 1px; }

  /* Stopka: odsuniecie od krawedzi + wycentrowanie */
  .footer__inner { padding-left: 26px; padding-right: 26px; text-align: center; }
  .footer__brand p { margin-inline: auto; }
  .footer__nav { align-items: center; }
  .footer__socials { justify-content: center; }
  .footer__bottom .container { padding-left: 26px; padding-right: 26px; }
  .footer__bottom-inner { flex-direction: column; justify-content: center; text-align: center; gap: .5rem; }
  .carousel__slide figcaption { padding: 1.4rem 1.1rem .9rem; font-size: .92rem; }
  .carousel__btn { width: 42px; height: 42px; }
}

/* Reveal on scroll (progressive enhancement) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Wydajność: sekcje pod foldem nie liczą stylu/układu, dopóki użytkownik się nie zbliży
   (contain-intrinsic-size = szacunkowa wysokość, zapobiega skakaniu paska przewijania) */
#udogodnienia, #galeria, #okolica, #cennik, #kontakt, .site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}
