/*
 * Układ stron marek w stylu escapelandia.pl — strona główna.
 *
 * Przeniesione z motywu escapelandia-theme 1.9.0 (ta sama firma). Zmiany:
 *  - zmienne mają prefiks --el-, żeby nie mieszały się ze skórką marki,
 *  - akcent, złoto i tło idą za ustawieniami marki (--accent, --gold, --bg),
 *  - zamiast zamku: --hero-img (tło strony) i --el-hero (zdjęcie w hero)
 *    ustawiane w panelu operatora, Wygląd strony.
 * Nagłówek i stopka są w el-ramka.css, bo używają ich wszystkie podstrony.
 */

:root {
  --el-navy: var(--bg-2, #061523);
  --el-navy-2: var(--bg-3, #0b2134);
  --el-navy-3: var(--bg-4, #102943);
  --el-ink: #f9fbff;
  --el-muted: rgba(249, 251, 255, 0.7);
  --el-paper: var(--bg, var(--bg, #07182b));
  --el-paper-2: rgba(255, 250, 241, 0.92);
  --el-line: rgba(255, 255, 255, 0.16);
  --el-white: #ffffff;
  --el-orange: var(--accent, #d8844e);
  --el-orange-2: var(--accent-2, #f5b35f);
  --el-gold: var(--gold, #f4c977);
  --el-emerald: #20d19c;
  --el-aqua: #5ecae0;
  --el-shadow: 0 24px 70px rgba(var(--bg2-rgb, 6, 21, 35), 0.18);
  --el-cream: #fff8eb;
  --el-radius: 12px;
  --el-radius-sm: 8px;
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--el-ink);
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb, 7, 24, 43), 0) 0%, rgba(var(--bg-rgb, 7, 24, 43), 0.2) 42%, var(--bg, #07182b) 100%),
    var(--hero-img, none) top center / min(1900px, 160vw) auto no-repeat fixed,
    var(--el-paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(245, 201, 119, 0.16) 0 2px, transparent 4px),
    radial-gradient(circle at 62% 18%, rgba(255, 255, 255, 0.18) 0 1px, transparent 4px),
    radial-gradient(circle at 86% 28%, rgba(216, 132, 78, 0.18) 0 2px, transparent 5px),
    radial-gradient(circle at 12% 16%, rgba(216, 132, 78, 0.2), transparent 20%),
    radial-gradient(circle at 84% 34%, rgba(32, 209, 156, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(var(--bg-rgb, 7, 24, 43), 0.1), rgba(var(--bg-rgb, 7, 24, 43), 0.78) 58%, var(--bg, #07182b) 100%);
  background-size: auto, 420px 420px, 520px 520px, auto, auto, auto;
}

body::selection {
  color: var(--el-navy);
  background: var(--el-orange-2);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 86px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--el-white);
  background: linear-gradient(180deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.84), rgba(var(--bg2-rgb, 6, 21, 35), 0.66));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.26));
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  color: var(--el-white);
  font-size: clamp(1.18rem, 2vw, 1.56rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-text strong span {
  color: var(--el-orange);
}

.brand-text small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.45vw, 24px);
  min-width: 0;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 750;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.nav a:hover {
  color: var(--el-white);
}

.nav-toggle-input {
  display: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 34px;
  height: 34px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--el-white);
  border-radius: 3px;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

#nav-toggle:checked ~ .nav-burger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

#nav-toggle:checked ~ .nav-burger span:nth-child(2) {
  opacity: 0;
}

#nav-toggle:checked ~ .nav-burger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.book-button,
.primary-action,
.secondary-action,
.booking-strip a,
.card-body a,
.voucher a,
.voucher-toggle,
.booking-finder a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--el-radius-sm);
  font-weight: 850;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.2s ease;
}

.book-button:hover,
.primary-action:hover,
.secondary-action:hover,
.booking-strip a:hover,
.card-body a:hover,
.voucher a:hover,
.voucher-toggle:hover,
.booking-finder a:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.book-button:active,
.primary-action:active,
.secondary-action:active,
.card-body a:active {
  transform: translateY(0);
}

.book-button {
  gap: 9px;
  padding: 0 20px;
  color: #1b1208;
  background: linear-gradient(135deg, #f6c27a, var(--el-orange));
  box-shadow: 0 16px 38px rgba(216, 132, 78, 0.28);
}

.book-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 98vh;
  padding: 138px clamp(20px, 6vw, 88px) 86px;
  overflow: hidden;
  color: var(--el-white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--el-hero, none);
  background-position: center top;
  background-size: cover;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.97) 0%, rgba(var(--bg2-rgb, 6, 21, 35), 0.8) 38%, rgba(var(--bg2-rgb, 6, 21, 35), 0.18) 74%),
    linear-gradient(180deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.48) 0%, rgba(var(--bg2-rgb, 6, 21, 35), 0.04) 44%, rgba(var(--bg-rgb, 7, 24, 43), 0.98) 100%);
}

.hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 82% 13%, rgba(255, 249, 211, 0.22), transparent 9%),
    radial-gradient(circle at 79% 38%, rgba(245, 179, 95, 0.24), transparent 28%),
    radial-gradient(circle at 92% 66%, rgba(32, 209, 156, 0.18), transparent 18%),
    radial-gradient(circle at 34% 76%, rgba(245, 201, 119, 0.1), transparent 22%);
}

.hero-content {
  width: min(820px, 100%);
  padding: clamp(0px, 2vw, 18px) 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #b7ffe5;
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--el-gold), var(--el-orange));
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.8vw, 7.4rem);
  font-weight: 800;
  /* Fraunces potrzebuje luźniejszej interlinii — przy 0.94 dolne wydłużenia
     liter (y, g, ę) były obcinane i tytuł nachodził na tekst pod spodem. */
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

/* Gradient "gold-dusted" headline, hero only — the single room page keeps a
   plain dark heading (see .card--page). */
.hero h1 {
  /* background-clip:text pokazuje tylko to, co mieści się w pudełku
     elementu — dodatkowy padding u dołu gwarantuje, że ogonki liter nie
     zostaną ucięte. */
  padding-bottom: 0.1em;
  margin-bottom: 10px;
  color: transparent;
  background: linear-gradient(180deg, #ffffff 42%, var(--el-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 20px 44px rgba(0, 0, 0, 0.45));
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.hero-actions,
.quick-filters,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action {
  padding: 0 24px;
  color: #1b1208;
  background: linear-gradient(135deg, #f7c77e, var(--el-orange));
  box-shadow: 0 18px 42px rgba(216, 132, 78, 0.26);
}

.secondary-action {
  padding: 0 22px;
  color: var(--el-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-metrics span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.34);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  color: var(--el-gold);
  font-size: 1.12rem;
}

/* Szybkie filtry w hero — celowo INNE niż plakietki wyżej i przyciski
   filtrów przy atrakcjach: dyskretne tekstowe odnośniki ze złotym
   podkreśleniem, poprzedzone etykietą "Przeglądaj:". */
.quick-filters {
  margin-top: 26px;
  align-items: center;
  gap: 6px 20px;
}

.quick-filters-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 1px;
  border: none;
  border-bottom: 2px solid rgba(245, 201, 119, 0.35);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 800;
  background: none;
  box-shadow: none;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.quick-filters button::after {
  content: "→";
  color: var(--el-gold);
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.quick-filters button:hover {
  color: var(--el-gold);
  border-color: var(--el-gold);
}

.quick-filters button:hover::after {
  transform: translateX(3px);
}

.filter-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.filter-bar button:hover,
.filter-bar button.active {
  transform: translateY(-2px);
  border-color: var(--el-orange);
  background: rgba(255, 122, 26, 0.13);
}

.section,
.booking-strip {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.booking-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: -34px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--el-white);
  background:
    radial-gradient(circle at 85% 30%, rgba(245, 179, 95, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(10, 34, 58, 0.92), rgba(var(--bg-rgb, 7, 24, 43), 0.88));
  box-shadow: var(--el-shadow);
  backdrop-filter: blur(16px);
}

.booking-strip div {
  display: grid;
  gap: 6px;
}

.booking-strip span {
  color: rgba(255, 255, 255, 0.7);
}

.booking-strip a {
  flex: 0 0 auto;
  padding: 0 20px;
  color: var(--el-navy);
  background: var(--el-orange);
}

.section {
  padding: 72px 0;
  position: relative;
}

.intro,
.attractions,
.split,
.experience-strip {
  padding-inline: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 4% 0%, rgba(245, 201, 119, 0.1), transparent 20%),
    radial-gradient(circle at 100% 0%, rgba(32, 209, 156, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(8, 28, 50, 0.8), rgba(8, 28, 50, 0.62));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.experience-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 0;
}

.experience-strip article {
  min-height: 220px;
  padding: 28px;
  background:
    radial-gradient(circle at 84% 18%, rgba(245, 201, 119, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 248, 235, 0.1), rgba(255, 248, 235, 0.04)),
    rgba(var(--bg2-rgb, 6, 21, 35), 0.24);
  transition: background-color 0.25s ease;
}

.experience-strip article:hover {
  background-color: rgba(16, 41, 67, 0.5);
}

.experience-strip span,
.use-cases span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
}

.experience-strip span {
  color: var(--el-gold);
  font-weight: 950;
}

.experience-strip h3 {
  margin: 18px 0 12px;
  color: #fff4d8;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.experience-strip p {
  margin-bottom: 0;
  color: rgba(249, 251, 255, 0.72);
  line-height: 1.6;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  gap: clamp(24px, 5vw, 76px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.split h2,
.voucher h2 {
  margin-bottom: 0;
  color: var(--el-cream);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro p:last-child,
.split p,
.voucher p {
  color: var(--el-muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.operator-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  color: rgba(249, 251, 255, 0.78);
  font-weight: 800;
}

.operator-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.operator-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.operator-a { background-color: var(--el-aqua); }
.operator-b { background-color: var(--el-orange); }
.operator-c { background-color: var(--el-emerald); }
.operator-d { background-color: var(--el-gold); }

.operator-pill.operator-c,
.operator-pill.operator-d {
  color: var(--el-navy);
}

.filter-bar {
  margin-bottom: 28px;
}

.ranking-note {
  margin-bottom: 20px;
  padding: 14px 16px;
  color: rgba(249, 251, 255, 0.72);
  border: 1px solid var(--el-line);
  border-radius: 8px;
  background: rgba(255, 248, 235, 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
}

.filter-bar button {
  padding: 0 16px;
  color: var(--el-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.42);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  display: grid;
  overflow: hidden;
  min-height: 496px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  /* Same dark navy family as the rest of the page, just a touch lighter so
     cards still read as distinct tiles against the background. */
  background:
    radial-gradient(circle at 88% 0%, rgba(245, 201, 119, 0.09), transparent 30%),
    linear-gradient(180deg, rgba(20, 46, 74, 0.9), rgba(11, 27, 45, 0.96));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.card.is-hidden {
  display: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 201, 119, 0.38);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.card-media {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  background: linear-gradient(135deg, #172333, #4a5c6a);
}

/* The photo lives on its own layer so it can zoom gently on hover without
   scaling the type/operator pills sitting on top of it. */
.card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-art, linear-gradient(135deg, #172333, #4a5c6a));
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.08), rgba(var(--bg2-rgb, 6, 21, 35), 0.66));
}

.card:hover .card-media::before {
  transform: scale(1.06);
}

.type,
.operator-pill {
  position: absolute;
  z-index: 1;
  top: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--el-white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.type {
  left: 14px;
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.8);
  backdrop-filter: blur(10px);
}

.operator-pill {
  right: 14px;
  color: var(--el-navy);
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 201, 119, 0.9));
}

.card-body {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.card-body h3 {
  margin-bottom: 0;
  color: var(--el-white);
  font-family: var(--font-display);
  font-size: 1.62rem;
  font-weight: 700;
  line-height: 1.1;
}

.room-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rating-badge,
.slot-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
}

/* Cards are dark navy, so badges use light text on translucent tints with a
   hairline border (the previous dark-on-dark combinations were unreadable). */
.rating-badge {
  color: var(--el-gold);
  border: 1px solid rgba(244, 170, 69, 0.4);
  background: rgba(244, 170, 69, 0.14);
}

.slot-badge {
  color: #7dedc9;
  border: 1px solid rgba(32, 209, 156, 0.42);
  background: rgba(32, 209, 156, 0.12);
}

.slot-badge--unknown {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.card-price {
  margin-bottom: 0;
  color: var(--el-gold);
  font-weight: 800;
  line-height: 1.55;
}

/* Kafelki pomniejszone tak, żeby wszystkie cztery (osoby / czas / trudność /
   język) mieściły się w JEDNYM rzędzie — "PL/EN" nie spada już do drugiej
   linii. */
.card-body dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 8px;
  margin: 0;
}

.card-body dl div {
  padding: 8px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  min-width: 0;
}

.card-body dt {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.card-body dd {
  margin: 3px 0 0;
  color: var(--el-white);
  font-size: 0.82rem;
  font-weight: 850;
}

.card-body dd.stars {
  color: var(--el-orange-2);
  letter-spacing: 0.5px;
  font-size: 0.78rem;
}

.card-body a {
  margin-top: 2px;
  color: #1b1208;
  background: linear-gradient(135deg, #f7c77e, var(--el-orange));
  cursor: pointer;
  border: none;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.use-cases {
  display: grid;
  gap: 14px;
}

/* Ciemne karty, dopasowane do reszty strony (wcześniej kremowe). */
.use-cases article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--el-radius-sm);
  background:
    radial-gradient(circle at 88% 8%, rgba(245, 201, 119, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(16, 41, 67, 0.9), rgba(9, 24, 41, 0.92));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.use-cases article:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 201, 119, 0.35);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3);
}

.use-cases span {
  color: var(--el-gold);
  font-weight: 950;
}

.use-cases h3 {
  margin: 10px 0 8px;
  color: var(--el-cream);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.use-cases p {
  color: rgba(249, 251, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 16px;
}

.offer-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(245, 201, 119, 0.4);
  border-radius: 999px;
  color: var(--el-gold);
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(245, 201, 119, 0.08);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.offer-toggle:hover,
.offer-toggle[aria-expanded="true"] {
  border-color: var(--el-gold);
  background: rgba(245, 201, 119, 0.16);
  transform: translateY(-2px);
}

/* Rozwijany panel oferty (Dla firm / Urodziny / Szkoły) — ten sam ciemny
   styl co panel szczegółów pokoju. */
.offer-panel {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 10px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(245, 201, 119, 0.28);
  border-radius: var(--el-radius);
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 201, 119, 0.1), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(32, 209, 156, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(16, 41, 67, 0.97), rgba(9, 24, 41, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
  scroll-margin-top: 112px;
}

.offer-panel[hidden] {
  display: none;
}

.offer-panel-header {
  display: grid;
  gap: 12px;
  padding-right: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-panel-body {
  max-width: 860px;
}

.offer-panel-body p {
  margin: 0 0 14px;
  color: rgba(249, 251, 255, 0.78);
  line-height: 1.7;
}

.offer-panel-body .room-detail-section-title {
  margin-top: 12px;
}

.offer-panel-body a {
  color: var(--el-orange-2);
  font-weight: 800;
}

.offer-panel-body a:hover {
  color: var(--el-white);
}

.offer-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.offer-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(249, 251, 255, 0.8);
  line-height: 1.55;
}

.offer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--el-gold), var(--el-orange));
}

.offer-contact {
  margin-top: 6px;
}

.offer-contact a {
  color: var(--el-orange-2);
  font-weight: 800;
}

.offer-contact a:hover {
  color: var(--el-white);
}

.offer-price {
  color: var(--el-gold);
}

.voucher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 76px;
  padding: 34px;
  border-radius: 8px;
  color: var(--el-white);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 201, 119, 0.16), transparent 18%),
    radial-gradient(circle at 82% 40%, rgba(32, 209, 156, 0.24), transparent 28%),
    radial-gradient(circle at 12% 20%, rgba(245, 179, 95, 0.18), transparent 22%),
    linear-gradient(135deg, rgba(8, 28, 50, 0.96), rgba(19, 38, 60, 0.9) 58%, rgba(27, 45, 53, 0.92));
  backdrop-filter: blur(14px);
}

.voucher h2,
.voucher p {
  color: var(--el-white);
}

.voucher p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

/* Złota ikona prezentu przy nagłówku sekcji voucherów. */
.voucher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(245, 201, 119, 0.4);
  border-radius: 50%;
  background: rgba(245, 201, 119, 0.12);
}

.voucher-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--el-gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.voucher a {
  flex: 0 0 auto;
  padding: 0 22px;
  color: var(--el-navy);
  background: var(--el-orange);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  padding: 30px;
  border: 1px solid rgba(19, 32, 51, 0.14);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(255, 244, 222, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
  margin: 18px 0 4px;
  color: var(--bg-3, #0b2134);
  font-size: 1.05rem;
}

.contact-card h3:first-child {
  margin-top: 0;
}

.contact-card p {
  margin-bottom: 0;
  color: #596579;
  line-height: 1.5;
}

.contact-card p a {
  color: var(--el-orange);
  font-weight: 800;
}

.contact-social {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--el-navy);
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(216, 132, 78, 0.16);
}

.contact-social a:hover {
  background: rgba(216, 132, 78, 0.3);
}

.contact-map {
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

@media (max-width: 760px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Inline room detail panel — expands directly under the clicked card inside
   the .cards grid. Dark navy like the cards (the earlier cream version stood
   out awkwardly), organised into named sections: header with info chips,
   "O pokoju" + "Zdjęcia" side by side, then "Zarezerwuj termin". */
.room-detail {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(22px, 3vw, 30px);
  margin: -4px 0 6px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(245, 201, 119, 0.28);
  border-radius: var(--el-radius);
  background:
    radial-gradient(circle at 92% 0%, rgba(245, 201, 119, 0.1), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(32, 209, 156, 0.07), transparent 26%),
    linear-gradient(180deg, rgba(16, 41, 67, 0.97), rgba(9, 24, 41, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
  scroll-margin-top: 112px;
}

.room-detail[hidden] {
  display: none;
}

.room-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.room-detail-close:hover {
  border-color: var(--el-orange);
  background: rgba(216, 132, 78, 0.25);
}

/* Section 1: header — kicker (typ · firma), room name, info chips. */
.room-detail-header {
  display: grid;
  gap: 14px;
  padding-right: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.room-detail-kicker {
  margin: 0;
  color: var(--el-gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Room name styled like the hero headline: Fraunces with a white-to-gold
   gradient. Solid white fallback first for browsers without background-clip. */
.room-detail-header h3 {
  margin: 0;
  color: var(--el-white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.02;
  text-wrap: balance;
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .room-detail-header h3 {
    padding-bottom: 0.1em;
    color: transparent;
    background: linear-gradient(180deg, #ffffff 42%, var(--el-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
  }
}

.room-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.room-detail-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.5);
}

.room-detail-chips span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.room-detail-chips strong {
  color: var(--el-white);
  font-size: 0.92rem;
  font-weight: 850;
}

.room-detail-chips strong.stars {
  color: var(--el-orange-2);
  letter-spacing: 1px;
}

.room-detail-chip--price {
  border-color: rgba(245, 201, 119, 0.45) !important;
  background: rgba(245, 201, 119, 0.12) !important;
}

.room-detail-chip--price strong {
  color: var(--el-gold);
}

/* Small gold-dashed section labels ("O pokoju", "Zdjęcia", "Zarezerwuj
   termin") that give the panel its structure. */
.room-detail-section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #b7ffe5;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.room-detail-section-title::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--el-gold), var(--el-orange));
}

/* Section 2: description + features on the left, photo grid on the right. */
.room-detail-columns {
  display: grid;
  grid-template-columns: 1.15fr minmax(240px, 0.85fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.room-detail-desc {
  margin-bottom: 18px;
  color: rgba(249, 251, 255, 0.78);
  line-height: 1.7;
}

.room-detail-desc p {
  margin: 0 0 12px;
}

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

.room-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 460px;
  overflow-y: auto;
}

.room-detail-photo {
  display: block;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--el-radius-sm);
  overflow: hidden;
  background: none;
  cursor: zoom-in;
}

/* First photo is the hero shot — full width and taller than the rest. */
.room-detail-photo:first-child {
  grid-column: 1 / -1;
}

.room-detail-photo img {
  display: block;
  width: 100%;
  height: 110px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.room-detail-photo:first-child img {
  height: 190px;
}

.room-detail-photo:hover img {
  transform: scale(1.05);
}

/* Section 3: the lock.me booking widget, full panel width. */
.room-detail-widget-row {
  margin: 0;
}

/* Cechy i bezpieczeństwo — w stylu lock.me: dwa katalogi ("Podstawowe"
   i "Bezpieczeństwo"), każda cecha jako wiersz z kolorową ikoną i zwykłą
   etykietą (zamiast dawnych świecących plakietek). Zobacz
   escapelandia_render_feature_badges() + escapelandia_feature_icon(). */
.room-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px clamp(24px, 3vw, 40px);
  margin-bottom: 20px;
}

.feature-catalog-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 12px;
  color: var(--el-cream);
  font-size: 1.02rem;
  font-weight: 850;
}

.feature-catalog-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(249, 251, 255, 0.82);
  font-size: 0.95rem;
  line-height: 1.35;
}

.feature-item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item--pos svg { color: var(--el-emerald); }
.feature-item--info svg { color: var(--el-aqua); }
.feature-item--safe svg { color: var(--el-aqua); }
.feature-item--warn svg { color: #ff8585; }

/* Light variant for the single room page (cream card). */
.card--page .feature-item {
  color: #4a5568;
}

.card--page .feature-catalog-title {
  color: var(--bg-3, #0b2134);
}

.card--page .feature-catalog-title::after {
  background: rgba(19, 32, 51, 0.16);
}

.card--page .feature-item--warn svg { color: #d84e4e; }

.room-detail-widget {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #fff;
}

.room-detail-widget iframe {
  display: block;
  width: 100%;
  /* Sensible default: covers lock.me's typical calendar without leaving a
     large empty white strip below it (950px used to). If a given widget
     reports its real height via postMessage, script.js resizes the iframe
     to fit exactly; otherwise anything taller scrolls inside the widget. */
  height: 700px;
  border: 0;
}

@media (max-width: 760px) {
  .room-detail { padding: 20px 16px; }
  .room-detail-columns { grid-template-columns: 1fr; }

  /* Photos become one horizontally-scrolled strip under the description. */
  .room-detail-gallery {
    display: flex;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .room-detail-photo,
  .room-detail-photo:first-child {
    flex: 0 0 150px;
  }

  .room-detail-photo img,
  .room-detail-photo:first-child img {
    height: 104px;
  }

  .room-detail-widget iframe { height: 620px; }
}

/* Vouchery: expandable per-company breakdown */
.voucher-toggle {
  flex: 0 0 auto;
  padding: 0 22px;
  color: var(--el-navy);
  background: var(--el-orange);
  border: none;
  cursor: pointer;
}

.voucher-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: -46px 0 76px;
  padding: 30px clamp(20px, 4vw, 34px);
  border-radius: 8px;
  color: var(--el-white);
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(135deg, rgba(8, 28, 50, 0.96), rgba(19, 38, 60, 0.9) 58%, rgba(27, 45, 53, 0.92));
}

.voucher-panel[hidden] {
  display: none;
}

.voucher-company {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.voucher-company h3 {
  margin: 0 0 8px;
  color: var(--el-white);
  font-size: 1.05rem;
}

.voucher-rooms {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: justify;
}

.voucher-company a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--el-navy);
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--el-orange);
}

.voucher-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .voucher-panel { margin-top: 20px; }
}

/* Lightbox: click any room photo (card panel or single room page) to see it
   full-size, one shared overlay reused for every image on the page. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 18, 0.9);
  backdrop-filter: blur(4px);
}

.lightbox-image {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.8);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--el-navy);
}

/* Wideo w lightboxie (YouTube iframe albo <video> z pliku). */
.lightbox-video {
  position: relative;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-video[hidden] {
  display: none;
}

.lightbox-video iframe,
.lightbox-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Kafelek filmu w galerii: miniatura (YouTube) albo ciemne tło (plik mp4)
   + okrągła ikona odtwarzania. */
.room-detail-video {
  position: relative;
  cursor: pointer;
}

.room-detail-video--file {
  min-height: 110px;
  background:
    radial-gradient(circle at 70% 20%, rgba(245, 201, 119, 0.14), transparent 40%),
    linear-gradient(135deg, #16283c, #0a1a2c);
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-play svg {
  width: 42px;
  height: 42px;
  padding: 11px;
  box-sizing: border-box;
  border-radius: 50%;
  fill: var(--el-navy);
  background: rgba(245, 201, 119, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}

.room-detail-video:hover .video-play svg {
  transform: scale(1.1);
}

/* Wersja w pasku miniatur na podstronie pokoju. */
.room-strip-video {
  width: 84px;
  height: 64px;
  padding: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.room-strip-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.room-strip-video .video-play svg {
  width: 30px;
  height: 30px;
  padding: 8px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 18% 20%, rgba(216, 132, 78, 0.12), transparent 22%),
    #04101d;
}

.footer p {
  max-width: 560px;
  margin: 0;
  line-height: 1.6;
}

.footer-info {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-info a {
  color: var(--el-orange-2);
  font-weight: 700;
}

.footer-info a:hover {
  color: var(--el-white);
}

.footer-operators {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-terms {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.footer-terms a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.footer-terms a:hover {
  color: var(--el-orange-2);
}

/* Nagrody pokoju — lista ze złotymi pucharami (panel pokoju i podstrona). */
.room-awards {
  margin-bottom: 20px;
}

.award-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(249, 251, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.award-item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: var(--el-gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(245, 201, 119, 0.35));
}

.card--page .award-item {
  color: #33415c;
}

/* Scenariusze (Quizuj / Pixeluj) — tekst wprowadzający + lista wariantów:
   błękitny kompas, nazwa i opis pod spodem. */
.room-scenarios {
  margin-bottom: 20px;
}

.room-scenarios-intro {
  margin: 0 0 14px;
  color: rgba(249, 251, 255, 0.75);
  line-height: 1.6;
}

.scenario-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scenario-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.scenario-item svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  fill: none;
  stroke: var(--el-aqua);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(94, 202, 224, 0.3));
}

.scenario-item strong {
  display: block;
  color: var(--el-white);
  font-size: 0.95rem;
  font-weight: 850;
}

.scenario-item span {
  display: block;
  margin-top: 2px;
  color: rgba(249, 251, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}

.card--page .room-scenarios-intro,
.card--page .scenario-item span {
  color: #596579;
}

.card--page .scenario-item strong {
  color: var(--bg-3, #0b2134);
}

@media (max-width: 760px) {
  .footer-info { text-align: left; }
}

/* --- Single room page (single-pokoj.php) ---------------------------------
   The homepage cards went dark navy, but this page keeps its content on a
   light cream panel — so all its text stays dark. Previously dark inline
   colors sat on the dark card background and were unreadable. */
.card--page {
  color: #33415c;
  border-color: rgba(19, 32, 51, 0.14);
  background: linear-gradient(180deg, rgba(255, 251, 242, 0.98), rgba(255, 244, 222, 0.94));
}

.card--page:hover {
  transform: none;
  border-color: rgba(19, 32, 51, 0.14);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3);
}

.room-page-title {
  margin-bottom: 0;
  color: var(--bg-3, #0b2134);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  text-shadow: none;
}

.card--page .card-body dl div {
  border-color: rgba(19, 32, 51, 0.12);
  background: rgba(19, 32, 51, 0.045);
}

.card--page .card-body dt {
  color: #647085;
}

.card--page .card-body dd {
  color: var(--bg-3, #0b2134);
}

.card--page .card-body dd.stars {
  color: #d8844e;
}

.card--page .slot-badge {
  color: #0c6b4e;
  border-color: rgba(32, 209, 156, 0.5);
  background: rgba(32, 209, 156, 0.16);
}

.card--page .slot-badge--unknown {
  color: #647085;
  border-color: rgba(19, 32, 51, 0.16);
  background: rgba(19, 32, 51, 0.06);
}

.card--page .rating-badge {
  color: #8a5a13;
  border-color: rgba(244, 170, 69, 0.5);
  background: rgba(244, 170, 69, 0.18);
}

.room-page-price {
  margin-bottom: 0;
  color: var(--bg-3, #0b2134);
  font-weight: 800;
}

.room-page-desc {
  color: #596579;
  line-height: 1.7;
}

.room-page-back a {
  color: var(--el-orange);
  font-weight: 800;
}

.room-page-back a:hover {
  color: #b96a38;
}

/* --- Scroll-reveal (added by script.js only when the browser supports
   IntersectionObserver and the visitor hasn't asked for reduced motion) --- */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.compact .brand-logo {
  width: 52px;
  height: 52px;
}

.compact .brand-text strong {
  font-size: 1.05rem;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
    align-items: center;
  }

  .brand { order: 1; }
  .book-button { order: 2; }
  .nav-burger { display: flex; order: 3; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.98), rgba(var(--bg2-rgb, 6, 21, 35), 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transition: max-height 0.35s ease;
  }

  #nav-toggle:checked ~ .nav {
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav a {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    white-space: normal;
    font-size: 0.95rem;
  }

  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience-strip { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { min-height: 74px; padding: 10px 16px; }
  .brand-logo { width: 50px; height: 50px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { display: none; }
  .book-button { width: 46px; padding: 0; font-size: 0; }
  .book-button svg { margin: 0; }
  .hero { min-height: 94vh; padding: 110px 20px 58px; }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.94) 0%, rgba(var(--bg2-rgb, 6, 21, 35), 0.78) 72%, rgba(var(--bg2-rgb, 6, 21, 35), 0.42) 100%),
      linear-gradient(180deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.46) 0%, rgba(var(--bg2-rgb, 6, 21, 35), 0.06) 42%, rgba(var(--bg-rgb, 7, 24, 43), 0.98) 100%);
  }

  .hero-copy { font-size: 1rem; }
  .hero-metrics { gap: 8px; }
  .hero-metrics span { min-height: 40px; padding: 0 12px; font-size: 0.92rem; }
  .primary-action, .secondary-action { width: 100%; }

  .booking-strip, .intro, .experience-strip, .section-heading, .split, .voucher, .footer {
    display: grid;
  }

  .booking-strip { margin-top: -24px; }
  .booking-strip a, .voucher a { width: 100%; }
  .section { padding: 56px 0; }
  .intro, .split { grid-template-columns: 1fr; }
  .experience-strip article { min-height: auto; padding: 22px; }
  .operator-legend { justify-content: flex-start; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .card-body dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voucher { margin-bottom: 48px; padding: 26px; }
}

/* =====================================================================
 * Dodatki naszej strony — nie ma ich w motywie escapelandia.pl.
 * ===================================================================== */

/* Hero bez wgranego zdjęcia: kompozycja ze zdjęć sal zamiast zamku. */
.hero-bg--kolaz {
  left: auto; right: -2%; top: -6%; bottom: -6%; width: min(60%, 980px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.hero-bg--kolaz > div { display: flex; flex-direction: column; gap: 16px; }
.hero-bg--kolaz > div:nth-child(2) { margin-top: -120px; }
.hero-bg--kolaz img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; filter: saturate(0.92) brightness(0.85); }

/* Karta z najbliższym wolnym terminem. */
.slot-badge { gap: 6px; }

/* Nasz kalendarz w rozwiniętej karcie (zamiast widżetu lock.me). */
.room-detail-widget iframe { height: 760px; }
.room-detail-more { margin: 12px 0 0; color: var(--el-muted); font-size: 0.92rem; }
.room-detail-more a { color: var(--el-orange-2); font-weight: 800; }

/* Pakiety w panelach „Dla firm / Urodziny / Szkoły". */
.offer-list a { color: var(--el-white); }
.offer-list small { color: rgba(249, 251, 255, 0.62); }

/* Kontakt: kilka adresów w jednej karcie. */
.contact-card .contact-mapa-link { display: inline-block; margin-top: 4px; font-size: 0.9rem; }
.contact-card .godziny { font-size: 0.92rem; white-space: pre-line; }

/* Komunikaty (np. po wylogowaniu) i baner cookies — bez zwykłego arkusza. */
.el-strona .wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.el-strona .alert {
  position: relative; z-index: 5; margin: 100px 0 -76px; padding: 14px 18px; border-radius: 8px;
  color: var(--el-ink); border: 1px solid rgba(32, 209, 156, 0.4); background: rgba(8, 28, 50, 0.92);
}
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; justify-content: center; }
.consent_in {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; max-width: 920px; padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; background: rgba(var(--bg2-rgb, 6, 21, 35), 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45); color: rgba(249, 251, 255, 0.85); font-size: 0.92rem;
}
.consent_in p { flex: 1 1 380px; margin: 0; }
.consent_in a { color: var(--el-orange-2); font-weight: 700; }
.consent_btns form { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn {
  min-height: 40px; padding: 0 16px; border-radius: 8px; font-weight: 800; cursor: pointer;
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.08);
}
.consent .btn:not(.btn_alt) { color: #1b1208; border: 0; background: linear-gradient(135deg, #f7c77e, var(--el-orange)); }

@media (max-width: 760px) {
  .hero-bg--kolaz { width: 100%; right: 0; opacity: 0.45; }
  .room-detail-widget iframe { height: 680px; }
}

/* Karta prowadzi na stronę pokoju: zdjęcie i nazwa są odnośnikami. */
a.card-media { display: block; color: inherit; }
.card-body h3 a.card-title-link {
  display: inline; min-height: 0; margin: 0; padding: 0; border-radius: 0;
  color: inherit; font-weight: inherit; background: none; box-shadow: none;
}
.card-body h3 a.card-title-link:hover { transform: none; filter: none; color: var(--el-gold); }
/* =====================================================================
 * Spokojniejsza wersja (wrzesień 2026).
 *
 * Układ zostaje jak na escapelandia.pl, ale bez ozdobników, po których
 * strona wyglądała na złożoną z szablonu: kresek przed każdym małym
 * napisem, złotego gradientu w tytule, świecących plam i kropek w tle,
 * poświaty pod przyciskami, podskakujących kart i numerów 01/02/03.
 * ===================================================================== */

body::before { display: none; }
body {
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb, 7, 24, 43), 0) 0%, rgba(var(--bg-rgb, 7, 24, 43), 0.35) 40%, var(--el-paper) 90%),
    var(--hero-img, none) top center / min(1900px, 160vw) auto no-repeat fixed,
    var(--el-paper);
}

/* Małe napisy nad tytułami: zwykły tekst, bez kreski i bez rozstrzelenia. */
.eyebrow, .section-kicker {
  color: var(--el-gold); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0; text-transform: none;
}
.eyebrow::before, .section-kicker::before, .room-detail-section-title::before { display: none; }
.room-detail-section-title { color: var(--el-gold); letter-spacing: 0.04em; }

/* Tytuł: biały, bez gradientu i bez poświaty. */
.hero h1 {
  color: #fff; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  filter: none; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  font-size: clamp(2.5rem, 5vw, 4.6rem); line-height: 1.06; max-width: 14ch;
}
.hero { min-height: 84vh; }
.hero::after { display: none; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.94) 0%, rgba(var(--bg2-rgb, 6, 21, 35), 0.78) 40%, rgba(var(--bg2-rgb, 6, 21, 35), 0.2) 78%),
    linear-gradient(180deg, rgba(var(--bg2-rgb, 6, 21, 35), 0.35) 0%, rgba(var(--bg2-rgb, 6, 21, 35), 0) 40%, var(--el-paper) 100%);
}
.hero-bg { background-position: center; }
.hero-copy { max-width: 560px; }
.hero-metrics span { backdrop-filter: none; background: rgba(var(--bg2-rgb, 6, 21, 35), 0.55); }

/* Panele: płaskie, bez plam światła. */
.intro, .attractions, .split, .experience-strip {
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.86); box-shadow: none; backdrop-filter: none; border-color: rgba(255, 255, 255, 0.1);
}
.intro { display: block; padding-top: 34px; padding-bottom: 20px; }
.experience-strip article { background: rgba(var(--bg2-rgb, 6, 21, 35), 0.4); padding: 0 0 24px; min-height: 0; }
.experience-strip article:hover { background-color: rgba(var(--bg2-rgb, 6, 21, 35), 0.4); }
.experience-strip h3 { margin: 18px 24px 8px; color: #fff; }
.experience-strip p { margin: 0 24px 6px; }
.kafel-foto { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Karty: bez podskakiwania i cienia. */
.card { background: #0d2236; box-shadow: none; }
.card:hover { transform: none; box-shadow: none; border-color: rgba(255, 255, 255, 0.3); }
.card:hover .card-media::before { transform: scale(1.03); }
.type { background: rgba(var(--bg2-rgb, 6, 21, 35), 0.85); backdrop-filter: none; letter-spacing: 0.02em; }
.operator-pill { background-image: none; background-color: #f1e6cf; }

/* Przyciski: jeden płaski kolor, bez poświaty i bez podskoku. */
.primary-action, .card-body a, .voucher a {
  background: var(--el-orange); box-shadow: none; color: #1b1208;
}
.primary-action:hover, .secondary-action:hover, .card-body a:hover, .voucher a:hover,
.filter-bar button:hover, .filter-bar button.active, .use-cases article:hover, .offer-toggle:hover {
  transform: none;
}
.primary-action:hover, .card-body a:hover, .voucher a:hover { filter: brightness(1.08); }
.secondary-action { backdrop-filter: none; background: rgba(var(--bg2-rgb, 6, 21, 35), 0.5); }
.filter-bar button.active { background: var(--el-orange); color: #1b1208; border-color: var(--el-orange); }

/* Grupy i voucher: płaskie tło. */
.use-cases article { background: #0d2236; box-shadow: none; }
.use-cases h3 { margin-top: 0; color: #fff; }
.voucher { background: #0d2236; backdrop-filter: none; }
.voucher-icon { display: none; }
.voucher p { margin-top: 6px; }
.offer-panel, .room-detail { background: #0d2236; box-shadow: none; }
.offer-list li::before { background: var(--el-gold); }

/* Kontakt: biała karta zamiast kremowej z gradientem. */
.contact-card { background: #fff; box-shadow: none; }
.contact-map { box-shadow: none; }

/* Karty dla grup: przycisk do wyboru oferty obok „Zobacz szczegóły". */
.grupa-akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.grupa-btn {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px;
  color: #1b1208 !important; background: var(--el-orange); font-weight: 800; font-size: 0.88rem;
}
.grupa-btn:hover { filter: brightness(1.08); text-decoration: none; }
.offer-contact .grupa-btn { margin-right: 10px; }
/* Wybór lokalizacji w hero: co jest pod którym adresem. */
.lok-wybor { max-width: 860px; margin-top: 28px; }
.lok-wybor h2 { margin: 0 0 10px; color: #fff; font-family: inherit; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.lok-karty { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lok-karta {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(var(--bg2-rgb, 6, 21, 35), 0.78); color: #fff;
}
.lok-karta strong { font-size: 1rem; }
.lok-karta span { color: rgba(249, 251, 255, 0.74); font-size: 0.86rem; line-height: 1.45; }
.lok-karta:hover { border-color: var(--el-orange); text-decoration: none; }
.lok-karta.on { border: 2px solid var(--el-orange); padding: 13px 15px; background: rgba(216, 132, 78, 0.2); }
.lok-karta.on strong::after { content: " · wybrane"; color: var(--el-gold); font-size: 0.85rem; font-weight: 600; }
.lok-aktywna { margin: 10px 0 0; color: rgba(249, 251, 255, 0.82); }
.lok-aktywna a { margin-left: 6px; color: var(--el-orange-2); font-weight: 700; }
@media (max-width: 760px) { .lok-karty { grid-template-columns: 1fr; } }
/* „Brak wolnych terminów? Sprawdź naszą drugą lokalizację." */
.dl-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin: 26px 0 0; padding: 20px 22px; border-radius: 12px;
  border: 1px solid var(--accent, #d8844e); background: var(--accent-soft, rgba(216, 132, 78, 0.12));
}
.dl-tekst { flex: 1 1 420px; }
.dl-box h2 { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.25; }
.dl-box p { margin: 4px 0 0; font-size: 0.95rem; line-height: 1.55; }
.dl-wolne { display: inline-block; margin-left: 4px; font-weight: 700; color: var(--ok, #20d19c); }
.dl-akcje { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-btn { white-space: nowrap; }
aside .dl-box { margin: 0 0 14px; padding: 14px; }
aside .dl-box h2 { font-size: 1rem; }
aside .dl-akcje, aside .dl-btn { width: 100%; justify-content: center; }
.dl-box h2 { color: #fff; font-family: var(--font-display); }
.dl-box p { color: rgba(249, 251, 255, 0.82); }
.dl-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 800; color: #1b1208; background: var(--el-orange); }
.dl-btn:hover { filter: brightness(1.08); text-decoration: none; }

/* Rozrywka spod drugiego adresu na pasku filtrów. */
.filter-gdzie {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px dashed rgba(255, 255, 255, 0.4); color: #fff; font-weight: 600;
}
.filter-gdzie small { color: var(--el-gold); font-weight: 700; }
.filter-gdzie:hover { border-color: var(--el-orange); text-decoration: none; }
.el-nav a small { color: var(--accent, #d8844e); font-weight: 700; }
/* Szybki filtr rozrywki spod drugiego adresu (hero). */
.quick-gdzie { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; color: rgba(255, 255, 255, 0.88); font-weight: 800; border-bottom: 2px dashed rgba(245, 201, 119, 0.5); }
.quick-gdzie small { color: var(--el-gold); font-weight: 700; }
.quick-gdzie:hover { color: var(--el-gold); text-decoration: none; }
/* Zachęta dla grup w bloku o drugiej lokalizacji. */
.dl-grupa { margin-top: 8px; font-size: 14px; }
.dl-grupa a { font-weight: 700; color: var(--accent-text, #f5b35f); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
 * KORYTARZ CZTERECH DRZWI
 *
 * Nagłówek strony głównej jest jedną sceną: po lewej tytuł i wezwanie,
 * po prawej cztery wejścia — każde w kamiennym łuku, z neonową nazwą
 * nad drewnianym skrzydłem i światłem rozlanym po mokrej podłodze.
 * Najechanie uchyla skrzydło: zza niego bije kolor rozrywki, a w progu
 * widać, ile jest sal, od ilu złotych i przycisk do terminów.
 * Wszystko rysuje CSS, więc scena wygląda tak samo bez zdjęć.
 * ===================================================================== */

.hero--drzwi {
  min-height: 100vh;
  align-content: center;
  padding: clamp(110px, 13vh, 150px) clamp(18px, 4vw, 56px) clamp(24px, 3vh, 40px);
  text-align: left;
  background: #0f0d0b;
}
.hero--drzwi .hero-bg { opacity: 0.16; filter: saturate(0.5) brightness(0.55) blur(3px); transform: scale(1.08); }
.hero--drzwi::before {
  background:
    radial-gradient(80% 70% at 68% 48%, rgba(20, 26, 40, 0.55), transparent 72%),
    linear-gradient(180deg, #05060b 0%, rgba(7, 9, 16, 0.86) 40%, #05060b 100%);
}
/* Ziarno kamienia i tynku — bez niego tło wygląda jak płaski gradient. */
.hero--drzwi::after {
  display: block; z-index: -1; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero--drzwi .hero-content {
  display: grid; grid-template-columns: minmax(280px, 30%) 1fr; align-items: center;
  gap: clamp(24px, 3.5vw, 64px); width: min(1500px, 100%); margin-inline: auto; padding: 0;
}

.hero--drzwi .eyebrow {
  color: rgba(255, 255, 255, 0.5); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.hero--drzwi h1 {
  max-width: none; margin-bottom: 18px;
  font-size: clamp(2.2rem, 3.6vw, 4rem); font-weight: 900; line-height: 1.02;
  letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance;
}
.hero--drzwi h1 .h1-zloty { display: block; color: var(--el-gold); }
.hero--drzwi .hero-copy {
  max-width: 34ch; margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72); font-size: clamp(0.98rem, 1.1vw, 1.12rem); line-height: 1.6;
}
.hero--drzwi .hero-actions { gap: 16px; align-items: center; }
.hero--drzwi .primary-action {
  gap: 12px; min-height: 58px; padding: 0 30px; border-radius: 10px;
  color: var(--el-gold); background: transparent; border: 2px solid var(--el-gold);
  box-shadow: 0 0 34px -12px var(--el-gold); font-weight: 800; letter-spacing: 0.01em;
}
.hero--drzwi .primary-action .strzalka { transition: transform 0.2s ease; }
.hero--drzwi .primary-action:hover { color: #14100a; background: var(--el-gold); box-shadow: 0 0 44px -8px var(--el-gold); }
.hero--drzwi .primary-action:hover .strzalka { transform: translateX(4px); }
.hero--drzwi .secondary-action {
  min-height: 0; padding: 0; border: 0; background: none; backdrop-filter: none;
  color: rgba(255, 255, 255, 0.72); text-decoration: underline; text-underline-offset: 5px;
}
.hero--drzwi .secondary-action:hover { color: #fff; }
.hero-odreczne {
  margin: 26px 0 0; max-width: 26ch;
  color: rgba(255, 255, 255, 0.82); font-size: 1.45rem; line-height: 1.45;
  font-family: "Snell Roundhand", "Brush Script MT", "Segoe Script", cursive; font-style: italic;
  transform: rotate(-2deg); transform-origin: left;
}

/* --- Korytarz ---------------------------------------------------- */

.drzwi {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 0.8vw, 16px);
  perspective: 1400px;
}
/* Mokra posadzka pod drzwiami. */
.drzwi::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; z-index: 0; height: clamp(70px, 9vw, 130px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 46%, rgba(255, 255, 255, 0) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 90px),
    linear-gradient(180deg, #221c17, #110e0c);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  /* Brzegi rozpływają się w ciemności, żeby posadzka nie była prostokątem. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 76%, transparent 100%);
  pointer-events: none;
}

.drzwi-a { position: relative; z-index: 1; display: block; padding-bottom: clamp(70px, 9vw, 130px); color: #fff; text-decoration: none; }

/* Kamienny łuk: wejście wykute w murze. */
.drzwi-luk {
  position: relative; display: flex; flex-direction: column; align-items: center;
  aspect-ratio: 1 / 1.62; padding: 8% 7% 0;
  border-radius: 46% 46% 4px 4px / 22% 22% 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #23252e 0%, #171921 46%, #0e1016 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 20px 50px -24px color-mix(in srgb, var(--k) 70%, transparent),
    0 26px 60px -30px #000;
  overflow: hidden;
  transition: box-shadow 0.35s ease;
}
/* Lampka nad drzwiami — źródło światła całej bramy. */
.drzwi-lampa {
  position: absolute; top: 3.5%; left: 50%; width: 10px; height: 10px; transform: translateX(-50%);
  border-radius: 50%; background: var(--k);
  box-shadow: 0 0 16px 5px color-mix(in srgb, var(--k) 75%, transparent);
}
.drzwi-nazwa {
  margin-top: 6%; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(0.72rem, 1.02vw, 1.05rem); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--k); text-align: center; line-height: 1.15;
  text-shadow: 0 0 6px color-mix(in srgb, var(--k) 90%, transparent), 0 0 26px color-mix(in srgb, var(--k) 60%, transparent);
}
.drzwi-haslo {
  margin: 2px 0 0; color: rgba(255, 255, 255, 0.66);
  font-size: clamp(0.62rem, 0.75vw, 0.82rem); text-align: center; line-height: 1.3;
}

/* Próg: to, co widać po uchyleniu skrzydła. */
.drzwi-info {
  position: absolute; left: 8%; right: 8%; bottom: 0; top: 30%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 6px 4px; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--k) 26%, #0a0c12), #05060a);
  box-shadow: inset 0 0 60px -10px color-mix(in srgb, var(--k) 75%, transparent);
  border-radius: 40% 40% 0 0 / 14% 14% 0 0;
}
.drzwi-fakty { color: rgba(255, 255, 255, 0.9); font-size: 0.74rem; line-height: 1.45; }
.drzwi-fakty strong { display: inline-block; margin-top: 2px; color: var(--k); font-size: 0.9rem; }
.drzwi-fakty em { font-style: normal; color: rgba(255, 255, 255, 0.62); }
.drzwi-cta {
  padding: 7px 12px; border-radius: 999px; background: var(--k); color: #0b0d12;
  font-size: 0.7rem; font-weight: 900; white-space: nowrap;
}

/* Skrzydło: deski, dwa płyciny i neonowa ikona. */
.drzwi-plyta {
  position: absolute; left: 8%; right: 8%; bottom: 0; top: 30%;
  display: grid; place-items: center;
  border-radius: 40% 40% 0 0 / 14% 14% 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0 2px, rgba(255, 255, 255, 0.03) 2px 3px, transparent 3px 16px),
    linear-gradient(180deg, #6b4c2a 0%, #4a3318 52%, #2a1c0c 100%);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.45),
    inset 0 30px 60px -30px color-mix(in srgb, var(--k) 80%, transparent),
    0 0 30px -12px color-mix(in srgb, var(--k) 60%, transparent);
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s ease;
  will-change: transform;
}
.drzwi-plyta::before {
  content: ""; position: absolute; inset: 9% 12%;
  border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 44% 44% 3px 3px / 12% 12% 0 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
/* Klamka. */
.drzwi-plyta::after {
  content: ""; position: absolute; right: 9%; top: 58%; width: 7px; height: 7px; border-radius: 50%;
  background: #d9b779; box-shadow: 0 0 8px rgba(217, 183, 121, 0.7);
}
.drzwi-ikona { width: 48%; color: var(--k); filter: drop-shadow(0 0 12px color-mix(in srgb, var(--k) 85%, transparent)); }
.drzwi-ikona svg { width: 100%; height: auto; display: block; }

/* Światło rozlane na posadzce — smuga w kolorze rozrywki. */
.drzwi-swiatlo {
  position: absolute; left: 50%; bottom: 0; width: 120%; height: clamp(70px, 9vw, 130px);
  transform: translateX(-50%);
  background: linear-gradient(180deg, color-mix(in srgb, var(--k) 78%, transparent), transparent 72%);
  clip-path: polygon(36% 0, 64% 0, 100% 100%, 0 100%);
  opacity: 0.55; filter: blur(16px); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
  transition: opacity 0.35s ease;
}

@media (hover: hover) {
  .drzwi-a:hover .drzwi-plyta { transform: perspective(900px) rotateY(-82deg); }
  .drzwi-a:hover .drzwi-luk { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k) 45%, transparent), inset 0 20px 70px -20px var(--k), 0 30px 70px -28px #000; }
  .drzwi-a:hover .drzwi-swiatlo { opacity: 0.95; }
}
.drzwi-a:focus-visible .drzwi-plyta { transform: perspective(900px) rotateY(-82deg); }
.drzwi-a:focus-visible .drzwi-luk { outline: 2px solid var(--el-gold); outline-offset: 4px; }

/* Rozrywka z drugiego adresu świeci słabiej — to podpowiedź, nie oferta. */
.drzwi-a--indziej .drzwi-luk { filter: saturate(0.7) brightness(0.8); }
.drzwi-a--indziej:hover .drzwi-luk { filter: none; }

/* --- Pasek atutów pod sceną --------------------------------------- */

.hero-pasek {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 46px);
  width: min(1200px, 100%); margin: clamp(18px, 3vh, 36px) auto 0; padding: clamp(16px, 2.4vh, 26px) 0 0;
  list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-pasek li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, 0.64); font-size: 0.88rem; line-height: 1.4; }
.hero-pasek li + li { padding-left: clamp(14px, 2.4vw, 46px); border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero-pasek strong { color: #fff; font-size: 1rem; font-weight: 700; }
.pasek-ikona { flex: 0 0 auto; width: 34px; color: rgba(255, 255, 255, 0.8); }
.pasek-ikona svg { width: 100%; height: auto; display: block; }

/* Wybór lokalizacji jest tu paskiem pigułek, a nie trzema kartami. */
.lok-wybor--pas { max-width: none; margin-top: 26px; }
.lok-wybor--pas h2 {
  margin-bottom: 10px; color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.lok-wybor--pas .lok-karty { display: flex; flex-wrap: wrap; gap: 8px; }
.lok-wybor--pas .lok-karta { flex: 0 1 auto; padding: 8px 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.lok-wybor--pas .lok-karta span { display: none; }
.lok-wybor--pas .lok-karta strong { font-size: 0.85rem; font-weight: 600; }
.lok-wybor--pas .lok-karta.on { padding: 7px 14px; }

@media (max-width: 1080px) {
  .hero--drzwi .hero-content { grid-template-columns: 1fr; gap: 30px; }
  .hero--drzwi .hero-copy { max-width: 52ch; }
  .drzwi { padding-bottom: 80px; }
  .hero-odreczne { display: none; }
}
@media (max-width: 720px) {
  .hero--drzwi { min-height: 0; padding-top: 96px; }
  .drzwi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 60px; }
  .drzwi-luk { aspect-ratio: 1 / 1.45; }
  .hero-pasek { grid-template-columns: 1fr; gap: 14px; }
  .hero-pasek li + li { padding-left: 0; border-left: 0; }
}
/* Na dotyku nie ma najeżdżania, a w wąskim progu nic się nie mieści:
   skrzydło zostaje zamknięte, a liczby i wezwanie kładziemy pod bramą. */
@media (hover: none) {
  .drzwi-luk { overflow: visible; }
  .drzwi-plyta { transform: none; }
  .drzwi-info {
    top: calc(100% + 10px); bottom: auto; left: 0; right: 0;
    padding: 0; gap: 8px; background: none; box-shadow: none; border-radius: 0;
  }
  .drzwi-a { padding-bottom: clamp(104px, 22vw, 150px); }
  .drzwi-swiatlo { opacity: 0.75; }
}
@media (prefers-reduced-motion: reduce) {
  .drzwi-plyta, .drzwi-swiatlo, .drzwi-luk { transition: none; }
}

/* =====================================================================
 * KORYTARZ NA ZDJĘCIU
 *
 * Gdy marka ma wgraną scenę (hero-scena.webp), cztery drzwi to fotografia,
 * a my nakładamy na nie niewidoczne strefy. Najechanie rozświetla wejście
 * (kolor rozrywki wtapiany trybem „screen" w zdjęcie), rozjaśnia smugę na
 * posadzce i wysuwa kartę z liczbami i przyciskiem. Położenie stref jest
 * w procentach szerokości zdjęcia, więc skaluje się razem z nim.
 * ===================================================================== */

.hero--scena { background: #0d0b09; }
.hero--scena .hero-bg { display: none; }
.hero--scena::before {
  background:
    radial-gradient(70% 60% at 62% 45%, rgba(18, 22, 34, 0.5), transparent 70%),
    linear-gradient(180deg, #0c0a08 0%, rgba(12, 10, 8, 0.7) 30%, #0d0b09 100%);
}
.hero--scena .hero-content { grid-template-columns: minmax(280px, 27%) 1fr; gap: clamp(10px, 2vw, 40px); }
.hero--scena .hero-tekst { position: relative; z-index: 2; }

.scena { position: relative; z-index: 1; }
.scena-foto {
  display: block; width: 100%; height: auto; border-radius: 6px;
  /* Brzegi zdjęcia rozpływają się w tle, żeby scena nie była prostokątem. */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0, #000 13%, #000 94%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, transparent 0, #000 9%, #000 88%, rgba(0, 0, 0, 0.5) 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0, #000 13%, #000 94%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, transparent 0, #000 9%, #000 88%, rgba(0, 0, 0, 0.5) 100%);
  mask-composite: intersect;
  filter: saturate(1.06) contrast(1.04);
}

/* Strefa: dokładnie nad jednymi drzwiami (łuk + skrzydło). */
.scena-drzwi {
  position: absolute; left: var(--l); width: var(--w); top: 7%; height: 66%;
  display: block; color: #fff; text-decoration: none; border-radius: 48% 48% 3% 3% / 22% 22% 2% 2%;
  outline: none;
}
/* Rozświetlenie wejścia: kolor w trybie screen, znika poza najechaniem. */
.scena-blask {
  position: absolute; inset: -6% -10%; border-radius: inherit;
  background: radial-gradient(60% 55% at 50% 58%, var(--k), transparent 70%);
  mix-blend-mode: screen; opacity: 0; filter: blur(6px);
  transition: opacity 0.35s ease;
}
/* Smuga na posadzce pod drzwiami. */
.scena-podloga {
  position: absolute; left: 50%; top: 100%; width: 160%; height: 52%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--k), transparent 80%);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen; opacity: 0; filter: blur(22px);
  transition: opacity 0.35s ease;
}
.scena-nazwa { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Karta z liczbami wysuwa się z progu drzwi. */
.scena-info {
  position: absolute; left: 50%; bottom: 6%; width: max(150px, 130%); transform: translate(-50%, 14px);
  display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 12px 10px;
  border-radius: 14px; text-align: center;
  background: rgba(6, 8, 14, 0.82); border: 1px solid color-mix(in srgb, var(--k) 55%, transparent);
  box-shadow: 0 18px 44px -14px #000, 0 0 30px -10px var(--k);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.scena-info .drzwi-fakty { font-size: 0.8rem; }
.scena-info .drzwi-fakty strong { font-size: 1rem; }

@media (hover: hover) {
  .scena-drzwi:hover .scena-blask { opacity: 0.55; }
  .scena-drzwi:hover .scena-podloga { opacity: 0.7; }
  .scena-drzwi:hover .scena-info { opacity: 1; transform: translate(-50%, 0); }
}
.scena-drzwi:focus-visible .scena-info { opacity: 1; transform: translate(-50%, 0); }
.scena-drzwi:focus-visible .scena-blask { opacity: 0.55; }
.scena-drzwi:focus-visible { box-shadow: 0 0 0 3px var(--k); }
/* Wejście do rozrywki z drugiego adresu jest lekko przygaszone. */
.scena-drzwi--indziej::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(12, 10, 8, 0.42); transition: opacity 0.3s ease;
}
.scena-drzwi--indziej:hover::after { opacity: 0; }

@media (max-width: 1080px) {
  .hero--scena .hero-content { grid-template-columns: 1fr; }
}
/* NA TELEFONIE DRZWI ZOSTAJĄ NA ZDJĘCIU.
   Wcześniej scena rozpadała się tu na zdjęcie + cztery kafle pod nim: zajmowało
   to pół ekranu, a samych drzwi nie dało się kliknąć. Teraz kadrujemy zdjęcie
   ciaśniej (sam korytarz, bez muru po lewej), przez co drzwi są większe, a
   strefy klikalne przelicza skrypt — dokładnie tak, jak przy scenie na całą
   szerokość. Blask pulsuje bez najeżdżania, bo na dotyku nie ma kursora. */
@media (max-width: 720px), (hover: none) {
  .scena { display: block; position: relative; }
  .scena-foto {
    aspect-ratio: 6 / 5; object-fit: cover; object-position: 84% center;
    border-radius: 12px; -webkit-mask-image: none; mask-image: none;
  }
  .scena-drzwi { border-radius: 10px; }
  .scena-blask { opacity: 0.3; animation: scenaTetno 3.6s ease-in-out infinite; }
  .scena-drzwi:nth-child(3) .scena-blask { animation-delay: 0.9s; }
  .scena-drzwi:nth-child(4) .scena-blask { animation-delay: 1.8s; }
  .scena-drzwi:nth-child(5) .scena-blask { animation-delay: 2.7s; }
  .scena-podloga { opacity: 0.45; }
  /* Dotknięcie zapala wejście od razu — to jedyna informacja zwrotna,
     jaką da się dać bez kursora. */
  .scena-drzwi:active .scena-blask { opacity: 0.75; animation: none; }
  .scena-drzwi:active .scena-podloga { opacity: 0.85; }
  /* Karta z liczbami nie mieści się na 56-pikselowych drzwiach — liczby
     i ceny są niżej, na kartach rozrywek. */
  .scena-info { display: none; }
}
@keyframes scenaTetno {
  0%, 100% { opacity: 0.22; }
  50%      { opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .scena-blask { animation: none; }
}

/* Scena na całą szerokość: tekst leży na ciemnym murze po lewej stronie
   zdjęcia, a nie obok niego. */
.hero--scena .hero-content { display: block; position: relative; width: min(1600px, 100%); }
.hero--scena .hero-tekst {
  position: absolute; left: 3.6%; top: 50%; width: 29%; transform: translateY(-52%); z-index: 3;
}
.hero--scena .scena-foto {
  border-radius: 0;
  -webkit-mask-image:
    linear-gradient(90deg, #000 0, #000 96%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(180deg, transparent 0, #000 8%, #000 90%, rgba(0, 0, 0, 0.45) 100%);
  mask-image:
    linear-gradient(90deg, #000 0, #000 96%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(180deg, transparent 0, #000 8%, #000 90%, rgba(0, 0, 0, 0.45) 100%);
}
.hero--scena .hero-copy { max-width: 30ch; }
.hero--scena .lok-wybor--pas { margin-top: 20px; }
@media (max-width: 1080px) {
  .hero--scena .hero-content { display: grid; }
  .hero--scena .hero-tekst { position: static; width: auto; transform: none; }
  .hero--scena .scena-foto {
    /* na wąskim ekranie pokazujemy sam korytarz, nie cały mur */
    aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% center; border-radius: 10px;
    -webkit-mask-image: none; mask-image: none;
  }
}
/* Tytuł na scenie: dwie linie jak na makiecie, nie cztery. */
.hero--scena h1 { font-size: clamp(1.8rem, 2.65vw, 3.4rem); margin-bottom: 14px; }
@media (min-width: 1081px) { .hero--scena .hero-tekst { width: 30%; } }
.hero--scena .hero-odreczne { font-size: 1.3rem; margin-top: 20px; }

/* =====================================================================
 * STRONA GŁÓWNA JAK NA MAKIECIE: nagłówki ze złotym słowem i odręcznym
 * dopiskiem, „Z kim dziś grasz?", karty rozrywek z plakietką w kolorze
 * świata, „Cztery światy", opinie i wezwanie na koniec.
 * ===================================================================== */

:root { --font-odreczny: "Caveat", "Snell Roundhand", "Segoe Script", "Bradley Hand", cursive; }
.hero-odreczne { font-family: var(--font-odreczny); font-style: normal; }

/* --- Nagłówek sekcji ------------------------------------------------ */
.sekcja-naglowek { position: relative; margin: 0 0 26px; text-align: center; }
.sekcja-naglowek h2 {
  margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: 0.01em; line-height: 1.1; color: #fff;
}
.zloto { color: var(--el-gold); }
.sekcja-opis { margin: 8px auto 0; max-width: 62ch; color: var(--el-muted); font-size: 0.98rem; }
.dopisek {
  margin: 0; font-family: var(--font-odreczny); font-size: 1.35rem; line-height: 1.15;
  color: var(--el-gold); text-align: right; transform: rotate(-5deg); transform-origin: right top;
}
.sekcja-naglowek .dopisek { position: absolute; right: 0; top: -4px; max-width: 220px; }
@media (max-width: 900px) {
  .sekcja-naglowek .dopisek { position: static; display: inline-block; margin-top: 12px; transform: rotate(-3deg); text-align: center; }
}

/* Sekcje z rozmytym korytarzem w tle: neonowe plamy światła za treścią. */
.attractions, .opinie { position: relative; isolation: isolate; overflow: hidden; }
.attractions::before, .opinie::before {
  content: ""; position: absolute; inset: -60px; z-index: -1; pointer-events: none;
  background: var(--scena, none) center / cover no-repeat; opacity: 0.22;
}

/* --- Z kim dziś grasz? --------------------------------------------- */
.grasz-karty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.grasz-karta {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; overflow: hidden;
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.6);
}
.grasz-foto { display: block; width: calc(100% + 36px); margin: 0 -18px; }
.grasz-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; filter: saturate(0.95); transition: transform 0.4s ease; }
.grasz-karta:hover .grasz-foto img { transform: scale(1.04); }
.grasz-ikona {
  display: grid; place-items: center; width: 46px; height: 46px; margin: -23px 0 8px; border-radius: 50%;
  background: var(--el-paper); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--el-gold);
}
.grasz-ikona svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.grasz-karta h3 { margin: 4px 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; color: #fff; }
.grasz-karta > p { margin: 0 0 14px; color: var(--el-muted); font-size: 0.92rem; line-height: 1.5; }
.grasz-karta .grupa-akcje { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.grasz-karta .offer-toggle { background: none; border: 0; padding: 0; color: var(--el-gold); font-weight: 700; cursor: pointer; }
.grasz-karta .offer-toggle:hover { text-decoration: underline; }
@media (max-width: 1000px) { .grasz-karty { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grasz-karty { grid-template-columns: 1fr; } }

/* --- Karty rozrywek ------------------------------------------------- */
.type {
  color: var(--k, var(--el-gold)); background: color-mix(in srgb, var(--k, var(--el-gold)) 18%, #05060a);
  border: 1px solid color-mix(in srgb, var(--k, var(--el-gold)) 55%, transparent);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem;
  text-shadow: 0 0 10px color-mix(in srgb, var(--k, var(--el-gold)) 60%, transparent);
}
.fakty { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 8px; padding: 0; list-style: none; color: var(--el-muted); font-size: 0.86rem; }
.fakty li { display: inline-flex; align-items: center; gap: 6px; }
.fakty svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }
.card-body .slot-badge { display: inline-block; margin: 0 0 8px; }
.card-body .reserve-toggle {
  display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin-top: auto;
  border-radius: 10px; background: linear-gradient(135deg, var(--el-orange-2), var(--el-orange)); color: #1b1208;
  font-weight: 800; box-shadow: 0 12px 30px -16px var(--el-orange);
}
.card-body .reserve-toggle:hover { filter: brightness(1.06); text-decoration: none; transform: none; }
.card-body { display: flex; flex-direction: column; }

/* --- Cztery światy -------------------------------------------------- */
.swiaty-siatka { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.swiat { padding: 26px 22px; text-align: center; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.swiat:first-child { border-left: 0; }
.swiat-ikona { display: block; width: 66px; margin: 0 auto 14px; color: var(--k); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--k) 75%, transparent)); }
.swiat-ikona svg { width: 100%; height: auto; display: block; }
.swiat h3 {
  margin: 0 0 4px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--k); text-shadow: 0 0 16px color-mix(in srgb, var(--k) 55%, transparent);
}
.swiat-haslo { margin: 0 0 10px; color: rgba(255, 255, 255, 0.6); font-size: 0.86rem; }
.swiat > p:not(.swiat-haslo) { margin: 0 0 14px; color: var(--el-muted); font-size: 0.92rem; line-height: 1.55; }
.swiat a { color: var(--el-gold); font-weight: 700; }
@media (max-width: 900px) {
  .swiaty-siatka { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .swiat { border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; }
}
@media (max-width: 520px) { .swiaty-siatka { grid-template-columns: 1fr; } }

/* --- Opinie ---------------------------------------------------------- */
.opinie-siatka { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.opinia {
  display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px; background: rgba(var(--bg2-rgb, 6, 21, 35), 0.72);
}
.gwiazdki { color: var(--el-gold); letter-spacing: 2px; font-size: 0.95rem; }
.opinia p { flex: 1; margin: 0; font-size: 0.93rem; line-height: 1.55; color: rgba(255, 255, 255, 0.86); }
.opinia footer { display: grid; gap: 2px; }
.opinia footer strong { font-size: 0.9rem; color: #fff; }
.opinia footer small { color: var(--el-muted); font-size: 0.8rem; }

/* --- Wezwanie na koniec --------------------------------------------- */
.cta-koniec { position: relative; padding: clamp(36px, 5vw, 60px) 24px; text-align: center; }
.cta-koniec h2 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 3.4vw, 2.7rem); color: #fff; }
.cta-koniec p:not(.dopisek) { margin: 0 auto 22px; max-width: 60ch; color: var(--el-muted); }
.cta-koniec .primary-action { display: inline-flex; gap: 10px; min-height: 54px; padding: 0 30px; border-radius: 10px; font-weight: 800; }
.cta-koniec .dopisek { position: absolute; right: 24px; bottom: 24px; max-width: 220px; }
@media (max-width: 900px) { .cta-koniec .dopisek { position: static; display: inline-block; margin-top: 18px; transform: rotate(-3deg); } }
/* Nowe sekcje dostają tę samą płytę co pozostałe. */
.grasz, .swiaty, .opinie, .cta-koniec {
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px;
  background: rgba(var(--bg2-rgb, 6, 21, 35), 0.86);
}
html[lang="en"] .lok-karta.on strong::after { content: " · selected"; }

/* Kotwice sekcji: zapas na przyklejoną belkę, żeby nagłówek nie chował się
   pod nią ani przy płynnym przewijaniu, ani przy wejściu z adresu z #. */
section[id], [id="atrakcje"], [id="vouchery"], [id="kontakt"] { scroll-margin-top: 86px; }
@media (max-width: 760px) { section[id] { scroll-margin-top: 72px; } }

/* =====================================================================
 * PŁYNNE PRZEWIJANIE: koniec z „doładowywaniem" tła i białymi przebłyskami
 *
 * Tło strony miało warstwę `background-attachment: fixed`. Przeglądarka
 * musi ją przemalować przy KAŻDEJ klatce przewijania — na telefonie i na
 * Safari kończy się to szarpaniem, a w przerwie między klatkami widać biel
 * kanwy spod spodu. Tę samą warstwę kładziemy teraz na przyklejonym
 * pseudoelemencie: wygląda identycznie, ale idzie osobną warstwą kompozytora
 * i nie przemalowuje się wcale.
 * ===================================================================== */
html { background: var(--el-paper, #15120f); }

body {
  /* Bez warstwy „fixed" — zostaje gradient i kolor papieru. */
  background:
    linear-gradient(180deg, rgba(var(--bg-rgb, 7, 24, 43), 0) 0%, rgba(var(--bg-rgb, 7, 24, 43), 0.35) 40%, var(--el-paper) 90%),
    var(--el-paper);
}

/* Zdjęcie hero jako osobna, przyklejona warstwa pod treścią. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--hero-img, none) top center / min(1900px, 160vw) auto no-repeat;
}
body:not(.el-strona)::after { display: none; }

/* Co jest gdzie — pod hasłem na pierwszym ekranie. */
.hero-gdzie { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 4px; color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; line-height: 1.4; }
.hero-gdzie strong { color: #fff; font-weight: 700; }

/* Średnia szerokość (tablet, małe okno laptopa): tekst w dwóch kolumnach i niższy kadr
   korytarza — drzwi mieszczą się na pierwszym ekranie, bez pustego pola po prawej. */
@media (min-width: 721px) and (max-width: 1080px) {
  .hero--scena .hero-tekst { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 32px; align-items: start; }
  .hero--scena .hero-tekst > * { grid-column: 1; }
  .hero--scena .hero-tekst > .hero-gdzie { grid-column: 2; grid-row: 2 / span 2; margin-top: 8px; }
  .hero--scena .hero-tekst > .lok-wybor { grid-column: 2; grid-row: 4 / span 2; margin-top: 0; }
  .hero--scena .hero-tekst > .hero-odreczne { display: none; }
  .hero--scena .hero-copy { max-width: none; }
  .hero--scena .scena-foto { aspect-ratio: 16 / 8; }
}
/* Szeroki ekran: z listą „co gdzie" kolumna tekstu była za wysoka — bez odręcznego dopisku
   i odrobinę szersza, żeby „Sprawdź wolne terminy" i „Urodziny i grupy" zmieściły się w jednej linii. */
@media (min-width: 1081px) {
  .hero--scena .hero-gdzie ~ .hero-odreczne { display: none; }
  .hero--scena .hero-tekst { width: 33%; }
  .hero--scena .hero-gdzie { font-size: 0.9rem; margin-bottom: 16px; }
  .hero--scena .lok-wybor--pas { margin-top: 16px; }
}

/* ------------------------------------------------------------------
   VOUCHER NA PREZENT (strona główna) — wzór od klienta: matowa czarna
   koperta, karta ze złotym tłoczeniem (Cinzel), złota wstążka, pasek
   kroków pod spodem. Scena 640×620 skaluje się przez --sk.
   Stan początkowy animacji tylko przy .pojaw--js (bez JS widać koniec).
------------------------------------------------------------------- */
.pv { --zloto-folia: linear-gradient(100deg, #8a6a2f 0%, #f3d58a 28%, #b8893d 52%, #f7e2a4 74%, #9c7432 100%); padding-block: clamp(40px, 6vw, 90px) 0; }
.pv-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.pv-eb { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; font-size: .8rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: #e9c77f; }
.pv-eb::after { content: ""; width: 90px; height: 1px; background: linear-gradient(90deg, #e9c77f, transparent); }
.pv h2 { margin: 0 0 20px; font-family: var(--font-display); font-weight: 800; text-transform: none; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -.01em; color: #fff; }
.pv h2 .zloto { background: linear-gradient(180deg, #f9e2a6 0%, #e9bd64 55%, #b98535 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pv-lead { margin: 0 0 26px; max-width: 52ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.5; color: rgba(255, 255, 255, .78); }
.pv-fakty { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0 0 30px; padding: 0; list-style: none; }
.pv-fakty li { display: inline-flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .9); font-size: 1.02rem; }
.pv-fakty li::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #d9b066; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23f4c977' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.pv-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.pv-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 32px; border-radius: 6px; font-weight: 800; font-size: 1.08rem; color: #1b1208 !important; text-decoration: none !important;
  background: linear-gradient(180deg, #f6d98f, #e2b35c 60%, #c9933f); box-shadow: 0 14px 36px -14px rgba(233, 189, 100, .8), inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .2s, box-shadow .2s; }
.pv-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px rgba(233, 189, 100, .95), inset 0 1px 0 rgba(255, 255, 255, .4); }
.pv-dostawa { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: rgba(255, 255, 255, .68); }
.pv-dostawa svg { width: 20px; height: 20px; fill: none; stroke: #e9c77f; stroke-width: 1.6; stroke-linejoin: round; }

/* Pasek „Jak to działa" pod całą sekcją, oddzielony złotą linią. */
.pv-kroki { display: flex; align-items: center; gap: 22px; margin: clamp(30px, 4vw, 50px) 0 0; padding: 30px 0 34px; list-style: none; border-top: 1px solid rgba(233, 199, 127, .38); }
.pv-kroki li { display: flex; align-items: center; gap: 16px; flex: 1 1 0; min-width: 0; color: rgba(255, 255, 255, .86); font-size: 1.02rem; }
.pv-kroki li:not(:last-child)::after { content: ""; flex: 1 1 40px; height: 1px; min-width: 30px; margin-left: 10px; background: linear-gradient(90deg, rgba(233, 199, 127, .55), rgba(233, 199, 127, .15)); }
.pv-kroki li b { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid #d9b066; color: #e9c77f; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.pv-kroki li span { white-space: nowrap; }

.pv-scena { --sk: 1; position: relative; height: calc(620px * var(--sk)); }
.pv-plansza { position: absolute; left: 50%; top: 0; width: 640px; height: 620px; margin-left: -320px; transform: scale(var(--sk)); transform-origin: top center; }
.pv-poswiata { position: absolute; inset: 30px 0 80px; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none;
  background: radial-gradient(circle at 22% 45%, var(--k1, #ffb43f), transparent 40%), radial-gradient(circle at 48% 20%, var(--k2, #d94cff), transparent 38%),
              radial-gradient(circle at 70% 26%, var(--k3, #2f8bff), transparent 38%), radial-gradient(circle at 90% 44%, var(--k4, #25e35c), transparent 40%); }

/* Złota wstążka za kopertą. */
.pv-wstazka { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.pv-wstazka path { fill: none; stroke: url(#pvZloto); stroke-width: 17; stroke-linecap: butt; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
.pv-wstazka path.blask { stroke: rgba(255, 241, 200, .35); stroke-width: 2; filter: none; }

/* Koperta: wnętrze, otwarta klapa, karta, przód z trzech zagięć. */
.pv-koperta { position: absolute; left: 100px; top: 196px; width: 440px; height: 280px; z-index: 2; transform: rotate(-3deg); }
.pv-k-wnetrze { position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(180deg, #050505, #121212); box-shadow: 0 50px 70px -30px #000, 0 20px 40px -20px rgba(0, 0, 0, .8); }
.pv-k-klapa { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 150px; clip-path: polygon(0 100%, 50% 0, 100% 100%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(0deg, #0c0c0c, #1d1d1d 70%, #262626); background-size: 160px, auto; }
.pv-karta { position: absolute; left: 50px; top: 16px; width: 340px; height: 220px; z-index: 1; border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(circle at 50% 0%, #1d1d1d, #0a0a0a 70%); background-size: 160px, auto; background-blend-mode: soft-light, normal;
  box-shadow: 0 24px 50px -16px #000, 0 0 0 1px rgba(255, 255, 255, .04);
  transform-origin: 50% 100%; transform: translate(-14px, -168px) rotate(8deg); }
.pv-karta-ramka { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-karta-ramka path { fill: none; stroke: #c9a153; stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .9; }
.pv-karta > span { background: var(--zloto-folia); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .7)); }
.pv-karta-marka { display: inline-flex; align-items: center; font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: 1.75rem; letter-spacing: .14em; line-height: 1; }
.pv-dziurka { width: .95em; height: .95em; margin: 0 .06em; flex: none; }
.pv-dziurka circle:first-child { fill: #d8b064; }
.pv-dziurka .w { fill: #0b0b0b; }
.pv-karta .pv-karta-miasto { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-family: "Cinzel", Georgia, serif; font-size: .6rem; letter-spacing: .5em; text-transform: uppercase; }
.pv-karta-voucher { margin-top: 14px; font-family: "Cinzel", Georgia, serif; font-weight: 500; font-size: 3rem; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.pv-karta .pv-karta-kreska { width: 46px; height: 1px; margin: 12px 0 10px; background: #c9a153; -webkit-background-clip: border-box; background-clip: border-box; filter: none; }
.pv-karta-haslo { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.2rem; letter-spacing: .06em; }
.pv-k-przod { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.pv-k-przod > span { position: absolute; inset: 0; border-radius: 6px; background-size: 160px, auto; }
.pv-k-lewa  { clip-path: polygon(0 0, 54% 56%, 0 100%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(100deg, #2e2e2e, #1a1a1a 45%, #121212 85%); }
.pv-k-prawa { clip-path: polygon(100% 0, 46% 56%, 100% 100%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(260deg, #282828, #161616 45%, #0f0f0f 85%); }
.pv-k-dol   { clip-path: polygon(0 100%, 50% 40%, 100% 100%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), linear-gradient(0deg, #0b0b0b, #171717 55%, #2c2c2c 96%); }
.pv-k-krawedzie { position: absolute; inset: 0; width: 100%; height: 100%; }
.pv-k-krawedzie path { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pv-k-przod { filter: drop-shadow(0 -3px 4px rgba(0, 0, 0, .55)); }

/* Wachlarz voucherów sal — wysuwa się spod koperty. */
.pv-wachlarz { position: absolute; left: 0; right: 0; top: 452px; height: 160px; margin: 0; padding: 0; list-style: none; z-index: 1; }
.pv-wachlarz li { position: absolute; left: 50%; top: 0; width: 142px; height: 92px; translate: calc(-50% + var(--x)) var(--y); rotate: var(--r); }
.pv-wachlarz li:hover { z-index: 5; }
.pv-mini { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 1px; padding: 9px 11px; border-radius: 8px; overflow: hidden; text-decoration: none !important;
  background: linear-gradient(180deg, rgba(5, 5, 5, .1), rgba(5, 5, 5, .9)), var(--foto, linear-gradient(135deg, #202020, #0b0b0b)) center / cover;
  border: 1px solid rgba(217, 176, 102, .6); box-shadow: 0 16px 30px -12px #000; transition: transform .25s; }
.pv-mini:hover { transform: translateY(-10px) scale(1.06); }
.pv-mini-eb { font-family: "Cinzel", Georgia, serif; font-size: .56rem; letter-spacing: .24em; text-transform: uppercase; color: #e9c77f; }
.pv-mini strong { font-family: var(--font-display); font-size: .98rem; line-height: 1.05; text-transform: uppercase; color: #fff; }

/* Animacja: karta w kopercie → wysuwa się (jak wyciągana ręką); wachlarz spod spodu. */
.pojaw--js:not(.pojaw--on) .pv-karta { transform: translate(0, 18px) rotate(3deg); }
.pojaw--js:not(.pojaw--on) .pv-wachlarz li { translate: -50% -150px; rotate: 0deg; scale: .7; opacity: 0; }
.pojaw--on .pv-karta { transition: transform 1.6s cubic-bezier(.22, .8, .24, 1) .45s; }
.pojaw--on .pv-wachlarz li { transition: translate .95s cubic-bezier(.2, .9, .25, 1.12) calc(1.8s + var(--i) * .14s), rotate .95s ease calc(1.8s + var(--i) * .14s),
  scale .95s ease calc(1.8s + var(--i) * .14s), opacity .4s ease calc(1.8s + var(--i) * .14s); }
.pv-karta::after { content: ""; position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(105deg, transparent 40%, rgba(255, 236, 190, .13) 50%, transparent 60%);
  background-size: 250% 100%; background-position: 130% 0; animation: pv-blysk 7s ease-in-out 3.5s infinite; pointer-events: none; }
@keyframes pv-blysk { 0%, 72% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) {
  .pojaw--js .pv-karta, .pojaw--on .pv-wachlarz li { transition: none; }
  .pojaw--js:not(.pojaw--on) .pv-karta { transform: translate(-14px, -168px) rotate(8deg); }
  .pojaw--js:not(.pojaw--on) .pv-wachlarz li { translate: calc(-50% + var(--x)) var(--y); rotate: var(--r); scale: 1; opacity: 1; }
  .pv-karta::after { animation: none; }
}
@media (max-width: 1100px) { .pv-scena { --sk: .86; } }
@media (max-width: 980px) {
  /* Na wąskim ekranie karta idzie zaraz pod tytułem i tekstem, przed faktami. */
  .pv-in { grid-template-columns: 1fr; gap: 0; }
  .pv-tekst { display: contents; }
  .pv-eb { order: 1; } .pv h2 { order: 2; } .pv-lead { order: 3; } .pv-scena { --sk: .95; order: 4; margin: 0 0 14px; }
  .pv-fakty { order: 5; } .pv-cta { order: 6; }
  .pv-kroki { flex-wrap: wrap; }
}
@media (max-width: 760px) {
  .pv-kroki { flex-direction: column; align-items: stretch; gap: 0; padding-block: 22px 26px; }
  .pv-kroki li { flex-direction: row; }
  .pv-kroki li:not(:last-child)::after { display: none; }
  .pv-kroki li:not(:last-child) { padding-bottom: 26px; position: relative; }
  .pv-kroki li:not(:last-child)::before { content: ""; position: absolute; left: 26px; top: 56px; bottom: 4px; width: 1px; background: rgba(233, 199, 127, .4); }
  .pv-kroki li b { width: 44px; height: 44px; margin-left: 4px; font-size: 1.1rem; }
}
@media (max-width: 640px) { .pv-scena { --sk: .74; } .pv-btn { width: 100%; justify-content: center; } }
@media (max-width: 520px) { .pv-scena { --sk: .64; } }
@media (max-width: 430px) { .pv-scena { --sk: .54; } }
@media (max-width: 360px) { .pv-scena { --sk: .48; } }

/* Wersja FunRoom: fotograficzna koperta z grafiki — trzy warstwy (assets/voucher/):
   tło, karta (wysuwa się), przód koperty. Brzegi zdjęcia rozmyte w tło sekcji. */
.pv-scena--foto { height: auto; }
.pv-foto { position: relative; width: 112%; margin-left: -6%; aspect-ratio: 912 / 785;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  mask-composite: intersect; }
.pv-w { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.pv-w-karta img { width: 100%; height: 100%; display: block; }
.pv-w-karta { transform: translate(1.86%, -9.17%); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .35)); }
.pv-blysk { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url("/assets/voucher/karta.webp?v=1") 0 0 / 100% 100% no-repeat; mask: url("/assets/voucher/karta.webp?v=1") 0 0 / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 44%, rgba(255, 234, 186, .24) 50%, transparent 56%) 0 0 / 300% 100% no-repeat;
  background-position: 110% 0; animation: pv-blysk-foto 7s ease-in-out 3.6s infinite; }
@keyframes pv-blysk-foto { 0%, 68% { background-position: 110% 0; } 100% { background-position: -10% 0; } }
.pojaw--js:not(.pojaw--on) .pv-w-karta { transform: translate(0, 0); }
.pojaw--on .pv-w-karta { transition: transform 1.9s cubic-bezier(.25, .75, .2, 1) .5s; }
.pojaw--js:not(.pojaw--on) .pv-foto { opacity: 0; translate: 0 26px; }
.pojaw--on .pv-foto { transition: opacity .8s ease, translate .9s cubic-bezier(.2, .8, .2, 1); }

/* Wachlarz pod kopertą — czarne karty ze złotym tłoczeniem, jak voucher na zdjęciu. */
.pv-scena--foto .pv-wachlarz { position: relative; top: auto; left: auto; right: auto; height: 150px; margin: -88px 0 0; z-index: 3;
  transform: scale(var(--skw, 1)); transform-origin: top center; }
.pv-scena--foto .pv-wachlarz li { width: 138px; height: 88px; }
.pv-scena--foto .pv-mini { align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 10px;
  background: radial-gradient(circle at 30% 0%, #262626, #0b0b0b 72%); border: 1px solid rgba(201, 160, 83, .75); border-radius: 6px;
  box-shadow: 0 18px 30px -14px #000, 0 0 0 1px rgba(0, 0, 0, .6); }
.pv-scena--foto .pv-mini::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(201, 160, 83, .38); border-radius: 3px; pointer-events: none; }
.pv-scena--foto .pv-mini-eb { font-size: .5rem; letter-spacing: .34em; color: #c9a053; }
.pv-scena--foto .pv-mini strong { font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: .7rem; line-height: 1.15; letter-spacing: .01em; max-width: 100%; overflow-wrap: anywhere;
  background: linear-gradient(100deg, #8a6a2f 0%, #f3d58a 30%, #b8893d 55%, #f7e2a4 78%, #9c7432 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: reduce) {
  .pojaw--js .pv-w-karta, .pojaw--on .pv-foto { transition: none; }
  .pojaw--js:not(.pojaw--on) .pv-w-karta { transform: translate(1.86%, -9.17%); }
  .pojaw--js:not(.pojaw--on) .pv-foto { opacity: 1; translate: none; }
  .pv-blysk { animation: none; }
}
@media (max-width: 980px) { .pv-foto { width: 108%; margin-left: -4%; } }
@media (max-width: 640px) { .pv-scena--foto { --skw: .74; } .pv-scena--foto .pv-wachlarz { margin-top: -70px; height: 124px; } }
@media (max-width: 430px) { .pv-scena--foto { --skw: .56; } .pv-scena--foto .pv-wachlarz { margin-top: -56px; height: 96px; } }

/* ===== Poprawki telefonu przed startem (18.10.2026) ===== */
/* Nic nie wystaje w bok (dekoracje sceny z drzwiami potrafiły poszerzyć stronę o kilka pikseli → przewijanie w bok). */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { body { overflow-x: hidden; } }
/* „Urodziny i grupy” w hero: korytarz.css przywracał ramkę przyciskowi, który w hero--drzwi jest bez odstępów — wychodził zgnieciony pasek.
   Teraz normalny, drugi przycisk obok złotego. */
body.el-uklad .hero--drzwi .secondary-action {
  min-height: 52px; padding: 0 24px; border-radius: 10px; text-decoration: none;
  border: 1px solid rgba(243, 235, 221, 0.28); color: rgba(255, 255, 255, 0.86);
}
body.el-uklad .hero--drzwi .secondary-action:hover { border-color: rgba(243, 235, 221, 0.5); color: #fff; }
@media (max-width: 899px) {
  /* iPhone powiększa stronę po dotknięciu pola z czcionką mniejszą niż 16 px — wszystkie pola 16 px. */
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px !important; }
  /* Pasek „Rezerwuję” na dole strony pokoju nie może zasłaniać końca stopki. */
  body:has(#rezerwacja.rez-nowy .rez-dol) { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
