/* =====================================================
   TRANSFORMERS — DESIGN SYSTEM v2
   Aesthetic: bold sport · brand yellow #FCB900
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&family=Bebas+Neue&display=swap');

:root {
  /* Brand palette — pulled from original transformers-leszno.pl */
  --c-bg:        #0A0A0A;
  --c-bg-2:      #141414;
  --c-bg-3:      #262626;     /* original section bg */
  --c-surface:   #181818;
  --c-surface-2: #232323;
  --c-line:      rgba(255,255,255,0.08);
  --c-line-2:    rgba(255,255,255,0.16);
  --c-text:      #F5F5F4;
  --c-text-mute: #9F9F9D;
  --c-text-dim:  #6A6A68;

  /* YELLOW system — from original site */
  --c-yellow:        #FCB900;     /* WP luminous-vivid-amber — main brand */
  --c-yellow-bright: #FFD60A;     /* hover / highlight */
  --c-yellow-pure:   #FFFF00;     /* pure highlight CTAs */
  --c-yellow-deep:   #7E791A;     /* olive — subtle accents */
  --c-yellow-soft:   #EEF075;     /* lime soft — backgrounds */

  /* alias — kept for compatibility with v1 markup */
  --c-volt:      var(--c-yellow);
  --c-volt-deep: var(--c-yellow-deep);

  --c-lava:      #FF4422;         /* lava red — alerts/challenge */
  --c-amber:     var(--c-yellow); /* alias */

  /* Geometry */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Type scale */
  --f-display: 'Anton', 'Bebas Neue', sans-serif;
  --f-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout */
  --max-w: 1440px;
  --pad-x: clamp(20px, 4vw, 64px);

  /* Motion */
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-back: cubic-bezier(.2,1.4,.4,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
}

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

html, body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

/* ----- Custom cursor (desktop) ----- */
@media (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea, select, label, summary, .pillar, .show-tile, .card, .ch, .quest, .diet, .achv {
    cursor: none;
  }
  #cursor-dot, #cursor-ring {
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
  }
  #cursor-dot {
    width: 6px; height: 6px;
    background: var(--c-yellow);
    border-radius: 50%;
    transition: transform .12s var(--ease-out), background .2s;
    mix-blend-mode: difference;
  }
  #cursor-ring {
    width: 38px; height: 38px;
    border: 1.5px solid var(--c-yellow);
    border-radius: 50%;
    transition: width .25s var(--ease-back), height .25s var(--ease-back), border-color .2s, background .2s;
  }
  body.cursor-hover #cursor-ring {
    width: 64px; height: 64px;
    background: rgba(252,185,0,0.08);
    border-color: var(--c-yellow);
  }
}

/* ----- Typography ----- */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1;            /* fixed: was 0.92 — caused header overlap */
  text-transform: uppercase;
  padding-bottom: 0.08em;    /* let descenders breathe */
}

.h-xxl { font-size: clamp(56px, 11vw, 184px); line-height: 0.95; }
.h-xl  { font-size: clamp(48px, 8vw, 132px);  line-height: 0.96; }
.h-l   { font-size: clamp(36px, 5.5vw, 88px); line-height: 0.98; }
.h-m   { font-size: clamp(28px, 3.6vw, 56px); line-height: 1; }
.h-s   { font-size: clamp(22px, 2.6vw, 36px); line-height: 1.05; }

/* spacing between display headlines and following lead text */
.display + .lead, .display + p { margin-top: 28px; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-yellow);
  display: inline-block;
  position: relative;
  padding-left: 32px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 22px; height: 2px;
  background: var(--c-yellow);
  transform: translateY(-50%);
}
.eyebrow-dim { color: var(--c-text-mute); }
.eyebrow-dim::before { background: var(--c-text-mute); }

.lead {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--c-text-mute);
  max-width: 640px;
}

.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.05em; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform .25s var(--ease-back), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-yellow);
  color: #0A0A0A;
  box-shadow: 0 0 0 0 rgba(252,185,0,0);
}
.btn-primary:hover {
  background: var(--c-yellow-bright);
  box-shadow: 0 12px 40px -10px rgba(252,185,0,0.6);
}

.btn-ghost {
  border: 1px solid var(--c-line-2);
  color: var(--c-text);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--c-yellow); color: var(--c-yellow); }

.btn-dark { background: #fff; color: #0A0A0A; }
.btn-dark:hover { background: var(--c-yellow); }

.btn-lg { padding: 22px 34px; font-size: 15px; }
.btn-sm { padding: 10px 18px; font-size: 12px; }

.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* magnetic effect attribute hooks */
.btn-magnet { will-change: transform; }

/* ----- Layout helpers ----- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

section { padding: clamp(64px, 9vw, 140px) 0; position: relative; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10,10,10,0.72);
  border-bottom: 1px solid var(--c-line);
  transition: background .3s, border-color .3s;
}
.site-header.scrolled {
  background: rgba(10,10,10,0.92);
  border-bottom-color: var(--c-line-2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand img { height: 30px; width: auto; }
.brand-tag {
  font-family: var(--f-mono); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--c-yellow);
  background: rgba(252,185,0,0.08);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(252,185,0,0.2);
}
.nav-links {
  display: flex; gap: 4px; align-items: center;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-mute);
  border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--c-text); background: var(--c-surface); }
.nav-links a.active { color: var(--c-yellow); }

.nav-cta { display: flex; gap: 8px; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 12px; }
.hamburger span { width: 22px; height: 2px; background: var(--c-text); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
}

/* ----- Footer ----- */
.site-footer {
  background: #060606;
  border-top: 1px solid var(--c-line);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-grid h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-text-mute);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; display: grid; gap: 12px; }
.footer-grid a { color: var(--c-text); font-size: 14px; font-weight: 500; }
.footer-grid a:hover { color: var(--c-yellow); }
.footer-brand img { height: 36px; margin-bottom: 18px; }
.footer-brand p { color: var(--c-text-mute); font-size: 14px; max-width: 320px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid var(--c-line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: var(--c-text-dim);
}
.adspot-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-text-mute);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,0.02);
  transition: border-color .25s, color .25s, background .25s;
}
.adspot-mark:hover {
  border-color: var(--c-yellow);
  color: var(--c-text);
  background: rgba(252,185,0,0.05);
}
.adspot-mark img {
  height: 16px;
  width: auto;
  opacity: 0.85;
  transition: opacity .25s;
}
.adspot-mark:hover img { opacity: 1; }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ----- Reusable: Stat tile ----- */
.stat {
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, var(--c-bg-2), var(--c-bg));
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: border-color .3s, transform .3s var(--ease-out);
}
.stat:hover { border-color: var(--c-yellow); transform: translateY(-4px); }
.stat .value {
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  color: var(--c-yellow);
}
.stat .label {
  margin-top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-text-mute);
}

/* ----- Reusable: Card ----- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .3s, transform .3s var(--ease-out), background .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(252,185,0,0.12), transparent 40%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.card:hover {
  border-color: var(--c-yellow);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px -20px rgba(252,185,0,0.18);
}
.card:hover::before { opacity: 1; }

.card .icon-bubble {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(252,185,0,0.1);
  border: 1px solid rgba(252,185,0,0.25);
  color: var(--c-yellow);
  display: grid; place-items: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.card .icon-bubble svg { width: 22px; height: 22px; }

.card h4 { font-size: 19px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.card p { color: var(--c-text-mute); font-size: 14.5px; line-height: 1.6; position: relative; z-index: 1; }

/* ----- Tags / pills ----- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--c-line-2);
  color: var(--c-text-mute);
}
.tag.live { color: var(--c-lava); border-color: rgba(255,68,34,0.35); background: rgba(255,68,34,0.08); }
.tag.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-lava); animation: pulse 1.5s infinite; }
.tag.volt, .tag.yellow { color: var(--c-yellow); border-color: rgba(252,185,0,0.35); background: rgba(252,185,0,0.08); }
.tag.amber { color: var(--c-yellow-bright); border-color: rgba(252,185,0,0.35); background: rgba(252,185,0,0.08); }

@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ----- Decorative grid bg ----- */
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}

/* ----- Dotted bg ----- */
.bg-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.2px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* ----- Marquee ----- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: linear-gradient(180deg, #0A0A0A, var(--c-bg-3) 50%, #0A0A0A);
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: scroll 28s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase;
  color: var(--c-text);
  display: flex; align-items: center; gap: 60px;
  white-space: nowrap;
}
.marquee-item .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-yellow);
}
.marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ----- Scroll-triggered reveal ----- */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  will-change: transform, opacity;
}
.reveal-up.in {
  opacity: 1;
  transform: none;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
.reveal-fade.in { opacity: 1; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-scale.in { opacity: 1; transform: none; }

/* stagger delays */
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }
.d6 { transition-delay: 0.48s; }

/* legacy reveal (for first paint hero) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: reveal 0.9s var(--ease-out) forwards;
}
@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* ----- Word-by-word hero animation ----- */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-word span {
  display: inline-block;
  transform: translateY(110%);
  animation: split-rise .9s var(--ease-out) forwards;
}
.split-word.dly1 span { animation-delay: 0.1s; }
.split-word.dly2 span { animation-delay: 0.25s; }
.split-word.dly3 span { animation-delay: 0.4s; }
.split-word.dly4 span { animation-delay: 0.55s; }
.split-word.dly5 span { animation-delay: 0.7s; }
@keyframes split-rise {
  to { transform: translateY(0); }
}

/* ----- Glitch ----- */
.glitch {
  position: relative;
  display: inline-block;
}
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--c-yellow);
  z-index: -1;
  animation: glitch-x 4s infinite ease-in-out;
}
.glitch::after {
  color: var(--c-lava);
  z-index: -1;
  animation: glitch-x 4s infinite ease-in-out reverse;
  animation-delay: 0.3s;
}
@keyframes glitch-x {
  0%,90%,100% { transform: translate(0,0); }
  92% { transform: translate(-2px,1px); }
  94% { transform: translate(2px,-1px); }
  96% { transform: translate(-1px,2px); }
}

/* ----- Big-type bg accent ----- */
.bigtype-bg {
  position: absolute;
  font-family: var(--f-display);
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  font-size: clamp(140px, 24vw, 380px);
  line-height: 0.82;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* ----- Forms ----- */
.input, .textarea, .select {
  width: 100%;
  padding: 16px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color .2s, background .2s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--c-yellow);
  background: var(--c-bg-2);
}
.input-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-text-mute);
  margin-bottom: 8px;
}
.textarea { resize: vertical; min-height: 140px; }

/* ----- Scroll progress bar ----- */
#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--c-yellow);
  z-index: 999;
  transition: width 0.05s linear;
  box-shadow: 0 0 12px rgba(252,185,0,0.6);
}

/* ===================================================
   TESTIMONIAL BAND v2 — small text, real Google reviews
   =================================================== */
.testi-band {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 160px) 0;
}
.testi-bg-img {
  position: absolute; inset: 0;
  z-index: 1;
}
.testi-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.1) brightness(0.4);
}
.testi-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(252,185,0,0.18), transparent 60%),
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(10,10,10,0.95), rgba(10,10,10,0.55));
}
.testi-head {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 32px; align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 800px) { .testi-head { grid-template-columns: 1fr; } }

.rating-card {
  background: rgba(15,15,15,0.6);
  border: 1px solid rgba(252,185,0,0.35);
  border-radius: var(--r-md);
  padding: 22px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.rating-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.rating-num {
  font-family: var(--f-display);
  font-size: 56px; line-height: 1;
  color: var(--c-yellow);
}
.rating-num .of {
  font-size: 24px; color: var(--c-text-mute);
  margin-left: 6px;
}
.rating-stars {
  color: var(--c-yellow);
  font-size: 22px;
  letter-spacing: 0.05em;
}
.rating-meta { display: flex; flex-direction: column; gap: 2px; }
.rating-meta strong { font-size: 14px; }
.rating-meta span { font-family: var(--f-mono); font-size: 11px; color: var(--c-text-mute); text-transform: uppercase; letter-spacing: 0.12em; }

.testi-grid-v2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 1000px) {
  .testi-grid-v2 { grid-template-columns: 1fr 1fr; }
  .testi-feature { grid-column: span 2; }
}
@media (max-width: 640px) {
  .testi-grid-v2 { grid-template-columns: 1fr; }
  .testi-feature { grid-column: span 1; }
}

.testi-v2 {
  position: relative;
  background: rgba(20,20,20,0.7);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px 28px 24px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .3s, transform .3s var(--ease-out);
  display: flex; flex-direction: column;
}
.testi-v2:hover { border-color: var(--c-yellow); transform: translateY(-4px); }

.testi-v2 .quote-mark {
  width: 28px; height: 28px;
  color: var(--c-yellow);
  opacity: 0.9;
  margin-bottom: 14px;
}

.testi-v2 p {
  font-family: var(--f-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--c-text);
  font-weight: 400;
  flex: 1;
}
.testi-v2 p strong { color: var(--c-yellow); font-weight: 700; }

.testi-v2.testi-feature p { font-size: 16.5px; }

.who-v2 {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
}
.who-img-v2 {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--c-yellow);
  color: #0a0a0a;
  display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.who-name-v2 { font-size: 13.5px; font-weight: 700; }
.who-role-v2 {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--c-text-mute);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 2px;
}
.stars-mini {
  margin-left: auto;
  color: var(--c-yellow);
  font-size: 11px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.testi-foot {
  margin-top: 48px;
  text-align: center;
}

/* ===== MOBILE MENU TOGGLE ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 100px 32px 40px;
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu a {
  display: block;
  font-family: var(--f-display);
  font-size: 40px;
  text-transform: uppercase;
  line-height: 1;
  padding: 18px 0;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-line);
  transition: color .2s, padding-left .25s var(--ease-out);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--c-yellow); padding-left: 12px; }
.mobile-menu .mm-cta {
  margin-top: 32px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.mobile-menu-close {
  position: absolute;
  top: 22px; right: 24px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  background: var(--c-surface);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger span {
  transition: transform .25s var(--ease-out), opacity .2s;
  transform-origin: center;
}

/* ===== MOBILE ADJUSTMENTS — ENHANCED ===== */
@media (max-width: 980px) {
  /* Headlines on tablet/mobile — meaningful smaller caps */
  .h-xxl { font-size: clamp(48px, 12vw, 96px); }
  .h-xl  { font-size: clamp(40px, 10vw, 80px); }
  .h-l   { font-size: clamp(32px, 7vw, 64px); }
  .h-m   { font-size: clamp(26px, 5vw, 44px); }
}

@media (max-width: 700px) {
  section { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  :root { --pad-x: 18px; }

  /* Headlines tightened on phone */
  .h-xxl { font-size: clamp(40px, 13vw, 72px); }
  .h-xl  { font-size: clamp(34px, 11vw, 60px); }
  .h-l   { font-size: clamp(28px, 8vw, 48px); }
  .h-m   { font-size: clamp(24px, 6vw, 36px); }

  /* CTA sections — smaller padding */
  section .final-cta { padding: 36px 24px !important; }
  .final-cta h2 { font-size: clamp(34px, 11vw, 54px) !important; }
  .final-cta p { font-size: 15px !important; margin: 16px 0 24px !important; }
  .final-cta .big-tx,
  .final-cta .big-arrow { display: none; }

  /* hero-stats stacked compact */
  .hero-stats { gap: 24px; padding-top: 24px; margin-top: 32px; }
  .hero-stats .h-stat .v { font-size: 32px; }

  /* eyebrow spacing */
  .eyebrow { font-size: 11px; padding-left: 24px; }
  .eyebrow::before { width: 16px; }

  /* Brand tag hide on small */
  .brand-tag { display: none; }
  .brand img { height: 26px; }

  /* Custom cursor — disable on touch */
  body { cursor: auto !important; }
  #cursor-dot, #cursor-ring { display: none !important; }
  a, button, input, textarea, select, label, summary { cursor: pointer !important; }

  /* Reveal — pokaż natychmiast (bez animacji wejścia) — szybciej i bez rozbiegania */
  .reveal-up, .reveal-fade, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Marquee speed up on mobile */
  .marquee-track { animation-duration: 22s; }
  .marquee-item { font-size: clamp(28px, 8vw, 44px); }

  /* Disable text-shadow on big elements (perf) */
  .hero-ticker .num,
  .price-card .pln { text-shadow: none; }
}

@media (max-width: 480px) {
  .nav { padding: 14px 0; }
  .nav-cta .btn-sm { padding: 9px 14px; font-size: 11px; }
  .nav-cta .btn-sm:not(.btn-magnet) { display: none; }

  .marquee { padding: 18px 0; }
}

/* ===== Mobile menu — fix overflow / scroll / button overlap ===== */
@media (max-width: 980px) {
  .mobile-menu {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 96px 24px 40px;
    gap: 0;
  }
  .mobile-menu a {
    font-size: clamp(28px, 8vw, 40px);
    padding: 16px 0;
    line-height: 1.05;
  }
  .mobile-menu .mm-cta {
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
    align-items: stretch;
  }
  .mobile-menu .mm-cta .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 16px 18px;
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  /* CTA buttons in mobile menu — nie ucinaj */
  .mobile-menu .mm-cta .btn-primary {
    display: flex;
  }
  .mobile-menu .mm-cta .btn-ghost {
    display: flex;
  }
}

/* ============================================================
   ANIMATED SVG BACKGROUNDS — modern v3
   ============================================================ */

/* ----- Constellation: animated connecting dots ----- */
.bg-constellation {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.bg-constellation svg { width: 100%; height: 100%; }
.bg-constellation circle {
  fill: var(--c-yellow);
  animation: starPulse 3s infinite ease-in-out;
}
.bg-constellation circle:nth-child(1) { animation-delay: 0s; }
.bg-constellation circle:nth-child(2) { animation-delay: 0.4s; }
.bg-constellation circle:nth-child(3) { animation-delay: 0.8s; }
.bg-constellation circle:nth-child(4) { animation-delay: 1.2s; }
.bg-constellation circle:nth-child(5) { animation-delay: 1.6s; }
.bg-constellation circle:nth-child(6) { animation-delay: 2s; }
.bg-constellation circle:nth-child(7) { animation-delay: 2.4s; }
.bg-constellation circle:nth-child(8) { animation-delay: 0.2s; }
.bg-constellation circle:nth-child(9) { animation-delay: 1.4s; }
.bg-constellation circle:nth-child(10) { animation-delay: 1.0s; }
.bg-constellation line {
  stroke: var(--c-yellow);
  stroke-width: 0.5;
  opacity: 0.25;
  stroke-dasharray: 800;
  animation: lineDraw 6s infinite ease-in-out;
}
.bg-constellation line:nth-child(odd) { animation-delay: 1.5s; }
@keyframes starPulse {
  0%, 100% { r: 1.5; opacity: 0.4; }
  50%      { r: 3.5; opacity: 1; }
}
@keyframes lineDraw {
  0%, 100% { stroke-dashoffset: 800; opacity: 0; }
  20%      { opacity: 0.25; }
  50%      { stroke-dashoffset: 0; opacity: 0.4; }
  80%      { opacity: 0.15; }
}

/* ----- Floating geometric shapes (barbell/dumbbell motifs) ----- */
.bg-floaters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.bg-floaters .floater {
  position: absolute;
  color: var(--c-yellow);
  opacity: 0.06;
  animation: floatRotate 22s infinite linear;
  filter: blur(0.5px);
}
.bg-floaters .floater svg { width: 100%; height: 100%; display: block; }
.bg-floaters .f1 { width: 180px; height: 180px; top: 8%; left: 4%; animation-duration: 28s; }
.bg-floaters .f2 { width: 240px; height: 240px; bottom: 12%; right: 8%; animation-duration: 36s; animation-direction: reverse; }
.bg-floaters .f3 { width: 120px; height: 120px; top: 55%; left: 12%; animation-duration: 24s; opacity: 0.08; }
.bg-floaters .f4 { width: 90px;  height: 90px;  top: 25%; right: 18%; animation-duration: 18s; opacity: 0.1; }

@keyframes floatRotate {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(30px, -20px) rotate(90deg); }
  50%  { transform: translate(-20px, -40px) rotate(180deg); }
  75%  { transform: translate(-40px, 10px) rotate(270deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* ----- Animated grain / noise overlay (SVG turbulence) ----- */
.bg-grain {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.85 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grainShift 8s steps(8) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  10%  { transform: translate(-5%, -10%); }
  20%  { transform: translate(-15%, 5%); }
  30%  { transform: translate(7%, -25%); }
  40%  { transform: translate(-5%, 25%); }
  50%  { transform: translate(-15%, 10%); }
  60%  { transform: translate(15%, 0%); }
  70%  { transform: translate(0%, 15%); }
  80%  { transform: translate(3%, 35%); }
  90%  { transform: translate(-10%, 10%); }
  100% { transform: translate(0,0); }
}

/* ----- Animated wave divider (between sections) ----- */
.wave-divider {
  display: block;
  width: 100%;
  height: 80px;
  position: relative;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}
.wave-divider svg {
  position: absolute;
  width: 200%;
  height: 100%;
  left: 0; top: 0;
  animation: waveSlide 16s linear infinite;
}
.wave-divider path {
  fill: none;
  stroke: var(--c-yellow);
  stroke-width: 1.5;
  opacity: 0.25;
  stroke-dasharray: 4 6;
}
@keyframes waveSlide {
  to { transform: translateX(-50%); }
}

/* ----- Mini constellation (lighter, for content sections) ----- */
.bg-constellation-mini {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: screen;
}
.bg-constellation-mini svg { width: 100%; height: 100%; }
.bg-constellation-mini circle {
  fill: var(--c-yellow);
  animation: starPulse 3.4s infinite ease-in-out;
}
.bg-constellation-mini circle:nth-child(1) { animation-delay: 0.1s; }
.bg-constellation-mini circle:nth-child(2) { animation-delay: 0.7s; }
.bg-constellation-mini circle:nth-child(3) { animation-delay: 1.3s; }
.bg-constellation-mini circle:nth-child(4) { animation-delay: 1.9s; }
.bg-constellation-mini circle:nth-child(5) { animation-delay: 2.5s; }
.bg-constellation-mini line {
  stroke: var(--c-yellow);
  stroke-width: 0.4;
  opacity: 0.18;
  stroke-dasharray: 600;
  animation: lineDraw 8s infinite ease-in-out;
}

/* Single floater for content sections */
.bg-floater-solo {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: var(--c-yellow);
  opacity: 0.045;
  animation: floatRotate 26s infinite linear;
}
.bg-floater-solo.f-tl { width: 140px; height: 140px; top: 8%; left: 4%; }
.bg-floater-solo.f-tr { width: 110px; height: 110px; top: 12%; right: 6%; animation-direction: reverse; animation-duration: 32s; }
.bg-floater-solo.f-br { width: 160px; height: 160px; bottom: 10%; right: 4%; animation-duration: 30s; }
.bg-floater-solo.f-bl { width: 100px; height: 100px; bottom: 14%; left: 8%; animation-direction: reverse; animation-duration: 24s; }

/* Wrap container above floaters/constellation */
section .container { position: relative; z-index: 2; }

/* Sections must not clip overflow auto-injected stuff */
section { isolation: isolate; }

@media (max-width: 700px) {
  /* On mobile reduce parallax stuff to keep perf good */
  .bg-floater-solo, .bg-constellation-mini { display: none; }
}

/* ----- Animated diagonal stripe (eye-catcher) ----- */
.bg-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0,
    transparent 22px,
    rgba(252,185,0,0.025) 22px,
    rgba(252,185,0,0.025) 23px
  );
  background-size: 40px 40px;
  animation: stripeMove 12s linear infinite;
  pointer-events: none;
}
@keyframes stripeMove {
  to { background-position: -40px -40px; }
}

/* Reduced motion off the moving stuff */
@media (prefers-reduced-motion: reduce) {
  .bg-constellation circle,
  .bg-constellation line,
  .bg-floaters .floater,
  .bg-grain,
  .wave-divider svg,
  .bg-stripes { animation: none !important; }
}

/* ===== Section spacing — naprawa nachodzenia bigtype-band na sub-hero ===== */
.bigtype-band {
  padding-bottom: clamp(80px, 12vw, 140px);
}
@media (max-width: 700px) {
  .bigtype-band {
    padding: 56px 0 80px;
  }
  .bigtype-band .container {
    padding-left: 16px;
    padding-right: 16px;
    text-align: center;
  }
  .bigtype-band h2 {
    line-height: 1.05;
    font-size: clamp(34px, 9.5vw, 56px);
    letter-spacing: -0.005em;
  }
  /* sub-hero / sekcja zaraz po bigtype potrzebuje oddechu na mobile */
  .sub-hero {
    margin-top: 32px;
  }

  /* ===== Footer mobile — kompaktowy 2-kolumnowy układ ===== */
  .site-footer { padding: 56px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 20px !important;
    margin-bottom: 36px;
  }
  .footer-grid .footer-brand {
    grid-column: span 2;
    margin-bottom: 8px;
  }
  .footer-brand p { font-size: 13px; }
  .footer-brand img { height: 30px; margin-bottom: 14px; }
  .footer-brand div[style*="margin-top: 20px"] { margin-top: 14px !important; gap: 6px !important; }
  .footer-brand .btn-sm { padding: 8px 12px; font-size: 11px; }
  .footer-grid h5 { font-size: 10px; margin-bottom: 12px; letter-spacing: 0.14em; }
  .footer-grid ul { gap: 8px !important; }
  .footer-grid a { font-size: 13px; }
  .footer-bottom { gap: 12px; padding-top: 20px; font-size: 11px; }
  .adspot-mark { padding: 6px 12px; font-size: 9px; }
  .adspot-mark img { height: 14px; }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up, .reveal-fade, .reveal-scale { opacity: 1 !important; transform: none !important; }
  .split-word span { transform: none !important; }
}
