/* ==========================================================================
   SŁODKA FORMA — STYLE
   Paleta wzięta z Waszych materiałów z Canvy.
   Zwykle nie musisz tu nic zmieniać. Jeśli chcesz poprawić kolory —
   wszystkie siedzą w jednym miejscu, w bloku :root poniżej.
   ========================================================================== */

:root {
  /* --- kolory --- */
  --papier:      #faf8f2;   /* główne tło, ciepła biel */
  --oliwka-tlo:  #eceedc;   /* blado-oliwkowe tło z Waszych ofert */
  --greige:      #e9e5de;   /* ciepły szarobeż z Waszych postów */
  --roz:         #efd4c4;   /* pudrowy róż z logo */
  --oliwka:      #c9cfa0;   /* oliwkowy uśmiech z logo */
  --oliwka-ciem: #8b9364;
  --atrament:    #1b1a17;   /* prawie czerń */
  --atrament-2:  #56534b;   /* tekst pomocniczy */
  --atrament-3:  #8d897e;   /* jeszcze lżejszy */
  --linia:       rgba(27,26,23,.13);
  --linia-mocna: rgba(27,26,23,.28);

  /* --- typografia --- */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --tekst:   "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* --- wymiary --- */
  --szer:     1320px;
  --margines: clamp(1.25rem, 5vw, 4.5rem);
  --odstep:   clamp(5rem, 11vw, 10rem);
  --radius:   2px;
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

/* Elementy siatek nie mogą rozpychać kolumn — bez tego szeroka zawartość
   (mapa, tabela, długi wyraz) wylewa się poza swoją kolumnę i nachodzi
   na sąsiednie sekcje. */
.hero > *, .dwie-kolumny > *, .zamowienie > *, .kontakt > *,
.pozycja__wnetrze > *, .tasma__tor > * { min-width: 0; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--papier);
  color: var(--atrament);
  font-family: var(--tekst);
  font-size: clamp(1rem, .95rem + .25vw, 1.075rem);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, select, textarea { font: inherit; color: inherit; }

a { color: inherit; text-underline-offset: .28em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--oliwka-ciem);
  outline-offset: 3px;
}

.ukryte {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.pomin {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--atrament); color: var(--papier);
  padding: .75rem 1.25rem; text-decoration: none;
}
.pomin:focus { top: 1rem; }

/* ---------------------------------------------------------- typografia --- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem);
  margin-bottom: .5em;
}

h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.75rem); line-height: 1.1; }

.nadtytul {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--atrament-3);
  margin-bottom: 1.5rem;
}
.nadtytul::before {
  content: ""; display: inline-block;
  width: 2.2rem; height: 1px; margin-right: .85rem;
  vertical-align: middle; background: var(--linia-mocna);
}

.wstep {
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  color: var(--atrament-2);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.rozstrzelone { font-style: italic; letter-spacing: .04em; }

/* --------------------------------------------------------------- ruch ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.22,.7,.28,1),
              transform .9s cubic-bezier(.22,.7,.28,1);
}
.reveal.widoczne { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  /* Uwaga: tutaj NIE ma już sensu ustawiać scroll-behavior. Chrome przy
     włączonych ograniczonych animacjach wyłącza przewijanie animowane
     całkowicie — i CSS-owe „smooth", i JS-owe behavior: 'smooth'.
     Computed style dalej pokazuje „smooth", a strona i tak skacze.
     Dlatego przewijanie po kliknięciu w menu animujemy sami, w skrypcie
     (funkcja plynneKotwice) — i tylko ono zostaje płynne. */
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* -------------------------------------------------------------- guziki --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: 1.05rem 2.1rem;
  background: var(--atrament); color: var(--papier);
  font-family: var(--tekst); font-size: .82rem; font-weight: 400;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--atrament);
  border-radius: 100px;
  transition: background .35s, color .35s, transform .35s;
}
.btn:hover { background: transparent; color: var(--atrament); transform: translateY(-2px); }

.btn--pusty { background: transparent; color: var(--atrament); border-color: var(--linia-mocna); }
.btn--pusty:hover { background: var(--atrament); color: var(--papier); border-color: var(--atrament); }

.btn--mala { padding: .68rem 1.4rem; font-size: .72rem; }
.btn--pelna { width: 100%; padding: 1.2rem; }

/* ---------------------------------------------------------- komunikat ---- */
.komunikat {
  background: var(--atrament); color: var(--papier);
  text-align: center;
  padding: .7rem 1.25rem;
  font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  position: relative; z-index: 60;
}

/* ---------------------------------------------------------------- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem var(--margines);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav--przyklejony {
  background: rgba(250,248,242,.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--linia);
  padding-top: .7rem; padding-bottom: .7rem;
}

.nav__logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; flex-shrink: 0;
}
.nav__logo img { width: 42px; height: 42px; }
.nav__nazwa {
  font-family: var(--display); font-size: 1.02rem;
  line-height: .92; letter-spacing: -.01em;
}

.nav__linki { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.1rem); }
.nav__linki a {
  font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
  text-decoration: none; color: var(--atrament-2);
  transition: color .3s;
}
.nav__linki a:hover { color: var(--atrament); }
.nav__linki .btn { color: var(--papier); }
.nav__linki .btn:hover { color: var(--atrament); }

.nav__burger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav__burger span {
  display: block; width: 24px; height: 1px; background: var(--atrament);
  transition: transform .35s, opacity .35s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* --------------------------------------------------------------- hero ---- */
.hero {
  display: grid;
  /* druga liczba = szerokość kolumny ze zdjęciem. Mniejsza = mniejsze
     duże zdjęcie na pierwszym ekranie. */
  grid-template-columns: 1fr .74fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: var(--szer);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 5rem) var(--margines) clamp(4rem, 8vw, 7rem);
  min-height: min(88vh, 900px);
}

.hero__h1 {
  font-size: clamp(3.4rem, 1.2rem + 9.2vw, 8.5rem);
  margin-bottom: 2rem;
}
.hero__h1 em { color: var(--oliwka-ciem); }

.hero__lead { max-width: 42ch; color: var(--atrament-2); margin-bottom: 2.6rem; }

.hero__akcje { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }

.hero__foto { position: relative; }
.hero__foto .foto--duza { aspect-ratio: 4/5; }
.hero__foto .foto--mala {
  position: absolute; right: -3%; bottom: -9%;
  /* width = ile procent dużego zdjęcia zajmuje małe. Większa liczba =
     większe małe zdjęcie. */
  width: 48%; aspect-ratio: 1; z-index: 2;
  border: 8px solid var(--papier);
}

/* ------------------------------------------------------------- status ---- */
.status {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--atrament-2);
}
.status::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--atrament-3); flex-shrink: 0;
}
.status--otwarte::before {
  background: var(--oliwka-ciem);
  box-shadow: 0 0 0 0 rgba(139,147,100,.6);
  animation: puls 2.6s infinite;
}
@keyframes puls {
  70%  { box-shadow: 0 0 0 9px rgba(139,147,100,0); }
  100% { box-shadow: 0 0 0 0 rgba(139,147,100,0); }
}

/* -------------------------------------------------------------- zdjęcia -- */
.foto {
  position: relative; overflow: hidden;
  background: var(--oliwka-tlo);
  border-radius: var(--radius);
}
.foto img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.22,.7,.28,1);
}
.foto--wysoka { aspect-ratio: 3/4; }
.foto--szeroka { aspect-ratio: 3/2; margin-top: 2.5rem; }

/* placeholder, gdy pliku jeszcze nie ma */
.foto--brak {
  display: grid; place-items: center; text-align: center;
  background:
    repeating-linear-gradient(-45deg,
      rgba(255,255,255,.5) 0 2px, transparent 2px 11px),
    var(--oliwka-tlo);
  border: 1px dashed var(--linia-mocna);
  padding: 1.5rem;
}
.foto--brak span {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--atrament-3); line-height: 1.8;
}
.foto--brak span b {
  display: block; font-weight: 400; color: var(--atrament-2);
  font-family: var(--display); font-size: 1.05rem;
  letter-spacing: 0; text-transform: none; margin-bottom: .3rem;
}

/* -------------------------------------------------------------- fakty ---- */
.fakty {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--linia);
  border-bottom: 1px solid var(--linia);
  max-width: var(--szer);
  margin: 0 auto;
}
.fakt {
  padding: clamp(1.6rem, 3vw, 2.6rem) clamp(.75rem, 2vw, 2rem);
  text-align: center;
}
.fakt + .fakt { border-left: 1px solid var(--linia); }
.fakt strong {
  display: block; font-family: var(--display); font-weight: 300;
  font-size: clamp(1.7rem, 1.1rem + 2vw, 3rem); line-height: 1;
  margin-bottom: .5rem;
}
/* Podpisy pod liczbami bywają różnej długości — „5,0" ma trzy słowa,
   „od zera" całe zdanie. „balance" rozkłada linie równo, zamiast zostawiać
   pojedyncze słowo w ostatniej linii. */
.fakt span {
  display: block;
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  line-height: 1.5;
  color: var(--atrament-3);
  text-wrap: balance;
}

/* ------------------------------------------------------------- sekcje ---- */
.sekcja {
  padding: var(--odstep) var(--margines);
  max-width: var(--szer);
  margin: 0 auto;
}
.sekcja--kawiarnia, .sekcja--opinie {
  max-width: none;
  background: var(--oliwka-tlo);
}
.sekcja--historia { max-width: none; background: var(--greige); }
.sekcja--zamowienie { max-width: none; background: var(--atrament); color: var(--papier); }

.sekcja--kawiarnia > *, .sekcja--historia > *,
.sekcja--opinie > *, .sekcja--zamowienie > * {
  max-width: var(--szer); margin-inline: auto;
}

.naglowek { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.naglowek--srodek { text-align: center; max-width: 62ch; margin-inline: auto; }
.naglowek--srodek .nadtytul::before { display: none; }
.naglowek--srodek .wstep { margin-inline: auto; }

.dwie-kolumny {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.dwie-kolumny--odwrocone .dwie-kolumny__foto { order: -1; }

/* -------------------------------------------------- dziś w witrynie ------ */
.pasek {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 22vw);
  gap: clamp(.85rem, 1.6vw, 1.5rem);
  overflow-x: auto;
  /* bez scroll-snap — z tego samego powodu co w galerii na dole:
     pasek ma się zatrzymywać tam, gdzie go puścisz, a nie dociągać
     do najbliższego zdjęcia (patrz sekcja „galeria" niżej) */
  padding-bottom: 1.25rem;
  margin-inline: calc(var(--margines) * -1);
  padding-inline: var(--margines);
  scrollbar-width: thin;
}
.pasek figure { aspect-ratio: 4/5; }
.pasek figcaption {
  margin-top: .8rem;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--atrament-2);
}
.pasek .karta { cursor: zoom-in; }
.pasek .karta:hover .foto img { transform: scale(1.04); }

.witryna__stopka {
  margin-top: 1.5rem;
  font-size: .88rem; color: var(--atrament-2);
}

/* ------------------------------------------------- lista kawiarni -------- */
.lista-numerowana { list-style: none; padding: 0; counter-reset: p; }
.lista-numerowana li {
  counter-increment: p;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--linia-mocna);
}
.lista-numerowana li::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--display); font-size: 1.1rem;
  color: var(--oliwka-ciem); padding-top: .15rem;
}
.lista-numerowana h3 { margin-bottom: .35rem; }
.lista-numerowana p { color: var(--atrament-2); font-size: .96rem; }

/* ------------------------------------------------------------- proza ----- */
.proza p + p { margin-top: 1.1rem; }
.proza { color: var(--atrament-2); max-width: 48ch; }
.proza em { color: var(--atrament-3); }
.podpis {
  font-family: var(--display); font-style: italic;
  font-size: 1.4rem; color: var(--atrament); margin-top: 1.8rem !important;
}

/* ------------------------------------------------------------ oferta ----- */
.cennik-status {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--atrament-3);
}

.oferta { border-top: 1px solid var(--linia-mocna); }

.pozycja { border-bottom: 1px solid var(--linia-mocna); }

.pozycja__przycisk {
  display: grid;
  grid-template-columns: 1fr auto 2.5rem;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 3rem);
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  text-align: left;
}
.pozycja__nazwa {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.6rem, 1.1rem + 1.9vw, 3rem);
  line-height: 1; letter-spacing: -.02em;
  transition: color .3s;
}
.pozycja__przycisk:hover .pozycja__nazwa { color: var(--oliwka-ciem); }
.pozycja__cena {
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--atrament-3); white-space: nowrap;
}
.pozycja__znak {
  position: relative; width: 18px; height: 18px; justify-self: end;
  align-self: center;
}
.pozycja__znak::before, .pozycja__znak::after {
  content: ""; position: absolute; inset: 50% 0 auto 0;
  height: 1px; background: var(--atrament); transition: transform .4s;
}
.pozycja__znak::after { transform: rotate(90deg); }
.pozycja[open] .pozycja__znak::after { transform: rotate(0deg); }

.pozycja__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.22,.7,.28,1);
}
.pozycja[open] .pozycja__panel { grid-template-rows: 1fr; }
.pozycja__panel > div { overflow: hidden; }
.pozycja__wnetrze {
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-bottom: 2.6rem;
}
.pozycja__skrot { color: var(--atrament-2); margin-bottom: 1.5rem; max-width: 52ch; }

.lista-smakow { list-style: none; padding: 0; }
.lista-smakow li {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .62rem 0;
  border-bottom: 1px dotted var(--linia-mocna);
  font-size: .97rem;
}
.lista-smakow li span:last-child {
  color: var(--atrament-3); font-size: .85rem; text-align: right; flex-shrink: 0;
  max-width: 55%;
}

.tabela-cen { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabela-cen th {
  text-align: left; font-weight: 400; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--atrament-3);
  padding-bottom: .6rem; border-bottom: 1px solid var(--linia-mocna);
}
.tabela-cen td { padding: .68rem 0; border-bottom: 1px solid var(--linia); }
.tabela-cen td:last-child { text-align: right; font-family: var(--display); font-size: 1.05rem; }

/* zdjęcia w rozwiniętej kategorii oferty
   — klik w zdjęcie, strzałki albo przesunięcie palcem = następne */
.oferta-foto { margin: 0; }
.tabela-cen + .oferta-foto { margin-top: 2.4rem; }

.oferta-foto__ramka {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--oliwka-tlo);
}
/* pion zostawiamy przeglądarce (przewijanie strony), poziom bierzemy my */
.oferta-foto--wiele .oferta-foto__ramka { cursor: pointer; touch-action: pan-y; }

/* taśma ze zdjęciami — wszystkie obok siebie, przesuwamy ją w bok */
.oferta-foto__tor {
  position: absolute; inset: 0;
  display: flex;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
/* w trakcie ciągnięcia palcem i przy przeskoku na drugi koniec taśmy */
.oferta-foto__tor--bez-animacji { transition: none; }

.foto--oferta {
  position: relative;
  flex: 0 0 100%;
  width: 100%; height: 100%;
  border-radius: 0;
}
/* obrazków w taśmie nie da się przeciągnąć jak zwykłego zdjęcia —
   inaczej przeglądarka myli gest przesunięcia z przeciąganiem pliku */
.oferta-foto__tor img { -webkit-user-drag: none; user-select: none; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .oferta-foto__tor { transition: none; }
}

.oferta-foto__strzalka {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(250,248,242,.86);
  color: var(--atrament);
  font-size: 1rem; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity .25s ease, background .25s ease;
}
.oferta-foto__strzalka--lewo  { left: .7rem; }
.oferta-foto__strzalka--prawo { right: .7rem; }
.oferta-foto__ramka:hover .oferta-foto__strzalka,
.oferta-foto__strzalka:focus-visible { opacity: 1; }
.oferta-foto__strzalka:hover { background: var(--papier); }

.oferta-foto__licznik {
  position: absolute; right: .7rem; bottom: .7rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(27,26,23,.62); color: var(--papier);
  font-size: .68rem; letter-spacing: .1em;
  pointer-events: none;
}

.oferta-foto figcaption {
  margin-top: .7rem;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--atrament-3);
}

/* na dotyku nie ma najechania — strzałki zostają widoczne */
@media (hover: none) {
  .oferta-foto__strzalka { opacity: 1; }
}

.uwagi { list-style: none; padding: 0; margin-top: 1.5rem; }
.uwagi li {
  font-size: .86rem; color: var(--atrament-3);
  padding-left: 1.1rem; position: relative; margin-top: .45rem;
}
.uwagi li::before { content: "·"; position: absolute; left: .3rem; }

.oferta__uwaga {
  margin-top: 2.5rem; max-width: 60ch;
  color: var(--atrament-2); font-size: .95rem;
}
.oferta__akcje { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* --------------------------------------------------------- zamówienie ---- */
.sekcja--zamowienie .nadtytul { color: rgba(250,248,242,.5); }
.sekcja--zamowienie .nadtytul::before { background: rgba(250,248,242,.3); }
.sekcja--zamowienie .wstep { color: rgba(250,248,242,.72); }
.sekcja--zamowienie .foto { background: rgba(250,248,242,.07); }
.sekcja--zamowienie .foto--brak {
  border-color: rgba(250,248,242,.22);
  background: repeating-linear-gradient(-45deg, rgba(250,248,242,.05) 0 2px, transparent 2px 11px);
}
.sekcja--zamowienie .foto--brak span { color: rgba(250,248,242,.45); }
.sekcja--zamowienie .foto--brak span b { color: rgba(250,248,242,.7); }

.zamowienie {
  display: grid;
  grid-template-columns: 1fr .92fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.punkty { list-style: none; padding: 0; margin-bottom: 1rem; }
.punkty li {
  padding: .85rem 0 .85rem 1.6rem;
  position: relative;
  border-top: 1px solid rgba(250,248,242,.16);
  color: rgba(250,248,242,.72); font-size: .95rem;
}
.punkty li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--oliwka);
}
.punkty strong { color: var(--papier); font-weight: 400; }

.form {
  background: var(--papier); color: var(--atrament);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border-radius: var(--radius);
}
.pole { margin-bottom: 1.15rem; }
.pole-para { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pole label {
  display: block; margin-bottom: .45rem;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--atrament-2);
}
.wymagane { color: var(--oliwka-ciem); }

.pole input, .pole select, .pole textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: transparent;
  border: 1px solid var(--linia-mocna);
  border-radius: var(--radius);
  font-size: .98rem; font-weight: 300;
  transition: border-color .3s, background .3s;
}
.pole textarea { resize: vertical; min-height: 3.4rem; }
.pole input:focus, .pole select:focus, .pole textarea:focus {
  border-color: var(--atrament); background: #fff;
}
.pole input::placeholder, .pole textarea::placeholder { color: var(--atrament-3); }
.pole input.blad, .pole select.blad, .pole textarea.blad { border-color: #b4553f; }

.form__blad {
  background: rgba(180,85,63,.09);
  border-left: 2px solid #b4553f;
  padding: .8rem 1rem; margin-bottom: 1rem;
  font-size: .9rem; color: #8f3f2c;
}
.form__alt {
  margin-top: 1.1rem; text-align: center;
  font-size: .85rem; color: var(--atrament-3);
}

/* ------------------------------------------------------------ opinie ----- */
.ocena {
  display: flex; align-items: center; justify-content: center;
  gap: .8rem; flex-wrap: wrap;
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--atrament-2);
}
.ocena strong {
  font-family: var(--display); font-weight: 300; font-size: 2.4rem;
  letter-spacing: 0; line-height: 1;
}
.gwiazdki { color: var(--oliwka-ciem); letter-spacing: .18em; font-size: 1rem; }

.karuzela { position: relative; display: flex; align-items: center; gap: 1rem; }
.karuzela__okno { overflow: hidden; flex: 1; }
.karuzela__tor {
  display: flex;
  transition: transform .7s cubic-bezier(.22,.7,.28,1);
}
.opinia {
  flex: 0 0 100%;
  padding: 0 clamp(0rem, 4vw, 4rem);
  text-align: center;
}
.opinia__tresc {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.25rem, 1rem + 1.3vw, 2.15rem);
  line-height: 1.32; letter-spacing: -.01em;
  text-wrap: balance;
  margin-bottom: 1.6rem;
}
.opinia__tresc::before { content: "„"; color: var(--oliwka-ciem); }
.opinia__tresc::after  { content: "”"; color: var(--oliwka-ciem); }
.opinia__autor {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--atrament-3);
}

.karuzela__strzalka {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--linia-mocna);
  color: var(--atrament-2);
  transition: background .3s, color .3s, border-color .3s;
}
.karuzela__strzalka:hover { background: var(--atrament); color: var(--papier); border-color: var(--atrament); }

.karuzela__kropki { display: flex; justify-content: center; gap: .55rem; margin-top: 2.2rem; }
.karuzela__kropki button {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--linia-mocna); transition: background .3s, transform .3s;
}
.karuzela__kropki button[aria-selected="true"] { background: var(--atrament); transform: scale(1.4); }

.opinie__cta { text-align: center; margin-top: 2.8rem; }

/* ----------------------------------------------------------- galeria ----- */
/* GALERIA JEDZIE W BOK, NIE W DÓŁ.
   Wcześniej była to siatka 4×N na dole strony — przy 20+ zdjęciach robiła
   się z tego ściana na cztery ekrany przewijania, w dodatku z dziurami
   (duże kafle zostawiały puste miejsca w rzędach). Teraz zdjęcia jadą
   w poziomie w dwóch rzędach: sekcja mieści się na jednym ekranie,
   a widać na raz więcej niż wcześniej.

   Taśma celowo wychodzi poza margines strony w prawo — to sygnał, że
   jest tam coś dalej. Na telefonie przesuwasz ją palcem, na komputerze
   strzałkami po bokach albo Shiftem z kółkiem myszy. */
.sekcja--galeria { max-width: none; padding-inline: 0; }
.sekcja--galeria > .naglowek {
  padding-inline: var(--margines);
  margin-inline: auto;
}

.tasma { position: relative; margin-top: clamp(2.2rem, 4vw, 3.4rem); }

.tasma__tor {
  display: grid;
  grid-auto-flow: column;
  /* dwa rzędy — dzięki temu na raz widać dwa razy więcej zdjęć */
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: clamp(148px, 42vw, 232px);
  gap: clamp(.5rem, 1vw, .95rem);

  overflow-x: auto;
  overscroll-behavior-x: contain;
  /* CELOWO BEZ scroll-snap. Taśma ma się zatrzymywać tam, gdzie ją puścisz,
     a nie dociągać do najbliższego kafla — dociąganie wygląda jak skok
     i psuje wrażenie płynnego przesuwania. Za wyhamowanie po puszczeniu
     myszy odpowiada rozpęd w skrypt.js (funkcja tasma). */
  padding-inline: var(--margines);
  /* kafle w taśmie NIE mają klasy „reveal" — gdyby miały, ich animacja
     wjazdu z dołu robiłaby pionowy pasek przewijania wewnątrz taśmy.
     Animowana jest cała taśma naraz, jako jeden element. */
  padding-block: 2px;

  /* pasek przewijania chowamy — pod taśmą jest własny wskaźnik postępu */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tasma__tor::-webkit-scrollbar { display: none; }

.tasma__tor .karta { position: relative; cursor: zoom-in; }
.tasma__tor .foto { aspect-ratio: 1; }
.tasma__tor .karta:hover .foto img { transform: scale(1.05); }
.tasma__tor:focus-visible { outline: 2px solid var(--atrament); outline-offset: 4px; }

/* Strzałki tylko tam, gdzie jest mysz. Na telefonie przeszkadzałyby,
   bo i tak przewija się palcem. */
.tasma__strzalka {
  position: absolute; top: calc(50% - 1.6rem); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--papier);
  border: 1px solid var(--linia-mocna);
  color: var(--atrament-2);
  box-shadow: 0 4px 18px rgba(27,26,23,.10);
  transform: translateY(-50%);
  transition: background .3s, color .3s, border-color .3s, opacity .3s;
}
.tasma__strzalka:hover { background: var(--atrament); color: var(--papier); border-color: var(--atrament); }
.tasma__strzalka--lewo  { left:  calc(var(--margines) / 2.5); }
.tasma__strzalka--prawo { right: calc(var(--margines) / 2.5); }
.tasma__strzalka[disabled] { opacity: 0; pointer-events: none; }

@media (min-width: 861px) and (hover: hover) {
  .tasma__strzalka { display: grid; }
}

/* CIĄGNIĘCIE PASKÓW — wspólne dla galerii i paska „Z naszej witryny".
   Na czas ciągnięcia wymuszamy skok bez animacji (scroll-behavior: auto),
   bo pasek ma iść dokładnie za ręką, klatka w klatkę.
   Reguła musi stać PO .tasma__tor .karta, żeby wygrać z „zoom-in". */
.ciagniete {
  scroll-behavior: auto;
  user-select: none;
}
.ciagniete,
.ciagniete .karta { cursor: grabbing; }
.pasek img, .tasma__tor img { -webkit-user-drag: none; user-select: none; }

/* Cienka kreska pod taśmą pokazuje, ile z niej już przewinięto — na
   telefonie zastępuje ukryty pasek przewijania. Działa też jak suwak:
   można ją złapać i przeciągnąć albo kliknąć w wybrane miejsce. */
.tasma__pasek {
  position: relative;
  height: 2px; border-radius: 2px;
  background: var(--linia);
  margin: clamp(1.4rem, 3vw, 2rem) var(--margines) 0;
  cursor: pointer;
  touch-action: none;
}
/* niewidoczne pole trafienia — sama kreska ma 2 px i nie da się w nią celować */
.tasma__pasek::before { content: ""; position: absolute; inset: -14px 0; }

.tasma__postep {
  display: block; height: 100%; width: 25%;
  background: var(--atrament-3); border-radius: 2px;
  transition: width .25s, transform .25s;
}
/* w trakcie ciągnięcia bez animacji, inaczej kreska wlecze się za palcem */
.tasma__pasek--ciagniety .tasma__postep { transition: none; }

/* ---------------------------------------------------------- kontakt ------ */
/* Na dużym ekranie sekcja idzie w poziomie: dane · godziny · mapa.
   Poniżej 1020 px mapa wskakuje nad wszystko na całą szerokość,
   a poniżej 860 px cała sekcja układa się w jedną kolumnę. */
.kontakt {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, .8fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.kontakt__etykieta {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--atrament-3); margin: 0 0 1.1rem;
}
.adres {
  font-style: normal; font-family: var(--display);
  font-size: 1.3rem; line-height: 1.5; margin-bottom: 2.2rem;
}
.adres small {
  display: block; font-family: var(--tekst); font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--atrament-3);
  margin-top: .4rem;
}

.godziny { width: 100%; border-collapse: collapse; }
.godziny td {
  padding: .62rem 0; border-bottom: 1px solid var(--linia);
  font-size: .95rem; color: var(--atrament-2);
}
.godziny td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.godziny tr.dzis td { color: var(--atrament); font-weight: 400; }
.godziny tr.dzis td:first-child::before {
  content: "●"; color: var(--oliwka-ciem); font-size: .5rem;
  vertical-align: middle; margin-right: .6rem;
}

.kontakt__linki { display: flex; flex-direction: column; gap: .1rem; }
.kontakt__linki a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--linia-mocna);
  text-decoration: none; transition: padding-left .3s;
}
.kontakt__linki a:last-child { border-bottom: 1px solid var(--linia-mocna); }
.kontakt__linki a:hover { padding-left: .5rem; }
.kontakt__linki b { font-weight: 400; }
.kontakt__linki small {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--atrament-3);
}

.kontakt__mapa { position: relative; min-width: 0; }

/* Zasłona w miejscu mapy — trzyma dokładnie ten sam rozmiar co iframe,
   żeby po kliknięciu nic nie podskoczyło. */
.mapa-zaslona {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem;
  width: 100%; height: 100%; min-height: 340px;
  padding: 2rem clamp(1.2rem, 4vw, 2.5rem);
  text-align: center;
  border: 1px dashed var(--linia-mocna);
  border-radius: var(--radius);
  background: var(--greige);
  color: var(--atrament-2);
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.mapa-zaslona:hover { background: var(--papier); border-color: var(--atrament-3); }
.mapa-zaslona__znak { font-size: 1.8rem; line-height: 1; color: var(--oliwka-ciem); }
.mapa-zaslona__tytul {
  font-family: var(--display); font-size: 1.15rem; color: var(--atrament);
}
.mapa-zaslona__nota {
  font-size: .78rem; line-height: 1.5; max-width: 34ch; color: var(--atrament-3);
}

.kontakt__mapa iframe {
  display: block;
  width: 100%; height: 100%; min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  /* UWAGA: nie dodawaj tu filter ani transform. Filtr na iframie tworzy
     kontekst stackingu i w części przeglądarek mapa maluje się wtedy
     w złym miejscu, nachodząc na sekcje powyżej. */
}

/* ------------------------------------------------------------ stopka ----- */
.stopka {
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) var(--margines) calc(clamp(3.5rem, 7vw, 6rem) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--linia);
}
.stopka img { margin: 0 auto 1.2rem; opacity: .85; }
.stopka__haslo { font-family: var(--display); font-style: italic; font-size: 1.35rem; }
.stopka__adres { font-size: .88rem; color: var(--atrament-2); margin-top: .6rem; }
.stopka__prawa {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--atrament-3); margin-top: 2rem;
}
.stopka__prawa a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--linia-mocna); }
.stopka__prawa a:hover { color: var(--atrament); }

/* ------------------------------------------------ strony dokumentowe ----- */
/* Polityka prywatności — jedna kolumna czytelnej szerokości, bez ozdób. */
.dokument { max-width: 72ch; }
.dokument h1 { margin-bottom: 1.5rem; }
.dokument h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.3rem, 1.1rem + .7vw, 1.8rem);
  margin: 2.8rem 0 .9rem;
}
.dokument .proza { max-width: none; }
.dokument .proza p + p { margin-top: 1rem; }
.dokument mark {
  background: #fdf3c8; color: var(--atrament);
  padding: .1em .35em; border-radius: 2px;
  font-size: .92em;
}
.dokument__data {
  margin-top: 3rem; font-size: .8rem; color: var(--atrament-3);
}
.dokument__powrot { margin-top: 2.5rem; }

/* ---------------------------------------------------- pasek mobilny ------ */
.pasek-mobilny {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(250,248,242,.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--linia);
  padding-bottom: env(safe-area-inset-bottom);
}
.pasek-mobilny a {
  padding: 1rem .5rem; text-align: center; text-decoration: none;
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--atrament-2);
}
.pasek-mobilny a + a { border-left: 1px solid var(--linia); }
.pasek-mobilny--wyroznione { background: var(--atrament); color: var(--papier) !important; }

/* -------------------------------------------------------- lightbox ------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20,19,17,.95);
  display: grid; place-items: center;
  padding: clamp(1rem, 5vw, 4rem);
  animation: pojaw .3s ease;
}
@keyframes pojaw { from { opacity: 0; } }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__podpis {
  position: absolute; bottom: 1.6rem; left: 0; right: 0; text-align: center;
  color: rgba(250,248,242,.65);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.lightbox__zamknij {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-size: 2.4rem; line-height: 1; color: var(--papier); opacity: .75;
}
.lightbox__nawigacja {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  color: var(--papier); font-size: 1.2rem;
  border: 1px solid rgba(250,248,242,.28);
  transition: background .3s;
}
.lightbox__nawigacja:hover { background: rgba(250,248,242,.14); }
.lightbox__nawigacja--lewo  { left: clamp(.5rem, 2vw, 2rem); }
.lightbox__nawigacja--prawo { right: clamp(.5rem, 2vw, 2rem); }

/* ========================================================================
   RESPONSYWNOŚĆ
   ======================================================================== */

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__foto { max-width: 460px; margin-top: 1rem; }
  .zamowienie { grid-template-columns: 1fr; }
  /* Na węższych ekranach mapa idzie nad dane teleadresowe — pierwsze,
     czego szuka ktoś w sekcji „Wpadnij", to gdzie to właściwie jest.
     Dane i godziny zostają jeszcze obok siebie. */
  .kontakt { grid-template-columns: 1fr 1fr; }
  .kontakt__mapa { grid-column: 1 / -1; order: -1; }
  .kontakt__mapa iframe,
  .mapa-zaslona { height: auto; aspect-ratio: 16/9; min-height: 260px; }
  .pozycja__wnetrze { grid-template-columns: 1fr; }
  /* w jednej kolumnie zdjęcie nie może urosnąć na całą szerokość sekcji */
  .oferta-foto { max-width: 340px; }
}

@media (max-width: 860px) {
  /* na telefonie wszystko jedno pod drugim: mapa, adres z linkami, godziny */
  .kontakt { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav__burger { display: flex; }
  .nav__linki {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    gap: 1.6rem;
    background: var(--papier);
    transform: translateX(100%);
    transition: transform .45s cubic-bezier(.22,.7,.28,1);
    z-index: 45;
  }
  .nav__linki.otwarte { transform: none; }
  .nav__linki a { font-size: 1rem; letter-spacing: .18em; }
  .nav__burger { position: relative; z-index: 46; }

  /* WAŻNE: backdrop-filter na przyklejonym pasku tworzy blok zawierający
     dla wszystkiego, co jest w środku i ma position: fixed. Menu ma
     inset: 0, więc zamiast rozłożyć się na cały ekran, rozkładało się
     na wysokość samego paska (~70 px) — wyglądało to tak, jakby menu
     było przezroczyste, a napisy wylewały się na treść strony.
     Na czas otwarcia menu zdejmujemy filtr; i tak nie widać go spod
     pełnoekranowego, nieprzezroczystego menu. */
  .nav--menu-otwarte { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .dwie-kolumny { grid-template-columns: 1fr; }
  .dwie-kolumny--odwrocone .dwie-kolumny__foto { order: 0; }
  .dwie-kolumny__foto { max-width: 420px; }

  .fakty { grid-template-columns: repeat(2, 1fr); }
  .fakt:nth-child(3) { border-left: 0; }
  .fakt:nth-child(n+3) { border-top: 1px solid var(--linia); }

  .pasek-mobilny { display: grid; }
  body { padding-bottom: 4.2rem; }
  html { scroll-padding-top: 5rem; }

  .karuzela__strzalka { display: none; }
  .opinia { padding: 0; }
}

@media (max-width: 560px) {
  .hero__foto .foto--mala { width: 52%; right: -2%; bottom: -7%; border-width: 6px; }
  .pole-para { grid-template-columns: 1fr; gap: 0; }
  .pozycja__przycisk { grid-template-columns: 1fr 2rem; row-gap: .4rem; }
  .pozycja__cena { grid-column: 1; }
  .pozycja__znak { grid-column: 2; grid-row: 1 / span 2; }
  .lista-smakow li { flex-direction: column; gap: .15rem; }
  .lista-smakow li span:last-child { text-align: left; max-width: none; }
  .pasek { grid-auto-columns: 74vw; }
}
