/* SEBIR 3.0 - wspolny wyglad (etap 4). Styl B "ciepla elegancja" (A-09), jasny/ciemny (A-10),
   gorna belka bez nakladania od 320 px (A-11). Wszystkie kolory jako zmienne - dwa motywy.
   Zmiana pliku = podbic ?v= w odwolaniach. */
/* Czcionki 3.0 w tym pliku (Lighthouse 2026-10-17: 1 plik CSS zamiast 3 blokujacych). Kopia regul z /fonts/fonts.css
   (Inter 400-700 latin/latin-ext/cyrillic, Heebo) i /assets/fonts/fonts-3.css (Lora, Frank Ruhl Libre); OFL, wlasny serwer.
   'Inter Fallback' = Arial z metryka Intera: zamiana czcionki nie przesuwa tekstu (CLS). */
/* hebrew */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/heebo-7a91ea11.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/heebo-f8e98f2d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/heebo-22321ecb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/heebo-7a91ea11.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/heebo-f8e98f2d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/heebo-22321ecb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/heebo-7a91ea11.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/heebo-f8e98f2d.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/heebo-22321ecb.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-ec84a376.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-4ee8fc98.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-pl.woff2) format('woff2');
  unicode-range: U+0100-017F, U+2020, U+20AA;   /* podzbior: Latin Extended-A (polskie litery), 2026-10-26 */
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-56724408.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-ec84a376.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-4ee8fc98.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-pl.woff2) format('woff2');
  unicode-range: U+0100-017F, U+2020, U+20AA;   /* podzbior: Latin Extended-A (polskie litery), 2026-10-26 */
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-56724408.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-ec84a376.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-4ee8fc98.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-pl.woff2) format('woff2');
  unicode-range: U+0100-017F, U+2020, U+20AA;   /* podzbior: Latin Extended-A (polskie litery), 2026-10-26 */
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-56724408.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-ec84a376.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-4ee8fc98.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext-pl.woff2) format('woff2');
  unicode-range: U+0100-017F, U+2020, U+20AA;   /* podzbior: Latin Extended-A (polskie litery), 2026-10-26 */
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/inter-56724408.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/frank-ruhl-libre-hebrew-500.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* hebrew */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/frank-ruhl-libre-hebrew-500.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/lora-cyrillic-ext-400-700.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/lora-cyrillic-400-700.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/lora-latin-ext-400-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/lora-latin-400-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); ascent-override: 90.49%; descent-override: 22.56%; line-gap-override: 0%; size-adjust: 107.06%; }


:root {
  --night: #15171c; --night-2: #1d2027;
  --paper: #faf6ef; --paper-2: #f1e9dc; --card: #fffdf9; --line: #e2d7c5;
  --ink: #1d1b18; --ink-2: #4a453d; --muted: #6f675b;
  --gold: #c9a45c; --gold-strong: #b8913f; --gold-text: #7d5a18; --gold-soft: rgba(201,164,92,.14);
  --link: #1f5f63;
  --on-night: #f3ecdf; --on-night-2: #cfc5b4;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 16px; --gutter: 20px; --maxw: 1120px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #15171c; --paper-2: #1d2027; --card: #20232b; --line: #30343d;
  --ink: #f3eee6; --ink-2: #d5ccbe; --muted: #a79e90;
  --gold-text: #dcb56e; --link: #86c9cd;
  color-scheme: dark;
}
html[lang="he"] { --serif: 'Frank Ruhl Libre', 'Heebo', serif; --sans: 'Heebo', 'Heebo Fallback', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
/* Telefon (skill mobile-native, 2026-10-15): bez szarego blysku przy dotknieciu, bez 300 ms czekania na drugi stuk,
   etykieta przycisku nie zaznacza sie przy dluzszym przytrzymaniu. Tresc strony zostaje do zaznaczania. */
html { -webkit-tap-highlight-color: transparent; }
a, button, summary, label.choice, label.check { touch-action: manipulation; }
button, .btn, .carousel-btn { -webkit-user-select: none; user-select: none; }
.btn:active, .icon-btn:active { transform: scale(.97); transition: transform 100ms ease-out; }
.carousel-btn:active { transform: translateY(-50%) scale(.97); transition: transform 100ms ease-out; }  /* bez utraty wysrodkowania (2026-10-25) */
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--link); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
/* Chowane pionowo (top), nigdy przez duze ujemne left/right - w RTL (HE) poszerza strone (blad 2026-09-28-02). */
.skip { position: absolute; top: -120px; inset-inline-start: 8px; background: var(--gold); color: #1a1406; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 8px; }
/* Fokus min. 3:1 do tla (WCAG 1.4.11, audyt 2026-10-04): ciemne zloto na jasnym tle, jasne zloto na ciemnych strefach. */
:root { --focus: #7d5a18; }
:root[data-theme="dark"], .site-header, .hero, .cta-final, .site-footer, .cc, .ccd { --focus: #c9a45c; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
/* Przyciski karuzeli leza na zdjeciu (dowolny kolor) - podwojny pierscien bialy + ciemny jest czytelny na kazdym tle. */
.carousel-btn:focus-visible, .carousel-dots button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 7px #1a1406; }

/* ---------- Gorna belka ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(21,23,28,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; gap: 10px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 26px; width: auto; }
.nav { display: none; gap: 20px; margin-inline-start: auto; }
.nav a { color: var(--on-night); text-decoration: none; font-size: 0.9375rem; white-space: nowrap; position: relative; }
/* Zlota kropka miedzy pozycjami menu (wlasciciel 2026-10-15: nazwy sie zlewaly). Kropka w odstepie, poza obszarem linku. */
.nav a + a::before { content: ""; position: absolute; inset-inline-start: -12px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--gold); opacity: .8; pointer-events: none; }
.tools { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; flex-shrink: 0; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--on-night); font: 600 0.875rem var(--sans); cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang { position: relative; }
.lang-list { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; list-style: none; background: var(--night-2); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 6px; display: none; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.lang-list.open { display: block; }
.lang-list a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--on-night); text-decoration: none; font-size: 0.9375rem; }
.lang-list .code { color: var(--on-night-2); font-size: 0.8125rem; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: inline; }
.site-header .header-cta { display: none; } /* mocniejszy selektor - .btn nizej ma display:inline-block (blad kolejnosci, BLEDY §3) */
.menu-btn { }
.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,.08); padding: 10px var(--gutter) 16px; }  /* boki jak logo - bylo 0 i nadpisywalo odstep .wrap (wlasciciel 2026-10-15) */
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 11px 0; color: var(--on-night); text-decoration: none; font-size: 1.0625rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-menu .btn { margin-top: 14px; border-bottom: 0; text-align: center; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .tools { margin-inline-start: 18px; }
  .site-header .menu-btn { display: none; }
  .site-header .header-cta { display: inline-block; }
  .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- Przyciski ---------- */
.btn { display: inline-block; border-radius: 999px; padding: 13px 24px; font: 600 1rem/1.2 var(--sans); text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: #1a1406; }
.btn-ghost { border: 1px solid rgba(239,231,218,.45); color: var(--on-night); }
.header-cta.btn { padding: 10px 18px; font-size: 0.875rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; color: #f7f1e7; background: var(--night) center 60% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,20,.45) 0%, rgba(15,16,20,.35) 40%, rgba(15,16,20,.9) 100%); }
.hero .wrap { position: relative; padding-top: 72px; padding-bottom: 34px; }
.eyebrow { font: 600 0.8125rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.eyebrow.dark { color: var(--gold-text); }
h2.eyebrow { margin: 1em 0; }   /* naglowek sekcji historii (W3C: sekcja z naglowkiem), wyglad jak p.eyebrow */
html[lang="he"] .eyebrow { letter-spacing: 0; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.875rem, 5.2vw, 3.625rem); line-height: 1.14; max-width: 840px; margin: 12px 0 16px; }
.hero .lead { font-size: clamp(1.0625rem, 2vw, 1.25rem); max-width: 640px; color: #e8dfd0; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 0.875rem; color: var(--on-night-2); list-style: none; }
.trust li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-inline-end: 8px; vertical-align: middle; }
.shabbat-info { margin-top: 18px; font-size: 0.875rem; color: var(--on-night-2); }
/* Ramka z zyczeniami i godzina Szabatu - ciemne polprzezroczyste tlo, czytelne na kazdym fragmencie zdjecia (wlasciciel 2026-10-01). */
.hero-note { display: inline-flex; gap: 12px; align-items: flex-start; margin-top: 18px; max-width: 640px; padding: 10px 16px;
  background: rgba(15,16,20,.15); border: 1px solid rgba(201,164,92,.7); border-radius: 14px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hero-note { min-height: 66px; }  /* miejsce zarezerwowane od poczatku: pokazanie ramki nie przesuwa naglowka (CLS, audyt 2026-10-12) */
.hero-note[hidden] { visibility: hidden; }
.hero-note .hn-ico { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.holiday-info { font-family: var(--serif); font-size: clamp(1.125rem, 2vw, 1.3125rem); color: var(--gold); line-height: 1.3; }
.hero-note .shabbat-info { margin-top: 0; font-size: 0.875rem; color: #e8dfd0; }
.holiday-info:not([hidden]) + .shabbat-info { margin-top: 4px; }

/* ---------- Sekcje, karty ---------- */
.block { padding: 84px 0; }
.block.alt { background: var(--paper-2); }
.sec-head { max-width: 700px; margin-bottom: 38px; }
.sec-head h2, .prose h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.6875rem, 3.4vw, 2.5rem); line-height: 1.2; margin: 10px 0 12px; }
.sec-head p { color: var(--ink-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card svg { width: 30px; height: 30px; stroke: var(--gold-text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; line-height: 1.25; }
.card p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.card a { font-weight: 600; text-decoration: none; }
.list-icons { list-style: none; display: grid; gap: 16px; }
.list-icons li { display: flex; gap: 14px; align-items: flex-start; }
.list-icons svg { flex-shrink: 0; width: 26px; height: 26px; margin-top: 2px; stroke: var(--gold-text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.list-icons strong { display: block; }
.list-icons span { color: var(--ink-2); font-size: 1rem; }
.note-box { margin-top: 22px; padding: 16px 18px; border-inline-start: 3px solid var(--gold); background: var(--gold-soft); border-radius: 0 10px 10px 0; font-size: 1rem; color: var(--ink-2); }
[dir="rtl"] .note-box { border-radius: 10px 0 0 10px; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.photo { border-radius: 18px; overflow: hidden; aspect-ratio: 4/5; background: var(--paper-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fact { border-top: 2px solid var(--gold); padding-top: 16px; }
.fact b { --fs: clamp(2rem, 4vw, 2.75rem); font-family: var(--serif); font-size: var(--fs); font-weight: 600; line-height: 1.05; display: block; color: var(--gold-text); }
.fact { container-type: inline-size; }
.fact b:has(small) { white-space: nowrap; font-size: min(var(--fs), 16cqi); line-height: calc(var(--fs) * 1.05); }  /* przedrostek "Do": jedna linia, podpis rowno z liczbami */
.fact b small { font-family: var(--sans); font-size: 0.42em; line-height: 0; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2); margin-inline-end: 0.1em; }
.fact span { display: block; margin-top: 10px; color: var(--ink-2); font-size: 0.9375rem; }
blockquote.story { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.625rem); line-height: 1.45; }
.meta { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; }
details.qa { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
details.qa summary { font-weight: 600; cursor: pointer; }
details.qa p { margin-top: 10px; color: var(--ink-2); }
.cta-final { background: var(--night); color: var(--on-night); text-align: center; }
.cta-final h2 { color: var(--on-night); }
.cta-final p { color: var(--on-night-2); max-width: 560px; margin: 0 auto 24px; }

/* ---------- Podstrony (etap 5) ---------- */
.hero.sub { min-height: 62vh; min-height: 62svh; }
.hero.sub h1 { font-size: clamp(1.625rem, 4.4vw, 3.125rem); }
.hero .small { margin-top: 18px; font-size: 0.875rem; color: var(--on-night-2); }
.crumbs { font-size: 0.875rem; color: var(--on-night-2); }
.crumbs a { color: var(--on-night-2); }
.prose { max-width: 760px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose ul, .box ul { list-style: none; display: grid; gap: 10px; }
.prose ul li, .box ul li { position: relative; padding-inline-start: 22px; }
.prose ul li::before, .box ul li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.prose b, .box b { color: var(--ink); }
.boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.boxes.three { grid-template-columns: repeat(3, 1fr); }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
/* WCAG 1.4.10/1.4.12 (2026-10-07): dlugie slowa (RU) i zwiekszone odstepy tekstu nie rozpychaja kolumn ani okruszkow - zawijanie zamiast ucinania przez body overflow-x */
.fact, .box, .card, .crumbs, .prose, .hero .wrap { min-width: 0; overflow-wrap: anywhere; }
h1, h2, h3 { overflow-wrap: break-word; }
.box h3 { font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
.box p { color: var(--ink-2); font-size: 1rem; }
.box p + p { margin-top: 10px; }
.box ul { font-size: 1rem; color: var(--ink-2); }
.steps { list-style: none; counter-reset: st; display: grid; gap: 18px; max-width: 760px; }
.steps li { counter-increment: st; position: relative; padding-inline-start: 58px; min-height: 42px; }
.steps li::before { content: counter(st); position: absolute; inset-inline-start: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-text); font: 600 1.125rem/36px var(--serif); text-align: center; }
.steps b { display: block; color: var(--ink); }
.steps span { color: var(--ink-2); }
.faq { max-width: 820px; }
.faq .more { margin-top: 18px; }
ul.check { list-style: none; margin-top: 12px; display: grid; gap: 8px; color: var(--ink-2); font-size: 1rem; }
ul.check li { padding-inline-start: 20px; position: relative; }
ul.check li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .65em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
ul.check li.more { color: var(--muted); font-style: italic; }
ul.check li.more::before { display: none; }
.tag { display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.75rem; font-style: normal; color: var(--muted); white-space: nowrap; vertical-align: 1px; }
.tag.we { border-color: var(--gold); color: var(--gold-text); background: var(--gold-soft); }
/* Sekcja "Tak planujemy pobyt" - arkusz w wygladzie Excela (site/tresc_plan.py, 2026-10-16). Arkusz zawsze jasny jak plik (oba motywy). */
.xl { border: 1px solid #c9c9c9; border-radius: 10px; overflow: hidden; background: #fff; color: #1f1f1f; box-shadow: 0 10px 28px rgba(30,25,15,.12);
  font-family: Calibri, Aptos, 'Segoe UI', Arial, sans-serif; }
.xl-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--night); color: #f3ecdf; font-size: 0.8125rem; }
.xl-bar svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.6; flex: none; }
.xl-file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xl-fx { display: flex; align-items: stretch; border-bottom: 1px solid #d4d4d4; font-size: 0.8125rem; background: #fff; }
.xl-ref { min-width: 58px; padding: 5px 8px; border-inline-end: 1px solid #d4d4d4; color: #333; }
.xl-fxi { padding: 5px 8px; color: #6b6b6b; font-style: italic; border-inline-end: 1px solid #d4d4d4; }
.xl-fv { padding: 5px 10px; color: #1f1f1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xl-scroll { overflow-x: auto; }
.xl-scroll:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.xl-t { border-collapse: collapse; font-size: 0.8125rem; line-height: 1.35; font-variant-numeric: tabular-nums; width: 100%; }
.xl-t .xl-fill { width: 100%; background: #fff; }  /* puste kolumny za danymi */
.xl-t .xl-cols .xl-fill { background: #f2f2f2; }
.xl-t th, .xl-t td { border: 1px solid #d9d9d9; padding: 5px 9px; text-align: start; vertical-align: top; white-space: nowrap; color: #1f1f1f; }
.xl-t th { background: #f4ead6; font-weight: 700; }
.xl-cols td::before, .xl-t .xl-rn::before { content: attr(data-c); }
.xl-cols td { background: #f2f2f2; color: #5a5a5a; font-size: 0.75rem; text-align: center; padding: 2px 6px; }
.xl-t .xl-corner { background: #e9e9e9; }
.xl-t .xl-rn { background: #f2f2f2; color: #5a5a5a; font-size: 0.75rem; text-align: center; width: 34px; padding: 5px 4px; }
.xl-t .xl-m { background: #ddebf7; } .xl-t .xl-b { background: #fbe0e2; } .xl-t .xl-p { background: #e2efda; } .xl-t .xl-sz { background: #fff2cc; }
.xl-t .xl-ok { background: #e2efda; color: #275e2a; } .xl-t .xl-wait { background: #fff2cc; color: #5e4800; }
.xl-t .xl-sum { font-weight: 700; border-top: 3px double #8a8a8a; }
.xl-t td.xl-sel { outline: 2px solid #1e7145; outline-offset: -2px; }
.xl-tabs { display: flex; flex-wrap: wrap; background: #f2f2f2; border-top: 1px solid #c9c9c9; padding: 0 6px; }
.xl-tabs button { border: 0; border-inline-end: 1px solid #d0d0d0; background: transparent; color: #3d3d3d; font: 600 0.8125rem/1.2 Calibri, Aptos, 'Segoe UI', Arial, sans-serif;
  padding: 9px 14px; min-height: 36px; cursor: pointer; }
.xl-tabs button[aria-selected="true"] { background: #fff; color: #1e7145; box-shadow: inset 0 -3px 0 #1e7145; }
.xl-tabs button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.plan-panel.fade { animation: planIn .35s ease-out; }
@keyframes planIn { from { opacity: 0; } to { opacity: 1; } }
.plan-cap { margin-top: 12px; color: var(--ink-2); font-size: 0.9375rem; }
/* Podpisy arkusza w jednym miejscu (grid) - wysokosc = najdluzszy podpis, bez skoku strony przy zmianie zakladki (2026-10-25). */
.plan-caps { display: grid; }
.plan-caps > .plan-cap { grid-area: 1 / 1; }
.plan-caps > .plan-cap[hidden] { display: block; visibility: hidden; }
.plan-note { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .plan-panel.fade { animation: none; } }
@media (max-width: 560px) {  /* telefon: mniej wierszy i kolumn (wlasciciel 2026-10-16), arkusz przewijany w bok jak w aplikacji */
  .xl .pc { display: none; }
  .xl-t { font-size: 0.75rem; }
  .xl-t th, .xl-t td { padding: 4px 7px; }
  .xl-tabs button { padding: 8px 10px; font-size: 0.75rem; }
}

.block .note-box a, .box a, .prose a { font-weight: 600; }

/* ---------- Formularz "Czego potrzebujesz?" (etap 6) ---------- */
.inq { max-width: 820px; }
.inq .step { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 26px 24px; margin-bottom: 18px; min-width: 0; }
.step-legend { float: left; width: 100%; padding: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 4px; }
.step-legend + * { clear: both; }
.step-legend:focus { outline: none; }
.step-of { display: block; font: 600 0.75rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
html[lang="he"] .step-of { letter-spacing: 0; }
.fl-q { margin: 6px 0 14px; color: var(--ink-2); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s; }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice input { margin-top: 5px; accent-color: var(--gold-strong); width: 18px; height: 18px; flex-shrink: 0; }
.choice b { display: block; font-size: 1.0625rem; }
.choice small { display: block; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.45; }
.fl { display: block; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); margin-top: 16px; }
.fi { display: block; width: 100%; margin-top: 6px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; font: 400 1rem var(--sans); padding: 11px 13px; }
.fi:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
textarea.fi { resize: vertical; min-height: 130px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 16px; }
.path-block { margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--line); }
.pb-title { font-family: var(--serif); font-size: 1.1875rem; font-weight: 600; margin-top: 18px; }
.inq.stepped .pb-title:first-child { display: none; }
.needs { border: 0; margin-top: 16px; min-width: 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; cursor: pointer; padding: 4px 0; }
.check input { margin-top: 4px; accent-color: var(--gold-strong); width: 18px; height: 18px; flex-shrink: 0; }
.hint { font-size: 0.875rem; color: var(--muted); margin-top: 6px; }
.rodo { font-size: 0.8125rem; line-height: 1.6; color: var(--muted); margin: 18px 0 6px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.step-nav [data-next]:only-child { margin-inline-start: auto; }
.btn-line { border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
button.btn { cursor: pointer; border: 0; }
button.btn.btn-line { border: 1px solid var(--line); }
button.btn[disabled] { opacity: .6; cursor: wait; }
.inq:not(.stepped) .step-nav [data-next], .inq:not(.stepped) .step-nav [data-back] { display: none; }
.inq-result:empty { display: none; }
.inq-result { margin: 4px 0 18px; padding: 16px 18px; border-radius: 12px; font-size: 1.0625rem; }
.inq-result.ok { background: var(--gold-soft); border: 1px solid var(--gold); }
.inq-result.err { background: rgba(200,60,60,.1); border: 1px solid rgba(200,60,60,.5); }
.inq .alt { color: var(--ink-2); font-size: 0.9375rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  .choices, .checks, .row2, .row3 { grid-template-columns: 1fr; }
  .inq .step { padding: 20px 16px; }
}

/* ---------- Strony wiedzy (etap 8) ---------- */
.hero.plain { min-height: 0; background: var(--night); }
.hero.plain .wrap { padding-top: 70px; padding-bottom: 44px; }
.article { max-width: 820px; font-size: 1.0625rem; }
.article > * + *, .article section > * + *, .article .place > * + * { margin-top: 16px; }
.article h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin-top: 40px; scroll-margin-top: 4px; }
.article h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3125rem; line-height: 1.3; margin-top: 26px; scroll-margin-top: 4px; }
.article h4 { font-size: 1.0625rem; font-weight: 700; margin-top: 20px; }
.article section, .article [id] { scroll-margin-top: 4px; }
.article p, .article li, .article td { color: var(--ink-2); }
.article b, .article strong { color: var(--ink); }
.article ul, .article ol { padding-inline-start: 22px; display: grid; gap: 8px; }
.article ul { list-style: none; padding-inline-start: 0; }
.article ul > li { position: relative; padding-inline-start: 22px; }
.article ul > li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.article a { font-weight: 600; }
.article img { border-radius: 12px; height: auto; }
.nb-label { display: block; font: 700 0.75rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
html[lang="he"] .nb-label { letter-spacing: 0; }
.note-box ul > li::before { background: var(--gold-strong); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 18px 22px; }
.toc-label { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.toc ol { padding-inline-start: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; font-size: 0.9375rem; background: var(--card); }
/* Ikony SEBIR i standardy kaszrutu (2026-10-25): jeden kolor --gold-text w obu motywach, jak .card svg */
.ico-strip { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 640px) { .ico-strip { grid-template-columns: repeat(2, 1fr); } }
.ico-strip li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 10px 14px; font-size: 0.9375rem; line-height: 1.35; }
.ico-strip svg, .pt-ico { width: 36px; height: 36px; stroke: var(--gold-text); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pt-ico { width: 28px; height: 28px; vertical-align: -5px; margin-inline-end: 10px; }
.std-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.std-chips a { display: inline-block; border: 1.5px solid var(--gold-text); color: var(--gold-text); border-radius: 999px; padding: 7px 16px; text-decoration: none; font-weight: 600; letter-spacing: .02em; background: var(--card); transition: background .2s; }
.std-chips a:hover, .std-chips a:focus-visible { background: var(--gold-soft); }
.carousel.contain .carousel-track img { object-fit: contain; }  /* zblizenia znakow: caly kadr, bez przycinania */
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.term { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; }
.term h3 { margin-top: 0; font-size: 1.1875rem; }
.term-he { font-family: 'Frank Ruhl Libre', serif; font-weight: 500; color: var(--gold-text); margin-inline-start: 6px; }
.term-trans { font-size: 0.875rem; font-style: italic; color: var(--muted); margin-top: 4px; }
.term > div { margin-top: 8px; font-size: 1rem; color: var(--ink-2); }
.place { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-top: 26px; }
.place h2 { margin-top: 0; font-size: clamp(1.375rem, 2.6vw, 1.75rem); }
.place-loc { font-size: 0.9375rem; }
.place-loc a { font-weight: 500; }
.photo-one img { width: 100%; max-height: 460px; object-fit: cover; }
.carousel { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track img, .carousel-track video { flex: 0 0 100%; width: 100%; height: 460px; object-fit: cover; scroll-snap-align: start; border-radius: 0; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(21,23,28,.7); color: #fff; font-size: 1.625rem; line-height: 1; cursor: pointer; }
.carousel-btn.prev { inset-inline-start: 10px; }
.carousel-btn.next { inset-inline-end: 10px; }
/* Strzalka rysowana w CSS (2026-10-25): znaki ‹ › maja nierowne marginesy w foncie i stawaly krzywo w kolku.
   Tekst w przycisku zostaje (font-size 0), nazwe dla czytnika ekranu daje aria-label z sebir.js. */
.carousel-btn { display: grid; place-items: center; font-size: 0; }
.carousel-btn::before { content: ""; width: 11px; height: 11px; border: solid #fff; border-width: 0 0 2.5px 2.5px; }
.carousel-btn.prev::before { transform: translateX(2px) rotate(45deg); }
.carousel-btn.next::before { transform: translateX(-2px) rotate(-135deg); }
[dir="rtl"] .carousel-btn.prev::before { transform: translateX(-2px) rotate(-135deg); }
[dir="rtl"] .carousel-btn.next::before { transform: translateX(2px) rotate(45deg); }
.carousel-btn[hidden] { display: none; }
.carousel-dots { position: absolute; bottom: 4px; inset-inline: 0; display: flex; justify-content: center; gap: 0; }
.carousel-dots button { position: relative; width: 24px; height: 24px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.carousel-dots button::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: rgba(255,255,255,.6); }
.carousel-dots button[aria-current="true"]::after { background: var(--gold); }
.carousel-count { position: absolute; top: 10px; inset-inline-end: 12px; background: rgba(21,23,28,.7); color: #fff; font-size: 0.8125rem; padding: 2px 10px; border-radius: 999px; }
.carousel-count:empty { display: none; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: start; vertical-align: top; }
.tbl th { color: var(--ink); background: var(--paper-2); }
.qa-body > * + * { margin-top: 10px; }
@media (max-width: 640px) {
  .terms { grid-template-columns: 1fr; }
  .carousel-track img, .carousel-track video { height: 300px; }
  .place { padding: 16px; }
}

.nf { margin-top: 26px; }
.nf h2 { font-family: var(--serif); font-size: 1.75rem; }
.nf p { color: var(--ink-2); margin-top: 6px; }

/* ---------- Zgoda na cookies (etap 7) ---------- */
.cc { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 150; max-width: 1120px; margin-inline: auto; display: flex; gap: 10px 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--night-2); color: var(--on-night); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 14px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.35); font-size: 0.9375rem; }
.cc[hidden] { display: none; }
.cc a { color: var(--gold); white-space: nowrap; }
/* Baner cookies (uwaga wlasciciela 2026-10-15, ekran 13"): na laptopie tekst i przyciski w jednym rzedzie, link sie nie lamie. */
.cc p { flex: 1 1 380px; }
@media (min-width: 900px) { .cc-btns { flex-shrink: 0; } }
.cc-btns { display: flex; gap: 8px; }
.cc .btn { padding: 9px 18px; font-size: 0.9375rem; }
.cc .btn-line { color: var(--on-night); border-color: rgba(255,255,255,.3); }

/* ---------- Stopka ---------- */
/* Przebudowa 2026-10-31 (wlasciciel: balagan, slaba czytelnosc): marka + kontakt, dwie kolumny linkow, pasek prawny. */
.site-footer { background: #0f1014; color: #a39b8e; font-size: 0.9375rem; padding: 56px 0 28px; border-top: 1px solid rgba(201,164,92,.22); }
.site-footer a { color: #e4dbcc; text-decoration: none; }
.foot-top { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 56px; padding-bottom: 40px; }
.foot-logo { display: inline-block; }
.foot-logo img { display: block; height: 28px; width: auto; }
.foot-tag { margin: 16px 0 22px; max-width: 36ch; line-height: 1.6; color: #b9b0a1; }
.foot-contact { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-weight: 500; transition: border-color .15s ease-out, color .15s ease-out; }
.foot-contact svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-social { list-style: none; display: flex; gap: 8px; margin-top: 14px; }
.foot-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(201,164,92,.35); border-radius: 50%; transition: border-color .15s ease-out, background-color .15s ease-out; }
.foot-social svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.foot-cols .foot-h { color: var(--gold); font: 600 0.75rem var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
html[lang="he"] .foot-cols .foot-h { letter-spacing: 0; font-size: 0.875rem; }
.foot-cols ul { list-style: none; display: grid; gap: 2px; }
.foot-cols a { display: inline-block; padding: 5px 0; line-height: 1.4; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; font-size: 0.8125rem; }
.legal { color: #968d7f; line-height: 1.6; }
.foot-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer .foot-legal a, .site-footer .foot-legal .linklike { color: #c9bfae; }
.nw { white-space: nowrap; }

/* ---------- Pojawianie przy przewijaniu (tresc zawsze w HTML) ---------- */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .35s ease-out, transform .35s ease-out; }  /* krocej: tresc nie stoi przygaszona (audyt apple-design 2026-10-24) */
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

@media (max-width: 900px) {
  .cards, .facts, .boxes.three { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .foot-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .cards, .boxes, .boxes.three { grid-template-columns: 1fr; }
  .site-footer { padding-top: 44px; }
  .foot-cols { gap: 20px; }
  .foot-bottom { flex-direction: column; }
  .facts { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .fact b { --fs: 1.875rem; }
  .hero.sub { min-height: 0; }
  .block { padding: 60px 0; }
  .hero { min-height: 82vh; min-height: 82svh; }
  .logo img { height: 22px; }
}
/* Waskie telefony (break-ui 2026-10-15): dlugie slowa (RU, przyszle DE) przenoszone z dywizem zamiast lamania w srodku;
   jezyk z <html lang>. HE bez przenoszenia (przegladarki go nie dziela). Na komputerze tytuly bez dywizow. */
@media (max-width: 400px) {
  h1, h2, h3, .card a, .fact b, .fact span { -webkit-hyphens: auto; hyphens: auto; }
}
@media (max-width: 360px) {
  .fact b { --fs: 1.5rem; }
}
@media (max-width: 360px) {
  .icon-btn { min-width: 36px; height: 36px; padding: 0 8px; font-size: 0.8125rem; }
  .logo img { height: 20px; }
}
/* Ustawienia cookies (2026-10-04): trzy jednakowe przyciski w banerze i okno z kategoriami (ciemne w obu motywach). */
.cc-btns { flex-wrap: wrap; }
.ccd-back { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ccd-back[hidden] { display: none; }
.ccd { background: var(--night-2); color: var(--on-night); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; max-width: 580px; width: 100%; max-height: 90vh; overflow: auto; padding: 24px; font-size: 0.9375rem; line-height: 1.55; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.ccd h2 { font-family: var(--serif); font-size: 1.375rem; margin-bottom: 8px; color: var(--on-night); }
.ccd h2:focus { outline: none; }
.ccd > p { margin-bottom: 10px; color: var(--on-night-2); }
.ccd a { color: var(--gold); }
.ccd-cat { border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; margin: 10px 0; }
.ccd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.ccd-cat p { margin-top: 6px; font-size: 0.875rem; color: var(--on-night-2); }
.ccd-on { font-size: 0.8125rem; color: var(--gold); }
.ccd-row input { width: 22px; height: 22px; accent-color: var(--gold); cursor: pointer; flex: none; }
.ccd-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ccd-btns .btn { flex: 1 1 150px; justify-content: center; color: var(--on-night); border-color: rgba(255,255,255,.3); }
.linklike { background: none; border: 0; padding: 0; color: #d9cfbf; font: inherit; cursor: pointer; text-align: start; }
.lang-list a[aria-current="true"] { background: rgba(201,164,92,.16); }
/* Hover tylko dla myszy (mobile-native 2026-10-15): na dotyku :hover "przykleja sie" po stuknieciu (karta zostaje uniesiona).
   Na koncu pliku, zeby jak dotad wygrywal z regulami bazowymi. */
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--gold); }
  .icon-btn:hover { border-color: var(--gold); }
  .lang-list a:hover { background: rgba(201,164,92,.16); }
  .btn-gold:hover { background: #d8b572; transform: translateY(-1px); }
  .btn-ghost:hover { border-color: var(--on-night); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(60,40,10,.12); border-color: var(--gold); }
  .choice:hover { border-color: var(--gold); }
  .btn-line:hover { border-color: var(--gold); }
  .chips a:hover { border-color: var(--gold); }
  .site-footer a:hover { color: var(--gold); }
  .foot-contact a:hover { border-color: var(--gold); }
  .foot-social a:hover { border-color: var(--gold); background-color: rgba(201,164,92,.1); }
  .linklike:hover, .site-footer .foot-legal .linklike:hover { color: var(--gold); }
}

/* Pasek zdjec w tekscie (np. kolaz salatek na stronie Koszer, 2026-10-16) */
.prose img.strip { width: 100%; height: auto; border-radius: 12px; margin: 20px 0 8px; }
/* Historia w tekscie jako maly akcent, nie glowny temat (wlasciciel 2026-10-16) */
.prose blockquote.story { font-size: 1.125rem; line-height: 1.55; font-style: italic; color: var(--ink-2); border-inline-start: 3px solid var(--gold); padding-inline-start: 16px; margin-top: 18px; }
/* Karuzela opinii (strona Grupy, 2026-10-20): wyglad jak pojedynczy cytat; slajdy w jednej komorce siatki, wiec wysokosc
   = najdluzsza opinia i strona nie skacze. Bez JS opinie stoja jedna pod druga. */
.quote { margin: 0; }
.quote + .quote { margin-top: 28px; }
.quotes-on .quotes-track { display: grid; }
.quotes-on .quote { grid-area: 1 / 1; margin: 0; visibility: hidden; opacity: 0; transition: opacity .6s ease, visibility 0s linear .6s; }
.quotes-on .quote.on { visibility: visible; opacity: 1; transition: opacity .6s ease; }
.quotes-ctl { display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.quotes-ctl[hidden] { display: none; }
.quotes-ctl button { display: inline-grid; place-items: center; min-width: 24px; min-height: 24px; padding: 0; border: 0; background: none; color: var(--ink-2); cursor: pointer; }
.quotes-pause svg { width: 18px; height: 18px; }
.quotes-pause .i-play, .quotes-pause.paused .i-pause { display: none; }
.quotes-pause.paused .i-play { display: block; }
.quotes-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--gold-strong); }
.quotes-dot[aria-current="true"]::before { background: var(--gold-strong); }
@media (prefers-reduced-motion: reduce) { .quotes-on .quote, .quotes-on .quote.on { transition: none; } }

/* Sekcje ponizej pierwszego ekranu: przegladarka uklada je dopiero przy przewijaniu (Lighthouse 2026-10-17: na telefonie
   'Style & Layout' 2-3 s opoznialo pokazanie zdjecia w naglowku). auto = pamieta wysokosc po pierwszym pokazaniu. */
main > section:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Audyt apple-design 2026-10-24 (knowledge/AUDYT_APPLE_DESIGN_2026-10-24.md) ---------- */
/* 3. Reakcja od razu przy nacisnieciu linku (karty, menu, stopka) */
.card a:active, .mobile-menu a:active, .nav a:active, .site-footer a:active { opacity: .7; transition: opacity 100ms ease-out; }
/* 6. Duze naglowki: lekko ujemne odstepy liter (lacinka, cyrylica); hebrajski bez zmian */
.hero h1, .sec-head h2, .prose h2 { letter-spacing: -0.01em; }
html[lang="he"] .hero h1, html[lang="he"] .sec-head h2, html[lang="he"] .prose h2 { letter-spacing: 0; }
/* 9. Zamiast twardej linii pod belka - delikatne wygaszenie */
.site-header::after { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 8px; background: linear-gradient(rgba(0,0,0,.14), transparent); pointer-events: none; }
/* 8. Lagodna zmiana motywu jasny/ciemny (klasa na 300 ms z sebir.js) */
html.theme-anim body, html.theme-anim .card, html.theme-anim .inq .step, html.theme-anim .fi, html.theme-anim .block { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
/* 7. Kroki formularza: krotkie wejscie z kierunku ruchu (HE lustrzane) */
@keyframes step-from-end { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes step-from-start { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.inq .step.step-in { animation: step-from-end .22s ease-out; }
.inq .step.step-back { animation: step-from-start .22s ease-out; }
[dir="rtl"] .inq .step.step-in { animation-name: step-from-start; }
[dir="rtl"] .inq .step.step-back { animation-name: step-from-end; }
/* 2. Pole z bledem w formularzu (komunikat przy przycisku kroku) */
.inq .fi[aria-invalid="true"], .inq .choice:has(input[aria-invalid="true"]) { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
:root[data-theme="dark"] .inq .fi[aria-invalid="true"], :root[data-theme="dark"] .inq .choice:has(input[aria-invalid="true"]) { border-color: #ff8a80; box-shadow: 0 0 0 1px #ff8a80; }
@media (prefers-reduced-motion: reduce) {
  .inq .step.step-in, .inq .step.step-back { animation: none; }
  html.theme-anim body, html.theme-anim .card, html.theme-anim .inq .step, html.theme-anim .fi, html.theme-anim .block { transition: none; }
}
/* 5. Ograniczona przezroczystosc / wiekszy kontrast w systemie: pelne tla zamiast rozmycia */
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: #15171c; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-note { background: rgba(15,16,20,.85); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .carousel-btn, .carousel-count { background: #15171c; }
}
@media (prefers-contrast: more) {
  .site-header { background: #15171c; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid #fff; }
  .site-header::after { display: none; }
  .hero-note { background: rgba(15,16,20,.9); -webkit-backdrop-filter: none; backdrop-filter: none; border-color: #c9a45c; }
  .card, .inq .step, .fi { border-color: currentColor; }
  .carousel-btn, .carousel-count { background: #000; }
}

/* ---------- impeccable (tryb ograniczony) 2026-10-24 - knowledge/IMPECCABLE_KRYTYKA_2026-10-24.md ---------- */
/* Wygodna dlugosc linii (45-75 znakow): tylko elementy tekstowe - zdjecia, mapy i tabele w artykulach zostaja szerokie */
.prose > p, .prose > ul, .prose > ol, .article p, .article ul, .article ol, .article h2, .article h3, .article h4, .article blockquote { max-width: 60ch; }
/* Rowne lamanie: naglowki bez pojedynczego slowa w ostatniej linii, akapity bez "wdow" (przegladarki bez wsparcia - bez zmian) */
h1, h2, h3, h4, .step-legend, blockquote.story { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
/* Zdjecie naglowka na telefonie: srodkowy wycinek 3:4 w pelnej rozdzielczosci (build.py hero_tel, 2026-10-25) - mniejszy plik, ta sama ostrosc */
@media (max-width: 640px) { .hero[style*="--hero-tel"] { background-image: var(--hero-tel) !important; } }
