/* ==========================================================================
   Dawid Krynicki — prototyp referencyjny v2 (mobile-first)
   Wszystkie style pisane od 360 px w górę; breakpointy tylko min-width:
   40em (640 px) · 60em (960 px) · 80em (1280 px)
   ========================================================================== */

/* ---------- 1. Tokeny ---------- */
:root {
  /* Kolory bazowe (paleta zaadaptowana z aboutclinic, kontrasty poprawione pod WCAG AA) */
  --bone: #e9e7e2;
  --bone-2: #e0ded8;
  --paper: #f7f6f3;
  --ink: #272725;
  --ink-2: #313130;
  --ink-3: #33332f;
  --ink-line: #464640;
  --line: #cbc9c1;          /* linie dekoracyjne */
  --line-strong: #85837c;   /* obramowania kontrolek: 3,07:1 na --bone */
  --mut: #5e5c57;           /* tekst drugorzędny: 5,4:1 na --bone */
  --mut-dark: #a3a19a;      /* tekst drugorzędny na --ink: 5,8:1 */
  --error: #b3261e;         /* 5,3:1 na --bone */
  --success: #2e6b47;       /* 5,1:1 na --bone */
  --success-dark: #7fc49b;  /* wskaźnik dostępności na --ink */

  /* Typografia */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --fs-hero: clamp(2.75rem, 1.55rem + 5.33vw, 6.25rem);   /* 44 → 100 px */
  --fs-h2: clamp(2rem, 1.47rem + 2.37vw, 3.5rem);         /* 32 → 56 px */
  --fs-h3: clamp(1.375rem, 1.24rem + 0.56vw, 1.75rem);    /* 22 → 28 px */
  --fs-h4: 1.125rem;                                       /* 18 px */
  --fs-lead: clamp(1.0625rem, 1rem + 0.28vw, 1.25rem);    /* 17 → 20 px */
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Odstępy (siatka 4 px) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem;
  --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem;
  --s-20: 5rem; --s-24: 6rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);                     /* 20 → 48 px */
  --section-y: clamp(4.5rem, 3rem + 7vw, 8.75rem);         /* 72 → 140 px */
  --container: 77.5rem;                                    /* 1240 px */
  --container-prose: 42.5rem;                              /* 680 px */
  --header-h: 4rem;

  /* Promienie */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-pill: 999px;

  /* Cienie warstwowe */
  --sh-1: 0 1px 2px rgb(39 39 37 / 0.06), 0 2px 8px rgb(39 39 37 / 0.06);
  --sh-2: 0 2px 4px rgb(39 39 37 / 0.06), 0 12px 32px rgb(39 39 37 / 0.12);
  --sh-3: 0 2px 6px rgb(0 0 0 / 0.2), 0 30px 80px rgb(0 0 0 / 0.35);
  --sh-lift: 0 14px 30px rgb(39 39 37 / 0.3);

  /* Ruch */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 150ms; --dur-2: 250ms; --dur-3: 400ms; --dur-4: 700ms;

  /* Warstwy */
  --z-header: 50; --z-actionbar: 45; --z-proto: 90;

  color-scheme: light;
}

/* Motywy sekcji — komponenty czytają zmienne semantyczne, nie surowe kolory */
:root,
.theme-bone {
  --surface: var(--bone);
  --surface-2: var(--bone-2);
  --raised: var(--paper);
  --text: var(--ink);
  --text-muted: var(--mut);
  --hairline: var(--line);
  --control-line: var(--line-strong);
  --focus: var(--ink);
  --avail: var(--success);
}
.theme-ink {
  --surface: var(--ink);
  --surface-2: var(--ink-2);
  --raised: var(--ink-3);
  --text: var(--bone);
  --text-muted: var(--mut-dark);
  --hairline: var(--ink-line);
  --control-line: #7a786f;
  --focus: var(--bone);
  --avail: var(--success-dark);
  background: var(--surface);
  color: var(--text);
}
.theme-bone { background: var(--surface); color: var(--text); }
.theme-paper { --surface: var(--paper); --raised: #fff; background: var(--surface); color: var(--text); }

/* ---------- 2. Baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--bone-2); } /* tło zastępcze zanim obraz się wczyta */
/* <picture> (AVIF + WebP) nie zmienia układu: <img> zachowuje się jak bezpośrednie dziecko siatki/flexa.
   <source> trzeba ukryć — w Chrome ma display: inline i stałby się osobną komórką siatki. */
picture { display: contents; }
picture > source { display: none; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p, li, dd, figcaption { text-wrap: pretty; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a, button, summary, label, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
::selection { background: var(--ink); color: var(--bone); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: calc(var(--header-h) + var(--s-6)); }
[hidden] { display: none !important; }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 0; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 39.99em) {
  .label-sm-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 60em) { .mobile-only { display: none; } }
.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 200;
  padding: var(--s-3) var(--s-5); border-radius: var(--r-pill);
  background: var(--ink); color: var(--bone); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-3); }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--prose { max-width: calc(var(--container-prose) + 2 * var(--gutter)); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: 0; }
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.section-head { display: grid; gap: var(--s-4); margin-bottom: var(--s-10); }
.section-head__row { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-8); align-items: end; justify-content: space-between; }
.section-head p { max-width: 52ch; color: var(--text-muted); font-size: var(--fs-lead); }

/* ---------- 4. Typografia ---------- */
.kicker {
  display: flex; align-items: center; gap: 0.875rem; margin: 0;
  font: 600 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.kicker::before { content: ""; flex: none; width: 2.75rem; height: 2px; background: var(--text); }
.h-hero { font-size: var(--fs-hero); line-height: 0.95; letter-spacing: -0.04em; }
.h2 { font-size: var(--fs-h2); line-height: 1.02; }
.h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -0.02em; }
.h4 { font-size: var(--fs-h4); line-height: 1.3; letter-spacing: -0.01em; }
.h2 em, .h3 em, .h-hero em { font-style: normal; color: var(--text-muted); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); max-width: 52ch; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.num { font-variant-numeric: tabular-nums; }
.link {
  font-weight: 600; text-decoration: underline; text-decoration-color: var(--hairline);
  transition: text-decoration-color var(--dur-2);
}
.link:hover { text-decoration-color: currentColor; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow svg { transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

.prose { font-size: 1.0625rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); line-height: 1.1; margin-top: 2em; }
.prose h3 { font-size: 1.3125rem; line-height: 1.2; letter-spacing: -0.02em; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose a { font-weight: 600; text-decoration-color: var(--line-strong); }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text-muted); }
.prose blockquote {
  margin: 1.8em 0; padding-left: var(--s-6); border-left: 3px solid var(--text);
  font: 700 clamp(1.25rem, 1.1rem + 0.8vw, 1.625rem)/1.3 var(--font-display); letter-spacing: -0.02em;
}
.prose table { font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.prose th { font-weight: 600; }

/* ---------- 5. Przyciski i chipy ---------- */
.btn {
  --btn-bg: var(--text); --btn-fg: var(--surface); --btn-line: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.8125rem 1.5rem;
  border: 1.5px solid var(--btn-line); border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 0.9375rem/1.2 var(--font-sans); letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease),
    background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.btn svg { flex: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-line: var(--control-line); }
.btn--quiet { --btn-bg: transparent; --btn-fg: var(--text); padding-inline: var(--s-3); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 0.5625rem 1.125rem; font-size: 0.875rem; }
.btn--icon { width: 48px; padding: 0; }
.btn--icon.btn--sm { width: 44px; }
@media (hover: hover) {
  .btn:not(.btn--ghost):not(.btn--quiet):hover { transform: translateY(-2px); box-shadow: var(--sh-lift); }
  .btn--ghost:hover { --btn-line: var(--text); background: var(--surface-2); }
  .btn--quiet:hover { background: var(--surface-2); }
}
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn .spinner { display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }

/* Przycisk nawigacyjny z wypełnieniem od dołu (wzorzec z aboutclinic) */
.btn--fill { --btn-bg: transparent; --btn-fg: var(--text); --btn-line: var(--text); overflow: hidden; isolation: isolate; }
.btn--fill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--text);
  transform: translateY(101%); transition: transform var(--dur-3) var(--ease);
}
.btn--fill:hover, .btn--fill:focus-visible { --btn-fg: var(--surface); box-shadow: none; transform: none; }
.btn--fill:hover::before, .btn--fill:focus-visible::before { transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: 0.4em; min-height: 32px;
  padding: 0.3125rem 0.75rem; border: 1px solid var(--hairline); border-radius: var(--r-pill);
  font: 600 0.8125rem/1.2 var(--font-sans); letter-spacing: 0.01em; color: var(--text); white-space: nowrap;
}
.chip--muted { color: var(--text-muted); }
.chip-group { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }

/* Filtry (chipy przełączane) */
.filters {
  display: flex; gap: var(--s-2); overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; padding: 2px 2px var(--s-2); margin-inline: -2px;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  /* inline-flex: linki-chipy (np. na stronie 404) po zawinięciu nie nachodzą na siebie */
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; min-height: 44px; padding: 0.625rem 1rem;
  border: 1px solid var(--control-line); border-radius: var(--r-pill);
  background: transparent; color: var(--text); font: 600 0.875rem/1.2 var(--font-sans);
  text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.filter:hover { border-color: var(--text); }
.filter[aria-pressed="true"], .filter[aria-current="page"], .filter:has(input:checked) {
  background: var(--text); color: var(--surface); border-color: var(--text);
}

.badge { display: inline-flex; align-items: center; gap: 0.35em; font: 600 var(--fs-xs)/1.2 var(--font-sans); letter-spacing: 0.04em; }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--avail); }
.dot--off { background: var(--line-strong); }
.stars { display: inline-flex; gap: 1px; color: var(--text); }
.stars svg { width: 1em; height: 1em; }

.spinner {
  width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 6. Nagłówek, menu, pasek akcji ---------- */
/* Dane przykładowe (data-proto): ramki tylko w podglądzie ?proto=1 */
.proto-on [data-proto] {
  outline: 1.5px dashed #b26b00; outline-offset: 4px; border-radius: 4px;
}

.promo-bar {
  display: flex; align-items: center; justify-content: center; gap: var(--s-3); min-height: 44px;
  padding: var(--s-2) var(--gutter); background: var(--ink); color: var(--bone);
  font: 500 var(--fs-sm)/1.25 var(--font-sans); text-align: center; text-decoration: none;
}
.promo-bar b { flex: none; padding: 0.25rem 0.75rem; border: 1px solid currentColor; border-radius: var(--r-pill); font-weight: 600; white-space: nowrap; }
.promo-bar:hover b, .promo-bar:focus-visible b { background: var(--bone); color: var(--ink); }
@media (min-width: 60em) { .promo-bar { display: none; } } /* tylko telefon i tablet; na desktopie sklep jest w menu */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(233 231 226 / 0);
  transition: background-color var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease);
}
.site-header.is-solid {
  background: rgb(233 231 226 / 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header__in {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  height: var(--header-h); max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto; padding-inline: var(--gutter);
}
.logo { display: inline-flex; align-items: center; min-height: 44px; }
.logo img { width: 124px; height: auto; background: none; }
.site-nav { display: none; }
.site-header__actions { display: flex; align-items: center; gap: var(--s-2); }
.site-header__phone { display: none; }
.menu-btn { --btn-bg: transparent; --btn-fg: var(--text); width: 44px; min-height: 44px; padding: 0; }
.menu-btn .bars { display: grid; gap: 5px; width: 20px; }
.menu-btn .bars span { height: 2px; background: currentColor; border-radius: 2px; }

@media (min-width: 60em) {
  :root { --header-h: 4.75rem; }
  .logo img { width: 150px; }
  .menu-btn { display: none; }
  .site-nav { display: block; }
  .site-nav > ul { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
  .site-nav a, .site-nav .nav-disclosure {
    display: inline-flex; align-items: center; gap: 0.3em; min-height: 44px; padding: 0 0.75rem;
    border: 0; background: none; border-radius: var(--r-pill);
    font: 500 0.9375rem/1 var(--font-sans); text-decoration: none; color: var(--text);
  }
  .site-nav a:hover, .site-nav .nav-disclosure:hover { background: rgb(39 39 37 / 0.06); }
  .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.45em; }
  .site-nav .nav-disclosure svg { transition: transform var(--dur-2) var(--ease); }
  .site-nav .nav-disclosure[aria-expanded="true"] svg { transform: rotate(180deg); }
  .site-header__phone { display: inline-flex; }
}
@media (min-width: 60em) and (max-width: 74.99em) {
  .site-header__phone { display: none; }
}

.nav-item { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: -12px; width: min(560px, 80vw);
  padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); box-shadow: var(--sh-2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--s-4);
}
.mega a { display: grid !important; gap: 2px; min-height: 0 !important; padding: 0.625rem 0.75rem !important; border-radius: var(--r-sm) !important; line-height: 1.3 !important; }
.mega a span { font-size: 0.8125rem; color: var(--mut); font-weight: 400; }
.mega__all { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: var(--s-2); padding-top: var(--s-2); }

/* Menu mobilne jako <dialog> — natywna pułapka fokusu i Esc */
.menu {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--bone); overscroll-behavior: contain;
}
.menu::backdrop { background: rgb(39 39 37 / 0.6); }
.menu[open] { animation: menu-in var(--dur-3) var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
.menu__in { display: flex; flex-direction: column; min-height: 100%; padding: 0 var(--gutter) calc(var(--s-8) + env(safe-area-inset-bottom)); }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.menu__top .logo img { filter: invert(1); }
.menu__primary { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.menu__primary a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  border-bottom: 1px solid var(--ink-line); text-decoration: none;
  font: 700 1.75rem/1.1 var(--font-display); letter-spacing: -0.03em;
}
.menu__secondary { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: var(--s-8) 0 0; padding: 0; }
.menu__foot { margin-top: auto; padding-top: var(--s-10); display: grid; gap: var(--s-4); font-size: var(--fs-sm); color: var(--mut-dark); }
.menu__foot a { color: var(--bone); }

/* Pasek akcji (tylko mobile) — kciukowa strefa CTA */
.action-bar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-actionbar);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-2);
  padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgb(233 231 226 / 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform var(--dur-3) var(--ease), visibility 0s linear var(--dur-3);
}
.action-bar.is-visible { transform: none; visibility: visible; transition: transform var(--dur-3) var(--ease), visibility 0s; }
@media (max-width: 59.99em) { body.has-action-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); } }
@media (min-width: 60em) { .action-bar { display: none; } }

/* ---------- 7. Hero ---------- */
.hero { padding-block: var(--s-6) var(--section-y); }
.hero__grid { display: grid; gap: var(--s-10); }
.hero__copy { display: grid; gap: var(--s-6); align-content: start; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero__title .line > span { display: block; }
.hero__sub { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__ctas .btn { flex: 1 1 auto; }
.hero__media { position: relative; margin: 0; order: -1; } /* telefon: zdjęcie na górze, niskie — nagłówek i przyciski zostają na pierwszym ekranie */
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xs); }
.hero__media .pill-cap { left: var(--s-3); bottom: var(--s-3); }
.hero__meta {
  display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: var(--s-6) 0 0;
  border-top: 1px solid var(--hairline); font-size: var(--fs-sm);
}
.hero__meta li { display: flex; align-items: center; gap: var(--s-2); }
.hero__meta strong { font-weight: 600; }
@media (min-width: 40em) {
  .hero__ctas .btn { flex: 0 0 auto; }
  /* elementy przechodzą do nowej linii w całości — bez łamania tekstu w środku */
  .hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-8); }
  .hero__meta li { white-space: nowrap; }
}
@media (min-width: 60em) {
  .hero { padding-top: var(--s-12); }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: var(--s-16); }
  .hero__media { order: 0; }
  .hero__media img { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__title .line > span { animation: line-rise 0.95s var(--ease) both; }
  .hero__title .line:nth-child(2) > span { animation-delay: 0.08s; }
  .hero__title .line:nth-child(3) > span { animation-delay: 0.16s; }
  .hero__sub, .hero__ctas, .hero__meta { animation: fade-up 0.8s 0.25s var(--ease) both; }
}
@keyframes line-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.pill-cap {
  position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 0.5em;
  max-width: calc(100% - 24px); padding: 0.4375rem 0.75rem; border-radius: var(--r-pill);
  background: rgb(39 39 37 / 0.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: var(--bone); font: 600 var(--fs-xs)/1.25 var(--font-sans); letter-spacing: 0.04em;
}

/* Nagłówek podstron */
.page-hero { padding-block: var(--s-8) var(--s-12); }
.page-hero__grid { display: grid; gap: var(--s-8); }
.page-hero h1 { font-size: clamp(2.375rem, 1.6rem + 3.6vw, 4.5rem); line-height: 0.98; letter-spacing: -0.04em; }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xs); }
@media (min-width: 60em) {
  .page-hero { padding-block: var(--s-16) var(--s-16); }
  .page-hero__grid--media { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--s-16); }
}

.crumbs { padding-top: var(--s-4); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); list-style: none; margin: 0; padding: 0; font-size: 0.8125rem; color: var(--text-muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); opacity: 0.6; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--text); }

/* ---------- 8. Pas zaufania ---------- */
.trust { padding-block: var(--s-8); border-block: 1px solid var(--hairline); }
.trust__in { display: grid; gap: var(--s-6); }
.trust__ratings { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.rating-chip {
  display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px;
  padding: 0.375rem 0.875rem 0.375rem 0.5rem; border: 1px solid var(--hairline); border-radius: var(--r-pill);
  font-size: var(--fs-sm); text-decoration: none;
}
.rating-chip b { font: 700 1.125rem/1 var(--font-display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rating-chip .src { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--raised); font-weight: 700; font-size: 0.75rem; }
.logos {
  display: flex; align-items: center; gap: var(--s-8); overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; list-style: none; margin: 0; padding: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent);
}
.logos::-webkit-scrollbar { display: none; }
.logos li { flex: none; }
.logos img { height: 56px; width: auto; background: none; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: 0.8; }
.logos-label { font: 600 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
@media (min-width: 60em) {
  .trust__in { grid-template-columns: auto 1fr; align-items: center; gap: var(--s-12); }
  .logos { justify-content: space-between; -webkit-mask-image: none; mask-image: none; }
}

/* Formularz Tally (iframe) */
.tally { border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.tally iframe { display: block; width: 100%; min-height: 70vh; background: var(--paper); }

/* Gwiazdy • Telewizja • Prasa */
.media__logos { display: grid; gap: var(--s-8); margin-top: var(--s-10); padding-top: var(--s-8); border-top: 1px solid var(--hairline); }
.media__logos .logos { gap: var(--s-6); }
@media (min-width: 40em) { .media__logos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .media__logos .logos { justify-content: flex-start; gap: var(--s-10); } }

/* ---------- 9. Profil klienta (wiersze) ---------- */
.rows { border-top: 2px solid var(--text); }
.row {
  --row-pad: 0px;
  display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: var(--s-2) var(--s-4); align-items: center;
  padding: var(--s-6) var(--row-pad); border-bottom: 1px solid var(--hairline);
  color: inherit; text-decoration: none; transition: padding-left var(--dur-3) var(--ease);
}
.row__title { font: 700 var(--fs-h3)/1.12 var(--font-display); letter-spacing: -0.02em; }
.row__desc { grid-column: 1 / -1; color: var(--text-muted); max-width: 56ch; }
.row__go { grid-row: 1; grid-column: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; }
.row__tags { grid-column: 1 / -1; }
@media (min-width: 60em) {
  .row { --row-pad: var(--s-6); grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) 44px; padding-block: var(--s-8); }
  .row__desc { grid-column: 2; grid-row: 1; }
  .row__tags { grid-column: 2; grid-row: 2; }
  .row__go { grid-column: 3; border: 0; opacity: 0; transform: translateX(-12px); transition: opacity var(--dur-3), transform var(--dur-3) var(--ease); }
}
@media (min-width: 60em) and (hover: hover) {
  .row:hover { padding-left: calc(var(--row-pad) + 18px); }
  .row:hover .row__go, .row:focus-visible .row__go { opacity: 1; transform: none; }
}

/* ---------- 10. Karty usług (sekcja ciemna) ---------- */
.svc-grid { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.svc {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4);
  padding: var(--s-3); border: 1px solid var(--hairline); border-radius: var(--r-md);
  background: var(--raised); overflow: hidden; transition: border-color var(--dur-3) var(--ease);
}
.svc__img { width: 88px; height: 110px; object-fit: cover; border-radius: var(--r-xs); }
.svc__body { display: grid; gap: var(--s-2); align-content: start; padding-block: var(--s-1); }
.svc__title { font: 700 1.25rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.svc__title a { text-decoration: none; }
.svc__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.svc__desc { display: none; font-size: var(--fs-sm); color: var(--text-muted); }
.svc__meta { font-size: var(--fs-sm); color: var(--text-muted); font-variant-numeric: tabular-nums; }
.svc__meta b { color: var(--text); font-weight: 600; }
.svc__book { position: relative; z-index: 1; justify-self: start; }
.svc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), hsl(43 14% 90% / 0.08), transparent 65%);
  transition: opacity var(--dur-3) var(--ease);
}
@media (hover: hover) {
  .svc:hover { border-color: #5c5c54; }
  .svc:hover::before { opacity: 1; }
}
@media (min-width: 40em) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 60em) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
  .svc { grid-template-columns: 1fr; padding: var(--s-4) var(--s-4) var(--s-6); }
  .svc__img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .svc__body { padding-inline: var(--s-2); gap: var(--s-3); }
  .svc__title { font-size: 1.625rem; }
  .svc__desc { display: block; }
}

/* ---------- 11. Zespół — wybór stylisty ---------- */
.carousel {
  position: relative; /* blok zawierający dla .sr-only — inaczej absolutne dzieci rozpychają dokument */
  display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 320px); gap: var(--s-4);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding: 2px var(--gutter) var(--s-4); margin-inline: calc(var(--gutter) * -1);
  list-style: none; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.carousel > * { scroll-snap-align: start; }
.carousel:focus-visible { outline-offset: -2px; }
.carousel-nav { display: none; gap: var(--s-2); }
@media (min-width: 60em) { .carousel-nav { display: flex; } }

.team-grid { list-style: none; margin: 0; }
@media (min-width: 60em) {
  .team-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; margin: 0; }
}
.stylist {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised); overflow: hidden;
}
.stylist__photo { position: relative; margin: 0; }
.stylist__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter var(--dur-4) var(--ease); }
@media (hover: hover) { .stylist:hover .stylist__photo img { filter: none; } }
.stylist__photo .pill-cap { left: var(--s-3); top: var(--s-3); }
.stylist__body { display: grid; gap: var(--s-3); padding: var(--s-5); flex: 1; align-content: start; }
.stylist__name { font: 700 1.625rem/1.05 var(--font-display); letter-spacing: -0.03em; }
.stylist__name a { text-decoration: none; }
.stylist__role { font-size: var(--fs-sm); color: var(--text-muted); }
.stylist__facts { display: grid; gap: var(--s-1); font-size: var(--fs-sm); list-style: none; margin: 0; padding: var(--s-3) 0 0; border-top: 1px solid var(--hairline); }
.stylist__facts li { display: flex; align-items: center; gap: var(--s-2); }
.stylist__facts .num { font-weight: 600; }
.stylist__actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2); padding: 0 var(--s-5) var(--s-5); }
.stylist__actions .btn { padding-inline: 0.875rem; }
.stylist.is-hidden { display: none; }

.helper {
  display: grid; gap: var(--s-4); padding: var(--s-6); border-radius: var(--r-md);
  border: 1px solid var(--hairline); background: var(--surface-2);
}
@media (min-width: 60em) { .helper { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- 12. Opinie ---------- */
.reviews-head { display: grid; gap: var(--s-6); }
.score { display: flex; align-items: center; gap: var(--s-4); }
.score__num { font: 700 clamp(3.5rem, 2.8rem + 3vw, 5.5rem)/0.85 var(--font-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.score__meta { display: grid; gap: var(--s-1); font-size: var(--fs-sm); color: var(--text-muted); }
.score__meta .stars { font-size: 1.125rem; }
.review {
  position: relative; display: flex; flex-direction: column; gap: var(--s-4); height: 100%; margin: 0;
  padding: var(--s-6); border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised);
}
.review__text { margin: 0; font-size: 1.0625rem; line-height: 1.55; flex: 1; }
.review__text p + p { margin-top: 0.6em; }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: 0.8125rem; color: var(--text-muted); }
.review__avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--surface-2); color: var(--text); font-weight: 700; }
.review__who { display: grid; }
.review__who b { color: var(--text); font-weight: 600; }
.review__tag { width: 100%; padding-left: calc(36px + var(--s-3)); }
@media (min-width: 60em) {
  .reviews-head { grid-template-columns: 1fr auto; align-items: end; }
  .review-list { grid-auto-columns: calc((100% - 2 * var(--s-4)) / 3); }
}

/* Cytat przewijany słowo po słowie */
.quote blockquote {
  margin: 0; max-width: 24ch;
  font: 700 clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem)/1.08 var(--font-display); letter-spacing: -0.035em;
}
.quote .w { opacity: clamp(0.16, calc(var(--p, 1) * (var(--n) + 4) - var(--i)), 1); }
.quote figcaption { margin-top: var(--s-6); font: 600 var(--fs-xs)/1.4 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* Księga gości */
.guests { grid-auto-columns: min(46%, 200px); }
.guest { margin: 0; }
.guest img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xs); }
.guest figcaption { margin-top: var(--s-2); font-size: var(--fs-sm); font-weight: 600; }
@media (min-width: 60em) { .guests { grid-auto-columns: calc((100% - 5 * var(--s-4)) / 6); } }

/* ---------- 13. Życie salonu ---------- */
.life { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.life__item { position: relative; margin: 0; border-radius: var(--r-xs); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.life__item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.life__item img { width: 100%; height: 100%; object-fit: cover; }
.life__item .pill-cap { left: var(--s-3); bottom: var(--s-3); }
.life__note {
  grid-column: span 2; display: grid; gap: var(--s-3); align-content: center;
  padding: var(--s-6); border-radius: var(--r-xs); background: var(--raised);
}
.life__note p { font: 700 1.375rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.life__note span { font-size: var(--fs-sm); color: var(--text-muted); }
.play {
  position: absolute; inset: 0; display: grid; place-items: center; width: 100%; border: 0; padding: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.35), transparent 50%); color: #fff;
}
.play__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgb(39 39 37 / 0.72); backdrop-filter: blur(6px); }
@media (min-width: 60em) {
  .life { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: var(--s-4); }
  .life__item, .life__item--wide { aspect-ratio: auto; }
  .life__item--tall { grid-row: span 2; }
  .life__item--wide, .life__item--wide-lg { grid-column: span 2; }
  .life__note { grid-column: span 2; }
}

/* ---------- 14. Historia / liczby ---------- */
.story { display: grid; gap: var(--s-10); }
.story__photo { margin: 0; max-width: 420px; }
.story__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-xs); }
@media (min-width: 60em) { .story__photo img { aspect-ratio: 4 / 5; } }
.story__photo figcaption { display: flex; justify-content: space-between; gap: var(--s-3); margin-top: var(--s-3); font: 600 var(--fs-xs)/1.4 var(--font-sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.story__text { display: grid; gap: var(--s-5); max-width: 60ch; }
.story__text p { font-size: 1.0625rem; }
.pull {
  margin: var(--s-4) 0; padding-left: var(--s-6); border-left: 3px solid var(--text);
  font: 700 clamp(1.3125rem, 1.1rem + 1vw, 1.75rem)/1.25 var(--font-display); letter-spacing: -0.02em;
}
@media (min-width: 60em) {
  .story { grid-template-columns: 400px minmax(0, 1fr); gap: var(--s-20); align-items: start; }
  .story__photo { position: sticky; top: calc(var(--header-h) + var(--s-8)); }
}
.stats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.stat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4); align-items: end; padding-block: var(--s-5); border-bottom: 1px solid var(--hairline); }
.stat__label { max-width: 18ch; font-weight: 600; line-height: 1.3; }
.stat__num { font: 700 clamp(3rem, 1.8rem + 6vw, 8rem)/0.85 var(--font-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---------- 15. Blog ---------- */
.posts { display: grid; gap: var(--s-10); list-style: none; margin: 0; padding: 0; }
.post-card { position: relative; display: grid; gap: var(--s-3); align-content: start; }
.post-card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xs); }
.post-card__cat { font: 600 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.post-card__title { font: 700 1.375rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.post-card__title a { text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.post-card__excerpt { color: var(--text-muted); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.byline { display: flex; align-items: center; gap: var(--s-3); font-size: 0.8125rem; color: var(--text-muted); }
.byline img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.byline b { color: var(--text); font-weight: 600; }
@media (min-width: 40em) { .posts { grid-template-columns: 1fr 1fr; column-gap: var(--s-6); } }
@media (min-width: 60em) { .posts { grid-template-columns: repeat(3, 1fr); } .posts--feature > :first-child { grid-column: span 2; } .posts--feature > :first-child .post-card__img { aspect-ratio: 16 / 9; } .posts--feature > :first-child .post-card__title { font-size: 2rem; } }

.article-head { display: grid; gap: var(--s-5); padding-block: var(--s-8) var(--s-10); }
.article-head h1 { font-size: clamp(2.125rem, 1.5rem + 3vw, 3.75rem); line-height: 1.02; letter-spacing: -0.035em; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); font-size: var(--fs-sm); color: var(--text-muted); }
.article-meta .byline img { width: 44px; height: 44px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-xs); }
.article-hero figcaption { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--text-muted); }
.article-layout { display: grid; gap: var(--s-10); padding-block: var(--s-10) var(--section-y); }
.toc { border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised); }
.toc summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 var(--s-5); font-weight: 600; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin: 0; padding: 0 var(--s-5) var(--s-5) 2.25rem; font-size: 0.9375rem; }
.toc li + li { margin-top: var(--s-2); }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (min-width: 60em) {
  .article-layout { grid-template-columns: minmax(0, var(--container-prose)) 280px; justify-content: space-between; }
  .article-aside { position: sticky; top: calc(var(--header-h) + var(--s-6)); align-self: start; display: grid; gap: var(--s-4); }
}
.callout {
  display: grid; gap: var(--s-4); margin: 2em 0; padding: var(--s-6); border-radius: var(--r-md);
  background: var(--ink); color: var(--bone);
}
.callout p { color: var(--mut-dark); }
.callout strong { color: var(--bone); }
.callout .btn { --btn-bg: var(--bone); --btn-fg: var(--ink); justify-self: start; }
.author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-6); border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }

/* ---------- 16. Rezerwacja (sekcja + karta) ---------- */
.book__grid { display: grid; gap: var(--s-10); }
.book__lede { font-size: var(--fs-lead); color: var(--text-muted); max-width: 42ch; }
.book__lede b { color: var(--text); font-weight: 600; }
.book__points { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.book__points li { display: flex; gap: var(--s-3); align-items: baseline; font-size: 0.9375rem; color: var(--text-muted); }
.book__points li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--text); transform: translateY(-1px); }
.form-card { border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-3); }
.form-card__title { font: 700 1.375rem/1.2 var(--font-display); letter-spacing: -0.02em; }
.form-card__sub { font-size: 0.8125rem; color: var(--text-muted); margin-top: var(--s-1); }
@media (min-width: 40em) { .form-card { padding: var(--s-8); } }
@media (min-width: 60em) { .book__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: var(--s-20); } }

/* ---------- 17. Formularze ---------- */
.field { display: grid; gap: var(--s-2); }
.field + .field, .field + .field-row, .field-row + .field, .field-row + .field-row { margin-top: var(--s-5); }
.field-row { display: grid; gap: var(--s-5); }
@media (min-width: 40em) { .field-row { grid-template-columns: 1fr 1fr; } }
.label { font: 600 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.input {
  width: 100%; min-height: 48px; padding: 0.75rem 0.875rem;
  font: 400 1rem/1.4 var(--font-sans); color: var(--text);
  background: rgb(39 39 37 / 0.045); border: 1px solid transparent; border-bottom-color: var(--control-line);
  border-radius: var(--r-sm) var(--r-sm) 0 0; appearance: none;
  transition: background-color var(--dur-2), border-color var(--dur-2);
}
.input::placeholder { color: #7d7b75; opacity: 1; }
.input:hover { background: rgb(39 39 37 / 0.07); }
.input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
.input[aria-invalid="true"] { border-bottom-color: var(--error); background: rgb(179 38 30 / 0.06); }
textarea.input { min-height: 96px; resize: vertical; }
select.input {
  padding-right: 2.5rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23272725' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  background-color: var(--raised);
}
select.input option { background-color: #fff; color: #272725; } /* Windows: jawne kolory listy */
.field__hint { font-size: 0.8125rem; color: var(--text-muted); }
.field__error { display: flex; gap: var(--s-2); align-items: flex-start; font: 600 0.8125rem/1.4 var(--font-sans); color: var(--error); }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; min-height: 44px; padding-block: var(--s-2); font-size: 0.9375rem; line-height: 1.5; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.form-error {
  display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4); border-radius: var(--r-sm);
  background: rgb(179 38 30 / 0.08); color: var(--error); font-weight: 600; font-size: 0.9375rem;
}

/* Karty wyboru (radio) */
.choices { display: grid; gap: var(--s-2); margin: 0; padding: 0; border: 0; min-width: 0; }
.choice {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-1) var(--s-4); align-items: center;
  min-height: 64px; padding: var(--s-4) var(--s-5); border: 1px solid var(--hairline); border-radius: var(--r-md);
  background: var(--raised); cursor: pointer; transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.choice:hover { border-color: var(--control-line); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.choice:has(input:disabled) { opacity: 0.5; cursor: not-allowed; }
.choice__title { font-weight: 600; line-height: 1.35; }
.choice__meta { grid-column: 1; font-size: 0.8125rem; color: var(--text-muted); }
.choice__price { grid-row: 1 / span 2; grid-column: 2; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.choice__price small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--text-muted); }
.choice--person { grid-template-columns: 56px minmax(0, 1fr) auto; }
.choice--person img { grid-row: 1 / span 2; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.choice--person .choice__meta { grid-column: 2; }
.choice--person .choice__price { grid-column: 3; }
.choice__badge { justify-self: start; }

/* Segment (przełącznik) */
.segment { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: 3px; margin: 0; border: 1px solid var(--control-line); border-radius: var(--r-pill); min-width: 0; }
.segment label { position: relative; display: grid; place-items: center; min-height: 44px; padding: 0 var(--s-4); border-radius: var(--r-pill); font-weight: 600; font-size: 0.875rem; cursor: pointer; white-space: nowrap; }
.segment input { position: absolute; opacity: 0; pointer-events: none; }
.segment label:has(input:checked) { background: var(--text); color: var(--surface); }
.segment label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Kalendarz — pasek dni i godziny */
.dates {
  display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: var(--s-2);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
  margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) var(--s-3); border: 0; min-width: 0; scrollbar-width: none;
}
.dates::-webkit-scrollbar { display: none; }
.date {
  position: relative; display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 80px;
  border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised);
  cursor: pointer; scroll-snap-align: start; font-variant-numeric: tabular-nums;
  transition: background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2);
}
.date input { position: absolute; opacity: 0; pointer-events: none; }
.date__wd { font: 600 var(--fs-xs)/1 var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.date__d { font: 700 1.375rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.date__m { font-size: 0.6875rem; color: var(--text-muted); }
.date .dot { width: 6px; height: 6px; }
.date:hover { border-color: var(--control-line); }
.date:has(input:checked) { background: var(--text); border-color: var(--text); color: var(--surface); }
.date:has(input:checked) .date__wd, .date:has(input:checked) .date__m { color: inherit; opacity: 0.75; }
.date:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.date:has(input:disabled) { opacity: 0.45; cursor: not-allowed; background: transparent; }
@media (min-width: 60em) { .dates { margin: 0; padding-inline: 2px; grid-auto-columns: 68px; } }

.slots { display: grid; gap: var(--s-5); }
.slot-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.slot-group legend { padding: 0; margin-bottom: var(--s-2); font: 600 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: var(--s-2); }
.slot {
  position: relative; display: grid; place-items: center; min-height: 48px; border: 1px solid var(--control-line); border-radius: var(--r-pill);
  font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2);
}
.slot input { position: absolute; opacity: 0; pointer-events: none; }
.slot:hover { border-color: var(--text); }
.slot:has(input:checked) { background: var(--text); color: var(--surface); border-color: var(--text); }
.slot:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

.empty { display: grid; gap: var(--s-4); justify-items: start; padding: var(--s-6); border: 1px dashed var(--control-line); border-radius: var(--r-md); }
.empty p { color: var(--text-muted); }
.skeleton { border-radius: var(--r-pill); background: linear-gradient(90deg, var(--surface-2) 25%, var(--raised) 50%, var(--surface-2) 75%); background-size: 200% 100%; }
@media (prefers-reduced-motion: no-preference) { .skeleton { animation: shimmer 1.2s linear infinite; } }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Przepływ rezerwacji */
.flow { padding-block: var(--s-4) var(--s-16); }
.flow__grid { display: grid; gap: var(--s-8); }
.flow__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-6); }
.flow__title { font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.75rem); line-height: 1.05; letter-spacing: -0.035em; }
.progress { display: grid; gap: var(--s-2); }
.progress__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.progress__bars li { height: 4px; border-radius: 2px; background: var(--hairline); }
.progress__bars li.is-done, .progress__bars li.is-current { background: var(--text); }
.progress__label { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }
.flow-step { display: grid; gap: var(--s-6); }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.search .input { padding-left: 2.75rem; }
.cat-title { font: 700 1.125rem/1.3 var(--font-display); letter-spacing: -0.01em; margin: var(--s-4) 0 var(--s-2); }
.flow-bar {
  position: sticky; bottom: 0; z-index: 10; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); align-items: center;
  margin-inline: calc(var(--gutter) * -1); padding: var(--s-3) var(--gutter) calc(var(--s-3) + env(safe-area-inset-bottom));
  background: rgb(233 231 226 / 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line);
}
.flow-bar__sum { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flow-bar__sum:empty { display: none; }
.summary { display: grid; gap: var(--s-4); padding: var(--s-6); border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--raised); }
.summary h2 { font-size: 1.25rem; letter-spacing: -0.02em; }
.summary dl { display: grid; gap: var(--s-3); margin: 0; }
.summary dl > div { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: var(--s-3); align-items: baseline; padding-bottom: var(--s-3); border-bottom: 1px solid var(--hairline); }
.summary dt { font-size: 0.8125rem; color: var(--text-muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.summary .edit { font-size: 0.8125rem; font-weight: 600; min-height: 44px; min-width: 44px; padding: 0 var(--s-2); border: 0; background: none; text-decoration: underline; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary__note { font-size: 0.8125rem; color: var(--text-muted); }
@media (min-width: 60em) {
  .flow { padding-top: var(--s-10); }
  .flow__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s-16); align-items: start; }
  .flow__aside { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
  .flow-bar { position: static; margin: var(--s-4) 0 0; padding: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .flow-bar__sum { display: none; }
}
@media (max-width: 59.99em) { .flow__aside { display: none; } }
.done { display: grid; gap: var(--s-6); justify-items: start; padding-block: var(--s-6); }
.done__mark { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--bone); }
.done__title { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); line-height: 1.02; letter-spacing: -0.035em; }

/* ---------- 18. Cennik ---------- */
.price-nav { position: sticky; top: var(--header-h); z-index: 20; padding-block: var(--s-3); background: rgb(233 231 226 / 0.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.price-tools { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; margin-bottom: var(--s-8); }
.price-cat + .price-cat { margin-top: var(--s-16); }
.price-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 2px solid var(--text); }
.price-cat__head a { font-size: var(--fs-sm); }
.price-table { width: 100%; }
.price-table thead { display: none; }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: var(--s-1) var(--s-3); align-items: center; padding-block: var(--s-4); border-bottom: 1px solid var(--hairline); }
.price-row th, .price-row td { padding: 0; font-weight: inherit; text-align: left; }
.price-row__name { font-weight: 500; line-height: 1.35; }
.price-row__name small { display: block; margin-top: 2px; font-size: 0.8125rem; color: var(--text-muted); font-weight: 400; }
.price-row__price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right !important; }
.price-row__price small { display: block; font-weight: 400; font-size: 0.75rem; color: var(--text-muted); }
.price-row__na { color: var(--text-muted); font-weight: 400; font-size: 0.8125rem; }
.price-table[data-tier="team"] .tier-dawid, .price-table[data-tier="dawid"] .tier-team { display: none; }
@media (min-width: 60em) {
  .price-table thead { display: table-header-group; }
  .price-table thead tr { display: grid; grid-template-columns: minmax(0, 1fr) 140px 140px 44px; gap: var(--s-3); padding-block: var(--s-3); font: 600 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
  .price-table thead th { font-weight: 600; text-align: right; }
  .price-table thead th:first-child { text-align: left; }
  .price-row { grid-template-columns: minmax(0, 1fr) 140px 140px 44px; }
  .price-table[data-tier] .tier-dawid, .price-table[data-tier] .tier-team { display: block; }
  .tier-switch { display: none !important; }
}

/* ---------- 19. Kontakt / wizyta / FAQ ---------- */
.visit { display: grid; gap: var(--s-10); }
.facts { display: grid; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hairline); }
.facts li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--hairline); }
.facts .k { font: 600 var(--fs-xs)/1.6 var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.facts a { font-weight: 600; }
.hours { width: 100%; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding-block: 0.375rem; text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.map { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--surface-2); aspect-ratio: 4 / 3; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map__cta { position: absolute; left: var(--s-4); bottom: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 60em) { .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-16); align-items: start; } }

.faq { border-top: 2px solid var(--text); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding-block: var(--s-4);
  font: 600 1.0625rem/1.4 var(--font-sans); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat; transition: transform var(--dur-2) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding-bottom: var(--s-6); color: var(--text-muted); max-width: 65ch; }
.faq__a p + p { margin-top: var(--s-3); }

.cta-band { display: grid; gap: var(--s-6); }
@media (min-width: 60em) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* ---------- 19b. Komponenty podstron ---------- */
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); list-style: none; margin: 0; padding: var(--s-5) 0 0; border-top: 1px solid var(--hairline); }
.facts-row li { display: grid; gap: var(--s-1); align-content: start; }
.facts-row b { font: 700 1.125rem/1.15 var(--font-display); letter-spacing: -0.02em; }
.facts-row span { font-size: 0.8125rem; line-height: 1.35; color: var(--text-muted); }

.tips { display: grid; gap: var(--s-4); list-style: none; margin: 0; padding: 0; counter-reset: tip; }
.tips li { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6); border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised); }
.tips li p { color: var(--text-muted); }
@media (min-width: 60em) { .tips { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-xs); }
@media (min-width: 60em) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); } }

.who { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.who__item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-2) var(--s-4); align-items: center; padding: var(--s-4); border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised); }
.who__item img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.who__item .btn { grid-column: 1 / -1; }
@media (min-width: 40em) { .who__item { grid-template-columns: 64px minmax(0, 1fr) auto; } .who__item .btn { grid-column: auto; } }
@media (min-width: 60em) { .who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mini-team { display: grid; gap: var(--s-2); list-style: none; margin: 0; padding: 0; }
.mini-team a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: var(--s-4); align-items: center; min-height: 72px; padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2); border: 1px solid var(--hairline); border-radius: var(--r-pill); background: var(--raised); text-decoration: none; }
.mini-team a:hover { border-color: var(--control-line); }
.mini-team img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.mini-team span { display: grid; }
@media (min-width: 60em) { .mini-team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.svc-list { list-style: none; margin: 0 0 var(--s-6); padding: 0; border-top: 1px solid var(--hairline); }
.svc-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: var(--s-3); align-items: center; padding-block: var(--s-3); border-bottom: 1px solid var(--hairline); }
.svc-list li > span:first-child { display: grid; }
.svc-list__name { font-weight: 500; }
.svc-list__price { font-weight: 600; white-space: nowrap; }

.price-mini { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--hairline); }
.price-mini > div { display: flex; justify-content: space-between; gap: var(--s-4); padding-block: var(--s-3); border-bottom: 1px solid var(--hairline); }
.price-mini dt { color: var(--text-muted); }
.price-mini dd { margin: 0; font-weight: 600; white-space: nowrap; }

.profile h1 { display: grid; gap: var(--s-2); }
.profile__sub { font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--text-muted); }
.profile__photo { filter: grayscale(1) contrast(1.05); }

.split { display: grid; gap: var(--s-10); align-items: center; }
.split__media { margin: 0; }
.split__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xs); }
@media (min-width: 60em) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-16); } }

.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.timeline li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-6); border-bottom: 1px solid var(--hairline); }
.timeline__n { font: 700 1.5rem/1 var(--font-display); letter-spacing: -0.03em; color: var(--text-muted); }
.timeline li div { display: grid; gap: var(--s-2); max-width: 60ch; }
@media (min-width: 60em) { .timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-6); } .timeline li { grid-template-columns: 1fr; border-bottom: 0; } }

.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); list-style: none; margin: 0; padding: 0; }
.voices img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-xs); filter: grayscale(1); }
.voices blockquote { margin: var(--s-3) 0 var(--s-2); font: 700 1.0625rem/1.3 var(--font-display); letter-spacing: -0.015em; }
@media (min-width: 60em) { .voices { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.contact-cards { display: grid; gap: var(--s-3); list-style: none; margin: 0; padding: 0; }
.contact-cards a { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-1) var(--s-4); align-items: center; min-height: 72px; padding: var(--s-4) var(--s-5); border: 1px solid var(--hairline); border-radius: var(--r-md); background: var(--raised); text-decoration: none; }
.contact-cards a:hover { border-color: var(--control-line); }
.contact-cards svg { grid-row: 1 / span 2; }
.contact-cards b { font-weight: 600; overflow-wrap: break-word; } /* adres e-mail łamie się tylko przed „@” (<wbr>) */
.contact-cards span { font-size: 0.8125rem; color: var(--text-muted); }
@media (min-width: 40em) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pager { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); margin-top: var(--s-12); font-variant-numeric: tabular-nums; }
.pager > a:not(.btn), .pager > span { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: var(--r-pill); text-decoration: none; font-weight: 600; }
.pager > a:not(.btn):hover { background: var(--surface-2); }
.pager > [aria-current] { background: var(--text); color: var(--surface); }
.pager .btn { margin-left: auto; }

/* ---------- 20. Stopka ---------- */
.site-footer { padding-block: var(--s-16) var(--s-8); }
.footer-grid { display: grid; gap: var(--s-10); }
.footer-brand img { width: 150px; filter: invert(1); background: none; }
.footer-brand p { margin-top: var(--s-4); color: var(--text-muted); max-width: 32ch; }
.footer-col h2 { font: 600 var(--fs-xs)/1.3 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-col address { line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); justify-content: space-between; margin-top: var(--s-12); padding-top: var(--s-6); border-top: 1px solid var(--hairline); font-size: 0.8125rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text); }
.socials { display: flex; gap: var(--s-2); list-style: none; margin: var(--s-5) 0 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--hairline); border-radius: 50%; }
.socials a:hover { border-color: var(--text); }
@media (min-width: 40em) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 60em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- 21. Wejścia przy przewijaniu (tylko z JS i bez reduced-motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-4) var(--ease), transform var(--dur-4) var(--ease); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
@media print {
  .site-header, .action-bar, .menu, .flow-bar { display: none !important; }
  body { background: #fff; }
}

/* Księga gości: jednakowe miniatury i pełne zdjęcia w lightboxie. */
.guestbook-link { display:block; border-radius:var(--r-xs); overflow:hidden; cursor:zoom-in; }
.guestbook-gallery .guestbook-link img { display:block; width:100%; height:auto; aspect-ratio:3 / 4; object-fit:cover; border-radius:0; }
.guestbook-link:focus-visible { outline:3px solid currentColor; outline-offset:4px; }
.guest-lightbox { position:fixed; inset:0; width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; margin:0; padding:16px; border:0; background:rgba(10,10,10,.97); color:#fff; box-sizing:border-box; }
.guest-lightbox[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:12px; }
.guest-lightbox::backdrop { background:rgba(0,0,0,.9); }
.guest-lightbox__top { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.guest-lightbox__top h2 { margin:0; font-size:1rem; color:inherit; }
.guest-lightbox__button { display:inline-flex; align-items:center; justify-content:center; min-width:48px; min-height:48px; padding:8px 14px; border:1px solid #777; border-radius:8px; background:#242424; color:#fff; cursor:pointer; font:inherit; }
.guest-lightbox__button:hover { background:#444; }
.guest-lightbox__button:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.guest-lightbox__stage { min-height:0; display:flex; justify-content:center; align-items:center; touch-action:pan-y; }
.guest-lightbox__image { display:block; width:100%; height:100%; object-fit:contain; background:none; }
.guest-lightbox__bottom { display:grid; grid-template-columns:48px minmax(0,1fr) 48px; align-items:center; gap:12px; }
.guest-lightbox__details { text-align:center; font-size:.95rem; }
.guest-lightbox__details p { margin:0; }
.guest-lightbox__counter { opacity:.75; font-variant-numeric:tabular-nums; }
@media (min-width:60em) { .guest-lightbox { padding:24px 40px; } }

/* Linki „O usłudze” w cenniku: cel dotyku min. 44 px (Vercel WIG) */
.price-cat__head .link { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Film w tle (strona główna) ---------- */
.film { position: relative; display: grid; align-items: end; min-height: 70svh; overflow: hidden; isolation: isolate; background: var(--ink); }
.film__media { position: absolute; inset: 0; z-index: -1; }
.film__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: opacity var(--dur-4) var(--ease); }
.film__media iframe { position: absolute; top: 50%; left: 50%; width: max(100vw, 124.5svh); height: max(56.25vw, 70svh); transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity var(--dur-4) var(--ease); }
.film.is-playing .film__media iframe { opacity: 1; }
.film.is-playing .film__media img { opacity: 0; }
.film::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(20 20 18 / 0.85), rgb(20 20 18 / 0.25) 60%, rgb(20 20 18 / 0.1)); pointer-events: none; }
.film__content { display: grid; gap: var(--s-5); padding-block: var(--s-16) var(--s-12); color: var(--bone); }
.film__content .h2 { max-width: 16ch; }
@media (min-width: 60em) { .film { min-height: 80svh; } .film__media iframe { width: max(100vw, 142.2svh); height: max(56.25vw, 80svh); } }
