/* ==========================================================================
   JUMP Park Trampolin – Środa Wielkopolska
   Fonty (Barlow + Barlow Condensed) ładowane w <head> index.html.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Zmienne / kolory marki
   -------------------------------------------------------------------------- */
:root {
  --purple: #5927ba;      /* fiolet marki */
  --ink: #21172e;         /* tekst, ciemne tła */
  --lime: #dcff4f;        /* akcent limonkowy */
  --paper: #f7f5ee;       /* tło strony */
  --line: #d5d0da;        /* linie podziału */

  --lavender: #eae5f3;    /* tło sekcji „Przed wizytą” */
  --lavender-line: #bdb6ca;
  --muted: #69616e;       /* opisy w cenniku */
  --focus: #ef668b;       /* obrys fokusu klawiatury */
  --lightbox-bg: #140e20;
  --topbar-bg: #ebe9e2;   /* pasek górny: --paper (tło menu) przyciemnione o 5% */
  --topbar-h: 40px;       /* wysokość paska górnego (komputer) */

  --font-display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --font-body: Barlow, Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Baza
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; width: 100%; object-fit: cover; }

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

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

p { margin: 0 0 1em; }

/* H1 i H2 to małe, opisowe nagłówki pod wyszukiwarki (wyglądają jak mały tekst
   nad hasłem). Duże hasła sekcji to .headline, a w hero .hero-slogan – to tylko
   wygląd, nie nagłówki. */
h1, h2 { margin: 0; font: inherit; }
h3 { margin: 0; line-height: .9; }

.headline,
.hero-slogan {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.025em;
}
.headline { font-size: clamp(54px, 5.9vw, 92px); }

em { font-style: normal; color: var(--purple); }

[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   3. Pasek górny (godziny, adres), nagłówek i nawigacja
   -------------------------------------------------------------------------- */
/* Pasek górny – nad menu, przewija się razem ze stroną (menu zostaje przyklejone) */
.hours {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--topbar-h);
  padding: 0 4.5%;
  background: var(--topbar-bg);
  font-size: 13px;
  white-space: nowrap;
}
.hours b { color: var(--purple); font-size: 12px; letter-spacing: .5px; }
.hours strong { margin-left: 8px; }
.hours a { text-decoration: underline; text-underline-offset: 3px; }
.hours a:hover { color: var(--purple); }

/* Menu po lewej, logo na środku, przycisk po prawej.
   Kolumny 1fr · auto · 1fr trzymają logo dokładnie na środku, gdy starcza miejsca. */
header {
  height: 94px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 4.5%;
  gap: 30px;
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #21172e15;
}

.logo { width: 133px; max-height: 65px; object-fit: contain; }

nav { display: flex; gap: 30px; font-weight: 600; font-size: 16px; grid-column: 1; justify-self: start; }
.brand { grid-column: 2; }
nav a:hover { color: var(--purple); }

/* Przycisk z telefonem: limonkowy, po najechaniu granatowy */
.call {
  grid-column: 3;
  justify-self: end;
  background: var(--lime);
  border: 1px solid var(--lime);
  padding: 12px 19px;
  font-weight: 600;
  transition: background-color .2s, border-color .2s, color .2s;
}
.call:hover { background: var(--ink); border-color: var(--ink); color: white; }
.call span { margin-left: 24px; }

.menu { display: none; }

.skip { position: fixed; top: -100px; }
.skip:focus { top: 10px; z-index: 100; background: white; padding: 10px; }

/* --------------------------------------------------------------------------
   4. Hero – podział 50/50 (lewa: treść, prawa: zdjęcie / wideo)

   Komputer: blok ma dokładnie wysokość ekranu pod paskiem górnym i menu
   (--topbar-h + 94px), więc zawsze widać go w całości – od 14" laptopa po 32" monitor.
   Wszystko w bloku skaluje się jednostką --u:
     1 × --u = 1px przy oknie 1440×900 (punkt odniesienia),
     mniej na mniejszych ekranach, więcej na większych (granice 0.88–2.4px).
   -------------------------------------------------------------------------- */
.hero {
  --u: clamp(.88px, min(100vw / 1440, (100svh - 94px - var(--topbar-h)) / 766), 2.4px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100svh - 94px - var(--topbar-h)); /* ekran minus pasek górny i menu */
  min-height: 420px;
  background: var(--ink); /* jak tło boxu ze strefami */
  color: white;
  overflow: hidden;
  position: relative;
}

/* Lewa połowa: etykieta i hasło u góry, tekst i przyciski na dole */
.hero-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  /* 9% połowy = 4.5% ekranu, jak logo w nagłówku */
  padding: calc(40 * var(--u)) 6% calc(48 * var(--u)) 9%;
}

.hero-top {
  text-transform: uppercase;
  font-size: max(11px, calc(12 * var(--u)));
  font-weight: 600;
  letter-spacing: calc(1.6 * var(--u));
}

/* Miejsce na hasło = cała wolna wysokość między etykietą a tekstem na dole */
.hero-title {
  flex: 1 1 0;
  min-height: 0;
  margin-top: calc(40 * var(--u));
  container-type: size;
}

.hero-slogan {
  /* Rozmiar hasła = mniejsza z dwóch wartości:
     – szerokość: najszerszy wiersz („RADOŚĆ” = 2.73 × rozmiar fontu) zajmuje
       max 70% lewego boxu; 100cqw = 85% boxu (box minus paddingi 9% + 6%),
     – wysokość: 3 wiersze × .82 = 2.46 × rozmiar fontu mieszczą się w wolnym miejscu. */
  font-size: min(calc(100cqw * .70 / .85 / 2.73), calc(100cqh / 2.46));
  line-height: .82;
  white-space: nowrap;
  margin: 0;
}
.hero-slogan em { color: var(--lime); }

.hero-bottom { margin-top: calc(48 * var(--u)); }

.hero-bottom p {
  font-size: max(15px, calc(17 * var(--u)));
  max-width: calc(450 * var(--u));
  margin: 0 0 calc(22 * var(--u));
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: calc(14 * var(--u)); }

.hero .button {
  padding: calc(18 * var(--u)) calc(24 * var(--u));
  font-size: max(14px, calc(16 * var(--u)));
  gap: calc(35 * var(--u));
}

/* Prawa połowa – zdjęcie (lub później <video>) na pełną wysokość */
.hero-media {
  position: relative;
  min-height: 100%;
}
.hero-media > img,
.hero-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Etykieta: 60% szerokości zdjęcia, wyśrodkowana, na wysokości dolnej krawędzi przycisków */
.photo-label {
  position: absolute;
  left: 50%;
  bottom: calc(48 * var(--u));
  width: 60%;
  transform: translateX(-50%);
  background: var(--lime);
  color: var(--ink);
  font-size: max(11px, calc(12 * var(--u)));
  font-weight: 700;
  text-align: center;
  padding: calc(12 * var(--u)) calc(14 * var(--u));
}

/* --------------------------------------------------------------------------
   5. Przyciski
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 18px 24px;
  border: 0;
  font-weight: 700;
  font-size: 16px;
  transition: transform .2s;
}
.button:hover { transform: translateY(-3px); }

.lime { background: var(--lime); color: var(--ink); }
.dark { background: var(--ink); color: white; }
.white { background: white; color: var(--purple); }
.outline { border: 1px solid var(--ink); background: transparent; }

/* --------------------------------------------------------------------------
   6. Sekcje – wspólne
   -------------------------------------------------------------------------- */
.section { padding: 100px 6%; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}
/* Numer sekcji („01 / ”) to ozdobnik – nie wchodzi do tekstu nagłówka */
.eyebrow[data-num]::before { content: attr(data-num) " / "; }

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px 65px;
  align-items: end;
  margin-bottom: 45px;
}
.section-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.section-heading p { max-width: 400px; margin: 0; }

/* --------------------------------------------------------------------------
   7. 01 / Atrakcje
   -------------------------------------------------------------------------- */
.attraction-stage {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  position: relative;
  background: var(--ink);
  color: white;
}

.attraction-stage > img {
  height: 610px;
  grid-column: 1;
  grid-row: 1;
  filter: brightness(.84);
}

.attraction-selector { padding: 30px 36px; grid-column: 2; grid-row: 1; }

.attraction-tab {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #ffffff30;
  background: transparent;
  text-align: left;
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 700;
  font-size: 28px;
  padding: 9px 0;
}
.attraction-tab small { font: 12px Barlow, sans-serif; opacity: .6; }
.attraction-tab span { margin-left: auto; font-family: Arial; font-size: 23px; }
.attraction-tab.active { color: var(--lime); }
.attraction-tab:hover { color: var(--lime); }

.attraction-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 57.45%;
  padding: 70px 32px 30px;
  background: linear-gradient(transparent, #170e25e8);
}
.attraction-caption b { font: 800 48px 'Barlow Condensed', Impact, sans-serif; }
.attraction-caption p { font-size: 17px; max-width: 490px; margin: 10px 0 0; }

/* --------------------------------------------------------------------------
   8. 02 / Urodziny
   -------------------------------------------------------------------------- */
.birthday {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--lime);
}

.birthday-photo { position: relative; min-height: 650px; }
.birthday-photo > img { height: 100%; position: absolute; }

.birthday-copy { padding: 65px 12% 65px 10%; }
.birthday-copy .headline { font-size: clamp(60px, 6.3vw, 96px); margin-bottom: 30px; }
.birthday-copy p { font-size: 16px; }
.birthday-copy .button { margin-top: 15px; }

.sticker {
  position: absolute;
  left: 30px;
  bottom: 35px;
  background: var(--purple);
  color: white;
  border-radius: 50%;
  width: 175px;
  height: 175px;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-13deg);
  font: 800 30px/.95 'Barlow Condensed', Impact, sans-serif;
  border: 2px dashed var(--lime);
}

/* --------------------------------------------------------------------------
   9. 03 / Cennik
   -------------------------------------------------------------------------- */
.price-tabs {
  display: flex;
  gap: 7px;
  justify-self: end;
  border-bottom: 1px solid var(--line);
}
.price-tabs button { border: 0; background: transparent; font-size: 15px; padding: 13px 17px; }
.price-tabs button.active { background: var(--ink); color: white; }

.price-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
}

.price-layout aside {
  padding: 35px;
  background: var(--purple);
  color: white;
  align-self: start;
  position: sticky;
  top: 120px;
}
.price-layout aside > span { font-size: 12px; letter-spacing: 1px; }
.price-layout aside p { margin: 20px 0; font-size: 24px; line-height: 1.2; }
.price-layout aside a { font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }

.big-price {
  font: 800 160px/1 'Barlow Condensed', Impact, sans-serif;
  letter-spacing: -7px;
  margin-top: 15px;
  color: var(--lime);
}
.big-price span { font: 600 32px Barlow, sans-serif; letter-spacing: 0; margin-left: 12px; }

.discount {
  border-top: 1px solid #ffffff60;
  margin-top: 50px;
  padding-top: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.discount b { font-size: 35px; color: var(--lime); }

.price-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}
.price-row h3 { font-size: 22px; line-height: 1.2; margin-bottom: 5px; }
.price-row p { font-size: 14px; max-width: 355px; margin: 0; color: var(--muted); }
.price-row strong { white-space: nowrap; font-family: 'Barlow Condensed', Impact, sans-serif; font-size: 39px; }
.price-row small { font: 14px Barlow, sans-serif; margin-left: 5px; }

.extras { border-top: 2px solid var(--ink); font-size: 14px; padding-top: 20px; }
.extras p { display: flex; justify-content: space-between; gap: 15px; }

/* --------------------------------------------------------------------------
   10. 04 / Przed wizytą
   -------------------------------------------------------------------------- */
.visit { background: var(--lavender); }
.visit .headline { margin-bottom: 50px; }

.visit-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }

.visit h3 { font: 700 30px/1.1 'Barlow Condensed', Impact, sans-serif; margin-bottom: 24px; }
.visit p, .visit li { font-size: 15px; }
.visit ul { padding-left: 18px; }
.visit li { padding: 0 0 10px 5px; }

.doc {
  display: block;
  border-top: 1px solid var(--lavender-line);
  padding: 16px 24px 16px 0;
  position: relative;
  font-weight: 600;
  font-size: 15px;
}
.doc small { display: block; font-weight: 400; opacity: .65; }
.doc span { position: absolute; right: 0; top: 16px; }

details { border-top: 1px solid var(--lavender-line); }
summary { padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 16px; }
details li { margin-bottom: 8px; }

/* --------------------------------------------------------------------------
   11. 05 / O nas
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about .headline { margin-bottom: 30px; }
.about p, .about li { font-size: 16px; }
.about > img {
  height: 650px;
  transform: rotate(3deg);
  box-shadow: -20px 20px 0 var(--lime);
}

/* --------------------------------------------------------------------------
   12. 06 / Galeria
   -------------------------------------------------------------------------- */
.gallery { padding-top: 40px; }

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}
.gallery-heading p { font-size: 16px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

/* Zwinięta galeria: widać tylko pierwsze 6 zdjęć */
.gallery-grid:not(.is-expanded) .gallery-item:nth-child(n + 7) { display: none; }

.gallery-item {
  padding: 0;
  border: 0;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.3;
}
.gallery-item img { height: 100%; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 17px;
  background: var(--lime);
}

/* --------------------------------------------------------------------------
   13. Stopka / kontakt
   -------------------------------------------------------------------------- */
footer { background: var(--ink); color: white; padding: 75px 6% 24px; }
footer .headline { font-size: clamp(80px, 11vw, 170px); margin-bottom: 55px; }
footer em { color: var(--lime); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 50px;
  font-size: 15px;
}
.contact-grid span { font-size: 11px; letter-spacing: 1.3px; display: block; margin-bottom: 15px; }
.contact-grid .phone { font: 700 39px/1.3 'Barlow Condensed', Impact, sans-serif; display: block; }
.contact-grid p { line-height: 1.8; }

.footer-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ffffff30;
  margin-top: 70px;
  padding-top: 25px;
  font-size: 12px;
}
.footer-end img { width: 100px; }
.footer-end span { margin-right: auto; }

/* --------------------------------------------------------------------------
   14. Lightbox galerii
   -------------------------------------------------------------------------- */
dialog {
  background: var(--lightbox-bg);
  color: white;
  border: 0;
  width: 95vw;
  max-width: 1300px;
  height: 92vh;
  padding: 50px;
  overflow: hidden;
}
dialog::backdrop { background: #100b18ed; }
dialog img { height: calc(100% - 30px); object-fit: contain; }
dialog button {
  position: absolute;
  background: var(--lime);
  border: 0;
  padding: 10px 16px;
  font-size: 24px;
}
#close-lightbox { right: 10px; top: 10px; }
#prev-photo { left: 8px; top: 50%; }
#next-photo { right: 8px; top: 50%; }
#photo-count { text-align: center; margin: 5px; font-size: 14px; }

/* --------------------------------------------------------------------------
   15. Animacje tekstów przy przewijaniu
   Wzór: oharchitecture.com.au – tekst wjeżdża linia po linii od dołu,
   spod niewidocznej krawędzi (maski). Działają duże nagłówki, akapity
   i przyciski oznaczone w HTML atrybutem data-reveal.
   Czasy i kolejność ustawia app.js („Animacje tekstów”). Całość włącza
   klasa .js-reveal na <html> (skrypt w <head>) – bez JS albo przy
   wyłączonych animacjach w systemie tekst po prostu stoi w miejscu.
   -------------------------------------------------------------------------- */
:root {
  --reveal-ease: cubic-bezier(.16, 1, .35, 1);  /* szybki start, długie, miękkie hamowanie */
}

/* Zanim skrypt przygotuje tekst – ukryty (awaryjnie pokaże się sam po 4 s) */
.js-reveal [data-reveal]:not(.reveal-ready) {
  visibility: hidden;
  animation: reveal-failsafe 0s 4s forwards;
}
@keyframes reveal-failsafe {
  to { visibility: visible; transform: none; -webkit-clip-path: none; clip-path: none; }
}

/* Teksty: każde słowo ma swoją maskę; słowa z jednej linii ruszają razem */
.reveal-mask, .reveal-word { display: inline-block; }
.js-reveal .reveal-mask {
  -webkit-clip-path: inset(-.25em -.15em);
  clip-path: inset(-.25em -.15em);
}
.js-reveal [data-reveal]:not(.is-visible) .reveal-word { transform: translateY(calc(100% + .5em)); }
.js-reveal .is-visible .reveal-word {
  transition: transform var(--reveal-duration, 1s) var(--reveal-ease) var(--reveal-delay, 0s);
}
.js-reveal .reveal-done .reveal-mask { -webkit-clip-path: none; clip-path: none; }

/* Niewidoczna kopia tekstu dla czytników ekranu (pocięta wersja jest przed nimi ukryta) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Przyciski: wjeżdżają tak samo – spod własnej dolnej krawędzi.
   Przed startem tylko zamaskowane (bez przesunięcia), żeby skrypt
   widział ich prawdziwe miejsce na stronie. */
.js-reveal .button[data-reveal]:not(.is-visible) {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
}
.js-reveal .button[data-reveal].is-visible:not(.reveal-done) {
  animation: reveal-rise var(--reveal-duration, 1s) var(--reveal-ease) var(--reveal-delay, 0s) backwards;
}
@keyframes reveal-rise {
  from { transform: translateY(100%); -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); }
  to   { transform: translateY(0);    -webkit-clip-path: inset(0);         clip-path: inset(0); }
}

/* Wydruk: wszystko widoczne od razu */
@media print {
  .js-reveal [data-reveal], .js-reveal .reveal-word, .js-reveal .reveal-mask {
    visibility: visible !important; transform: none !important; animation: none !important;
    -webkit-clip-path: none !important; clip-path: none !important;
  }
}

/* ==========================================================================
   RWD
   ========================================================================== */

/* Tablet */
@media (max-width: 1000px) {
  nav { gap: 16px; font-size: 14px; }
  .call { display: none; }

  .hero-bottom p { max-width: 320px; }

  .hours { gap: 14px; }
  .section { padding: 75px 5%; }

  .attraction-selector { padding: 25px; }
  .attraction-stage > img { height: 595px; }

  .birthday-copy { padding: 45px 8%; }

  .price-layout { gap: 35px; }
  .big-price { font-size: 130px; }

  .visit-columns { gap: 40px; }
  .about { gap: 40px; }

  .contact-grid { gap: 25px; }
  .contact-grid .phone { font-size: 32px; }
}

/* Telefon */
@media (max-width: 700px) {
  /* Nagłówek + menu rozwijane */
  header { height: 76px; padding: 0 5%; display: flex; justify-content: space-between; }
  .logo { width: 105px; }
  .menu {
    display: block;
    border: 1px solid var(--ink);
    background: transparent;
    padding: 3px 13px;
    font-size: 25px;
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    justify-self: normal; /* pełna szerokość (na komputerze menu jest wyrównane do lewej) */
    background: var(--paper);
    padding: 25px;
    box-shadow: 0 10px 20px #0002;
    flex-direction: column;
    font-size: 19px;
  }
  nav.open { display: flex; }

  /* Hero – na telefonie: treść na górze, zdjęcie pod spodem */
  .hero { display: block; height: auto; min-height: 0; }
  .hero-content { padding: 23px 5% 36px; }
  .hero-top { font-size: 10px; letter-spacing: 1.6px; }
  .hero-title { flex: none; margin-top: 0; padding-top: 28px; container-type: normal; }
  .hero-slogan { font-size: 22vw; line-height: .88; margin: 0 0 30px; white-space: normal; }
  .hero-bottom { margin-top: 0; }
  .hero-bottom p { font-size: 16px; max-width: none; margin-bottom: 22px; }
  .hero-buttons { gap: 14px; }
  .hero-media { height: 340px; min-height: 0; }
  .photo-label { bottom: 22px; font-size: 12px; padding: 12px 14px; }
  .button,
  .hero .button { padding: 16px 20px; font-size: 15px; gap: 35px; }

  /* Pasek górny */
  .hours { height: auto; padding: 10px 5%; gap: 4px 12px; flex-wrap: wrap; white-space: normal; }
  .hours > b { width: 100%; }
  .hours a { width: 100%; }

  /* Sekcje */
  .section { padding: 60px 5%; }
  .headline { font-size: 57px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading .eyebrow { margin-bottom: 20px; }
  .section-heading .headline { margin-bottom: 25px; }
  .section-heading p { font-size: 15px; }

  /* Atrakcje */
  .attraction-stage { display: flex; flex-direction: column; }
  .attraction-stage > img { height: 300px; order: 1; }
  .attraction-selector {
    order: 0;
    padding: 24px 20px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .attraction-selector .eyebrow { width: 100%; margin-bottom: 6px; }
  .attraction-tab { font-size: 20px; width: auto; padding: 5px 10px; border: 1px solid #ffffff40; }
  .attraction-tab small,
  .attraction-tab span { display: none; }
  .attraction-tab.active { background: var(--lime); color: var(--ink); }
  .attraction-caption { position: static; width: 100%; order: 2; padding: 22px; background: none; }
  .attraction-caption b { font-size: 35px; }
  .attraction-caption p { font-size: 15px; }

  /* Urodziny */
  .birthday { display: flex; flex-direction: column; }
  .birthday-photo { min-height: 320px; order: 1; }
  .birthday-copy { padding: 45px 6%; }
  .birthday-copy .headline { font-size: 64px; }
  .sticker { height: 140px; width: 140px; font-size: 25px; }

  /* Cennik */
  .price-tabs { justify-self: auto; display: inline-flex; margin-top: 5px; }
  .price-layout { display: block; }
  .price-layout aside { position: static; margin-bottom: 30px; padding: 25px; }
  .big-price { font-size: 125px; margin: 0; }
  .price-layout aside p { display: none; }
  .discount { margin-top: 20px; }
  .price-row { gap: 15px; }
  .price-row h3 { font-size: 19px; }
  .price-row p { font-size: 13px; }
  .price-row strong { font-size: 31px; }

  /* Przed wizytą */
  .visit-columns { display: block; }
  .visit-columns > div + div { margin-top: 40px; }

  /* O nas */
  .about { display: flex; flex-direction: column; gap: 40px; }
  .about > img { height: 340px; width: 92%; }

  /* Galeria */
  .gallery { padding-top: 15px; }
  .gallery-heading { display: block; }
  .gallery-heading p { margin: 25px 0 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  /* Stopka */
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  footer { padding: 55px 6% 20px; }
  footer .headline { font-size: 75px; margin-bottom: 40px; }
  .footer-end { flex-wrap: wrap; margin-top: 40px; }
  .footer-end span { max-width: 150px; }
  .footer-end a { width: 100%; }

  /* Lightbox */
  dialog { padding: 45px 12px; width: 100vw; height: 90vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
