/* atrybut hidden zawsze ukrywa (inaczej np. .btn { display: inline-flex } go nadpisuje) */
[hidden] { display: none !important; }

:root {
  --bg: #131210;
  --bg-2: #1B1917;
  --bg-3: #242220;
  --fg: #F1ECE3;
  --fg-muted: #B5AEA2;
  --accent: #E0793A;
  --on-accent: #131210;
  --border: rgba(241, 236, 227, 0.10);
  --accent-hover: #E88A4F;
  --accent-text: var(--accent);   /* maly tekst w akcencie (>= 4.5:1) */
  --scrim: 19, 18, 16;            /* tryplet RGB scrimu na zdjeciach */
  --on-dark: var(--fg);           /* tekst na scrimie */
  --tile-icon: var(--accent);     /* ikony i akcent na scrimie */
  --header-bg: rgba(19, 18, 16, .92);
  --header-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  --ghost-border: rgba(241, 236, 227, .35);
  --sheen: rgba(255, 255, 255, .22); /* przebłysk na btn-primary przy hover */
  --radius: 6px;
  color-scheme: dark;
  --header-h: 72px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
html.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
ul { padding: 0; }
p, li { max-width: 62ch; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.accent { color: var(--accent); }
/* Linia akcentowa pod h2 sekcji (statyczna; animowana w bloku Motion) */
main h2::after {
  content: ""; display: block; width: 48px; height: 2px; margin-top: 1rem;
  background: var(--accent); transform-origin: left;
}
.about h2::after { background: var(--tile-icon); }
.muted { color: var(--fg-muted); font-weight: 500; }
.lead { color: var(--fg-muted); font-size: 1.125rem; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: .75rem 1rem; border-radius: var(--radius); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.i { width: 24px; height: 24px; flex: none; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); position: relative; isolation: isolate; overflow: hidden; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--ghost-border); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }

/* Header */
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; }
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--header-shadow);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; min-height: 44px; }
.brand img { height: 56px; width: 56px; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .01em; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -12px;
  align-items: center; justify-content: center;
  background: none; border: 0; color: var(--fg); cursor: pointer; border-radius: var(--radius);
}
.nav-toggle .i { width: 28px; height: 28px; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; list-style: none; margin: 0; }
.site-nav ul a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none; font-weight: 500; position: relative;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav ul a:hover::after { transform: scaleX(1); }
.site-nav ul a[aria-current="page"] { color: var(--accent-text); }
.site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 2rem var(--gutter) 3rem;
    visibility: hidden; opacity: 0;
    transition: opacity .25s, visibility 0s .25s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a {
    width: 100%; min-height: 64px; border-bottom: 1px solid var(--border);
    font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  }
  .site-nav ul a::after { display: none; }
  /* backdrop-filter robi z headera containing block dla fixed -> menu ściśnięte do wysokości headera */
  .nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Podstrony (multi/): naglowek strony zamiast hero, pas CTA na starcie */
.page-head { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--border); }
.page-head .lead { margin: 1rem 0 0; max-width: 56ch; color: var(--fg-muted); }
.page-head + section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.cta-section { padding-bottom: var(--section-y); }
.cta-section .cta-band { margin-top: 0; }

/* Hero */
.hero { padding: calc(var(--header-h) + 2.5rem) 0 var(--section-y); }
.hero-grid { display: grid; gap: 2.5rem; }
.hero h1 .line { display: block; }
.hero .lead { margin: 1.5rem 0 2rem; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; max-height: 60vh;
  object-fit: cover; object-position: 50% 50%;
  border-radius: var(--radius);
}
@media (min-width: 1024px) {
  .hero {
    min-height: 100dvh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + clamp(2rem, 6vh, 6rem)) 0 clamp(2rem, 6vh, 6rem);
  }
  .hero-grid { grid-template-columns: 7fr 5fr; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
  .hero-media img { max-height: calc(100dvh - var(--header-h) - 6rem); }
}

/* About */
.about { position: relative; isolation: isolate; overflow: hidden; padding: var(--section-y) 0; min-height: 80vh; display: flex; align-items: center; }
.about-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(var(--scrim), .84);
}
.about-inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.about-copy { grid-column: 1 / -1; color: var(--on-dark); }
.about .accent { color: var(--tile-icon); }
.about-copy h2 { margin-bottom: 1.75rem; }
.about-copy p { color: var(--on-dark); font-size: 1.125rem; }
@media (min-width: 900px) {
  .about::before { background: linear-gradient(90deg, rgba(var(--scrim), .94) 0%, rgba(var(--scrim), .86) 50%, rgba(var(--scrim), .35) 100%); }
  .about-copy { grid-column: 1 / span 7; }
}

/* Pillars bento */
.pillars { padding: var(--section-y) 0; }
.pillars h2 { margin-bottom: 2.5rem; }
.bento { display: grid; gap: 1rem; }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius);
  min-height: 420px;
  display: flex; align-items: flex-end;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(var(--scrim), .96) 0%, rgba(var(--scrim), .88) 50%, rgba(var(--scrim), .35) 100%);
}
.tile-body { color: var(--on-dark); padding: clamp(1.5rem, 3vw, 2.25rem); }
.tile-icon { width: 36px; height: 36px; color: var(--tile-icon); margin-bottom: 1rem; }
.tile h3 { margin-bottom: .75rem; }
.tile p { margin: 0; color: var(--on-dark); }
@media (max-width: 899px) {
  .tile { padding-top: 11rem; }
  .tile img { object-position: 50% 25%; }
  .profile-media { max-width: 480px; }
}
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; }
  .tile-lg { grid-row: span 2; min-height: 760px; }
  .tile-lg h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
}

/* Offer */
.offer { background: var(--bg-2); padding: var(--section-y) 0; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .lead { margin: 1rem 0 0; }
.accordion { border-top: 1px solid var(--border); }
.group { border-bottom: 1px solid var(--border); }
.group summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px; padding: 1.25rem 0;
}
.group summary::-webkit-details-marker { display: none; }
.group-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.1; }
.group-title .muted { font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.group summary:hover .group-title { color: var(--accent-text); }
.chev { width: 28px; height: 28px; color: var(--accent); transition: transform .3s var(--ease); }
.group[open] .chev { transform: rotate(180deg); }
.group-body { padding-bottom: 2rem; }
.service { display: grid; gap: .5rem 3rem; padding: 1.75rem 0; border-top: 1px solid var(--border); }
.service:first-child { border-top: 0; }
.service h3 { font-size: 1.5rem; }
.service h3 .muted { font-family: var(--font-body); font-size: .95rem; display: block; margin-top: .35rem; letter-spacing: 0; line-height: 1.4; }
.service-text p { margin: 0 0 .75rem; color: var(--fg-muted); }
.service-text p:last-child { margin-bottom: 0; }
.service-text ul { margin: 0 0 .75rem 1.1rem; color: var(--fg-muted); }
.service-text li { margin-bottom: .35rem; }
.service-text li::marker { color: var(--accent); }
@media (min-width: 900px) {
  .service { grid-template-columns: 5fr 7fr; }
}

.cta-band {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start;
}
.cta-band h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.cta-band p { margin: 0; color: var(--fg-muted); }
@media (min-width: 900px) {
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
}

/* Team */
.team { padding: var(--section-y) 0; }
.profile { display: grid; gap: 2rem; align-items: start; }
.profile + .profile { margin-top: clamp(4rem, 8vw, 7rem); }
.profile-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius); }
.profile-copy h3 { font-size: clamp(2rem, 4vw, 2.75rem); }
.role { color: var(--accent-text); font-weight: 500; margin: .75rem 0 1.5rem; }
.profile-copy > p { color: var(--fg-muted); }
.profile-copy h4 { font-size: 1.35rem; margin: 2rem 0 1rem; }
.specs { list-style: none; margin: 0; }
.specs li { padding: 1rem 0; border-top: 1px solid var(--border); color: var(--fg-muted); }
.specs strong { color: var(--fg); font-weight: 600; }
blockquote {
  margin: 2rem 0 0; padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.25rem; line-height: 1.3;
  max-width: none;
}
@media (min-width: 900px) {
  .profile { grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .profile-media { position: sticky; top: calc(var(--header-h) + 2rem); }
  .profile-rev { grid-template-columns: 7fr 5fr; }
  .profile-rev .profile-media { order: 2; }
}

/* Contact */
.contact { background: var(--bg-2); padding: var(--section-y) 0 clamp(3rem, 6vw, 5rem); }
.contact-grid { display: grid; gap: 3rem; align-items: center; }
.contact-copy .lead { margin: 1.25rem 0 2rem; }
address { font-style: normal; display: flex; gap: .75rem; font-size: 1.125rem; }
address .i { color: var(--accent); margin-top: 2px; }
.note { color: var(--fg-muted); margin: 1rem 0 .5rem; }
.text-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--accent-text); font-weight: 600; text-underline-offset: 4px;
}
.phones { list-style: none; margin: 1.5rem 0; display: grid; gap: .5rem; }
.phones a {
  display: inline-flex; align-items: center; gap: .75rem; min-height: 56px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.5rem);
  text-decoration: none; letter-spacing: .01em;
}
.phones a .i { color: var(--accent); width: 28px; height: 28px; }
.phones a:hover span { color: var(--accent-text); }
.social { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.social a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; font-weight: 500; }
.social a:hover { color: var(--accent-text); }
.contact-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); }
  .contact-media img { aspect-ratio: 4 / 5; }
}

/* Footer */
.site-footer { padding: 2.25rem 0 max(1.5rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); color: var(--fg-muted); font-size: .9375rem; }
.footer-grid { display: grid; gap: 1.25rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-grid p { margin: 0 0 .75rem; }
.footer-grid ul { list-style: none; margin: 0 0 1rem; }
.footer-logo { width: 64px; height: 64px; flex: none; }
.footer-tagline { color: var(--fg); font-size: 15px; }
.footer-grid .footer-tagline { margin: 0; }
.footer-label { font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; color: var(--fg); margin: 0 0 .5rem; }
.site-footer a { color: var(--fg); text-underline-offset: 3px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { font-weight: 500; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--accent-text); text-decoration: underline; }
.site-footer a:hover { color: var(--accent-text); }
.footer-company { font-size: 13px; line-height: 1.55; }
.footer-company p { margin: 0; }
.footer-company .footer-label { font-size: .875rem; margin-bottom: .25rem; }
.footer-bottom {
  margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border);
  display: grid; gap: .75rem 3rem; font-size: 13px; line-height: 1.5;
}
.footer-bottom p { margin: 0; }
.footer-rodo { max-width: 68ch; }
.footer-rodo a, .field-check label a { color: inherit; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-company { text-align: right; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: start; }
}

/* Motion (6/10). Ukrywanie tylko pod html.js + no-preference; bez JS / przy reduce wszystko statyczne. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Reveal: fade + y 16px, 500ms, stagger 60ms (--i z JS) */
  .js [data-reveal] {
    opacity: 0; transform: translateY(16px);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js blockquote[data-reveal] { transition-delay: .2s; }
  /* Portret: odsłonięcie od dołu (clip na img, bo w pełni przycięty cel nie przecina się dla IntersectionObservera) */
  .js [data-reveal="clip-up"] { opacity: 1; transform: none; }
  .js [data-reveal="clip-up"] img { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path .6s var(--ease); }
  .js [data-reveal="clip-up"].is-in img { clip-path: inset(0 round var(--radius)); }
  /* Kontener, którego dzieci wchodzą po kolei (70ms); animacja bez fill-forwards, żeby nie blokować hover */
  .js [data-reveal="kids"] { opacity: 1; transform: none; }
  .js [data-reveal="kids"]:not(.is-in) > * { opacity: 0; }
  .js [data-reveal="kids"].is-in > * { animation: rise .45s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms); }
  .js .tags[data-reveal="kids"].is-in > * { animation-delay: calc(.2s + var(--i, 0) * 70ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } }

  /* Linia pod h2: 0 -> 48px po reveal */
  .js main h2::after { transform: scaleX(0); transition: transform .4s var(--ease) .2s; }
  .js [data-reveal].is-in h2::after, .js h2[data-reveal].is-in::after { transform: none; }

  /* Hero: eyebrow -> 3 linie h1 -> lead -> przyciski (90ms), zdjęcie clip od prawej + scale */
  .hero .eyebrow { --h: 0; }
  .hero .line:nth-child(1) { --h: 1; }
  .hero .line:nth-child(2) { --h: 2; }
  .hero .line:nth-child(3) { --h: 3; }
  .hero .lead { --h: 4; }
  .hero-actions { --h: 5; }
  .js .hero :is(.eyebrow, .line, .lead, .hero-actions) { opacity: 0; transform: translateY(16px); }
  .js .hero.is-loaded :is(.eyebrow, .line, .lead, .hero-actions) {
    opacity: 1; transform: none;
    transition: opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay: calc(var(--h) * 90ms);
  }
  .js .hero-media { clip-path: inset(0 0 0 100% round var(--radius)); }
  .js .hero-media img { transform: scale(1.06); }
  .js .hero.is-loaded .hero-media { clip-path: inset(0 round var(--radius)); transition: clip-path .6s var(--ease) .1s; }
  .js .hero.is-loaded .hero-media img { transform: none; transition: transform .9s var(--ease) .1s; }

  /* Parallax teł zdjęciowych (bez JS). Fallback: statycznie. */
  @supports (animation-timeline: view()) {
    .about-bg, .tile img { animation: parallax linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes parallax {
      from { transform: translateY(-6%) scale(1.12); }
      to { transform: translateY(6%) scale(1.12); }
    }
  }

  /* Przyciski */
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: scale(.98); }
  .btn-primary::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent 30%, var(--sheen) 50%, transparent 70%);
    transform: translateX(-100%);
  }
  .btn-primary:hover::before { transform: translateX(100%); transition: transform .5s ease-out; }

  /* Header: logo zmniejsza się po scrollu (transform, wysokość bez zmian) */
  .brand img { transform-origin: left center; transition: transform .25s var(--ease); }
  .is-scrolled .brand img { transform: scale(.9); }

  /* Kafelki filarów: enter ease-out, exit ease-in szybciej. `scale` składa się z parallaxem na transform. */
  .tile img { transition: scale .3s ease-in; }
  .tile-icon { transition: transform .15s ease-in; }
  .tile:is(:hover, :focus-within) img { scale: 1.04; transition: scale .5s ease-out; }
  .tile:is(:hover, :focus-within) .tile-icon { transform: translateY(-2px); transition: transform .25s ease-out; }

  /* Kontakt: nudge ikony telefonu */
  .phones a .i { transition: transform .2s ease-out; }
  .phones a:hover .i { transform: translateX(2px); }

  /* Accordion / FAQ: treść przy otwarciu */
  .group[open] .group-body, .faq-item[open] p { animation: fade-in .3s ease-out; }
  @keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Contact: call + WhatsApp */
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.5rem; }
.contact-actions .btn { gap: .5rem; min-height: 44px; padding: .6rem 1rem; }
.contact-actions .i { width: 20px; height: 20px; }

/* Trainers (example people) */
.trainers { background: var(--bg-2); padding: var(--section-y) 0; }
.trainer { display: grid; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--border); }
.trainer h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.trainer-role { color: var(--fg-muted); font-weight: 500; margin: .5rem 0 0; }
.trainer-body p { margin: 0 0 1rem; color: var(--fg-muted); }
.tags { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { border: 1px solid var(--border); border-radius: var(--radius); padding: .3rem .75rem; font-size: .9375rem; font-weight: 500; }
@media (min-width: 900px) {
  .trainer { grid-template-columns: 4fr 8fr; gap: clamp(2.5rem, 5vw, 5rem); padding: 2.5rem 0; }
}

/* FAQ */
.faq { padding: var(--section-y) 0; }
.faq-grid { display: grid; gap: 0 clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 44px; padding: 1.1rem 0;
  font-weight: 600; font-size: 1.0625rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-text); }
.faq-item .chev { width: 24px; height: 24px; }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-item p { margin: 0 0 1.5rem; color: var(--fg-muted); }
@media (min-width: 900px) { .faq-grid { display: block; columns: 2; column-gap: clamp(2rem, 5vw, 4rem); } .faq-item { break-inside: avoid; } }

/* Forms */
.inquiry { max-width: 640px; margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--border); }
.inquiry h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: 1.5rem; }
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea {
  width: 100%; min-height: 48px; padding: .7rem .9rem;
  font: inherit; color: var(--fg); background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--fg) 35%, transparent);
  border-radius: var(--radius);
}
.form textarea { resize: vertical; min-height: 8rem; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline-offset: 0; border-color: var(--accent); }
.form .field [aria-invalid="true"] { border-color: var(--accent); }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); }
.field-check label { font-weight: 400; color: var(--fg-muted); }
.field-check .field-error { grid-column: 2; }
.field-error { margin: 0; font-size: .9375rem; font-weight: 500; color: var(--accent-text); }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form .btn { justify-self: start; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Booking modal */
html:has(.modal[open]) { overflow: hidden; }
.modal {
  width: calc(100% - 2rem); max-width: 640px; max-height: 90dvh;
  padding: 0; margin: auto;
  background: var(--bg-2); color: var(--fg);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: auto; overscroll-behavior: contain;
}
.modal::backdrop { background: color-mix(in srgb, var(--bg) 80%, transparent); }
.modal-inner { padding: clamp(1.25rem, 4vw, 2rem); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.modal-head h2 { font-size: clamp(1.9rem, 5vw, 2.4rem); }
.modal-progress { margin: 0 0 .35rem; color: var(--fg-muted); font-weight: 500; font-size: .9375rem; }
.modal-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin: -6px -10px 0 0; flex: none;
  background: none; border: 0; color: var(--fg); cursor: pointer; border-radius: var(--radius);
}
.modal-close:hover { color: var(--accent-text); }
.step h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.step > p { margin: 0 0 1rem; }
.modal-info { color: var(--fg-muted); padding-left: .9rem; border-left: 2px solid var(--accent); }
.step > .step-label { font-weight: 600; margin: 1.25rem 0 .6rem; }
.chips { border: 0; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { padding: 0; margin-bottom: .6rem; }
.chips .field-error { flex-basis: 100%; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); border-radius: var(--radius);
  font-weight: 500; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.chip span:hover { border-color: var(--fg); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.days {
  display: flex; gap: .5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 2rem)); padding: 4px clamp(1.25rem, 4vw, 2rem);
  scroll-padding-inline: clamp(1.25rem, 4vw, 2rem);
  scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.day, .hour {
  min-height: 44px; font: inherit; color: var(--fg); background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--fg) 35%, transparent); border-radius: var(--radius);
  cursor: pointer;
}
.day {
  flex: none; scroll-snap-align: start; min-width: 4.25rem; padding: .45rem .5rem;
  display: grid; justify-items: center; line-height: 1.2;
}
.day small { color: var(--fg-muted); font-size: .8125rem; }
.hours { display: grid; grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr)); gap: .5rem; }
.hour { font-weight: 600; }
.day:hover, .hour:hover:enabled { border-color: var(--fg); }
.day[aria-pressed="true"], .hour[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.day[aria-pressed="true"] small { color: inherit; }
.hour:disabled { cursor: not-allowed; text-decoration: line-through; color: var(--fg-muted); opacity: .55; }
.chip-price { margin-left: .4rem; color: var(--fg-muted); font-size: .8125em; font-weight: 500; white-space: nowrap; }
.chip input:checked + span .chip-price { color: inherit; opacity: .85; }
/* Krok 1 rezerwacji: zwarty układ. Na desktopie dwie kolumny (zakres + trener | termin), szersze okno. */
.step-col > h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.step-col > .step-label { font-weight: 600; margin: .9rem 0 .5rem; }
.step[data-step="1"] .modal-info { font-size: .9375rem; margin-bottom: 1.25rem; }
.step[data-step="1"] .chips { margin-bottom: 1.25rem; gap: .4rem; }
.step[data-step="1"] .chips:last-child { margin-bottom: 0; }
.step-col + .step-col { margin-top: 1.75rem; }
@media (pointer: fine) {
  /* mysz: mniejsze przyciski; dotyk zostaje przy 44 px */
  .step[data-step="1"] .chip span { min-height: 36px; padding: .3rem .75rem; font-size: .9375rem; }
  .step[data-step="1"] .day, .step[data-step="1"] .hour { min-height: 38px; }
  .step[data-step="1"] .day { padding: .3rem .4rem; }
}
@media (min-width: 860px) {
  .modal:has(.step[data-step="1"]:not([hidden])) { max-width: 960px; }
  .step-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .step-grid > .step-col + .step-col { margin-top: 0; padding-left: 2.5rem; border-left: 1px solid var(--border); }
  .step-grid .hours { grid-template-columns: repeat(auto-fill, minmax(4.5rem, 1fr)); }
  .modal-head { margin-bottom: 1rem; }
}
@media (min-width: 600px) {
  .days { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; margin: 0; padding: 0; }
}
.step-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.step-actions [data-back] { margin-right: auto; }
.step > .modal-alt { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--fg-muted); font-size: .9375rem; }
.step > .modal-alt { max-width: none; }
.modal-alt a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; display: inline-block; padding: .6rem 0; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; margin: 0 0 1rem; }
.summary dt { color: var(--fg-muted); }
.summary dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.summary .price { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.done-icon { width: 48px; height: 48px; color: var(--accent); margin-bottom: 1rem; }
@media (max-width: 479px) {
  .step-actions .btn { flex: 1 1 100%; }
  .step-actions [data-back] { order: 3; margin-right: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Modal: wejście scale+fade 220ms, zamknięcie fade 150ms (allow-discrete; bez wsparcia zamyka się od razu) */
  .modal, .modal::backdrop { opacity: 0; transition: opacity .15s ease-in, display .15s allow-discrete, overlay .15s allow-discrete; }
  .modal[open], .modal[open]::backdrop { opacity: 1; }
  .modal[open] { animation: modal-in .22s ease-out; }
  .modal[open]::backdrop { animation: fade .22s ease-out; }
  .step:not([hidden]) { animation: step-in .25s ease-out; }
  @keyframes modal-in { from { opacity: 0; transform: scale(.96); } }
  @keyframes fade { from { opacity: 0; } }
  @keyframes step-in { from { opacity: 0; transform: translateX(12px); } }
}

/* <button> variants of .btn */
.btn { cursor: pointer; }
.btn-ghost { background: transparent; }
.modal { scrollbar-width: thin; scrollbar-color: var(--bg-3) transparent; }

/* Formularz zapytania: rozwijany */
.inquiry > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.inquiry > summary::-webkit-details-marker { display: none; }
.inquiry > summary h3 { margin: 0; }
.inquiry > summary .chev { width: 28px; height: 28px; flex: none; transition: transform .25s var(--ease); }
.inquiry[open] > summary .chev { transform: rotate(180deg); }
.inquiry > summary:hover h3 { color: var(--accent-text); }
.inquiry > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.inquiry > form { padding-top: 1.5rem; }

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

/* Podstrony (multi/): page-head split 7/5 ze zdjeciem, zdjecia w grupach oferty, paski zdjec */
.page-head-grid { display: grid; gap: 2rem; }
.page-head-media { overflow: hidden; border-radius: var(--radius); }
.page-head-media img { width: 100%; aspect-ratio: 4 / 3; max-height: 40vh; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 1024px) {
  .page-head-grid { grid-template-columns: 7fr 5fr; align-items: center; gap: clamp(2.5rem, 5vw, 5rem); }
  .page-head-media img { aspect-ratio: 16 / 10; max-height: none; }
}
.group-photo { margin-bottom: 1rem; }
.group-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.group-photo + .service { border-top: 0; }
@media (min-width: 900px) { .group-photo img { aspect-ratio: 21 / 9; } }
.photo-strip { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .photo-strip { grid-auto-flow: column; grid-auto-columns: 1fr; } }
.photo-strip + .cta-band { margin-top: clamp(2rem, 4vw, 3rem); }
.faq:has(+ .faq-more) { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.faq-more { padding-bottom: var(--section-y); }
.faq-more-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.faq-more-cta p { margin: 0; font-size: 1.25rem; }
.faq-more .photo-strip { margin-top: 2rem; }
@media (prefers-reduced-motion: no-preference) {
  /* Zdjecie page-head: clip od prawej + scale jak w hero, przez data-reveal */
  .js .page-head-media[data-reveal] { opacity: 1; transform: none; }
  .js .page-head-media img { clip-path: inset(0 0 0 100% round var(--radius)); transform: scale(1.06); transition: clip-path .6s var(--ease) .1s, transform .9s var(--ease) .1s; }
  .js .page-head-media.is-in img { clip-path: inset(0 round var(--radius)); transform: none; }
}

/* Przycisk karty podarunkowej w menu (widoczny, gdy sprzedaż włączona w panelu) */
.btn-gift { gap: .45rem; }
.btn-gift .i { width: 18px; height: 18px; color: var(--accent-text); }

/* Płatność kartą podarunkową w oknie rezerwacji */
.gift-pay { margin: 0 0 1.25rem; padding: .9rem 1rem; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg-2); }
.gift-pay-toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--accent-text); cursor: pointer; min-height: 32px; }
.gift-pay-toggle .i { width: 20px; height: 20px; }
.gift-pay-form { display: grid; gap: .5rem; margin-top: .75rem; }
.gift-pay-form label { font-weight: 600; }
.gift-pay-row { display: flex; gap: .5rem; }
.gift-pay-row input { flex: 1; min-width: 0; font: 700 1.1rem "Courier New", monospace; letter-spacing: .25em; text-transform: uppercase; padding: .55rem .8rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--fg); }
.gift-pay-info { margin: 0; font-size: .9375rem; color: var(--fg); }
.gift-pay-info.is-error { color: var(--accent-text); font-weight: 500; }
