/* ====================================
   Furgon EVO Landing Page
   Wielton S.A. 2026
   ==================================== */

:root {
  --lime: #a3d36b;
  --lime-bright: #c4e88c;
  --lime-dark: #7eb44a;
  --black: #000;
  --graphite: #0a0a0a;
  --steel: #6e6e72;
  --smoke: #f5f5f7;
  --white: #fff;

  --nav-height: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

/* ===== FRAME COUNTER HUD (dev — identyfikacja klatek do poprawy) ===== */
.frame-counter {
  position: absolute;
  top: 5rem;
  left: 1.5rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(163,211,107,0.4);
  border-radius: 0.4rem;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #ffffff;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.frame-counter-label {
  color: rgba(163,211,107,0.85);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}
.frame-counter-num {
  color: #a3d36b;
  font-weight: 700;
  font-size: 1rem;
  min-width: 3.5ch;
  text-align: right;
}
.frame-counter-sep { color: rgba(255,255,255,0.3); }
.frame-counter-total { color: rgba(255,255,255,0.55); }
.frame-counter-progress {
  margin-left: 0.6rem;
  padding-left: 0.6rem;
  border-left: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  min-width: 4ch;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "magistral", "Montserrat", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.4;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Brand "3" w nazwie produktu "comPET3" — font OCR-A Std (Adobe Fonts kit vhn4ktw) */
/* "3" wyrównane do wysokości "T" otaczających liter — OCR-A ma cap-height bliską Magistralowi */
.brand-3,
span.brand-3 {
  font-family: "ocr-a-std", "Major Mono Display", "Courier New", monospace !important;
  font-weight: 400 !important;
  font-style: normal !important;
  font-size: 0.9em;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
  letter-spacing: 0;
  font-stretch: normal;
}

/* ===== TYPOGRAPHY ===== */
.display-xl {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(4rem, 14vw, 11.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.display-lg {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.display-md {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.5rem;
}
.eyebrow-line {
  width: 24px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow-small {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.lead {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin-bottom: 2.5rem;
  max-width: 30rem;
}
.lead-light {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  color: var(--steel);
  max-width: 36rem;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.95rem 2rem;
  border-radius: 999px;
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(.2,.8,.2,1);
  letter-spacing: 0.02em;
}
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.78rem; }
.btn-lg { padding: 1.2rem 2.5rem; font-size: 1rem; }
.btn-primary {
  background: var(--lime);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--lime-bright);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 500;
}
.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-dark {
  background: var(--black);
  color: var(--lime);
}
.btn-dark:hover { background: var(--graphite); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  transition: backdrop-filter 0.3s, background 0.3s, border 0.3s;
  background: transparent;
}
.nav.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.nav-brand img {
  height: 28px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .nav-brand img { height: 22px; }
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 0.78rem;
}
.nav-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--lime); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.locale-switch {
  display: flex;
  gap: 0.25rem;
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.locale-switch .active { color: var(--lime); }
.locale-switch .sep { color: rgba(255,255,255,0.3); }
.locale-switch .inactive {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.locale-switch .inactive:hover { color: var(--white); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ===== HERO + SEQUENCE (integrated) ===== */
.hero-sequence {
  position: relative;
  width: 100%;
  height: 500vh; /* 5 viewports = przestrzeń scrolla na zniknięcie tekstów + 75 klatek */
  height: 500svh; /* mobile-safe — viewport bez URL bara, bez skoków przy scroll */
  background: var(--black);
}
.hero-sequence-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh; /* mobile-safe */
  overflow: hidden;
  background: var(--black);
}
@media (max-width: 768px) {
  .hero-sequence { height: 350svh; } /* krótszy scroll na mobile */
  .hero-content {
    padding: 5rem 1rem 5rem;
    justify-content: center;
  }
  .hero h1.display-xl { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-claim { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .hero-cta { gap: 0.5rem; }
  .hero-cta .btn { padding: 0.7rem 1.2rem; font-size: 0.85rem; }
}
.hero-sequence-sticky canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-sequence-sticky canvas.ready {
  opacity: 1;
}
.hero-bg-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity 0.5s ease;
}
.hero-bg-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-fallback.hidden {
  opacity: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 30%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  will-change: opacity, transform;
}
.hero h1.display-xl {
  margin-bottom: 1.5rem;
}
.hero-claim {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.5vw, 1.4rem);
  max-width: 36rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.5rem;
  line-height: 1.5;
}
.hero-claim strong {
  font-weight: 700;
  color: var(--white);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.hero-meta {
  position: absolute;
  bottom: 4rem;
  right: 1.5rem;
  z-index: 3;
  text-align: right;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  line-height: 1.8;
  will-change: opacity;
}
@media (max-width: 768px) {
  .hero-meta { display: none; }
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: ui-monospace, monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.25em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  will-change: opacity;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--lime) 0%, transparent 100%);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.4); }
}

/* ===== SEQUENCE LOADER (inside hero-sequence-sticky) ===== */
.sequence-loader {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 5;
  padding: 0.75rem 1.5rem;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: opacity 0.4s ease, visibility 0.4s, transform 0.4s ease;
}
.sequence-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
}
.loader-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.loader-bar {
  width: 240px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--lime);
  width: 0%;
  transition: width 0.2s ease;
}
.loader-count {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
}
.sequence-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6rem;
  z-index: 4;
  max-width: 700px;
  padding: 0 1.5rem;
  margin: 0 auto;
  text-align: left;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sequence-caption.visible {
  opacity: 1;
  transform: translateY(0);
}
.caption-eyebrow {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}
.caption-title {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
@media (max-width: 768px) {
  .sequence-caption { bottom: 6rem; }
}

/* ===== SECTIONS ===== */
.section {
  padding: 8rem 1.5rem;
  position: relative;
}
.section.light {
  background: var(--white);
  color: var(--black);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
}
.container-narrow {
  max-width: 900px;
  margin: 0 auto;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 6rem;
  align-items: center;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .section { padding: 5rem 1.5rem; }
}

/* ===== BOTTLES (3D scene, jasne tło z lime atmosphere) ===== */
.sec-bottles {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: var(--black);
  position: relative;
  overflow: hidden;
  min-height: 800px;
  padding: 6rem 1.5rem;
}
.sec-bottles .display-lg { color: var(--graphite); }
.sec-bottles .lead { color: var(--steel); }
.sec-bottles .counter-num { color: var(--lime-dark); }
.sec-bottles .counter-num .percent { color: rgba(0,0,0,0.4); }
.sec-bottles .counter-label { color: var(--steel); }
.sec-bottles .counter-block { border-color: rgba(0,0,0,0.12); }

/* WIELKA LICZBA 3265 po lewej (nad canvas) */
.bottles-bignum {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 60%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.bottles-bignum .counter {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: 0.85;
  color: var(--lime-dark);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(126,180,74,0.18);
}
@media (max-width: 768px) {
  .bottles-bignum {
    width: 100%;
    top: 4.5rem;
    transform: none;
  }
  .bottles-bignum .counter { font-size: clamp(6.5rem, 22vw, 10rem); }
}
.bottles-canvas-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}
/* brak zielonego glow — czyste białe tło */
.sec-bottles::before { display: none; }
.bottles-overlay {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: calc(800px - 12rem);
}
.bottles-text {
  max-width: 480px;
  padding: 2rem 2.5rem;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 1.25rem;
  border: 1px solid rgba(163,211,107,0.4);
  box-shadow: 0 24px 70px rgba(126,180,74,0.18), 0 8px 24px rgba(0,0,0,0.06);
}
@media (max-width: 768px) {
  .bottles-overlay { justify-content: center; align-items: flex-end; padding-top: 5rem; }
  .bottles-text { padding: 1.5rem; margin-top: 0; }
  .sec-bottles { min-height: 600px; padding-top: 4rem; padding-bottom: 4rem; }
}
.bottles-image,
.bottles-particles {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: visible;
}
.bottles-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.bottles-stage {
  width: 100%;
  height: 100%;
  position: relative;
  perspective: 900px;
  transform-style: preserve-3d;
  z-index: 2;
}
.bottle-particle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: auto;
  margin-left: -90px;
  margin-top: -45px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 8px 20px rgba(163,211,107,0.35))
          drop-shadow(0 4px 10px rgba(0,0,0,0.15));
  mix-blend-mode: multiply;
}
.bottle-particle img {
  width: 100%;
  height: auto;
  display: block;
}
.bottles-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(163, 211, 107, 0.35) 0%, transparent 65%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
  animation: bottlesGlowPulse 5s ease-in-out infinite;
}
@keyframes bottlesGlowPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.12); }
}
@media (max-width: 900px) {
  .bottles-image,
  .bottles-particles { height: 450px; }
  .bottle-particle { width: 50px; height: 160px; margin-left: -25px; margin-top: -80px; }
}
.counter-block {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 2rem;
}
.counter-num {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 4.5rem;
  line-height: 1;
}
.counter-num .percent {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.4);
  margin-left: 0.2rem;
}
.counter-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== PROCESS ===== */
.sec-process { color: var(--black); }
.process-title {
  max-width: 60rem;
  margin-bottom: 4rem;
}
.process-row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr 60px 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .process-row { grid-template-columns: 1fr; }
  .process-arrow { display: none; }
}
.process-step {
  background: var(--smoke);
  border-radius: 1rem;
  padding: 0;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.process-img {
  width: 100%;
  height: 240px;
  position: relative;
  flex-shrink: 0;
  background: var(--white);
}
.process-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.process-img.cover img {
  object-fit: cover;
}
.process-step-text {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.process-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.process-step-title {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
}
.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 2rem;
  color: var(--lime-dark);
}

/* ===== STATS ===== */
/* ===== STATS (light, image w pustej przestrzeni) ===== */
.sec-stats {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: var(--black);
  position: relative;
}
.stats-header {
  position: relative;
  min-height: 560px;
  padding-bottom: 5rem;
}
.stats-header-image {
  position: absolute;
  top: 50%;
  right: -7%;
  width: 85vw;
  max-width: 1850px;
  min-width: 1000px;
  z-index: 1;
  pointer-events: none;
  transform: translateY(-50%);
}
.stats-header-image img {
  width: 100%;
  height: auto;
  display: block;
}
.stats-header > div:not(.stats-header-image) {
  position: relative;
  z-index: 2;
  max-width: 38%;
}
.stats-header .stats-intro {
  position: absolute;
  bottom: -1rem;
  right: 0;
  z-index: 2;
  max-width: 28rem;
  text-align: right;
  margin: 0;
}
@media (max-width: 900px) {
  .stats-header {
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding-bottom: 0;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center !important;
  }
  .stats-header > div:not(.stats-header-image) {
    max-width: 100%;
    width: 100%;
    text-align: center !important;
  }
  .stats-header-image {
    order: -1;
    position: relative;
    top: 0;
    right: auto;
    left: auto;
    transform: none;
    width: 108%;
    min-width: 0;
    max-width: none;
    margin: 0 -4% 0.75rem;
    display: flex;
    justify-content: center;
  }
  .stats-header-image img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: block;
  }
  .sec-stats .stats-header .display-lg {
    text-align: center !important;
    transform-origin: center center;
    will-change: transform;
  }
  .stats-header .stats-intro {
    position: static;
    max-width: 100%;
    text-align: center !important;
    margin: 0 auto;
  }
}
.sec-stats .display-lg { color: var(--graphite); }
.sec-stats .stat-num.lime,
.sec-stats .stat-num .lime { color: var(--lime-dark); }
.stats-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  gap: 2rem;
}
.stats-intro {
  max-width: 22rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: var(--steel);
  line-height: 1.55;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
}
.stat-cell {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(0,0,0,0.12);
}
.stat-cell:last-child { border-right: none; }
@media (max-width: 900px) {
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.12); }
}
.stat-num {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  color: var(--graphite);
  line-height: 1;
  margin-bottom: 0.7rem;
}
.stat-unit {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: rgba(0,0,0,0.4);
  vertical-align: super;
  margin-left: 0.2rem;
}
.stat-tbc {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: rgba(126,180,74,0.55);
  letter-spacing: 0.05em;
  border: 2px dashed rgba(126,180,74,0.5);
  border-radius: 0.5rem;
  padding: 0.2rem 1rem;
}
.stat-asterisk {
  font-size: 0.55em;
  color: var(--steel);
  margin-left: 0.1em;
  font-weight: 400;
  vertical-align: super;
}
.stats-disclaimer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  color: var(--steel);
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.stats-disclaimer sup {
  color: var(--lime-dark);
  font-weight: 700;
  margin-right: 0.25em;
}
@media (max-width: 768px) {
  .stats-disclaimer { font-size: 0.72rem; gap: 0.55rem; }
}
.stat-label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: var(--steel);
  line-height: 1.4;
}

/* ===== TECHNOLOGY ===== */
.sec-technology {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(126,180,74,0.25) 0%, transparent 60%),
    linear-gradient(180deg, #a3d36b 0%, #b8d97a 50%, #a3d36b 100%);
  position: relative;
  color: var(--graphite);
}
.sec-technology .display-md { color: var(--graphite); }
.sec-technology .display-md .lime { color: #ffffff; }
.sec-technology .lead { color: rgba(10,10,10,0.75); }
.sec-technology .tech-list li { color: rgba(10,10,10,0.85); border-bottom-color: rgba(10,10,10,0.15); }
.sec-technology .tech-arrow { color: #1a3a14; }
.sec-technology .tech-hi {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  color: #0a1a05;
  background: rgba(255,255,255,0.7);
  padding: 0.1rem 0.55rem;
  border-radius: 0.3rem;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}
.sec-technology .tech-visual { background: var(--graphite); border-color: rgba(10,10,10,0.2); }
.sec-technology .tech-note { color: rgba(255,255,255,0.55); }
.sec-technology .tech-li-sub {
  display: block;
  margin-top: 0.45rem;
  margin-left: 1.5rem;
  font-size: 0.92rem;
  color: rgba(10,10,10,0.65);
  font-weight: 400;
}
.tech-list {
  list-style: none;
  margin-top: 2rem;
}
.tech-list li {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  padding: 0.75rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tech-list .tech-li-sub { flex-basis: 100%; margin-left: 1.5rem; }
.tech-arrow {
  color: var(--lime);
  font-weight: 700;
  flex-shrink: 0;
}
.tech-visual {
  aspect-ratio: 1;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.25rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Drugie video w sekcji Technology (testy wytrzymałościowe) — gap od pierwszego */
.tech-video-secondary {
  margin-top: 1.25rem;
}

.tech-cross-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  perspective: 900px;
}
.tech-cross-section .layer {
  opacity: 1;
  transform: translateY(0) rotateX(0) scale(1);
  transform-origin: center top;
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
.tech-cross-section.anim .layer { opacity: 0; }
.tech-cross-section.anim .layer-1 { transform: translateY(-40px) rotateX(-25deg); transition-delay: 0s; }
.tech-cross-section.anim .layer-2 { transform: translateY(0) scale(0.92); transition-delay: 0.4s; }
.tech-cross-section.anim .layer-3 { transform: translateY(40px) rotateX(25deg); transform-origin: center bottom; transition-delay: 0.8s; }
.tech-cross-section .layer-bottles span {
  opacity: 0.85;
  transform: translateY(0) scale(1);
  transition: opacity 0.4s ease-out, transform 0.5s cubic-bezier(.2,1.4,.4,1);
}
.tech-cross-section.anim .layer-bottles span {
  opacity: 0;
  transform: translateY(-12px) scale(0.5);
}
.tech-cross-section.in-view .layer { opacity: 1; transform: translateY(0) rotateX(0) scale(1); }
.tech-cross-section.in-view .layer-bottles span {
  opacity: 0.85;
  transform: translateY(0) scale(1);
}
.tech-cross-section.in-view .layer-bottles span:nth-child(1)  { transition-delay: 0.7s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(2)  { transition-delay: 0.78s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(3)  { transition-delay: 0.86s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(4)  { transition-delay: 0.94s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(5)  { transition-delay: 1.02s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(6)  { transition-delay: 1.10s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(7)  { transition-delay: 1.18s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(8)  { transition-delay: 1.26s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(9)  { transition-delay: 1.34s; }
.tech-cross-section.in-view .layer-bottles span:nth-child(10) { transition-delay: 1.42s; }

@media (prefers-reduced-motion: reduce) {
  .tech-cross-section .layer,
  .tech-cross-section .layer-bottles span {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.layer {
  position: relative;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}
.layer-label {
  position: relative;
  z-index: 2;
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.layer-1, .layer-3 {
  height: 60px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
}
.layer-1 .layer-label, .layer-3 .layer-label { color: rgba(255,255,255,0.6); }
.layer-2 {
  height: 140px;
  background: linear-gradient(135deg, rgba(163,211,107,0.15), rgba(163,211,107,0.05));
  border: 1px solid rgba(163,211,107,0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.layer-2 .layer-label { color: var(--lime); }
.layer-bottles {
  display: grid;
  grid-template-columns: repeat(10, 8px);
  gap: 3px;
  margin-right: 0;
}
.layer-bottles span {
  width: 8px;
  height: 22px;
  background: var(--lime);
  border-radius: 1px 1px 4px 4px;
  opacity: 0.85;
}
.tech-video {
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--graphite);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  aspect-ratio: 16 / 10;
}
.tech-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tech-video-label {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0.85rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  border: 1px solid rgba(163,211,107,0.3);
  pointer-events: none;
}
.tech-video-tag {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tech-video-meta {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}
.tech-note {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  margin-top: 1rem;
}

/* ===== REPAIR ===== */
.sec-repair { color: var(--black); }

/* ===== REPAIR TITLE — letter-by-letter mask reveal (per-word wrapper) ===== */
.repair-title {
  max-width: 60rem;
  margin: 0 0 3.5rem;
  text-align: left;
  font-size: clamp(2.6rem, 6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  display: block;
  color: var(--graphite);
  position: relative;
  word-spacing: 0;
}

/* repair-title — flex wrap pozwala "|" forced break przez flex-basis 100% */
.repair-title {
  display: flex;
  flex-wrap: wrap;
}
/* Każde słowo to wrapper z overflow hidden — maska per word, litery animują się wewnątrz */
.r-word-wrap {
  display: inline-flex;
  overflow: hidden;
  padding-bottom: 0.08em;
  vertical-align: bottom;
  line-height: inherit;
  margin-right: 0.3em;
}
/* Forced line break w flex container */
.r-line-break {
  flex-basis: 100%;
  width: 100%;
  height: 0;
}
.r-letter {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

/* Ostatnie słowa (data-accent) mają lime kolor */
.r-word-accent { color: var(--lime-dark); }

/* Akcent: gradient line pod ostatnimi słowami "jak nowa." (rośnie od lewej do prawej) */
.r-title-accent-bar {
  display: block;
  height: 6px;
  width: 0;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--lime) 0%, var(--lime-bright) 100%);
  border-radius: 999px;
  transition: width 1s cubic-bezier(.2,.8,.2,1) 0.6s;
}
.repair-title.in-view .r-title-accent-bar { width: clamp(8rem, 22vw, 18rem); }

@media (max-width: 768px) {
  .repair-title {
    font-size: clamp(2rem, 9vw, 3.2rem);
    margin: 0 0 2.5rem;
  }
  .r-title-accent-bar { height: 4px; margin-top: 0.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .r-letter { transform: none; }
}
.repair-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) { .repair-grid { grid-template-columns: 1fr; } }
.repair-step {
  background: var(--smoke);
  border-radius: 1rem;
  padding: 2.5rem;
}
.repair-num {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.repair-step h3 {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.repair-step p {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--steel);
  line-height: 1.6;
}
.repair-footnote {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: var(--steel);
  margin-top: 3rem;
  max-width: 48rem;
}

/* Repair eyebrow — krótki tekst NAD wielkim headline'em (left-aligned) */
.repair-subtitle {
  text-align: left;
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.25;
  color: var(--steel);
  max-width: 60rem;
  margin: 0 0 1.5rem;
  letter-spacing: -0.005em;
}
.repair-subtitle strong {
  color: var(--graphite);
  font-weight: 700;
}
@media (max-width: 768px) {
  .repair-subtitle { font-size: clamp(1.2rem, 5vw, 1.6rem); margin: 0 0 1rem; }
}

/* ===== REPAIR — ikona w nagłówku kafelka ===== */
.repair-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.repair-step-header .repair-num { margin-bottom: 0; }
.repair-icon {
  width: 40px;
  height: 40px;
  color: var(--lime-dark);
  opacity: 0.85;
}

/* ===== SPECS (light) ===== */
.sec-specs {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: var(--black);
}
.sec-specs .display-md { color: var(--graphite); }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid rgba(0,0,0,0.12);
  margin-top: 2rem;
}
.specs-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.specs-table td {
  padding: 1rem 0;
  vertical-align: top;
}
.specs-table td:first-child {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: var(--steel);
  width: 50%;
}
.specs-table td:last-child {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--graphite);
}
.specs-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}
.specs-download {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 2.2rem !important;
  font-size: 1rem !important;
}
.specs-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,0,0,0.12);
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.25s;
}
.specs-download:hover .specs-download-icon {
  transform: translateY(2px);
}
.specs-download-meta {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.55;
  padding-left: 0.85rem;
  border-left: 1px solid rgba(0,0,0,0.18);
  letter-spacing: 0.05em;
}

/* ===== PRODUCT SHOT ===== */
.sec-product-shot {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.product-headline {
  text-align: center;
  padding: 6rem 1.5rem 2rem;
  max-width: 64rem;
}
.product-headline h2 { margin-bottom: 1.5rem; }
/* ===== GALLERY (designer slider) ===== */
.gallery {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
  overflow: hidden;
}
.gallery-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--smoke);
  box-shadow: 0 30px 80px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
}
.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateX(100%) scale(0.96);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.4,0,.2,1);
  will-change: transform, opacity;
  pointer-events: none;
}
.gallery-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}
.gallery-slide.exiting {
  opacity: 0;
  transform: translateX(-30%) scale(0.96);
  z-index: 1;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-slide figcaption {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  color: var(--white);
}
.gallery-slide figcaption .num {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--lime);
  letter-spacing: 0.1em;
}
.gallery-slide figcaption .cap {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.gallery-btn {
  position: absolute;
  top: calc(50% - 3rem);
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--graphite);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.gallery-btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  transform: translateY(-50%) scale(1.08);
}
.gallery-prev { left: 2.5rem; }
.gallery-next { right: 2.5rem; }

.gallery-meta {
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}
.gallery-counter {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.75rem;
  color: var(--steel);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.gallery-counter .sep { opacity: 0.4; }
.gallery-progress {
  width: 80px;
  height: 2px;
  background: rgba(0,0,0,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.gallery-progress-bar {
  height: 100%;
  background: var(--lime-dark);
  width: 25%;
  transition: width 0.6s cubic-bezier(.4,0,.2,1);
}
.gallery-thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  justify-content: center;
}
.gallery-thumb {
  width: 88px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--smoke);
  opacity: 0.55;
  transition: all 0.25s;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-thumb:hover { opacity: 0.9; transform: translateY(-2px); }
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(126,180,74,0.25);
}
@media (max-width: 768px) {
  .gallery-prev, .gallery-next { width: 44px; height: 44px; font-size: 1.1rem; }
  .gallery-prev { left: 0.5rem; }
  .gallery-next { right: 0.5rem; }
  .gallery-slide figcaption { left: 1rem; bottom: 1rem; padding: 0.6rem 1rem; }
  .gallery-thumb { width: 56px; height: 40px; }
}

.product-image-wrap {
  width: 100%;
  max-width: 1400px;
  padding: 2rem 1.5rem 6rem;
}
.product-image-wrap img {
  width: 100%;
  height: auto;
}

/* ===== FAQ (light) ===== */
.sec-faq {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  color: var(--black);
}
.sec-faq .display-md { color: var(--graphite); }
.faq-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0.75rem;
  background: #ffffff;
  transition: all 0.25s;
}
.faq-item:hover { border-color: rgba(126,180,74,0.4); box-shadow: 0 6px 24px rgba(126,180,74,0.08); }
.faq-item[open] { border-color: rgba(126,180,74,0.55); box-shadow: 0 8px 28px rgba(126,180,74,0.12); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.5rem 3.5rem 1.5rem 1.5rem;
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--graphite);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  color: var(--lime-dark);
  font-size: 1.5rem;
  font-weight: 300;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}
.faq-item[open] .faq-plus { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 1.5rem 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: var(--steel);
  line-height: 1.6;
}

/* ===== LEAD FORM ===== */
.sec-lead {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(163,211,107,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 60%, rgba(163,211,107,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #0a1a05 0%, #0e2208 30%, #050f02 60%, #000000 95%);
  position: relative;
  padding-bottom: 6rem;
}
.lead-form {
  margin-top: 3rem;
  position: relative;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; } }
.lead-form label.full { grid-column: 1 / -1; }
.lead-form label {
  display: block;
}
.lead-form label > span {
  font-family: "Montserrat", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  display: block;
  font-weight: 600;
}
.lead-cta-block {
  text-align: center;
  padding: 1rem 0 2rem;
}
.lead-cta-block .lead {
  max-width: 36rem;
  margin: 1.25rem auto 2.5rem;
  color: rgba(255,255,255,0.85);
}
.lead-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 3rem !important;
  font-size: 1.25rem !important;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(163,211,107,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.lead-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(163,211,107,0.45);
}
.lead-cta-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  flex: 0 0 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}
.lead-cta-btn-meta {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.65;
  padding-left: 1rem;
  border-left: 1px solid rgba(0,0,0,0.18);
  letter-spacing: 0.04em;
}

.lead-contact-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  color: rgba(255,255,255,0.4);
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.lead-contact-divider::before,
.lead-contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.12);
}

.lead-contact-block {
  padding: 1rem 0 3rem;
}
.lead-contact-title {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.lead-contact-sub {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}

.btn-xl { padding: 1.4rem 3rem; font-size: 1.25rem; }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 0.5rem;
  padding: 0.85rem 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  color: var(--graphite);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder { color: rgba(0,0,0,0.4); }
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--lime);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(163,211,107,0.2);
  outline: none;
}
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form .consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.lead-form .consent input {
  width: auto;
  margin-top: 0.2rem;
}
.lead-form button[type="submit"] {
  margin-top: 2rem;
  display: block;
  width: 100%;
}
@media (min-width: 768px) {
  .lead-form button[type="submit"] { width: auto; min-width: 16rem; }
}
.form-note {
  margin-top: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  color: var(--lime);
}
.form-note.error { color: #ff6b6b; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  padding: 4rem 1.5rem 2rem;
}
.footer-cta {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-bright) 100%);
  color: var(--black);
  padding: 3.5rem;
  border-radius: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0 0 5rem;
}
.footer-cta-text h3 {
  font-family: "magistral-compressed", "Montserrat", sans-serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.95;
  margin-bottom: 0.5rem;
}
.footer-cta-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  opacity: 0.8;
  max-width: 28rem;
}
.footer-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .footer-info { grid-template-columns: 1fr 1fr; }
}
.footer-info h4 {
  font-family: "magistral", "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-info a {
  display: block;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  padding: 0.3rem 0;
  transition: color 0.2s;
  font-family: "Montserrat", sans-serif;
}
.footer-info a:hover { color: var(--lime); }

/* ===== FOOTER bottom — social + copyright ===== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: var(--lime);
  color: var(--graphite);
  transform: translateY(-2px);
}
.footer-copy {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 1rem; }
  .footer-copy { font-size: 0.72rem; }
}

/* ===== BACK TO TOP — floating button bottom-right ===== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--graphite);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(126,180,74,0.4), 0 3px 10px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.2s, box-shadow 0.2s;
  z-index: 90;
  -webkit-tap-highlight-color: transparent;
}
.back-to-top svg {
  width: 22px;
  height: 22px;
  display: block;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--lime-bright);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(126,180,74,0.5), 0 4px 12px rgba(0,0,0,0.2);
}
.back-to-top:active { transform: translateY(0); }

@media (max-width: 768px) {
  .back-to-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; }
  .back-to-top svg { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.2s; }
  .back-to-top:hover { transform: none; }
}

/* ====================================
   MOBILE FIXES — overflow, spacing, lead CTA
   ==================================== */
@media (max-width: 768px) {
  /* Technology — tech-hi nowrap powodował overflow horizontal */
  .sec-technology .tech-hi {
    white-space: normal;
    font-size: 0.95rem;
    padding: 0.1rem 0.45rem;
  }
  .tech-list li {
    font-size: 0.95rem;
    gap: 0.5rem;
    padding: 0.65rem 0;
    flex-wrap: wrap;
  }
  .tech-arrow { font-size: 0.95rem; }
  .sec-technology .tech-li-sub { margin-left: 0; font-size: 0.85rem; }
  .tech-visual { padding: 1.25rem; aspect-ratio: auto; }
  .tech-video-label { top: 0.75rem; left: 0.75rem; padding: 0.5rem 0.75rem; }
  .tech-video-tag { font-size: 0.7rem; }
  .tech-video-meta { font-size: 0.65rem; }

  /* Technology — przestaw kolejność: tytuł+opis → animacja → bullety */
  .sec-technology .grid-2 { display: flex; flex-direction: column; }
  .sec-technology .grid-2 > div[data-reveal-x="-40"] { display: contents; }
  .sec-technology .grid-2 > div[data-reveal-x="-40"] > h2 { order: 1; }
  .sec-technology .grid-2 > div[data-reveal-x="-40"] > .lead { order: 2; }
  .sec-technology .grid-2 > .tech-visual { order: 3; }
  .sec-technology .grid-2 > div[data-reveal-x="-40"] > .tech-list { order: 4; margin-top: 1rem; }

  /* ProductShot — duży odstęp przez min-height: 100vh */
  .sec-product-shot { min-height: auto; padding: 1rem 0 0; }
  .product-headline { padding: 2.5rem 1rem 1rem; }
  .gallery { padding: 1rem 1rem 3rem; }

  /* LeadForm CTA — przycisk pakuje się ładniej, ikona koło */
  .lead-cta-btn {
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.1rem 1.5rem !important;
    font-size: 1rem !important;
    gap: 0.65rem;
    width: 100%;
    max-width: 22rem;
  }
  .lead-cta-btn-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .lead-cta-btn-meta {
    width: 100%;
    text-align: center;
    padding-left: 0;
    border-left: 0;
    margin-top: 0.25rem;
    font-size: 0.7rem;
  }
}

/* ===== ANIMATIONS: reveal hidden state ===== */
[data-reveal],
[data-reveal-x] {
  opacity: 0;
  will-change: opacity, transform;
}
[data-reveal] { transform: translateY(40px); }
[data-reveal-x="-40"] { transform: translateX(-40px); }
[data-reveal-x="40"] { transform: translateX(40px); }

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal],
  [data-reveal-x] {
    opacity: 1;
    transform: none;
  }
}
