/* Stomatologia Kowalska */
@font-face {
  font-family: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(assets/fonts/host-grotesk-latin-ext.woff2) format("woff2");
  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: "Host Grotesk"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(assets/fonts/host-grotesk-latin.woff2) format("woff2");
  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 {
  --ink: #0E1A3A;          /* granat atramentowy */
  --ink-2: #1B2A52;
  --petrol: #4E7D84;       /* przydymiony teal */
  --petrol-deep: #3E6970;
  --paper: #FFFFFF;
  --mist: #F2F3F5;         /* panele */
  --frame: #E6E8EC;        /* tło za stroną */
  --line: #E3E5EA;
  --text: #0E1A3A;
  --muted: #5F6679;        /* 5.6:1 na bieli, 5.1:1 na mgle */
  --soft: #858C9E;         /* tylko duży tekst, 3.3:1 */
  --soft-text: #6E7589;    /* szare dopowiedzenie poniżej 24px, 4.6:1 */
  --radius-xl: 28px;
  --radius-lg: 20px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Host Grotesk", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--frame);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--soft) var(--frame); }

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

.page {
  --frame-gap: clamp(0px, 1.6vw, 24px);
  width: calc(100% - 2 * var(--frame-gap));
  max-width: 1440px;
  margin: var(--frame-gap) auto;
  background: var(--paper);
  border-radius: clamp(0px, 1.6vw, 24px);
  overflow: hidden;
  overflow: clip; /* clip, nie hidden: hidden zablokowałby sticky nagłówek */
  padding: 0 var(--gutter);
}

/* ---------- shared ---------- */
.label {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .02em;
  color: var(--muted);
  font-weight: 450;
}
.h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 450;
  text-wrap: balance;
}
.pill {
  display: inline-flex; align-items: center; gap: .55em;
  min-height: 44px;
  padding: .7em 1.35em;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.pill svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pill--navy { background: var(--ink); color: #fff; }
.pill--navy:hover { background: var(--ink-2); }
.pill--ghost { background: var(--mist); }
.pill--ghost:hover { background: var(--ink); color: #fff; }
.pill--outline { box-shadow: inset 0 0 0 1px var(--line); }
.pill--outline:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pill--light { background: #fff; color: var(--ink); }
.pill--light:hover { background: var(--ink); color: #fff; }
.pill:active { transform: scale(.97); }

.chip {
  position: absolute;
  font-size: .75rem;
  line-height: 1.35;
  padding: .6em .9em;
  border-radius: 12px;
}
.chip b { font-weight: 500; opacity: .7; margin-right: .4em; }
.chip--dark { background: rgba(14, 26, 58, .78); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip--glass { background: rgba(255, 255, 255, .78); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 999px; }
.chip--tr { top: 16px; right: 16px; }
.chip--bl { bottom: 16px; left: 16px; }
.chip--tl { top: 14px; left: 14px; }

.arrows { display: flex; gap: 8px; }
.arrow {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.arrow:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrows[hidden] { display: none; }
.arrow:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ink); border-color: var(--line); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none;
  min-height: 44px;
}
.link-arrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 14px var(--gutter);
  background: var(--paper);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(14, 26, 58, .28); }
.nav.is-hidden { transform: translateY(-100%); box-shadow: none; }
.nav.is-hidden:focus-within { transform: none; }
.nav__links { display: flex; gap: clamp(14px, 2vw, 28px); font-size: .8125rem; }
.nav__links a { text-decoration: none; padding: 10px 0; }
.nav__links a:hover { text-decoration: underline; }
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .9375rem; letter-spacing: -.01em;
  text-decoration: none;
}
.nav__end { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav__phone { font-size: .8125rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.nav__phone:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(520px, 72vh, 760px);
  color: #fff;
  isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(14px, 2vw, 28px);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 35%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 28, 70, .38) 0%, rgba(10, 28, 70, 0) 55%),
              linear-gradient(0deg, rgba(10, 28, 70, .35) 0%, rgba(10, 28, 70, 0) 40%);
}
.hero__intro { max-width: 300px; }
.hero__since { margin: 0 0 10px; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.hero__lede { margin: 0; font-size: .8125rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.hero__title {
  margin: 0 0 0 -.04em;
  font-size: clamp(4rem, 10.6vw, 10rem);
  line-height: .9;
  letter-spacing: -.04em;
  font-weight: 700;
}
.hero__cta { position: absolute; right: clamp(24px, 4vw, 52px); bottom: clamp(24px, 4vw, 52px); }

/* ---------- approach ---------- */
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: var(--section) 0 calc(var(--section) * .6);
}
.approach .label { padding-top: .5em; }
.statement {
  margin: 0 0 20px;
  font-size: clamp(1.25rem, 1.9vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  font-weight: 450;
  color: var(--soft);
  max-width: 34ch;
}
.statement b { font-weight: 450; color: var(--ink); }
@media (max-width: 1263px) { .statement { color: var(--soft-text); } }

/* ---------- steps ---------- */
.steps { padding-bottom: var(--section); }
.steps__row {
  display: flex; align-items: center; justify-content: space-between;
}
.steps__ring {
  flex: 0 1 auto;
  width: clamp(110px, 15vw, 210px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  margin: 0 -2.5%;
  position: relative;
}
.steps__ring::after {
  content: ""; position: absolute; inset: 22%;
  border-radius: 50%; border: 1px solid var(--line);
}
.step {
  position: relative;
  flex: 0 0 auto;
  width: clamp(110px, 15vw, 210px);
  height: clamp(110px, 15vw, 210px);
  border-radius: 999px;
  overflow: hidden;
  border: 0; padding: 0;
  cursor: pointer;
  background: var(--mist);
  transition: width .7s var(--ease);
}
.step img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s var(--ease); }
.step span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  white-space: nowrap;
  font-size: .8125rem; font-weight: 500;
  padding: .45em .9em; border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
.step.is-active { width: clamp(180px, 26vw, 380px); }
.step:hover img, .step.is-active img { transform: scale(1.04); }
.step:not(.is-active) img { filter: saturate(.75); }
.steps__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  margin-top: 40px;
}
.steps__when { margin: 0; font-size: .75rem; color: var(--muted); }
.steps__text { margin: 0; max-width: 46ch; font-size: .9375rem; color: var(--muted); }
.steps__panel.is-swapping > * { opacity: 0; transform: translateY(6px); }
.steps__panel > * { transition: opacity .35s var(--ease), transform .45s var(--ease); }

/* ---------- principles ---------- */
.principles {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  grid-template-areas:
    "head media"
    "thumbs copy";
  column-gap: clamp(24px, 5vw, 80px);
  row-gap: 24px;
  padding-bottom: var(--section);
}
.principles__head { grid-area: head; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-top: 8px; }
.principles__head .h2 { max-width: 14ch; }
.principles__media { grid-area: media; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.principles__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform 1s var(--ease); }
.principles__media.is-swapping img { opacity: 0; transform: scale(1.03); }
.principles__thumbs { grid-area: thumbs; display: flex; gap: 14px; align-items: flex-end; }
.thumb {
  border: 0; padding: 0; background: none; cursor: pointer; text-align: left;
  width: clamp(72px, 7vw, 96px);
}
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; transition: transform .5s var(--ease), box-shadow .3s var(--ease); }
.thumb span { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .75rem; color: var(--muted); }
.thumb span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.thumb:hover img { transform: translateY(-3px); }
.thumb.is-current img { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.thumb.is-current span { color: var(--ink); }
.thumb.is-current span::before { background: var(--ink); border-color: var(--ink); }
.principles__copy { grid-area: copy; }
.principles__title { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 550; letter-spacing: -.01em; }
.principles__title::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); }
.principles__text { margin: 0 0 18px; font-size: .875rem; color: var(--muted); max-width: 52ch; transition: opacity .35s var(--ease); }
.principles__copy.is-swapping .principles__text, .principles__copy.is-swapping .principles__title { opacity: 0; }
.principles__title { transition: opacity .35s var(--ease); }

/* ---------- navy voices ---------- */
.voices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 14px;
  margin-bottom: 14px;
}
.voices__left {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(20px, 3vw, 36px) clamp(8px, 2vw, 24px);
  min-height: 560px;
}
.voices__list {
  list-style: none; margin: 0; padding: 0;
  font-size: clamp(1.625rem, 2.9vw, 2.625rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 450;
}
.voices__list li { color: rgba(255, 255, 255, .42); transition: color .5s var(--ease); }
.voices__list li.is-lit { color: #fff; }
.voices__since { max-width: 260px; }
.voices__year { margin: 0 0 8px; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.voices__since p:last-child { margin: 0; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.voices__right { display: grid; grid-template-rows: 1fr auto auto; gap: 10px; }
.voices__photo { border-radius: var(--radius-lg); overflow: hidden; min-height: 240px; }
.voices__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.voices__card { border-radius: var(--radius-lg); padding: 22px 24px; position: relative; }
.voices__card--teal { background: var(--petrol); min-height: 190px; }
.voices__card--teal h3 { margin: 0 0 6px; font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; }
.voices__card--teal p { margin: 0; font-size: .8125rem; max-width: 38ch; color: rgba(255, 255, 255, .88); }
.voices__icon { position: absolute; right: 22px; bottom: 20px; width: 34px; height: 34px; fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 1.2; }
.voices__card--white { background: #fff; color: var(--ink); padding: 18px 24px; }
.voices__num { margin: 0; font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.voices__num span { font-weight: 400; color: var(--muted); font-size: .875rem; margin-left: .3em; }

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  background: var(--mist);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 52px);
}
.faq__left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.faq__left .h2 { max-width: 13ch; }
.faq__pill { border-radius: 999px; overflow: hidden; aspect-ratio: 2.1 / 1; max-width: 340px; }
.faq__pill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.faq__list details { border-bottom: 1px solid #DCDFE5; }
.faq__list details:first-child { border-top: 1px solid #DCDFE5; }
.faq__list summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  min-height: 72px;
  font-size: .9375rem; line-height: 1.3;
  cursor: pointer;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 8px 1.2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.2px 8px no-repeat,
    #fff;
  box-shadow: inset 0 0 0 1px #DCDFE5;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover::after { box-shadow: inset 0 0 0 1px var(--ink); }
.faq__list details p { margin: -6px 0 22px; padding-right: 48px; font-size: .875rem; color: var(--muted); max-width: 56ch; }

/* ---------- team ---------- */
.team { padding: var(--section) 0 calc(var(--section) * .7); }
.team__head { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 24px; margin-bottom: 28px; }
.team__note { margin: 0; font-size: .8125rem; color: var(--muted); }
.team__track {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.team__track::-webkit-scrollbar { display: none; }
.person {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  background: #9FC3E6;
}
.person img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.person:hover img { transform: scale(1.03); }
.person__name {
  position: absolute; right: 14px; bottom: 14px;
  font-size: .75rem; font-weight: 500;
  padding: .55em 1em; border-radius: 999px;
  background: rgba(255, 255, 255, .8); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.person__more summary {
  list-style: none; cursor: pointer;
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.person__more summary::-webkit-details-marker { display: none; }
.person__more summary svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 1.6; transition: transform .4s var(--ease); }
.person__more[open] summary svg { transform: rotate(45deg); }
.person__more p {
  position: absolute; left: 12px; right: 12px; bottom: 56px; margin: 0;
  padding: 16px 18px; border-radius: 16px;
  background: rgba(14, 26, 58, .86); color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: .8125rem; line-height: 1.5;
  animation: rise .45s var(--ease);
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.team__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 18px; font-size: .75rem; color: var(--muted); }
.team__foot p { margin: 0; }

/* ---------- CTA ---------- */
.cta {
  display: grid;
  grid-template-columns: 1fr minmax(auto, 520px) 1fr;
  align-items: center;
  gap: 24px;
  padding: calc(var(--section) * .6) 0 var(--section);
  text-align: center;
}
.cta__img { width: clamp(120px, 14vw, 190px); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 18px 40px -18px rgba(14, 26, 58, .35); }
.cta__img img { aspect-ratio: 1; object-fit: cover; }
.cta__img--left { justify-self: start; transform: rotate(-6deg) translateY(-30px); }
.cta__img--right { justify-self: end; transform: rotate(5deg) translateY(30px); }
.cta__title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.08; letter-spacing: -.035em; font-weight: 450;
  text-wrap: balance;
}
.cta__title span { display: block; color: var(--soft); }
.cta__sub { margin: 0 auto 26px; font-size: .8125rem; color: var(--muted); max-width: 40ch; }

/* ---------- footer ---------- */
.footer { padding-top: 8px; container-type: inline-size; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.footer__brand { margin: 0; font-size: .8125rem; font-weight: 600; line-height: 1.25; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.social a {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.social a:hover { background: var(--petrol); transform: translateY(-2px); }
.social svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.social svg .fill { fill: currentColor; stroke: none; }
.footer__card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.footer__claim { margin: 0 0 12px; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -.025em; max-width: 22ch; }
.footer__hint { margin: 0 0 28px; font-size: .75rem; color: var(--muted); }
.callback {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  max-width: 420px;
  padding: 6px 6px 6px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease);
}
.callback:focus-within { border-color: var(--ink); }
.callback input {
  flex: 1 1 140px; min-width: 0;
  border: 0; outline: 0; background: none;
  font: inherit; font-size: .875rem; color: var(--ink);
  min-height: 44px;
  caret-color: var(--petrol);
}
.callback input::placeholder { color: var(--muted); }
.callback .pill { padding-right: 6px; }
.callback__dot { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.callback__dot svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.callback__msg { flex-basis: 100%; margin: 0; font-size: .75rem; padding-left: 0; min-height: 0; }
.callback__msg:empty { display: none; }
.callback__msg.is-error { color: #B3261E; }
.callback__msg.is-ok { color: var(--petrol-deep); }
.callback.is-invalid { border-color: #B3261E; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: end; gap: clamp(24px, 4vw, 64px); font-size: .75rem; color: var(--muted); }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.footer__cols a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }
.footer__cols address { font-style: normal; line-height: 1.9; }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; padding: 18px 4px; font-size: .6875rem; color: var(--muted); }
.footer__legal p { margin: 0; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }
.wordmark {
  margin: 0 0 -.2em;
  font-size: clamp(4rem, 19.5vw, 17.5rem);
  font-size: 20.5cqi;
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.04em;
  text-align: center;
  color: #E4E6EB;
  user-select: none;
  white-space: nowrap;
}

/* ---------- pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(24px, 5vw, 80px);
  padding: 0 0 var(--section);
}
.pricing__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pricing__note { margin: 0; font-size: .875rem; color: var(--muted); max-width: 36ch; }
.pricing__card {
  margin-top: auto;
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid; gap: 18px; justify-items: start;
  max-width: 360px;
}
.pricing__card p { margin: 0; font-size: .875rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tab {
  min-height: 40px; padding: .5em 1.1em;
  border: 0; border-radius: 999px; cursor: pointer;
  font-size: .8125rem; font-weight: 500;
  background: var(--mist); color: var(--ink);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.tab:hover { background: #E6E8EC; }
.tab.is-active { background: var(--ink); color: #fff; }
.pricing__list { list-style: none; margin: 0; padding: 0; animation: rise .45s var(--ease); }
.price {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.price__name { margin: 0; font-size: .9375rem; font-weight: 500; }
.price__desc { margin: 2px 0 0; font-size: .8125rem; color: var(--muted); }
.price__value { margin: 0; font-size: 1.0625rem; font-weight: 550; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }

/* ---------- booking dialog ---------- */
html.is-locked { overflow: hidden; }
.booking {
  width: min(1000px, calc(100% - 32px));
  max-width: none; max-height: min(720px, calc(100dvh - 32px));
  height: 100%;
  padding: 0; border: 0;
  border-radius: var(--radius-xl);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(14, 26, 58, .5);
  overflow: hidden;
}
.booking::backdrop { background: rgba(14, 26, 58, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.booking[open] { animation: dlg-in .5s var(--ease); }
.booking[open]::backdrop { animation: fade .4s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.booking__shell { display: grid; grid-template-columns: 300px 1fr; height: 100%; }
.booking__aside {
  background: var(--ink); color: #fff;
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.booking__brand { margin: 0 0 40px; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.booking__title { margin: 0 0 32px; font-size: 2rem; line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.booking__summary { margin: 0; display: grid; gap: 18px; }
.booking__summary div { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 12px; }
.booking__summary dt { font-size: .6875rem; color: rgba(255, 255, 255, .72); margin-bottom: 4px; }
.booking__summary dd { margin: 0; font-size: .9375rem; line-height: 1.35; }
.booking__call { margin: auto 0 0; padding-top: 24px; font-size: .8125rem; color: rgba(255, 255, 255, .72); }
.booking__call a { color: #fff; font-size: 1.125rem; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; }
.booking__call a:hover { text-decoration: underline; }

.booking__main { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; overflow-y: auto; }
.booking__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px 0; position: sticky; top: 0; background: var(--paper); z-index: 2; padding-bottom: 14px; }
.booking__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; counter-reset: s; }
.booking__steps li {
  counter-increment: s;
  display: flex; align-items: center; gap: 8px;
  font-size: .8125rem; color: var(--muted);
  padding: 6px 12px 6px 6px; border-radius: 999px;
  background: var(--mist);
}
.booking__steps li::before {
  content: counter(s);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .6875rem; font-weight: 600;
  background: #fff; color: var(--ink);
}
.booking__steps li.is-current { background: var(--ink); color: #fff; }
.booking__steps li.is-done { color: var(--ink); }
.booking__steps li.is-done::before {
  content: ""; background: var(--petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.booking__close {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; display: grid; place-items: center; flex: none;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.booking__close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.booking__close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.booking__form { padding: 10px 28px 20px; }
.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep__title { padding: 0; margin: 0 0 18px; font-size: 1.5rem; letter-spacing: -.03em; font-weight: 450; line-height: 1.15; }
.bstep__hint { margin: -8px 0 18px; font-size: .8125rem; color: var(--muted); }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.svc input { position: absolute; opacity: 0; pointer-events: none; }
.svc:hover { border-color: var(--soft); }
.svc:has(input:checked) { border-color: var(--ink); background: var(--mist); box-shadow: inset 0 0 0 1px var(--ink); }
.svc:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: 2px; }
.svc__body { display: grid; gap: 3px; }
.svc__name { font-size: .9375rem; font-weight: 550; }
.svc__desc { font-size: .75rem; color: var(--muted); line-height: 1.4; }
.svc__meta { display: grid; justify-items: end; font-size: .6875rem; color: var(--muted); text-align: right; white-space: nowrap; }
.svc__meta b { font-size: .875rem; color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums; }
.svc--urgent .svc__name::after { content: "dziś"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--petrol); color: #fff; font-size: .625rem; font-weight: 600; vertical-align: 2px; }

.bstep[data-step="2"]:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
.bstep[data-step="2"] .bstep__title, .bstep[data-step="2"] .bstep__hint { grid-column: 1 / -1; }
.cal { max-width: 420px; width: 100%; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { margin: 0; font-size: .9375rem; font-weight: 550; text-transform: capitalize; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__dow span { text-align: center; font-size: .6875rem; color: var(--muted); padding: 4px 0; }
.day {
  position: relative;
  height: 44px;
  border: 0; border-radius: 12px; cursor: pointer;
  font-size: .8125rem; font-variant-numeric: tabular-nums;
  background: var(--mist); color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.day::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--petrol); }
.day--few::after { background: #C98A2B; }
.day--off, .day--pad { background: none; cursor: default; }
.day--off { color: #B4B8C3; text-decoration: line-through; text-decoration-color: rgba(180, 184, 195, .6); }
.day--off::after, .day--pad::after { display: none; }
.day:not(:disabled):hover { background: #E2E5EA; }
.day.is-today { box-shadow: inset 0 0 0 1px var(--ink); }
.day.is-selected { background: var(--ink); color: #fff; }
.day.is-selected::after { background: #fff; }
.slots { min-height: 200px; }
.slots__empty { margin: 52px 0 0; font-size: .875rem; color: var(--muted); }
.slots__day { margin: 6px 0 14px; font-size: .9375rem; font-weight: 550; }
.slots__day::first-letter { text-transform: uppercase; }
.slots__group { margin-bottom: 14px; }
.slots__group > p { margin: 0 0 8px; font-size: .6875rem; color: var(--muted); }
.slots__row { display: flex; flex-wrap: wrap; gap: 6px; }
.slot {
  min-width: 70px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer;
  font-size: .8125rem; font-variant-numeric: tabular-nums;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.slot:hover { border-color: var(--ink); }
.slot.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; font-size: .8125rem; }
.field > span { font-weight: 500; }
.field i { font-style: normal; font-weight: 400; color: var(--muted); }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea {
  font: inherit; font-size: .9375rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; min-height: 48px; background: #fff;
  caret-color: var(--petrol);
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: #8A90A0; }
.field [aria-invalid="true"], .field [aria-invalid="true"]:focus { border-color: #B3261E; }
.field__err { font-style: normal; font-size: .75rem; color: #B3261E; min-height: 0; }
.field__err:empty { display: none; }
.segmented { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--mist); justify-self: start; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 8px 16px; border-radius: 999px; font-size: .8125rem; transition: background-color .25s var(--ease), color .25s var(--ease); }
.segmented input:checked + span { background: var(--ink); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--petrol); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }

.bstep--done:not([hidden]) { display: grid; justify-items: center; text-align: center; padding: 48px 0 24px; outline: none; }
.done__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--petrol); display: grid; place-items: center; margin-bottom: 22px; animation: pop .6s var(--ease); }
.done__mark svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; animation: draw .6s .2s var(--ease) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 30; } }
.done__text { margin: 0 0 28px; max-width: 46ch; font-size: .9375rem; color: var(--muted); }
.done__text b { color: var(--ink); font-weight: 550; }
.done__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.booking__foot {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 28px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.booking__foot #b-next { margin-left: auto; }
.booking__foot [hidden] { display: none; }
.booking.is-done .booking__foot { display: none; }
.booking__err { margin: 0; font-size: .8125rem; color: #B3261E; }
.pill.is-loading { pointer-events: none; opacity: .75; }
.pill.is-loading svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill:disabled { cursor: default; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: settle 1.6s var(--ease) both; }
  .hero__title { animation: lift 1.2s .15s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.08); filter: blur(6px); } }
  @keyframes lift { from { transform: translateY(.35em); opacity: 0; } }
  .js .reveal { clip-path: inset(0 0 0 0 round var(--radius-lg)); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
  .js .reveal.is-pending { clip-path: inset(12% 6% 12% 6% round var(--radius-lg)); transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .brand { justify-self: start; }
  .nav__phone { display: none; }
  .approach, .steps__panel { grid-template-columns: 1fr; gap: 16px; }
  .approach .label, .steps__when { display: none; }
  .principles { grid-template-columns: 1fr; grid-template-areas: "head" "media" "copy" "thumbs"; }
  .voices { grid-template-columns: 1fr; }
  .voices__left { min-height: 0; gap: 48px; }
  .faq { grid-template-columns: 1fr; }
  .faq__pill { display: none; }
  .team__head { grid-template-columns: 1fr auto; }
  .team__note { display: none; }
  .team__track { grid-auto-columns: 72%; }
  .footer__card { grid-template-columns: 1fr; }
  .footer__cols { justify-content: start; grid-template-columns: repeat(2, auto); }
  .footer__cols address { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .page { width: 100%; margin: 0; border-radius: 0; }
  .hero { min-height: min(82svh, 700px); border-radius: 22px; }
  .hero { justify-content: flex-start; }
  .hero__cta { position: static; align-self: flex-start; margin-top: 18px; order: 2; }
  .hero__title { order: 3; margin-top: auto; font-size: clamp(3.4rem, 18vw, 5rem); }
  .hero__media img { object-position: 66% 0%; }
  .steps__row { justify-content: center; }
  .steps__ring { display: none; }
  .steps__row { gap: 8px; }
  .step { width: 78px; height: 78px; }
  .step.is-active { width: 160px; }
  .step span { font-size: .6875rem; }
  .cta { grid-template-columns: 1fr; }
  .cta__img { display: none; }
  .callback { border: 0; padding: 0; gap: 8px; }
  .callback input { flex-basis: 100%; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; min-height: 52px; }
  .callback input:focus { border-color: var(--ink); }
  .callback .pill { width: 100%; justify-content: space-between; min-height: 52px; padding-left: 22px; }
  .callback.is-invalid input { border-color: #B3261E; }
  .step:not(.is-active) span { opacity: 0; }
  .footer__legal { flex-direction: column; gap: 4px; }
}

@media (max-width: 960px) {
  .pricing { grid-template-columns: 1fr; gap: 18px; }
  .pricing__head { display: contents; }
  .pricing__body { order: 3; margin-top: 6px; }
  .pricing__card { order: 4; margin-top: 10px; max-width: none; }
  .booking__shell { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .booking__aside { padding: 18px 20px; }
  .booking__brand, .booking__call { display: none; }
  .booking__title { font-size: 1.25rem; margin: 0 0 10px; }
  .booking__summary { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .booking__summary div { padding-top: 6px; }
  .booking__summary div:nth-child(n+3) { display: none; }
  .booking__summary dd { font-size: .8125rem; }
  .bstep[data-step="2"]:not([hidden]) { grid-template-columns: 1fr; }
  .slots { margin-top: 18px; min-height: 0; }
}
@media (max-width: 600px) {
  .booking { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .booking__head, .booking__form, .booking__foot { padding-left: 16px; padding-right: 16px; }
  .booking__steps li { padding-right: 6px; font-size: 0; gap: 0; }
  .booking__steps li.is-current { font-size: .75rem; gap: 6px; padding-right: 12px; }
  .services, .fields { grid-template-columns: 1fr; }
  .price { gap: 14px; }
  .team__foot { flex-direction: column; gap: 4px; }
}
