/* =================================================================
   KAMIL MARCZAK — TRENER PERSONALNY
   style.css — mobile-first, tryb ciemny, jeden akcent (limonka)
   Spis treści:
   01. Zmienne / motyw
   02. Reset i baza
   03. Typografia pomocnicza i layout
   04. Przyciski
   05. Elementy globalne (skip-link, kursor-glow, toast)
   06. Navbar
   07. Hero
   08. Statystyki
   09. O mnie
   10. Jak to działa
   11. Pakiety / cennik
   12. Kalkulator
   13. Przykładowy plan
   14. Opinie
   15. FAQ
   16. Kontakt / formularz
   17. Footer
   18. Stany animacji (has-js) + reduced motion
   19. Breakpointy (tablet / desktop)
================================================================= */

/* ============ 01. ZMIENNE / MOTYW ============ */
:root {
  --bg: #0a0a0a;
  --bg-elev: #111214;
  --card: #1a1a1a;
  --card-2: #202225;
  --line: #262626;
  --line-2: #333;

  --text: #f4f4f4;
  --muted: #9aa0a6;

  --lime: #d4ff3a;
  --lime-dim: #b9e62f;
  --lime-soft: rgba(212, 255, 58, 0.14);
  --glow: 0 0 28px rgba(212, 255, 58, 0.35);
  --glow-strong: 0 0 44px rgba(212, 255, 58, 0.45);

  --maxw: 1200px;
  --radius: 20px;
  --radius-sm: 12px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ============ 02. RESET I BAZA ============ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

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

::selection { background: var(--lime); color: #0a0a0a; }

/* Subtelny scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

/* ============ 03. TYPOGRAFIA POMOCNICZA I LAYOUT ============ */
.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 10vw, 8rem); position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--lime);
  display: inline-block;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 6.5vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.section__title .accent { color: var(--lime); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head .eyebrow::after { content: none; }
.section__head:not(.section__head--left) .eyebrow { justify-content: center; }

.section__lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 1.2rem auto 0;
}
.section__head--left .section__lead { margin-inline: 0; }

.accent { color: var(--lime); }

/* ============ 04. PRZYCISKI ============ */
.btn {
  --pad-y: 0.85rem;
  --pad-x: 1.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: box-shadow 0.3s ease, background-color 0.3s ease,
              color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
  will-change: transform;
}

.btn--primary {
  background: var(--lime);
  color: #0a0a0a;
  box-shadow: 0 0 0 rgba(212, 255, 58, 0);
}
.btn--primary:hover { background: var(--lime-dim); box-shadow: var(--glow); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }

.btn--lg { --pad-y: 1.05rem; --pad-x: 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* Magnetic = transform sterowany przez GSAP, więc bez transition na transform */
.magnetic {
  transition: box-shadow 0.3s ease, background-color 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
}

/* ============ 05. ELEMENTY GLOBALNE ============ */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--lime);
  color: #0a0a0a;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* Poświat za kursorem */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(212, 255, 58, 0.10) 0%, rgba(212, 255, 58, 0) 65%);
  opacity: 0;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 140%);
  z-index: 1500;
  background: var(--card-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--lime);
  color: var(--text);
  padding: 0.95rem 1.3rem;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  max-width: calc(100vw - 2.5rem);
  pointer-events: none;
}

/* ============ 06. NAVBAR ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding-block: 1.2rem;
  transition: background-color 0.35s ease, padding 0.35s ease,
              border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding-block: 0.7rem;
}

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

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 1px;
  line-height: 1;
}
.nav__logo-dot { color: var(--lime); }

.nav__menu { display: flex; align-items: center; gap: 0.4rem; }

.nav__link {
  position: relative;
  padding: 0.5rem 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { margin-left: 0.6rem; }

.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ 07. HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
}
.hero__bg {
  position: absolute;
  inset: -10% 0 0 0;
  height: 120%;
  background-color: #0a0a0a;
  background-image: url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=1920&q=70");
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.78) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.2) 60%);
}
.hero__glow {
  position: absolute;
  z-index: 1;
  left: 4%; top: 36%;
  width: 520px; height: 520px;
  max-width: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 255, 58, 0.16) 0%, rgba(212, 255, 58, 0) 68%);
  filter: blur(8px);
}
.hero__content { position: relative; z-index: 2; max-width: 880px; }

.hero__eyebrow {
  color: var(--lime);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 11vw, 7rem);
  line-height: 0.92;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line-inner { display: block; }
.hero__title em { font-style: normal; color: var(--lime); }

.hero__subtitle {
  color: #d6d8db;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  max-width: 56ch;
  margin-bottom: 2.4rem;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.scroll-indicator__mouse {
  width: 24px; height: 38px;
  border: 2px solid var(--line-2);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator__wheel {
  width: 4px; height: 8px;
  border-radius: 4px;
  background: var(--lime);
}

/* ============ 08. STATYSTYKI ============ */
.stats {
  position: relative;
  z-index: 2;
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 0;
  text-align: center;
}
.stat__divider { display: none; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 1;
  color: var(--lime);
  letter-spacing: 1px;
}
.stat__label { color: var(--muted); font-size: 0.92rem; max-width: 18ch; }

/* ============ 09. O MNIE ============ */
.about__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.about__media { position: relative; }
.media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #1f1f1f, #0d0d0d);
}
.about__photo { aspect-ratio: 4 / 5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute;
  right: -0.5rem; bottom: 1.5rem;
  background: var(--lime);
  color: #0a0a0a;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--glow);
  max-width: 230px;
}
.about__badge strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.about__badge span { font-size: 0.74rem; line-height: 1.25; font-weight: 600; }

.about__text p { color: var(--muted); margin-top: 1.1rem; }
.about__text .section__title { margin-top: 0.2rem; }
.about__text strong { color: var(--text); }
.about__list { margin-top: 1.5rem; display: grid; gap: 0.7rem; }
.about__list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: var(--glow);
}
.about__text .btn { margin-top: 2rem; }

/* ============ 10. JAK TO DZIAŁA ============ */
.steps__track {
  position: relative;
  display: grid;
  gap: 1.2rem;
}
.steps__line {
  display: none; /* widoczna tylko na desktopie jako pozioma linia procesu */
  position: absolute;
  left: 27px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--line);
  overflow: hidden;
}
.steps__line-fill {
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: top;
  box-shadow: var(--glow);
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.6rem 1.6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  align-items: center;
}
.step__icon {
  grid-row: 1 / 3;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--lime-soft);
  border: 1px solid rgba(212, 255, 58, 0.3);
  color: var(--lime);
  display: grid;
  place-items: center;
}
.step__icon svg { width: 26px; height: 26px; }
.step__num {
  font-family: var(--font-display);
  color: var(--line-2);
  font-size: 1rem;
  letter-spacing: 2px;
  align-self: end;
}
.step__title { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0.5px; text-transform: uppercase; }
.step p { grid-column: 1 / -1; color: var(--muted); margin-top: 0.7rem; font-size: 0.95rem; }

/* ============ 11. PAKIETY / CENNIK ============ */
.pricing__grid {
  display: grid;
  gap: 1.4rem;
  perspective: 1200px;
}
.plan {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: border-color 0.35s ease, box-shadow 0.4s ease, background-color 0.35s ease;
}
.plan.is-hover { border-color: rgba(212, 255, 58, 0.5); box-shadow: var(--glow); }
.plan--featured {
  border-color: rgba(212, 255, 58, 0.45);
  background: linear-gradient(180deg, rgba(212, 255, 58, 0.05), var(--card) 40%);
  box-shadow: 0 0 0 1px rgba(212, 255, 58, 0.25), 0 24px 60px rgba(0, 0, 0, 0.4);
}
.plan--featured.is-hover { box-shadow: var(--glow-strong), 0 24px 60px rgba(0, 0, 0, 0.5); }
/* podświetlenie z kalkulatora */
.plan.is-recommended {
  border-color: var(--lime);
  box-shadow: var(--glow-strong);
}

.plan__badge {
  position: absolute;
  top: -0.85rem; left: 50%;
  transform: translateX(-50%);
  background: var(--lime);
  color: #0a0a0a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--glow);
}
.plan__name { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; letter-spacing: 1px; text-transform: uppercase; }
.plan__desc { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; min-height: 2.6em; }
.plan__price { margin-top: 1.1rem; display: flex; align-items: baseline; gap: 0.4rem; }
.plan__amount { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--text); }
.plan--featured .plan__amount { color: var(--lime); }
.plan__cur { color: var(--muted); font-size: 0.95rem; }

.plan__features { margin: 1.6rem 0 1.8rem; display: grid; gap: 0.85rem; flex: 1; }
.plan__features li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--text);
  font-size: 0.95rem;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.15em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--lime-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4ff3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.plan__cta { margin-top: auto; }

/* ============ 12. KALKULATOR ============ */
.calc__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.calc__widget {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.calc__field { margin-bottom: 1.6rem; }
.calc__label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.calc__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.calc__opt {
  padding: 0.85rem 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--bg-elev);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}
.calc__opt:hover { border-color: var(--lime); color: var(--text); }
.calc__opt.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: #0a0a0a;
  box-shadow: var(--glow);
}

.calc__result {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem 1.5rem;
  margin: 1.8rem 0 1.4rem;
}
.calc__price-label, .calc__reco-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.calc__price { display: flex; align-items: baseline; gap: 0.4rem; }
.calc__amount { font-family: var(--font-display); font-size: 2.8rem; line-height: 1; color: var(--lime); }
.calc__cur { color: var(--muted); font-size: 0.9rem; }
.calc__reco { text-align: right; }
.calc__reco-name { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: 1px; text-transform: uppercase; }
.calc__note { color: var(--muted); font-size: 0.8rem; margin-top: 1rem; text-align: center; }

/* ============ 13. PRZYKŁADOWY PLAN ============ */
.sample__grid { display: grid; gap: 1.4rem; }
.day-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease, box-shadow 0.35s ease;
}
.day-card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.day-card__tag {
  position: absolute;
  top: 1.3rem; right: 1.3rem;
  background: var(--lime);
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}
.day-card__day { color: var(--lime); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.day-card__focus { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 0.3rem; }
.day-card__block { margin-top: 1.4rem; }
.day-card__block h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
}
.day-card__block ul { display: grid; gap: 0.5rem; }
.day-card__block li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; color: var(--text); }
.day-card__block li span { color: var(--lime); font-weight: 600; white-space: nowrap; }
.sample__cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ============ 14. OPINIE ============ */
.reviews__grid { display: grid; gap: 1.4rem; }
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.35s var(--ease-out), border-color 0.35s ease;
}
.review:hover { transform: translateY(-6px); border-color: var(--line-2); }
.review__stars { color: var(--lime); letter-spacing: 0.2em; font-size: 1.05rem; }
.review blockquote { font-size: 1.02rem; color: var(--text); line-height: 1.55; flex: 1; }
.review__author { display: flex; align-items: center; gap: 0.8rem; color: var(--muted); font-size: 0.92rem; }
.review__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--card-2); }
.review__author strong { color: var(--text); }

/* ============ 15. FAQ ============ */
.faq__wrap { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.faq__list { display: grid; gap: 0.8rem; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.faq__item.is-open { border-color: rgba(212, 255, 58, 0.4); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.3rem 1.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.25s ease;
}
.faq__item.is-open .faq__q { color: var(--lime); }
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item.is-open .faq__icon { color: var(--lime); }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { height: 0; overflow: hidden; }
.faq__a-inner { padding: 0 1.4rem 1.4rem; color: var(--muted); }

/* ============ 16. KONTAKT / FORMULARZ ============ */
.contact { background: var(--bg-elev); border-top: 1px solid var(--line); }
.contact__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.contact__lead { color: var(--muted); margin-top: 1.2rem; max-width: 46ch; }
.contact__details { margin-top: 2rem; display: grid; gap: 1rem; }
.contact__details li { display: flex; align-items: center; gap: 0.9rem; }
.contact__ic {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--lime-soft);
  color: var(--lime);
  font-size: 1.1rem;
}
.contact__details a { transition: color 0.25s ease; }
.contact__details a:hover { color: var(--lime); }
.contact__socials { margin-top: 2rem; display: flex; gap: 0.8rem; }
.social {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease, background-color 0.25s ease;
}
.social svg { width: 22px; height: 22px; }
.social:hover { color: var(--lime); border-color: var(--lime); box-shadow: var(--glow); }

/* Formularz */
.contact__form-wrap {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.4rem);
}
.form__row { display: grid; gap: 1.1rem; }
.form__field { display: block; margin-bottom: 1.1rem; }
.form__field > span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: #6c7075; }
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: var(--glow);
  background: var(--card);
}
.form__field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa0a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}
.form__error { display: block; min-height: 1.1em; margin-top: 0.4rem; font-size: 0.82rem; color: #ff6b6b; }
.form__field.is-invalid input,
.form__field.is-invalid textarea { border-color: #ff6b6b; }
.form .btn { margin-top: 0.6rem; }

/* Sukces */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  gap: 0.8rem;
  min-height: 360px;
}
.form-success[hidden] { display: none; }
.form-success__check { width: 84px; height: 84px; margin-bottom: 0.5rem; }
.form-success__circle { stroke: var(--lime); stroke-width: 2; stroke-dasharray: 151; stroke-dashoffset: 151; }
.form-success__mark { stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; }
.form-success.is-shown .form-success__circle { animation: dashCircle 0.6s var(--ease-out) forwards; }
.form-success.is-shown .form-success__mark { animation: dashMark 0.35s 0.5s var(--ease-out) forwards; }
@keyframes dashCircle { to { stroke-dashoffset: 0; } }
@keyframes dashMark { to { stroke-dashoffset: 0; } }
.form-success h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; letter-spacing: 0.5px; text-transform: uppercase; }
.form-success p { color: var(--muted); max-width: 36ch; }

/* ============ 17. FOOTER ============ */
.footer { position: relative; border-top: 1px solid var(--line); padding-block: 2.5rem; }
.footer__inner { display: grid; gap: 1.5rem; text-align: center; justify-items: center; }
.footer__logo { font-size: 2rem; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; }
.footer__nav a { color: var(--muted); font-size: 0.95rem; transition: color 0.25s ease; }
.footer__nav a:hover { color: var(--lime); }
.footer__copy { color: #6c7075; font-size: 0.88rem; }
.to-top {
  position: absolute;
  right: 1.5rem; top: -1.4rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--lime);
  color: #0a0a0a;
  font-size: 1.3rem;
  display: grid; place-items: center;
  box-shadow: var(--glow);
  transition: box-shadow 0.3s ease, background-color 0.25s ease;
  will-change: transform;
}
.to-top:hover { background: var(--lime-dim); box-shadow: var(--glow-strong); }

/* ============ 18. STANY ANIMACJI (has-js) ============ */
/* Elementy do animacji są ukryte tylko gdy JS działa — bez JS wszystko widoczne */
.has-js [data-anim] { opacity: 0; }
.has-js .hero__eyebrow,
.has-js .hero__subtitle,
.has-js .hero__cta { opacity: 0; }
.has-js .hero__title .line-inner { transform: translateY(110%); }
.has-js .scroll-indicator { opacity: 0; }
.has-js .reveal-media .media { clip-path: inset(0 100% 0 0); }

/* Reduced motion — wszystko widoczne, bez ruchu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js [data-anim],
  .has-js .hero__eyebrow,
  .has-js .hero__subtitle,
  .has-js .hero__cta,
  .has-js .scroll-indicator { opacity: 1 !important; }
  .has-js .hero__title .line-inner { transform: none !important; }
  .has-js .reveal-media .media { clip-path: none !important; }
  .cursor-glow { display: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============ 19. BREAKPOINTY ============ */
/* --- Tablet --- */
@media (min-width: 700px) {
  .stats__grid {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0 1.5rem;
  }
  .stat__divider { display: block; width: 1px; height: 54px; background: var(--line); transform: scaleY(1); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .sample__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
  .steps__line { display: none; }
}

/* --- Desktop --- */
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: 0.85fr 1fr; }
  .calc__grid { grid-template-columns: 0.9fr 1.1fr; }
  .faq__wrap { grid-template-columns: 0.8fr 1.2fr; }
  .contact__grid { grid-template-columns: 1fr 1.1fr; }
  .reviews__grid { grid-template-columns: repeat(4, 1fr); }

  .pricing__grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .plan--featured { transform: scale(1.05); z-index: 2; }

  /* Proces: pozioma linia łącząca kroki */
  .steps__track { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .steps__line {
    display: block;
    left: 8%; right: 8%;
    top: 38px; bottom: auto;
    width: auto; height: 2px;
  }
  .steps__line-fill { transform: scaleX(0); transform-origin: left; }
}

/* --- Mobilne menu (overlay) --- */
@media (max-width: 920px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 380px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.6rem;
    padding: 5rem 2rem 2rem;
    background: rgba(12, 12, 12, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
  }
  .nav.is-open .nav__menu { transform: translateX(0); }
  .nav__link { font-size: 1.3rem; padding: 0.6rem 0.4rem; }
  .nav__link::after { left: 0.4rem; right: auto; width: 32px; }
  .nav__cta { margin-left: 0; margin-top: 1rem; justify-content: center; }
}
