/* Bella Coffee — mobile first, dark theme: #ff90ff #92ffff #000 + whites */
:root {
  --bg: #000;
  --bg-elev: #0a0a0a;
  --bg-card: #111;
  --text: #f5f5f5;
  --text-muted: #b8b8b8;
  --accent-pink: #ff90ff;
  --accent-cyan: #92ffff;
  --border: rgba(146, 255, 255, 0.2);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --font: "DM Sans", system-ui, sans-serif;
  --max: 1200px;
  --header-h: 4rem;
  /* Nagłówek: lewa kolumna logo / środek nawigacja / prawa języki + social */
  --header-brand-w: 12.5rem;
  --header-aside-w: 16rem;
  /* Eleganckie poświaty (niskie nasycenie) */
  --veil-pink: rgba(255, 144, 255, 0.07);
  --veil-cyan: rgba(146, 255, 255, 0.055);
  --veil-mix: rgba(200, 220, 255, 0.04);
  --glow-pink-soft: 0 0 60px -15px rgba(255, 144, 255, 0.12);
  --glow-cyan-soft: 0 0 50px -12px rgba(146, 255, 255, 0.1);
  --pattern-fine: rgba(255, 255, 255, 0.018);
  --pattern-cross: rgba(146, 255, 255, 0.012);
  /* Menu: sticky zakładki pod nagłówkiem — offset kotwic */
  --menu-dock-h: 3.5rem;
  --scroll-pad: 0.75rem;
  --anchor-menu: calc(var(--header-h) + var(--menu-dock-h) + var(--scroll-pad));
  /* Tło hero — nadpisywane w app.js z /api/hero */
  --hero-bg: url("/images/hero-default.jpg");
  /* Pasek przewijania (Firefox: tylko jednolite kolory) */
  --scrollbar-track: #0a080e;
  --scrollbar-thumb-ff: rgba(190, 130, 205, 0.65);
  --scrollbar-border: rgba(146, 255, 255, 0.14);
}

@media (max-width: 767px) {
  :root {
    --header-h: 5.5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  /* Firefox: cienki pasek w barwach marki (bez gradientu na kciuku) */
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-ff) var(--scrollbar-track);
  /* scroll-behavior: smooth tylko gdy użytkownik nie woli redukcji ruchu; fixed na tle robi jank w Chrome — używamy scroll */
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
  /* Tło strony: głęboka czerń + delikatne „orby” + siatka (wszystko scroll — szybsze przewijanie) */
  background-color: #020202;
  background-image: radial-gradient(ellipse 80% 55% at 20% 12%, rgba(255, 144, 255, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 8%, rgba(146, 255, 255, 0.035) 0%, transparent 48%),
    radial-gradient(ellipse 130% 85% at 50% -15%, var(--veil-pink) 0%, transparent 58%),
    radial-gradient(ellipse 70% 90% at -5% 35%, var(--veil-cyan) 0%, transparent 52%),
    radial-gradient(ellipse 65% 80% at 102% 55%, var(--veil-mix) 0%, transparent 50%),
    radial-gradient(ellipse 95% 45% at 50% 108%, var(--veil-cyan) 0%, transparent 55%),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, var(--pattern-fine) 31px, var(--pattern-fine) 32px),
    repeating-linear-gradient(90deg, transparent 0, transparent 31px, var(--pattern-fine) 31px, var(--pattern-fine) 32px),
    repeating-linear-gradient(32deg, transparent 0, transparent 19px, var(--pattern-cross) 19px, var(--pattern-cross) 20px);
  background-attachment: scroll;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (max-width: 900px) {
  html {
    /* Na małym ekranie: lżejsze tło, nadal przewijane — bez fixed (płynniejsze) */
    background-image: radial-gradient(ellipse 95% 60% at 15% 5%, rgba(255, 144, 255, 0.045) 0%, transparent 50%),
      radial-gradient(ellipse 85% 55% at 90% 15%, rgba(146, 255, 255, 0.04) 0%, transparent 50%),
      radial-gradient(ellipse 120% 70% at 50% 0%, var(--veil-pink) 0%, transparent 55%),
      radial-gradient(ellipse 60% 50% at 100% 40%, var(--veil-cyan) 0%, transparent 50%),
      repeating-linear-gradient(0deg, transparent 0, transparent 32px, var(--pattern-fine) 32px, var(--pattern-fine) 33px),
      repeating-linear-gradient(90deg, transparent 0, transparent 32px, var(--pattern-fine) 32px, var(--pattern-fine) 33px);
    background-attachment: scroll;
  }
}

body {
  margin: 0;
  position: relative;
  isolation: isolate;
  font-family: var(--font);
  background: transparent;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  overscroll-behavior-y: auto;
  overscroll-behavior-x: none;
  text-rendering: optimizeLegibility;
}

/* WebKit / Chrome / Edge / Safari: gradient róż → cyan jak w przyciskach / ramkach */
html::-webkit-scrollbar {
  width: 10px;
}
html::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-left: 1px solid var(--scrollbar-border);
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(255, 144, 255, 0.55), rgba(146, 255, 255, 0.45));
  border-radius: 999px;
  border: 1px solid rgba(146, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent-pink), var(--accent-cyan));
  border-color: rgba(255, 255, 255, 0.18);
}
html::-webkit-scrollbar-thumb:active {
  background: var(--accent-cyan);
  filter: brightness(0.95);
}
html::-webkit-scrollbar-corner {
  background: var(--scrollbar-track);
}

/* Dodatkowa warstwa dekoru (pryzmat / orby) — oddzielna od html, mniej kosztu przy przewijaniu */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}

.page-bg__orb,
.page-bg__prism {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  transform: translateZ(0);
  will-change: transform;
}

.page-bg__orb--1 {
  width: min(50vw, 480px);
  height: min(50vw, 480px);
  top: 8%;
  right: -8%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 144, 255, 0.5), transparent 68%);
  animation: bg-float-1 32s ease-in-out infinite alternate;
}

.page-bg__orb--2 {
  width: min(40vw, 360px);
  height: min(40vw, 360px);
  bottom: 18%;
  left: -5%;
  background: radial-gradient(circle at 50% 50%, rgba(146, 255, 255, 0.45), transparent 70%);
  animation: bg-float-2 28s ease-in-out infinite alternate;
}

.page-bg__orb--3 {
  width: min(28vw, 220px);
  height: min(28vw, 220px);
  top: 42%;
  left: 20%;
  background: radial-gradient(circle, rgba(200, 180, 255, 0.2), transparent 65%);
  animation: bg-float-3 36s ease-in-out infinite alternate;
  opacity: 0.4;
  filter: blur(48px);
}

.page-bg__orb--4 {
  width: min(35vw, 300px);
  height: min(35vw, 300px);
  bottom: 40%;
  right: 12%;
  background: conic-gradient(from 210deg, rgba(255, 90, 200, 0.12), rgba(146, 255, 255, 0.1), rgba(200, 120, 255, 0.1), rgba(255, 90, 200, 0.12));
  border-radius: 50%;
  filter: blur(50px) saturate(1.3);
  opacity: 0.45;
  animation: bg-float-1 24s ease-in-out infinite alternate-reverse;
}

.page-bg__prism {
  inset: -20% -30%;
  top: 30%;
  height: 70%;
  border-radius: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.02) 0%,
    rgba(255, 144, 255, 0.03) 25%,
    rgba(146, 255, 255, 0.025) 50%,
    rgba(200, 180, 255, 0.02) 75%,
    rgba(255, 255, 255, 0.015) 100%
  );
  mask-image: linear-gradient(180deg, transparent, black 15%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 15%, black 70%, transparent);
  filter: blur(40px);
  opacity: 0.35;
  mix-blend-mode: screen;
}

@media (prefers-reduced-motion: reduce) {
  .page-bg__orb,
  .page-bg__orb--4,
  .page-bg__prism {
    animation: none;
  }
}

@keyframes bg-float-1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-3%, 4%) scale(1.06);
  }
}

@keyframes bg-float-2 {
  0% {
    transform: translate(0, 0) scale(1.02);
  }
  100% {
    transform: translate(4%, -2%) scale(0.98);
  }
}

@keyframes bg-float-3 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(2%, 3%) rotate(8deg);
  }
}

main,
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent-pink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent-cyan);
  color: #000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  padding-top: env(safe-area-inset-top, 0);
  overflow: visible;
  background: linear-gradient(145deg, rgba(8, 8, 12, 0.72) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(6, 10, 12, 0.68) 100%);
  background-clip: padding-box;
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 4px 32px -8px rgba(0, 0, 0, 0.65), 0 1px 0 rgba(255, 144, 255, 0.05) inset,
    0 18px 40px -24px rgba(255, 144, 255, 0.15), 0 16px 36px -28px rgba(146, 255, 255, 0.1);
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  /* trbl: boki = inset-left na lewym, inset-right na prawym (wcześniej było odwrotnie) */
  padding: 0 max(1rem, env(safe-area-inset-right, 0)) 0 max(1rem, env(safe-area-inset-left, 0));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem 0.6rem;
  min-width: 0;
  overflow: visible;
}

.header-brand {
  flex: 0 0 var(--header-brand-w);
  max-width: var(--header-brand-w);
  min-width: 0;
  position: relative;
  z-index: 3;
}

.header-aside {
  flex: 0 0 var(--header-aside-w);
  max-width: var(--header-aside-w);
  min-width: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Ikony profili — kompakt obok GTranslate w stałej kolumnie */
.header-social {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.header-social:empty {
  display: none;
}

.header-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9px;
  color: var(--text-muted);
  text-decoration: none;
  background: linear-gradient(160deg, rgba(22, 22, 30, 0.95), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.header-social__link:hover,
.header-social__link:focus-visible {
  color: var(--accent-cyan);
  border-color: rgba(146, 255, 255, 0.45);
  box-shadow: 0 0 12px -3px rgba(255, 144, 255, 0.4);
  outline: none;
  transform: translateY(-1px);
}

.header-social__svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
}

.brand:hover {
  text-decoration: none;
}

.brand__logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand__name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.brand__name span {
  color: var(--accent-pink);
}

/* GTranslate + kolumna prawa: lekka obudowa, wizual w .gt_float_switcher */
.nav__langs {
  --lang-pill-fg: rgba(235, 240, 255, 0.95);
  --lang-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2392ffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-left: 0;
  min-height: 2.4rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1;
  position: relative;
  overflow: visible;
}

/* Ikona globu (gradient Bella) */
.nav__langs::before {
  content: "";
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  background: linear-gradient(135deg, #92ffff 0%, #ff90ff 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  opacity: 0.9;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(255, 144, 255, 0.35));
}

.nav__langs .gtranslate_wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 0;
  min-height: 2rem;
  overflow: visible;
  width: 100%;
}

/* Select: dowolna głębokość (GTranslate wstrzykuje zagnieżdżony drzewo) */
.nav__langs .gtranslate_wrapper select,
.nav__langs select {
  display: block;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--lang-pill-fg);
  color-scheme: dark;
  min-height: 2.15rem;
  min-width: 5.5rem;
  max-width: 9.5rem;
  width: 100%;
  padding: 0.38rem 1.85rem 0.38rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(0, 0, 0, 0.28);
  background-image: var(--lang-chevron);
  background-repeat: no-repeat;
  background-position: right 0.4rem center;
  background-size: 0.7rem 0.45rem;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(146, 255, 255, 0.04) inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s, color 0.2s;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav__langs .gtranslate_wrapper select:hover,
.nav__langs select:hover {
  border-color: rgba(255, 144, 255, 0.35);
  background-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 20px -6px rgba(255, 144, 255, 0.4);
}

.nav__langs .gtranslate_wrapper select:focus-visible,
.nav__langs select:focus-visible {
  outline: none;
  border-color: rgba(146, 255, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(146, 255, 255, 0.25);
}

/* Nie styluj globalnie a w .gtranslate_wrapper — psuje wiersze w .gt_options (flaga + nazwa).
   Tylko aktywany język w .gt-selected (obraz w nagłówku). */
.nav__langs .gtranslate_wrapper .gt_float_switcher .gt-selected .gt-current-lang img,
.nav__langs .gtranslate_wrapper .gt_float_switcher .gt-selected img {
  display: block;
  width: 1.45rem;
  height: auto;
  max-height: 1.5rem;
  border-radius: 3px;
  object-fit: contain;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

/* Inline style override z widgetu (częste u GTranslate) */
.nav__langs .gtranslate_wrapper [style] {
  border-radius: inherit;
}

/* GTranslate float: domyślnie .gt_options ma position:relative — rozpycha i zasłania nawigację. Lista: absolute pod przełącznikiem, nie rozciąga wiersza. */
.nav__langs #gt_float_wrapper {
  position: relative;
  z-index: 0;
  width: 100%;
  box-sizing: border-box;
}

.nav__langs .gt_float_switcher {
  position: relative !important;
  z-index: 1;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  font-family: var(--font), system-ui, sans-serif !important;
  font-size: 0.8rem !important;
  line-height: 1.3 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 999px !important;
  background: linear-gradient(155deg, rgba(20, 18, 32, 0.96) 0%, rgba(10, 10, 20, 0.94) 100%) !important;
  box-shadow: 0 0 0 1px rgba(255, 144, 255, 0.08) inset, 0 2px 12px rgba(0, 0, 0, 0.45),
    0 0 28px -14px rgba(255, 144, 255, 0.2) !important;
  padding: 0.12rem 0.15rem 0.12rem 0.25rem !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav__langs .gt_float_switcher:hover {
  border-color: rgba(146, 255, 255, 0.3) !important;
}

/* Aktualny język: jeden wiersz, bez wielkiego inline-block z widgetu */
.nav__langs .gt_float_switcher .gt-selected {
  position: relative;
  z-index: 2;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  display: block !important;
  float: none !important;
  overflow: visible;
}

.nav__langs .gt_float_switcher .gt-selected .gt-current-lang {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.28rem 0.4rem 0.28rem 0.2rem !important;
  min-height: 2rem;
  text-transform: none !important;
  color: var(--lang-pill-fg) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
}

.nav__langs .gt_float_switcher .gt-selected .gt-current-lang .gt_float_switcher-arrow {
  margin-left: auto;
  opacity: 0.85;
}

.nav__langs .gt_float_switcher .gt_options {
  position: absolute !important;
  top: calc(100% + 0.35rem) !important;
  left: 0 !important;
  right: auto !important;
  width: max(11rem, 100%) !important;
  min-width: 100% !important;
  /* 100vw + padding bywa szersze niż viewport (poziomy scroll) — 100% od rodzica */
  max-width: min(19rem, calc(100% - 0.25rem)) !important;
  margin: 0 !important;
  max-height: min(70vh, 300px) !important;
  padding: 0.35rem 0 !important;
  z-index: 100 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(10, 12, 20, 0.98) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(146, 255, 255, 0.08) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-sizing: border-box !important;
}

/* Lista języków: pełna szerokość wiersza, flaga 3D + tekst w jednej linii (GTranslate: img + węzły tekstowe) */
.nav__langs .gt_float_switcher .gt_options a[data-gt-lang] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 2.5rem !important;
  height: auto !important;
  box-sizing: border-box !important;
  gap: 0.5rem 0.6rem;
  padding: 0.45rem 0.75rem 0.45rem 0.6rem !important;
  text-decoration: none !important;
  text-transform: none !important;
  color: #e8e8f0 !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav__langs .gt_float_switcher .gt_options a[data-gt-lang]:hover,
.nav__langs .gt_float_switcher .gt_options a[data-gt-lang]:focus-visible {
  background: rgba(255, 144, 255, 0.1) !important;
  color: #fff !important;
  transform: none !important;
  outline: none;
}

/* Flagi 3D z CDN (~32px) — czytelny rozmiar obok natywnej nazwy języka */
.nav__langs .gt_float_switcher .gt_options a[data-gt-lang] img {
  display: block !important;
  width: 1.5rem !important;
  min-width: 1.5rem !important;
  max-width: 1.5rem;
  height: 1.5rem !important;
  min-height: 1.5rem;
  object-fit: contain !important;
  object-position: left center;
  margin: 0 0.15rem 0 0 !important;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

/* Otwarcie: nadpisuj float.js (translateX(0) vs translateY) dla panelu absolute */
.nav__langs .gt_float_switcher .gt_options.gt-open {
  transform: translate(0, 0) !important;
  opacity: 1 !important;
}

/* Mobile nav + hamburger */
.nav-toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(146, 255, 255, 0.35);
  border-radius: 10px;
  background: linear-gradient(160deg, #141414, #0a0a0a);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 1px rgba(255, 144, 255, 0.25);
  outline: none;
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--accent-pink);
  background: linear-gradient(160deg, #1a1018, #0a0a12);
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), #b8ffff);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 40;
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  transition: max-height 0.32s ease;
  -webkit-overflow-scrolling: touch;
}

.nav--open {
  max-height: min(88dvh, 520px);
  overflow-y: auto;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0));
}

@media (max-width: 767px) {
  .header-inner {
    flex-wrap: wrap;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    row-gap: 0.2rem;
  }

  .header-brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .nav-toggle {
    order: 2;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 4;
    position: relative;
  }

  .header-aside {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    justify-content: center;
    padding: 0.1rem 0 0.15rem;
  }

  .nav {
    order: 4;
  }

  /* Język w rozwijanym menu mobilnym (pod linkami) */
  .nav .nav__langs {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    border: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 16px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0 0 0 0;
    margin-top: 0.25rem;
    padding: 0.65rem 0.9rem 0.75rem;
    justify-content: center;
  }

  .nav .nav__langs::before {
    width: 0.9rem;
    height: 0.9rem;
  }

  .nav .nav__langs .gtranslate_wrapper select,
  .nav .nav__langs select {
    max-width: none;
    flex: 1 1 auto;
  }
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0.75rem 1rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 0 0 auto;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.nav__list a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.nav__list a:hover,
.nav__list a:focus-visible {
  background: rgba(255, 144, 255, 0.1);
  text-decoration: none;
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* Sekcja widoczna w okolicy nagłówka — podświetlenie (scroll-spy) */
.nav__list a.is-active {
  background: linear-gradient(135deg, rgba(255, 144, 255, 0.2), rgba(146, 255, 255, 0.12));
  color: #fff;
  border: 1px solid rgba(146, 255, 255, 0.38);
  box-shadow: 0 0 24px -10px rgba(255, 144, 255, 0.45);
  outline: none;
}
.nav__list a.is-active:hover,
.nav__list a.is-active:focus-visible {
  background: linear-gradient(135deg, rgba(255, 144, 255, 0.26), rgba(146, 255, 255, 0.16));
  border-color: rgba(255, 144, 255, 0.45);
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .header-inner {
    flex-wrap: nowrap;
    align-items: center;
  }

  .header-brand {
    flex: 0 0 var(--header-brand-w);
    max-width: var(--header-brand-w);
  }

  .header-aside {
    flex: 0 0 auto;
    max-width: 10rem;
    min-width: 0;
  }

  .nav {
    order: 0;
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    flex: 1 1 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }

  .nav__list {
    flex-direction: row;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 0;
    gap: 0.3rem 0.4rem;
    min-width: 0;
    width: auto;
    max-width: 100%;
  }

  .nav__list a {
    padding: 0.35rem 0.65rem;
    white-space: nowrap;
  }

  .nav__langs {
    width: 11rem;
    min-width: 9rem;
    max-width: 12rem;
    flex: 0 0 11rem;
    box-sizing: border-box;
    margin-left: 0;
    border-top: 0;
    border-left: 0;
    margin-right: 0;
    padding: 0.2rem 0.35rem 0.2rem 0.45rem;
  }

  .nav-toggle {
    display: none;
  }
}

/* Hero: zdjęcia w tle (warstwy + fade) + delikatne gradienty (czytelność tekstu) */
.hero {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Boki: safe area — lewo = inset-left, prawo = inset-right */
  padding: 2.5rem max(1rem, env(safe-area-inset-right, 0)) 4.5rem max(1rem, env(safe-area-inset-left, 0));
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--text);
  background-color: #06060a;
  /* Poświaty + przyciemnienie; zdjęcia są w .hero__bg (JS) */
  background-image: radial-gradient(ellipse 90% 55% at 88% 6%, rgba(255, 144, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 75% 50% at 0% 100%, rgba(146, 255, 255, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(3, 1, 6, 0.38) 38%, rgba(0, 0, 0, 0.82) 100%);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/** Dwie warstwy pod gradientami — przechodzenie (fade) pomiędzy slajdami */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #06060a;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
/* Pierwsze tło: fallback zanim JS wczyta /api/hero (i bez JS) */
[data-hero-bg-a] {
  background-image: var(--hero-bg, url("/images/hero-default.jpg"));
}
.hero__bg.hero__bg--on {
  opacity: 1;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero {
    background-position: center 38%;
  }
  .hero__bg {
    background-position: center 38%;
  }
}

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

/* Delikatne przyciemnienie nad zdjęciami (z-index 2) — większy kontrast białych nagłówków */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 88% at 50% 36%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.24) 55%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.12) 40%, rgba(0, 0, 0, 0.36) 100%);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

/* Strzałka w dół — sugestia przewinięcia do „O nas” */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(0.75rem, 3.5vw, 1.75rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem 0.35rem;
  color: #c8f8ff;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: #fff;
  border-color: rgba(255, 144, 255, 0.45);
  box-shadow: 0 0 24px -4px rgba(255, 144, 255, 0.35);
  outline: none;
}

.hero__scroll:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.hero__scroll-anim {
  display: block;
  animation: hero-scroll-bob 1.75s ease-in-out infinite;
  will-change: transform;
}

.hero__scroll-svg {
  display: block;
  filter: drop-shadow(0 0 8px rgba(146, 255, 255, 0.35));
}

@keyframes hero-scroll-bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(0.45rem);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-anim {
    animation: none;
  }
}

.hero__kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #c8f8ff;
  margin: 0 0 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 16px rgba(0, 0, 0, 0.45);
}

.hero h1 .hl {
  color: #ffb0ff;
  text-shadow: 0 0 28px rgba(255, 144, 255, 0.45), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero__lead {
  color: #e0e0e0;
  max-width: 32rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

/* Treść z Quill (edytowalna) — nagłówek + akapity */
.hero-rich p {
  color: #e0e0e0;
  max-width: 32rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.hero-rich p:last-child {
  margin-bottom: 0;
}

/* Sekcja O nas (Quill) */
 

.about-rich p {
  margin: 0 0 0.75rem;
}

.about-rich p:last-child {
  margin-bottom: 0;
}

.about-rich a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.about-rich a:hover {
  color: var(--accent-pink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent-pink), var(--accent-cyan));
  color: #000;
  box-shadow: 0 4px 24px rgba(255, 144, 255, 0.3), 0 0 28px -6px rgba(146, 255, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 6px 32px rgba(255, 144, 255, 0.35), 0 0 36px -4px rgba(146, 255, 255, 0.3);
}

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

.btn--ghost:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top:30px;
}

/* Przycisk drugorzędny czytelny na zdjęciu */
.hero .btn--ghost {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
  position: relative;
  padding: 3.5rem max(1rem, env(safe-area-inset-right, 0)) 3.5rem max(1rem, env(safe-area-inset-left, 0));
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 767px) {
  .section {
    padding: 2.5rem 1rem 2.75rem;
  }
  .wrap {
    padding-left: 0;
    padding-right: 0;
  }
  .map-wrap iframe {
    min-height: 200px;
    height: 50vw;
    max-height: 320px;
  }
  .section__title {
    word-wrap: break-word;
  }
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 144, 255, 0.05) 0%, transparent 22%),
    linear-gradient(0deg, rgba(146, 255, 255, 0.04) 0%, transparent 18%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(8, 12, 16, 0.35) 100%);
  border-top: 1px solid rgba(146, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 144, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(146, 255, 255, 0.04),
    var(--glow-cyan-soft), var(--glow-pink-soft);
  backdrop-filter: blur(6px) saturate(1.1);
  -webkit-backdrop-filter: blur(6px) saturate(1.1);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-width: 0;
  box-sizing: border-box;
}

.section__title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(255, 144, 255, 0.25), 0 0 20px rgba(146, 255, 255, 0.12);
}

.section__intro {
  color: var(--text-muted);
   
  margin: 0 0 2rem;
}

/* Szybki skok do sekcji karty (nad siatką menu) */
.menu-dock {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  margin: 0 auto 1.5rem;
  padding: 0.5rem 0.4rem 0.55rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(12, 14, 20, 0.55) 0%, rgba(3, 4, 8, 0.85) 100%);
  border: 1px solid rgba(146, 255, 255, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 4px 24px -6px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  /* Bez min-width:0 flex rodzic potrafi rozpuścić wiersz poza ekran */
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.menu-dock[hidden] {
  display: none !important;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.menu-dock__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.menu-dock__scroller {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-padding-inline: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-ff) var(--scrollbar-track);
  padding: 0.2rem 0 0.35rem;
  touch-action: pan-x;
}

.menu-dock__scroller::-webkit-scrollbar {
  height: 4px;
}
.menu-dock__scroller::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 4px;
}
.menu-dock__scroller::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(255, 144, 255, 0.55), rgba(146, 255, 255, 0.45));
  border-radius: 4px;
  border: 1px solid rgba(146, 255, 255, 0.2);
}

.menu-dock__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(146, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 144, 255, 0.12), rgba(146, 255, 255, 0.08));
  color: var(--text);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.menu-dock__chev {
  display: block;
  margin-top: -0.1em;
  font-weight: 700;
  user-select: none;
}

.menu-dock__arrow:hover:not(:disabled) {
  border-color: rgba(255, 144, 255, 0.45);
  background: linear-gradient(145deg, rgba(255, 144, 255, 0.2), rgba(146, 255, 255, 0.12));
}

.menu-dock__arrow:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

.menu-dock__arrow:disabled {
  opacity: 0.32;
  cursor: default;
}

.menu-dock__arrow[hidden] {
  display: none !important;
}

.menu-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0.45rem 0.5rem;
  margin: 0;
  padding: 0;
  /* max-content: szerokość wszystkich zakładek; NIE łącz z min-width:100% (rozpycha stronę w WebKit) */
  width: max-content;
  max-width: none;
  box-sizing: border-box;
}

.menu-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.menu-tab:hover {
  color: var(--text);
  text-decoration: none;
  border-color: rgba(146, 255, 255, 0.35);
  background: rgba(255, 144, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 144, 255, 0.12);
  transform: translateY(-1px);
}

.menu-tab.is-active {
  color: #0a0a0a;
  font-weight: 700;
  border-color: rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #ffb3f5 0%, #a6ffff 100%);
  box-shadow: 0 2px 16px rgba(255, 144, 255, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  transform: none;
  outline: none;
}

.menu-tab:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

#menu .menu-card {
  scroll-margin-top: var(--anchor-menu);
}

/* Opis galerii (HTML z Quill) */
.gallery-rich {
  max-width: 48rem;
}

.gallery-rich p {
  margin: 0 0 0.75rem;
}

.gallery-rich p:last-child {
  margin-bottom: 0;
}

.gallery-rich a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(146, 255, 255, 0.4);
}

.gallery-rich a:hover {
  text-decoration-color: var(--accent-pink);
  color: var(--accent-pink);
}

.gallery-rich h1,
.gallery-rich h2,
.gallery-rich h3 {
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-rich h1 {
  font-size: 1.2rem;
}

.gallery-rich ul,
.gallery-rich ol {
  margin: 0.5rem 0 0.75rem 1.1rem;
  padding: 0;
  color: var(--text-muted);
}

.gallery-rich li {
  margin: 0.25rem 0;
}

.gallery-rich blockquote {
  margin: 0.75rem 0;
  padding: 0.5rem 0 0.5rem 1rem;
  border-left: 3px solid var(--accent-pink);
  color: var(--text-muted);
}

/* Gallery – siatka, kompaktowe kafelki; pełny widok w modalu */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 500px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.9rem;
  }
}

@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
  }
}

button.gallery__item {
  display: block;
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border: none;
  background: none;
  padding: 0;
  appearance: none;
}

.gallery__item {
  position: relative;
  min-width: 0;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(255, 144, 255, 0.35) 0%, rgba(146, 255, 255, 0.2) 50%, rgba(255, 144, 255, 0.15) 100%);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.35) inset;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(255, 144, 255, 0.12);
}

.gallery__item:focus-within {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.gallery__item-inner {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #0d0d0d;
  position: relative;
  min-height: 0;
}

.gallery__item-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.gallery__item:hover .gallery__item-inner::after {
  opacity: 0.2;
}

.gallery__item--ph .gallery__item-inner {
  background: linear-gradient(160deg, #120a12 0%, #0a1012 100%);
}

.gallery__item .gallery__img,
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: bottom;
  transition: transform 0.35s ease;
}

.gallery__item:hover .gallery__img,
.gallery__item:hover img {
  transform: scale(1.03);
}

/* —— Modal galerii (lightbox + pasek miniatur) —— */
body.gallery-modal-open {
  overflow: hidden;
  touch-action: none;
}

.gallery-modal[hidden] {
  display: none !important;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.5rem, env(safe-area-inset-top)) max(0.5rem, env(safe-area-inset-right))
    max(0.5rem, env(safe-area-inset-bottom)) max(0.5rem, env(safe-area-inset-left));
  box-sizing: border-box;
  animation: galleryModalIn 0.35s ease;
}

@keyframes galleryModalIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-modal {
    animation: none;
  }
}

.gallery-modal__veil {
  position: absolute;
  inset: 0;
  /* Półprzezroczyste, lekko przyciemnione; rozmycie tła strony widać pod spodem */
  background: linear-gradient(
    160deg,
    rgba(22, 10, 32, 0.38) 0%,
    rgba(0, 0, 0, 0.42) 50%,
    rgba(4, 2, 10, 0.45) 100%
  );
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

.gallery-modal__box {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 1200px);
  max-height: min(100vh - 1rem, 960px);
  min-height: 0;
  border-radius: 20px;
  border: 1px solid rgba(146, 255, 255, 0.18);
  background: linear-gradient(165deg, rgba(18, 20, 28, 0.97) 0%, rgba(4, 5, 10, 0.98) 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset, 0 24px 80px rgba(0, 0, 0, 0.65), 0 0 100px -30px rgba(255, 144, 255, 0.15);
  padding: 0.65rem 0.75rem 0.85rem;
  overflow: hidden;
}

.gallery-modal__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  padding: 0 0.2rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-modal__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.gallery-modal__count {
  margin: 0;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: rgba(245, 245, 245, 0.55);
  letter-spacing: 0.04em;
}

.gallery-modal__x {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.gallery-modal__x:hover {
  background: rgba(255, 107, 138, 0.2);
  color: #fff;
}

.gallery-modal__stage {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.gallery-modal__frame {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: min(52vh, 480px);
  max-height: min(62vh, 640px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 144, 255, 0.45) 0%, rgba(146, 255, 255, 0.25) 50%, rgba(200, 160, 255, 0.2) 100%);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 60px -20px rgba(255, 144, 255, 0.2);
}

.gallery-modal__glow {
  position: absolute;
  inset: -2px;
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(255, 144, 255, 0.12), rgba(146, 255, 255, 0.08));
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.gallery-modal__img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: min(60vh, 600px);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 13px;
  background: #080808;
  transition: opacity 0.2s ease;
}

.gallery-modal__cap {
  position: relative;
  z-index: 1;
  margin: 0.45rem 0.25rem 0;
  max-width: 100%;
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgba(230, 230, 235, 0.75);
  text-align: center;
}
.gallery-modal__cap:empty {
  display: none;
}

.gallery-modal__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 3.2rem;
  border: 1px solid rgba(146, 255, 255, 0.22);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.3));
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.gallery-modal__arrow:hover:not(:disabled) {
  background: linear-gradient(160deg, rgba(255, 144, 255, 0.18), rgba(146, 255, 255, 0.1));
  border-color: rgba(255, 200, 255, 0.4);
  transform: scale(1.03);
}
.gallery-modal__arrow:disabled {
  opacity: 0.25;
  cursor: default;
  transform: none;
}
.gallery-modal__chev {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 700;
  user-select: none;
  display: block;
  margin-top: -0.05em;
}

@media (max-width: 640px) {
  .gallery-modal__arrow {
    width: 2.2rem;
    height: 2.8rem;
    border-radius: 10px;
  }
  .gallery-modal__frame {
    min-height: min(42vh, 360px);
  }
  .gallery-modal__img {
    max-height: min(48vh, 480px);
  }
}

.gallery-modal--single .gallery-modal__strip-outer,
.gallery-modal--single .gallery-modal__hint {
  display: none;
}

.gallery-modal__hint {
  margin: 0.35rem 0 0.5rem;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: rgba(200, 200, 210, 0.45);
}

.gallery-modal__strip-outer {
  position: relative;
  margin: 0 -0.2rem;
  padding: 0.4rem 0.25rem 0.15rem;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.gallery-modal__strip {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 0.5rem 0.6rem 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb-ff) var(--scrollbar-track);
}
.gallery-modal__strip::-webkit-scrollbar {
  height: 5px;
}
.gallery-modal__strip::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 4px;
}
.gallery-modal__strip::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(255, 144, 255, 0.55), rgba(146, 255, 255, 0.45));
  border-radius: 4px;
  border: 1px solid rgba(146, 255, 255, 0.2);
}

.gallery-modal__thumb {
  flex: 0 0 auto;
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #0a0a0a;
  cursor: pointer;
  overflow: hidden;
  transform: scale(0.88);
  opacity: 0.55;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  scroll-snap-align: center;
  -webkit-tap-highlight-color: transparent;
}
.gallery-modal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: bottom;
}
.gallery-modal__thumb.is-active {
  z-index: 2;
  transform: scale(1.14);
  opacity: 1;
  border-color: rgba(255, 200, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 32px -4px rgba(255, 144, 255, 0.45);
}
.gallery-modal__thumb:hover,
.gallery-modal__thumb:focus-visible {
  opacity: 0.92;
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
.gallery-modal__thumb.is-active:hover {
  transform: scale(1.12);
}

@media (min-width: 700px) {
  .gallery-modal__thumb {
    width: 3.6rem;
    height: 3.6rem;
  }
}

/* Menu */
.menu-grid {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 600px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.menu-card {
  position: relative;
  border-radius: var(--radius);
  padding: 1.3rem 1.55rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05) 0%, rgba(12, 14, 20, 0.5) 38%, rgba(0, 0, 0, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4) inset, 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 6px 28px -8px rgba(0, 0, 0, 0.5),
    0 0 40px -18px rgba(255, 144, 255, 0.12), 0 0 48px -22px rgba(146, 255, 255, 0.1);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(255, 144, 255, 0.5), rgba(146, 255, 255, 0.25) 40%, rgba(200, 180, 255, 0.2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
}

.menu-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  text-shadow: 0 0 24px rgba(146, 255, 255, 0.12);
}

.menu-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.menu-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 1.08rem;
  line-height: 1.4;
  min-width: 0;
  width: 100%;
}

.menu-list li:has(.menu-list__desc) {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.5rem 0;
}

.menu-list__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}

.menu-list__desc {
  margin: 0;
  width: 100%;
  font-size: 0.95rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--text-muted) 88%, var(--text) 12%);
  font-weight: 400;
  opacity: 0.95;
}

.menu-list li:last-child {
  border-bottom: 0;
}

.menu-list .name {
  color: color-mix(in srgb, var(--text) 82%, var(--text-muted) 18%);
  font-weight: 500;
  min-width: 0;
  flex: 0 1 auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.menu-list .dots {
  flex: 1 1 0;
  min-width: 0.35rem;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.15);
  margin: 0 0.25rem 0.2rem;
  align-self: flex-end;
}

.menu-list__line .dots {
  align-self: flex-end;
}

.menu-list .price {
  color: color-mix(in srgb, var(--accent-pink) 78%, #9a8a9a 22%);
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
}

.menu-loading,
.menu-fallback {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 1rem;
  margin: 0;
  font-size: 0.95rem;
}

.menu-fallback {
  color: var(--accent-pink);
}

/* Menu: wąski ekran — mniej paddingu w kartach, mniejsze strzałki w docku */
@media (max-width: 767px) {
  .menu-card {
    padding: 1.05rem 0.9rem 1.15rem;
  }
  .menu-dock {
    margin-left: 0;
    margin-right: 0;
  }
  .menu-dock__arrow {
    width: 2.1rem;
    height: 2.1rem;
    font-size: 1.2rem;
  }
  /* Długie tytuły sekcji w zakładkach: 2 wiersze zamiast jednej bardzo długiej kolumny pikseli */
  .menu-tab {
    white-space: normal;
    max-width: 8.2rem;
    min-height: 2.6rem;
    line-height: 1.2;
  }
}

/* Kontakt */
.contact-grid {
  display: grid;
  gap: 1.1rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-card--address {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-card--address {
    grid-column: auto;
  }
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05) 0%, rgba(10, 12, 18, 0.55) 40%, rgba(0, 0, 0, 0.38) 100%);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset, 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 6px 28px -6px rgba(0, 0, 0, 0.45),
    0 0 32px -16px rgba(255, 144, 255, 0.1);
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
}

.contact-card--phone {
  background: linear-gradient(160deg, rgba(255, 144, 255, 0.09) 0%, rgba(8, 10, 16, 0.55) 45%, rgba(0, 0, 0, 0.4) 100%);
  border-color: rgba(255, 144, 255, 0.22);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset, 0 0 0 1px rgba(255, 144, 255, 0.1) inset, 0 8px 32px -6px rgba(0, 0, 0, 0.5),
    0 0 40px -14px rgba(255, 144, 255, 0.18);
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: var(--accent-cyan);
  background: linear-gradient(145deg, rgba(146, 255, 255, 0.12), rgba(0, 0, 0, 0.25));
  border: 1px solid rgba(146, 255, 255, 0.2);
  box-shadow: 0 0 20px -8px rgba(146, 255, 255, 0.25);
  flex-shrink: 0;
}

.contact-card--phone .contact-card__icon {
  color: var(--accent-pink);
  border-color: rgba(255, 144, 255, 0.3);
  background: linear-gradient(145deg, rgba(255, 144, 255, 0.18), rgba(0, 0, 0, 0.2));
  box-shadow: 0 0 20px -6px rgba(255, 144, 255, 0.2);
}

.contact-card__title {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card__action {
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  font-weight: 700;
  color: var(--accent-pink);
  text-decoration: none;
  line-height: 1.2;
  padding: 0.15rem 0;
  border-bottom: 2px solid rgba(255, 144, 255, 0.4);
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}

.contact-card__action:hover,
.contact-card__action:focus-visible {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  text-shadow: 0 0 24px rgba(146, 255, 255, 0.2);
  outline: none;
}

.contact-card__note,
.contact-card__lede {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 20rem;
}

.contact-hours {
  list-style: none;
  margin: 0.15rem 0 0;
  padding: 0.65rem 0.85rem;
  width: 100%;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-hours li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.contact-hours__dni {
  color: var(--text-muted);
  min-width: min(12rem, 100%);
  line-height: 1.4;
}

.contact-hours__time {
  color: var(--accent-cyan);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.contact-address {
  margin: 0.15rem 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  font-style: normal;
  color: var(--text);
}

.contact-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(146, 255, 255, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s, border-color 0.2s;
}

.contact-card__link:hover,
.contact-card__link:focus-visible {
  color: var(--accent-pink);
  border-bottom-color: var(--accent-pink);
  outline: none;
}

/* Location */
.location-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .location-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.info-block {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04) 0%, rgba(8, 10, 14, 0.55) 50%, rgba(0, 0, 0, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35) inset, 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 0 40px -14px rgba(0, 0, 0, 0.55),
    0 0 32px -18px rgba(146, 255, 255, 0.1);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
}

.info-block p {
  margin: 0.35rem 0;
}

.info-block a.map-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--accent-pink);
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 220px;
  background: linear-gradient(160deg, rgba(20, 22, 28, 0.6), #121212);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45) inset, 0 0 40px -14px rgba(0, 0, 0, 0.55), 0 0 36px -20px rgba(255, 144, 255, 0.1),
    0 0 32px -18px rgba(146, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.map-wrap iframe {
  width: 100%;
  height: min(50vw, 360px);
  min-height: 220px;
  border: 0;
  display: block;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(146, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(20, 12, 20, 0.55) 0%, rgba(0, 0, 0, 0.85) 50%, #000 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 -24px 48px -28px rgba(146, 255, 255, 0.1);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
}

.site-footer a {
  color: var(--text);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__credit {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer__credit a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 144, 255, 0.35);
  transition: color 0.2s, border-color 0.2s;
}

.site-footer__credit a:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

/* Przycisk „na górę” — pojawia się po przewinięciu, nad treścią, pod modałem galerii */
.back-to-top {
  position: fixed;
  z-index: 60;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(146, 255, 255, 0.45);
  background: linear-gradient(155deg, rgba(20, 16, 28, 0.96) 0%, rgba(4, 4, 10, 0.96) 100%);
  color: #dff;
  box-shadow: 0 0 0 1px rgba(255, 144, 255, 0.1) inset, 0 4px 24px rgba(0, 0, 0, 0.55),
    0 0 32px -12px rgba(255, 144, 255, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.4rem) scale(0.96);
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.back-to-top__icon {
  display: block;
  margin-top: 1px;
}
.back-to-top.back-to-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  color: #fff;
  border-color: rgba(255, 144, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 144, 255, 0.15) inset, 0 0 28px -6px rgba(255, 144, 255, 0.4);
  outline: none;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }
}

/* FAQ — nagłówek i wstęp wyśrodkowane, lista w wąskiej kolumnie */
.section--faq .section__title {
  text-align: center;
}

.section--faq .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

.section__intro--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.wrap--faq {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: left;
}

.faq > li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq__item {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.04) 0%, rgba(10, 10, 14, 0.4) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3) inset, 0 0 32px -14px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px) saturate(1.05);
  -webkit-backdrop-filter: blur(6px) saturate(1.05);
  transition: box-shadow 0.25s ease, border-color 0.2s;
}

.faq__item:hover {
  box-shadow: 0 0 40px -12px rgba(0, 0, 0, 0.5), 0 0 28px -16px rgba(255, 144, 255, 0.1),
    0 0 32px -18px rgba(146, 255, 255, 0.07);
  border-color: rgba(146, 255, 255, 0.28);
}

.faq__item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  color: var(--text);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--accent-cyan);
  border-bottom: 2px solid var(--accent-cyan);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq__item summary:hover {
  color: var(--accent-cyan);
}

.faq__body {
  padding: 0 1.15rem 1.1rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
  line-height: 1.55;
}

/* Promocja — okno <dialog> */
.promo-dialog {
  max-width: min(32rem, calc(100vw - 2rem));
  width: 100%;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius, 12px);
  background: linear-gradient(160deg, rgba(18, 20, 28, 0.98) 0%, rgba(6, 8, 12, 0.98) 100%);
  color: var(--text);
  box-shadow: 0 24px 80px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 200, 255, 0.08) inset;
}
.promo-dialog::backdrop {
  background: rgba(6, 2, 12, 0.4);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.promo-dialog__inner {
  position: relative;
  padding: 1.35rem 1.5rem 1.5rem;
}
.promo-dialog__close {
  position: absolute;
  top: 0.65rem;
  right: 0.55rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.promo-dialog__close:hover,
.promo-dialog__close:focus-visible {
  background: rgba(255, 150, 200, 0.15);
  color: var(--text);
  outline: none;
}
.promo-dialog__title {
  margin: 0 2rem 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}
.promo-dialog__body {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.promo-dialog__body p:last-child {
  margin-bottom: 0;
}
.promo-dialog__footer {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}
.promo-dialog__footer .btn {
  margin: 0;
}
