/* =========================================================
   Bartosz Wilk, trener personalny (projekt demonstracyjny)
   Spokojnie i naturalnie: ciepła biel, dużo zdjęć, mało ozdobników.
   Akcenty: limonka i czerwień jabłka, używane oszczędnie.
   ========================================================= */

:root {
  --bg: #f5f3ee;
  --white: #ffffff;
  --ink: #1b1b19;
  --ink-2: #3d3c38;
  --muted: #6e6c66;
  --line: #e4e1d9;
  --line-strong: #cfcbc1;

  --lime: #9cc43b;
  --lime-hover: #aed24f;
  --lime-soft: #edf3dc;
  --lime-ink: #4d6a12;
  --red: #c0282d;

  --font-head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;

  --container: 1180px;
  --gutter: 24px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }

/* ---------- typografia ---------- */
.h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.eyebrow {
  margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lime-ink);
}
.eyebrow--light { color: var(--lime); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--lime { background: var(--lime); }
.dot--red { background: var(--red); }
.dot--white { background: #fff; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-decoration-color: var(--lime); text-underline-offset: 5px;
  transition: text-decoration-color .2s;
}
.link::after { content: "→"; transition: transform .25s var(--ease); }
.link:hover { text-decoration-color: currentColor; }
.link:hover::after { transform: translateX(3px); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #34332f; }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hover); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { border-color: var(--ink); }

/* ---------- nagłówek ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
@supports (backdrop-filter: blur(10px)) {
  .hdr { background: rgba(245, 243, 238, .8); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
}
.hdr.is-scrolled { border-color: var(--line); }
.hdr__bar { position: relative; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand__mark { display: flex; align-items: flex-end; gap: 3px; height: 24px; }
.brand__mark i { display: block; width: 7px; border-radius: 2px; }
.brand__mark i:first-child { height: 100%; background: var(--lime); }
.brand__mark i:last-child { height: 62%; background: var(--red); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt b { font-family: var(--font-head); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.brand__txt small { font-size: 12.5px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 22px; }
.nav__list a, .nav__phone { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav__list a:hover, .nav__phone:hover { color: var(--ink); }
.nav__list a.is-active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav__phone { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; place-items: center; }
.burger > span:first-child { display: grid; gap: 6px; width: 18px; }
.burger i { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- zdjęcia ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-lg); background: #e7e4dc; }
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity .5s var(--ease);
}
.photo.is-loaded img { opacity: 1; }
.photo.is-loaded .photo__ph { display: none; }
.photo__ph { position: absolute; inset: 0; pointer-events: none; }

/* ---------- sekcje ---------- */
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--white { background: var(--white); }
.head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; }
.head__note { max-width: 420px; font-size: 15.5px; }

/* ---------- HERO ---------- */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.2vw, 70px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero__lead { font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.6; color: var(--ink-2); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 32px 0 22px; }
.hero__meta { font-size: 14.5px; color: var(--muted); }
.hero__meta b { color: var(--ink); font-weight: 600; }
.pulse { display: inline-block; vertical-align: 1px; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #3fae5a; box-shadow: 0 0 0 4px rgba(63, 174, 90, .15); }
.hero__quote { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 480px; }
.hero__quote blockquote { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); }
.hero__quote figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.hero__photo { aspect-ratio: 4 / 5; }

.facts-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line);
}
.facts-row li { font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.facts-row b { display: block; margin-bottom: 6px; font-family: var(--font-head); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }

/* ---------- DLA KOGO ---------- */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__head .h2 { margin-bottom: 16px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.who li { padding: 24px 0; border-top: 1px solid var(--line); }
.who h3 { position: relative; padding-left: 20px; margin-bottom: 8px; font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.who h3::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.who li:nth-child(even) h3::before { background: var(--red); }
.who p { color: var(--muted); font-size: 15.5px; padding-left: 20px; }

/* ---------- O MNIE ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__photo { aspect-ratio: 4 / 5; }
.about__copy .h2 { margin-bottom: 20px; }
.about__copy > p:not(.eyebrow) { color: var(--ink-2); font-size: 17px; max-width: 580px; margin-bottom: 14px; }
.creds { margin-top: 30px; border-top: 1px solid var(--line); max-width: 580px; }
.creds li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.creds b { font-weight: 600; }
.creds span { color: var(--muted); text-align: right; }

/* ---------- DLACZEGO TRENER ---------- */
.why {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start;
  padding: clamp(28px, 5vw, 64px); background: var(--ink); color: #fff; border-radius: var(--r-lg);
}
.why .h2 { margin-bottom: 16px; }
.why__lead { color: #b8b6ae; font-size: 17px; max-width: 420px; }
.why__table { display: grid; }
.why__row {
  display: grid; grid-template-columns: .65fr 1fr 1fr; gap: 16px; align-items: start;
  padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.why__row--head { border-top: 0; padding-top: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8d8b84; }
.why__row--head span:last-child { color: var(--lime); }
.why__row b { font-weight: 600; font-size: 15px; }
.why__no, .why__yes { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.45; }
.why__no { color: #9a988f; }
.why__no::before, .why__yes::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; border-radius: 50%;
  background: center / 9px no-repeat;
}
.why__no::before {
  background-color: rgba(255, 255, 255, .08);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a79f' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}
.why__yes::before {
  background-color: var(--lime);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b19' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- OFERTA ---------- */
.offer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ocard { display: flex; flex-direction: column; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.ocard h3 { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 10px; }
.ocard p { color: var(--muted); font-size: 15px; }
.ocard__price { margin: auto 0 14px; padding-top: 22px; color: var(--ink) !important; font-weight: 700; font-size: 18px !important; }
.ocard__price small { font-weight: 500; font-size: 14px; color: var(--muted); }
.ocard .link { font-size: 14.5px; align-self: flex-start; }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.45; font-size: 15px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lime-soft) center / 10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d6a12' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- PROCES ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; }
.steps li { padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li:first-child { border-color: var(--lime); }
.steps__n { display: block; font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.steps h3 { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- EFEKTY + OPINIE ---------- */
.score { font-size: 15px; }
.score b { font-family: var(--font-head); font-size: 34px; font-weight: 600; letter-spacing: -.02em; }
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story { display: flex; flex-direction: column; padding: 28px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); }
.story__result {
  align-self: flex-start; margin-bottom: 18px; padding: 5px 12px; border-radius: 6px;
  background: var(--lime-soft); color: var(--lime-ink); font-size: 14px; font-weight: 600;
}
.story:nth-child(3) .story__result { background: #fbe9e7; color: #9c2125; }
.story blockquote { flex: 1; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.story figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.story figcaption b { display: block; font-size: 15px; line-height: 1.3; }
.story figcaption small { color: var(--muted); font-size: 13.5px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--bg); color: var(--ink-2); font-weight: 600; font-size: 14px; }

/* ---------- CENNIK ---------- */
.switch { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg); border-radius: 999px; }
.switch button {
  border: 0; background: transparent; cursor: pointer;
  padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.switch button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plans[hidden] { display: none; }
.plans:not([hidden]) .plan { animation: rise .4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); }
.plan--hot { background: var(--white); border: 2px solid var(--ink); }
.plan__badge { position: absolute; top: -13px; left: 26px; padding: 3px 10px; background: var(--ink); color: #fff; border-radius: 6px; font-size: 12.5px; font-weight: 600; }
.plan__name { font-family: var(--font-head); font-size: 19px; font-weight: 600; }
.plan__price { margin-top: 12px; }
.plan__price b { font-family: var(--font-head); font-size: clamp(36px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.plan__per { color: var(--muted); font-size: 14.5px; margin: 4px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan .ticks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plans__foot { margin-top: 22px; color: var(--muted); font-size: 14.5px; }

/* ---------- pola formularzy ---------- */
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field__label { font-size: 14px; font-weight: 600; }
.field__label em { font-style: normal; font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 4px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 104px; padding: 13px 16px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: var(--white) right 16px center / 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b19' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime-soft); }
.field ::placeholder { color: #a3a199; }
.field.has-error input { border-color: var(--red); }
.field__error { font-size: 13.5px; color: var(--red); }
.field__error:empty { display: none; }
.field__unit { position: relative; display: block; }
.field__unit em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); font-size: 14px; pointer-events: none; }
.field__unit input { padding-right: 44px !important; }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.seg, .choice, .chips { border: 0; margin: 0; padding: 0; }
.seg { display: inline-flex; gap: 2px; padding: 4px; background: var(--bg); border-radius: 999px; width: max-content; }
.seg label, .choice label, .chips label { position: relative; cursor: pointer; }
.seg input, .choice input, .chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.seg span { display: block; padding: 8px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: background-color .2s, color .2s; }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.choice, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice span, .chips span {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-strong); font-size: 14.5px; font-weight: 500;
  transition: background-color .2s, border-color .2s;
}
.choice label:hover span, .chips label:hover span { border-color: var(--ink); }
.choice input:checked + span, .chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg input:focus-visible + span, .choice input:focus-visible + span, .chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.field.chips { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.chips legend { float: left; width: 100%; margin-bottom: 8px; padding: 0; }
.choice span { text-align: center; }

/* ---------- KALKULATOR ---------- */
.calc { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }
.calc__form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); }
.calc__intro { margin-top: 12px; max-width: 520px; font-size: 15.5px; }
.calc__form { display: grid; gap: 20px; margin-top: 26px; }
.calc__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.calc__out { display: flex; flex-direction: column; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 40px); }
.calc__label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #a3a199; }
.calc__kcal { font-size: 20px; font-weight: 600; margin-top: 6px; }
.calc__kcal b { font-family: var(--font-head); font-size: clamp(54px, 5.4vw, 72px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.macro { display: flex; gap: 4px; height: 10px; margin: 28px 0 10px; }
.macro span { border-radius: 3px; flex: 1; transition: flex-grow .5s var(--ease); }
.macro__p { background: var(--lime); }
.macro__f { background: var(--red); }
.macro__c { background: #fff; }
.macro__legend { margin-bottom: 28px; }
.macro__legend li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); color: #cfcdc6; font-size: 15px; }
.macro__legend b { margin-left: auto; color: #fff; }
.calc__out .btn { margin-top: auto; }

/* ---------- STUDIO ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .photo { aspect-ratio: 4 / 5; border-radius: var(--r); }
.gallery figcaption { margin-top: 10px; font-size: 14.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.faq__side { position: sticky; top: 104px; }
.faq__side .h2 { margin-bottom: 14px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 20px 52px 20px 0; font-weight: 600; font-size: 17px; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1b19' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 52px 22px 0; color: var(--ink-2); }
.qa[open] .qa__a { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-3px); } }

/* ---------- KONTAKT ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__photo { aspect-ratio: 3 / 2; margin-bottom: 28px; }
.contact__info .h2 { margin-bottom: 12px; }
.contact__lead { margin-bottom: 24px; font-size: 16px; }
.contact__list { border-top: 1px solid var(--line); }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact__list li > span:first-child { color: var(--muted); }
.contact__list li > :last-child { font-weight: 600; text-align: right; word-break: break-word; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }

.contact__form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.consent input {
  appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 5px; background: var(--white);
  transition: background-color .2s, border-color .2s;
}
.consent input:checked {
  border-color: var(--ink);
  background: var(--ink) center / 12px no-repeat 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.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.consent input[aria-invalid="true"] { border-color: var(--red); }
.consent a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.form .btn[disabled] { opacity: .7; cursor: progress; }

.done { text-align: center; padding: clamp(36px, 6vw, 64px) 10px; }
.done:focus { outline: none; }
.done__ic { width: 64px; height: 64px; margin: 0 auto 20px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); animation: pop .5s var(--ease); }
.done__ic svg { width: 30px; height: 30px; stroke-width: 2.6; }
.done h3 { font-family: var(--font-head); font-size: 28px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.done p { color: var(--muted); margin-bottom: 26px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ---------- termin konsultacji ---------- */
.booking { gap: 10px; }
.days { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.days::-webkit-scrollbar { display: none; }
.days label, .slots label { position: relative; flex: none; cursor: pointer; }
.days input, .slots input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.days span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 56px; height: 64px; border-radius: var(--r-sm); border: 1px solid var(--line-strong);
  background: var(--white); color: var(--muted); font-size: 12.5px; font-weight: 500;
  transition: background-color .2s, border-color .2s, color .2s;
}
.days b { font-family: var(--font-head); font-size: 19px; font-weight: 600; line-height: 1.1; color: var(--ink); transition: color .2s; }
.days label:hover span { border-color: var(--ink); }
.days input:checked + span { background: var(--ink); border-color: var(--ink); color: #b9b7af; }
.days input:checked + span b { color: #fff; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; }
.slots span {
  display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--white); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color .2s, border-color .2s;
}
.slots label:hover span { border-color: var(--ink); }
.slots input:checked + span { background: var(--lime); border-color: var(--lime); }
.slots input:disabled { cursor: not-allowed; }
.slots input:disabled + span { color: #b3b1a9; text-decoration: line-through; border-color: var(--line); background: transparent; }
.days input:focus-visible + span, .slots input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- STOPKA ---------- */
.footer { padding: 56px 0 32px; background: var(--bg); border-top: 1px solid var(--line); }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 32px; }
.footer__brand p { margin-top: 12px; font-size: 14.5px; max-width: 300px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 6px; }
.footer__nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.footer__nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px;
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: 13.5px; color: var(--muted);
}
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--ink); }
.footer__bottom p a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 2px; }

/* ---------- pasek akcji na telefonie ---------- */
.dock { display: none; }

/* ---------- pojawianie się ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.hero__copy, .hero__photo { animation: fadeUp .8s var(--ease) both; }
.hero__photo { animation-delay: .12s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* ---------- podstrona ---------- */
.page { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.page__card { max-width: 780px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 5vw, 60px); }
.page h1 { font-family: var(--font-head); font-size: clamp(34px, 4.6vw, 50px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 20px; }
.page h2 { font-family: var(--font-head); font-size: 21px; font-weight: 600; margin: 34px 0 10px; }
.page p, .page li { color: var(--ink-2); }
.page ul { display: grid; gap: 8px; margin-top: 10px; }
.page ul li { position: relative; padding-left: 20px; }
.page ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.page .btn { margin-top: 40px; }

/* =========================================================
   RWD
   ========================================================= */
@media (max-width: 1100px) {
  .nav__phone { display: none; }
  .offer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .burger { display: grid; }
  .nav {
    position: absolute; top: calc(100% + 1px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: 12px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 13px 0; font-size: 18px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__phone { display: block; padding: 13px 0 10px; font-size: 17px; }
  .nav .btn { height: 50px; font-size: 16px; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 560px; width: 100%; }
  .facts-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }

  .split, .about, .why, .faq, .contact, .calc { grid-template-columns: 1fr; }
  .about__photo { max-width: 520px; }
  .faq__side { position: static; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stories { grid-template-columns: 1fr; max-width: 640px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; row-gap: 26px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact__photo { max-width: 560px; }
}

@media (max-width: 760px) {
  .why__row { grid-template-columns: 1fr 1fr; row-gap: 8px; }
  .why__row b { grid-column: 1 / -1; }
  .why__row--head span:first-child { display: none; }

  .dock {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    display: flex; gap: 8px; padding: 6px;
    background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .25);
    transform: translateY(calc(100% + 24px)); transition: transform .4s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock__main { flex: 1; }
  .dock__call { width: 50px; height: 50px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--lime); color: var(--ink); }
  .dock__call svg { width: 20px; height: 20px; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 600px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .hdr__bar { height: 64px; }
  .brand__txt b { font-size: 17px; }

  .hero { padding-top: 20px; }
  .hero__title { font-size: clamp(36px, 10.4vw, 46px); margin-bottom: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; margin: 28px 0 18px; }
  .hero__actions .link { align-self: center; }
  .hero__quote { margin-top: 28px; }
  .facts-row { gap: 22px 18px; }
  .facts-row li { font-size: 13.5px; }

  .who { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 26px; }
  .creds li { flex-direction: column; gap: 0; }
  .creds span { text-align: left; font-size: 14px; }

  .why { padding: 28px 20px; }
  .why__row { grid-template-columns: 1fr; gap: 6px; }
  .why__row--head { display: none; }
  .why__no, .why__yes { font-size: 14.5px; }

  .choice { display: grid; grid-template-columns: repeat(2, 1fr); }
  .choice--3 { grid-template-columns: repeat(3, 1fr); }
  .choice span { display: block; padding: 9px 6px; font-size: 14px; }
  .calc__row { gap: 8px; }
  .field__unit em { right: 10px; font-size: 13px; }
  .field__unit input { padding-left: 12px !important; padding-right: 34px !important; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { flex-direction: column; gap: 0; }
  .contact__list li > :last-child { text-align: left; }

  .gallery { gap: 10px; }
  .gallery figcaption { font-size: 13.5px; margin-top: 6px; }
  .qa summary { font-size: 16px; }
  .qa__a { padding-right: 0; }
  .days span { width: 52px; height: 60px; }
  .footer__top { flex-direction: column; }
}

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