/* =========================================================
   PSYjaciółka Julka – psyjaciolkajulka.pl
   ========================================================= */

:root {
  --cream: #fbf6ee;
  --cream-2: #f4ecdf;
  --paper: #fffdf9;
  --ink: #1d2a24;
  --ink-soft: #4a5a52;
  --forest: #2f5d50;
  --forest-deep: #1f4238;
  --sage: #b9d1b1;
  --peach: #f6c3a6;
  --accent: #c2532d;          /* przyciski, tła z białym tekstem – kontrast 4.6:1 */
  --accent-hover: #a8442a;
  --accent-bright: #e2724c;   /* tylko dekoracje */
  --accent-deep: #ad4626;     /* tekst akcentowy na jasnym tle – 5.3:1 */
  --butter: #f4d98d;
  --line: rgba(29, 42, 36, .12);

  --radius: 22px;
  --radius-lg: 36px;
  --shadow: 0 1px 2px rgba(29,42,36,.06), 0 12px 32px -12px rgba(29,42,36,.22);
  --shadow-lg: 0 30px 60px -30px rgba(29,42,36,.45);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-pop: cubic-bezier(.3, 1.5, .5, 1);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
button, a, [role="button"], [role="tab"], [role="radio"], label { touch-action: manipulation; }
button, .btn, [role="tab"], [role="radio"], .chip, .sticker, .tip__tag, .card__badge, .fab { -webkit-user-select: none; user-select: none; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 750; }

:focus-visible { outline: 3px solid var(--accent-bright); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px;
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--forest); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.h2 {
  font-family: var(--font-display);
  font-variation-settings: "SOFT" 100;
  font-weight: 600;
  font-size: clamp(2.125rem, 5vw, 3.625rem);
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.h2 em, .h3 em { font-style: italic; font-weight: 500; color: var(--accent-deep); }
.h3 {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100;
  font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); margin: 72px 0 28px;
}

.section { padding: var(--section) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: 56px; }
.section__lead { font-size: 1.1875rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(.97); }
.btn--accent { --bg: var(--accent); --fg: #fff; }

.btn--ink { --bg: var(--ink); --fg: var(--cream); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }

.btn--ghost-light { --bg: transparent; --fg: var(--cream); border-color: rgba(251,246,238,.6); }

.btn--big { padding: 18px 30px; font-size: 1.0625rem; }
.btn--small { padding: 10px 18px; font-size: 0.9375rem; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(251, 246, 238, .94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-display); font-variation-settings: "SOFT" 100;
  font-size: 1.4375rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
}
.logo b { font-weight: 800; color: var(--forest); }
.logo em { font-style: italic; color: var(--accent-deep); }
.logo__paw { width: 30px; height: 30px; fill: var(--accent-bright); transition: transform 300ms var(--ease-pop); }
.logo--light b { color: var(--sage); }
.logo--light em { color: var(--peach); }

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  text-decoration: none; font-weight: 650; font-size: 0.9375rem; color: var(--ink-soft);
  position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out);
}
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }

.nav__burger {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--ink); cursor: pointer; position: relative;
}
.nav__burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; background: var(--cream); border-radius: 2px;
  top: 22px; transition: transform 240ms var(--ease-out);
}
.nav__burger span:first-child { transform: translateY(-3.5px); }
.nav__burger span:last-child { transform: translateY(3.5px); }
.nav__burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.nav__burger:active { transform: scale(.94); }
.nav__burger { transition: transform 160ms var(--ease-out); }

.mobile-menu {
  display: flex; flex-direction: column; gap: 4px;
  height: calc(100svh - 76px); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 24px; background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.mobile-menu {
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), display 240ms allow-discrete;
}
.mobile-menu[hidden] { display: none; opacity: 0; transform: translateY(-8px); transition-duration: 150ms; }
@starting-style { .mobile-menu { opacity: 0; transform: translateY(-8px); } }
.mobile-menu:not([hidden]) > * { animation: menuItemIn 260ms var(--ease-out) both; }
.mobile-menu > :nth-child(2) { animation-delay: 30ms; }
.mobile-menu > :nth-child(3) { animation-delay: 60ms; }
.mobile-menu > :nth-child(4) { animation-delay: 90ms; }
.mobile-menu > :nth-child(5) { animation-delay: 120ms; }
.mobile-menu > :nth-child(6) { animation-delay: 150ms; }
.mobile-menu > :nth-child(7) { animation-delay: 180ms; }
@keyframes menuItemIn { from { opacity: 0; transform: translateY(6px); } }
body.menu-open { overflow: hidden; }
.mobile-menu a:not(.btn) {
  text-decoration: none; font-family: var(--font-display); font-size: 1.625rem; padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 72px; overflow: hidden;
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(246,195,166,.55), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(185,209,177,.5), transparent 70%),
    var(--cream);
}
.hero__trail { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__trail svg {
  position: absolute; width: 22px; height: 22px; fill: var(--forest); opacity: .22;
  animation: pawFade 1.6s ease forwards;
}
@keyframes pawFade { 0% { opacity: 0; transform: scale(.4) rotate(var(--r)); } 15% { opacity: .28; transform: scale(1) rotate(var(--r)); } 100% { opacity: 0; transform: scale(1) rotate(var(--r)); } }

.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 600; font-size: clamp(2.625rem, 6.6vw, 5.375rem); letter-spacing: -.03em; line-height: 1.02;
  margin-bottom: 28px;
}
.hero__pair { display: flex; width: max-content; max-width: 100%; align-items: center; flex-wrap: nowrap; gap: 4px; margin-top: 12px; font-size: .84em; white-space: nowrap; }
.chip {
  display: inline-block; padding: .02em .36em .1em; border-radius: .4em;
  font-style: italic; font-weight: 500;
}
.chip--dog { background: var(--sage); color: var(--forest-deep); transform: rotate(-2deg); }
.chip--human { background: var(--peach); color: var(--accent-hover); transform: rotate(1.5deg); }
.hero__link { width: .8em; height: .3em; flex: none; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 7; }
.hero__lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); color: var(--ink-soft); max-width: 560px; margin-bottom: 34px; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__facts {
  list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, auto); gap: 20px clamp(18px, 2.4vw, 32px); justify-content: start;
}
.hero__facts b {
  display: block; font-family: var(--font-display); font-variation-settings: "SOFT" 100;
  font-size: clamp(1.5rem, 2.3vw, 1.875rem); font-weight: 700; color: var(--forest); line-height: 1.1; white-space: nowrap;
}
.hero__facts span { display: block; font-size: 0.875rem; line-height: 1.4; margin-top: 4px; color: var(--ink-soft); }

.hero__art { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; justify-self: end; width: 100%; }
.hero__blob {
  position: absolute; inset: 6% 2% 4% 6%;
  background: var(--forest);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  animation: blob 14s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}
.hero__blob::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .12;
  background-image: radial-gradient(var(--cream) 1.6px, transparent 1.8px);
  background-size: 22px 22px;
}
@keyframes blob {
  0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
  50% { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; }
}

/* the dog */
.dog { position: absolute; inset: 4% 4% 0; width: 92%; height: auto; overflow: visible; }
.dog__shadow { fill: rgba(0,0,0,.18); }
.dog__body, .dog__leg, .dog__skull, .dog__neck { fill: var(--butter); }
.dog__haunch { fill: #ecca70; }
.dog__leg--back { fill: #ecd07d; }
.dog__paw--back { fill: #f7e6bd; }
.dog__toes { fill: none; stroke: #e2c27a; stroke-width: 2.4; stroke-linecap: round; }
.dog__chest, .dog__muzzle { fill: var(--paper); }
.dog__ear, .dog__ear ellipse { fill: #c98a52; }
.dog__ear--back { fill: #b77840; }
.dog__spot { fill: #e9bb63; opacity: .9; }
.dog__nose { fill: var(--ink); }
.dog__eyes circle { fill: var(--ink); }
.dog__eyes .dog__shine { fill: #fff; }
.dog__pupils { transform-box: view-box; will-change: transform; }
.dog__paw { fill: #fff3d6; }
.dog__blush { fill: #f2a48c; opacity: .55; }
.hero__art { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero__art:active .dog { transform: scale(.98); }
.dog { transition: transform 160ms var(--ease-out); }
.hero__art.is-barking .dog { animation: jump 420ms var(--ease-out); }
@keyframes jump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px); } }
.bark {
  position: absolute; left: 6%; top: 26%; z-index: 3;
  background: var(--ink); color: var(--cream); font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 1.375rem; padding: 10px 18px; border-radius: 20px 20px 20px 4px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(6px) scale(.92); transform-origin: bottom left; transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-pop);
  pointer-events: none; white-space: nowrap;
}
.bark.is-on { opacity: 1; transform: none; }
.bark:not(.is-on) { transition-duration: 150ms; }
.dog__mouth { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.dog__tongue path { fill: #ef8f86; }
.dog__tongue .dog__tongue-line { fill: none; stroke: #d9706a; stroke-width: 2; stroke-linecap: round; }
.dog__nose-shine { fill: #fff; opacity: .35; }
.dog__collar { fill: var(--accent); }
.dog__tag { fill: var(--peach); stroke: var(--accent-deep); stroke-width: 3; }
.dog__tail path { fill: none; stroke: #c98a52; stroke-width: 20; stroke-linecap: round; }
.dog__tail { transform-origin: 282px 330px; transform-box: view-box; animation: wag .5s ease-in-out infinite alternate; }
@keyframes wag { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
.dog__eyes { transform-origin: 188px 139px; transform-box: view-box; animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.dog__head { transform-origin: 192px 220px; transform-box: view-box; transition: transform 450ms var(--ease-pop); }
.dog__ear--front { transform-origin: 140px 104px; transform-box: view-box; animation: ear 6s ease-in-out infinite; }
@keyframes ear { 0%, 80%, 100% { transform: rotate(0); } 86% { transform: rotate(8deg); } 92% { transform: rotate(-3deg); } }
.dog__tongue { transform-origin: 184px 193px; transform-box: view-box; animation: pant .9s ease-in-out infinite alternate; }
@keyframes pant { from { transform: scaleY(.85); } to { transform: scaleY(1.1); } }

.sticker {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; background: var(--paper);
  font-weight: 700; font-size: 0.875rem; box-shadow: var(--shadow); white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.sticker svg { width: 18px; height: 18px; color: var(--accent-bright); }
.sticker--a { top: 8%; left: -4%; transform: rotate(-4deg); }
.sticker--b { bottom: 18%; right: -6%; animation-delay: -2s; }
.sticker--c { bottom: 2%; left: 4%; animation-delay: -4s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--cream); overflow: hidden; padding: 20px 0;
  transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 3;
}
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.75rem); white-space: nowrap; }
.marquee i {
  width: 22px; height: 22px; flex: none; background: var(--accent-bright);
  -webkit-mask: url("assets/favicon.svg") center / contain no-repeat; mask: url("assets/favicon.svg") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Photo slots (z fallbackiem gdy brak zdjęcia) ---------- */
.photo { position: relative; overflow: hidden; background: var(--tone, var(--sage)); margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.photo.is-empty img { display: none; }
.photo.is-empty::before {
  content: ""; position: absolute; inset: 0;
  background:
    url("assets/paw-pattern.svg") center / 120px repeat,
    linear-gradient(160deg, rgba(255,255,255,.35), transparent 60%);
  opacity: .9;
}
.photo.is-empty::after {
  content: attr(data-fallback);
  position: absolute; inset: auto 18px 18px 18px;
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.625rem); line-height: 1.15; color: var(--ink);
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.photo--arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg); --tone: var(--peach);
}
.photo--arch.is-empty::after { content: none; }
.photo__badge { display: none; }
.photo.is-empty .photo__badge {
  display: block; position: absolute; left: 50%; top: 46%; width: 66%; translate: -50% -50%;
  overflow: visible;
}
.photo__badge text { font-family: var(--font-body); font-weight: 800; font-size: 15px; letter-spacing: .12em; fill: var(--ink); text-transform: uppercase; }
.photo__badge .ring { transform-origin: 100px 100px; transform-box: view-box; animation: spin 26s linear infinite; }
.photo__badge .core { fill: var(--forest); }
.photo__badge .paw { fill: var(--butter); }
@keyframes spin { to { transform: rotate(360deg); } }
.photo--arch figcaption {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: var(--paper); border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow);
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2;
}
.photo--arch figcaption span { display: block; font-family: var(--font-body); font-size: 0.8125rem; font-weight: 600; color: var(--ink-soft); }

.about__copy > p { font-size: 1.125rem; color: var(--ink-soft); }
.about__copy strong { color: var(--ink); }
.values { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.value {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease;
}
.value__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sage); color: var(--forest-deep); }
.value:nth-child(2) .value__icon { background: var(--butter); }
.value:nth-child(3) .value__icon { background: var(--peach); color: var(--accent-deep); }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { font-family: var(--font-display); font-size: 1.3125rem; margin-bottom: 4px; }
.value p { margin: 0; font-size: 0.9688rem; color: var(--ink-soft); }

/* ---------- Offer ---------- */
.offer { background: var(--cream-2); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  position: relative; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start;
  background: var(--paper); border-radius: var(--radius); padding: 28px 24px 24px;
  border: 1px solid var(--line);
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease;
}
.card h3 { letter-spacing: -.01em; font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-size: 1.4375rem; font-weight: 600; margin: 18px 0 10px; align-self: end; }
.card p { font-size: 0.9688rem; color: var(--ink-soft); }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--cream-2); color: var(--forest); }
.card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.card__price { display: flex; align-items: baseline; gap: 10px; align-self: end; margin: 8px 0 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.card__price b { font-family: var(--font-display); font-size: 2.125rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.card__price span { font-size: 0.875rem; color: var(--ink-soft); font-weight: 600; }
.card__btn { width: 100%; align-self: end; }
.card__badge {
  position: absolute; top: -13px; left: 22px; background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.card--featured { background: var(--forest); color: var(--cream); border-color: transparent; }
.card--featured p, .card--featured .card__price span { color: rgba(251,246,238,.78); }
.card--featured .card__price { border-color: rgba(251,246,238,.25); }
.card--featured .card__price b { color: var(--cream); }
.card--featured .card__icon { background: rgba(251,246,238,.12); color: var(--butter); }

.card--wide {
  grid-column: 1 / -1; grid-row: auto; grid-template-rows: none;
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 36px; align-items: stretch;
  background: linear-gradient(120deg, var(--paper), #fff6ea);
}
.card--wide__col { display: flex; flex-direction: column; }
.card--wide__col h3 { margin-top: 16px; align-self: auto; }
.card--wide__cta { display: flex; flex-direction: column; justify-content: flex-end; min-width: 220px; }
.card--wide__cta .card__price { border-top: 0; padding-top: 0; flex-direction: column; align-items: flex-start; gap: 0; }

/* matcher */
.matcher {
  margin-top: 56px; display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: 32px;
  background: var(--ink); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.matcher::before {
  content: ""; position: absolute; left: -50px; bottom: -60px; width: 220px; height: 220px; opacity: .07;
  background: url("assets/favicon.svg") center / contain no-repeat; transform: rotate(-20deg);
}
.matcher__intro h3 { font-family: var(--font-display); font-size: 1.875rem; margin-bottom: 10px; }
.matcher__intro p { color: rgba(251,246,238,.75); }
.matcher fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.matcher legend { font-weight: 800; font-size: 0.875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--butter); margin-bottom: 10px; }
.matcher label { display: block; margin-bottom: 8px; cursor: pointer; }
.matcher input { position: absolute; opacity: 0; pointer-events: none; }
.matcher label span {
  display: block; padding: 11px 16px; border-radius: 14px; font-size: 0.9375rem; font-weight: 600;
  border: 1.5px solid rgba(251,246,238,.22); transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.matcher label:active span { transform: scale(.98); }
.matcher label span { transition-property: background-color, border-color, color, transform; }
.matcher input:checked + span { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.matcher input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.matcher__result {
  background: rgba(251,246,238,.06); border: 1.5px dashed rgba(251,246,238,.25); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; justify-content: center; position: relative;
}
.matcher__placeholder { color: rgba(251,246,238,.7); margin: 0; text-align: center; display: grid; justify-items: center; gap: 14px; }
.matcher__placeholder svg { width: 46px; height: 46px; fill: rgba(251,246,238,.22); animation: hop 2.4s ease-in-out infinite; }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-12px) rotate(10deg); } }
.matcher__result.is-ready { background: var(--accent); color: #fff; border: 0; transition: background-color 200ms ease; }
.matcher__result.is-ready > * { animation: popIn 260ms var(--ease-out) both; }
.matcher__result.is-ready > *:nth-child(2) { animation-delay: 40ms; }
.matcher__result.is-ready > *:nth-child(3) { animation-delay: 80ms; }
.matcher__result.is-ready > *:nth-child(4) { animation-delay: 120ms; }
@keyframes popIn { from { opacity: 0; transform: translateY(6px); } }
.matcher__result small { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 0.75rem; opacity: .85; }
.matcher__result h4 { font-family: var(--font-display); font-size: 1.625rem; margin: 6px 0 8px; }
.matcher__result p { font-size: 0.9375rem; margin-bottom: 16px; }
.matcher__result .btn { --bg: var(--ink); --fg: var(--cream); align-self: flex-start; }
@keyframes pop { from { transform: scale(.94); opacity: .4; } to { transform: scale(1); opacity: 1; } }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 92px; right: -6px; top: 37px; height: 2px;
  background-image: linear-gradient(90deg, var(--forest) 50%, transparent 0); background-size: 14px 2px; opacity: .35;
}
.step { position: relative; padding: 0 6px; }
.step__num {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--forest); position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; color: var(--forest);
  margin-bottom: 22px; transition: background-color 250ms ease, color 250ms ease, transform 300ms var(--ease-pop);
}
.step h3 { font-family: var(--font-display); font-size: 1.4375rem; margin-bottom: 10px; }
.step p { font-size: 0.9688rem; color: var(--ink-soft); }

/* ---------- Knowledge ---------- */
.knowledge { background: var(--paper); }
.signals {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.signals__list { display: flex; flex-direction: column; background: var(--cream); padding: 14px; gap: 6px; }
.signals__list button {
  text-align: left; border: 0; background: transparent; padding: 15px 18px; border-radius: 14px;
  font-weight: 700; font-size: 1rem; cursor: pointer; color: var(--ink-soft);
  display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 12px;
  transition: background-color 150ms ease, color 150ms ease;
}
.signals__list button::after { content: "→"; opacity: 0; transform: translateX(-6px); transition: opacity 150ms ease, transform 200ms var(--ease-out); }
.signals__list button[aria-selected="true"] { background: var(--ink); color: var(--cream); }
.signals__list button[aria-selected="true"]::after { opacity: 1; transform: none; }
.signals__panel { background: var(--forest); color: var(--cream); padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.signals__panel::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 200px; height: 200px; opacity: .08;
  background: url("assets/favicon.svg") center / contain no-repeat;
}
.signals__index { font-weight: 800; font-size: 0.8125rem; letter-spacing: .14em; color: var(--sage); }
.signals__title { font-family: var(--font-display); font-size: clamp(1.875rem, 3.6vw, 2.75rem); margin: 12px 0 18px; }
.signals__what { font-size: 1.125rem; color: rgba(251,246,238,.88); }
.signals__do {
  background: rgba(251,246,238,.1); border-left: 4px solid var(--butter); border-radius: 0 14px 14px 0;
  padding: 16px 18px; font-size: 1rem; margin: 0;
}
.signals__do b { color: var(--butter); }
.signals__panel.is-changing > * { animation: slideIn 200ms var(--ease-out); }
.signals__panel.is-changing > :nth-child(3) { animation-delay: 30ms; animation-fill-mode: both; }
.signals__panel.is-changing > :nth-child(4) { animation-delay: 60ms; animation-fill-mode: both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(4px); } }

.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tip {
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; text-decoration: none; background: var(--cream);
  border-radius: var(--radius); padding: 26px; border: 1px solid var(--line);
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease, background-color 250ms ease;
}
.tip:active { transform: scale(.98); }
.tip__tag {
  justify-self: start; align-self: start; font-size: 0.75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--sage); color: var(--forest-deep); padding: 5px 10px; border-radius: 999px; margin-bottom: 16px;
}
.tip:nth-child(3n+2) .tip__tag { background: var(--peach); color: #8f381c; }
.tip:nth-child(3n) .tip__tag { background: var(--butter); color: #6b5310; }
.tip h4 { letter-spacing: -.01em; font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.2; margin-bottom: 10px; }
.tip p { font-size: 0.9375rem; color: var(--ink-soft); }
.tip__more { font-weight: 800; font-size: 0.875rem; color: var(--accent-deep); align-self: end; }
.tip h4 { align-self: end; }

/* ---------- Instagram ---------- */
.social { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 24px; align-items: stretch; }
.profile {
  background: var(--forest); color: var(--cream); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 40px);
  display: flex; flex-direction: column; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.profile::after {
  content: ""; position: absolute; right: -50px; bottom: -50px; width: 220px; height: 220px; opacity: .07;
  background: url("assets/favicon.svg") center / contain no-repeat; transform: rotate(-18deg);
}
.profile__top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.profile__avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--butter); box-shadow: 0 0 0 3px var(--forest), 0 0 0 6px var(--accent-bright);
}
.profile__avatar svg { width: 38px; height: 38px; fill: var(--forest); }
.profile__handle { margin: 0; font-weight: 800; font-size: 1.125rem; }
.profile__name { margin: 0; font-size: 0.9375rem; color: rgba(251,246,238,.75); }
.profile__bio { color: rgba(251,246,238,.88); margin-bottom: 22px; }
.profile__stats { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid rgba(251,246,238,.18); display: flex; gap: 32px; }
.profile__stats b { display: block; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; color: var(--butter); }
.profile__stats span { font-size: 0.875rem; color: rgba(251,246,238,.75); }
.profile__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; position: relative; z-index: 1; }
.profile__actions .btn--ink { --bg: var(--cream); --fg: var(--ink); }
.topics { display: grid; gap: 12px; align-content: start; }
.topics__label { margin: 0 0 2px; font-weight: 800; font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }
.topic {
  display: flex; gap: 16px; align-items: flex-start; text-decoration: none; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  transition: transform 160ms var(--ease-out), box-shadow 250ms ease, border-color 200ms ease;
}
.topic:active { transform: scale(.98); }
.topic__icon { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--sage); color: var(--forest-deep); }
.topic:nth-of-type(2) .topic__icon { background: var(--peach); color: var(--accent-hover); }
.topic:nth-of-type(3) .topic__icon { background: var(--butter); color: #6b5310; }
.topic__icon svg { width: 22px; height: 22px; fill: none; }
.topic__icon svg use[href="#i-paw"] { fill: currentColor; }
.topic:nth-of-type(2) .topic__icon svg { fill: currentColor; }
.topic b { display: block; font-family: var(--font-display); font-size: 1.1875rem; line-height: 1.25; margin-bottom: 4px; color: var(--ink); }
.topic span:last-child { font-size: 0.9375rem; color: var(--ink-soft); line-height: 1.5; }
.feed { margin-top: 24px; }
.feed[hidden] { display: none; }
.insta__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.insta__head .h2 { margin-bottom: 0; }
.insta__head .h2 em { word-break: break-word; }
.feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feed__item { aspect-ratio: 1; border-radius: var(--radius); display: block; }

.feed__item:not(.is-empty)::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 200ms ease;
  background: rgba(29,42,36,.38) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.3' cy='6.7' r='1' fill='white' stroke='none'/%3E%3C/svg%3E") center / 44px no-repeat;
}
.feed__item:not(.is-empty):focus-visible::after { opacity: 1; }

/* ---------- Booking ---------- */
.booking { background: var(--forest-deep); color: var(--cream); border-radius: var(--radius-lg); margin: 0 clamp(0px, 1.5vw, 20px); }
.section__head--light .eyebrow { color: var(--butter); }
.section__head--light .h2 em { color: var(--peach); }
.section__head--light .section__lead { color: rgba(251,246,238,.75); }
.booking__grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: stretch; }
.booking__side { display: grid; gap: 20px; position: sticky; top: 96px; align-self: start; align-content: start; }
.booking__services { display: grid; gap: 12px; }
.booking__label { margin: 0 0 4px; font-weight: 800; font-size: 0.8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); }
.svc {
  position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  text-decoration: none; background: rgba(251,246,238,.06); border: 1.5px solid rgba(251,246,238,.16);
  color: var(--cream); padding: 16px 18px; border-radius: 18px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out);
}
.svc:active { transform: scale(.98); }
.svc__body { display: block; }
.svc__name { display: block; font-weight: 700; line-height: 1.3; }
.svc__meta { display: block; font-size: 0.8125rem; font-weight: 600; opacity: .7; margin-top: 2px; }
.svc__price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.svc__arrow { width: 20px; height: 20px; color: var(--peach); transition: transform 200ms var(--ease-out); }

.booking__cta {
  display: flex; flex-direction: column; background: var(--paper); color: var(--ink);
  border-radius: var(--radius); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-lg);
}
.booking__cta h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 1.875rem); letter-spacing: -.01em; margin-bottom: 20px; }
.booking__steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.booking__steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); }
.booking__steps span {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage); color: var(--forest-deep); font-weight: 800; font-size: 0.875rem; margin-top: -2px;
}
.booking__go { align-self: stretch; white-space: normal; text-align: center; }
.booking__trust { margin: 14px 0 6px; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }
.booking__alt { margin: 0 0 24px; font-size: 0.875rem; color: var(--ink-soft); text-align: center; }
.booking__alt a { color: var(--accent-deep); font-weight: 700; }
.booking__prep { border-top: 1px dashed var(--line); padding-top: 20px; margin-top: auto; }
.booking__prep h4 { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 12px; }
.booking__prep ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.booking__prep li { display: flex; gap: 10px; font-size: 0.9375rem; line-height: 1.45; color: var(--ink-soft); }
.booking__prep li svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--forest); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: 110px; }
.faq__grid > div:first-child > p { color: var(--ink-soft); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative;
  font-family: var(--font-display); font-variation-settings: "SOFT" 100; font-weight: 600; font-size: 1.3125rem; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: var(--cream-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%231d2a24' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform 250ms var(--ease-out), background-color 200ms ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--peach); }
.faq__list details p { color: var(--ink-soft); padding-right: 40px; margin: -6px 0 24px; }
/* płynne rozwijanie odpowiedzi (przeglądarki, które to wspierają) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__list details::details-content {
    block-size: 0; overflow: hidden;
    transition: block-size 250ms var(--ease-out), content-visibility 250ms allow-discrete;
  }
  .faq__list details[open]::details-content { block-size: auto; }
}

/* ---------- Contact ---------- */
.contact { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.contact__card .h2 { color: #fff; }
.contact__card {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  background: var(--accent); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden;
  max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.contact__card::before {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background: url("assets/paw-pattern.svg") center / 140px repeat;
}
.contact__card > * { position: relative; }
.contact__card .h2 em { color: var(--ink); }
.contact__copy p { font-size: 1.1875rem; opacity: .92; }
.contact__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.contact__actions .btn--accent { --bg: var(--ink); --fg: var(--cream); }
.contact__actions .btn--ghost-light { border-color: rgba(255,255,255,.7); }
.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.socials a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: rgba(255,255,255,.14); border-radius: 18px; padding: 14px 18px;
  transition: background-color 180ms ease, transform 160ms var(--ease-out);
}
.socials a:active { transform: scale(.98); }
.socials svg { width: 26px; height: 26px; flex: none; }
.socials span { display: flex; flex-direction: column; font-size: 0.9062rem; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.socials b { font-size: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 56px 0 40px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.footer p { margin: 0; color: rgba(251,246,238,.75); }
.footer__small { letter-spacing: .02em; font-size: 0.875rem; opacity: .7; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 14px 0 10px; }
.footer__links a { color: var(--cream); text-decoration: none; font-weight: 650; font-size: 0.9375rem; opacity: .85; }


/* ---------- Podstrony: polityka prywatności, 404 ---------- */
.legal__back { margin-left: auto; }
.legal { max-width: 820px; padding-top: 140px; padding-bottom: var(--section); }
.legal .h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
.legal__lead { font-size: 1.1875rem; color: var(--ink-soft); margin-bottom: 40px; }
.legal h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 650; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.legal li::marker { color: var(--accent-bright); }
.legal a { color: var(--accent-deep); font-weight: 700; }
.legal b { color: var(--ink); }
.legal__updated { margin-top: 48px; font-size: 0.875rem; }

.page-404 { min-height: 100svh; display: grid; place-items: center; }
.lost { max-width: 640px; padding: 48px var(--gutter); text-align: center; display: grid; justify-items: center; }
.lost .eyebrow::before { display: none; }
.lost p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.125rem; margin-bottom: 28px; }
.lost__trail { width: min(320px, 80vw); fill: var(--accent-bright); opacity: .85; margin-bottom: 28px; }
.lost__trail use { animation: pawFade404 2.5s ease-in-out infinite; }
.lost__trail use:nth-child(2) { animation-delay: .25s; }
.lost__trail use:nth-child(3) { animation-delay: .5s; }
.lost__trail use:nth-child(4) { animation-delay: .75s; }
.lost__trail use:nth-child(5) { animation-delay: 1s; }
@keyframes pawFade404 { 0%, 100% { opacity: .15; } 40% { opacity: 1; } }

/* ---------- FAB (mobile) ---------- */
.fab {
  position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; display: none; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none; font-weight: 800;
  padding: 14px 20px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(200,90,53,.7);
  transition: transform 250ms var(--ease-out), opacity 200ms ease;
}
.fab svg { width: 20px; height: 20px; }
.fab:active { transform: scale(.96); }
.fab.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* ---------- Hover tylko dla myszy (na dotyku hover „przykleja się”) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(29,42,36,.55); }
  .btn:hover:active { transform: translateY(0) scale(.97); }
  .btn--accent:hover { --bg: var(--accent-hover); }
  .btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); }
  .btn--ghost-light:hover { --bg: var(--cream); --fg: var(--ink); }
  .logo:hover .logo__paw { transform: rotate(-18deg) scale(1.1); }
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::after { transform: scaleX(1); }
  .hero__art:hover .dog__head { transform: rotate(-9deg); }
  .value:hover { transform: translateX(6px); box-shadow: var(--shadow); }
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
  .matcher label:hover span { border-color: rgba(251,246,238,.6); }
  .step:hover .step__num { background: var(--forest); color: var(--cream); transform: rotate(-8deg); }
  .signals__list button:hover { background: var(--cream-2); color: var(--ink); }
  .signals__list button[aria-selected="true"]:hover { background: var(--ink); color: var(--cream); }
  .tip:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--shadow); background-color: #fff7ec; }
  .feed__item:hover img { transform: scale(1.06); }
  .feed__item:not(.is-empty):hover::after { opacity: 1; }
  .topic:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
  .svc:hover { border-color: rgba(251,246,238,.5); background-color: rgba(251,246,238,.1); }
  .svc:hover .svc__arrow { transform: translateX(4px); }
  .socials a:hover { background: rgba(255,255,255,.26); transform: translateX(4px); }
  .footer__links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-template-columns: 1fr 1fr; }
  .card--wide__cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .card--wide__cta .card__btn { width: auto; }
  .matcher { grid-template-columns: 1fr 1fr; }
  .matcher__intro { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::after { display: none; }
  .tips { grid-template-columns: repeat(2, 1fr); }
  .booking__grid { grid-template-columns: 1fr; }
  .booking__side { position: static; }
  .booking__services { grid-template-columns: repeat(2, 1fr); }
  .booking__label { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero { padding-top: 104px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { justify-self: center; max-width: 420px; order: -1; }
  .about__grid { grid-template-columns: 1fr; }
  .photo--arch { max-width: 420px; margin: 0 auto; width: 100%; }
  .signals { grid-template-columns: 1fr; }
  .signals__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; }
  .signals__list button { white-space: nowrap; flex: none; scroll-snap-align: start; }
  .signals__list button::after { display: none; }
  .faq__grid { grid-template-columns: 1fr; }
  .social { grid-template-columns: 1fr; }
  .faq__grid > div:first-child { position: static; }
  .contact__card { grid-template-columns: 1fr; }
  .fab { display: inline-flex; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .logo { font-size: 1.3125rem; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero__facts li:last-child { grid-column: 1 / -1; }
  .sticker { font-size: 0.7812rem; padding: 8px 12px; }
  .sticker--a { left: 0; }
  .sticker--b { right: 0; }
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-template-columns: 1fr; gap: 24px; }
  .card--wide__cta { flex-direction: column; align-items: stretch; }
  .card--wide__cta .card__btn { width: 100%; }
  .matcher { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tips { grid-template-columns: 1fr; }
  .feed { gap: 6px; }
  .feed__item { border-radius: 12px; }
  .feed__item.is-empty::after { font-size: 0.875rem; inset: auto 10px 10px 10px; }
  .booking { margin: 0; border-radius: 28px; }
  .booking__services { grid-template-columns: 1fr; }
  .faq__list summary { font-size: 1.1875rem; }
  .faq__list details p { padding-right: 0; }
  .marquee { margin: -6px -10px 0; }
}

@media (max-width: 370px) {
  .hero__pair { flex-wrap: wrap; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  /* mniej ruchu, nie zero: zostaje delikatne przenikanie bez przesunięć */
  .js .reveal { transform: none; transition: opacity 200ms ease !important; }
  .signals__panel.is-changing > *, .matcher__result.is-ready > *, .mobile-menu:not([hidden]) > * { animation: fadeOnly 200ms ease both !important; }
  .mobile-menu { transform: none !important; }
    @keyframes fadeOnly { from { opacity: 0; } }
}
