/* =========================================================
   OKKRA — salon urody · arkusz stylów
   Tokeny → baza → elementy wspólne → sekcje → podstrony → rezerwacja
   ========================================================= */

:root {
  /* kolor: ochra, atrament i krem z brand/BRAND.md; tło w wariancie A (biel gabinetu + tynk) */
  --bg: #FAFAF8;
  --cream: #F5EEE4;      /* tylko tekst i logo na atramencie / ochrze */
  --paper: #FFFFFF;
  --plaster: #ECEBE8;
  --plaster-deep: #DCDAD5;
  --ochre: #D4762C;
  --ochre-deep: #A4501A;
  --ink: #1E1714;
  --ink-2: #4E423B;
  --line: rgba(30, 23, 20, .14);
  --line-on-dark: rgba(245, 238, 228, .18);

  /* typografia */
  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-hero: clamp(3rem, 1.6rem + 6.4vw, 7.6rem);
  --t-h1: clamp(2.75rem, 1.6rem + 5vw, 6rem);
  --t-h2: clamp(2.1rem, 1.3rem + 3.4vw, 4.25rem);
  --t-h3: clamp(1.25rem, 1.1rem + .6vw, 1.6rem);
  --t-lead: clamp(1.075rem, 1rem + .35vw, 1.3rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-label: .75rem;

  /* układ */
  --max: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 7vw + 48px, 168px);
  --section-s: clamp(56px, 4vw + 32px, 104px);
  --section-l: clamp(120px, 10vw + 64px, 224px);
  --r-lg: 20px;
  --r-md: 10px;
  --r-sm: 6px;

  /* ruch */
  --ease-out: cubic-bezier(.22, .8, .24, 1);
  --dur: 240ms;

  --header-h: 72px;
}

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a[href^="tel"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ochre); color: var(--ink); }

:focus-visible { outline: 3px solid var(--ochre-deep); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-ochre :focus-visible { outline-color: var(--cream); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.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;
}

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--s { padding-block: var(--section-s); }
.section--l { padding-block: var(--section-l); }

/* ---------- typografia ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 88, "opsz" 96;
  letter-spacing: -.035em;
  line-height: .92;
}
.h-hero { font-size: var(--t-hero); }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); line-height: .98; }
.h3 {
  font-family: var(--f-display);
  font-size: var(--t-h3);
  font-weight: 700;
  font-variation-settings: "opsz" 24;
  letter-spacing: -.015em;
  line-height: 1.15;
}
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.muted { color: var(--ink-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  margin-bottom: 20px;
}
/* mała kropla z odbłyskiem — znak z logo w miniaturze */
.eyebrow::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  flex: none;
}
.on-dark .eyebrow { color: var(--ochre); }
.tint .eyebrow { color: #8F4416; } /* 5.6:1 na tynku */
.on-ochre .eyebrow { color: var(--ink); }

.section-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .section-head--split .lead { justify-self: end; }
}

/* ---------- przyciski ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__dot {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 68% 30%, var(--paper) 0 2px, transparent 2.4px), var(--ochre);
  transition: transform var(--dur) var(--ease-out);
}
.btn:hover .btn__dot { transform: rotate(-35deg) scale(1.1); }
.btn--ochre { --bg: var(--ochre); --fg: var(--ink); }
.btn--ochre .btn__dot { background: radial-gradient(circle at 68% 30%, var(--ochre) 0 2px, transparent 2.4px), var(--ink); }
.btn--light { --bg: var(--bg); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
  min-height: 44px;
}
.link-arrow span { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- pasek ogłoszeń + nagłówek ---------- */
.topbar {
  background: var(--ink); color: var(--cream);
  font-size: .875rem; text-align: center;
  padding: 9px var(--gutter);
}
.topbar a { color: var(--ochre); font-weight: 600; text-underline-offset: 3px; }

.concept-bar {
  background: var(--plaster); color: var(--ink);
  font-size: .8125rem; text-align: center; line-height: 1.5;
  padding: 7px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.concept-bar a { color: var(--ochre-deep); font-weight: 600; text-underline-offset: 3px; white-space: nowrap; }
.concept-bar a:hover { color: var(--ink); }
.concept-bar__tag {
  display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px;
}
.footer__base a { min-height: 0; display: inline; text-decoration: underline; text-underline-offset: 3px; }

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background-color var(--dur), box-shadow var(--dur);
}
.header.is-scrolled {
  background: rgba(250, 250, 248, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; color: var(--ink); min-height: 44px; align-items: center; }
.logo svg { height: 30px; width: auto; }
.nav { margin-left: auto; display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 500; font-size: .975rem; border-radius: 999px;
  transition: background-color var(--dur);
}
.nav a:hover { background: var(--plaster); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }
.header__cta { display: none; }
.menu-btn {
  margin-left: auto;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 960px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .menu-btn { display: none; }
}

/* menu mobilne */
.mnav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ochre); color: var(--ink);
  display: flex; flex-direction: column;
  padding: 16px var(--gutter) 32px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 380ms var(--ease-out), visibility 0s 380ms;
}
.mnav.is-open { transform: none; visibility: visible; transition: transform 420ms var(--ease-out); }
.mnav__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.mnav__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: var(--cream); display: grid; place-items: center; }
.mnav .logo { color: var(--cream); }
.mnav .logo svg > path { fill: var(--cream); }
.mnav ul { list-style: none; margin-top: 8vh; display: grid; gap: 6px; }
.mnav ul a {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 11vw, 4rem);
  font-variation-settings: "wdth" 88; letter-spacing: -.03em; line-height: 1.05;
  text-decoration: none; display: inline-block; min-height: 44px;
}
.mnav__foot { margin-top: auto; display: grid; gap: 16px; }

/* ---------- HERO: kropla, która się rozlewa ---------- */
.stage { position: relative; height: 230vh; margin-top: calc(-1 * var(--header-h)); }
.stage__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  --cx: 70%; --cy: 52%; --r: min(31vh, 25vw); --p: 0; --s0: 1;
}
.stage__clip {
  position: absolute; inset: 0;
  clip-path: circle(var(--r) at var(--cx) var(--cy));
  will-change: clip-path;
}
.stage__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 88% 50%;
  transform: scale(calc(var(--s0) + (1 - var(--s0)) * var(--p)));
  transform-origin: var(--cx) var(--cy);
}
.stage__gloss {
  position: absolute; left: var(--cx); top: var(--cy);
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: calc(1 - var(--p) * 4);
}
.stage__gloss path { fill: var(--paper); opacity: .8; }
.stage__copy {
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
  opacity: calc(1 - var(--p) * 3.2);
  transform: translateY(calc(var(--p) * -60px));
}
.stage__copy .lead { margin: 20px 0 28px; }
.stage__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.stage__reveal {
  position: absolute; z-index: 2;
  left: var(--gutter); top: 50%;
  transform: translateY(calc(-50% + (1 - var(--q, 0)) * 40px));
  max-width: min(46vw, 560px);
  opacity: var(--q, 0);
  pointer-events: none;
}
.stage__reveal.is-live { pointer-events: auto; }
.stage__reveal .h2 { margin-bottom: 20px; }

@media (max-width: 899px) {
  .stage__sticky { --cx: 50%; --cy: 35%; --r: min(36vw, 21vh); --s0: .6; }
  .stage__img { left: -40%; width: 180%; object-position: 95% 50%; }
  .stage__reveal { top: auto; bottom: 10vh; transform: translateY(calc((1 - var(--q, 0)) * 40px)); max-width: none; right: var(--gutter); background: var(--bg); padding: 20px; border-radius: var(--r-md); }
}
@media (min-width: 900px) {
  .stage__copy { right: auto; top: 0; bottom: 0; width: 46%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-h); }
}
@media (max-height: 640px) and (max-width: 899px) {
  .stage__copy .lead { display: none; }
}
/* bez animacji: zwykły, statyczny hero */
.no-stage .stage { height: auto; }
.no-stage .stage__sticky { position: relative; }
.no-stage .stage__reveal { display: none; }

/* ---------- manifest ze zdjęciami w tekście ---------- */
.manifest__text {
  font-family: var(--f-display);
  font-weight: 700;
  font-variation-settings: "wdth" 92, "opsz" 72;
  font-size: clamp(1.9rem, 1rem + 3.6vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  max-width: 20ch;
  margin: 0;
}
.pill {
  display: inline-block;
  width: 1.9em; height: .82em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: -.06em;
  margin-inline: .06em;
}
.pill img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- zabiegi: karty ---------- */
.svc-grid { display: grid; gap: 16px; list-style: none; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } .svc-grid > li:nth-child(even) { margin-top: 56px; } }
.svc {
  position: relative; display: block;
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none; color: var(--ink);
  background: var(--plaster);
  isolation: isolate;
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.svc__label {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 18px 18px 16px;
  border-radius: var(--r-md);
  background: var(--bg);
}
.svc__label p { font-size: var(--t-small); color: var(--ink-2); margin: 6px 0 12px; line-height: 1.45; }
.svc__meta { display: flex; justify-content: space-between; align-items: center; font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.svc__go {
  width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; transition: transform var(--dur) var(--ease-out), background-color var(--dur);
}
.svc:hover .svc__go { transform: rotate(-45deg); background: var(--ochre); color: var(--ink); }
.svc-foot { margin-top: 40px; display: flex; justify-content: center; }

/* ---------- przed / po ---------- */
.ba-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .ba-wrap { grid-template-columns: 1fr 1.15fr; gap: 72px; } }
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 704 / 768;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--plaster);
  user-select: none;
  touch-action: pan-y;
}
.ba__layer { position: absolute; inset: 0; overflow: hidden; }
.ba__layer img { position: absolute; top: 0; height: 100%; width: 200%; max-width: none; object-fit: cover; }
.ba__after img { left: -100%; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { left: 0; }
.ba__line {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 2px; margin-left: -1px; background: var(--paper);
  pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px -8px rgba(30, 23, 20, .45);
}
.ba__tag {
  position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px;
  background: rgba(30, 23, 20, .72); color: var(--cream);
  font-size: var(--t-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  pointer-events: none;
}
.ba__tag--l { left: 16px; } .ba__tag--r { right: 16px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba:has(.ba__range:focus-visible) .ba__knob { outline: 3px solid var(--ochre-deep); outline-offset: 3px; }
.facts { list-style: none; display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.facts li span:last-child { font-weight: 600; text-align: right; }

/* ---------- sekcja ochrowa: wizyta w 3 krokach ---------- */
.on-ochre { background: var(--ochre); color: var(--ink); }
.on-dark { background: var(--ink); color: var(--cream); }
.tint { background: var(--plaster); }
.tint .forwho li { background: var(--paper); }
.on-dark .lead, .on-dark .muted { color: rgba(245, 238, 228, .76); }
.on-ochre .lead { color: var(--ink); }
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; border-top: 1.5px solid var(--ink); }
.steps li {
  display: grid; gap: 8px 32px;
  padding: 28px 0 32px;
  border-bottom: 1.5px solid var(--ink);
}
.steps__n {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80;
  font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: .85; letter-spacing: -.04em;
}
.steps .h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.steps p { margin: 0; max-width: 46ch; }
.steps__time { font-size: var(--t-small); font-weight: 700; }
@media (min-width: 900px) {
  .steps li { grid-template-columns: 180px 1fr 1.1fr; align-items: baseline; }
}

/* ---------- założycielka ---------- */
.founder { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.arch {
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--plaster);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.founder .arch img { object-position: 62% 30%; }
.quote {
  font-family: var(--f-display); font-weight: 600; font-variation-settings: "wdth" 92, "opsz" 48;
  font-size: clamp(1.75rem, 1.15rem + 2.2vw, 3rem);
  line-height: 1.12; letter-spacing: -.025em;
  margin: 0 0 28px;
}
.quote::before { content: "„"; color: var(--ochre); }
.quote::after { content: "”"; color: var(--ochre); }
.sign { margin: 0 0 28px; color: var(--ink-2); }
.sign strong { display: block; color: var(--ink); font-size: 1.05rem; }

/* ---------- opinia przy efekcie, którego dotyczy ---------- */
.said { margin: 32px 0 0; }
.said blockquote { margin: 0 0 12px; font-family: var(--f-display); font-weight: 600; font-variation-settings: "opsz" 24; font-size: 1.2rem; line-height: 1.4; letter-spacing: -.01em; }
.said blockquote::before { content: "„"; color: var(--ochre-deep); } .said blockquote::after { content: "”"; color: var(--ochre-deep); }
.said figcaption { font-size: var(--t-small); color: var(--ink-2); }
.said strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-wrap > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; min-height: 44px;
  font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  width: 32px; height: 32px; border-radius: 50%; flex: none; position: relative;
  background: var(--plaster); transition: background-color var(--dur), transform var(--dur) var(--ease-out);
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink);
  transform: translate(-50%, -50%);
}
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary i { background: var(--ochre); }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 60ch; }

/* ---------- najbliższe wolne terminy (przed stopką) ---------- */
.slots-next__in { display: grid; gap: 32px; }
@media (min-width: 900px) { .slots-next__in { grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: end; } }
.slots-next .lead { margin: 20px 0 12px; }
.slots-next .muted a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.slot-list { list-style: none; border-top: 1.5px solid var(--ink); }
.slot-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.slot-list li:only-child { grid-template-columns: 1fr; border-bottom: 0; padding-top: 20px; }
.slot-list__day { font-weight: 600; }
.slot-list__day::first-letter { text-transform: uppercase; }
.slot-list__day em { font-style: normal; color: var(--ochre-deep); margin-right: .4em; }
.slot-list__time { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.slot-list__all { margin: 16px 0 0; font-size: var(--t-small); }
.slot-list__all a { font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 479px) {
  .slot-list li { grid-template-columns: 1fr auto; }
  .slot-list .btn { grid-column: 1 / -1; }
}

/* ---------- stopka ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid var(--line-on-dark); }
.footer__grid { display: grid; gap: 40px; margin-bottom: 72px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h2 { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: -.01em; color: var(--ochre); margin-bottom: 14px; font-weight: 700; }
.footer ul { list-style: none; display: grid; gap: 4px; }
.footer a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer a:hover { color: var(--ochre); }
.footer p { color: rgba(245, 238, 228, .76); }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 28px; font-size: var(--t-small); font-variant-numeric: tabular-nums; margin: 0; }
.hours dt { color: var(--ink-2); } .hours dd { margin: 0; font-weight: 600; }
.on-dark .hours dt { color: rgba(245, 238, 228, .76); }
.footer__logo { color: var(--cream); }
.footer__logo svg { width: 100%; height: auto; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 32px; font-size: .85rem; color: rgba(245, 238, 228, .6); }

/* =========================================================
   PODSTRONY
   ========================================================= */
.page-hero { padding: clamp(32px, 6vw, 88px) 0 clamp(56px, 6vw, 96px); }
.page-hero__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.page-hero .lead { margin-top: 24px; }
.page-hero__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--plaster); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .875rem; margin-bottom: 28px; color: var(--ink-2); }
.crumbs a { text-underline-offset: 3px; }

/* cennik */
.cat-nav {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(250, 250, 248, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.cat-nav ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; position: relative; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap;
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.cat-nav a.is-active { background: var(--ink); color: var(--cream); box-shadow: none; }
.price-cat { display: grid; gap: 32px; padding-block: clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 72px); }
@media (min-width: 900px) { .price-cat { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.price-cat__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.price-cat__media img { width: 100%; height: 100%; object-fit: cover; }
.price-cat .h2 { margin-bottom: 16px; }
.plist { list-style: none; border-top: 1.5px solid var(--ink); margin-top: 28px; }
.plist li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.plist__name { font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.plist__meta { font-size: .875rem; color: var(--ink-2); grid-column: 1; }
.plist__price { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; text-align: right; }
.plist__book { grid-column: 2; grid-row: 2; justify-self: end; }
.plist__book button { border: 0; background: none; font-weight: 600; font-size: .875rem; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0; color: var(--ochre-deep); }
.plist__book button:hover { color: var(--ink); }

/* szablon zabiegu */
.forwho { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .forwho { grid-template-columns: 1fr 1fr; } }
.forwho li { background: var(--paper); border-radius: var(--r-md); padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.forwho li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ochre); flex: none; margin-top: 7px; }
.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } }
.note { background: var(--plaster); border-radius: var(--r-md); padding: 22px 24px; font-size: var(--t-small); }
.note strong { display: block; margin-bottom: 6px; }
.other { display: grid; gap: 16px; list-style: none; }
@media (min-width: 700px) { .other { grid-template-columns: repeat(3, 1fr); } }
.other .svc { aspect-ratio: 3 / 4; }

/* o nas: zespół */
.team { list-style: none; display: grid; gap: 28px 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .team { grid-template-columns: repeat(4, 1fr); } }
.member__ph {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-md) var(--r-md); overflow: hidden;
  background: var(--plaster); display: grid; place-items: center; position: relative; margin-bottom: 16px;
}
.member__ph img { width: 100%; height: 100%; object-fit: cover; }
.member__ph span { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4rem); color: var(--ochre-deep); letter-spacing: -.04em; }
.member__ph--ochre { background: var(--ochre); } .member__ph--ochre span { color: var(--ink); }
.member__ph--ink { background: var(--ink); }
.member__ph--paper { background: var(--paper); } .member__ph--ink span { color: var(--ochre); }
.member strong { display: block; font-size: 1.1rem; }
.member p { margin: 4px 0 0; font-size: var(--t-small); color: var(--ink-2); }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(6, 1fr); }
.gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--plaster); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure:nth-child(1) { grid-column: span 6; aspect-ratio: 16 / 9; }
.gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 3; aspect-ratio: 1; }
@media (min-width: 900px) {
  .gallery figure:nth-child(1) { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; }
  .gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 2; aspect-ratio: 4 / 3; }
}
.values { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .values li { grid-template-columns: 1fr 1.4fr; gap: 40px; } }
.values .h3 { font-size: 1.4rem; }
.values p { margin: 0; color: var(--ink-2); }

/* kontakt */
.contact { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.contact__list { list-style: none; display: grid; gap: 24px; margin-bottom: 40px; }
.contact__list .eyebrow { display: flex; margin-bottom: 6px; }
.contact__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.02em; text-decoration: none; line-height: 1.2; }
.contact__big:hover { color: var(--ochre-deep); }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--plaster); }
.map svg { width: 100%; height: 100%; }
.map__pin { position: absolute; left: 56%; top: 46%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.map__pin span { background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.map__pin i { width: 26px; height: 26px; border-radius: 50%; display: block; background: radial-gradient(circle at 68% 30%, var(--paper) 0 2.5px, transparent 3px), var(--ochre); box-shadow: 0 0 0 8px rgba(212, 118, 44, .25); }

/* formularze */
.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field label small { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--plaster-deep); border-radius: var(--r-sm);
  background: var(--paper); font-size: 1rem;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(212, 118, 44, .35); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #B3261E; }
.field__err { color: #B3261E; font-size: .875rem; font-weight: 500; min-height: 0; }
.field__err:empty { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.form__ok { display: none; background: var(--ink); color: var(--cream); padding: 20px 22px; border-radius: var(--r-md); }
.form.is-sent .form__ok { display: block; }

/* =========================================================
   REZERWACJA (panel)
   ========================================================= */
.book {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(100%, 580px); max-width: 100%;
  height: 100dvh; max-height: 100dvh;
  background: var(--bg); color: var(--ink);
}
.book::backdrop { background: rgba(30, 23, 20, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.book[open] { display: flex; flex-direction: column; animation: sheet-in 380ms var(--ease-out); }
.book.is-closing { animation: sheet-out 240ms ease-in forwards; }
@keyframes sheet-in { from { transform: translateX(100%); } }
@keyframes sheet-out { to { transform: translateX(100%); } }
.book__head { padding: 18px 24px 16px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.book__title { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.03em; font-variation-settings: "wdth" 88; }
.book__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--plaster); display: grid; place-items: center; }
.book__close:hover { background: var(--plaster-deep); }
.progress { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.progress li { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.progress li::before { content: ""; display: block; height: 4px; border-radius: 4px; background: var(--plaster-deep); margin-bottom: 8px; transition: background-color var(--dur); }
.progress li.is-done::before, .progress li.is-current::before { background: var(--ochre); }
.progress li.is-current { color: var(--ink); }
.book__body { flex: 1; overflow-y: auto; padding: 24px; overscroll-behavior: contain; }
.book__step[hidden] { display: none; }
.book__step h3 { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: -.015em; margin-bottom: 14px; }
.book__foot { border-top: 1px solid var(--line); padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; background: var(--paper); }
.book__foot[hidden] { display: none; }
.book__sum { font-size: .875rem; color: var(--ink-2); line-height: 1.35; }
.book__sum strong { color: var(--ink); display: block; font-size: .95rem; }
.book__btns { display: flex; gap: 8px; justify-content: flex-end; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs button {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 0;
  background: var(--plaster); font-weight: 600; font-size: .875rem;
}
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.opts { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt label {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px;
  padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--plaster-deep);
  cursor: pointer; transition: box-shadow var(--dur), background-color var(--dur);
}
.opt label:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.opt input:checked + label { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.opt input:focus-visible + label { outline: 3px solid var(--ochre-deep); outline-offset: 2px; }
.opt__name { font-weight: 600; }
.opt__meta { font-size: .85rem; color: var(--ink-2); grid-column: 1; }
.opt__price { font-weight: 700; font-variant-numeric: tabular-nums; grid-row: 1 / 3; grid-column: 2; align-self: center; }

.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cal__month { font-weight: 700; font-size: 1.05rem; text-transform: capitalize; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--plaster); display: grid; place-items: center; }
.cal__nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow { font-size: .75rem; font-weight: 600; color: var(--ink-2); padding: 6px 0; text-transform: uppercase; letter-spacing: .06em; }
.cal__day {
  aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 50%;
  background: transparent; font-weight: 600; font-variant-numeric: tabular-nums;
  position: relative; transition: background-color var(--dur);
}
.cal__day:hover:not(:disabled) { background: var(--plaster); }
.cal__day:disabled { color: rgba(30, 23, 20, .28); cursor: not-allowed; }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--ochre); transform: translateX(-50%); }
.cal__day[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.slots button {
  min-height: 44px; border-radius: 999px; border: 0;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--plaster-deep);
  font-weight: 600; font-variant-numeric: tabular-nums;
}
.slots button:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--ink); }
.slots button:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.slots button[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.slots-empty { color: var(--ink-2); font-size: .9375rem; padding: 8px 0; }
.book__slots { margin-top: 28px; }
.done { text-align: center; padding: 24px 4px; }
.done__drop { width: 96px; height: 96px; margin: 8px auto 24px; }
.done h3 { font-family: var(--f-display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px; }
.done dl { text-align: left; background: var(--paper); border-radius: var(--r-md); padding: 8px 20px; margin: 24px 0; }
.done dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.done dl div:last-child { border-bottom: 0; }
.done dt { color: var(--ink-2); } .done dd { margin: 0; font-weight: 600; text-align: right; }
.done__actions { display: grid; gap: 10px; }

@media (max-width: 580px) {
  .book { width: 100%; }
  .book[open] { animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .book.is-closing { animation-name: sheet-down; }
  @keyframes sheet-down { to { transform: translateY(100%); } }
  .book__foot { grid-template-columns: 1fr; }
  .book__btns .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   v2 — EFEKTY, PASEK, DOCK, RUCH
   ========================================================= */

/* ---------- pasek nazw zabiegów (przesuwa się z przewijaniem) ---------- */
.band { overflow: hidden; padding-block: clamp(24px, 4vw, 56px); border-block: 1px solid var(--line); }
.band__row {
  display: flex; gap: .5em; white-space: nowrap; width: max-content;
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80, "opsz" 96;
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 6.6rem); line-height: 1.04; letter-spacing: -.035em;
  will-change: transform;
}
.band__row + .band__row { margin-top: .08em; }
.band__row span { display: inline-flex; align-items: center; gap: .5em; }
.band__row span::after {
  content: ""; width: .42em; height: .42em; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 68% 30%, var(--paper) 0 .045em, transparent .055em), var(--ochre);
}
.band__row--ghost { color: var(--ochre); }
.band__row--ghost span::after { background: radial-gradient(circle at 68% 30%, var(--paper) 0 .045em, transparent .055em), var(--ink); }

/* ---------- efekty ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips button {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .9375rem;
  transition: background-color var(--dur), color var(--dur), box-shadow var(--dur);
}
.chips button:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.cases { list-style: none; display: grid; gap: 20px; }
@media (min-width: 760px) { .cases { grid-template-columns: repeat(2, 1fr); } .cases > li:nth-child(even) { margin-top: 72px; } }
.cases > li[hidden] { display: none; }
.case { background: var(--paper); border-radius: var(--r-lg); padding: 12px; }
.case .ba, .case__single { aspect-ratio: 4 / 5; border-radius: var(--r-md); }
.ba--pair .ba__layer img { width: 100%; left: 0; }
.case__single { position: relative; overflow: hidden; background: var(--plaster); }
.case__single img { width: 100%; height: 100%; object-fit: cover; }
.case__body { padding: 20px 12px 8px; }
.case__cat { font-size: var(--t-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: 8px; }
.case .h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); margin-bottom: 16px; }
.case__meta { margin: 0 0 12px; border-top: 1px solid var(--line); }
.case__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: var(--t-small); }
.case__meta dt { color: var(--ink-2); } .case__meta dd { margin: 0; font-weight: 600; text-align: right; }
.case .link-arrow { background: none; border-top: 0; border-left: 0; border-right: 0; padding: 0 0 2px; }
.case.is-pop { animation: pop-in 520ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.page-hero .ba { aspect-ratio: 704 / 768; }

.stats { display: grid; gap: 40px 24px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { border-top: 1.5px solid currentColor; padding-top: 20px; }
.stat__num {
  display: block; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80;
  font-size: clamp(3.4rem, 2rem + 5vw, 7rem); line-height: .9; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: .45em; letter-spacing: -.02em; margin-left: .05em; }
.stat p { margin: 14px 0 0; max-width: 30ch; }
.footnote { margin-top: 40px; font-size: .875rem; opacity: .8; }

/* ---------- przycisk rezerwacji przy kciuku (telefon) ---------- */
.dock {
  position: fixed; z-index: 60; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom));
  transform: translate(-50%, 160%);
  box-shadow: 0 16px 40px -12px rgba(30, 23, 20, .55);
  transition: transform 420ms var(--ease-out);
}
.dock.is-on { transform: translate(-50%, 0); }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- uchwyt panelu rezerwacji (telefon) ---------- */
.book__grab { display: none; }
@media (max-width: 580px) {
  .book { height: 94dvh; margin-top: auto; border-radius: 22px 22px 0 0; }
  .book__grab { display: grid; place-items: center; height: 22px; touch-action: none; cursor: grab; }
  .book__grab span { width: 40px; height: 5px; border-radius: 5px; background: var(--plaster-deep); }
  .book__head { touch-action: none; padding-top: 4px; }
}

/* ---------- RUCH (tylko gdy dozwolony: html.motion) ---------- */
/* nagłówki słowo po słowie */
.motion .is-split .w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: .18em .08em .16em 0; margin: -.18em -.08em -.16em 0;
}
.motion .is-split .w > span {
  display: inline-block; transform: translateY(115%);
  transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 60ms);
}
.motion .is-split.is-shown .w > span { transform: none; }

/* hero: kolejność wejścia */
.motion:not(.is-loaded) .stage__copy > :not(h1) { opacity: 0; }
.motion.is-loaded .stage__copy .eyebrow { animation: rise .7s var(--ease-out) .1s backwards; }
.motion.is-loaded .stage__copy .lead { animation: rise .8s var(--ease-out) .7s backwards; }
.motion.is-loaded .stage__actions { animation: rise .8s var(--ease-out) .85s backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* manifest rozświetla się przy przewijaniu */
.manifest__text .lw { opacity: .14; transition: opacity 380ms var(--ease-out), transform 520ms var(--ease-out); }
.manifest__text .lw.on { opacity: 1; }
.manifest__text .pill.lw { transform: scale(.6); }
.manifest__text .pill.lw.on { transform: none; }

/* kroki: linie się rysują */
.motion .steps li { position: relative; border-bottom-color: transparent; }
.motion .steps li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-out);
}
.motion .steps li:nth-child(2)::after { transition-delay: .15s; }
.motion .steps li:nth-child(3)::after { transition-delay: .3s; }
.motion .steps li:nth-child(4)::after { transition-delay: .45s; }
.motion .steps.is-drawn li::after { transform: none; }
.motion .steps .steps__n { transition: transform .9s var(--ease-out), opacity .9s; }
.motion .steps:not(.is-drawn) .steps__n { opacity: 0; transform: translateX(-24px); }
.motion .steps li:nth-child(2) .steps__n { transition-delay: .15s; }
.motion .steps li:nth-child(3) .steps__n { transition-delay: .3s; }

/* stopka: litery wynurzają się, kropla wpada */
.motion .footer__logo svg g path { transform-box: fill-box; transform: translateY(115%); transition: transform 1s var(--ease-out); }
.motion .footer__logo svg g path:nth-child(3), .motion .footer__logo svg g path:nth-child(4) { transition-delay: .08s; }
.motion .footer__logo svg g path:nth-child(5), .motion .footer__logo svg g path:nth-child(6) { transition-delay: .16s; }
.motion .footer__logo svg g path:nth-child(7), .motion .footer__logo svg g path:nth-child(8) { transition-delay: .24s; }
.motion .footer__logo svg > path { transform-box: fill-box; transform-origin: center; transform: scale(0) rotate(-120deg); transition: transform 1s cubic-bezier(.34, 1.4, .64, 1) .35s; }
.motion .footer__logo.is-shown svg g path, .motion .footer__logo.is-shown svg > path { transform: none; }

/* przejścia między podstronami (przeglądarki z View Transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 260ms ease-in both vt-out; }
::view-transition-new(root) { animation: 420ms var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- ograniczona przezroczystość: pełne tła zamiast rozmyć ---------- */
@media (prefers-reduced-transparency: reduce) {
  .header.is-scrolled, .cat-nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .stage__reveal { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .book::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(30, 23, 20, .7); }
}
/* zwiększony kontrast */
@media (prefers-contrast: more) {
  :root { --ink-2: #2E2520; --line: rgba(30, 23, 20, .4); --ochre-deep: #7E3B12; }
  .manifest__text .lw { opacity: .45; }
}

/* =========================================================
   v3 — RUCH NA CENNIKU
   ========================================================= */
/* płynące podświetlenie zakładek */
.cat-nav__thumb {
  position: absolute; left: 0; top: 10px; height: 44px; border-radius: 999px;
  background: var(--ink); pointer-events: none; opacity: 0;
  transition: transform 480ms var(--ease-out), width 480ms var(--ease-out), opacity 200ms;
}
.cat-nav ul.has-thumb a { position: relative; transition: color 300ms; }
.cat-nav ul.has-thumb a.is-active { background: transparent; color: var(--cream); }

/* hover wiersza cennika: piaskowe tło wsuwa się od lewej */
.plist li { position: relative; isolation: isolate; }
.plist li::before {
  content: ""; position: absolute; inset: 0 -14px; z-index: -1; border-radius: var(--r-sm);
  background: var(--plaster); transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease-out);
}
.plist li:hover::before { transform: none; }
.plist__price span { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: no-preference) {
  /* zdjęcie w nagłówku podstron: to samo odsłonięcie przy wejściu */
  .motion .page-hero__media { clip-path: inset(10% 8% 10% 8% round 40px); transition: clip-path 1.4s var(--ease-out) .2s; }
  .motion .page-hero__media img { transform: scale(1.15); transition: transform 1.8s var(--ease-out) .2s; }
  .motion.is-loaded .page-hero__media { clip-path: inset(0 0 0 0 round var(--r-lg)); }
  .motion.is-loaded .page-hero__media img { transform: none; }
}
