/* ============================================================
   WILCZY ZEW — Private Spa & Nature
   Design: ciemna leśna elegancja
   ============================================================ */

/* ---------- Tokeny ---------- */
:root {
  --bg: #0d1310;
  --bg-2: #111a15;
  --surface: #17221b;
  --surface-2: #1d2b22;
  --border: #2b3a30;
  --border-soft: #223028;
  --text: #ede8dc;
  --text-2: #b4bdae;
  --gold: #d9a55c;
  --gold-2: #e8c084;
  --gold-dim: rgba(217, 165, 92, .14);
  --sage: #8fb69c;
  --danger: #ff7a72;
  --ok: #7fd6a2;

  --serif: "Playfair Display", Georgia, serif;
  --sans: "Karla", -apple-system, "Segoe UI", sans-serif;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  --r-s: 6px; --r-m: 12px; --r-l: 20px;

  --shadow-1: 0 4px 16px rgba(0, 0, 0, .25);
  --shadow-2: 0 16px 48px rgba(0, 0, 0, .45);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur: 260ms;

  --contact-bar-h: 52px;
  --header-h: 76px;
}

/* ---------- Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  padding-bottom: var(--contact-bar-h);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a, button { touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--gold); color: #1a1206; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--gold); color: #1a1206; padding: 12px 20px;
  font-weight: 600; border-radius: 0 0 var(--r-s) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typografia ---------- */
h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 36px; height: 1px; background: var(--gold);
  opacity: .7;
}

.lead { font-size: 1.12rem; color: var(--text-2); max-width: 62ch; }
.muted { color: var(--text-2); }

/* ---------- Layout ---------- */
.container { width: min(1160px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 48px); margin-inline: auto; }

.section { padding-block: var(--s-7); }
.section--tight { padding-block: var(--s-6); }
.section-head { max-width: 68ch; margin-bottom: var(--s-5); }
.section-head h2 { margin: 14px 0 18px; }

.grid-2 { display: grid; gap: var(--s-5); grid-template-columns: 1fr; align-items: center; }
.grid-3 { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px;
  border-radius: var(--r-s); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  cursor: pointer; text-decoration: none;
  transition: transform var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--gold { background: var(--gold); color: #201505; }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 6px 24px rgba(217, 165, 92, .28); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn--lg { min-height: 56px; padding: 16px 36px; font-size: 1.02rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* ---------- Nagłówek ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color 300ms var(--ease-out),
              border-color 300ms var(--ease-out),
              backdrop-filter 300ms var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(13, 19, 16, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--border-soft);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-3);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { height: 44px; width: auto; }
.brand__name {
  font-family: var(--serif); font-size: 1.18rem; letter-spacing: .04em; white-space: nowrap;
}

.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: inline-block;
  padding: 10px 14px; color: var(--text-2);
  font-size: .92rem; font-weight: 500;
  transition: color var(--dur) var(--ease-out);
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-2); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 12px; min-height: 42px; padding: 8px 20px; }

.lang { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.lang a {
  padding: 8px 7px; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  color: var(--text-2); border-radius: var(--r-s);
}
.lang a:hover { color: var(--text); }
.lang a[aria-current="true"] { color: var(--gold-2); }
.lang span { color: var(--border); }

@media (min-width: 1024px) { .nav { display: flex; } .menu-toggle { display: none; } }

/* Mobile menu */
.menu-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 48px; height: 48px; padding: 12px;
  background: none; border: 0;
}
.menu-toggle span {
  display: block; height: 2px; width: 100%; background: var(--text);
  border-radius: 2px;
  transition: transform 300ms var(--ease-out), opacity 200ms var(--ease-out);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(13, 19, 16, .97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-6) var(--s-4) calc(var(--contact-bar-h) + var(--s-5));
  opacity: 0; visibility: hidden;
  transition: opacity 320ms var(--ease-out), visibility 0s 320ms;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-family: var(--serif); font-size: 1.7rem; color: var(--text);
  border-bottom: 1px solid var(--border-soft);
  transform: translateY(18px); opacity: 0;
  transition: transform 420ms var(--ease-out), opacity 420ms var(--ease-out), color var(--dur);
}
.mobile-menu.is-open a { transform: none; opacity: 1; }
.mobile-menu a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu a:nth-child(2) { transition-delay: 100ms; }
.mobile-menu a:nth-child(3) { transition-delay: 140ms; }
.mobile-menu a:nth-child(4) { transition-delay: 180ms; }
.mobile-menu a:nth-child(5) { transition-delay: 220ms; }
.mobile-menu a:nth-child(6) { transition-delay: 260ms; }
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--gold-2); }
.mobile-menu .lang { margin: var(--s-4) 0 0; }
.mobile-menu .lang a { font-size: 1rem; padding: 10px 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; place-items: center;
  min-height: 100svh; min-height: 100vh;
  overflow: hidden; text-align: center;
  padding: calc(var(--header-h) + var(--s-5)) 0 var(--s-6);
}
.hero--sub { min-height: 62svh; min-height: 62vh; }

.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.hero:not(.hero--sub) .hero__bg img { animation: kenburns 22s var(--ease-out) forwards; }
@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,19,16,.55) 0%, rgba(13,19,16,.28) 40%, rgba(13,19,16,.92) 100%),
    radial-gradient(80% 60% at 50% 45%, rgba(13,19,16,0) 0%, rgba(13,19,16,.35) 100%);
}

.hero__content { position: relative; max-width: 880px; padding-inline: var(--s-3); }
.hero .eyebrow { justify-content: center; }
.hero .eyebrow::before { display: none; }
.hero h1 { margin: 18px 0 22px; text-wrap: balance; }
.hero p { font-size: 1.15rem; color: var(--text-2); max-width: 56ch; margin-inline: auto; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: var(--s-4); }

.hero__line { display: block; overflow: hidden; }
.hero__line span { display: block; transform: translateY(110%); animation: riseup 900ms var(--ease-out) forwards; }
.hero__line:nth-child(2) span { animation-delay: 120ms; }
@keyframes riseup { to { transform: none; } }
.hero .eyebrow, .hero p, .hero__cta {
  opacity: 0; transform: translateY(16px);
  animation: fadeup 800ms var(--ease-out) forwards;
}
.hero .eyebrow { animation-delay: 80ms; }
.hero p { animation-delay: 340ms; }
.hero__cta { animation-delay: 480ms; }
@keyframes fadeup { to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute; bottom: calc(var(--s-3));
  left: 50%; transform: translateX(-50%);
  color: var(--text-2); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; animation: fadeup 800ms var(--ease-out) 900ms forwards;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollhint 2.2s ease-in-out infinite;
}
@keyframes scrollhint { 50% { transform: translateY(6px); opacity: .5; } }

/* ---------- Karty / sekcje ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-m); padding: var(--s-4);
  transition: transform var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-2); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--text-2); font-size: .97rem; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-dim); color: var(--gold-2);
}
.icon-badge svg { width: 24px; height: 24px; }

.figure { border-radius: var(--r-m); overflow: hidden; position: relative; }
.figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.figure:hover img { transform: scale(1.04); }
.figure--tall { aspect-ratio: 3 / 4; }
.figure--wide { aspect-ratio: 16 / 10; }

.split { display: grid; gap: var(--s-4); align-items: center; }
.split .figure { box-shadow: var(--shadow-2); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .split--flip > .figure { order: 2; }
}

.stat-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3); margin-top: var(--s-5);
}
@media (min-width: 768px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: var(--s-3); border: 1px solid var(--border-soft); border-radius: var(--r-m); background: var(--bg-2); }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-2); font-weight: 500; }
.stat span { font-size: .85rem; color: var(--text-2); }

/* Lista udogodnień */
.amenities { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: var(--s-3); }
@media (min-width: 640px) { .amenities { grid-template-columns: 1fr 1fr; } }
.amenities li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; background: var(--bg-2);
  border: 1px solid var(--border-soft); border-radius: var(--r-s);
  color: var(--text-2); font-size: .95rem;
}
.amenities svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 2px; }

/* ---------- Galeria ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.gallery button {
  border: 0; padding: 0; background: none; border-radius: var(--r-m);
  overflow: hidden; cursor: pointer; aspect-ratio: 4 / 3; position: relative;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out), filter 600ms var(--ease-out);
}
.gallery button:hover img { transform: scale(1.05); filter: brightness(1.08); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8, 12, 10, .93);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 280ms var(--ease-out), visibility 0s 280ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img {
  max-width: min(92vw, 1300px); max-height: 82vh;
  border-radius: var(--r-s); box-shadow: var(--shadow-2);
}
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(23, 34, 27, .8); border: 1px solid var(--border);
  color: var(--text); transition: background-color var(--dur), border-color var(--dur);
}
.lightbox__btn:hover { background: var(--surface-2); border-color: var(--gold); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--text-2); font-size: .85rem; letter-spacing: .1em;
}

/* ---------- Opinie ---------- */
.reviews { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { display: flex; flex-direction: column; gap: 14px; }
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__stars svg { width: 16px; height: 16px; }
.review blockquote { font-size: .98rem; color: var(--text); font-style: italic; line-height: 1.7; }
.review footer { margin-top: auto; font-size: .85rem; color: var(--text-2); }
.review footer b { color: var(--text); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; text-align: center; overflow: hidden;
  padding: var(--s-7) var(--s-3); border-radius: var(--r-l);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-soft);
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(45% 45% at 50% 50%, rgba(217,165,92,.12), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-2); max-width: 52ch; margin: 0 auto var(--s-4); }

/* ---------- Stopka ---------- */
.footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
  padding: var(--s-6) 0 var(--s-5);
  margin-top: var(--s-7);
}
.footer__grid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 18px; font-weight: 600;
}
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--text-2); font-size: .95rem; transition: color var(--dur); }
.footer a:hover { color: var(--gold-2); }
.footer .brand { margin-bottom: 16px; }
.footer p { color: var(--text-2); font-size: .92rem; max-width: 40ch; }
.footer__contact li { display: flex; align-items: center; gap: 10px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer__bottom {
  margin-top: var(--s-5); padding-top: var(--s-3);
  border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem; color: var(--text-2);
}

/* ---------- Stały pasek kontaktu ---------- */
.contact-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 110;
  height: var(--contact-bar-h);
  background: rgba(17, 26, 21, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}
.contact-bar__inner {
  height: 100%; display: flex; align-items: center;
  justify-content: center; gap: var(--s-4);
}
.contact-bar a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 10px;
  color: var(--text); font-size: .92rem; font-weight: 500;
  transition: color var(--dur);
}
.contact-bar a:hover { color: var(--gold-2); }
.contact-bar svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
.contact-bar .btn { min-height: 38px; padding: 6px 18px; font-size: .88rem; }
@media (max-width: 560px) {
  .contact-bar__inner { justify-content: space-between; }
  .contact-bar .contact-bar__mail span { display: none; }
  .contact-bar a { font-size: .88rem; }
}

/* ---------- Strona: atrakcje / jedzenie ---------- */
.tiles { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 700px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-m); overflow: hidden;
  transition: transform var(--dur) var(--ease-out), border-color var(--dur), box-shadow var(--dur);
}
.tile:hover { transform: translateY(-4px); border-color: var(--border); box-shadow: var(--shadow-2); }
.tile__img { aspect-ratio: 16 / 8; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.tile:hover .tile__img img { transform: scale(1.05); }
.tile__body { padding: var(--s-3) var(--s-4) var(--s-4); }
.tile__body h3 { margin-bottom: 8px; }
.tile__body p { color: var(--text-2); font-size: .95rem; }
.tile__meta { margin-top: 14px; font-size: .9rem; color: var(--gold-2); display: flex; align-items: center; gap: 8px; }
.tile__meta svg { width: 16px; height: 16px; flex: none; }

/* ---------- Rezerwacja ---------- */
.booking { display: grid; gap: var(--s-4); }
@media (min-width: 1024px) {
  .booking { grid-template-columns: 1.5fr 1fr; align-items: start; }
  .booking__side { position: sticky; top: calc(var(--header-h) + var(--s-3)); }
}

.steps {
  display: flex; gap: 6px; margin-bottom: var(--s-4);
  counter-reset: step;
}
.steps li {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .78rem; letter-spacing: .04em; color: var(--text-2);
  text-align: center; position: relative; counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--bg-2);
  font-weight: 600; font-size: .85rem;
  transition: background-color var(--dur), border-color var(--dur), color var(--dur);
}
.steps li.is-active { color: var(--gold-2); }
.steps li.is-active::before { background: var(--gold); border-color: var(--gold); color: #201505; }
.steps li.is-done { color: var(--sage); }
.steps li.is-done::before { background: var(--surface-2); border-color: var(--sage); color: var(--sage); }

.panel {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--r-m); padding: var(--s-4);
}
.panel + .panel { margin-top: var(--s-3); }
.panel h3 { margin-bottom: var(--s-3); }

.booking-step { display: none; }
.booking-step.is-active { display: block; animation: stepin 360ms var(--ease-out); }
@keyframes stepin { from { opacity: 0; transform: translateY(14px); } }

/* Kalendarz */
.cal-wrap { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .cal-wrap { grid-template-columns: 1fr 1fr; } }
/* mobile: tylko jeden miesiąc; drugi kalendarz ukryty, przycisk „dalej" w pierwszym */
#calB { display: none; }
@media (min-width: 720px) {
  #calB { display: block; }
  .cal__nav--m { visibility: hidden; } /* desktop: zachowaj odstęp 44px, ukryj przycisk */
}
.cal { user-select: none; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__title { font-family: var(--serif); font-size: 1.05rem; text-transform: capitalize; }
.cal__nav {
  display: grid; place-items: center; width: 44px; height: 44px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-s);
  color: var(--text); transition: border-color var(--dur), color var(--dur);
}
.cal__nav:hover { border-color: var(--gold); color: var(--gold-2); }
.cal__nav[disabled] { opacity: .3; pointer-events: none; }
.cal__nav svg { width: 18px; height: 18px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal__dow {
  text-align: center; font-size: .7rem; letter-spacing: .08em;
  color: var(--text-2); text-transform: uppercase; padding: 6px 0;
}
.cal__day {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; aspect-ratio: 1; min-height: 44px;
  border: 1px solid transparent; border-radius: var(--r-s);
  background: var(--bg-2); color: var(--text);
  font-size: .9rem; font-variant-numeric: tabular-nums;
  transition: background-color 160ms var(--ease-out), border-color 160ms, color 160ms, transform 160ms;
}
.cal__day small { font-size: .58rem; color: var(--text-2); line-height: 1; }
.cal__day:not([disabled]):hover { border-color: var(--gold); transform: scale(1.04); }
.cal__day[disabled] { color: #55604f; background: transparent; cursor: not-allowed; text-decoration: line-through; }
.cal__day.is-empty { background: transparent; border: 0; cursor: default; }
.cal__day.in-range { background: var(--gold-dim); color: var(--gold-2); }
.cal__day.in-range small { color: var(--gold-2); opacity: .7; }
.cal__day.is-edge { background: var(--gold); color: #201505; font-weight: 700; }
.cal__day.is-edge small { color: #201505; opacity: .75; }

.cal-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: var(--s-3); font-size: .8rem; color: var(--text-2); }
.cal-legend i { display: inline-block; width: 13px; height: 13px; border-radius: 4px; margin-right: 7px; vertical-align: -2px; }

.guests-row { display: flex; align-items: center; gap: 16px; margin-top: var(--s-3); flex-wrap: wrap; }
.guests-row label { font-weight: 500; }
.stepper-input { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--border); border-radius: var(--r-s); background: var(--bg-2); }
.stepper-input button {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: none; border: 0; color: var(--gold-2); font-size: 1.2rem;
  transition: background-color var(--dur);
}
.stepper-input button:hover { background: var(--surface-2); }
.stepper-input output { min-width: 44px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Oferty */
.offers { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 720px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer {
  position: relative; text-align: left; width: 100%;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-m); padding: var(--s-4);
  cursor: pointer;
  transition: border-color var(--dur), transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
.offer:hover { transform: translateY(-3px); border-color: var(--gold); }
.offer.is-selected { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-1); }
.offer__badge {
  position: absolute; top: -12px; right: 16px;
  background: var(--gold); color: #201505;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.offer h4 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 10px; }
.offer ul { display: grid; gap: 8px; margin: 14px 0; }
.offer li { display: flex; gap: 9px; font-size: .88rem; color: var(--text-2); align-items: flex-start; }
.offer li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.offer li.ok svg { color: var(--ok); }
.offer li.no svg { color: var(--danger); }
.offer__price { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-2); }
.offer__price s { font-size: 1rem; color: var(--text-2); margin-right: 10px; }
.offer__night { font-size: .82rem; color: var(--text-2); }

/* Formularze */
.form-grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 7px; }
.field label em { color: var(--gold); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-s); color: var(--text);
  font: inherit; font-size: 16px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,165,92,.15); }
.field input.is-invalid { border-color: var(--danger); }
.field .err { display: none; margin-top: 6px; font-size: .82rem; color: var(--danger); }
.field.has-error .err { display: block; }
.field .hint { margin-top: 6px; font-size: .8rem; color: var(--text-2); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }

/* Płatność */
.pay-methods { display: grid; gap: 12px; grid-template-columns: 1fr; margin-bottom: var(--s-3); }
@media (min-width: 640px) { .pay-methods { grid-template-columns: repeat(3, 1fr); } }
.pay-method {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--r-s);
  cursor: pointer; font-weight: 500; font-size: .93rem;
  transition: border-color var(--dur), background-color var(--dur);
}
.pay-method:hover { border-color: var(--gold); }
.pay-method input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.pay-method.is-selected { border-color: var(--gold); background: var(--gold-dim); }
.pay-method svg { width: 21px; height: 21px; color: var(--gold-2); flex: none; margin-left: auto; }

.pay-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--r-s);
  background: var(--gold-dim); border: 1px solid rgba(217,165,92,.3);
  font-size: .84rem; color: var(--gold-2); margin-top: var(--s-3);
}
.pay-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }

/* Podsumowanie */
.summary__rows { display: grid; gap: 12px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 14px; font-size: .93rem; }
.summary__rows dt { color: var(--text-2); }
.summary__rows dd { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: var(--s-3); padding-top: var(--s-3);
  border-top: 1px solid var(--border);
}
.summary__total b { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.summary .placeholder { color: var(--text-2); font-size: .92rem; }
.discount-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  color: var(--ok); background: rgba(127, 214, 162, .12);
  padding: 3px 10px; border-radius: 999px;
}

.booking-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: var(--s-4); flex-wrap: wrap; }

/* Potwierdzenie */
.confirm { text-align: center; padding: var(--s-5) var(--s-3); }
.confirm__icon {
  width: 84px; height: 84px; margin: 0 auto var(--s-3);
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(127, 214, 162, .12); color: var(--ok);
  animation: pop 500ms var(--ease-out);
}
.confirm__icon svg { width: 40px; height: 40px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }
.confirm h3 { font-size: 1.8rem; margin-bottom: 10px; }
.confirm .ref { font-size: 1.05rem; color: var(--gold-2); font-weight: 600; letter-spacing: .06em; }

/* Spinner */
.spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid rgba(32,21,5,.3); border-top-color: #201505;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Zasady pobytu */
.rules { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rules { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rule {
  display: flex; gap: 14px; align-items: flex-start;
  padding: var(--s-3); background: var(--surface);
  border: 1px solid var(--border-soft); border-radius: var(--r-m);
}
.rule svg { width: 22px; height: 22px; color: var(--gold); flex: none; margin-top: 2px; }
.rule b { display: block; margin-bottom: 3px; font-weight: 600; }
.rule span { font-size: .88rem; color: var(--text-2); }

/* ---------- Kod rabatowy ---------- */
.promo { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--border-soft); }
.promo label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 7px; }
.promo__row { display: flex; gap: 8px; }
.promo__row input {
  flex: 1; min-width: 0; min-height: 44px; padding: 10px 12px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--r-s); color: var(--text);
  font: inherit; font-size: 16px; text-transform: uppercase;
  transition: border-color var(--dur);
}
.promo__row input:focus { outline: none; border-color: var(--gold); }
.promo__row .btn { min-height: 44px; padding: 8px 16px; font-size: .88rem; }
.promo__msg { font-size: .82rem; margin-top: 7px; min-height: 1em; }
.promo__msg.ok { color: var(--ok); }
.promo__msg.bad { color: var(--danger); }

/* ---------- Panel właściciela ---------- */
.admin-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13, 19, 16, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.admin-header .header__inner { height: 68px; }
.admin-badge {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-2); background: var(--gold-dim);
  padding: 5px 12px; border-radius: 999px;
}
.admin-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) { .admin-grid { grid-template-columns: 1fr 1fr; } }

.pin-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg); display: grid; place-items: center; padding: var(--s-3);
}
.pin-overlay .panel { width: min(400px, 100%); text-align: center; }
.pin-overlay input {
  width: 100%; min-height: 52px; padding: 12px 16px; margin: 14px 0;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-s);
  color: var(--text); font: inherit; font-size: 1.3rem; text-align: center; letter-spacing: .3em;
}
.pin-overlay input:focus { outline: none; border-color: var(--gold); }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: middle; }
.table th { color: var(--text-2); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.table td { font-variant-numeric: tabular-nums; }
.table .muted { font-size: .8rem; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.badge--ok { background: rgba(127, 214, 162, .14); color: var(--ok); }
.badge--off { background: rgba(229, 72, 77, .14); color: var(--danger); }
.badge--gold { background: var(--gold-dim); color: var(--gold-2); }
.badge--blue { background: rgba(110, 168, 254, .14); color: #8ab8ff; }

.btn--sm { min-height: 36px; padding: 6px 14px; font-size: .82rem; }
.btn--danger { background: rgba(229, 72, 77, .14); color: var(--danger); border-color: transparent; }
.btn--danger:hover { background: rgba(229, 72, 77, .3); }

/* kalendarz w panelu */
.adm-cal .cal__day { cursor: pointer; }
.adm-cal .cal__day.adm-booked { background: rgba(229, 72, 77, .2); color: #ffb3b0; border-color: rgba(229,72,77,.35); text-decoration: none; }
.adm-cal .cal__day.adm-block { background: var(--gold-dim); color: var(--gold-2); border-color: rgba(217,165,92,.4); text-decoration: none; }
.adm-cal .cal__day.adm-ical { background: rgba(110, 168, 254, .16); color: #8ab8ff; border-color: rgba(110,168,254,.35); text-decoration: none; }
.adm-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: .8rem; color: var(--text-2); }
.adm-legend i { display: inline-block; width: 13px; height: 13px; border-radius: 4px; margin-right: 7px; vertical-align: -2px; }

.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.form-row .field { flex: 1; min-width: 130px; }
.form-row .field input { min-height: 44px; }
.season-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr .8fr auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.season-row input {
  width: 100%; min-height: 42px; padding: 8px 10px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-s);
  color: var(--text); font: inherit; font-size: .9rem;
}
.season-row input:focus { outline: none; border-color: var(--gold); }
@media (max-width: 640px) { .season-row { grid-template-columns: 1fr 1fr; } }

.admin-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 13px 15px; border-radius: var(--r-s);
  background: rgba(110, 168, 254, .1); border: 1px solid rgba(110, 168, 254, .25);
  font-size: .84rem; color: #a8c8f5; margin-top: var(--s-3);
}
.admin-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; }

/* ---------- Strona prawna ---------- */
.legal h2 { margin: var(--s-6) 0 var(--s-3); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { margin: var(--s-4) 0 12px; font-size: 1.15rem; }
.legal p, .legal li { color: var(--text-2); font-size: .96rem; margin-bottom: 10px; }
.legal ol, .legal ul { padding-left: 22px; }
.legal ol { list-style: decimal; }
.legal ul { list-style: disc; }
.legal .toc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s-3); }

/* ---------- Animacje wejścia (scroll reveal) ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__line span { transform: none; }
  .hero .eyebrow, .hero p, .hero__cta, .hero__scroll { opacity: 1; transform: none; }
}
