/* klinika · arkusz stylów */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f1ec;
  --surface: #fbfaf7;
  --sand: #ebe5dc;
  --ink: #1c1b19;
  --ink-2: #48443e;
  --muted: #847c72;
  --line: #ddd6cc;
  --line-soft: #e8e2d9;
  --dark: #1f1d1a;
  --on-dark: #efe9e1;
  --on-dark-muted: #a39b90;
  --on-dark-line: #3d3934;
  --accent: #9a7660;
  --error: #a94a3a;

  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 168px);
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
::selection { background: #d9c7b8; color: var(--ink); }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius);
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip:focus { transform: none; }

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

/* ---------- Typografia ---------- */

.display {
  font-size: clamp(2.9rem, 7.4vw, 6.6rem);
  line-height: .97;
  letter-spacing: -.048em;
  font-weight: 330;
}
.h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  font-weight: 350;
}
.h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 420;
}
.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.38rem);
  line-height: 1.5;
  letter-spacing: -.012em;
  color: var(--ink-2);
  font-weight: 380;
}
.statement {
  font-size: clamp(1.65rem, 3.3vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 350;
}
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Przyciski i linki ---------- */

.btn {
  --b-bg: var(--ink);
  --b-fg: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--b-bg);
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--b-fg);
  font-size: .98rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { --b-bg: #3a3631; }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --b-bg: var(--ink); --b-fg: var(--surface); border-color: var(--ink); }
.btn--light { --b-bg: var(--on-dark); --b-fg: var(--dark); }
.btn--light:hover { --b-bg: #fff; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .92rem; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }

.arr { display: inline-block; flex: none; width: 14px; height: 14px; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: right bottom; }

/* ---------- Pasek demo ---------- */

.demo-bar {
  padding: 9px 0;
  background: var(--dark);
  color: var(--on-dark-muted);
  font-size: .82rem;
  line-height: 1.4;
  text-align: center;
}
.demo-bar a { margin-left: 6px; color: var(--on-dark); border-bottom: 1px solid var(--on-dark-line); }
.demo-bar a:hover { border-color: var(--on-dark); }

/* ---------- Nagłówek ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.header.is-stuck {
  background: rgba(244, 241, 236, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  font-size: 1.6rem;
  font-weight: 480;
  letter-spacing: -.055em;
  line-height: 1;
}
.logo i {
  display: inline-block;
  width: .2em; height: .2em;
  margin-left: .06em;
  border-radius: 50%;
  background: var(--accent);
}

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a { position: relative; font-size: .96rem; color: var(--ink-2); transition: color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8px;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
}

.header__cta { display: flex; align-items: center; gap: 22px; }
.header__tel { font-size: .96rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.header__tel:hover { color: var(--ink); }

.burger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.menu-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px var(--gutter) 40px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.menu-open { overflow: hidden; }
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .header { background: var(--bg); border-bottom-color: var(--line-soft); }
.menu-open .demo-bar { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 2rem;
  letter-spacing: -.03em;
  font-weight: 380;
}
.mobile-menu__foot { display: grid; gap: 18px; }
.mobile-menu__foot p { color: var(--muted); font-size: .95rem; }

@media (max-width: 960px) {
  .nav, .header__tel { display: none; }
  .burger { display: block; }
}
@media (max-width: 480px) {
  .header__cta .btn { display: none; }
}

/* ---------- Zdjęcia ---------- */

.ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 28% 18%, #efe8de 0%, #ddd1c3 48%, #c9baa8 100%);
}
.ph--b { background: radial-gradient(110% 90% at 70% 25%, #e9e4dc 0%, #d3cabe 52%, #b9ad9f 100%); }
.ph--c { background: radial-gradient(120% 100% at 35% 30%, #ecdfd3 0%, #d4bfae 50%, #b89c88 100%); }
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9);
}
.ph--r45 { aspect-ratio: 4 / 5; }
.ph--r43 { aspect-ratio: 4 / 3; }

/* ---------- Sekcje ---------- */

.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--sand { background: var(--sand); }
.section--surface { background: var(--surface); }
.on-dark { background: var(--dark); color: var(--on-dark); }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-muted); }

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(44px, 5.5vw, 80px);
}

.cta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.cta-line p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.015em; }

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 6vw, 80px) 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: end;
}
.hero__text { padding-bottom: clamp(8px, 3vw, 44px); }
.hero__text .display { margin-bottom: clamp(28px, 3.4vw, 44px); }
.hero__text .lead { max-width: 500px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero__media.ph { border-radius: 999px 999px var(--radius) var(--radius); }
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; width: 100%; justify-self: end; }
}
@media (max-width: 560px) {
  .hero__media { max-width: none; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.fact { padding: 28px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact h3 { margin-bottom: 6px; font-size: 1.08rem; font-weight: 540; letter-spacing: -.01em; }
.fact p { font-size: .96rem; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 20px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
}

/* ---------- Wstęp ---------- */

.intro {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.intro__text .statement { margin-bottom: 32px; }
.intro__p { max-width: 560px; margin-bottom: 36px; color: var(--ink-2); font-size: 1.06rem; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro__media { order: 2; }
  .intro__media.ph { aspect-ratio: 4 / 3; }
}

/* ---------- Lista zabiegów ---------- */

.cats { border-top: 1px solid var(--line); }
.cat {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 40px;
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
}
.cat__t {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 350;
  transition: transform .5s var(--ease);
}
.cat__d { max-width: 420px; color: var(--ink-2); font-size: 1rem; }
.cat__go {
  justify-self: end;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
}
.cat:hover .cat__t { transform: translateX(10px); }
.cat:hover .cat__go { background: var(--ink); border-color: var(--ink); color: var(--surface); }
@media (max-width: 760px) {
  .cat { grid-template-columns: 1fr 40px; gap: 8px 16px; }
  .cat__d { grid-column: 1; grid-row: 2; }
  .cat__go { grid-column: 2; grid-row: 1 / 3; }
}

.cats__preview {
  position: fixed;
  top: 0; left: 0;
  z-index: 40;
  width: 260px;
  aspect-ratio: 4 / 5;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.92);
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.cats__preview.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.cats__preview .ph { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.cats__preview .ph.is-on { opacity: 1; }
@media (hover: none), (max-width: 860px) { .cats__preview { display: none; } }

/* ---------- Pierwsza wizyta ---------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { padding: 32px 40px 0 0; border-top: 1px solid var(--on-dark-line); }
.step + .step { padding-left: 40px; }
.step h3 { margin-bottom: 14px; font-size: 1.45rem; font-weight: 420; letter-spacing: -.02em; }
.step p { max-width: 360px; color: var(--on-dark-muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .step, .step + .step { padding: 28px 0 0; }
}

/* ---------- Cytat ---------- */

.quote {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.quote blockquote { margin: 0; }
.quote .statement { margin-bottom: 36px; text-indent: -.42em; }
.quote cite { display: flex; align-items: center; gap: 14px; font-style: normal; }
.quote cite .ph { display: block; flex: none; width: 52px; height: 52px; border-radius: 50%; }
.quote cite b { display: block; font-weight: 560; }
.quote cite small { display: block; font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) {
  .quote { grid-template-columns: 1fr; }
  .quote .statement { text-indent: 0; }
  .quote > .ph { max-width: 420px; }
}

/* ---------- Zespół ---------- */

.team--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.person .ph { margin-bottom: 18px; }
.person .ph img { transition: transform 1.2s var(--ease); }
.person:hover .ph img { transform: scale(1.03); }
.person h3 { font-size: 1.15rem; font-weight: 520; letter-spacing: -.015em; }
.person p { margin-top: 2px; font-size: .95rem; color: var(--muted); }
@media (max-width: 760px) {
  .team--3 {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 74%;
    gap: 14px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 4px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .team--3::-webkit-scrollbar { display: none; }
  .team--3 .person { scroll-snap-align: start; }
}

/* ---------- Pytania ---------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 36px clamp(40px, 7vw, 120px);
}
.faq-grid__head .h2 { margin-bottom: 24px; }
.faq-grid__head p { max-width: 320px; color: var(--ink-2); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 24px 56px 24px 0;
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
  letter-spacing: -.015em;
  font-weight: 440;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 14px; height: 1.5px;
  background: var(--ink);
  transition: transform .4s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq__a { max-width: 640px; padding: 0 56px 26px 0; color: var(--ink-2); }

/* ---------- Kontakt na dole strony ---------- */

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}
.cta .display { margin-bottom: 20px; font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.cta .lead { margin-bottom: 36px; }
.cta__info { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cta__info h3 {
  margin-bottom: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
}
.cta__info p { font-size: 1.04rem; }
.cta__info .cta__tel {
  grid-column: 1 / -1;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--on-dark-line);
  font-size: clamp(2rem, 3.6vw, 3rem);
  letter-spacing: -.03em;
  font-weight: 340;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */

.footer {
  padding: clamp(64px, 8vw, 104px) 0 32px;
  background: var(--dark);
  color: var(--on-dark-muted);
  font-size: .94rem;
  border-top: 1px solid var(--on-dark-line);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: clamp(56px, 7vw, 88px);
}
.footer .logo { color: var(--on-dark); font-size: 2.4rem; }
.footer h4 { margin-bottom: 14px; color: var(--on-dark); font-size: .94rem; font-weight: 520; }
.footer li + li { margin-top: 8px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--on-dark); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 28px;
  border-top: 1px solid var(--on-dark-line);
  font-size: .85rem;
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .footer { padding-bottom: 96px; }
}

/* ---------- Nagłówek podstrony ---------- */

.page-head { padding: clamp(48px, 8vw, 112px) 0 clamp(48px, 6vw, 88px); }
.page-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px clamp(40px, 6vw, 96px);
  align-items: end;
}
.page-head .lead { max-width: 500px; }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } }

/* ---------- Zabiegi ---------- */

.tx-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.tx-nav { position: sticky; top: calc(var(--header-h) + 32px); }
.tx-nav a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .96rem;
  color: var(--ink-2);
  transition: color .2s, padding .3s var(--ease);
}
.tx-nav a:hover, .tx-nav a.is-active { color: var(--ink); padding-left: 6px; }
.tx-nav a.is-active { font-weight: 520; }
@media (max-width: 960px) {
  .tx-layout { grid-template-columns: 1fr; }
  .tx-nav {
    top: var(--header-h);
    z-index: 5;
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 12px var(--gutter);
    overflow-x: auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    scrollbar-width: none;
  }
  .tx-nav::-webkit-scrollbar { display: none; }
  .tx-nav a {
    flex: none;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .9rem;
  }
  .tx-nav a:hover, .tx-nav a.is-active { padding-left: 14px; }
  .tx-nav a.is-active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
}

.tx-group + .tx-group { margin-top: clamp(80px, 10vw, 140px); }
.tx-group__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 32px 48px;
  align-items: end;
  margin-bottom: 40px;
}
.tx-group__head p { max-width: 540px; margin-top: 22px; color: var(--ink-2); font-size: 1.06rem; }
@media (max-width: 700px) {
  .tx-group__head { grid-template-columns: 1fr; }
  .tx-group__head .ph { aspect-ratio: 16 / 10; }
}

.tx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 48px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.tx h3 { margin-bottom: 12px; }
.tx__body p { color: var(--ink-2); }
.tx__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
  align-content: start;
  margin: 0;
}
.tx__meta div { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.tx__meta dt { font-size: .82rem; color: var(--muted); }
.tx__meta dd { margin: 2px 0 0; font-size: .96rem; }
.tx__meta .tx__price { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; border-bottom: 0; }
.tx__price dd { font-size: 1.15rem; font-weight: 520; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .tx { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .tx__meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- Cennik ---------- */

.prices { display: grid; gap: clamp(56px, 7vw, 88px); }
.price-group {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 20px clamp(40px, 6vw, 96px);
}
.price-list { border-top: 1px solid var(--ink); }
.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 24px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.price-row__name small { display: block; margin-top: 2px; font-size: .88rem; color: var(--muted); }
.price-row__val { font-weight: 520; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .price-group { grid-template-columns: 1fr; } }

/* ---------- O nas ---------- */

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.gallery .ph:nth-child(1) { grid-column: 1 / 8; aspect-ratio: 4 / 3; }
.gallery .ph:nth-child(2) { grid-column: 8 / 13; }
.gallery .ph:nth-child(3) { grid-column: 1 / 5; aspect-ratio: 4 / 5; }
.gallery .ph:nth-child(4) { grid-column: 5 / 13; }
@media (max-width: 700px) {
  .gallery .ph:nth-child(n) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.value { padding: 32px 32px 0 0; }
.value + .value { padding-left: 32px; border-left: 1px solid var(--line); }
.value h3 { margin-bottom: 12px; font-size: 1.35rem; font-weight: 440; letter-spacing: -.02em; }
.value p { color: var(--ink-2); }
@media (max-width: 860px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding: 28px 0; border-left: 0; }
  .value + .value { border-top: 1px solid var(--line); }
}

.bio {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 28px clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(36px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.bio .ph { max-width: 340px; }
.bio__role { margin: 10px 0 24px; color: var(--muted); }
.bio__text { max-width: 580px; color: var(--ink-2); font-size: 1.06rem; }
@media (max-width: 760px) {
  .bio { grid-template-columns: 1fr; align-items: start; }
  .bio .ph { max-width: 260px; }
}

/* ---------- Kontakt i rezerwacja ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

.booking {
  padding: clamp(24px, 3.2vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.booking__trail { margin-bottom: 28px; }
.trail__count { margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.trail__items { display: flex; flex-wrap: wrap; gap: 8px; }
.trail__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .2s;
}
.trail__item span { color: var(--muted); font-size: .8rem; }
.trail__item:hover { border-color: var(--ink); }

.bstep { display: none; }
.bstep.is-active { display: block; animation: bstep-in .5s var(--ease); }
@keyframes bstep-in { from { opacity: 0; transform: translateY(10px); } }
.bstep__t {
  display: block;
  margin-bottom: 24px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 370;
}
.bstep--done:focus { outline: none; }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__in {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  height: 100%;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.opt__in b { font-weight: 520; letter-spacing: -.01em; }
.opt__in small { font-size: .9rem; color: var(--muted); }
.opt:hover .opt__in { border-color: #c3b9ac; }
.opt input:checked + .opt__in { border-color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + .opt__in { outline: 2px solid var(--accent); outline-offset: 2px; }

.opt--person .opt__in { flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; min-height: 0; padding: 14px 16px; }
.opt__pic { display: block; flex: none; width: 52px; height: 52px; border-radius: 50%; }
.opt__pic img { object-position: 50% 20%; }
.opt__pic--any { border: 1px dashed #bdb3a6; background: none; }
.opt__pic--any::after { content: ""; display: block; width: 8px; height: 8px; margin: 21px auto; border-radius: 50%; background: var(--accent); }
.opt--person b, .opt--person small { display: block; }

@media (max-width: 600px) { .opts { grid-template-columns: 1fr; } .opt__in { min-height: 0; } }

.days-wrap { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 8px; align-items: center; margin-bottom: 20px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.days-nav {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.days-nav[data-dir="-1"] .arr { transform: rotate(180deg); }
.days-nav:disabled { opacity: .3; cursor: default; }
.day {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: .78rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.day b { font-size: 1.25rem; font-weight: 480; color: var(--ink); letter-spacing: -.02em; }
.day:hover:not(:disabled) { border-color: #c3b9ac; }
.day.is-sel { background: var(--ink); border-color: var(--ink); color: var(--on-dark-muted); }
.day.is-sel b { color: var(--surface); }
.day:disabled { opacity: .45; cursor: default; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; min-height: 48px; }
.slot {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: .96rem;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.slot:hover { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.slots p { grid-column: 1 / -1; }

@media (max-width: 520px) {
  .days-wrap { grid-template-columns: 1fr; }
  .days-nav { display: none; }
  .days { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 58px; overflow-x: auto; scrollbar-width: none; }
  .days::-webkit-scrollbar { display: none; }
}

.done__when { margin-bottom: 4px; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.done__who { margin-bottom: 24px; color: var(--ink-2); }
.bstep--done .muted { max-width: 460px; margin-bottom: 28px; font-size: .95rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; color: var(--ink-2); }
.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:not([type="checkbox"]):focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(154, 118, 96, .15);
}
.field.is-invalid input { border-color: var(--error); }
.field__err { display: none; font-size: .84rem; color: var(--error); }
.field.is-invalid .field__err { display: block; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-weight: 400 !important; line-height: 1.5; cursor: pointer; }
.check input {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  margin: 1px 0 0;
  border: 1px solid #bfb5a8;
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 10px; height: 6px; margin-top: -3px; border: solid var(--surface); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.field.is-invalid .check input { border-color: var(--error); }

.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 4px; }
.form__foot p { font-size: .88rem; color: var(--muted); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-size: .9rem; color: var(--muted); }
.info-list dd { margin: 0; overflow-wrap: anywhere; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 2px 20px; font-variant-numeric: tabular-nums; }

/* ---------- Komunikat i przycisk na telefonie ---------- */

.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  z-index: 80;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  background: var(--ink);
  color: var(--surface);
  border-radius: 10px;
  font-size: .94rem;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.book-bar { display: none; }
@media (max-width: 760px) {
  .book-bar {
    position: fixed;
    left: 16px; right: 16px; bottom: 16px;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--surface);
    font-weight: 500;
    box-shadow: 0 14px 36px -14px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
  }
  .book-bar.is-on { opacity: 1; visibility: visible; transform: none; }
  .menu-open .book-bar { opacity: 0; visibility: hidden; }
  .toast { bottom: 84px; }
}

/* ---------- Tekst prosty i 404 ---------- */

.prose { max-width: 680px; color: var(--ink-2); }
.prose .lead { margin-bottom: 8px; }
.prose h2 { margin: 44px 0 12px; color: var(--ink); font-size: 1.3rem; font-weight: 480; letter-spacing: -.02em; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

.nf { display: grid; align-content: center; min-height: calc(100vh - var(--header-h) - 40px); padding: 64px 0; }
.nf .display { margin-bottom: 24px; }
.nf .lead { max-width: 480px; margin-bottom: 40px; }

/* ---------- Animacje wejścia ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .ph[data-reveal] img { transform: scale(1.06); transition: transform 1.8s var(--ease); }
.js .ph[data-reveal].is-in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

.mt-s { margin-top: 24px; }
.mt-l { margin-top: clamp(56px, 7vw, 96px); }

.hero .display { font-size: clamp(2.8rem, 6.4vw, 5.8rem); }
