/* =========================================================
   ADI GO – Adrian Cieślik, trener personalny
   Arkusz główny. Fonty → tokens → layout → komponenty → strony.
   ========================================================= */

/* ---------- 0. Fonty (lokalnie, latin + latin-ext, licencja OFL w /fonts) ---------- */
@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-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: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-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;
}
/* Inter – font zmienny, jeden plik obsługuje grubości 400–800 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-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: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-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;
}

/* ---------- 1. Tokens ---------- */
:root {
  --bg:        #0A0A0A;
  --bg-1:      #121212;
  --bg-2:      #1A1A1A;
  --bg-3:      #151515;

  --line:      #1F1F1F;
  --line-2:    #262626;
  --line-3:    #2E2E2E;
  --line-4:    #333333;
  --line-5:    #4A4A4A;

  /* kolor marki – złoto #D4AF37 */
  --accent:     #D4AF37;
  --accent-2:   #B08D2A;          /* ciemniejszy odcień do gradientów */
  --accent-rgb: 212, 175, 55;
  --white:     #FFFFFF;
  --muted:     #B0B0B0;
  --dim:       #8A8A8A;           /* min. 4.5:1 na tłach --bg…--bg-2 */
  --faint:     #808080;           /* tylko elementy nieaktywne / dekoracyjne */
  --ghost:     #3A3A3A;

  --radius:    6px;
  --nav-h:     76px;

  --wrap:      1760px;
  --gutter:    clamp(16px, 3vw, 40px);

  --font:      Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display:   "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --mono:      ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset / baza ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html.is-menu-open,
html.is-menu-open body { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--white); }

button { font: inherit; color: inherit; }

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar { height: 6px; width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-3); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; color: var(--bg); }

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

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 1100px; }

.section        { padding: clamp(64px, 9vw, 130px) 0; }
.section--md    { padding: clamp(56px, 8vw, 110px) 0; }
.section--sm    { padding: clamp(48px, 7vw, 90px) 0; }
.section--head  { padding: 120px 0 clamp(48px, 6vw, 90px); }

.bg-0 { background: var(--bg); }
.bg-1 { background: var(--bg-1); }
.bg-2 { background: var(--bg-2); }

.bt   { border-top: 1px solid var(--line); }
.bb   { border-bottom: 1px solid var(--line); }
.bt-2 { border-top: 1px solid var(--line-2); }
.bb-2 { border-bottom: 1px solid var(--line-2); }

/* auto-fit grid — próg kolumny ustawiany przez --min */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(var(--min, 300px), 1fr));
}
.grid--gap-lg { gap: clamp(32px, 5vw, 70px); }
.grid--gap-md { gap: 44px; }
.grid--gap-sm { gap: 32px; }
.grid--end    { align-items: end; }
.grid--center { align-items: center; }
.grid--start  { align-items: start; }

/* siatka „hairline" — karty rozdzielone jedną linią */
.grid-lines {
  display: grid;
  gap: 1px;
  border-radius: var(--radius);
  grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr));
  box-shadow: 0 0 0 1px var(--line-2);
}

.stack   { display: flex; flex-direction: column; gap: 26px; }
.stack-sm{ display: flex; flex-direction: column; gap: 14px; }

/* ---------- 4. Typografia ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--dim { color: var(--dim); }

.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
}
.label--accent { color: var(--accent); }

.h1, .h2, .h3, .h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
}
.h1 { font-size: clamp(2.8rem, 9vw, 9rem);   line-height: 1.1; }
.h1--sm { font-size: clamp(2.8rem, 8vw, 8rem); }
.h2 { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1.12; }
.h2--md { font-size: clamp(2.2rem, 5.5vw, 4.6rem); }
.h2--sm { font-size: clamp(2rem, 5vw, 4.4rem); }
.h2--xs { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.h3 { font-size: 24px; line-height: 1.14; letter-spacing: .02em; }
.h3--sm { font-size: 22px; line-height: 1.2; }
.h3--accent { font-size: 20px; line-height: 1.2; color: var(--accent); }
.h4 { font-size: 21px; line-height: 1.2; letter-spacing: .02em; }

.lead   { font-size: 18px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.lead--lg { font-size: 19px; color: var(--white); }
.text   { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.text--lg { font-size: 17px; line-height: 1.7; }
.text--sm { font-size: 15px; line-height: 1.6; }

.measure    { max-width: 640px; }
.measure-sm { max-width: 430px; }
.measure-md { max-width: 760px; }
.measure-lg { max-width: 900px; }

.num {
  font-family: var(--display);
  line-height: 1;
  color: #6A6A6A; /* min. 3:1 (duży tekst) na tłach --bg…--bg-2 */
}
.num--xl { font-size: 38px; }
.num--lg { font-size: 34px; }
.num--md { font-size: 30px; }
.num--sm { font-size: 26px; }
.num--xs { font-size: 24px; }
.num--accent { color: var(--accent); }

/* odstępy – zamiast powtarzanych stylów inline */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; }
.mt-44 { margin-top: 44px; }
.mt-56 { margin-top: 56px; }
.mb-8  { margin-bottom: 8px; }
.mb-10 { margin-bottom: 10px; }
.mb-28 { margin-bottom: 28px; }
.mb-44 { margin-bottom: 44px; }
.mb-48 { margin-bottom: 48px; }
.justify-end { justify-self: end; }
.nowrap { white-space: nowrap; }
.mt-12 { margin-top: 12px; }
.mt-18 { margin-top: 18px; }
.mt-24 { margin-top: 24px; }
.text--loose { line-height: 1.65; }
.tile__title--sm { margin: 24px 0 12px; }

.page-title    { margin: 18px 0 24px; }
.section-title { margin: 16px 0 20px; }
.tile__title   { margin: 26px 0 12px; }

.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ---------- 5. Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease),
              box-shadow .2s var(--ease), filter .2s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg);
}
.btn--primary:hover {
  color: var(--bg);
  filter: brightness(1.08);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), .28);
}

.btn--ghost { border-color: var(--accent); color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(var(--accent-rgb), .1); color: var(--accent); }

.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 20px; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 17px; }

.btn--disabled {
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--faint);
  cursor: not-allowed;
  pointer-events: none;
}

.link-underline {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 3px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.link-underline:hover { color: var(--white); border-color: var(--white); }

.arrow { font-family: var(--display); }

/* ---------- 6. Nawigacja ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,10,0);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding .25s var(--ease), background .25s var(--ease);
  padding: 22px var(--gutter);
}
.nav.is-scrolled { padding: 12px var(--gutter); background: rgba(10,10,10,.86); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo { display: block; flex: 0 0 auto; line-height: 0; }
.nav__logo img { height: 28px; width: auto; }
@media (max-width: 860px) { .nav__logo img { height: 23px; } }

.dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  display: inline-block;
  flex: 0 0 auto;
}
.dot--sm { width: 5px; height: 5px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav__link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.nav__link:hover { color: var(--white); }
.nav__link.is-active { color: var(--accent); font-weight: 700; }
.nav__link.is-active:hover { color: var(--accent); }
.nav__cta { margin-left: 6px; }

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-3);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.nav__burger span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  background: var(--white);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__burger span:nth-child(1) { top: 16px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 26px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__burger { display: block; }
  .nav__menu {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-2);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav__menu.is-open {
    display: flex;
    max-height: calc(100svh - 64px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__link {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .nav__cta { margin: 20px 0 0; width: 100%; }
}

/* ---------- 7. Placeholdery („concept art") ---------- */
.ph {
  position: relative;
  background: repeating-linear-gradient(135deg, #161616 0 8px, #1C1C1C 8px 16px);
  border: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.ph--dark { background: repeating-linear-gradient(135deg, #141414 0 8px, #1A1A1A 8px 16px); }
/* Zdjęcie w placeholderze: kiedy pliku brakuje, skrypt chowa <img>
   i spod spodu wraca szare tło z podpisem. */
.ph__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 8. Karty ---------- */
.card {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 34px 30px 36px;
}

/* Karta produktu jest klikalna – tylko ona dostaje efekt „podniesienia". */
.card--flush {
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.card--flush:hover { transform: translateY(-6px); border-color: var(--accent); }

.tile {
  background: var(--bg-1);
  border-radius: var(--radius);
  padding: 36px 30px 44px;
  box-shadow: 0 0 0 1px var(--line-2);
}
.tile--flat {
  background: var(--bg);
  padding: 34px 28px 40px;
  box-shadow: 0 0 0 1px var(--line);
}

.quote {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  background: var(--bg-1);
}
.quote--flat { background: transparent; padding: 30px 28px; }
.quote blockquote { font-size: 17px; line-height: 1.6; color: var(--white); text-wrap: pretty; }
.quote figcaption {
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 9. Listy z kropką ---------- */
.bullets { display: flex; flex-direction: column; gap: 14px; }
.bullets li {
  display: flex;
  gap: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--white);
}
.bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  background: var(--accent);
}
.bullets--muted li { color: var(--dim); }
.bullets--muted li::before { background: var(--ghost); }

.bullets--sm { gap: 12px; }
.bullets--sm li { font-size: 15px; line-height: 1.5; color: var(--muted); gap: 12px; }
.bullets--sm li::before { width: 5px; height: 5px; margin-top: 8px; }

/* ---------- 10. Wiersze (timeline / proces / moduły) ---------- */
.rows { border-top: 1px solid var(--line); }
.rows--light { border-top-color: var(--line-2); }

.row {
  display: grid;
  grid-template-columns: var(--col, 80px) 1fr;
  gap: clamp(16px, 4vw, 56px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.rows--light .row { border-bottom-color: var(--line-2); }
.row--tight { padding: 24px 0; }
.row--module { --col: 70px; gap: clamp(14px, 3vw, 40px); }
.row--year { --col: 120px; }

/* ---------- 11. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: 0;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
  transition: color .2s var(--ease);
}
.faq__q:hover { color: var(--accent); }
.faq__sign {
  font-family: var(--font);
  font-size: 22px;
  color: var(--accent);
  flex: 0 0 auto;
}
.faq__a {
  padding: 0 0 26px;
  max-width: 820px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}
.faq__a[hidden] { display: none; }
.faq--sm .faq__q { font-size: 18px; padding: 22px 0; }
.faq--sm .faq__a { padding-bottom: 24px; }

/* ---------- 12. Slider ---------- */
.slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* Pasek przewijania ukryty — do sterowania służą strzałki.
     Przewijanie palcem, kółkiem i klawiaturą działa dalej. */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* starszy Edge */
}
.slider::-webkit-scrollbar { display: none; }   /* Chrome, Safari */
.slider:focus-visible { outline-offset: 6px; }
.slider__item {
  flex: 0 0 clamp(280px, 42vw, 520px);
  scroll-snap-align: start;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-1);
}
.slider__body { padding: 22px 22px 26px; }
.slider__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.slider__meta .label { letter-spacing: .16em; }
.slider__text { margin-top: 12px; }

.slider-nav { display: flex; gap: 10px; }
.slider-nav button {
  width: 52px;
  height: 52px;
  border: 1px solid var(--line-4);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.slider-nav button:hover { border-color: var(--accent); color: var(--accent); }

.beforeafter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-2);
}
.beforeafter > div {
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  border: 0;
}
.beforeafter .ph--after { background: repeating-linear-gradient(135deg, #1A1A1A 0 8px, #202020 8px 16px); }
.beforeafter .ph--after .ph__label { color: var(--dim); }

.strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.strip .ph {
  flex: 0 0 clamp(220px, 26vw, 340px);
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
}
/* na szerokim ekranie wszystkie zdjęcia w jednym rzędzie, bez przewijania */
@media (min-width: 1280px) {
  .strip--fit { overflow: visible; padding-bottom: 0; }
  .strip--fit .ph { flex: 1 1 0; min-width: 0; }
}

/* ---------- 13. Notatki pod treścią ---------- */
.form__note { font-size: 13px; color: var(--dim); }

/* ---------- 14. Pasek statystyk ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stats__item { padding: 36px 0 36px 28px; border-right: 1px solid var(--line); }
.stats__item:first-child { padding-left: 0; }
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: .98;
  color: var(--accent);
}
.stats__label { margin-top: 8px; }
.stats__sub {
  display: block;
  margin-top: 6px;
  font-size: .36em;
  line-height: 1.1;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---------- 15. Paski CTA ---------- */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px 0;
}
.bar--flush { padding: 0; }
.bar__text { display: flex; align-items: center; gap: 16px; }
.cta-title { font-size: clamp(2rem, 5vw, 4rem); }

.buybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
}
.buybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px var(--gutter);
  max-width: var(--wrap);
  margin: 0 auto;
}
.buybar__title {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--white);
}
.buybar__price { font-family: var(--display); font-size: 20px; color: var(--accent); }
.buybar__info { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.buybar__omnibus { font-size: 12px; color: var(--dim); }

/* ---------- 16. Stopka ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer--buybar { padding-bottom: 110px; }
.footer__logo { display: inline-block; line-height: 0; }
.footer__logo img { width: min(100%, 220px); height: auto; }
.footer__tagline { margin-top: 18px; font-size: 14px; color: var(--muted); }
.footer__nap { color: var(--white); font-weight: 600; }
.footer__links { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 15px; color: var(--muted); }
.footer__links a:hover { color: var(--accent); }
.footer__contact {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  font-style: normal;
  color: var(--muted);
}
.footer__contact a { color: var(--muted); }
.footer__contact a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--dim);
}
.footer__bottom a { color: var(--dim); }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- 17. Hero (strona główna) ----------
   Desktop: dwie kolumny ~55/45 – tekst po lewej,
   zdjęcie ze złotą poświatą po prawej, przyklejone do dołu.
   Mobile (≤860 px): zdjęcie leży pod tekstem po prawej stronie,
   gradient od lewej trzyma czytelność.
   ----------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg);
  padding-top: var(--nav-h);
}
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, var(--bg), rgba(10,10,10,0));
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  grid-template-areas:
    ".       photo"
    "content photo"
    ".       photo";
  grid-template-rows: 1fr auto 1fr;
  column-gap: clamp(24px, 4vw, 64px);
  min-height: calc(100svh - var(--nav-h));
}

.hero__content { grid-area: content; position: relative; z-index: 2; padding: 24px 0 56px; }

.hero__eyebrow {
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__title {
  margin: 18px 0 22px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(3.4rem, 4.8vw, 6rem);
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}
.hero__lead {
  max-width: 460px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.hero__cta {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* zdjęcie + złota poświata za postacią */
.hero__photo {
  grid-area: photo;
  position: relative;
  z-index: 0;
  align-self: end;
  justify-self: center;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero__photo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  width: 78%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .5) 0%, rgba(var(--accent-rgb), .18) 42%, rgba(var(--accent-rgb), 0) 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.hero__photo img {
  position: relative;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100svh - var(--nav-h) - 16px);
  object-fit: contain;
  object-position: bottom center;
}
/* fallback, gdy brakuje pliku zdjęcia */
.hero__photo.is-empty {
  aspect-ratio: 3/4;
  background: repeating-linear-gradient(135deg, #141414 0 8px, #1A1A1A 8px 16px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero__photo.is-empty::before { display: none; }
.hero__photo.is-empty::after {
  content: "hero / sylwetka (png z tłem przezroczystym)";
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

@media (max-width: 860px) {
  .hero { padding-top: 64px; }
  .hero__fade { display: none; }
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "content";
    grid-template-rows: auto;
    min-height: 0;
  }
  .hero__content { padding: 28px 0 44px; }
  /* mniejszy napis w dwóch liniach – nie wchodzi na głowę postaci */
  .hero__eyebrow { max-width: 60%; font-size: 11px; letter-spacing: .08em; }
  .hero__eyebrow .nowrap { display: block; }
  .hero__sep { display: none; }
  .hero__lead { max-width: 62%; }
  .hero__cta { max-width: min(62%, 340px); }
  /* węższy i mniejszy nagłówek – łamie się przed postacią, nie na niej */
  .hero__title { max-width: 60%; font-size: clamp(2.1rem, 9.6vw, 3.8rem); margin: 14px 0 16px; text-shadow: 0 2px 18px rgba(10,10,10,.55); }
  .hero__title .nowrap { white-space: normal; }
  .hero__lead { font-size: 17px; }
  .hero__cta { flex-direction: column; margin-top: 24px; gap: 12px; }
  .hero__cta .btn { width: 100%; }

  /* zdjęcie leży pod tekstem, od eyebrow do przycisków */
  .hero__photo {
    grid-area: content;
    align-self: stretch;
    justify-self: end;
    width: 64%;
    margin-top: clamp(28px, 9vw, 44px); /* oddech nad głową – zdjęcie nie dotyka menu */
    margin-right: calc(-1 * var(--gutter));
    display: block;
  }
  .hero__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 58% top;
    /* Wygaszamy samo zdjęcie (maska), a nie kładziemy ciemnej nakładki –
       nakładka przykrywała poświatę tylko w obrębie kontenera i było widać
       jego krawędź („podwójne” złote tło). */
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, #000 42%),
      linear-gradient(to top, transparent 0%, #000 30%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(to right, transparent 0%, #000 42%),
      linear-gradient(to top, transparent 0%, #000 30%);
    mask-composite: intersect;
  }
  /* poświata za głową i barkami – miękka elipsa bez twardych krawędzi */
  .hero__photo::before {
    top: 2%;
    left: 58%;
    width: 95%;
    height: 58%;
    aspect-ratio: auto;
    background: radial-gradient(closest-side, rgba(var(--accent-rgb), .45) 0%, rgba(var(--accent-rgb), .15) 55%, rgba(var(--accent-rgb), 0) 100%);
    filter: blur(40px);
  }
  .hero__photo.is-empty { aspect-ratio: auto; }
}

/* ---------- 18. Sekcja z nagłówkiem + tekstem obok ---------- */
.headrow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.headrow--rule { border-bottom: 1px solid var(--line-2); padding-bottom: 28px; }

/* ---------- 19. Karta produktu ---------- */
.product__media {
  aspect-ratio: 3/2;
  border: 0;
  border-bottom: 1px solid var(--line-2);
}
.product__body {
  padding: 30px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}
.product__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-2);
  padding-top: 22px;
}
.product__title { font-size: clamp(26px, 2.4vw, 38px); line-height: 1.16; }
.product__price {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--white);
}

.pkg { position: relative; display: flex; flex-direction: column; gap: 22px; }
.pkg__title { margin-top: 14px; font-size: 30px; line-height: 1.18; }
.pkg--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 50px rgba(var(--accent-rgb), .08);
}
.pkg__badge {
  position: absolute;
  top: -13px;
  left: 30px;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pkg__price { font-family: var(--display); font-size: 44px; line-height: 1; color: var(--accent); }
.pkg ul { border-top: 1px solid var(--line-2); padding-top: 22px; }
.pkg .btn { margin-top: auto; }

.offer { padding-top: clamp(32px, 5vw, 70px); padding-bottom: clamp(32px, 5vw, 70px); }
.main--buybar { padding-top: 110px; padding-bottom: 92px; }
.price-row { display: flex; align-items: baseline; gap: 16px; }
.price-omnibus { margin: 10px 0 28px; font-size: 13px; color: var(--dim); }
.price-now {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  color: var(--accent);
}
.price-old {
  font-family: var(--display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
  color: var(--dim);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.painpoint {
  border-left: 1px solid var(--line-2);
  padding: 4px 0 4px 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- 20. Instagram — siatka rolek ---------- */
.reels {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px)  { .reels { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .reels { grid-template-columns: repeat(6, 1fr); } }

/* Kafelek stoi na .ph — dopóki brakuje pliku wideo, widać
   szary placeholder z podpisem, tak jak przy zdjęciach. */
.reel {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 12px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.reel:hover { transform: translateY(-6px); border-color: var(--accent); }

.reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease), background .25s var(--ease);
}
.reel:hover .reel__overlay,
.reel:focus-visible .reel__overlay {
  opacity: 1;
  background: rgba(10,10,10,.62);
}
.reel__overlay svg { width: 28px; height: 28px; color: var(--accent); }

.btn__icon { flex: 0 0 auto; }

/* Na wąskich ekranach nick nie mieści się w jednej linii —
   przycisk idzie na pełną szerokość i centruje treść. */
@media (max-width: 560px) {
  .reels-cta { width: 100%; justify-content: center; padding-left: 16px; padding-right: 16px; }
}

/* ---------- 21. Animacja wejścia ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

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

/* ---------- 22. Drobne korekty responsywne ---------- */
@media (max-width: 760px) {
  .stats__item {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stats__item:last-child { border-bottom: 0; }
  .row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .footer__bottom { margin-top: 36px; }
  .section--head { padding-top: 104px; }
}

/* ---------- 23. Kontakt (wiadomości na Instagramie / Facebooku) ---------- */
.channel { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 38px 32px 34px; }
.channel--main {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 18px 50px rgba(var(--accent-rgb), .08);
}
.channel__head { display: flex; align-items: center; gap: 18px; }
.channel__icon {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1E1E1E;
  color: var(--accent);
}
.channel__title { font-size: 34px; line-height: 1.05; }
.channel__handle { margin-top: 4px; font-size: 15px; color: var(--muted); }
.channel__actions { margin-top: auto; gap: 22px; }

.example {
  max-width: 760px;
  border-left: 2px solid var(--accent);
  padding: 6px 0 6px 24px;
}
.example blockquote { margin-top: 12px; font-size: 18px; line-height: 1.6; color: var(--white); text-wrap: pretty; }

.contact__alt { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.contact__alt a { color: var(--white); }
.contact__alt a:hover { color: var(--accent); }

.section--head-sm { padding-bottom: clamp(48px, 6vw, 80px); }
.contact__nap { margin-bottom: 28px; font-size: 15px; font-weight: 600; color: var(--white); }
.contact__value {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}
.contact__value a { color: var(--white); }
.contact__value a:hover { color: var(--accent); }
.contact__value--text { font-family: var(--font); font-size: 17px; line-height: 1.5; }

/* ---------- 24. Sekcja lokalna („Gdzie trenujemy") ---------- */
.places {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  font-size: 14px;
  color: var(--dim);
}
.places li:not(:last-child)::after { content: "·"; margin: 0 10px; color: var(--line-5); }

/* ---------- 25. Strony prawne ---------- */
.draft-banner {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), .08);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.legal { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.legal .h3 { margin-top: 24px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 26. Strona 404 ---------- */
.error-page { min-height: 80svh; display: flex; align-items: center; padding: 48px 0; }
.error-page__logo { display: inline-block; margin-bottom: 40px; line-height: 0; }
.error-page__logo img { width: min(240px, 60vw); height: auto; }

/* Godziny treningów */
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin: 14px 0 0; font-size: 17px; }
.hours dt { color: var(--dim); }
.hours dd { margin: 0; color: var(--white); }

/* Cena premierowa */
.price-tag {
  align-self: center;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.countdown { color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.product__pricebox { display: flex; flex-direction: column; gap: 6px; }
.product__promo { font-size: 13px; color: var(--dim); }
.product__promo strong { color: var(--white); font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: .02em; }
[data-promo-note][hidden] { display: none !important; }
.offer [data-promo] { margin-bottom: 28px; }

/* Zapowiedź podwyżki ceny + licznik */
.price-up {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 560px;
  padding: 16px 20px;
  border: 1px solid var(--accent);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), .08);
}
.price-up__next { display: flex; flex-direction: column; gap: 4px; }
.price-up__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.price-up__value { font-family: var(--display); font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--white); }
.price-up__timer { display: flex; gap: 8px; }
.price-up__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 54px;
  padding: 8px 6px 6px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--line-2);
}
.price-up__unit b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.price-up__unit small { margin-top: 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.buybar__next { font-family: var(--display); font-weight: 400; font-size: 18px; color: var(--white); letter-spacing: .02em; }

/* Łamanie wierszy – uzupełnia sekcję 8 w main.js (sierotki) */
p, li, dd, blockquote, figcaption { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

/* Pasek zakupu na telefonie: jeden wiersz – nazwa + cena po lewej, przycisk po prawej */
@media (max-width: 640px) {
  .buybar__inner { flex-wrap: nowrap; gap: 12px; padding: 10px var(--gutter); }
  .buybar__info { flex-wrap: nowrap; gap: 8px; min-width: 0; white-space: nowrap; }
  .buybar__title, .buybar__price { font-size: 18px; }
  .buybar__omnibus { display: none; }
  .buybar .btn { flex-shrink: 0; }
  .main--buybar { padding-bottom: 72px; }
  .footer--buybar { padding-bottom: 84px; }
}

/* ---------- 27. Pakiety (trening personalny) ----------
   Dwie karty + godziny jako trzecia kolumna; na tablecie
   godziny schodzą pod karty, na telefonie wszystko w jednej kolumnie. */
.pkgs {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(240px, .8fr);
  align-items: stretch;
}
.pkgs__hours {
  align-self: start;
  padding: 30px 0 0 clamp(0px, 2vw, 28px);
  border-left: 1px solid var(--line-2);
}
@media (max-width: 1100px) {
  .pkgs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkgs__hours { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-2); padding: 28px 0 0; }
}
@media (max-width: 680px) {
  .pkgs { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* ---------- 28. Pola formularza (ankieta + panel) ---------- */
.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 20px;
}
.field { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--half { grid-column: span 1; }
.field[hidden] { display: none; }
@media (max-width: 600px) { .field--half { grid-column: 1 / -1; } }

.field__label {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
}
.field__req { color: var(--accent); }
.field__hint { margin: -4px 0 10px; font-size: 13px; color: var(--dim); }
.field__control + .field__hint { margin: 8px 0 0; }
.field__error { margin-top: 8px; font-size: 13px; font-weight: 600; color: #F08A7E; }
.field__error[hidden] { display: none; }

.field__control { position: relative; }
.field__control--unit .input { padding-right: 52px; }
.field__unit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--dim);
  pointer-events: none;
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  font: inherit;
  font-size: 16px; /* 16px = brak zoomu na iOS */
  color: var(--white);
  background: var(--bg-2);
  border: 1px solid var(--line-3);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input::placeholder { color: #6E6E6E; }
.input:hover { border-color: var(--line-5); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .18); }
.input--area { min-height: 104px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
select.input option { background: var(--bg-2); color: var(--white); }
.has-error .input { border-color: #F08A7E; }

/* kafelki wyboru (radio / checkbox) */
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 13px 16px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--muted);
  background: var(--bg-2);
  border: 1px solid var(--line-3);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.choice:hover { border-color: var(--line-5); color: var(--white); }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__box {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid var(--line-5);
  border-radius: 3px;
  display: grid;
  place-items: center;
  transition: background .15s var(--ease), border-color .15s var(--ease);
}
.choice input[type="radio"] + .choice__box { border-radius: 50%; }
.choice input:checked + .choice__box { background: var(--accent); border-color: var(--accent); }
.choice input[type="radio"]:checked + .choice__box::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--bg);
  border-radius: 50%;
}
.choice input[type="checkbox"]:checked + .choice__box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: translateY(-1px) rotate(45deg);
}
.choice:has(input:checked) { border-color: var(--accent); color: var(--white); background: rgba(var(--accent-rgb), .07); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.has-error .choice { border-color: rgba(240, 138, 126, .55); }

.choice--consent { width: 100%; background: transparent; font-size: 14px; }
.consents { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; }
.consents .form__note a { text-decoration: underline; text-underline-offset: 2px; }

.field--note {
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  border-left: 2px solid var(--line-5);
  background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.field--warn { color: var(--white); border-left-color: var(--accent); background: rgba(var(--accent-rgb), .08); }

/* pułapka na boty */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 29. Ankieta ---------- */
.survey {
  display: grid;
  grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.survey__aside { min-width: 0; }
.survey__main { position: relative; max-width: 900px; min-width: 0; }

.survey__waitlist {
  margin-top: 28px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  border: 1px solid var(--accent);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), .08);
}
.survey__waitlist[hidden] { display: none; }

.survey__facts { margin: 32px 0 0; display: flex; flex-direction: column; gap: 22px; }
.survey__fact { padding-left: 18px; border-left: 2px solid var(--accent); }
.survey__fact dd { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.survey__how {
  margin-top: 32px;
  padding: 22px 22px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}
.survey__howlist { margin: 16px 0 0; padding: 0; list-style: none; }
.survey__howlist li {
  display: block;
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.survey__howlist li + li { margin-top: 12px; }
.survey__howlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}
.survey__howlist strong { color: var(--white); font-weight: 700; }

.survey__progress { margin-bottom: 32px; }
.survey__progress[hidden] { display: none; }
.survey__bar { margin-top: 12px; height: 3px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.survey__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .35s var(--ease); }

.survey__form[hidden],
.survey__step[hidden] { display: none; }
.survey__head { margin-bottom: 30px; }
.survey__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.survey__title:focus { outline: none; }
.survey__intro { margin-top: 10px; max-width: 620px; }

.survey__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-2);
}
.survey__nav .btn:disabled { opacity: .6; cursor: progress; }
.survey__nav [data-next],
.survey__nav [data-submit] { margin-left: auto; }
.survey__nav [hidden] { display: none; }


.survey__error {
  margin-top: 28px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--white);
  border: 1px solid #F08A7E;
  border-left-width: 4px;
  border-radius: var(--radius);
  background: rgba(240, 138, 126, .08);
}
.survey__error:focus { outline: none; }
.survey__error[hidden] { display: none; }
.survey__error a { text-decoration: underline; text-underline-offset: 2px; }

.survey__done {
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), .06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.survey__done:focus { outline: none; }
.survey__done[hidden] { display: none; }
.survey__check {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-size: 26px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .survey { grid-template-columns: minmax(0, 1fr); }
  .survey__aside { position: static; }
}
@media (max-width: 600px) {
  .survey__nav { flex-wrap: wrap; }
  .survey__nav .btn { flex: 1 1 auto; }
}

/* ---------- 30. Panel zgłoszeń (panel.html) ---------- */
.panel-body { min-height: 100svh; }
.panel-top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.panel-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px var(--gutter);
}
.panel-top__logo img { height: 22px; width: auto; }
.panel-top__user { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

.panel-login {
  min-height: 80svh;
  display: grid;
  place-items: center;
  padding: 48px var(--gutter);
}
.panel-login__box { max-width: 440px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.panel-login__logo img { width: 200px; height: auto; }

.panel { padding: 28px var(--gutter) 80px; }
.panel[hidden], .panel-login[hidden], [data-panel-user][hidden] { display: none; }

.panel-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.panel-toggle { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.panel-toggle input { width: 18px; height: 18px; accent-color: var(--accent); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line-3);
  border-radius: 999px;
  cursor: pointer;
}
.tab:hover { color: var(--white); border-color: var(--line-5); }
.tab.is-active { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.tab__count { font-variant-numeric: tabular-nums; opacity: .8; }

.panel-grid {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 960px) {
  .panel-grid { grid-template-columns: minmax(0, 1fr); }
  .panel-grid.has-detail .panel-list { display: none; }
}

.panel-list { display: flex; flex-direction: column; gap: 8px; }
.panel-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 14px 16px;
  text-align: left;
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.panel-item:hover { border-color: var(--line-5); }
.panel-item.is-active { border-color: var(--accent); }
.panel-item__name { font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 8px; min-width: 0; }
.panel-item__name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-item__date { font-size: 12px; color: var(--dim); white-space: nowrap; }
.panel-item__meta { grid-column: 1 / -1; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-item .dot { border-radius: 50%; width: 8px; height: 8px; }

.pill {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--line-4);
  color: var(--muted);
  white-space: nowrap;
}
.pill--nowe { border-color: var(--accent); color: var(--accent); }
.pill--oczekujace { border-color: #7EA6F0; color: #9DBBF4; }
.pill--oplacone, .pill--plan { border-color: #6FCF97; color: #8FDCAE; }
.pill--odrzucone, .pill--zakonczone { color: var(--dim); }

.panel-detail {
  background: var(--bg-1);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 34px);
  min-width: 0;
}
.panel-detail__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; align-items: flex-start; }
.panel-detail__name { font-size: clamp(30px, 3vw, 42px); line-height: 1.05; }
.panel-detail__contact { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.panel-detail__contact a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-5); }
.panel-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.panel-detail__status { min-width: 210px; }

.panel-block { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.panel-block__title { margin-bottom: 16px; }
.answers { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); gap: 0; }
.answers dt, .answers dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.5; }
.answers dt { color: var(--dim); padding-right: 20px; }
.answers dd { color: var(--white); white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .answers { grid-template-columns: minmax(0, 1fr); }
  .answers dt { border-bottom: 0; padding-bottom: 0; }
}

.btn--danger { border-color: #F08A7E; color: #F6B1A9; background: transparent; }
.btn--danger:hover { background: rgba(240, 138, 126, .1); color: #FFFFFF; }
.panel-note { font-size: 13px; color: var(--dim); }
.panel-msg { margin: 0 0 16px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; border: 1px solid var(--line-3); color: var(--muted); }
.panel-msg--error { border-color: #F08A7E; color: var(--white); background: rgba(240, 138, 126, .08); }
.panel-msg[hidden] { display: none; }
.panel-empty { padding: 40px 0; color: var(--dim); }
.panel-search { min-height: 44px; width: 280px; max-width: 100%; flex: 0 1 280px; }
button.link-underline { background: none; border: 0; border-bottom: 1px solid var(--accent); border-radius: 0; cursor: pointer; padding: 0 0 3px; }
.panel-detail .btn:disabled { opacity: .45; cursor: default; filter: none; box-shadow: none; }

/* Okienko „Kliknięcia Kup” */
.panel-box { margin-bottom: 20px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius); }
.panel-box[open] { border-color: var(--line-4); }
.panel-box__summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.panel-box__summary::-webkit-details-marker { display: none; }
.panel-box__summary::after { content: "+"; font-size: 18px; color: var(--dim); }
.panel-box[open] .panel-box__summary::after { content: "−"; }
.panel-box__summary .panel-note { margin-left: auto; }
.panel-box__body { padding: 4px 18px 18px; }
.panel-box__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 16px; }
.panel-box__field { display: flex; flex-direction: column; gap: 6px; min-width: 200px; flex: 0 1 240px; }
.clicks-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.clicks-table th, .clicks-table td { padding: 10px 12px 10px 0; text-align: left; border-bottom: 1px solid var(--line); }
.clicks-table thead th { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.clicks-table td { color: var(--white); font-variant-numeric: tabular-nums; }
.clicks-table td:last-child, .clicks-table th:last-child { text-align: right; padding-right: 0; }
.clicks-table tfoot th, .clicks-table tfoot td { border-bottom: 0; font-weight: 700; color: var(--white); }

/* ---------- 31. Strona główna: produkty i plan online ---------- */
.offer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offer-grid .product__media { display: block; }
@media (max-width: 760px) { .offer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 32. Plan i trening: fakty, zdjęcie z sali ---------- */
.plan-facts { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.plan-facts li { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.plan-facts strong { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: .02em; color: var(--white); }
.plan-facts li:first-child strong { color: var(--accent); font-size: clamp(32px, 3vw, 44px); }

.plan-note {
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  background: var(--bg-1);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.gym-photo { aspect-ratio: 2/3; max-width: 420px; width: 100%; border-radius: var(--radius); overflow: hidden; border-color: var(--line-2); }
@media (max-width: 720px) { .gym-photo { max-width: none; } }

/* ---------- 33. Po kontuzji ---------- */
.injury-photo { aspect-ratio: 4/5; max-width: 560px; width: 100%; justify-self: end; border-radius: var(--radius); overflow: hidden; border-color: var(--line-2); }
@media (max-width: 720px) { .injury-photo { justify-self: stretch; max-width: none; } }
.text-white { color: var(--white); font-weight: 600; }

/* ---------- 34. Prosta postawa: film z e-booka ---------- */
.ebook-video { display: flex; align-items: flex-end; gap: 20px; margin-left: 0; margin-right: 0; }
.ebook-video__frame { flex: 0 0 200px; aspect-ratio: 9/16; overflow: hidden; border-radius: var(--radius); border-color: var(--line-2); padding: 12px; }
.ebook-video__caption { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 32ch; }
@media (max-width: 480px) {
  .ebook-video { flex-direction: column; align-items: stretch; }
  .ebook-video__frame { flex-basis: auto; width: 100%; max-width: 280px; }
}
