/* =========================================================
   Wyczesane Łapy — style strony
   Paleta z salonu: różowy szyld, czarny kontuar, marmur, kość słoniowa.
   Akcent (--accent) tylko jako sygnał: <em>, ślad łapki, stan aktywny, focus.
   ========================================================= */
:root {
  --ink: #26211f;
  --ink-soft: #5e5450;
  --ink-faint: #8f847e;
  --cream: #f8f3ef;
  --ivory: #fffcfa;
  --sand: #f1e7e2;
  --blush: #f7e6e8;
  --marble: #ebe6e2;

  --accent: #cf7f8a;        /* róż z szyldu */
  --accent-deep: #9c4a57;   /* tekst/przyciski na jasnym tle (kontrast ≥ 6:1) */
  --accent-lite: #f3d3d8;

  --ok: #3f7d5a;
  --warn: #b7791f;
  --err: #b3403a;

  --line: rgba(38, 33, 31, .12);
  --line-soft: rgba(38, 33, 31, .07);
  --shadow-sm: 0 4px 18px -8px rgba(120, 60, 70, .28);
  --shadow-md: 0 24px 60px -28px rgba(80, 40, 46, .38);
  --shadow-lg: 0 40px 90px -30px rgba(80, 40, 46, .45);

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .2s;
  --t-base: .35s;

  --pad: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1240px;
  --sec: clamp(4.5rem, 9vw, 8rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --nav-h: 72px;
  --lapka: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/svg%3E");
  /* wężyk z 7 śladów łapek (fala ~, od bladego do pełnego) — eyebrow */
  --trop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 42'%3E%3Cg fill-opacity='0.45' transform='translate(10.3 19.6) rotate(63.9) scale(0.25) translate(-32 -35)'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/g%3E%3Cg fill-opacity='0.54' transform='translate(32.7 13.9) rotate(76.2) scale(0.25) translate(-32 -35)'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/g%3E%3Cg fill-opacity='0.63' transform='translate(54.0 10.8) rotate(103.8) scale(0.25) translate(-32 -35)'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/g%3E%3Cg fill-opacity='0.73' transform='translate(74.3 22.4) rotate(116.1) scale(0.25) translate(-32 -35)'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/g%3E%3Cg fill-opacity='0.82' transform='translate(96.7 28.1) rotate(103.8) scale(0.25) translate(-32 -35)'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/g%3E%3Cg fill-opacity='0.91' transform='translate(118.0 31.2) rotate(76.2) scale(0.25) translate(-32 -35)'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/g%3E%3Cg fill-opacity='1.00' transform='translate(138.3 19.6) rotate(63.9) scale(0.25) translate(-32 -35)'%3E%3Cellipse cx='14' cy='24' rx='6.2' ry='8' transform='rotate(-18 14 24)'/%3E%3Cellipse cx='25.5' cy='12.5' rx='6.4' ry='8.6' transform='rotate(-6 25.5 12.5)'/%3E%3Cellipse cx='39' cy='12.5' rx='6.4' ry='8.6' transform='rotate(6 39 12.5)'/%3E%3Cellipse cx='50' cy='24' rx='6.2' ry='8' transform='rotate(18 50 24)'/%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------------- baza ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
::selection { background: var(--accent-lite); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--pad)); margin-inline: auto; }
.sec { padding-block: var(--sec); position: relative; }
.sec--ivory { background: var(--ivory); }
.sec--sand { background: var(--sand); }
.sec--blush { background: var(--blush); }
.sec--ink { background: var(--ink); color: var(--ivory); }

/* eyebrow: wężyk łapek przed nazwą sekcji, przy reveal łapki wchodzą po kolei */
.eyebrow {
  display: flex; align-items: center; gap: .9em;
  font-size: .78rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; flex: none; width: 8em; height: 2.24em; margin-block: -.6em; background: var(--accent);
  -webkit-mask: var(--trop) center/contain no-repeat; mask: var(--trop) center/contain no-repeat;
  clip-path: inset(-10% -10% -10% -10%); transition: clip-path .9s steps(7, end) .15s;
}
.js .reveal:not(.in) .eyebrow::before, .js .eyebrow.reveal:not(.in)::before { clip-path: inset(-10% 100% -10% -10%); }
.sec--ink .eyebrow { color: var(--accent-lite); }
.sec--ink .eyebrow::before { background: var(--accent-lite); }

.title { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.title--sm { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 60ch; }
.sec--ink .lead { color: rgba(255, 252, 250, .74); }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

/* akcent <em>: słowo w kolorze + ślad łapki przy górnym rogu (E13) */
.title em, .hero__title em, .page-head h1 em, .bk-head h1 em {
  font-style: normal; color: var(--accent-deep); position: relative; white-space: nowrap;
}
.title em::after, .hero__title em::after, .page-head h1 em::after, .bk-head h1 em::after {
  content: ""; position: absolute; right: -.55em; top: -.18em; width: .5em; height: .5em;
  background: var(--accent);
  -webkit-mask: var(--lapka) center/contain no-repeat; mask: var(--lapka) center/contain no-repeat;
  transform: rotate(18deg) scale(var(--paw, 1)); transform-origin: 30% 80%;
  transition: transform .5s var(--ease) .25s;
}
.js .reveal:not(.in) em::after { --paw: 0; }
.sec--ink .title em { color: var(--accent-lite); }

/* przyciski */
.btn {
  --bg: var(--ink); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.5em; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease);
}
.btn:hover { --bg: var(--accent-deep); }
.btn:active { transform: scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --bg: var(--ivory); border-color: var(--ink); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); }
.btn--light:hover { --bg: var(--accent-lite); }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; color: var(--accent-deep); }
.link-arrow::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
/* palec: linki tekstowe miały 19–28 px wysokości — padding powiększa pole dotyku do ~44 px, ujemny margines trzyma układ w miejscu */
@media (pointer: coarse) {
  .link-arrow, .hero__meta a, .foot__col > a:not(.foot__more), .foot__social a, .foot__nav a { padding-block: 8px; margin-block: -8px; }
  .foot__more { padding-block: 8px; margin-block: calc(.5rem - 8px) -8px; }
  .contact-list a { padding-block: 12px; }
}

/* ---------------- szew: krawędź grzebienia (S14) ----------------
   Element .comb wisi na górnej krawędzi sekcji, w kolorze sekcji POPRZEDNIEJ:
   grzbiet grzebienia + zęby z zaokrąglonym końcem nachodzące na nową sekcję. */
.comb {
  position: absolute; left: 0; right: 0; top: -1px; height: 22px; z-index: 2; pointer-events: none;
  background: var(--comb, var(--cream));
  -webkit-mask:
    linear-gradient(#000 0 0) 0 0 / 100% 7px no-repeat,
    linear-gradient(90deg, transparent 0 8px, #000 8px 14px, transparent 14px) 0 0 / 22px 17px repeat-x,
    radial-gradient(circle at 11px 17px, #000 3px, transparent 3.6px) 0 0 / 22px 22px repeat-x;
  mask:
    linear-gradient(#000 0 0) 0 0 / 100% 7px no-repeat,
    linear-gradient(90deg, transparent 0 8px, #000 8px 14px, transparent 14px) 0 0 / 22px 17px repeat-x,
    radial-gradient(circle at 11px 17px, #000 3px, transparent 3.6px) 0 0 / 22px 22px repeat-x;
}
.comb--ivory { --comb: var(--ivory); }
.comb--sand { --comb: var(--sand); }
.comb--blush { --comb: var(--blush); }
.comb--ink { --comb: var(--ink); }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}
.nav.scrolled, .nav--solid { background: rgba(255, 252, 250, .86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-soft); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; object-fit: contain; }
.brand__name { font-family: var(--body); font-weight: 600; font-size: 1.12rem; letter-spacing: .01em; line-height: 1; }
.brand__name small { display: block; font-family: var(--body); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin-top: 4px; }
@media (max-width: 360px) { .brand__name small { letter-spacing: .08em; font-size: .6rem; } }   /* 320 px: podpis łamał się na dwie linie */
.nav__links { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: .5em .8em; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .96rem;
  transition: background var(--t-fast);
}
.nav__links a:hover { background: rgba(38, 33, 31, .06); }
.nav__links a[aria-current="page"] { background: var(--ink); color: var(--ivory); }
.nav__cta { display: inline-flex; }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory);
  align-items: center; justify-content: center; cursor: pointer; position: relative; z-index: 120;
}
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.6px; background: var(--ink); position: relative; transition: transform var(--t-base) var(--ease), background var(--t-fast); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* pełnoekranowe menu na clip-path (N3) — JS tylko przełącza klasę */
.menu {
  position: fixed; inset: 0 0 auto; height: 100vh; height: 100dvh; z-index: 110; background: var(--ivory);   /* dvh: dół menu kończy się nad paskiem przeglądarki, nie pod nim */
  clip-path: inset(0 0 100% 0); visibility: hidden; overflow-y: auto; overscroll-behavior: contain;
  transition: clip-path .6s var(--ease), visibility 0s linear .6s;
  display: flex; flex-direction: column; padding: calc(var(--nav-h) + 1rem) var(--pad) calc(2rem + env(safe-area-inset-bottom));
}
.menu-open .nav { z-index: 120; background: var(--ivory); }   /* .nav to osobny kontekst nakładania — bez tego burger (X) ląduje pod menu */
.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .6s var(--ease); }
.menu ol { list-style: none; margin: auto 0 0; padding: 0; counter-reset: m; }   /* auto-marginesy (tu + w .menu__foot) zamiast justify-content: center — na niskim ekranie treść się przewija, a nie ucina u góry */
.menu li { overflow: hidden; border-bottom: 1px solid var(--line-soft); }
.menu a.menu__link {
  display: flex; align-items: baseline; gap: 1rem; padding: .45rem 0; text-decoration: none;
  font-family: var(--display); font-size: clamp(1.6rem, min(9vw, 5dvh), 3rem); font-weight: 600; letter-spacing: -.02em;   /* dvh: na niskim telefonie mieści się z numerem bez przewijania */
  transform: translateY(105%); transition: transform .6s var(--ease); transition-delay: calc(var(--i) * 55ms + 120ms);
}
.menu a.menu__link::before { counter-increment: m; content: "0" counter(m); font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--accent-deep); letter-spacing: .1em; }
.menu a.menu__link[aria-current="page"] { color: var(--accent-deep); }
.menu-open .menu a.menu__link { transform: none; }
.menu__foot { margin: 2rem 0 auto; display: flex; flex-wrap: wrap; gap: .75rem; }
body.menu-open { overflow: hidden; }
@media (max-height: 720px) { .menu a.menu__link { padding-block: .25rem; } .menu__foot { margin-top: 1.25rem; } }

/* przyklejony pasek akcji na telefonie (N9) */
.actionbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90;
  display: none; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(38, 33, 31, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-md);
  transform: translateY(140%); transition: transform .45s var(--ease);
}
.actionbar.show { transform: none; }
.actionbar a { flex: 1; min-height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: .5em; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ivory); }
.actionbar a.primary { background: var(--ivory); color: var(--ink); }
.actionbar svg { width: 18px; height: 18px; }

@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: inline-flex; }
  .actionbar { display: flex; }
  body { padding-bottom: 76px; }
}

/* ---------------- hero ---------------- */
/* zdjęcie na całe hero: pies po lewej, tekst na pustej szarej połowie po prawej */
.hero { position: relative; background: var(--cream); overflow: hidden; isolation: isolate;
  --fur: calc(clamp(90px, 11vw, 140px) + clamp(2.5rem, 6vw, 5rem));   /* wysokość + margines pasma .fur */
}
.hero__grid { display: grid; grid-template-columns: 1fr minmax(0, 33rem); align-items: center; min-height: max(34rem, 100svh); padding-block: calc(var(--nav-h) + 1.5rem); }   /* hero = pełna wysokość ekranu, tekst na środku (równy margines na nawigację u góry i u dołu), sierść dopiero pod zgięciem */
.hero__text { position: relative; z-index: 1; grid-column: 2; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(2.6rem, 6.3vw, 5rem); line-height: .98; letter-spacing: -.035em; }
.hero__lead { margin-top: 1.25rem; font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); color: var(--ink-soft); max-width: 34ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; font-size: .92rem; color: var(--ink-soft); }
.hero__meta a { text-decoration: none; }
.hero__meta a:hover { text-decoration: underline; }
.hero__media { position: absolute; inset: 0 0 calc(var(--fur) - 2.5rem); z-index: -1; }   /* zdjęcie na cały ekran, kończy się tuż za zgięciem */
.hero__frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--marble);
  --fade: linear-gradient(#000 calc(100% - 6rem), rgba(0, 0, 0, .94) calc(100% - 4.5rem), rgba(0, 0, 0, .78) calc(100% - 3rem), rgba(0, 0, 0, .45) calc(100% - 1.5rem), transparent);
  -webkit-mask: var(--fade); mask: var(--fade);   /* zanikanie łagodnie się zaczyna i dopiero przy samym dole mocno rozpływa w krem */
}
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(color-mix(in srgb, var(--cream) 70%, transparent), transparent calc(var(--nav-h) + 1rem)), linear-gradient(90deg, transparent 38%, color-mix(in srgb, var(--cream) 62%, transparent) 62%, color-mix(in srgb, var(--cream) 82%, transparent)); }
.hero__frame img { position: absolute; inset: -6% 0 auto; width: 100%; height: 112%; object-fit: cover; object-position: 45% 50%; will-change: transform; }

/* CTA „puf, puf, puf” — co kilka sekund z przycisku wyskakują trzy coraz większe klony i rozpływają się za nim.
   Klony (cień + ::before + ::after) leżą pod przyciskiem, bo .hero__text ma własny z-index. */
.btn--puf { position: relative; animation: puf-ring 3.4s cubic-bezier(.3, .7, .4, 1) infinite; }
.btn--puf::before, .btn--puf::after {
  content: ""; position: absolute; inset: -1.5px; z-index: -1; border-radius: inherit; background: var(--accent);
  opacity: 0; pointer-events: none; animation: puf-grow 3.4s var(--ease) .2s infinite, puf-fade 3.4s linear .2s infinite;
}
.btn--puf::after { --sx: 1.16; --sy: 1.75; animation-delay: .4s; }
@keyframes puf-ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 80%, transparent); } 26%, 100% { box-shadow: 0 0 0 12px transparent; } }
@keyframes puf-grow { 0% { transform: none; } 28%, 100% { transform: scale(var(--sx, 1.1), var(--sy, 1.45)); } }
@keyframes puf-fade { 0% { opacity: .6; } 28%, 100% { opacity: 0; } }

/* status otwarcia — trzy stany przez jeden token --st */
.status { --st: var(--ink-faint); display: inline-flex; align-items: center; gap: .5em; font-weight: 600; font-size: .9rem; color: color-mix(in srgb, var(--st) 80%, var(--ink)); }
.status::before { content: ""; flex: none; width: 1.15em; height: 1.15em; background: var(--st); -webkit-mask: var(--lapka) center/contain no-repeat; mask: var(--lapka) center/contain no-repeat; }
.status[data-st="open"] { --st: var(--ok); }
.status[data-st="soon"] { --st: var(--warn); }
.status[data-st="closed"] { --st: var(--err); }
.status small { font-weight: 500; color: var(--ink-soft); }

/* pasmo sierści przeczesywane scrollem (wow-moment, H19) */
.fur { position: relative; height: clamp(90px, 11vw, 140px); margin-top: clamp(2.5rem, 6vw, 5rem); }
.fur svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fur path.l { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.fur path.l:nth-child(3n+1) { stroke: var(--accent); }
.fur path.l:nth-child(3n+2) { stroke: var(--ink-faint); }
.fur path.l:nth-child(3n) { stroke: rgba(38, 33, 31, .35); }
.fur__comb {
  position: absolute; top: 50%; left: 0; width: clamp(54px, 6vw, 78px); height: auto; color: var(--ink);
  transform: translate3d(calc(var(--cx, 0px) - 50%), -50%, 0) rotate(-8deg); will-change: transform;
  filter: drop-shadow(0 8px 14px rgba(38, 33, 31, .18));
}

@media (max-width: 860px) {
  /* telefon: zdjęcie u góry, tekst pod nim na kremie */
  .hero { --shot: clamp(13rem, 40svh, 21rem); padding-top: calc(var(--nav-h) + clamp(1.5rem, 4vw, 3.5rem)); }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; padding-block: 0; }
  .hero__text { grid-column: auto; padding-top: calc(var(--shot) - 3rem); }
  .hero__frame { inset: 0 0 auto; height: calc(var(--nav-h) + var(--shot)); -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
  .hero__frame::after { background: linear-gradient(color-mix(in srgb, var(--cream) 85%, transparent), transparent calc(var(--nav-h) + 1.5rem)); }   /* logo nie wchodzi na kaczkę */
  .hero__frame img { object-position: 24% 50%; }
  .hero__lead { max-width: none; }
}

/* ---------------- nagłówek podstrony ---------------- */
.page-head { padding: calc(var(--nav-h) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(2.5rem, 5vw, 4rem); background: var(--cream); position: relative; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); letter-spacing: -.03em; }
.page-head .lead { margin-top: 1rem; }
/* wariant z łapką ze zdjęć po prawej: cztery palce (portrety zwierząt) + poduszka (zdjęcie podstrony).
   Geometria = ślad z --lapka przycięty do obrysu (48.4 × 53.1 jednostek), palce o ~7% mniejsze, żeby się nie stykały.
   Palce wbijają się po kolei jak łapka przy <em>. Zdjęcia: Pexels (zrodla/pexels/CREDITS.md). */
.page-head--foto .wrap { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 320px); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; }
.bk-head.page-head--foto .wrap { grid-template-columns: minmax(0, 1fr) clamp(170px, 15vw, 210px); }
.lapa {
  --pad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='14.5 30 35 27' preserveAspectRatio='none'%3E%3Cpath d='M32 30c-9 0-17.5 9.6-17.5 17.4 0 6 4.6 9.6 9.6 9.6 3.4 0 5.5-1.6 7.9-1.6s4.5 1.6 7.9 1.6c5 0 9.6-3.6 9.6-9.6C49.5 39.6 41 30 32 30z'/%3E%3C/svg%3E");
  position: relative; margin: 0; width: 100%; aspect-ratio: 48.4 / 53.1; transform: rotate(9deg);
  filter: drop-shadow(0 18px 26px rgba(80, 40, 46, .26));
}
.lapa > span { position: absolute; overflow: hidden; background: var(--marble); animation: lapa-in .65s cubic-bezier(.3, 1.45, .5, 1) backwards; }
.lapa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lapa__palec { width: 24%; height: 28.5%; border-radius: 50%; transform: translate(-50%, -50%) rotate(var(--r)); }
.lapa__palec img { transform: rotate(calc(-1 * var(--r))) scale(1.2) translateY(var(--dy, 0)); object-position: var(--op, 50% 50%); }   /* zdjęcie stoi prosto w obróconym palcu; --op/--dy kadrują poziome fotki (--dy ≤ 8%, inaczej wyjdzie tło) */
.lapa__palec:nth-child(1) { left: 12.8%; top: 37.9%; --r: -18deg; animation-delay: .15s; }
.lapa__palec:nth-child(2) { left: 36.6%; top: 16.2%; --r: -6deg; height: 30.5%; width: 24.8%; animation-delay: .25s; }
.lapa__palec:nth-child(3) { left: 64.5%; top: 16.2%; --r: 6deg; height: 30.5%; width: 24.8%; animation-delay: .35s; }
.lapa__palec:nth-child(4) { left: 87.2%; top: 37.9%; --r: 18deg; animation-delay: .45s; }
.lapa__pad { left: 13.8%; top: 49.2%; width: 72.3%; height: 50.8%; -webkit-mask: var(--pad) 0 0 / 100% 100%; mask: var(--pad) 0 0 / 100% 100%; animation-delay: .05s; }
.lapa__pad img { object-position: var(--fp, 50% 40%); }
@keyframes lapa-in { from { opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--r, 0deg)) scale(.3); } }
.lapa__palec { --tx: -50%; --ty: -50%; }
@media (max-width: 760px) {
  .page-head--foto .wrap, .bk-head.page-head--foto .wrap { grid-template-columns: 1fr; }   /* .bk-head ma mocniejszy selektor — bez niego pusta kolumna łapki ściskała tekst na telefonie */
  .lapa { width: min(58vw, 230px); margin: .5rem 0 0 .5rem; }
  .lapa--mala { display: none; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; font-size: .88rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--ink-faint); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------------- usługi (ikony) ---------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.svc {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem; padding: 2rem 1.75rem 1.8rem; border-radius: var(--r-md);
  background: var(--ivory); border: 1px solid var(--line-soft); text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), border-color var(--t-base);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line); }
.svc svg { width: 48px; height: 48px; color: var(--ink); margin-bottom: .2rem; }
.svc h3 { font-size: 1.15rem; }
.svc p { font-size: .92rem; color: var(--ink-soft); margin: 0; line-height: 1.5; max-width: 26ch; }
@media (max-width: 560px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc { padding: 1.1rem 1rem; } .svc h3 { overflow-wrap: break-word; hyphens: auto; } }

.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }

/* ---------------- ikony zwierzaków (czarne SVG jako maska → kolor z currentColor) ---------------- */
.ico { display: inline-block; flex: none; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico--szczeniak { --ico: url("../images/zwierzatka/szczeniak.svg"); }
.ico--maly { --ico: url("../images/zwierzatka/malypies.svg"); }
.ico--sredni { --ico: url("../images/zwierzatka/srednipies.svg"); }
.ico--duzy { --ico: url("../images/zwierzatka/duzypies.svg"); }
.ico--kot { --ico: url("../images/zwierzatka/kot.svg"); }
.ico--krolik { --ico: url("../images/zwierzatka/krolik.svg"); }

/* ---------------- cennik ---------------- */
.price-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.price-cat {
  padding: 1.5rem; border-radius: var(--r-md); background: var(--ivory); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; text-decoration: none; transition: border-color var(--t-base), transform var(--t-base) var(--ease);
}
.price-cat:hover { border-color: var(--ink); transform: translateY(-3px); }
.price-cat .ico { width: 52px; height: 44px; color: var(--ink); margin-bottom: .4rem; }
.price-cat span { font-size: .85rem; color: var(--ink-soft); }
.price-cat strong { font-family: var(--display); font-size: 1.4rem; font-weight: 600; }
.price-cat em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 600; }
.price-cat .more { margin-top: .5rem; font-size: .85rem; font-weight: 600; color: var(--accent-deep); display: inline-flex; align-items: center; gap: .4em; }
.price-cat .more::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.price-cat:hover .more::after { transform: translateX(4px); }
@media (max-width: 860px) { .price-cats { grid-template-columns: repeat(2, 1fr); } }

.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding: .35rem; margin: 0 calc(-1 * .35rem); position: sticky; top: var(--nav-h); z-index: 20; background: var(--cream); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; display: inline-flex; align-items: center; gap: .5em; padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--line);
  background: var(--ivory); cursor: pointer; font-weight: 600; font-size: .95rem; white-space: nowrap; text-decoration: none;
}
.tab .ico { width: 24px; height: 22px; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.tabpanel[hidden] { display: none; }
.price-list { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.price-list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .5rem 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.price-list .n { font-weight: 600; }
.price-list .n small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .88rem; margin-top: 2px; }
.price-list .p { font-family: var(--display); font-weight: 600; font-size: 1.12rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list .p.dash { color: var(--ink-faint); }
.price-list .b { font-size: .88rem; }
@media (max-width: 560px) {
  .price-list li { grid-template-columns: 1fr auto; }
  .price-list .b { grid-column: 1 / -1; justify-self: start; }
}
.breeds { margin-top: 1.5rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: var(--blush); font-size: .94rem; }
.breeds strong { display: block; font-family: var(--display); margin-bottom: .25rem; }
.note { margin-top: 2rem; padding: 1.1rem 1.3rem; border-left: 3px solid var(--accent); background: var(--ivory); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------------- zalety (3 + zdjęcie + 3) ---------------- */
.perks { display: grid; grid-template-columns: 1fr minmax(220px, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; margin-top: 3rem; }
.perks ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.perks li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.perks .num { font-family: var(--display); font-size: 1rem; font-weight: 700; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.perks h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.perks p { margin: 0; color: var(--ink-soft); font-size: .96rem; }
/* pies wychodzi z owalu: dół (od miejsca, gdzie zaczyna się dolny łuk = 220/600 wysokości) przycina owal,
   góra jest wolna i wystaje ponad i poza owal; dwie warstwy dzielą obraz bez nakładania się */
.perks__img { position: relative; border-radius: 999px; background: var(--accent-deep); aspect-ratio: 440 / 600; box-shadow: var(--shadow-md); }
.perks__dog { position: absolute; inset: 0; }
.perks__dog--in { border-radius: 999px; overflow: hidden; clip-path: inset(63% 0 0 0); } /* lekka zakładka z --out, żeby na łączeniu nie było szwu */
.perks__dog--out { clip-path: inset(-50% -50% 36.66% -50%); }
.perks__dog img { position: absolute; left: -12.5%; top: -12%; width: 125%; max-width: none; height: auto; }
@media (max-width: 960px) {
  .perks { grid-template-columns: 1fr 1fr; }
  .perks__img { display: none; }
}
@media (max-width: 620px) { .perks { grid-template-columns: 1fr; } }

/* ---------------- split: tekst + zdjęcie ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 16 / 11; background: var(--marble); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__cap { position: absolute; left: 1rem; bottom: 1rem; background: rgba(255, 252, 250, .92); padding: .4rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .65rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c4a57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; }

/* ---------------- pasmo CTA rezerwacji ---------------- */
/* szczeniak wycięty z tła (narzedzia/szczeniak-wyciecie.py) siedzi na różowym „dywanie” — zdjęcie materiału pod welonem w kolorze pasma */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-lg); color: var(--ink); min-height: 360px; display: grid; align-items: center;
  background:   /* welon gęstszy pod tekstem, rzadszy pod szczeniakiem */
    linear-gradient(90deg, color-mix(in srgb, #d6828c 84%, transparent) 0, color-mix(in srgb, #d6828c 74%, transparent) 42%, color-mix(in srgb, #d6828c 42%, transparent) 72%),
    url("../images/tex-dywan.webp") center / cover, #d6828c;
}
.cta-band img { position: absolute; right: clamp(1.5rem, 9vw, 8rem); bottom: 0; height: 92%; width: auto; max-width: 45%; object-fit: contain; object-position: 50% 100%; }
.cta-band__in { position: relative; padding: clamp(2rem, 5vw, 4rem); max-width: 560px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.cta-band p { margin-top: 1rem; font-size: 1.1rem; color: var(--ink); }
.cta-band .btn { margin-top: 1.6rem; }
@media (max-width: 720px) {
  .cta-band { min-height: 0; background:
    linear-gradient(color-mix(in srgb, #d6828c 84%, transparent) 0, color-mix(in srgb, #d6828c 74%, transparent) 55%, color-mix(in srgb, #d6828c 42%, transparent) 85%),
    url("../images/tex-dywan.webp") center / cover, #d6828c; }
  .cta-band img { position: relative; right: auto; justify-self: center; max-width: none; height: 240px; order: 2; }
  .cta-band__in { padding-bottom: 1rem; }
}

/* ---------------- opinie: poziomy tor ze snapem, na karcie najpierw pupil ----------------
   Adresówka z ikoną gatunku wisi na kółku nad górną krawędzią karty i kołysze się
   przy odsłonięciu i na hover. Postęp przewijania = trop łapek (ta sama grafika co eyebrow).
   Karty generuje narzedzia/opinie.js. */
.ico--lapka { --ico: var(--lapka); }
.revs__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.25rem; }
.revs__filter { display: flex; flex-wrap: wrap; gap: .4rem; }
.revs__filter button {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .45em 1.05em; border-radius: 999px;
  border: 1px solid var(--line); background: var(--ivory); font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.revs__filter button:hover { border-color: var(--ink); }
.revs__filter button span { font-size: .8rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.revs__filter .ico { width: 22px; height: 20px; }
.revs__filter button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.revs__filter button[aria-pressed="true"] span { color: rgba(255, 252, 250, .6); }
.revs__nav { display: flex; align-items: center; gap: .6rem; }
.revs__trail {
  width: 6.4rem; height: 1.8rem; margin-right: .3rem;
  background: linear-gradient(90deg, var(--accent) var(--p, 25%), rgba(38, 33, 31, .16) var(--p, 25%));
  -webkit-mask: var(--trop) center/contain no-repeat; mask: var(--trop) center/contain no-repeat;
}
.revs__count { min-width: 4.6em; font-size: .9rem; font-weight: 600; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.revs__count b { color: var(--ink); }
.revs__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); display: grid; place-items: center; cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}
.revs__arrow svg { width: 20px; height: 20px; }
.revs__arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.revs__arrow:disabled { opacity: .35; pointer-events: none; }

/* tor: pełna szerokość ekranu, pierwsza karta równo z .wrap */
.revs__rail {
  --edge: max(var(--pad), calc((100% - var(--maxw)) / 2));
  margin-top: 1rem; padding: 44px 0 1.25rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none;
}
.revs__rail::-webkit-scrollbar { display: none; }
.revs__rail:focus-visible { outline-offset: -3px; }
.revs__rail.is-drag { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.revs__track { display: flex; gap: 1.25rem; width: max-content; list-style: none; margin: 0; padding: 0 var(--edge); }
.rev { flex: none; display: flex; width: min(82vw, 360px); scroll-snap-align: start; }
.rev[hidden] { display: none; }

.rev__card {
  position: relative; margin: 0; width: 100%; display: flex; flex-direction: column;
  padding: 1.5rem 1.5rem 1.25rem; border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line-soft);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.rev:hover .rev__card { border-color: var(--line); box-shadow: var(--shadow-sm); }

/* adresówka: kółko + medalion z ikoną, oś obrotu w środku kółka */
.rev__tag {
  position: absolute; top: -28px; right: 1.4rem; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .9) 0 8%, transparent 42%), var(--blush);
  border: 1.5px solid color-mix(in srgb, var(--accent-deep) 22%, transparent); color: var(--accent-deep);
  box-shadow: 0 8px 16px -10px rgba(80, 40, 46, .55);
  transform-origin: 50% -9px;
}
.rev__tag::before {   /* kółko, na którym wisi */
  content: ""; position: absolute; left: 50%; top: -15px; width: 14px; height: 14px; margin-left: -7px;
  border-radius: 50%; border: 2px solid var(--ink-faint);
}
.rev__tag::after {    /* dziurka w medalionie */
  content: ""; position: absolute; left: 50%; top: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 1px 1px rgba(38, 33, 31, .25);
}
.rev__tag .ico { width: 30px; height: 27px; margin-top: 5px; }
/* klasy przełącza main.js: .swing przy pierwszym wejściu toru w kadr, .swing--hover po najechaniu */
.rev__tag.swing { animation: tag-swing 1.6s var(--ease) var(--sd, 0s) both; }
.rev__tag.swing--hover { animation: tag-swing-hover 1.1s var(--ease); }
@keyframes tag-swing { 0% { rotate: -16deg; } 30% { rotate: 10deg; } 55% { rotate: -5deg; } 78% { rotate: 2deg; } 100% { rotate: 0deg; } }
@keyframes tag-swing-hover { 0% { rotate: 0deg; } 25% { rotate: 9deg; } 55% { rotate: -5deg; } 80% { rotate: 2deg; } 100% { rotate: 0deg; } }

.rev__pet { margin: 0; padding-right: 4.2rem; min-height: 2.6rem; display: flex; flex-direction: column; }
.rev__pet b { font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; }
.rev__pet small { font-size: .84rem; color: var(--ink-soft); margin-top: .15rem; }
.rev__txt { margin: 1rem 0 1.4rem; flex: 1; }
.rev__txt p { margin: 0; font-size: .99rem; line-height: 1.62; }
.rev__txt p::before { content: "„"; }
.rev__txt p::after { content: "”"; }
.rev__by { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid var(--line-soft); }
.rev__name { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.rev__name small { display: block; font-weight: 500; font-size: .8rem; color: var(--ink-faint); margin-top: 2px; }

/* generowane awatary: gradient × wzór × krój litery (wariant z hasha imienia) */
.rev__ava {
  width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden;
  color: #fff; line-height: 1; font-size: 1.05rem; text-shadow: 0 1px 2px rgba(0, 0, 0, .22); border: 2px solid rgba(255, 255, 255, .75);
  background-color: var(--a);
  background-image: var(--pat, none), linear-gradient(var(--ang, 135deg), var(--a), var(--b));
  background-size: var(--pat-size, auto), 100% 100%;
}
.rev__ava > span { display: block; }
.rev__ava--g1 { --a: #d38b95; --b: #9c4a57; }                   /* róż z szyldu */
.rev__ava--g2 { --a: #b25a6c; --b: #5e2533; --ang: 160deg; }    /* wino */
.rev__ava--g3 { --a: #c99aa2; --b: #7b4a55; --ang: 120deg; }    /* pudrowy róż */
.rev__ava--g4 { --a: #d28a6c; --b: #8a4630; }                   /* terakota */
.rev__ava--g5 { --a: #d1a35a; --b: #86602a; --ang: 150deg; }    /* ochra */
.rev__ava--g6 { --a: #97ab8d; --b: #4f6448; }                   /* szałwia */
.rev__ava--g7 { --a: #82a5a2; --b: #3c5f5c; --ang: 110deg; }    /* morska zieleń */
.rev__ava--g8 { --a: #a083a4; --b: #553b5a; }                   /* śliwka */
.rev__ava--g9 { --a: #b3957f; --b: #6a4f3e; --ang: 165deg; }    /* mokka */
.rev__ava--g10 { --a: #85818a; --b: #3d3a3f; }                  /* grafit */
.rev__ava--p1 { --pat: radial-gradient(rgba(255, 255, 255, .26) 1.2px, transparent 1.6px); --pat-size: 7px 7px; }
.rev__ava--p2 { --pat: repeating-linear-gradient(45deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 7px); }
.rev__ava--p3 { --pat: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px); --pat-size: 8px 8px; }
.rev__ava--p4 { --pat: repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .17) 0 2px, transparent 2px 6px); }
.rev__ava--p5 { --pat: repeating-conic-gradient(rgba(255, 255, 255, .15) 0 12deg, transparent 12deg 30deg); }
.rev__ava--p6 { --pat: conic-gradient(rgba(255, 255, 255, .14) 25%, transparent 0 50%, rgba(255, 255, 255, .14) 0 75%, transparent 0); --pat-size: 11px 11px; }
.rev__ava--f1 { font-family: var(--display); font-weight: 700; }
.rev__ava--f2 { font-family: var(--body); font-weight: 600; }
.rev__ava--f3 { font-family: var(--display); font-weight: 300; font-size: 1.15rem; }

@media (max-width: 620px) {
  .revs__bar { flex-direction: column; align-items: stretch; }
  .revs__nav { justify-content: space-between; }
  .revs__arrow { display: none; }
  .revs__filter { gap: .3rem; }
  .revs__filter button { padding-inline: .8em; font-size: .9rem; gap: .4em; }
}

.article { max-width: 720px; }
.article p, .article li { font-size: 1.08rem; }
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--r-md); width: 100%; }
.article figcaption { font-size: .88rem; color: var(--ink-soft); margin-top: .5rem; }
.article h2 { font-size: 1.6rem; margin: 2rem 0 .8rem; }
.article ul { padding-left: 1.2rem; }
.article-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }

/* ---------------- proces wizyty (oś) ---------------- */
.steps { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 1.5rem; position: relative; padding-bottom: 2.6rem; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 43px; top: 60px; bottom: 6px; width: 1.5px; background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px); }
.step:last-child::before { display: none; }
.step__ico { width: 88px; height: 88px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--line); display: grid; place-items: center; position: relative; }
.step__ico svg { width: 40px; height: 40px; }
.step__ico::after { counter-increment: s; content: counter(s); position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--ivory); font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 1.35rem; margin: .6rem 0 .5rem; }
.step p { color: var(--ink-soft); }
.step p:last-child { margin-bottom: 0; }
.step__ico { transition: border-color var(--t-base), box-shadow var(--t-base); }
.step.is-on .step__ico { border-color: var(--ink); box-shadow: var(--shadow-sm); }

/* zdjęcie etapu przyklejone obok osi — JS przełącza .on, gdy etap mija środek ekranu; bez JS stoi pierwsze */
.steps-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(260px, 30vw, 400px); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; margin-top: 3rem; }
.steps-grid .steps { margin-top: 0; }
.steps-foto { position: sticky; top: calc(var(--nav-h) + 2rem); margin: 0; }
.steps-foto__ramka { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--marble); box-shadow: var(--shadow-md); }
.steps-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.steps-foto img.on { opacity: 1; transform: none; }
.steps-foto figcaption { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; font-weight: 600; font-size: .95rem; }
.steps-foto figcaption b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--ivory); font-size: .78rem; display: grid; place-items: center; flex: none; }
@media (max-width: 860px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-foto { display: none; }
}
@media (max-width: 560px) {
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
  .step__ico { width: 60px; height: 60px; }
  .step__ico svg { width: 30px; height: 30px; }
  .step::before { left: 29px; top: 66px; }
}

.card { background: var(--ivory); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line-soft); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; padding: 0; list-style: none; }
.chips li { padding: .35em .85em; border-radius: 999px; background: var(--blush); font-size: .9rem; font-weight: 500; }
.price-tag { display: inline-flex; flex-direction: column; padding: 1rem 1.3rem; border-radius: var(--r-md); background: var(--blush); }
.price-tag strong { font-family: var(--display); font-size: 1.6rem; }

/* ---------------- kontakt ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.1rem; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: center; }
.contact-list i { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); display: grid; place-items: center; }
.contact-list svg { width: 20px; height: 20px; color: var(--accent-deep); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { display: block; font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.map { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--sand); border: 1px solid var(--line-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem;
  background: radial-gradient(circle at 30% 30%, rgba(207, 127, 138, .14), transparent 60%), repeating-linear-gradient(45deg, rgba(38, 33, 31, .04) 0 2px, transparent 2px 22px), var(--sand); }
.map__ph svg { width: 44px; height: 44px; color: var(--accent-deep); margin: 0 auto .8rem; }
.map__ph p { margin: .3rem 0 1rem; color: var(--ink-soft); }
.map iframe:not([hidden]) + .map__ph { display: none; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 500; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--accent-deep); }
.hours tr.today th::after { content: " · dziś"; font-weight: 500; color: var(--ink-soft); font-size: .85em; }

/* ---------------- stopka: claim + CTA, trzy bloki danych, godziny jako krótka lista ---------------- */
.foot { background: var(--ink); color: var(--ivory); position: relative; overflow: hidden; padding: clamp(4.5rem, 9vw, 7rem) 0 2rem; }
.foot :where(a:not(.btn)) { color: inherit; text-decoration: none; }
.foot__deco { position: absolute; right: clamp(-90px, -4vw, -30px); bottom: clamp(-70px, -3vw, -20px); width: clamp(220px, 30vw, 400px); height: auto; opacity: .05; transform: rotate(-14deg); pointer-events: none; }
.foot .wrap { position: relative; }
.foot__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem clamp(2rem, 6vw, 5rem); }
.foot__claim { font-family: var(--display); font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.03em; margin: 0; max-width: 14ch; text-wrap: balance; }
.foot__claim em { font-style: normal; color: var(--accent-lite); }
.foot__lead { color: rgba(255, 252, 250, .62); margin: 1.1rem 0 0; max-width: 44ch; }
.foot__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.foot__actions .btn--ghost { --fg: var(--ivory); border-color: rgba(255, 252, 250, .25); }
.foot__actions .btn--ghost:hover { --bg: rgba(255, 252, 250, .08); border-color: var(--ivory); }

.foot__info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid rgba(255, 252, 250, .12); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.foot__col h3 { font-family: var(--body); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 252, 250, .5); margin-bottom: .55rem; }
.foot__col address { font-style: normal; line-height: 1.55; }
.foot__col > a:not(.foot__more):hover, .foot__social a:hover { color: var(--accent-lite); }
.foot__more { margin-top: .5rem; font-size: .92rem; font-weight: 600; color: rgba(255, 252, 250, .75); display: inline-flex; gap: .4em; }
.foot__more::after { content: "→"; transition: transform var(--t-fast) var(--ease); }
.foot__more:hover { color: var(--ivory); }
.foot__more:hover::after { transform: translateX(4px); }
.foot__hours { margin: 0; display: grid; gap: .3rem; width: 100%; max-width: 250px; font-variant-numeric: tabular-nums; }
.foot__hours div { display: flex; justify-content: space-between; gap: 1rem; }
.foot__hours dt { color: rgba(255, 252, 250, .62); }
.foot__hours dd { margin: 0; }
.foot__hours div:last-child dd { color: rgba(255, 252, 250, .45); }
.foot .status { margin-top: .8rem; color: var(--ivory); font-size: .85rem; }
.foot .status small { color: rgba(255, 252, 250, .6); }
.foot__social { display: flex; gap: 1.2rem; margin: .5rem 0 0; font-size: .92rem; font-weight: 600; color: rgba(255, 252, 250, .75); }

.foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid rgba(255, 252, 250, .12); font-size: .85rem; color: rgba(255, 252, 250, .5); }
.foot__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot__nav a { color: rgba(255, 252, 250, .72); }
.foot__nav a:hover, .foot__bottom a:hover { color: var(--ivory); }
.foot__bottom > span a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 252, 250, .3); }
@media (max-width: 860px) {
  .foot__info { grid-template-columns: 1fr 1fr; }
  .foot__info .foot__col:nth-child(2) { order: -1; grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .foot__info { grid-template-columns: 1fr; }
  .foot__actions { width: 100%; }
  .foot__actions .btn { flex: 1 1 auto; }
}

/* ---------------- tekstury sekcji ----------------
   Zdjęcie materiału (Pexels) pod półprzezroczystym welonem w kolorze sekcji: dzianina jak szalik, ręcznik po kąpieli,
   warkocz swetra. Szew .comb w sekcji NASTĘPNEJ dostaje średni kolor tekstury pod welonem (w komentarzu). */
.tex { --veil: color-mix(in srgb, var(--cream) 62%, transparent); background: linear-gradient(var(--veil), var(--veil)), var(--tex) center / cover, var(--cream); }
.tex--dzianina { --tex: url("../images/tex-dzianina.webp"); isolation: isolate; }   /* średnio z maską #ebdcdb */
/* lekka biała maska z blurem nad dzianiną — nagłówek i lead czytają się czyściej */
.tex--dzianina::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(255, 255, 255, .38); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.tex--warkocz { --tex: url("../images/tex-warkocz.webp"); --veil: color-mix(in srgb, var(--cream) 58%, transparent); }   /* #efe4df */
.tex--recznik { --tex: url("../images/tex-recznik.webp"); --veil: color-mix(in srgb, var(--blush) 70%, transparent); background-color: var(--blush); }

/* ---------------- pasmo zdjęciowe między sekcjami ----------------
   Pełna szerokość, parallaksa w pętli rAF (main.js), grzebień u góry i odwrócony u dołu — zdjęcie „wpięte” w szwy. */
.pasmo { position: relative; overflow: hidden; isolation: isolate; height: clamp(380px, 42vw, 600px); background: #d9d3cb; }
.pasmo__img { position: absolute; inset: -12% 0; z-index: -2; }
.pasmo__img img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; will-change: transform; }
.pasmo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, transparent 38%, color-mix(in srgb, var(--cream) 78%, transparent) 76%); }
.pasmo .wrap { height: 100%; display: flex; align-items: center; justify-content: flex-end; }
.pasmo__txt { max-width: 27rem; }
.pasmo__txt .lead { margin: 1rem 0 1.4rem; color: var(--ink); }
.comb--dol { top: auto; bottom: -1px; transform: scaleY(-1); }
@media (max-width: 720px) {
  .pasmo { height: auto; min-height: 540px; display: flex; align-items: flex-end; }
  .pasmo .wrap { height: auto; padding-block: 3rem 3.5rem; }
  .pasmo::after { background: linear-gradient(transparent 30%, color-mix(in srgb, var(--cream) 90%, transparent) 62%); }
  .pasmo__img img { object-position: 32% 15%; }
}

.e404 { width: clamp(180px, 24vw, 250px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%; margin: 0 auto 1.6rem; box-shadow: var(--shadow-md); transform: rotate(-4deg); }

/* ---------------- toast (skopiowano numer itp.) ---------------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 140%); background: var(--ink); color: var(--ivory); padding: .8rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-md); transition: transform .4s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* ---------------- odsłanianie (kontrakt .reveal) ---------------- */
.js .reveal { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__frame img, .pasmo__img img { transform: none !important; }
}

/* ---------------- polityka / tekst prawny ---------------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; }
.legal th, .legal td { text-align: left; padding: .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal code { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  /* tabela przewija się sama w bok, zamiast rozpychać całą stronę na telefonie */
  .legal table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; font-size: .9rem; }
  .legal th, .legal td { min-width: 150px; }
}
.todo { background: #fff3c4; padding: 0 .3em; border-radius: 4px; }
