/* =========================================================
   Pokoje Solec-Zdrój — arkusz stylów
   Kierunek: „Etykieta wód mineralnych / belle-époque zdrój"
   Nawigacja: prawy pionowy pasek · estetyka grawerunku
   ========================================================= */

:root {
  /* Kolory — stara etykieta butelki wody leczniczej */
  --bottle:    #1E3A2B;   /* butelkowa zieleń — pasek, ciemne pola */
  --bottle-dk: #16281E;
  --ink:       #3A3126;   /* atrament sepiowy — tekst */
  --ink-soft:  #6E6048;
  --parch:     #EDE3C8;   /* pergamin — tło */
  --parch-2:   #E5D8B8;   /* starszy, cieplejszy odcień */
  --panel:     #F5EEDA;   /* jaśniejsze pole / karty */
  --gold:      #A67C34;   /* antyczne złoto — ornament, akcent */
  --gold-lt:   #C6A15A;
  --brick:     #8C3A28;   /* oksblood — akcent oszczędny */

  --font-display: "Cinzel", Georgia, serif;
  --font-body: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Pinyon Script", "EB Garamond", cursive;

  --rail: 292px;
  --measure: 1080px;
  --pad: clamp(1.4rem, 4vw, 4rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  line-height: 1.68;
  color: var(--ink);
  background-color: var(--parch);
  /* delikatna papierowa tekstura + winieta */
  background-image:
    radial-gradient(120% 120% at 50% -10%, rgba(255,250,235,0.5), transparent 55%),
    radial-gradient(140% 100% at 50% 120%, rgba(30,58,43,0.06), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.14;
  margin: 0;
}

/* ---------- Dostępność ---------- */
.skip-link {
  position: fixed;
  top: 0.7rem; left: 0.7rem;
  z-index: 300;
  background: var(--bottle);
  color: var(--panel);
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

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

/* =========================================================
   PRAWY PASEK NAWIGACJI
   ========================================================= */
.railnav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: var(--rail);
  z-index: 120;
  display: flex;
  flex-direction: column;
  padding: 2.6rem 2rem;
  color: var(--parch);
  background: var(--bottle);
  border-left: 1px solid var(--gold);
}
/* podwójna złota linia obwodowa wewnątrz paska */
.railnav::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border: 1px solid rgba(198,161,90,0.35);
  pointer-events: none;
}

.rail__top { text-align: center; padding-bottom: 1.8rem; }
.rail__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--gold-lt);
}
.rail__seal svg { width: 78px; height: 78px; }
.rail__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.24rem;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: var(--parch);
  text-transform: uppercase;
}

.rail__nav { margin: auto 0; }
.rail__menu {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.rail__menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.92rem 0.3rem;
  text-decoration: none;
  color: rgba(237,227,200,0.9);
  font-family: var(--font-display);
  font-size: 1.04rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(198,161,90,0.18);
  transition: color 0.25s var(--ease), letter-spacing 0.25s var(--ease);
}
.rail__menu li:last-child a { border-bottom: none; }
.rail__menu a::before {
  content: attr(data-i);
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  min-width: 2.1em;
  text-align: right;
  transition: color 0.25s var(--ease);
}
.rail__menu a:hover,
.rail__menu a:focus-visible { color: #fff; letter-spacing: 0.2em; }
.rail__menu a[aria-current="true"] { color: var(--gold-lt); }
.rail__menu a[aria-current="true"]::before { color: var(--gold-lt); }

.rail__foot { text-align: center; padding-top: 1.8rem; }
.rail__ornament { display: block; color: var(--gold); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 0.3em; }
.rail__foot-lab {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.rail__contact {
  display: block;
  text-decoration: none;
  color: var(--parch);
  font-size: 1.16rem;
  letter-spacing: 0.04em;
}
.rail__contact:hover { color: var(--gold-lt); }

/* ---------- Pasek mobilny + hamburger (ukryte na desktopie) ---------- */
.topbar { display: none; }
.rail-overlay { display: none; }
.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid var(--gold);
  cursor: pointer;
}
.burger__lines span {
  display: block;
  width: 24px; height: 2px;
  background: var(--parch);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

/* =========================================================
   UKŁAD TREŚCI
   ========================================================= */
.page { margin-right: var(--rail); }

.section {
  max-width: var(--measure);
  margin-inline: auto;
  padding: clamp(3.4rem, 7vw, 6rem) var(--pad);
}
.section--panel {
  max-width: none;
  background: var(--panel);
  border-block: 1px solid rgba(166,124,52,0.3);
}
.section--panel > .head,
.section--panel > .pricing,
.section--panel > .contact,
.section--panel > .foot-note { max-width: var(--measure); margin-inline: auto; }
.section--dark {
  max-width: none;
  background: var(--bottle);
  color: var(--parch);
}
.section--dark > .head,
.section--dark > .gallery { max-width: var(--measure); margin-inline: auto; }

/* ---------- Nagłówki sekcji (wyśrodkowane, klasyczne) ---------- */
.head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after { content: "—"; margin: 0 0.6rem; opacity: 0.6; }
.head__title {
  font-size: clamp(1.9rem, 1.3rem + 2.7vw, 3.1rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.head--light .eyebrow { color: var(--gold-lt); }
.head--light .head__title { color: var(--parch); }
.head--light .head__intro { color: rgba(237,227,200,0.82); }

.fleuron {
  display: block;
  color: var(--gold);
  font-size: 1.35rem;
  margin: 1rem 0;
  position: relative;
}
.fleuron::before, .fleuron::after {
  content: "";
  position: absolute; top: 50%;
  width: clamp(2rem, 8vw, 4.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.fleuron::before { right: calc(50% + 1.4rem); }
.fleuron::after { left: calc(50% + 1.4rem); transform: scaleX(-1); }

.head__intro { color: var(--ink-soft); font-size: 1.12rem; }

/* =========================================================
   PLACEHOLDERY / RAMKI ZDJĘĆ (płyty)
   ========================================================= */
.plate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(166,124,52,0.06) 0 12px, transparent 12px 24px),
    var(--parch-2);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 5px var(--parch), 0 0 0 6px rgba(166,124,52,0.4);
}
.ph__label {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 1rem;
  max-width: 90%;
}
.ph--arch { border-radius: 46% 46% 4px 4px / 22% 22% 4px 4px; }
.ph--oval { border-radius: 48% / 42%; }
.plate--gold {
  background:
    repeating-linear-gradient(45deg, rgba(198,161,90,0.09) 0 12px, transparent 12px 24px),
    rgba(255,255,255,0.04);
  box-shadow: 0 0 0 5px var(--bottle), 0 0 0 6px rgba(198,161,90,0.5);
}
.plate--gold .ph__label { color: rgba(237,227,200,0.72); }

/* =========================================================
   BUTTONS — grawerowane, prostokątne
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--ink);
  position: relative;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    box-shadow 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
  pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { border-color: rgba(166,124,52,0.55); }

.btn--solid { background: var(--bottle); color: var(--parch); border-color: var(--bottle); }
.btn--solid:hover { background: var(--bottle-dk); box-shadow: 0 8px 22px rgba(30,58,43,0.28); }
.btn--outline { color: var(--ink); }
.btn--outline:hover { background: rgba(166,124,52,0.1); }
.btn--wide { width: 100%; }
.btn--sm { padding: 0.62rem 1.2rem; font-size: 0.78rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(2rem, 5vw, 4rem); }
.hero__frame {
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 6px var(--parch), inset 0 0 0 7px rgba(166,124,52,0.35);
}
.overline {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.seal { color: var(--gold); margin-inline: auto; }
.seal--hero { width: clamp(140px, 22vw, 200px); margin-bottom: 0.4rem; }
.seal__text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
}
.seal__mono { font-size: 16px; }

.hero__title {
  font-size: clamp(2.3rem, 1.4rem + 4vw, 4.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 0.4rem;
}
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
  line-height: 1;
  color: var(--brick);
  margin-top: 0.2rem;
}
.hero__lead {
  max-width: 40rem;
  margin: 1.6rem auto 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  color: var(--ink-soft);
}
.hero__actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.hero__plate { margin: clamp(2.4rem, 5vw, 3.6rem) 0 0; }
.hero__plate .plate {
  aspect-ratio: 16 / 8;
  width: 100%;
}

/* =========================================================
   LEDGER (fakty)
   ========================================================= */
.interlude {
  background: var(--bottle);
  border-block: 1px solid var(--gold);
  text-align: center;
  padding: clamp(2.4rem, 5vw, 3.6rem) var(--pad);
}
.interlude__line {
  display: inline-block;
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  line-height: 1.1;
  color: var(--gold-lt);
}
.interlude__line::before, .interlude__line::after {
  content: "✦";
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--gold);
  vertical-align: middle;
  margin: 0 clamp(0.8rem, 3vw, 1.6rem);
  position: relative;
  top: -0.5em;
}

/* =========================================================
   POKOJE
   ========================================================= */
.rooms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  max-width: 52rem;
  margin-inline: auto;
}
.rooms-note {
  text-align: center;
  margin: clamp(1.8rem, 4vw, 2.6rem) auto 0;
  max-width: 40rem;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.06rem;
}
.room { text-align: center; }
.room .plate.ph--room { aspect-ratio: 4 / 3.4; width: 100%; margin-bottom: 1.4rem; }
.room__title { font-size: 1.35rem; font-weight: 500; letter-spacing: 0.05em; }
.room__text { margin-top: 0.5rem; color: var(--ink-soft); font-size: 1.02rem; }
.tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.4rem 0.5rem; list-style: none; margin: 1rem 0 0; padding: 0;
}
.tags li {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  color: var(--bottle);
  border: 1px solid rgba(166,124,52,0.5);
}

.amenities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem 1.6rem;
  list-style: none;
  max-width: 46rem;
  margin: clamp(2.4rem, 5vw, 3.4rem) auto 0;
  padding: clamp(1.8rem, 3vw, 2.4rem) 0 0;
  border-top: 1px solid rgba(166,124,52,0.35);
  text-align: center;
}
.amenities li {
  position: relative;
  font-size: 1rem;
  padding-top: 1.4rem;
}
.amenities li::before {
  content: "✦";
  position: absolute; top: 0; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 0.7rem;
}

/* =========================================================
   CENNIK
   ========================================================= */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2rem);
  align-items: stretch;
}
.pricing--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 44rem;
  margin-inline: auto;
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 2.4rem 1.8rem 2rem;
  background: var(--parch);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 5px rgba(166,124,52,0.3);
}
.section--panel .price { background: #FBF6E7; }
.price--feat { background: var(--bottle); color: var(--parch); border-color: var(--bottle); box-shadow: inset 0 0 0 4px var(--bottle), inset 0 0 0 5px rgba(198,161,90,0.5); }
.price__ribbon {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.32rem 1rem;
  background: var(--gold);
  color: var(--bottle-dk);
}
.price__title { font-size: 1.28rem; font-weight: 500; letter-spacing: 0.05em; }
.price__value {
  margin: 1.1rem 0 1.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}
.price--feat .price__value { color: var(--gold-lt); }
.price__amt { font-size: 3rem; font-weight: 600; color: var(--ink); }
.price--feat .price__amt { color: var(--parch); }
.price__unit { font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-soft); }
.price--feat .price__unit { color: rgba(237,227,200,0.72); }
.price__list {
  list-style: none; margin: 0 0 1.8rem; padding: 1.4rem 0 0; flex: 1;
  border-top: 1px solid rgba(166,124,52,0.35);
  display: flex; flex-direction: column; gap: 0.7rem;
}
.price--feat .price__list { border-top-color: rgba(198,161,90,0.35); }
.price__list li { font-size: 1.02rem; }

/* =========================================================
   SOLEC — feature
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}
.feature__plate .plate { aspect-ratio: 4 / 4.4; width: 100%; }
.lead { font-size: 1.2rem; }
.dropcap {
  float: left;
  font-family: var(--font-display);
  font-size: 3.6rem;
  line-height: 0.8;
  font-weight: 600;
  color: var(--brick);
  margin: 0.35rem 0.6rem 0 0;
}
.notes { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.4rem; }
.note { padding-left: 1.4rem; border-left: 2px solid var(--gold); }
.note__title { font-size: 1.16rem; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 0.3rem; }
.note p { color: var(--ink-soft); font-size: 1.02rem; }

/* =========================================================
   GALERIA
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.gallery .plate { width: 100%; height: 100%; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }

/* =========================================================
   DOJAZD / MAPA
   ========================================================= */
.map-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.2rem);
  align-items: stretch;
}
.map-card {
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px var(--parch);
  min-height: 400px;
  background: var(--parch);
}
.map-frame { width: 100%; height: 100%; min-height: 400px; border: 0; }
.visitcard {
  background: var(--panel);
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 4px var(--panel), inset 0 0 0 5px rgba(166,124,52,0.3);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.visitcard__t {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}
.visitcard__addr { font-style: normal; font-size: 1.16rem; line-height: 1.7; }
.visitcard .btn { margin-top: 1.1rem; }
.rule { display: block; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 1.6rem 0; }
.visitcard__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.visitcard__list li { position: relative; padding-left: 1.4rem; color: var(--ink-soft); font-size: 1.02rem; }
.visitcard__list li::before { content: "✦"; position: absolute; left: 0; top: 0.15em; color: var(--gold); font-size: 0.72rem; }

/* =========================================================
   KONTAKT
   ========================================================= */
.call {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.5rem, 4vw, 3rem);
  background: #FBF6E7;
  border: 1px solid var(--gold);
  box-shadow: inset 0 0 0 5px #FBF6E7, inset 0 0 0 6px rgba(166,124,52,0.35);
}
.call__lead {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.call__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 1.2rem + 2.8vw, 3rem);
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 1.8rem;
}
.call__num:hover { color: var(--brick); }
.call .rule { max-width: 15rem; margin-inline: auto; }
.call__meta {
  display: flex;
  justify-content: center;
  gap: clamp(1.6rem, 7vw, 4.5rem);
  flex-wrap: wrap;
}
.call__k {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.call__v { font-style: normal; font-size: 1.08rem; line-height: 1.6; color: var(--ink); }

/* =========================================================
   STOPKA
   ========================================================= */
.site-footer { background: var(--bottle-dk); color: rgba(237,227,200,0.85); border-top: 1px solid var(--gold); }
.site-footer__inner { max-width: 46rem; margin-inline: auto; padding: clamp(3rem, 6vw, 4.5rem) var(--pad); text-align: center; }
.site-footer__seal { color: var(--gold-lt); display: flex; justify-content: center; margin-bottom: 1rem; }
.site-footer__name { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.12em; color: var(--parch); text-transform: uppercase; }
.site-footer__tag { margin-top: 0.5rem; color: rgba(237,227,200,0.65); }
.site-footer__nav { margin: 1.6rem 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 0.7rem; justify-content: center; align-items: center; }
.site-footer__nav a { text-decoration: none; color: rgba(237,227,200,0.85); font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer__nav a:hover { color: var(--gold-lt); }
.site-footer__nav span { color: var(--gold); }
.site-footer__legal { font-size: 0.86rem; color: rgba(237,227,200,0.5); border-top: 1px solid rgba(198,161,90,0.25); padding-top: 1.4rem; margin-top: 0.4rem; }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSYWNOŚĆ
   ========================================================= */
@media (max-width: 1023px) {
  :root { --rail: 0px; }
  .page { margin-right: 0; }

  /* pasek mobilny */
  .topbar {
    position: sticky; top: 0; z-index: 90;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem clamp(1rem, 4vw, 1.6rem);
    background: var(--bottle);
    border-bottom: 1px solid var(--gold);
  }
  .topbar__brand { text-decoration: none; }
  .topbar__name {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--parch);
  }

  /* pasek staje się szufladą z prawej */
  .railnav {
    width: min(310px, 82vw);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .railnav.is-open { transform: translateX(0); box-shadow: -20px 0 50px rgba(22,40,30,0.35); }

  .rail-overlay {
    display: block;
    position: fixed; inset: 0; z-index: 110;
    background: rgba(22,40,30,0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .rail-overlay.is-open { opacity: 1; pointer-events: auto; }

  .burger[aria-expanded="true"] .burger__lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__lines span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] .burger__lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .rooms { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .pricing { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .price--feat { order: -1; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature__plate { max-width: 26rem; margin-inline: auto; }
  .map-layout, .contact { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery .g1 { grid-column: span 2; grid-row: span 1; }
  .amenities { grid-template-columns: 1fr; }
}

/* =========================================================
   REDUKCJA RUCHU
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
