/* Klub Żaguń — zaproszenie na Ptasią 11
   Kierunek: „split stage” (stała połowa ze zdjęciem klubu), Besley + Libre Franklin, kolory z logo.
   Ruch: tylko transform i opacity, krzywe ease-out, szacunek dla „ogranicz ruch”. */

:root {
  /* kolory z logo i z sali klubu */
  --papier: #F1F3EE;
  --kamien: #E1E5DD;
  --biel: #FBFCF9;
  --atrament: #17342E;
  --atrament-2: #4A615B;
  --lisc: #7DB84A;
  --lisc-jasny: #93C966;
  --butelka: #1F5B3B;
  --morze: #156F8C;
  --morze-ciemne: #0F5F79;

  /* tokeny wspólne z komponenty.css */
  --kolor-tlo: var(--papier);
  --kolor-tekst: var(--atrament);
  --kolor-akcent: var(--atrament);
  --kolor-na-akcencie: var(--papier);
  --kolor-linia: rgba(23, 52, 46, .2);
  --promien: 20px;
  --font-tekst: 'Libre Franklin', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Besley', Georgia, 'Times New Roman', serif;

  /* pięć stopni pisma */
  --t-small: .875rem;
  --t-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --t-lead: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-head: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem);
  --t-giant: clamp(5.5rem, 24.5vw, 27rem);

  --m: 12px;
  --wciecie: clamp(24px, 3.4vw, 48px);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

/* ---------- podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--kamien);
  color: var(--atrament);
  font-family: var(--font-tekst);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .98;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--t-head); }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lisc); outline-offset: 3px; }
::selection { background: var(--lisc); color: var(--atrament); }
mark {
  background: var(--lisc);
  color: var(--atrament);
  padding: 0 .18em;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.tylko-telefon { display: block; }

/* ---------- przyciski: jeden kształt (pigułka), jedno wypełnienie ---------- */
.przycisk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: var(--lisc);
  color: var(--atrament);
  font-weight: 600;
  font-size: var(--t-body);
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.przycisk:active { transform: scale(.97); }
.przycisk--ciemny { background: var(--atrament); color: var(--papier); }
.przycisk--maly { min-height: 46px; padding: 0 20px; }
@media (hover: hover) and (pointer: fine) {
  .przycisk:hover { background: var(--lisc-jasny); }
  .przycisk--ciemny:hover { background: #24493F; }
}

/* ---------- scena: arkusz do czytania + okno ze zdjęciem ---------- */
.scena {
  display: flex;
  flex-direction: column;
  padding: var(--m) var(--m) 0;
}
.okno {
  order: -1;
  position: sticky;
  top: var(--m);
  z-index: 0;
  height: 46svh;
  min-height: 300px;
  border-radius: var(--promien);
  overflow: hidden;
  background: #31443D;
}
.okno__kadr { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s var(--ease-in-out); }
.okno__kadr.jest { opacity: 1; }
.okno__kadr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: blur(8px);
  transition: transform 2.6s var(--ease-out), filter 1s var(--ease-in-out);
}
.okno__kadr.jest img { transform: scale(1); filter: none; }
.okno__kadr[data-kadr="1"] img { object-position: 50% 30%; }
.okno__kadr[data-kadr="2"] img { object-position: 50% 28%; }
.okno__pasek {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  background: var(--papier);
  font-size: var(--t-small);
  font-weight: 600;
}
.okno__pasek a { text-decoration: none; font-variant-numeric: tabular-nums; }

.arkusz {
  position: relative;
  z-index: 1;
  margin-top: var(--m);
  background: var(--papier);
  border-radius: var(--promien);
  overflow: clip;
}

/* ---------- pierwszy ekran: karta jak menu ---------- */
.hero {
  display: flex;
  flex-direction: column;
  padding: 10px 20px 56px;
  text-align: center;
}
.hero__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.hero__link {
  justify-self: start;
  padding: 12px 2px;
  font-size: var(--t-small);
  font-weight: 600;
  text-decoration: none;
}
.hero__link:last-child { justify-self: end; }
@media (hover: hover) and (pointer: fine) {
  .hero__link { transition: color 150ms ease; }
  .hero__link:hover { color: var(--butelka); text-decoration: underline; }
}
.hero__logo { display: block; }
.hero__logo img { width: min(40vw, 230px); height: auto; }
.hero__tresc {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-top: clamp(16px, 4vh, 64px);
}
.hero__tytul { font-size: var(--t-head); color: var(--butelka); max-width: 18ch; }
.hero__linia { display: block; }
.hero__zdanie { max-width: 40ch; }

/* ---------- list z kuponem ---------- */
.list {
  width: 100%;
  max-width: calc(520px + 2 * 24px);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 168px) 24px clamp(72px, 12vh, 140px);
}
.list > p + p { margin-top: 1.2em; }
.list__portret {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 28px;
}
.list__podpis { margin-top: 2rem; }
.list__imiona { display: block; font-style: italic; font-size: var(--t-lead); line-height: 1.3; }
.list__rola { display: block; margin-top: 2px; font-size: var(--t-small); color: var(--atrament-2); }

.kupon { margin-top: clamp(48px, 7vh, 72px); }
.kupon__perforacja {
  height: 5px;
  margin: 0 10px 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='5'%3E%3Ccircle cx='2.5' cy='2.5' r='2.5' fill='%2317342E' fill-opacity='.45'/%3E%3C/svg%3E") repeat-x left center / 14px 5px;
}
.kupon__karta {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--promien);
  background: var(--lisc);
  color: var(--atrament);
}
.kupon__karta::before,
.kupon__karta::after {
  content: "";
  position: absolute;
  top: 74px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--papier);
}
.kupon__karta::before { left: -13px; }
.kupon__karta::after { right: -13px; }
.kupon__gora { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 34px; }
.kupon__tytul, .kupon__cena { font-family: var(--font-display); font-weight: 800; font-size: var(--t-lead); letter-spacing: -.01em; line-height: 1.1; }
.kupon__cena { font-variant-numeric: tabular-nums; }
.kupon__etykieta { display: block; font-size: var(--t-small); font-weight: 600; margin-bottom: 8px; }
.kupon__pole {
  width: 100%;
  min-height: 60px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--promien);
  background: var(--papier);
  color: var(--atrament);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-lead);
  letter-spacing: -.01em;
  transition: background-color 160ms ease;
}
.kupon__pole::placeholder { color: var(--atrament-2); font-family: var(--font-tekst); font-weight: 400; letter-spacing: 0; }
.kupon__pole:focus { background: var(--biel); outline: 3px solid var(--atrament); outline-offset: 2px; }
.kupon__szczegoly { margin-top: 18px; line-height: 1.45; }
.kupon__akcje { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 22px; }
.kupon__wyslij {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.kupon__wyslij:active { transform: scale(.97); }
.kupon__stan { min-height: 1.4em; margin-top: 12px; font-size: var(--t-small); font-weight: 600; }
.kupon__stan.stan--nowy, .kupon__wyslij-tekst.stan--nowy { animation: stan 420ms var(--ease-out); }
.kupon__wyslij-tekst { display: inline-block; }
@keyframes stan { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } }

/* ---------- analiza: wydruk z analizatora ---------- */
.analiza {
  display: grid;
  gap: 40px;
  padding: clamp(56px, 9vh, 96px) var(--wciecie) clamp(64px, 10vh, 112px);
  background: var(--butelka);
  color: var(--papier);
}
.analiza__wstep p { max-width: 30ch; margin-top: 18px; }
.analiza__zdjecie { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--promien); }
.paragon {
  width: 100%;
  max-width: 480px;
  padding: 30px 24px 46px;
  background: var(--biel);
  color: var(--atrament);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 97.917% 100%, 95.833% calc(100% - 10px), 93.750% 100%, 91.667% calc(100% - 10px), 89.583% 100%, 87.500% calc(100% - 10px), 85.417% 100%, 83.333% calc(100% - 10px), 81.250% 100%, 79.167% calc(100% - 10px), 77.083% 100%, 75.000% calc(100% - 10px), 72.917% 100%, 70.833% calc(100% - 10px), 68.750% 100%, 66.667% calc(100% - 10px), 64.583% 100%, 62.500% calc(100% - 10px), 60.417% 100%, 58.333% calc(100% - 10px), 56.250% 100%, 54.167% calc(100% - 10px), 52.083% 100%, 50.000% calc(100% - 10px), 47.917% 100%, 45.833% calc(100% - 10px), 43.750% 100%, 41.667% calc(100% - 10px), 39.583% 100%, 37.500% calc(100% - 10px), 35.417% 100%, 33.333% calc(100% - 10px), 31.250% 100%, 29.167% calc(100% - 10px), 27.083% 100%, 25.000% calc(100% - 10px), 22.917% 100%, 20.833% calc(100% - 10px), 18.750% 100%, 16.667% calc(100% - 10px), 14.583% 100%, 12.500% calc(100% - 10px), 10.417% 100%, 8.333% calc(100% - 10px), 6.250% 100%, 4.167% calc(100% - 10px), 2.083% 100%, 0.000% calc(100% - 10px));
}
.paragon__tabela { display: block; width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.paragon__tabela tbody, .paragon__tabela tfoot { display: block; }
.paragon__tabela tr { display: flex; align-items: baseline; gap: 8px; }
.paragon__tabela th, .paragon__tabela td { padding: 5px 0; font-weight: 400; text-align: left; }
.paragon__tabela th[scope="row"] { flex: 1; display: flex; align-items: baseline; min-width: 0; }
.paragon__tabela th[scope="row"]::after {
  content: "";
  flex: 1;
  min-width: 16px;
  height: 4px;
  margin-left: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='4'%3E%3Ccircle cx='2' cy='2' r='2' fill='%2317342E' fill-opacity='.55'/%3E%3C/svg%3E") repeat-x left center / 8px 4px;
}
.paragon__tabela td { white-space: nowrap; }
.paragon__grupa th { padding-top: 26px; font-weight: 600; }
.paragon__tabela tbody:first-of-type .paragon__grupa th { padding-top: 0; }
.paragon__suma {
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  margin: 26px -24px 0;
  padding: 0 24px;
  background: var(--atrament);
  color: var(--papier);
}
.paragon__tabela .paragon__suma th, .paragon__tabela .paragon__suma td { font-weight: 600; padding: 10px 0; }
.paragon__tabela .paragon__suma th::after { display: none; }

/* ---------- Ptasia 11: kwadratowe zdjęcie i zakładki ---------- */
.miejsce {
  display: grid;
  gap: 28px;
  margin: var(--m);
  padding: 16px 16px 24px;
  background: var(--papier);
  border-radius: var(--promien);
}
.miejsce__kadr {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--promien);
  overflow: hidden;
  background: var(--kamien);
}
.miejsce__zdjecie {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  filter: blur(4px);
  transition: opacity 320ms ease, filter 320ms ease, transform 700ms var(--ease-out);
}
.miejsce__zdjecie.jest { opacity: 1; transform: scale(1); filter: none; }
.miejsce__tekst { display: flex; flex-direction: column; gap: 28px; padding: 0 8px; }
.miejsce__zakladki { display: flex; gap: 28px; }
.miejsce__zakladki button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--atrament-2);
  font-size: var(--t-body);
  cursor: pointer;
  transition: color 150ms ease, transform 160ms var(--ease-out);
}
.miejsce__zakladki button:active { transform: scale(.97); }
.miejsce__zakladki [aria-selected="true"] { color: var(--atrament); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--lisc); }
@media (hover: hover) and (pointer: fine) { .miejsce__zakladki button:hover { color: var(--atrament); } }
.miejsce__srodek h2 { color: var(--butelka); }
.miejsce__akcje { display: grid; gap: 8px; }
.komorka {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--kamien);
  color: var(--atrament);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.komorka:active { transform: scale(.98); }
.komorka--ciemna { background: var(--atrament); color: var(--papier); }
@media (hover: hover) and (pointer: fine) {
  .komorka:hover { background: #D5DBD1; }
  .komorka--ciemna:hover { background: #24493F; }
}

/* ---------- życie klubu: rząd do przeciągania ---------- */
.zycie {
  margin: 0 var(--m) var(--m);
  padding: clamp(56px, 9vh, 104px) 0;
  background: var(--atrament);
  color: var(--papier);
  border-radius: var(--promien);
  overflow: hidden;
}
.zycie__naglowek {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 0 20px;
  margin-bottom: 32px;
}
.zycie__licznik { white-space: nowrap; font-variant-numeric: tabular-nums; }
.rzad {
  display: flex;
  gap: 8px;
  height: 62svh;
  min-height: 380px;
  max-height: 760px;
  padding: 0 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rzad::-webkit-scrollbar { display: none; }
.rzad:focus-visible { outline-offset: -3px; }
.rzad.ciagniety { scroll-snap-type: none; cursor: grabbing; }
.rzad.ciagniety a { pointer-events: none; }
.modul {
  flex: none;
  height: 100%;
  scroll-snap-align: start;
  border-radius: var(--promien);
  overflow: hidden;
  background: #2A4740;
}
.modul--wysoki { width: 72vw; }
.modul--szeroki { width: 88vw; height: 72%; align-self: center; }
.modul--para { width: 64vw; display: grid; grid-template-rows: 1fr 1fr; gap: 8px; background: none; border-radius: 0; }
.modul--para a { display: block; min-height: 0; border-radius: var(--promien); overflow: hidden; background: #2A4740; }
.modul img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fokus, 50% 50%); transition: transform 700ms var(--ease-out); }
.rzad a { display: block; -webkit-tap-highlight-color: transparent; }
.rzad a:active img { transform: scale(.98); transition-duration: 160ms; }
@media (hover: hover) and (pointer: fine) {
  .rzad { cursor: grab; }
  .rzad a:hover img { transform: scale(1.035); }
}

/* podgląd zdjęcia */
.podglad {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--papier);
  overflow: hidden;
}
.podglad::backdrop { background: rgba(12, 26, 22, .94); }
.podglad[open] .podglad__kadr { animation: podglad 280ms var(--ease-out); }
@keyframes podglad { from { opacity: 0; transform: scale(.96); } }
.podglad__kadr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100% - 96px);
  margin: 0;
  padding: 64px 16px 0;
}
.podglad__zdjecie {
  min-height: 0;
  max-width: min(94vw, 1100px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--promien);
  opacity: 0;
  transition: opacity 220ms ease;
}
.podglad__zdjecie.jest { opacity: 1; }
.podglad__nawigacja {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.podglad__licznik { min-width: 5ch; text-align: center; font-variant-numeric: tabular-nums; }
.podglad__strzalka, .podglad__zamknij {
  min-width: 52px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #37433E; /* 14% jasnego wypełnienia na ciemnym tle podglądu, zapisane jako kolor pełny */
  color: var(--papier);
  font-size: var(--t-body);
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.podglad__strzalka:active, .podglad__zamknij:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) {
  .podglad__strzalka:hover, .podglad__zamknij:hover { background: #4D5752; }
}
.podglad__zamknij { position: absolute; top: 14px; right: 14px; }

/* ---------- współpraca: jedno zdanie, jedno działanie ---------- */
.wspolpraca {
  display: grid;
  justify-items: start;
  gap: 24px;
  padding: 22svh calc(var(--m) + var(--wciecie)) 18svh;
}
.wspolpraca__zdanie { max-width: 34ch; font-size: var(--t-lead); line-height: 1.4; }

/* ---------- kontakt: taśma zdjęć i belka trzech komórek ---------- */
.kontakt {
  margin: 0 var(--m) var(--m);
  padding: 32px 0 clamp(56px, 9vh, 96px);
  background: var(--morze);
  color: var(--papier);
  border-radius: var(--promien);
  overflow: hidden;
}
.pasmo { overflow: hidden; }
.pasmo__tasma { display: flex; gap: 8px; width: max-content; }
.pasmo img { width: auto; height: 110px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.pasmo img.pasmo--kwadrat { aspect-ratio: 1; }
.pasmo img.pasmo--poziome { aspect-ratio: 3 / 2; }
@media (prefers-reduced-motion: no-preference) {
  .pasmo__tasma { animation: pasmo 80s linear infinite; }
  .pasmo:hover .pasmo__tasma { animation-play-state: paused; }
}
@keyframes pasmo { to { transform: translateX(calc(-50% - 4px)); } }
.kontakt__wnetrze { padding: 56px 20px 0; }
.kontakt__tytul { max-width: 14ch; }
.belka { display: grid; gap: 8px; margin-top: 40px; }
.belka__przycisk {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--morze-ciemne);
  color: var(--papier);
  font-size: var(--t-lead);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.belka__przycisk:active { transform: scale(.98); }
.belka__przycisk--jasny { background: var(--papier); color: var(--atrament); }
@media (hover: hover) and (pointer: fine) {
  .belka__przycisk:hover { background: #0B526A; }
  .belka__przycisk--jasny:hover { background: var(--biel); }
}
.belka__drobne { margin-top: 10px; padding-left: 24px; font-size: var(--t-small); }
.dojazd { display: grid; gap: 32px; margin-top: 64px; }
.dojazd__ulica { font-size: var(--t-lead); font-weight: 600; line-height: 1.35; margin-bottom: 14px; }
.dojazd a { color: var(--papier); }
.dojazd__linki { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 18px 0 0; padding: 0; }
.dojazd__linki a, .dojazd__linki button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--papier);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.kontakt .mapa { background: var(--morze-ciemne); color: var(--papier); }
.kontakt .mapa button { background: var(--papier); color: var(--atrament); border-radius: 999px; transition: transform 160ms var(--ease-out); }
.kontakt .mapa button:active { transform: scale(.97); }
.kontakt :focus-visible { outline-color: var(--papier); }

/* ---------- stopka: nazwa na ostatnim zdjęciu ---------- */
.stopka {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 88svh;
  margin: 0 var(--m) var(--m);
  padding: 28px 20px 32px;
  border-radius: var(--promien);
  overflow: hidden;
  color: var(--papier);
  background: #101C19;
}
.stopka__tlo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: brightness(.46) saturate(.9);
}
.stopka a { color: var(--papier); }
.stopka-prawna a[href^="tel:"], .stopka-prawna .bez-lamania { white-space: nowrap; }
.stopka__gora { display: flex; flex-direction: column; gap: 24px; }
.stopka__linki { display: flex; flex-direction: column; align-items: flex-start; }
.stopka__linki a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .stopka__linki a:hover { text-decoration: underline; } }
.stopka__kontakt { line-height: 1.7; }
.stopka__kontakt a { text-decoration: none; font-variant-numeric: tabular-nums; }
.stopka__nazwa {
  display: flex;
  margin: 0 0 .34em -.04em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--t-giant);
  line-height: .78;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.stopka__nazwa span { display: inline-block; }
.stopka-prawna { display: grid; gap: 8px; max-width: 112ch; font-size: var(--t-small); line-height: 1.55; }
.stopka-prawna nav { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 20px; }
.stopka-prawna nav a, .stopka-prawna button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--papier);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- baner zgód w stylu strony: zwarty, w rogu ---------- */
.zgody { border: 0; background: var(--papier); box-shadow: 0 24px 60px -24px rgba(12, 26, 22, .55); /* taste-skill-ignore: okno dialogowe */ padding: 14px 16px; font-size: var(--t-small); left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.zgody p { margin-bottom: .55rem; }
.zgody__przyciski { gap: 6px; }
.zgody__przyciski button { min-height: 42px; padding: .4rem .9rem; font-size: var(--t-small); }
.zgody__przyciski [data-zgoda="niezbedne"], .zgody__przyciski [data-zgoda="wszystkie"] { flex: 1 1 0; }
@media (min-width: 768px) { .zgody { left: auto; right: 20px; bottom: 20px; max-width: 30rem; margin: 0; } .zgody__przyciski button { white-space: nowrap; } }
.zgody__przyciski button { border: 0; border-radius: 999px; background: var(--kamien); transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.zgody__przyciski button:active { transform: scale(.97); }
.zgody__przyciski [data-zgoda="ustawienia"] { background: none; }
@media (hover: hover) and (pointer: fine) { .zgody__przyciski button:hover { background: #D5DBD1; } .zgody__przyciski [data-zgoda="ustawienia"]:hover { background: none; } }

/* ---------- ruch ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* wejście pierwszego ekranu: działa bez strona.js */
  .js .hero__nav { animation: wejscie 900ms var(--ease-out) both; }
  .js .hero__linia,
  .js .hero__zdanie,
  .js .hero__przycisk { animation: wejscie 1000ms var(--ease-out) both; animation-delay: calc(140ms + var(--i, 0) * 90ms); }
  .js .okno__kadr.jest img { animation: okno 2200ms var(--ease-out) both; }
  @keyframes wejscie { from { opacity: 0; transform: translateY(22px); } }
  @keyframes okno { from { opacity: .001; transform: scale(1.1); } }

  /* sekcje: nagłówek, tekst, obraz — po kolei */
  .js [data-reveal] {
    transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js [data-reveal]:not(.widoczne) { opacity: 0; transform: translateY(26px); }

  /* nazwa w stopce składa się z liter */
  .stopka__nazwa span { transition: transform 1100ms var(--ease-out), opacity 1100ms var(--ease-out); transition-delay: calc(120ms + var(--i, 0) * 70ms); }
  .js .stopka__nazwa:not(.widoczne) span { opacity: 0; transform: translateY(32%); }
}
@media (prefers-reduced-motion: reduce) {
  .okno__kadr, .okno__kadr img, .miejsce__zdjecie { transition: opacity 200ms ease; transform: none !important; filter: none !important; }
  .modul img { transition: none; }
}

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  .miejsce__akcje { grid-template-columns: 1fr 1fr; }
  .belka { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .belka__przycisk { min-height: 80px; }
  .pasmo img { height: 150px; }
  .stopka__gora { flex-direction: row; justify-content: space-between; }
  .stopka__kontakt { text-align: right; }
  .stopka__linki { flex-direction: row; flex-wrap: wrap; gap: 0 22px; }
}
@media (min-width: 768px) {
  .rzad { gap: 12px; padding: 0 6vw; scroll-padding-inline: 6vw; height: 68svh; scroll-snap-type: x proximity; }
  .modul--wysoki { width: auto; aspect-ratio: 3 / 4; }
  .modul--szeroki { width: auto; height: 100%; aspect-ratio: 16 / 10; }
  .modul--para { width: auto; aspect-ratio: 2 / 3; gap: 12px; }
  .zycie__naglowek { padding: 0 6vw; }
  .kontakt__wnetrze, .miejsce { padding-left: var(--wciecie); padding-right: var(--wciecie); }
  .stopka { padding: 32px var(--wciecie) 36px; }
}

/* ---------- komputer: dwie połowy ---------- */
@media (min-width: 1024px) {
  .tylko-telefon { display: none; }
  .scena {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--m);
    align-items: start;
    padding: var(--m) var(--m) 0;
  }
  .arkusz { grid-column: 1; grid-row: 1; margin-top: 0; }
  .okno { order: 0; grid-column: 2; grid-row: 1; height: calc(100svh - 2 * var(--m)); }
  .hero { min-height: calc(100svh - 2 * var(--m)); padding: 22px 32px 48px; }
  .hero__logo img { width: 230px; }
  .hero__tresc { margin-top: 15vh; }
  .analiza { padding-left: 48px; padding-right: 48px; }

  .miejsce {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    min-height: 88svh;
    margin-top: var(--m);
    padding: 0;
  }
  .miejsce__kadr { align-self: center; width: calc(100% - 80px); margin: 40px; }
  .miejsce__tekst { justify-content: space-between; padding: 48px 48px 40px; }
  .miejsce__srodek { margin-block: auto; }
  .miejsce__akcje { grid-template-columns: 1fr 1fr; }
  .komorka { min-height: 72px; }

  .belka__przycisk { min-height: 96px; }
  .dojazd { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; }
  .kontakt { min-height: 80svh; }
  .stopka { min-height: calc(100svh - 2 * var(--m)); }
}

/* ---------- podstrony: polityki i 404 ---------- */
.podstrona__naglowek {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: var(--m);
  padding: 14px 20px;
  background: var(--papier);
  border-radius: var(--promien);
}
.podstrona__logo img { width: 150px; height: auto; }
.dokument {
  margin: 0 var(--m) var(--m);
  padding: clamp(40px, 7vh, 88px) var(--wciecie) clamp(56px, 9vh, 104px);
  background: var(--papier);
  border-radius: var(--promien);
}
.dokument > * { max-width: 72ch; }
.dokument h1 { font-size: var(--t-head); color: var(--butelka); margin-bottom: 20px; }
.dokument h2 { font-size: var(--t-lead); letter-spacing: -.01em; line-height: 1.2; margin: 2.4em 0 .7em; }
.dokument p + p, .dokument ul + p { margin-top: .9em; }
.dokument ul { padding-left: 1.2em; margin: .6em 0 0; }
.dokument li + li { margin-top: .35em; }
.dokument .tabela { max-width: none; }
.dokument__akcja { margin-top: 32px; }
.podstrona__stopka {
  margin: 0 var(--m) var(--m);
  padding: 28px var(--wciecie) 32px;
  background: var(--atrament);
  color: var(--papier);
  border-radius: var(--promien);
}
.podstrona__stopka a { color: var(--papier); }
