/* ==========================================================
   Jakub Płocheć — trener personalny
   Jeden arkusz stylów dla całej strony.
   Kolory i odstępy zmienisz w sekcji :root poniżej.
   ========================================================== */

:root {
  --bg: #f6f2ea;
  --bg-soft: #e8dfd2;
  --card: #fbf9f5;
  --ink: #272925;
  --ink-soft: #55524c;
  --brown: #8a6446;
  --brown-dark: #6f4f36;
  --line: #ddd2c2;
  --dark: #262824;
  --radius: 14px;
  --radius-lg: 22px;
  --gap: clamp(16px, 2.4vw, 28px);
  --section: clamp(48px, 7vw, 96px);
  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 4px; }

/* ---------- typografia ---------- */
.eyebrow {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brown); margin-bottom: 14px;
}
.on-dark .eyebrow { color: #c9a583; }
h1 { font-size: clamp(32px, 5.2vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-soft); }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brown); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 28px; border-radius: 10px; border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
  text-align: center;
}
.btn:hover { background: var(--brown-dark); transform: translateY(-1px); }
.btn-sm { padding: 12px 20px; font-size: 12px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px;
}
.link-arrow::after { content: "→"; text-decoration: none; display: inline-block; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

/* ---------- nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { text-decoration: none; display: block; line-height: 1.1; }
.brand strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: 0.03em; }
.brand small { display: block; font-size: 10px; letter-spacing: 0.16em; color: var(--ink-soft); margin-top: 3px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a.nav-link {
  text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav a.nav-link:hover { color: var(--brown); }
.nav a.nav-link[aria-current="page"] { font-weight: 700; border-bottom-color: var(--ink); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px clamp(16px, 4vw, 32px) 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a.nav-link { padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav a.nav-link[aria-current="page"] { border-bottom-color: var(--brown); color: var(--brown); }
  .nav .btn { margin-top: 18px; }
}

/* ---------- sekcje ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding: clamp(32px, 4vw, 56px) 0; }
.band-soft { background: var(--bg-soft); }
.band-dark { background: var(--dark); color: #f1ece3; }
.band-dark .muted, .band-dark .lead { color: #c9c3b8; }
.section-head { margin-bottom: clamp(24px, 3.5vw, 40px); max-width: 720px; }
.section-head p { margin-top: 14px; }

.split { display: grid; gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split.rev > :first-child { order: 2; }
  .split.even { grid-template-columns: 1fr 1fr; }
}

.photo {
  width: 100%; object-fit: cover; border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
.photo-hero { aspect-ratio: 4 / 5; max-height: 640px; }
.photo-sq { aspect-ratio: 1 / 1; }
.photo-wide { aspect-ratio: 4 / 3; }
.photo-land { aspect-ratio: 3 / 2; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 var(--section); }
.hero h1 { margin-bottom: 22px; max-width: 16ch; }
.hero .lead { margin-bottom: 0; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 36px 0 0; padding: 0; list-style: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.hero-badges li { display: flex; align-items: center; gap: 22px; }
.hero-badges li + li::before { content: "•"; color: var(--brown); margin-right: 0; }

.page-hero { padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 56px); }
.page-hero h1 { margin-bottom: 20px; max-width: 18ch; }

/* ---------- panel „pierwsze spotkanie" ---------- */
.panel { background: var(--bg-soft); border-radius: var(--radius-lg); padding: clamp(20px, 3.4vw, 40px); }
.panel h2 { margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--brown-dark); letter-spacing: .04em; }
.tags li + li::before { content: "•"; margin-right: 12px; color: var(--brown); }

/* ---------- trzy filary (ciemny pasek) ---------- */
.pillars { display: grid; gap: 0; border-radius: var(--radius-lg); background: var(--dark); color: #f1ece3; overflow: hidden; }
.pillar { padding: 26px 28px; }
.pillar h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.pillar p { color: #cfc9bd; font-size: 15px; margin: 0; }
.pillar + .pillar { border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar + .pillar { border-top: 0; border-left: 1px solid rgba(255,255,255,.12); }
}

/* ---------- baner ze zdjęciem ---------- */
.banner { border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); color: #fff; }
.banner img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 50%; }
.banner-text { padding: clamp(22px, 4vw, 40px); }
.banner-text h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: .01em; margin-bottom: 14px; }
.banner-text p { color: #e6dfd3; max-width: 40ch; }
@media (min-width: 900px) {
  .banner { position: relative; display: grid; min-height: 420px; }
  .banner img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 60% 50%; }
  .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,24,.78) 0%, rgba(20,22,24,.45) 42%, rgba(20,22,24,0) 70%); }
  .banner-text { position: relative; z-index: 2; align-self: center; max-width: 520px; padding: 56px; }
}

/* ---------- galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- „Jak wygląda trening?" ---------- */
.steps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.steps-head .section-head { margin: 0; }
.step-nav { display: none; gap: 10px; }
.step-nav.is-visible { display: flex; }
.step-nav button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 20px; cursor: pointer; display: grid; place-items: center; transition: background .2s, opacity .2s;
}
.step-nav button:hover:not(:disabled) { background: var(--ink); color: #fff; }
.step-nav button:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.steps {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.steps::-webkit-scrollbar { display: none; }
.step { flex: 0 0 min(78%, 320px); scroll-snap-align: start; }
.step-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-soft); }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num {
  position: absolute; top: 12px; left: 12px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--brown); color: #fff; font-weight: 700; font-size: 17px; display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.step h3 { margin: 16px 0 8px; }
.step p { font-size: 15px; color: var(--ink-soft); }
@media (min-width: 1000px) {
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; scroll-snap-type: none; }
  .step { flex: none; }
}

.note {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-soft); border-radius: var(--radius); padding: 22px 26px; margin-top: clamp(28px, 4vw, 44px);
}
.note svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--ink); margin-top: 2px; }
.note p { font-size: 16px; }

/* ---------- zasady pracy ---------- */
.rules { background: var(--dark); color: #f1ece3; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.rules-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.16); margin-bottom: 28px; }
.rules-head h2 { font-size: clamp(24px, 3vw, 30px); }
.rules-head p { color: #cfc9bd; font-size: 15px; }
.rules-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.rule svg { width: 34px; height: 34px; margin-bottom: 14px; color: #f1ece3; }
.rule h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; line-height: 1.3; }
.rule p { color: #cfc9bd; font-size: 15px; }
@media (min-width: 640px) { .rules-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .rules-grid { grid-template-columns: repeat(5, 1fr); gap: 0; }
  .rule { padding: 0 22px; border-left: 1px solid rgba(255,255,255,.14); }
  .rule:first-child { padding-left: 0; border-left: 0; }
  .rule:last-child { padding-right: 0; }
}

/* ---------- dwie karty (zacznij) ---------- */
.duo { display: grid; gap: var(--gap); }
@media (min-width: 900px) { .duo { grid-template-columns: 1.45fr 1fr; } }
.duo .panel { display: flex; flex-direction: column; justify-content: center; }
.duo .strong { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin-top: 18px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--bg-soft); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-inner h2 { margin-bottom: 10px; }
.cta-inner p { max-width: 52ch; color: var(--ink-soft); }

/* ---------- karty ---------- */
.cards { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards.c2, .cards.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 28px; }
.card .num { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--brown); display: block; margin-bottom: 14px; }
.card h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; line-height: 1.3; }
.card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- cennik ---------- */
.price-top { display: grid; gap: 24px; align-items: start; }
@media (min-width: 820px) { .price-top { grid-template-columns: 1fr auto; align-items: center; } }
.badge-box { background: var(--bg-soft); border-radius: var(--radius); padding: 20px 28px; min-width: 240px; }
.badge-box small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--brown); text-transform: uppercase; margin-bottom: 8px; }
.badge-box strong { font-size: 24px; letter-spacing: .04em; font-weight: 800; }
.price-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.price-card.is-featured { background: var(--bg-soft); }
.price-card .label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); }
.price-card .price { font-size: clamp(38px, 4.4vw, 50px); font-weight: 800; margin: 18px 0 4px; letter-spacing: -.02em; }
.price-card .per { font-size: 15px; color: var(--ink-soft); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.price-card p:last-child { font-size: 15px; color: var(--ink-soft); }
.pair { display: grid; gap: 20px 48px; align-items: center; }
@media (min-width: 860px) { .pair { grid-template-columns: auto 1fr; } }
.pair .big { font-size: clamp(44px, 6vw, 68px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pair .sub { color: #c9c3b8; margin-top: 10px; font-size: 15px; }

/* ---------- kontakt ---------- */
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.c-card {
  display: flex; flex-direction: column; text-decoration: none;
  flex: 0 0 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; transition: transform .2s, border-color .2s, box-shadow .2s;
}
@media (min-width: 640px) { .c-card { flex-basis: calc((100% - var(--gap)) / 2); } }
.c-card:hover { transform: translateY(-3px); border-color: var(--brown); box-shadow: 0 10px 24px rgba(60,40,20,.08); }
.c-card h3 { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.c-card p { font-size: 15px; color: var(--ink-soft); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.c-link { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); margin-top: auto; }
.c-link::after { content: " →"; }

.places { display: grid; gap: var(--gap); }
@media (min-width: 640px) { .places { grid-template-columns: repeat(2, 1fr); } }

/* ---------- stopka ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 44px 0 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; }
.footer-tag { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--brown); text-decoration: underline; }
.social { display: flex; gap: 14px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); transition: background .2s, color .2s; }
.social a:hover { background: var(--ink); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--ink-soft); }
.footer-bottom a { text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

[hidden] { display: none !important; }

@media (max-width: 600px) { .hero-badges li + li::before { display: none; } .hero-badges { gap: 8px 18px; } }

/* ---------- kwalifikacje (strona O mnie) ---------- */
.qual { display: grid; gap: clamp(24px, 4vw, 40px); }
@media (min-width: 860px) { .qual { grid-template-columns: 1fr 1.3fr; } }
.qual h3 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brown); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 15px; font-weight: 500; }
