/* ===== Design tokens & base ===== */
:root {
  --green: #2A3D31;
  --green-deep: #1F2E25;
  --green-soft: #3a5244;
  --beige: #AD9575;
  --beige-ink: #7d6b54; /* wariant .eyebrow na jasnym tle, 4.55:1 na --cream (WCAG AA) */
  --beige-soft: #c9b89c;
  --cream: #F5F1EA;
  --cream-deep: #ECE6DA;
  --paper: #FAF7F1;
  --white: #FEFEFE;
  --ink: #2A3D31;
  --ink-mute: #5a6b5f;
  --line: rgba(42,61,49,0.14);
  --line-soft: rgba(42,61,49,0.08);
  --shadow-sm: 0 1px 2px rgba(42,61,49,0.06);
  --shadow-md: 0 8px 30px rgba(42,61,49,0.08);
  --shadow-lg: 0 24px 60px rgba(42,61,49,0.14);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --max: 1440px;
  --gutter: 32px;
}
* { box-sizing: border-box; }

.skip-link {
  position: absolute; left: 12px; top: -60px;
  z-index: 200;
  background: var(--cream); color: var(--green);
  padding: 12px 20px; border-radius: 6px;
  font-weight: 700; font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5,h6 { font-family: "Lato", sans-serif; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; margin: 0; color: var(--green); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* placeholder utility */
.ph {
  background: linear-gradient(135deg, #d8d2c5 0%, #c9c2b1 100%);
  color: rgba(42,61,49,0.55);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; overflow: hidden;
}
.ph::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(42,61,49,0.04) 14px 15px);
  pointer-events: none;
}
.ph svg { opacity: 0.35; }

.eyebrow {
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beige-ink);
  font-weight: 400;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all .25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green); border: 1px solid var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--cream); }
.btn-on-dark { background: var(--cream); color: var(--green); }
.btn-on-dark:hover { background: var(--white); }
.btn-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  color: var(--green);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: gap .2s ease, border-color .2s ease;
}
.btn-link:hover { gap: 16px; border-color: var(--green); }

/* ===== Nav ===== */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, padding .35s ease, transform .4s ease, opacity .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 30px var(--gutter);
  min-height: 123px;
  transition: padding .35s ease, min-height .35s ease;
}
.nav.scrolled .nav-inner { padding: 18px var(--gutter); min-height: 84px; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; }
.nav-links.nav-right { gap: 8px; }
/* Logo: oba warianty leza na sobie i przenikaja sie przy przewijaniu,
   dzieki czemu pelne logo plynnie zmniejsza sie zamiast przeskakiwac. */
.nav-logo { justify-self: center; grid-column: 2; display: flex; align-items: center; position: relative; }
.nav-logo .full { display: block; height: 76px; width: auto; transition: height .35s ease, opacity .25s ease; }
.nav-logo .mark { display: none; }
.nav-logo .dark {
  display: block; height: 76px; width: auto;
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  opacity: 0; pointer-events: none;
  transition: height .35s ease, opacity .25s ease;
}
/* po przewinieciu: to samo pelne logo, tylko mniejsze — w wersji ciemnej, bo pasek robi sie kremowy */
.nav.scrolled .nav-logo .full { height: 44px; opacity: 0; }
.nav.scrolled .nav-logo .dark { height: 44px; opacity: 1; }
/* Globalny, spojny focus-visible — wczesniej istnial tylko punktowo dla .grp-row */
:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; border-radius: 2px; }
.nav-cta-outline:focus-visible, .btn:focus-visible { outline-offset: 4px; }

/* to samo ciemne logo gdy otwarte menu mobilne (panel jest kremowy) */
.nav.menu-open .nav-logo .full { opacity: 0 !important; }
.nav.menu-open .nav-logo .dark { opacity: 1; }
.nav.scrolled {
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.nav.scrolled .nav-link { color: var(--green); }
.nav.scrolled .nav-cta-outline { border-color: var(--beige); color: var(--cream); }
.nav.scrolled .nav-cta-outline::before { background: var(--beige); }
.nav.scrolled .nav-lang-btn { border-color: var(--green); background: transparent; color: var(--cream); }
.nav.scrolled .nav-lang-btn::before { background: var(--green); }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-link {
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--cream);
  transition: opacity .2s ease;
}
.nav-link:hover { opacity: 0.7; }
.nav-cta-outline {
  position: relative;
  height: 45px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 26px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--green);
  background: transparent;
  border: 1px solid var(--beige);
  border-radius: 999px;
  line-height: 1;
  isolation: isolate;
}
.nav-cta-outline::before {
  content: "";
  position: absolute; inset: 3px;
  background: var(--beige);
  border-radius: 999px;
  z-index: -1;
  transition: inset .2s ease;
}
.nav-cta-outline:hover::before { inset: 4px; }
.nav-lang { position: relative; }
.nav-lang-btn {
  position: relative;
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--cream);
  color: var(--green);
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  line-height: 1;
  isolation: isolate;
}
.nav-lang-btn::before {
  content: "";
  position: absolute; inset: 3px;
  background: var(--cream);
  border-radius: 999px;
  z-index: -1;
  transition: inset .2s ease;
}
.nav-lang-btn:hover::before { inset: 5px; }
.nav-lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 90px;
  display: flex; flex-direction: column;
  z-index: 60;
}
.nav-lang-opt {
  padding: 10px 14px;
  text-align: left;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--ink-mute);
  border-radius: 6px;
  transition: all .15s ease;
}
.nav-lang-opt:hover { background: var(--cream); color: var(--green); }
.nav-lang-opt.active { background: var(--green); color: var(--cream); }

/* ===== Nav: Szklarska Poreba layout (logo left, links center, langs+cta right) ===== */
.nav-inner-szkl {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 30px var(--gutter);
  min-height: 123px;
  transition: padding .35s ease, min-height .35s ease;
}
.nav.scrolled .nav-inner-szkl { padding: 18px var(--gutter); min-height: 84px; }
.nav-inner-szkl .nav-logo { justify-self: initial; grid-column: auto; flex: 0 0 auto; }
.nav-inner-szkl .nav-center {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 28px;
  flex-wrap: nowrap;
}
.nav-inner-szkl .nav-link {
  font-size: 13px; letter-spacing: 0.12em;
  white-space: nowrap;
}
.nav-right-group { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }

/* inline language switcher (shared between landing + Szklarska) */
.nav-langs-inline {
  display: flex; align-items: center; gap: 4px;
  background: rgba(245,241,234,0.10);
  border: 1px solid rgba(245,241,234,0.22);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(8px);
}
.nav.scrolled .nav-langs-inline {
  background: rgba(42,61,49,0.06);
  border-color: rgba(42,61,49,0.12);
}
.nav-lang-inline {
  height: 44px; min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.10em;
  color: var(--cream);
  font-family: inherit; border: 0; background: transparent; cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.nav-lang-inline:hover { background: rgba(245,241,234,0.10); }
.nav-lang-inline.active { background: var(--cream); color: var(--green); }
.nav.scrolled .nav-lang-inline { color: var(--green); }
.nav.scrolled .nav-lang-inline:hover { background: rgba(42,61,49,0.06); }
.nav.scrolled .nav-lang-inline.active { background: var(--green); color: var(--cream); }

/* Pas nad progiem hamburgera — linki ciasniej, zeby caly pasek sie zmiescil.
   Po dodaniu pozycji GRUPY menu ma 8 linkow i w pelnym rozmiarze potrzebuje ~1250px,
   a po zageszczeniu ~1150px. Powyzej 1560px zostaje pelny rozmiar 13px
   (prog podniesiony z 1320 na 1560 w 2026-09-29: telefon + ikona social + lokalizacja
   nie miescily sie w 1320-1510px i "Napisz do nas" wychodzilo poza ekran). */
@media (max-width: 1560px) {
  /* selektory z ".nav" z przodu, bo Szklarska i Grupy nadpisuja te odstepy
     we wlasnym <style>, ktory ladowany jest po tym arkuszu */
  .nav .nav-inner-szkl { gap: 24px; }
  .nav .nav-inner-szkl .nav-center { gap: 18px; }
  .nav .nav-inner-szkl .nav-link { font-size: 12px; letter-spacing: 0.10em; }
}


/* ===== Nav: burger + panel mobilny (< 1200px) =====
   Pelne menu poziome to logo + 8 linkow (z GRUPY) + jezyki + CTA: ~1250px w pelnym
   rozmiarze, ~1150px po zageszczeniu z @media 1320px powyzej. Ponizej 1200px
   nie ma juz na to miejsca, wiec pokazujemy hamburger. */
.nav-burger {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(245,241,234,0.30);
  background: rgba(245,241,234,0.10);
  backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.nav-burger:hover { background: rgba(245,241,234,0.18); }
.nav.scrolled .nav-burger { border-color: rgba(42,61,49,0.16); background: rgba(42,61,49,0.05); }
.nav.scrolled .nav-burger:hover { background: rgba(42,61,49,0.10); }
.nav-burger-box { position: relative; width: 20px; height: 14px; display: block; }
.nav-burger-box span {
  position: absolute; left: 0;
  display: block; width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .2s ease, top .3s cubic-bezier(.16,1,.3,1);
}
.nav.scrolled .nav-burger-box span { background: var(--green); }
.nav-burger-box span:nth-child(1) { top: 0; }
.nav-burger-box span:nth-child(2) { top: 6px; }
.nav-burger-box span:nth-child(3) { top: 12px; }
.nav-burger.is-open .nav-burger-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-burger.is-open .nav-burger-box span:nth-child(2) { opacity: 0; }
.nav-burger.is-open .nav-burger-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
/* burger otwarty = panel kremowy pod spodem, więc zawsze ciemne kreski */
.nav-burger.is-open { border-color: rgba(42,61,49,0.16); background: rgba(42,61,49,0.05); }
.nav-burger.is-open .nav-burger-box span { background: var(--green); }

.nav-mobile-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(31,46,37,0.45);
  backdrop-filter: blur(2px);
  z-index: 40;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.nav-mobile-backdrop.is-open { opacity: 1; pointer-events: auto; }

.nav-mobile-panel {
  display: none;
  position: fixed; inset: 0 0 auto 0;
  z-index: 45;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  padding: 104px var(--gutter) 28px;
  max-height: 100dvh;
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform .38s cubic-bezier(.16,1,.3,1);
}
.nav-mobile-panel.is-open { transform: translateY(0); }
.nav-mobile-links { display: flex; flex-direction: column; }
.nav-mobile-link {
  display: block;
  padding: 16px 0;
  font-size: 15px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--green);
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile-link:active { opacity: 0.6; }
.nav-mobile-foot {
  display: flex; flex-direction: column; gap: 18px;
  padding-top: 26px;
}
.nav-mobile-panel .nav-langs-inline {
  align-self: flex-start;
  background: rgba(42,61,49,0.05);
  border-color: rgba(42,61,49,0.12);
}
.nav-mobile-panel .nav-lang-inline { color: var(--green); }
.nav-mobile-panel .nav-lang-inline:hover { background: rgba(42,61,49,0.08); }
.nav-mobile-panel .nav-lang-inline.active { background: var(--green); color: var(--cream); }
.nav-mobile-panel .nav-cta-outline {
  display: flex; width: 100%;
  border: 0 !important;
  background: var(--green);
  color: var(--cream);
  height: 52px;
}
.nav-mobile-panel .nav-cta-outline:hover { background: var(--green-deep); transform: none; }
body.nav-locked { overflow: hidden; }
.nav-mobile-panel .nav-cta-outline::before { content: none !important; display: none !important; }

@media (max-width: 1199px) {
  .nav .nav-inner-szkl { gap: 16px; padding: 18px var(--gutter); min-height: 0; flex-wrap: nowrap; }
  .nav .nav-inner, .nav.scrolled .nav-inner { padding: 18px var(--gutter); min-height: 0; }
  .nav .nav-inner-szkl .nav-center { display: none; }
  .nav .nav-right-group { display: none; }
  .nav .nav-burger { display: inline-flex; }
  .nav-mobile-backdrop, .nav-mobile-panel { display: block; }
  /* logo mniejsze na mobile — po przewinieciu nadal pelne logo */
  .nav .nav-logo .full, .nav .nav-logo .dark { height: 56px; }
  .nav.scrolled .nav-logo .full, .nav.scrolled .nav-logo .dark { height: 38px; }
}
@media (max-width: 560px) {
  .nav .nav-inner-szkl, .nav .nav-inner { padding: 14px 20px; }
  .nav .nav-logo .full, .nav .nav-logo .dark { height: 44px; }
  .nav.scrolled .nav-logo .full, .nav.scrolled .nav-logo .dark { height: 32px; }
  .nav .nav-burger { width: 42px; height: 42px; }
  .nav-mobile-panel { padding: 84px 20px 24px; }
  .nav-mobile-link { padding: 15px 0; font-size: 14px; }
}

/* anchors offset under fixed nav */
html { scroll-behavior: smooth; }
.section, [id] { scroll-margin-top: 100px; }
.anchor-offset { display: block; height: 0; visibility: hidden; }

/* ===== Generic section ===== */
.section { padding: 140px 0; position: relative; }
.section-tight { padding: 100px 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-green { background: var(--green); color: var(--cream); }
.section-green h2, .section-green h3 { color: var(--cream); }

/* ===== Full-bleed image break ===== */
.full-image {
  height: 80vh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
}
.full-image .ph { width: 100%; height: 100%; }
.full-image .quote {
  position: absolute;
  inset: auto 0 0 0;
  padding: 80px var(--gutter);
  background: linear-gradient(180deg, transparent 0%, rgba(31,46,37,0.7) 100%);
  color: var(--cream);
}
.full-image .quote-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 60px;
}
.full-image .quote-text {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  max-width: 28ch;
  line-height: 1.3;
  color: var(--cream);
}
.full-image .quote-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beige-soft);
  flex-shrink: 0;
}

/* ===== Section header ===== */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; margin-bottom: 64px; }
.sec-head h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 18ch;
}
.sec-head h2 em { font-style: italic; color: var(--beige); font-weight: 300; }
.sec-head .lead { max-width: 38ch; color: var(--ink-mute); font-size: 17px; }
.sec-head .eyebrow { margin-bottom: 18px; display: block; }

/* ===== Pakiety / packages ===== */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pkg {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s ease;
  cursor: pointer;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line); }
.pkg-img { aspect-ratio: 4/3; }
.pkg-img .ph { width: 100%; height: 100%; }
.pkg-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.pkg-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pkg-season { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--beige); }
.pkg-nights { font-size: 12px; color: var(--ink-mute); }
.pkg h3 { font-size: 24px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.pkg p { color: var(--ink-mute); font-size: 15px; line-height: 1.55; flex: 1; }
.pkg-foot {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: baseline;
}
.pkg-price .amt { font-size: 22px; font-weight: 700; color: var(--green); letter-spacing: -0.01em; }
.pkg-price .from { font-size: 11px; color: var(--ink-mute); margin-right: 4px; font-family: "JetBrains Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; }
.pkg-price .per { font-size: 12px; color: var(--ink-mute); }
.pkg-arrow { font-size: 18px; color: var(--green); transition: transform .25s ease; }
.pkg:hover .pkg-arrow { transform: translateX(4px); }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: flex-start; }
.faq-side { position: sticky; top: 120px; }
.faq-search {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 20px;
  margin-bottom: 32px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(42,61,49,0.08); }
.faq-search svg { flex-shrink: 0; color: var(--ink-mute); }
.faq-search input {
  border: 0; outline: 0; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink);
  flex: 1; min-width: 0;
}
.faq-search input::placeholder { color: var(--ink-mute); }
.faq-cats { display: flex; flex-direction: column; gap: 4px; }
.faq-cat {
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700; color: var(--ink-mute);
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
}
.faq-cat:hover { background: var(--cream-deep); color: var(--green); }
.faq-cat.active { background: var(--green); color: var(--cream); }
.faq-cat .count { font-family: "JetBrains Mono", monospace; font-size: 11px; opacity: 0.6; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease;
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  padding: 28px 24px 28px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: 19px; font-weight: 700; color: var(--green);
  transition: color .2s ease;
}
.faq-q:hover { color: var(--green-soft); }
.faq-q .icon {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
  font-size: 16px;
}
.faq-item.open .faq-q .icon { background: var(--green); color: var(--cream); transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  color: var(--ink-mute);
  font-size: 16px; line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 60px 32px 0;
}
.faq-a-cat {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--beige); margin-bottom: 14px;
}
.faq-empty {
  padding: 60px 0; text-align: center; color: var(--ink-mute);
  border: 1px dashed var(--line); border-radius: var(--radius-md);
  font-size: 15px;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: stretch; }
.contact-info {
  display: flex; flex-direction: column;
}
.contact-row {
  display: grid; grid-template-columns: 140px 1fr;
  align-items: baseline;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row:first-child { padding-top: 4px; }
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.contact-row-locations { align-items: start; }
.contact-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--beige); font-weight: 700;
  padding-top: 10px;
}
.contact-value {
  font-size: 30px; font-weight: 300; color: var(--green);
  letter-spacing: -0.015em; line-height: 1.2;
  display: block; transition: color .2s ease;
}
a.contact-value:hover { color: var(--beige); }
.contact-meta {
  display: block; margin-top: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-locations {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
}
.contact-location h4 {
  font-size: 18px; font-weight: 700; color: var(--green);
  margin-bottom: 10px; letter-spacing: -0.005em;
}
.contact-location p {
  font-size: 15px; color: var(--ink); line-height: 1.6;
}
.contact-location.dim h4 { color: var(--ink-mute); }
.contact-location.dim p { color: var(--ink-mute); }
.badge-soon {
  display: inline-block; margin-top: 14px;
  padding: 5px 12px; border: 1px solid var(--line);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 700;
}
.contact-map {
  border-radius: 8px; overflow: hidden;
  align-self: stretch;
}
.contact-map .ph { width: 100%; height: 100%; min-height: 560px; }

/* ===== Footer ===== */
.footer {
  background: var(--green-deep); color: var(--cream);
  padding: 96px 0 36px;
  min-height: 100vh;
  box-sizing: border-box;
}
.footer-hero {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 32px;
  padding-bottom: 60px;
}
.footer-hero img { height: 200px; width: auto; margin: 0; }
.footer-hero .nav-cta-outline {
  height: 50px;
  padding: 0 34px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer-divider { height: 1px; background: rgba(245,241,234,0.18); }

.footer-mid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
  align-items: start;
}
.footer-locations { display: flex; flex-direction: column; gap: 44px; }
.footer-loc h5 {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beige); font-weight: 700;
  margin: 0 0 16px;
}
.footer-loc p {
  font-size: 16px; color: var(--cream); line-height: 1.7;
  margin: 0;
}

.footer-contact {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.footer-contact a {
  font-size: 17px; color: var(--cream);
  border-bottom: 1px solid rgba(245,241,234,0.4);
  padding-bottom: 3px;
  transition: border-color .2s ease;
}
.footer-contact a:hover { border-color: var(--cream); }
.footer-socials {
  margin-top: 10px;
  display: flex; gap: 28px;
}
.footer-socials a {
  border: 0; padding: 0;
  color: var(--beige);
  transition: color .2s ease;
}
.footer-socials a:hover { color: var(--beige-soft); }

.footer-links {
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
}
.footer-links a {
  font-family: "JetBrains Mono", monospace;
  font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); font-weight: 700;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--beige); }

.footer-bottom {
  padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-size: 13px;
  font-family: "JetBrains Mono", monospace; letter-spacing: 0.06em;
  color: rgba(245,241,234,0.55);
}
.footer-langs { display: flex; gap: 28px; }
.footer-langs a {
  text-transform: uppercase;
  color: rgba(245,241,234,0.8);
  border-bottom: 1px solid rgba(245,241,234,0.4);
  padding-bottom: 3px;
}
.footer-langs a:hover { color: var(--cream); border-color: var(--cream); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-row { grid-template-columns: 1fr; gap: 12px; }
  .contact-locations { grid-template-columns: 1fr; }
  .packages { grid-template-columns: 1fr; }
  .section { padding: 90px 0; }
  .full-image .quote-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 900px) {
  .footer-mid { grid-template-columns: 1fr; gap: 48px; }
  .footer-contact { text-align: left; align-items: flex-start; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-langs { flex-wrap: wrap; gap: 16px; }
}

/* ===== Telefon w naglowku (wariant do oceny klienta, 2026-09-23) =====
   Grupy nie rezerwuja przez system, wiec numer ma byc widoczny od razu: na desktopie
   obok "Napisz do nas", ponizej 1200px obok hamburgera, a w panelu mobilnym jako przycisk. */
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--cream);
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}
.nav-phone svg { color: var(--beige); flex: 0 0 auto; }
.nav-phone:hover { opacity: 0.75; }
.nav.scrolled .nav-phone { color: var(--green); }
.nav-phone-mobile { display: none; }
.nav-mobile-panel .nav-phone-btn { background: var(--beige); color: var(--green); }
.nav-mobile-panel .nav-phone-btn:hover { background: var(--cream); }
@media (max-width: 1560px) {
  .nav .nav-right-group { gap: 14px; }
  .nav .nav-phone { font-size: 13px; letter-spacing: 0.04em; }
}
@media (max-width: 1199px) {
  .nav .nav-phone-mobile { display: inline-flex; margin-left: auto; }
  .nav .nav-phone-mobile + .nav-burger { margin-left: 0; }
  .nav-inner-szkl { gap: 16px; }
}
@media (max-width: 360px) {
  .nav .nav-phone-mobile svg { display: none; }
}

/* ===== Stopka na stronach obiektow: tylko wlasna lokalizacja + link do drugiego obiektu (2026-09-23) ===== */
.footer-other {
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  color: var(--beige);
  border-bottom: 1px solid rgba(173,149,117,0.5);
  padding-bottom: 3px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-other:hover { color: var(--cream); border-color: var(--cream); }

/* ===== Lokalizacja przy logo (2026-09-27) =====
   Za logo cienka kreska + nazwa obiektu; klik rozwija liste z drugim obiektem.
   Kolory jak reszta paska: kremowe na zdjeciu hero, zielone po przewinieciu. */
.nav-loc {
  position: relative; flex: 0 0 auto;
  display: flex; align-items: center;
  margin-left: -8px;
  padding-left: 22px;
  border-left: 1px solid rgba(245,241,234,0.28);
  min-height: 40px;
  transition: border-color .35s ease;
}
.nav.scrolled .nav-loc, .nav.menu-open .nav-loc, body.hist-page .nav-loc { border-left-color: var(--line); }
.nav-loc-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 0; color: var(--cream); text-align: left;
  transition: color .2s ease, opacity .2s ease;
}
.nav-loc-btn:hover { opacity: 0.8; }
.nav.scrolled .nav-loc-btn, .nav.menu-open .nav-loc-btn, body.hist-page .nav-loc-btn { color: var(--green); }
.nav-loc-text { display: flex; flex-direction: column; gap: 3px; }
.nav-loc-kicker {
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beige-soft); line-height: 1;
}
.nav.scrolled .nav-loc-kicker, .nav.menu-open .nav-loc-kicker, body.hist-page .nav-loc-kicker { color: var(--beige-ink); }
.nav-loc-name { font-size: 15px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.1; white-space: nowrap; }
.nav-loc-chev { color: var(--beige); flex: 0 0 auto; transition: transform .25s ease; }
.nav-loc.is-open .nav-loc-chev { transform: rotate(180deg); }
.nav-loc-menu {
  position: absolute; top: calc(100% + 14px); left: 10px;
  min-width: 250px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 10px 10px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 60;
}
.nav-loc.is-open .nav-loc-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-loc-eyebrow {
  font-family: "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--beige-ink); padding: 0 12px 8px;
}
.nav-loc-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700; color: var(--green);
  transition: background .15s ease;
}
.nav-loc-opt:hover { background: var(--cream); }
.nav-loc-opt.is-active { background: var(--cream); }
.nav-loc-opt.is-active svg { color: var(--beige-ink); }
.nav-loc-opt span { color: var(--beige-ink); }

/* waski desktop (1200-1320px): bez nadtytulu, nazwa w dwoch liniach i ciasniejsze
   odstepy — inaczej przy 8 linkach menu i telefonie nie miesci sie "Napisz do nas" */
@media (max-width: 1560px) {
  .nav .nav-loc-kicker { display: none; }
  .nav .nav-inner-szkl:has(.nav-loc) { gap: 20px; }
  .nav .nav-loc { margin-left: -6px; padding-left: 16px; }
  .nav .nav-loc-btn { gap: 6px; }
  .nav .nav-loc-name { font-size: 14px; white-space: normal; max-width: 9ch; }
}
@media (max-width: 1199px) {
  .nav .nav-loc { margin-left: -4px; padding-left: 16px; }
  .nav .nav-loc-kicker { display: block; }
}
/* telefon: pelne logo (klient 2026-09-28: sam znak to za malo), nazwa moze sie zlamac na dwie linie;
   zeby sie zmiescilo obok telefonu i hamburgera: bez pinezki i z ciasniejszymi odstepami */
@media (max-width: 560px) {
  .nav .nav-inner-szkl:has(.nav-loc) .nav-logo .full,
  .nav .nav-inner-szkl:has(.nav-loc) .nav-logo .dark { height: 42px; }
  .nav.scrolled .nav-inner-szkl:has(.nav-loc) .nav-logo .full,
  .nav.scrolled .nav-inner-szkl:has(.nav-loc) .nav-logo .dark { height: 34px; }
  .nav .nav-inner-szkl:has(.nav-loc) { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .nav .nav-loc { margin-left: 0; padding-left: 12px; min-height: 34px; }
  .nav .nav-loc-kicker { display: none; }
  .nav .nav-loc-name { font-size: 14px; white-space: normal; max-width: 9ch; }
  .nav .nav-loc-btn { gap: 6px; }
  .nav-loc-menu { left: -60px; min-width: 230px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .nav .nav-inner-szkl:has(.nav-loc) { gap: 16px; }
  .nav .nav-inner-szkl:has(.nav-loc) .nav-center { gap: 14px; }
  .nav .nav-inner-szkl:has(.nav-loc) .nav-link { letter-spacing: 0.07em; }
  .nav .nav-inner-szkl:has(.nav-loc) .nav-right-group { gap: 12px; }
}

/* Podstrony historii maja od gory jasny pasek — telefon i hamburger (dodane 23.09)
   byly tam kremowe na kremowym, czyli niewidoczne. Te same kolory co po przewinieciu. */
body.hist-page .nav .nav-phone { color: var(--green); }
body.hist-page .nav .nav-burger { border-color: rgba(42,61,49,0.16); background: rgba(42,61,49,0.05); }
body.hist-page .nav .nav-burger-box span { background: var(--green); }

/* pinezka przed nazwa lokalizacji — ta sama co w hero przy adresie */
.nav-loc-pin { color: var(--beige); flex: 0 0 auto; }
.nav.scrolled .nav-loc-pin, .nav.menu-open .nav-loc-pin, body.hist-page .nav-loc-pin { color: var(--beige-ink); }
@media (max-width: 560px) { .nav .nav-loc-pin { display: none; } }

/* Wyrownanie z menu: nadtytul "Lokalizacja" wisi nad nazwa i nie wchodzi do wysokosci bloku,
   dzieki czemu srodek nazwy jest na tej samej linii co linki, telefon, pinezka i strzalka. */
.nav-loc-text { position: relative; display: block; }
.nav-loc-kicker { position: absolute; left: 0; bottom: calc(100% + 5px); white-space: nowrap; }
.nav-loc-name { display: block; }

/* ===== Social media w naglowku (2026-09-29) =====
   Klient chce FB/IG takze na gorze, ale obok duzego logo nie ma miejsca na dwie ikony,
   wiec jedna ikona przed telefonem (w kolorze pozostalych ikon naglowka) rozwija liste (hover na desktopie, klik/tap = focus).
   W panelu mobilnym ikony leza pod przyciskami. Wyglad listy jak przelacznik lokalizacji. */
.nav-social { position: relative; display: flex; align-items: center; }
.nav-social-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 2px; color: var(--beige);
  transition: color .2s ease, opacity .2s ease;
}
.nav-social-btn:hover { opacity: 0.8; }
.nav-social-chev { color: var(--beige); transition: transform .25s ease; }
.nav-social-menu {
  position: absolute; top: 100%; left: -12px;
  margin-top: 10px; min-width: 200px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 10px 10px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  z-index: 60;
}
/* mostek nad lista, zeby przy zjezdzaniu myszka z ikony lista nie znikala */
.nav-social-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-social:hover .nav-social-menu, .nav-social:focus-within .nav-social-menu {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-social:hover .nav-social-chev, .nav-social:focus-within .nav-social-chev { transform: rotate(180deg); }
.nav-social-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: var(--radius-md);
  font-size: 15px; font-weight: 700; color: var(--green);
  transition: background .15s ease;
}
.nav-social-opt svg { color: var(--beige-ink); flex: 0 0 auto; }
.nav-social-opt:hover { background: var(--cream); }
.nav-mobile-socials { display: flex; justify-content: center; gap: 24px; }
.nav-mobile-socials a { color: var(--green); display: inline-flex; padding: 6px; transition: opacity .2s ease; }
.nav-mobile-socials a:hover { opacity: 0.7; }

/* ===== Wspolna infrastruktura obu obiektow — blok w sekcji Grupy (2026-09-29) =====
   Naglowek, pod nim tekst i link, nizej 3 kafelki w tej samej siatce co karty grup
   (3 kolumny, gap 32px), wiec krawedzie pokrywaja sie z kartami powyzej. */
.groups-sister {
  margin-top: 72px; padding-top: 56px;
  border-top: 1px solid rgba(245,241,234,0.14);
}
.groups-sister-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
.groups-sister-head .eyebrow { margin-bottom: 18px; }
.groups-sister-title {
  margin: 0; font-size: clamp(28px, 2.6vw, 40px); font-weight: 300;
  line-height: 1.15; letter-spacing: -0.01em; color: var(--cream);
}
.groups-sister-title em { font-style: italic; font-weight: 400; color: var(--beige-soft); }
.groups-sister-head p {
  margin: 18px 0 0; max-width: 640px;
  font-size: 15px; line-height: 1.7; color: rgba(245,241,234,0.75);
}
.groups-sister-link {
  margin-top: 14px;
  font-size: 14px; font-weight: 700; color: var(--beige-soft);
  border-bottom: 1px solid rgba(201,184,156,0.45); padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.groups-sister-link:hover { color: var(--cream); border-color: var(--cream); }
.groups-sister-items {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.groups-sister-item {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 20px; align-items: center;
  padding: 26px 32px;
  background: rgba(245,241,234,0.04);
  border: 1px solid rgba(245,241,234,0.14);
  border-radius: 8px;
}
.groups-sister-item .group-card-icon { grid-row: 1 / 3; margin: 0; color: var(--beige); display: flex; }
.groups-sister-item .group-card-icon img { width: 32px; height: 32px; object-fit: contain; display: block; }
.groups-sister-item .ix {
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.16em;
  font-weight: 700; color: var(--beige); align-self: end;
}
.groups-sister-item h4 {
  margin: 4px 0 0; align-self: start;
  font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--cream);
}
@media (max-width: 1024px) {
  .groups-sister-items { gap: 16px; }
  .groups-sister-item { padding: 22px 24px; }
}
@media (max-width: 700px) {
  .groups-sister { margin-top: 48px; padding-top: 40px; }
  .groups-sister-items { grid-template-columns: 1fr; gap: 12px; }
  .groups-sister-item { padding: 18px 22px; }
}
/* waski desktop 1200-1279px: bez strzalki przy ikonie social (Szklarska ma dluzsza nazwe lokalizacji) */
@media (min-width: 1200px) and (max-width: 1279px) {
  .nav .nav-social-chev { display: none; }
  .nav .nav-inner-szkl:has(.nav-loc) .nav-center { gap: 12px; }
}

/* ===== Poprawki mobilne z audytu 2026-09-30 (oba obiekty) =====
   Prefiks html body, bo arkusze stron ladowane po shared.css maja te same selektory. */
@media (max-width: 1024px) {
  html body .faq-side { position: static; }           /* sticky nachodzil na pytania w jednej kolumnie */
}
@media (hover: none) {                                /* Wnetrza: na dotyku nie ma hovera, wiec pokazujemy zdjecie od razu */
  html body .mat-frame img { transform: scale(1); }
  html body .mat-frame::after { opacity: 0.28; backdrop-filter: none; -webkit-backdrop-filter: none; }
  html body .mat-grain { opacity: 0.16; }
  html body .mat-icon svg { opacity: 0; }
}
@media (max-width: 560px) {
  html body .events-bars { flex-wrap: wrap; gap: 4px 14px; }
  html body .events-bar { flex: 1 1 calc(50% - 14px); min-height: 44px; }
  html body .events-bar-label { white-space: normal; overflow: visible; text-overflow: clip; }
  html body .reco-paper-foot,
  html body .room-amenities .amenity-note { font-size: 14px; }
  html body .gal-card-tag { max-width: calc(100% - 24px); white-space: normal; line-height: 1.35; }
}
html body .footer-other { display: inline-flex; align-items: baseline; gap: 0.5em; }
html body .footer-other span[aria-hidden] { white-space: nowrap; }

/* ===== Dwa obiekty: opis po lewej, zdjecie drugiego obiektu po prawej (2026-09-30) ===== */
.groups-sister.has-photo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.groups-sister.has-photo .groups-sister-items { gap: 14px; }
.groups-sister.has-photo .groups-sister-item { padding: 20px 22px; column-gap: 16px; }
.groups-sister-photo { position: relative; display: block; min-height: 320px; border-radius: 12px; overflow: hidden; }
.groups-sister-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(0.16, 1, 0.3, 1); }
.groups-sister-photo:hover img { transform: scale(1.03); }
.groups-sister-pill {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(31,46,37,0.88); color: var(--cream);
  padding: 8px 16px; border-radius: 999px;
  font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
}
@media (max-width: 1024px) {
  .groups-sister.has-photo { grid-template-columns: 1fr; gap: 28px; }
  .groups-sister-photo { min-height: 260px; }
}
/* Kontakt na wąskim telefonie: długi e-mail nie rozpycha strony (2026-09-30) */
@media (max-width: 400px) {
  html body .contact-info, html body .contact-row { min-width: 0; max-width: 100%; }
  html body .contact-value { overflow-wrap: anywhere; word-break: break-word; }
}
