/* =========================================================
   TRAINER SOCIETY — style
   Paleta: granat #0F1B33 · złoto #D97706 · ciepła biel #F5F4F0
   Font: Montserrat. Mobile-first. Bez dark mode (jedna wersja).
   ========================================================= */

:root {
  --navy: #0F1B33;
  --navy-700: #16233f;
  --navy-600: #1e2e4f;
  --gold: #D97706;
  --gold-600: #b45f04;
  --gold-300: #f0a94b;
  --cream: #F5F4F0;
  --cream-200: #ece9e1;
  --ink: #0F1B33;
  --muted: #5b6478;
  --muted-cream: rgba(245, 244, 240, 0.72);
  --line: rgba(15, 27, 51, 0.10);
  --line-cream: rgba(245, 244, 240, 0.14);
  --shadow-sm: 0 2px 8px rgba(15, 27, 51, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 27, 51, 0.12);
  --shadow-gold: 0 10px 26px rgba(217, 119, 6, 0.30);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1140px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Typografia ---------- */
h1, h2, h3 { line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.eyebrow--gold { color: var(--gold); }

.section-title {
  font-size: clamp(1.7rem, 4.6vw, 2.75rem);
  margin-bottom: 1rem;
}
.section-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
  max-width: 60ch;
  font-weight: 500;
}
.section--navy .section-lead { color: var(--muted-cream); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(217,119,6,0.38); }

.btn-ghost { background: transparent; border-color: currentColor; color: var(--navy); }
.section--navy .btn-ghost, .hero .btn-ghost { color: var(--cream); }
.btn-ghost:hover { background: rgba(217, 119, 6, 0.12); border-color: var(--gold); color: var(--gold); }

.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }
.btn-sm { padding: 0.6em 1.1em; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 244, 240, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header-logo img { height: 42px; width: auto; }
.header-nav { display: none; gap: 1.8rem; margin-left: auto; }
.header-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--navy);
  position: relative;
  padding: 0.2em 0;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.header-nav a:hover::after { width: 100%; }
.header-cta { display: none; }

/* ---------- Sekcje ---------- */
.section { padding: clamp(3.5rem, 9vw, 7rem) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--cream:nth-of-type(even) { background: #fffdf8; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cream); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(217, 119, 6, 0.22), transparent 60%),
    radial-gradient(50% 50% at 12% 88%, rgba(217, 119, 6, 0.10), transparent 60%),
    linear-gradient(160deg, #13203b 0%, var(--navy) 55%, #0b1428 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245,244,240,0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}
.eyebrow--gold, .hero .eyebrow { color: var(--gold-300); }
.hero-title {
  font-size: clamp(2.1rem, 7.2vw, 4rem);
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(1.02rem, 2.4vw, 1.28rem);
  color: var(--muted-cream);
  max-width: 46ch;
  font-weight: 500;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.6rem; }
.hero-trust {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.9rem; color: var(--muted-cream); font-weight: 500;
}
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px rgba(217,119,6,0.2);
  flex-shrink: 0;
}

/* ---------- Placeholdery mediów ---------- */
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  border-radius: var(--radius);
  border: 2px dashed rgba(217, 119, 6, 0.5);
  background:
    linear-gradient(135deg, rgba(217,119,6,0.08), rgba(15,27,51,0.04)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(217,119,6,0.04) 12px, rgba(217,119,6,0.04) 24px);
  color: var(--muted);
  padding: 1.5rem;
}
.section--navy .media-placeholder, .hero .media-placeholder, .lp .media-placeholder {
  border-color: rgba(240, 169, 75, 0.55);
  color: var(--muted-cream);
  background:
    linear-gradient(135deg, rgba(217,119,6,0.16), rgba(255,255,255,0.02)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(255,255,255,0.03) 12px, rgba(255,255,255,0.03) 24px);
}
.mp-icon { font-size: 2.2rem; }
.mp-label { font-size: 0.88rem; font-weight: 500; line-height: 1.4; }
.mp-label strong { color: var(--gold-300); font-weight: 700; }
.section--cream .mp-label strong { color: var(--gold); }
.media-placeholder--hero { aspect-ratio: 4 / 3; min-height: 260px; }
.media-placeholder--portrait { aspect-ratio: 1 / 1; }
.media-placeholder--tall { aspect-ratio: 3 / 4; min-height: 320px; height: 100%; }
.hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius);
}
.person-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}
.story-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}

/* ---------- Karty ---------- */
.cards { display: grid; gap: 1.25rem; }
.cards-3 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: 1fr; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(217,119,6,0.35); }
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(217, 119, 6, 0.10);
  font-size: 1.5rem; margin-bottom: 1rem;
}
.section--navy .card {
  background: var(--navy-600);
  border-color: var(--line-cream);
  box-shadow: none;
}
.section--navy .card p { color: var(--muted-cream); }
.section--navy .card:hover { border-color: rgba(240,169,75,0.5); box-shadow: 0 16px 34px rgba(0,0,0,0.35); }

/* Duo / osoby */
.duo .card--person { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--person .media-placeholder { border-radius: 0; border: none; border-bottom: 2px dashed rgba(240,169,75,0.4); }
.person-body { padding: 1.6rem 1.8rem 1.9rem; }
.person-role {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--gold-300); margin-bottom: 0.9rem;
}
.duo-note {
  margin-top: 2rem; text-align: center; font-size: 1.05rem; font-weight: 500;
  color: var(--muted-cream); max-width: 62ch; margin-inline: auto;
}
.duo-note { font-style: italic; }

/* ---------- Historia ---------- */
.story { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.story-text p { margin-bottom: 1rem; color: var(--muted); font-size: 1.02rem; }
.story-text strong { color: var(--ink); }

/* ---------- Kroki ---------- */
.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
.step {
  position: relative;
  background: var(--navy-600);
  border: 1px solid var(--line-cream);
  border-radius: var(--radius);
  padding: 1.7rem 1.8rem 1.7rem 2rem;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--gold), var(--gold-600));
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(217,119,6,0.16); color: var(--gold-300);
  font-weight: 800; font-size: 1.25rem; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted-cream); font-size: 0.97rem; }

/* ---------- Statystyki / wyniki ---------- */
.stats { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.stat {
  text-align: center;
  padding: 2rem 1.4rem;
  background: var(--navy-600);
  border: 1px solid var(--line-cream);
  border-radius: var(--radius);
}
.stat-value {
  font-size: clamp(2.3rem, 8vw, 3.2rem);
  font-weight: 800;
  color: var(--gold-300);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label { margin-top: 0.6rem; color: var(--muted-cream); font-weight: 500; font-size: 0.98rem; }

/* ---------- Opinie ---------- */
.video-testimonials {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
  margin-bottom: 1.25rem;
}
.video-testimonial { display: flex; flex-direction: column; gap: 0.7rem; }
.media-placeholder--video { aspect-ratio: 16 / 9; }
.video-testimonial-cap {
  font-size: 0.85rem; font-weight: 600; color: var(--muted); text-align: center;
}

.testimonials { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-stars { color: var(--gold); letter-spacing: 0.12em; font-size: 0.95rem; }
.testimonial-quote { font-size: 1.02rem; font-style: italic; color: var(--ink); }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: var(--gold-300); font-weight: 800; font-size: 1.05rem;
}
.testimonial-name { font-weight: 700; font-size: 0.98rem; }
.testimonial-meta { font-size: 0.82rem; color: var(--muted); }

/* ---------- Gwarancja ---------- */
.guarantee {
  max-width: 720px; margin-inline: auto; text-align: center;
  background: var(--navy-600);
  border: 1px solid rgba(240, 169, 75, 0.45);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.guarantee-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(217, 119, 6, 0.16); font-size: 1.7rem; margin-bottom: 1.2rem;
}
.guarantee .section-title { font-size: clamp(1.5rem, 4vw, 2.2rem); }
.guarantee .section-title::after {
  content: ""; display: block; height: 4px; width: 64px;
  border-radius: 2px; margin: 1.1rem auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-300));
}
.guarantee-text {
  font-size: clamp(1rem, 2.2vw, 1.15rem); color: var(--muted-cream);
  font-weight: 500; margin-top: 0.4rem;
}
.guarantee-hl { color: var(--gold-300); font-weight: 800; }
.guarantee-note {
  margin-top: 1.1rem; font-size: 0.88rem; color: var(--muted-cream); opacity: 0.85;
}

/* ---------- CTA finalne + Calendly ----------
   Sekcja została zdjęta ze strony głównej; style zostawione dla landing page'a. */
.section--cta {
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(217,119,6,0.18), transparent 60%),
    linear-gradient(180deg, #0d1830, var(--navy));
  color: var(--cream);
  text-align: center;
}
.section--cta h2, .section--cta .section-lead { color: var(--cream); }
.section--cta .section-lead { color: var(--muted-cream); margin-inline: auto; }
.cta-head { max-width: 640px; margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); }
.cta-head .section-lead strong { color: var(--gold-300); }
.calendly-wrap {
  max-width: 760px; margin-inline: auto;
  background: var(--cream); border-radius: var(--radius);
  padding: 0.5rem; box-shadow: var(--shadow-md); overflow: hidden;
}
.calendly-inline-widget { border-radius: 12px; overflow: hidden; }
.calendly-fallback { padding: 0.9rem; font-size: 0.88rem; color: var(--muted); }
.calendly-fallback a { color: var(--gold-600); font-weight: 700; }

/* =========================================================
   LANDING PAGE /konsultacja — ciemna, wycentrowana, bez nawigacji
   ========================================================= */
.lp {
  background:
    radial-gradient(65% 45% at 50% 0%, rgba(217, 119, 6, 0.14), transparent 62%),
    linear-gradient(180deg, #0d1830 0%, var(--navy) 45%, #0b1428 100%);
  color: var(--cream);
}
.lp h1, .lp h2, .lp h3 { color: var(--cream); }

/* Pasek z logo i stopka zostają jasne — logo ma ciemne elementy i zlewa się z granatem. */
.lp-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  text-align: center;
}
.lp-logo { height: 84px; width: auto; margin-inline: auto; }

.lp-main { padding: clamp(2.5rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem); }
.lp-inner { max-width: 820px; text-align: center; }

.lp-step + .lp-step { margin-top: clamp(3rem, 8vw, 5rem); }
.lp-step .eyebrow { margin-bottom: 0.7rem; text-align: left; }
.lp-title {
  font-size: clamp(1.45rem, 4.2vw, 2.3rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.2rem);
  text-wrap: balance;
}
.lp-title::after {
  content: ""; display: block; height: 4px; width: 64px;
  border-radius: 2px; margin: 1.1rem auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-300));
}

.lp-video { min-height: 220px; }
.lp-calendly {
  padding: 0.9rem;
  background: rgba(30, 46, 79, 0.55);
  border: 1px solid var(--line-cream);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.lp-calendly-ph { aspect-ratio: 4 / 3; max-height: 420px; }
.lp .calendly-fallback { color: var(--muted-cream); }
.lp .calendly-fallback a { color: var(--gold-300); }

/* Nagłówek gwarancji na ciemnym kaflu — bez tego czyta się granatem po granacie. */
.lp .guarantee { text-align: center; background: rgba(30, 46, 79, 0.75); }
.lp .guarantee .section-title { color: var(--cream); }

.lp .lp-footer {
  text-align: center;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2rem;
}
.lp .lp-footer .footer-tag { max-width: none; margin-bottom: 0.7rem; color: var(--muted); }
.lp .lp-footer-logo { height: 46px; margin-bottom: 0.6rem; margin-inline: auto; }
.lp .lp-footer .footer-links { font-size: 0.85rem; margin-bottom: 0.4rem; }
.lp .lp-footer .footer-links a { color: var(--navy); font-weight: 600; text-decoration: none; }
.lp .lp-footer .footer-links a:hover { color: var(--gold-600); text-decoration: underline; }
.lp .lp-footer .footer-copy { font-size: 0.82rem; color: var(--muted); }

/* ---------- Stopka ---------- */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4rem) 0 6rem;
}
.footer-inner { display: grid; gap: 2rem; }
.footer-logo { height: 52px; width: auto; margin-bottom: 0.9rem; }
.footer-tag { color: var(--muted); font-size: 0.95rem; font-weight: 500; max-width: 34ch; }
.footer-social-label, .footer-social-links { display: block; }
.footer-social-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.7rem;
}
.footer-social-links { display: flex; gap: 1.2rem; }
.footer-social-links a {
  text-decoration: none; font-weight: 600; color: var(--navy); font-size: 0.95rem;
  position: relative;
}
.footer-social-links a:hover { color: var(--gold-600); }
.footer-legal { display: grid; gap: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.footer-legal a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-legal a:hover { color: var(--gold-600); text-decoration: underline; }
.footer-company, .footer-copy { font-size: 0.82rem; }

/* ---------- Mobilny sticky CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(217,119,6,0.4), 0 2px 8px rgba(0,0,0,0.2);
  transform: translateY(140%);
  transition: transform 0.35s var(--ease);
}
.mobile-cta.show { transform: translateY(0); }

/* ---------- Baner cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 200;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--line-cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.1rem 1.2rem;
  animation: cookieIn 0.4s var(--ease);
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cookie-inner { display: grid; gap: 1rem; }
.cookie-text { font-size: 0.86rem; color: var(--muted-cream); }
.cookie-text a { color: var(--gold-300); font-weight: 600; }
.cookie-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--rd, 0) * 85ms);   /* stagger dla grup */
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   DYNAMIKA — animacje i mikrointerakcje
   ========================================================= */

/* --- Hero: animowana poświata (aurora) --- */
.hero-bg {
  background-size: 160% 160%, 170% 170%, 100% 100%;
  animation: auroraShift 20s ease-in-out infinite alternate;
}
@keyframes auroraShift {
  0%   { background-position: 78% 18%, 12% 88%, 0 0; }
  100% { background-position: 60% 34%, 30% 68%, 0 0; }
}

/* --- Hero: pływające orby --- */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(46px); pointer-events: none; z-index: 0;
}
.hero-orb--1 {
  width: 300px; height: 300px; top: -50px; right: 6%;
  background: radial-gradient(circle, rgba(217,119,6,0.5), transparent 70%);
  animation: floatOrb1 13s ease-in-out infinite;
}
.hero-orb--2 {
  width: 240px; height: 240px; bottom: -40px; left: -40px;
  background: radial-gradient(circle, rgba(240,169,75,0.32), transparent 70%);
  animation: floatOrb2 17s ease-in-out infinite;
}
@keyframes floatOrb1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-26px,22px)} }
@keyframes floatOrb2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(22px,-20px)} }

/* --- Hero: wskaźnik scrolla --- */
.scroll-cue {
  position: absolute; left: 50%; bottom: 16px;
  transform: translateX(-50%);
  width: 26px; height: 42px; border-radius: 14px;
  border: 2px solid rgba(245,244,240,0.4);
  z-index: 2;
}
.scroll-cue::before {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 4px; height: 8px; border-radius: 2px;
  background: var(--gold-300); transform: translateX(-50%);
  animation: scrollDot 1.7s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  60% { opacity: 1; transform: translate(-50%, 14px); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* --- Pasek marquee z hasłami --- */
.marquee {
  background: var(--navy-700);
  border-block: 1px solid var(--line-cream);
  overflow: hidden; padding: 0.9rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 2.2rem;
  white-space: nowrap; will-change: transform;
  animation: marquee 26s linear infinite;
}
.marquee span {
  color: var(--cream); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.marquee .sep { color: var(--gold); font-size: 0.7rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Złoty akcent rosnący pod nagłówkiem sekcji --- */
.section-head .section-title::after,
.cta-head .section-title::after {
  content: ""; display: block; height: 4px; width: 0;
  border-radius: 2px; margin-top: 1.1rem;
  background: linear-gradient(90deg, var(--gold), var(--gold-300));
  transition: width 0.8s var(--ease) 0.15s;
}
.section-head.visible .section-title::after,
.cta-head.visible .section-title::after { width: 64px; }
.cta-head .section-title::after { margin-inline: auto; }

/* --- Kroki: złoty pasek „dorysowuje się" --- */
.step::before { transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--ease) 0.1s; }
.step.visible::before { transform: scaleY(1); }

/* --- Przycisk złoty: shimmer --- */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -130%;
  width: 55%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.38), transparent);
  animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer { 0%, 55% { left: -130%; } 78%, 100% { left: 140%; } }

/* --- Karty: złota poświata na hover --- */
.card, .testimonial { position: relative; }
.card:hover { box-shadow: var(--shadow-md), 0 0 0 1px rgba(217,119,6,0.25); }

/* --- Delikatny „lift" liczb --- */
.stat { transition: transform 0.3s var(--ease), border-color 0.3s; }
.stat:hover { transform: translateY(-4px); border-color: rgba(240,169,75,0.5); }

/* =========================================================
   BREAKPOINTY
   ========================================================= */

/* Tablet 641px+ */
@media (min-width: 641px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .video-testimonials { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; }
  .cookie-actions { flex-wrap: nowrap; }
  .cookie-actions .btn { flex: 0 0 auto; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1.3fr; align-items: start; }
}

/* Desktop 1025px+ */
@media (min-width: 1025px) {
  .header-nav { display: flex; }
  .header-cta { display: inline-flex; margin-left: 2rem; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .story { grid-template-columns: 0.85fr 1.15fr; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 4rem; }
}

/* =========================================================
   MAŁE EKRANY — nic nie może wypychać układu poza kadr.
   Dzieci gridów mają domyślnie min-width:auto, więc jeden długi
   wyraz albo przycisk z nowrap rozpychał całą kolumnę i treść
   uciekała poza ekran (body ma overflow-x:hidden, więc się ucinała).
   ========================================================= */
h1, h2, h3, p, li, figcaption, blockquote { overflow-wrap: break-word; }

.hero-inner > *, .story > *,
.cards > *, .steps > *, .stats > *,
.testimonials > *, .video-testimonials > * { min-width: 0; }

/* aspect-ratio + min-height potrafi wyliczyć szerokość z wysokości */
.media-placeholder { width: 100%; max-width: 100%; }

/* Telefony do 480px (m.in. ekrany ~5–6,5") */
@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .btn { white-space: normal; }
  .btn-lg { padding: 0.95em 1.2em; font-size: 0.96rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .card, .step, .testimonial { padding: 1.4rem; }
  .guarantee { padding: 1.6rem 1.2rem; }
  .lp-logo { height: 64px; }
}

/* Redukcja ruchu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
  .hero-bg, .hero-orb, .marquee-track, .btn-gold::after, .scroll-cue::before { animation: none !important; }
  .section-head .section-title::after,
  .cta-head .section-title::after { transition: none; width: 64px; }
  .step::before { transform: none; }
}
