/* ==========================================================================
   FITZAPASY – główny arkusz stylów
   0. Fonty           5. Sekcje
   1. Tokeny          6. Koszyk
   2. Baza            7. Strony prawne
   3. Układ           8. Podstrona „Trening personalny Poznań”
                      9. Responsywność
   4. Komponenty
   ========================================================================== */

/* 0. Fonty (hostowane lokalnie, licencja SIL OFL – patrz assets/fonts) ------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.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: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-wght-normal.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;
}

@font-face {
  font-family: "Oswald";
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url("../fonts/oswald-latin-ext-wght-normal.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;
}

/* 1. Tokeny ---------------------------------------------------------------- */
:root {
  --bg: #0e0e0e;
  --bg2: #161616;
  --card: #1c1c1c;
  --line: #2e2e2e;
  --line-soft: #262626;
  --red: #d1241a;
  --red-dark: #b81e15;
  /* Czerwień do drobnego tekstu – jaśniejsza od --red, by mieć kontrast ≥ 4,5:1 (WCAG AA) na wszystkich tłach */
  --red-text: #f04a3f;
  --tx: #ededed;
  --tx-soft: #c4c4c4;
  --mut: #b5b5b5;
  --dim: #9a9a9a;
  --gold: #f5b52e;

  --font-body: Inter, system-ui, sans-serif;
  --font-display: Oswald, sans-serif;

  /* Kolory wariantów gum */
  --band-green: #2eaa4a;
  --band-pink: #e85d9e;
  --band-blue: #2b8ce0;
  --band-orange: #f28a1e;
  --band-red: #d1241a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font: 17px/1.55 var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2,
.num,
.big {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  color: #fff;
}

h1 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 50;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

/* 3. Układ ----------------------------------------------------------------- */
.w {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.w--narrow {
  max-width: 900px;
}

section {
  padding: 88px 0;
}

.alt {
  background: var(--bg2);
}

.section--bordered {
  border-top: 1px solid var(--line-soft);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.gap-18 { gap: 18px; }
.gap-24 { gap: 24px; }
.gap-28 { gap: 28px; }
.gap-36 { gap: 36px; }
.gap-40 { gap: 40px; }
.gap-48 { gap: 48px; }
.gap-56 { gap: 56px; }

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}

.row--top {
  align-items: flex-start;
}

.row--reverse {
  flex-direction: row-reverse;
}

.col {
  flex: 1 1 440px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.grid {
  display: grid;
  gap: 20px;
}

.g3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--products { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid--paths { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--lists { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.grid--social { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.grid--contact { gap: 16px; }

/* 4. Komponenty ------------------------------------------------------------ */

/* Typografia sekcji */
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--red-text);
}

.lead {
  font-size: 20px;
  color: var(--tx-soft);
  max-width: 600px;
  margin: 0;
}

.section-head .lead {
  margin-top: 16px;
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.h-mid { font-size: clamp(30px, 4vw, 44px); }

.note {
  margin: 0;
  font-size: 14px;
  color: var(--dim);
}

.note--xs { font-size: 13px; max-width: 720px; }

.cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a8a8a8;
  margin: 0;
}

.list-title {
  margin-bottom: 10px;
}

/* Treść długich kolumn tekstowych */
/* :where() zeruje specyficzność – klasy komponentów (.eyebrow, .cat…) wygrywają */
:where(.prose) p {
  margin: 0;
  color: var(--tx-soft);
}

:where(.prose) > h3:not(:first-child) {
  margin-top: 18px;
}

.em,
.lead--light {
  color: #fff;
}

.list {
  margin: 0;
  padding-left: 20px;
  color: var(--tx-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list--tight {
  gap: 6px;
}

.callout {
  margin: 0;
  color: #fff;
  border-left: 3px solid var(--red);
  padding-left: 14px;
}

.link {
  text-decoration: underline;
}

/* Przyciski */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: 16px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--red);
  cursor: pointer;
}

.btn:hover { background: var(--red-dark); }
.btn.o { background: none; border-color: #fff; }
.btn.o:hover { background: #fff; color: #000; }
.btn.s { padding: 10px 18px; font-size: 13px; }

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.chip {
  display: inline-block;
  border: 1px solid #4a4a4a;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  color: #e0e0e0;
}

/* Karty */
.cc {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cc > span {
  color: var(--mut);
  font-size: 15px;
}

.cc b { font-size: 20px; }
.cc small { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--mut); }
.cc.r { background: var(--red); border-color: var(--red); }
.cc.r small,
.cc.r > span { color: #fff; }

.cc--tip {
  margin-top: 16px;
  gap: 8px;
}

/* Kontener zdjęcia */
.ph {
  position: relative;
  background: linear-gradient(135deg, #232323, #171717);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d7d7d;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

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

.ph--tall {
  height: 560px;
}

/* Kadrowanie zdjęć (object-position w pionie) */
.focus-15 { object-position: center 15%; }
.focus-18 { object-position: center 18%; }
.focus-30 { object-position: center 30%; }
.focus-55 { object-position: center 55%; }
.focus-60 { object-position: center 60%; }

/* Statystyki / korzyści */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.stats > div {
  border-top: 3px solid var(--red);
  padding-top: 12px;
}

.num {
  font-size: 21px;
  display: block;
}

/* Warianty kolorystyczne gum */
.c-green  { --band: var(--band-green); }
.c-pink   { --band: var(--band-pink); }
.c-blue   { --band: var(--band-blue); }
.c-orange { --band: var(--band-orange); }
.c-red    { --band: var(--band-red); }

.scale {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
}

.scale span {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  background: var(--band);
}

.scl {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--dim);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--band);
}

/* Karta produktu */
.prod {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 4px solid var(--band);
  padding-top: 14px;
}

.prod .ph { height: 310px; }
.prod h3 { font-size: 21px; }
.prod p { margin: 0; color: var(--mut); font-size: 15px; }
.prod .spec { font-size: 13px; color: var(--dim); margin-top: auto; }
.prod .btn { margin-top: 4px; }

.prod .price {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
}

/* Karuzela zdjęć */
.car {
  position: relative;
  height: clamp(400px, 58vw, 620px);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid #2a2a2a;
}

.car--portrait {
  height: 560px;
  max-width: 440px;
  width: 100%;
}

.sl {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}

.sl.on {
  opacity: 1;
  visibility: visible;
}

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

.car--portrait .sl img {
  object-fit: contain;
  z-index: 1;
}

.sl figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
  text-shadow: 0 2px 12px #000;
}

.sl figcaption b {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  font-style: italic;
  color: #fff;
  line-height: 1.1;
}

.sl figcaption span {
  font-size: 15px;
  color: #e0e0e0;
  max-width: 520px;
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(10, 10, 10, 0.92));
  z-index: 2;
  pointer-events: none;
}

.trust {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(14, 14, 14, 0.75);
  border-left: 3px solid var(--red);
  padding: 6px 12px;
}

.ctl {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots button {
  width: 28px;
  height: 4px;
  border: 0;
  padding: 0;
  background: #777;
  cursor: pointer;
  border-radius: 2px;
}

.dots button[aria-current="true"] {
  background: var(--red);
}

.ar {
  width: 40px;
  height: 40px;
  border: 1px solid #6a6a6a;
  background: rgba(14, 14, 14, 0.6);
  color: #fff;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.ar:hover {
  background: var(--red);
  border-color: var(--red);
}

/* FAQ */
details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 19px;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--red);
  font-size: 26px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 12px 0 0;
  color: var(--mut);
}

/* 5. Sekcje ---------------------------------------------------------------- */

/* Pasek informacyjny i nagłówek */
.top {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 16px;
  text-transform: uppercase;
}

.site-header {
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  background: rgba(14, 14, 14, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9;
}

.site-header .w {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header .logo {
  height: 52px;
  width: auto;
}

.main-nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d6d6d6;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

/* Przycisk menu („burger”) – widoczny tylko na wąskich ekranach */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 11px;
  background: #171717;
  border: 1px solid #555;
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--red);
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Ikona zmienia się w „X”, gdy menu jest otwarte */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@keyframes nav-slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* Treningi – kafle kierunków */
.path {
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  padding: 28px;
  color: #fff;
  text-align: left;
}

.path::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 15%, rgba(0, 0, 0, 0.9));
}

.path .big {
  font-size: 38px;
  line-height: 1;
}

.path span {
  z-index: 1;
  color: var(--tx-soft);
  text-align: left;
}

.path .big { color: #fff; }
.path .trainer { font-size: 14px; }

.path .more {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
}

/* Opinie */
.review-section {
  padding-top: clamp(38px, 5vw, 62px);
  padding-bottom: clamp(38px, 5vw, 62px);
}

.review-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  margin: 0 auto 22px;
}

.review-heading > div {
  max-width: 760px;
  width: 100%;
}

.review-heading .eyebrow { margin: 0 0 8px; }
.review-heading h2 { font-size: clamp(25px, 3.5vw, 38px); line-height: 1.08; margin: 0 0 9px; }
.review-heading .lead { margin: 0 auto; }

.review-carousel {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(20px, 3.5vw, 30px);
  min-height: 230px;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.review-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mut);
  font-size: 11px;
  letter-spacing: 1.6px;
  font-weight: 800;
}

.review-google { color: var(--gold); }
.review-count { font-variant-numeric: tabular-nums; letter-spacing: 1px; }

.review-content {
  text-align: center;
  padding: 17px 5px 18px;
}

.review-stars {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 19px;
  margin-bottom: 12px;
}

.review-text {
  max-width: 650px;
  margin: 0 auto 16px;
  color: #fff;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
  min-height: 54px;
}

.review-author {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.review-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.2s;
}

.review-dots button[aria-current="true"] {
  width: 22px;
  border-radius: 8px;
  background: var(--gold);
}

.review-arrows {
  display: flex;
  gap: 8px;
}

.review-arrows button {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.review-arrows button:hover {
  background: #f05a22;
  border-color: #f05a22;
}

.review-footnote {
  max-width: 820px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 11px;
  color: var(--mut);
}

/* Trening personalny */
.fitness-body {
  flex: 1 1 520px;
  gap: 20px;
}

.fitness-photo {
  flex: 0 1 400px;
  width: 100%;
}

.fitness-photo .ph {
  aspect-ratio: 800 / 1207;
  width: 100%;
}

/* Ramka w proporcjach zdjęcia (599×1100) – całe zdjęcie bez przycinania */
.fitness-photo .ph--full {
  aspect-ratio: 599 / 1100;
}

.collab-col {
  flex: 1 1 420px;
  gap: 16px;
}

.cta-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 28px;
}

.cta-box .big {
  font-size: 28px;
  line-height: 1.1;
}

/* Cennik treningów */
.pricing {
  max-width: 1000px;
}

.pricing-head {
  text-align: center;
  margin-bottom: 8px;
}

.pricing-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 8px 0 12px;
}

.pricing-head .lead {
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

.pricing-group {
  margin-top: 32px;
}

.pricing-group + .pricing-group {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.pricing-group-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 16px;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
}

.pricing-group-title small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--mut);
}

.pricing-group-intro {
  margin: -4px 0 16px;
  font-size: 15px;
  color: var(--tx-soft);
}

.pricing-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.pricing-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.price-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* :where() – reset bez podnoszenia specyficzności, klasy elementów karty go nadpisują */
:where(.price-card) p {
  margin: 0;
}

.price-card--featured,
.price-card--single {
  border-color: var(--red);
}

.price-card--dark {
  background: #121212;
}

.price-card-badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 4px 7px;
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.price-card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #a8a8a8;
}

.price-card-amount {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--red);
  white-space: nowrap;
}

.price-card > .price-card-amount {
  margin: 14px 0 12px;
}

.price-card-per {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.price-card-saving {
  margin-top: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a8a8a8;
}

.price-card--featured .price-card-saving {
  color: var(--red-text);
  font-weight: 800;
}

.price-card-desc {
  margin-top: 12px;
  font-size: 13px;
  color: var(--tx-soft);
}

.price-card > .btn {
  margin-top: auto;
  text-align: left;
}

.price-card > .price-card-desc {
  margin-bottom: 18px;
}

/* Karta pojedynczego treningu – opis po lewej, cena i przycisk po prawej */
.price-card--single {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 24px 20px;
}

.price-card--single + .pricing-grid {
  margin-top: 14px;
}

.price-card--single h4 {
  margin: 8px 0 10px;
  font-size: 22px;
  color: #fff;
}

.price-card--single .price-card-desc {
  margin-top: 0;
  font-size: 15px;
}

.price-card-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: none;
}

.price-card-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.price-card-unit {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mut);
}

.pricing-note {
  margin: 28px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--mut);
}

.pricing-note a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

/* Trenerzy */
.coach-media {
  flex: 0 1 440px;
  width: 100%;
}

.coach-body {
  flex: 1 1 480px;
  gap: 20px;
}

.coach-name {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin-top: 8px;
}

.coach-role {
  margin-top: 8px;
}

.ig-follow {
  padding-top: 0;
  padding-bottom: 64px;
}

.ig-follow h3 {
  font-size: clamp(26px, 3vw, 36px);
}

.ig-follow .intro {
  color: var(--tx-soft);
  margin: 8px 0 0;
}

.ig-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #fff;
}

.ig-card > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ig-card strong { font-size: 18px; }
.ig-card .handle { color: #aaa; font-size: 14px; }
.ig-card .desc { font-size: 13px; color: var(--tx-soft); }
.ig-card .btn { white-space: nowrap; }

/* Wideo */
.reels {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 12px;
}

.reel {
  flex: 0 0 min(330px, 86vw);
  scroll-snap-align: start;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  overflow: hidden;
  background: #050505;
  border: 1px solid #2a2a2a;
}

.reel-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #050505;
}

.reel figcaption {
  color: var(--mut);
  font-size: 13px;
}

/* Kontakt */
.contact-intro {
  margin: 0;
  color: var(--mut);
  max-width: 640px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-action {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  color: #fff;
  min-width: 0;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.contact-action:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.contact-symbol {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 26px;
}

.contact-action--whatsapp .contact-symbol {
  background: rgba(37, 211, 102, 0.15);
  color: #4be28a;
}

.contact-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.contact-action small {
  color: var(--mut);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-action strong {
  font-size: 21px;
  line-height: 1.2;
}

.contact-action em {
  font-size: 14px;
  font-style: normal;
  color: #ccc;
  overflow-wrap: anywhere;
}

.contact-arrow {
  margin-left: auto;
  font-size: 23px;
  color: #aaa;
}

.grid--contact .cc > span {
  font-size: 14px;
}

/* Stopka */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 36px 0;
  color: var(--dim);
  font-size: 14px;
}

.site-footer .w {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.site-footer .logo {
  height: 60px;
  width: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  color: var(--mut);
}

/* 6. Koszyk ---------------------------------------------------------------- */
.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #171717;
  border: 1px solid #555;
  color: #fff;
  padding: 11px 16px;
  border-radius: 4px;
  font: 700 13px/1.2 var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.cart-trigger:hover {
  border-color: var(--red);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-panel {
  position: fixed;
  z-index: 31;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(480px, 100%);
  background: #141414;
  border-left: 1px solid #333;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s;
  display: flex;
  flex-direction: column;
  padding: 26px;
  box-shadow: -20px 0 60px #0008;
}

/* Przy otwieraniu panel jest widoczny od razu (żeby dało się przenieść na niego fokus),
   przy zamykaniu znika dopiero po zakończeniu animacji. */
.cart-panel.open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.25s ease, visibility 0s;
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 18px;
}

.cart-head h2 {
  font-size: 32px;
}

.cart-close {
  background: none;
  border: 1px solid #555;
  color: #fff;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  flex: 1;
  padding: 16px 0;
}

.cart-empty {
  color: #aaa;
  padding: 28px 0;
  margin: 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #2d2d2d;
}

.cart-item b { color: #fff; }
.cart-item small { display: block; color: #aaa; margin-top: 4px; }

.cart-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
}

.cart-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid #555;
  background: #222;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
}

.cart-controls .cart-remove {
  border: 0;
  background: none;
  color: #e45a52;
  width: auto;
  text-decoration: underline;
  font-size: 12px;
}

.cart-bottom {
  border-top: 1px solid #333;
  padding-top: 18px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-checkout {
  width: 100%;
}

.cart-note {
  color: #999;
  font-size: 12px;
  line-height: 1.5;
  margin: 12px 0 0;
}

.cart-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cart-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--tx-soft);
  cursor: pointer;
}

.cart-consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

.cart-consent a,
.cart-note a {
  text-decoration: underline;
}

.no-scroll {
  overflow: hidden;
}

/* Komunikat „Dodano do koszyka” */
.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px 16px 14px 18px;
  background: var(--card);
  border: 1px solid #444;
  border-left: 4px solid var(--red);
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  font-size: 14px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.cart-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.cart-toast-link {
  flex: none;
  padding: 8px 12px;
  background: var(--red);
  border: 0;
  border-radius: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
}

.cart-toast-link:hover {
  background: var(--red-dark);
}

@keyframes cart-bump {
  50% { transform: scale(1.35); }
}

.cart-count.is-bumped {
  animation: cart-bump 0.3s ease;
}

/* 7. Strony prawne (regulamin, polityka prywatności) ------------------------ */
.legal-header .w {
  justify-content: space-between;
}

.legal-back {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d6d6d6;
}

.legal-back:hover {
  color: #fff;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 88px;
  color: var(--tx-soft);
  font-size: 16px;
  line-height: 1.7;
}

.legal h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin: 8px 0 12px;
}

.legal .updated {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--dim);
}

.legal h2 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.15;
  margin: 44px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal h3 {
  font-size: 17px;
  color: #fff;
  margin: 24px 0 8px;
}

.legal p,
.legal ul,
.legal ol {
  margin: 0 0 14px;
}

.legal ol,
.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 6px;
}

.legal a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

.legal strong {
  color: #fff;
}

.legal .toc {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 18px 22px 18px 40px;
  columns: 2 220px;
}

.legal .box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 22px;
  margin: 0 0 14px;
}

.legal .box p:last-child {
  margin-bottom: 0;
}

/* Brakujące dane do uzupełnienia przed publikacją – celowo rzucają się w oczy */
.todo {
  background: #f5c518;
  color: #000;
  padding: 0 4px;
  border-radius: 2px;
  font-style: normal;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 8. Podstrona „Trening personalny Poznań” ------------------------------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--dim);
}

.breadcrumbs a {
  color: var(--mut);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs [aria-current] {
  color: var(--tx-soft);
}

.tp-hero {
  padding-top: 40px;
}

.tp-hero-photo {
  flex: 0 1 420px;
}

.tp-hero-photo .ph {
  aspect-ratio: 729 / 1100;
  width: 100%;
}

.tp-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.tp-facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 3px solid var(--red);
}

.tp-facts b {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
}

.tp-facts span {
  font-size: 14px;
  color: var(--mut);
}

.tp-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.tp-steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  counter-increment: step;
}

.tp-steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--red);
}

.tp-steps b {
  font-size: 19px;
  color: #fff;
}

.tp-steps span {
  font-size: 15px;
  color: var(--mut);
}

.tp-quote {
  margin: 0;
  gap: 14px;
}

.tp-quote p {
  margin: 0;
  color: var(--tx);
  font-size: 16px;
  line-height: 1.6;
}

.tp-quote footer {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}

.tp-map {
  margin-top: 10px;
  font-size: 14px;
}

.tp-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.tp-cta > div:first-child {
  flex: 1 1 380px;
}

.tp-cta p {
  margin: 12px 0 0;
  color: var(--tx-soft);
  max-width: 560px;
}

/* 9. Responsywność --------------------------------------------------------- */
@media (max-width: 960px) {
  .site-header .w { flex-wrap: nowrap; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: flex; }

  /* Menu rozwijane pod nagłówkiem; domyślnie ukryte */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 100%);
    overflow-y: auto;
    padding: 8px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }

  .site-header.nav-open .main-nav {
    display: flex;
    animation: nav-slide-in 0.2s ease;
  }

  .main-nav a:not(.btn) {
    padding: 16px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }

  .main-nav .btn {
    margin-top: 20px;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .pricing-grid--3 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  section { padding: 60px 0; }

  .pricing-grid--2 { grid-template-columns: 1fr; }
  .price-card--single { flex-direction: column; align-items: stretch; }
  .price-card-buy { align-items: flex-start; }
  .price-card-cta { flex-wrap: wrap; }

  .header-actions .cart-trigger { padding: 9px 11px; }

  .prod { padding-bottom: 14px; }
  .car { height: clamp(360px, 110vw, 520px); }
  .car--portrait { height: 480px; }

  .scale span { font-size: 9px; letter-spacing: 0; padding: 8px 2px; }

  .cart-panel { padding: 20px; }
}

@media (max-width: 650px) {
  .contact-actions { grid-template-columns: 1fr; }
  .contact-action { padding: 18px 20px; }
}

@media (max-width: 640px) {
  .review-heading { margin-bottom: 16px; }
  .review-carousel { min-height: 245px; padding: 18px; }
  .review-text { min-height: 90px; }
  .review-content { padding: 20px 0; }
  .review-dots { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header.nav-open .main-nav { animation: none; }
  .cart-toast { transition: none; }
  .cart-count.is-bumped { animation: none; }
  .nav-toggle-bar { transition: none; }
  .sl,
  .review-dots button,
  .review-arrows button,
  .contact-action,
  .cart-panel,
  .cart-overlay { transition: none; }
}
