/* ═══════════════════════════════════════════
   mkdev beta4 — Design System v1
   Brand: Rebellious + Premium
   Motion: Theatrical → Cinematic
   Grid: 4px base unit | Colors: OKLCH
═══════════════════════════════════════════ */

/* ─── PRIMITIVE TOKENS ──────────────────── */
:root {
  /* Colors — OKLCH (perceptually uniform) */
  --c-black: oklch(0.06 0.002 264);
  --c-white: oklch(1 0 0);
  --c-off-white: oklch(0.97 0.005 264);
  --c-green: oklch(0.72 0.22 142);
  --c-green-glow: oklch(0.82 0.18 142);
  --c-gray-400: oklch(0.70 0.008 264);
  --c-gray-500: oklch(0.55 0.008 264);

  /* Semantic */
  --bg-dark: var(--c-black);
  --bg-light: var(--c-off-white);
  --bg-white: var(--c-white);
  --text-on-dark: var(--c-white);
  --text-on-light: var(--c-black);
  --accent: var(--c-green);
  --muted: var(--c-gray-500);
  --bdr-light: oklch(1 0 0 / 0.08);
  --bdr-dark: oklch(0 0 0 / 0.07);

  /* Spacing — 4px grid */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Typography */
  --fh: 'DM Serif Display', Georgia, serif;
  --fu: 'Inter', system-ui, sans-serif;
  --fg: 'Space Grotesk', system-ui, sans-serif;

  /* Fluid type scale */
  --tx-xs: clamp(0.72rem, 0.68rem + 0.22vw, 0.85rem);
  --tx-sm: clamp(0.875rem, 0.83rem + 0.22vw, 1rem);
  --tx-md: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --tx-lg: clamp(1.125rem, 1.05rem + 0.37vw, 1.333rem);
  --tx-xl: clamp(1.333rem, 1.2rem + 0.66vw, 1.777rem);
  --tx-2xl: clamp(1.777rem, 1.5rem + 1.38vw, 2.369rem);
  --tx-3xl: clamp(2.369rem, 1.9rem + 2.34vw, 3.157rem);
  --tx-4xl: clamp(3.157rem, 2.4rem + 3.78vw, 4.209rem);
  --tx-5xl: clamp(4.209rem, 3rem + 6vw, 5.61rem);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 150ms;
  --dur-mid: 300ms;
  --dur-slow: 500ms;
  --dur-slide: 900ms;
}

/* ─── RESET ─────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  display: block;
}

html,
body {
  height: 100%;
  overflow: hidden;
  font-family: var(--fu);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── ZOOM OVERLAY ──────────────────────── */
#zoomOverlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s linear;
}

#zoomOverlay.visible {
  opacity: 1;
  pointer-events: all;
}

#zoomCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#whiteFlash {
  position: absolute;
  inset: 0;
  background: var(--c-white);
  opacity: 0;
  pointer-events: none;
}

/* ─── SLIDES ────────────────────────────── */
.slide {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  will-change: transform;
}

/* ─── SLIDE 0 — HERO (Aurora) ───────────── */
#slide-0 {
  background: #050505;
  overflow: hidden;
}

/* Aurora container */
.aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  overflow: hidden;
  filter: blur(80px) saturate(1.6);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  mix-blend-mode: screen;
}

.aurora-blob--1 {
  width: 55vmax;
  height: 55vmax;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, oklch(0.55 0.22 152 / 0.7), transparent 70%);
  animation: auroraFloat1 18s ease-in-out infinite alternate;
}

.aurora-blob--2 {
  width: 45vmax;
  height: 45vmax;
  bottom: -20%;
  right: -5%;
  background: radial-gradient(circle, oklch(0.48 0.18 160 / 0.5), transparent 70%);
  animation: auroraFloat2 22s ease-in-out infinite alternate;
}

.aurora-blob--3 {
  width: 40vmax;
  height: 40vmax;
  top: 30%;
  left: 40%;
  background: radial-gradient(circle, oklch(0.42 0.14 180 / 0.4), transparent 70%);
  animation: auroraFloat3 26s ease-in-out infinite alternate;
}

.aurora-blob--4 {
  width: 35vmax;
  height: 35vmax;
  top: 10%;
  right: 20%;
  background: radial-gradient(circle, oklch(0.60 0.20 140 / 0.35), transparent 70%);
  animation: auroraFloat4 20s ease-in-out infinite alternate;
}

@keyframes auroraFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(12vw, 8vh) scale(1.15); }
}
@keyframes auroraFloat2 {
  0%   { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-10vw, -12vh) scale(0.9); }
}
@keyframes auroraFloat3 {
  0%   { transform: translate(0, 0) scale(0.9); }
  100% { transform: translate(-8vw, 6vh) scale(1.2); }
}
@keyframes auroraFloat4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6vw, -10vh) scale(1.1); }
}

/* Film grain noise overlay */
.aurora-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Hero center content */
.hero-center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vh, 1.6rem);
}

.hero-logo-row {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.2vw, 1.2rem);
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-logo-text {
  font-family: var(--fg);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.hero-logo-dots {
  display: flex;
  gap: 0.10em;
  align-items: center;
  align-self: center;
  font-size: clamp(4rem, 10vw, 10rem);
  transform: translateY(0.06em); /* wyrównanie do osi x-height */
}

.hero-logo-dots span {
  width: 0.22em;
  height: 0.22em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px oklch(0.72 0.22 142 / 0.6),
              0 0 60px oklch(0.72 0.22 142 / 0.3);
  animation: dotGlow 3s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-logo-dots span:nth-child(2) { animation-delay: 0.4s; }
.hero-logo-dots span:nth-child(3) { animation-delay: 0.8s; }

@keyframes dotGlow {
  0%, 100% { box-shadow: 0 0 20px oklch(0.72 0.22 142 / 0.6), 0 0 60px oklch(0.72 0.22 142 / 0.3); transform: scale(1); }
  50%      { box-shadow: 0 0 30px oklch(0.82 0.22 142 / 0.8), 0 0 80px oklch(0.72 0.22 142 / 0.5); transform: scale(1.15); }
}

.hero-tagline {
  font-family: var(--fh);
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  font-weight: 600;
  font-style: normal;
  color: oklch(1 0 0 / 0.45);
  letter-spacing: 0.02em;
  animation: heroReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes heroReveal {
  0%   { opacity: 0; transform: translateY(24px); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  transition: opacity var(--dur-slow) var(--ease-in);
  animation: shPulse 3.2s ease-in-out infinite;
}

.scroll-hint.gone {
  opacity: 0;
  pointer-events: none;
}

.sh-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid oklch(1 0 0 / 0.45);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: var(--sp-1);
}

.sh-wheel {
  width: 3px;
  height: 7px;
  background: oklch(1 0 0 / 0.65);
  border-radius: 2px;
  animation: shWheel 2s ease-in-out infinite;
}

.scroll-hint span {
  font-family: var(--fg);
  font-size: var(--tx-xs);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.38);
}

@keyframes shWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(9px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

@keyframes shPulse {

  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

/* ─── SLIDE 1 — RĘKAWICZKI ──────────────── */
#slide-1 {
  background: #fff;
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

/* ── Tło pełny ekran, mocno zamglone ── */
.s1-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.s1-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Przesuń zielony → kolor logo (hue 142°) + zwiększ nasycenie */
  filter: hue-rotate(-12deg) saturate(3.2) contrast(1.08) brightness(1.04);
}

/* Lewa strona bielsza (czytelność tekstu), prawa otwarta */
.s1-bg-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.75) 38%,
    rgba(255,255,255,0.42) 65%,
    rgba(255,255,255,0.18) 100%
  );
}

/* ── Treść — lewa strona, bez max-width żeby headline nigdy nie wrapał ── */
.s1-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw 0 6vw;
  max-width: none;
  align-self: center;
  width: 100%;
}

/* ── Reveal — pojawia się raz, potem stoi ── */
.s1-eyebrow,
.s1-headline,
.s1-sub,
.s1-cta {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

#slide-1.revealed .s1-eyebrow  { opacity: 1; transform: none; transition-delay: 0s;    }
#slide-1.revealed .s1-headline { opacity: 1; transform: none; transition-delay: 0.10s; }
#slide-1.revealed .s1-sub      { opacity: 1; transform: none; transition-delay: 0.20s; }
#slide-1.revealed .s1-cta      { opacity: 1; transform: none; transition-delay: 0.30s; }

/* Eyebrow */
.s1-eyebrow {
  font-family: var(--fu);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: oklch(0 0 0 / 0.35);
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: clamp(1.2rem, 2.5vh, 2rem);
}

.s1-eyebrow-num {
  font-family: var(--fh);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0;
}

.s1-eyebrow-slash {
  color: oklch(0 0 0 / 0.15);
  letter-spacing: 0;
}

/* Nagłówek — zawsze 1 linia per zdanie, skaluje się z ekranem */
.s1-headline {
  font-family: var(--fh);
  font-size: clamp(2.6rem, 4.2vw, 5.5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #0a0a0a;
  margin-bottom: clamp(1.8rem, 3.5vh, 3rem);
  white-space: nowrap;
}

/* Em — kursywa, szersza, czytelna */
.s1-headline em {
  font-style: italic;
  color: oklch(0 0 0 / 0.55);
  display: block;
  font-size: 1.08em;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Body copy — większy, max-width aby cała linia 3 weszła */
.s1-sub {
  font-family: var(--fu);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.9;
  color: oklch(0 0 0 / 0.62);
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.s1-sub strong {
  color: #0a0a0a;
  font-weight: 600;
}

/* ── CTA — wyraźna ramka ── */
.s1-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(0,0,0,0.32);
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  width: fit-content;
  border-radius: 2px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.s1-cta-label {
  font-family: var(--fu);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0a0a0a;
  transition: color 0.3s ease;
}

.s1-cta-arrow {
  color: #0a0a0a;
  transition: transform 0.3s ease;
}

.s1-cta:hover {
  background: #0a0a0a;
  border-color: #0a0a0a;
}

.s1-cta:hover .s1-cta-label { color: #fff; }
.s1-cta:hover .s1-cta-arrow { color: #fff; transform: translateY(3px); }




/* ─── NAV ───────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) var(--sp-12);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    background var(--dur-mid),
    padding var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid);
  border-bottom: 1px solid transparent;
}

.nav-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

.nav-light {
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--bdr-dark);
}

.nav-dark {
  background: oklch(0.06 0.002 264 / 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--bdr-light);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  transition: opacity var(--dur-mid);
}

.nav-logo:hover {
  opacity: 0.6;
}

.nav-logo-text {
  font-family: var(--fg);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color var(--dur-mid);
}

.nav-light .nav-logo-text {
  color: var(--text-on-light);
}

.nav-dark .nav-logo-text {
  color: var(--text-on-dark);
}

.nav-dots {
  display: flex;
  gap: 3px;
  align-items: center;
}

.nav-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

.nav-dots span:nth-child(1) {
  animation: dotPop 2s ease-in-out infinite 0s;
}

.nav-dots span:nth-child(2) {
  animation: dotPop 2s ease-in-out infinite 0.3s;
}

.nav-dots span:nth-child(3) {
  animation: dotPop 2s ease-in-out infinite 0.6s;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
}

.nav-link {
  font-family: var(--fu);
  font-size: var(--tx-xs);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: var(--sp-1) 0;
  position: relative;
  transition: color var(--dur-mid);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--dur-slow) var(--ease-out);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-light .nav-link {
  color: oklch(0 0 0 / 0.40);
}

.nav-light .nav-link:hover {
  color: var(--text-on-light);
}

.nav-light .nav-link::after {
  background: var(--text-on-light);
}

.nav-dark .nav-link {
  color: oklch(1 0 0 / 0.40);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-dark .nav-link:hover {
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-2);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  border-radius: 1px;
  transition: background var(--dur-mid);
}

.nav-dark .hamburger span {
  background: var(--text-on-dark);
}

.nav-light .hamburger span {
  background: var(--text-on-light);
}

/* ─── SIDE INDICATORS ───────────────────── */
.side-inds {
  position: fixed;
  right: var(--sp-6);
  top: 50%;
  transform: translateY(-50%);
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: opacity var(--dur-slow) var(--ease-out);
}

.side-inds.hidden {
  opacity: 0;
  pointer-events: none;
}

.ind-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s var(--ease-out);
}

.ind-dot.active {
  background: var(--c-white);
  height: 20px;
  border-radius: 2px;
}

.ind-dot:hover:not(.active) {
  background: oklch(1 0 0 / 0.5);
}

.side-inds.light .ind-dot {
  background: oklch(0 0 0 / 0.18);
}

.side-inds.light .ind-dot.active {
  background: var(--c-black);
}

.side-inds.light .ind-dot:hover:not(.active) {
  background: oklch(0 0 0 / 0.38);
}

/* ─── MOBILE MENU ───────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: oklch(0.06 0.002 264 / 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mob-close {
  position: absolute;
  top: var(--sp-8);
  right: var(--sp-8);
  font-size: var(--tx-lg);
  color: oklch(1 0 0 / 0.45);
  transition: color var(--dur-mid);
}

.mob-close:hover {
  color: var(--c-white);
}

.mob-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-12);
}

.mob-logo-text {
  font-family: var(--fg);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-white);
}

.mob-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}

.mob-link {
  font-family: var(--fh);
  font-size: var(--tx-3xl);
  font-weight: 400;
  font-style: italic;
  color: oklch(1 0 0 / 0.34);
  padding: var(--sp-2) 0;
  transition: color var(--dur-mid);
}

.mob-link:hover {
  color: var(--c-white);
}

.mob-cta {
  font-family: var(--fg);
  font-size: var(--tx-sm);
  font-weight: 500;
  color: var(--accent);
  border: 1px solid oklch(0.72 0.22 142 / 0.32);
  padding: var(--sp-3) var(--sp-8);
  border-radius: 2px;
  transition: background var(--dur-mid), border-color var(--dur-mid);
}

.mob-cta:hover {
  background: oklch(0.72 0.22 142 / 0.1);
  border-color: oklch(0.72 0.22 142 / 0.6);
}

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
  .nav {
    padding: var(--sp-4) var(--sp-5);
  }

  .nav-dark {
    padding-top: var(--sp-3);
    padding-bottom: var(--sp-3);
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .side-inds {
    display: none;
  }

  .s1-content {
    padding: 0 var(--sp-5);
    padding-top: var(--sp-20);
  }

  .s1-logo {
    left: var(--sp-5);
  }

  .s1-watermark {
    display: none;
  }
}

/* ========================================
   PRZENIESIONE Z BETA-INDEX.HTML
   (slide CSS, cursor, interakcje)
======================================== */

/* ── EXTRA SLIDES (rękawiczki white, s3 timeline, s4 form) ─────── */
/* ─── SLIDE 1 — RĘKAWICZKI ──────────────── */
#slide-1 {
  background: #fff;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.s1-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 max(6vw, 48px) 0 calc(max(6vw, 48px) + 2rem);
  max-width: 1100px;
  width: 100%;
  border-left: 2px solid #1d1d1f;
}

/* Apple-style reveal */
.s1-headline, .s1-sub, .s1-cta {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity  0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#slide-1.revealed .s1-headline { opacity: 1; transform: none; transition-delay: 0s;    }
#slide-1.revealed .s1-sub      { opacity: 1; transform: none; transition-delay: 0.12s; }
#slide-1.revealed .s1-cta      { opacity: 1; transform: none; transition-delay: 0.24s; }

.s1-headline {
  font-family: var(--fh);
  font-size: clamp(3.15rem, 5.05vw, 6.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-top: -0.1em;
  margin-bottom: clamp(1.8rem, 3vh, 2.8rem);
  white-space: nowrap;
}

.s1-headline em {
  font-style: italic;
  color: rgba(0,0,0,0.60);
  display: block;
  font-size: 1.08em;
  white-space: nowrap;
}

.s1-sub {
  font-family: var(--fu);
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.85;
  color: #2e2e31;
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vh, 3.2rem);
}

.s1-sub strong {
  color: #1d1d1f;
  font-weight: 500;
}

.s1-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: 1.5px solid #1d1d1f;
  padding: 0.85rem 2rem;
  cursor: pointer;
  width: fit-content;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Wypełnienie wjeżdża od dołu */
.s1-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #1d1d1f;
  transform: translateY(101%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.s1-cta:hover::after { transform: translateY(0); }
.s1-cta:hover { transform: scale(1.03); }

.s1-cta-label {
  font-family: var(--fu);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d1d1f;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

.s1-cta-arrow {
  color: #1d1d1f;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, color 0.35s ease;
}

.s1-cta:hover .s1-cta-label { color: #fff; }
.s1-cta:hover .s1-cta-arrow { color: #fff; transform: translateY(3px); }

/* ─── SLIDE 2 — MENU USŁUG ──────────────── */
#slide-2 {
  background: #0a0a0a;
}

.s2-panels {
  display: flex;
  width: 100%;
  height: 100%;
}

.s2-panel {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 5vh, 4rem) clamp(1.5rem, 3vw, 2.8rem);
  padding-top: calc(clamp(2rem, 5vh, 4rem) + 3vh);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.s2-panel:last-child { border-right: none; }

.s2-panel--dark  { background: #0a0a0a; }
.s2-panel--white { background: #f9f9f9; }
.s2-panel--mid   { background: #c8c8c8; }

.s2-panel:hover { flex: 1.12; }

/* Watermark number — wyłączony */
.s2-panel::before { content: ''; }

.s2-panel-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 2.5rem;
  height: clamp(240px, 42vh, 380px);
}

/* Title */
.s2-title {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 3.8vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1rem;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.s2-panel--light .s2-title,
.s2-panel--mid   .s2-title,
.s2-panel--white .s2-title { color: #1d1d1f; }

/* Kursywa pod tytułem */
.s2-title em {
  display: block;
  font-family: var(--fh);
  font-style: italic;
  font-weight: 400;
  font-size: 1em;
  color: rgba(255,255,255,0.35);
  margin-top: 0.1em;
}
.s2-panel--mid   .s2-title em,
.s2-panel--white .s2-title em { color: rgba(0,0,0,0.38); }

/* Opis */
.s2-desc {
  font-family: var(--fu);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.38);
  margin-bottom: 1.4rem;
  max-width: 300px;
}

.s2-panel--light .s2-desc,
.s2-panel--mid   .s2-desc,
.s2-panel--white .s2-desc { color: rgba(0,0,0,0.42); }

/* Tagi pigułki */
.s2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.s2-tag {
  font-family: var(--fu);
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  transition: color 0.25s, border-color 0.25s;
}

.s2-panel:hover .s2-tag {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.35);
}

.s2-panel--mid   .s2-tag,
.s2-panel--white .s2-tag {
  color: rgba(0,0,0,0.45);
  border-color: rgba(0,0,0,0.18);
}
.s2-panel--mid:hover   .s2-tag,
.s2-panel--white:hover .s2-tag {
  color: rgba(0,0,0,0.7);
  border-color: rgba(0,0,0,0.3);
}

/* CTA link w panelu */
.s2-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--fu);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.30);
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 1rem;
  width: 100%;
  transition: color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: left center;
}

.s2-panel--light .s2-cta,
.s2-panel--mid   .s2-cta {
  color: rgba(0,0,0,0.28);
  border-top-color: rgba(0,0,0,0.08);
}

.s2-panel:hover .s2-cta              { color: var(--accent); }
.s2-panel--light:hover .s2-cta,
.s2-panel--mid:hover   .s2-cta       { color: var(--accent); }

/* Scale na hover */
.s2-panel:hover .s2-cta { transform: scale(1.14); }

/* ── Przycisk „Dowiedz się więcej" (przy lewej krawędzi kafelka) ── */
.s2-more {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--fu);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  padding: 0.62rem 1.15rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;                       /* kafelek czarny → biała czcionka */
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.s2-panel--mid   .s2-more,
.s2-panel--white .s2-more {
  color: #000;                       /* kafelek szary + biały → czarna czcionka */
  border-color: rgba(0, 0, 0, 0.35);
}

/* Hover bezpośrednio na przycisk — lekkie powiększenie + zielona czcionka.
   Hover całego kafelka nie zmienia przycisku (brak reguły .s2-panel:hover .s2-more). */
.s2-more:hover {
  transform: scale(1.05);
  color: var(--accent);
}

/* ── Kafelki — 3 kolumny pod CTA ── */
.s1-tiles {
  display: flex;
  gap: 0;
  margin-top: clamp(2.5rem, 4vh, 4rem);
  border-top: 1px solid rgba(0,0,0,0.10);
  padding-top: 1.6rem;
  width: 100%;
  max-width: 640px;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity  0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: 0.36s;
}

#slide-1.revealed .s1-tiles {
  opacity: 1;
  transform: none;
}

.s1-tile {
  flex: 1;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(0,0,0,0.10);
}

.s1-tile:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 1.5rem;
}

.s1-tile:nth-child(2) {
  padding-left: 1.5rem;
}

.s1-tile-num {
  font-family: var(--fh);
  font-style: italic;
  font-size: 0.75rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0;
}

.s1-tile-title {
  font-family: var(--fu);
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.s1-tile-desc {
  font-family: var(--fu);
  font-size: 0.74rem;
  font-weight: 300;
  color: #6e6e73;
  line-height: 1.65;
}

/* ─── NAV ───────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) var(--sp-12);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    background var(--dur-mid),
    padding var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid);
  border-bottom: 1px solid transparent;
}

.nav-hidden { opacity: 0 !important; pointer-events: none !important; }

.nav-light {
  background: oklch(1 0 0 / 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--bdr-dark);
}

.nav-dark {
  background: oklch(0.06 0.002 264 / 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--bdr-light);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  cursor: pointer;
  transition: opacity var(--dur-mid);
}
.nav-logo:hover { opacity: 0.6; }

.nav-logo-text {
  font-family: var(--fg);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: color var(--dur-mid);
}
.nav-light .nav-logo-text { color: var(--text-on-light); }
.nav-dark  .nav-logo-text { color: var(--text-on-dark);  }

.nav-dots { display: flex; gap: 3px; align-items: center; }
.nav-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}
.nav-dots span:nth-child(1) { animation: dotPop 2s ease-in-out infinite 0s; }
.nav-dots span:nth-child(2) { animation: dotPop 2s ease-in-out infinite 0.3s; }
.nav-dots span:nth-child(3) { animation: dotPop 2s ease-in-out infinite 0.6s; }

@keyframes dotPop {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.7; }
}

.nav-links { display: flex; align-items: center; gap: var(--sp-10); }

.nav-link {
  font-family: var(--fu);
  font-style: normal;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: var(--sp-1) 0;
  position: relative;
  transition: color var(--dur-mid);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--dur-slow) var(--ease-out);
}

.nav-link:hover::after { width: 100%; }

.nav-light .nav-link       { color: oklch(0 0 0 / 0.55); }
.nav-light .nav-link:hover { color: #1d1d1f; }
.nav-light .nav-link::after { background: var(--accent); }
.nav-dark  .nav-link       {
  color: oklch(1 0 0 / 0.62);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.nav-dark  .nav-link:hover {
  color: var(--text-on-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-2);
}
.hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  border-radius: 1px;
  transition: background var(--dur-mid);
}
.nav-dark  .hamburger span { background: var(--text-on-dark); }
.nav-light .hamburger span { background: var(--text-on-light); }

/* ─── SIDE INDICATORS ───────────────────── */
.side-inds {
  position: fixed;
  right: var(--sp-6);
  top: 50%;
  transform: translateY(-50%);
  z-index: 700;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: opacity var(--dur-slow) var(--ease-out);
}
.side-inds.hidden { opacity: 0; pointer-events: none; }

.ind-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: oklch(1 0 0 / 0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s var(--ease-out);
}
.ind-dot.active     { background: var(--c-white); height: 20px; border-radius: 2px; }
.ind-dot:hover:not(.active) { background: oklch(1 0 0 / 0.5); }
.side-inds.light .ind-dot              { background: oklch(0 0 0 / 0.18); }
.side-inds.light .ind-dot.active       { background: var(--c-black); }
.side-inds.light .ind-dot:hover:not(.active) { background: oklch(0 0 0 / 0.38); }

/* ─── MOBILE MENU ───────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: oklch(0.06 0.002 264 / 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mob-close {
  position: absolute;
  top: var(--sp-8); right: var(--sp-8);
  font-size: var(--tx-lg);
  color: oklch(1 0 0 / 0.45);
  transition: color var(--dur-mid);
}
.mob-close:hover { color: var(--c-white); }

.mob-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-12);
}
.mob-logo-text {
  font-family: var(--fg);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--c-white);
}

.mob-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}
.mob-link {
  font-family: var(--fh);
  font-size: var(--tx-3xl);
  font-weight: 400;
  font-style: italic;
  color: oklch(1 0 0 / 0.34);
  padding: var(--sp-2) 0;
  transition: color var(--dur-mid);
}
.mob-link:hover { color: var(--c-white); }

.mob-cta {
  font-family: var(--fg);
  font-size: var(--tx-sm);
  font-weight: 500;
  color: var(--accent);
  border: 1px solid oklch(0.72 0.22 142 / 0.32);
  padding: var(--sp-3) var(--sp-8);
  border-radius: 2px;
  transition: background var(--dur-mid), border-color var(--dur-mid);
}
.mob-cta:hover {
  background: oklch(0.72 0.22 142 / 0.1);
  border-color: oklch(0.72 0.22 142 / 0.6);
}

/* ─── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: var(--sp-4) var(--sp-5); }
  .nav-dark { padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .side-inds { display: none; }

  .s1-content {
    padding: 0 var(--sp-5);
    padding-top: var(--sp-20);
  }

  .s1-headline {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    white-space: normal;
  }

  .s1-headline em {
    white-space: normal;
  }
}

/* ─── SLIDE 3 — JAK DZIAŁAMY (redesign) ─── */
.s3-left {
  width: 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 6rem);
  padding-top: clamp(5rem, 14vh, 10rem);
}

.s3-neon {
  font-family: var(--fu);
  font-style: normal;
  font-size: clamp(3rem, 6.5vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  display: block;
  margin-bottom: 2.4rem;
}

.s3-sub {
  font-family: var(--fu);
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.70);
  white-space: nowrap;
}

/* Timeline */
.s3-right {
  flex: 1;
  display: flex;
  align-items: stretch;
  padding: clamp(3rem, 6vw, 7rem);
  padding-left: clamp(5rem, 10vw, 12rem);
}

.s3-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding-top: clamp(4rem, 12vh, 8rem);
}

/* Pionowa linia łącząca */
.s3-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: calc(clamp(4rem, 12vh, 8rem) + 12px);
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    rgba(18, 197, 123, 0.08)
  );
  transition: opacity 0.3s;
}

.s3-node {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  position: relative;
  flex: 1;
  overflow: visible;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: 0.5rem;
  min-height: 2.5rem;
}

/* Accordion — hover rozszerza wybrany, kurczy resztę */
.s3-timeline:has(.node-active) .s3-node          { flex: 0.5; }
.s3-timeline:has(.node-active) .s3-node.node-active { flex: 3; }

/* Kółko węzła */
.s3-node-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0a0a0a;
  box-shadow: 0 0 10px rgba(18, 197, 123, 0.3);
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
  position: relative;
  z-index: 2;
}

.s3-node.node-active .s3-node-dot {
  box-shadow: 0 0 0 6px rgba(18,197,123,0.12), 0 0 24px rgba(18,197,123,0.5);
  border-color: #12c57b;
}

.s3-node-dot span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(18, 197, 123, 0.8);
}

.s3-node-content {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.s3-node-num {
  font-family: var(--fh);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.2rem;
  opacity: 0.5;
  transition: opacity 0.3s;
}

/* Tytuł duży domyślnie */
.s3-node-title {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 2.8vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.35s ease, font-size 0.6s cubic-bezier(0.16, 1, 0.3, 1), white-space 0.1s;
}

/* Na hover — tytuł biały i jeszcze większy */
.s3-node.node-active .s3-node-title {
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 5.5rem);
  margin-bottom: 0.5rem;
  white-space: normal;
}

.s3-node.node-active .s3-node-num { opacity: 1; }

/* Opis — domyślnie ukryty, na hover duży i wypełnia przestrzeń */
.s3-node-desc {
  font-family: var(--fu);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease 0.15s, max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.s3-node.node-active .s3-node-desc {
  opacity: 1;
  max-height: 300px;
}

/* ─── SLIDE 4 — O NAS + FORMULARZ ──────── */
.s4-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  margin-top: clamp(1.75rem, 4.5vh, 3.5rem);
  padding: clamp(2.75rem, 6vh, 4.5rem) clamp(3.5rem, 6vw, 6rem) clamp(0.75rem, 2vh, 1.5rem);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.s4-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 8vh, 7rem) clamp(3.5rem, 6vw, 6rem);
  background: #111;
}

/* Górna część lewego panelu */
.s4-top {}

.s4-eyebrow {
  font-family: var(--fu);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.s4-heading {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 4vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0;
}

.s4-heading em {
  font-style: italic;
  color: rgba(255,255,255,0.30);
}

/* Dolna część lewego panelu */
.s4-bottom {}

.s4-bio {
  font-family: var(--fu);
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
}

/* Prawa — Formularz */
.s4-form-label {
  font-family: var(--fu);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.s4-form-heading {
  font-family: var(--fh);
  font-size: clamp(2rem, 3.2vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 2.5rem;
}

.s4-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.s4-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.s4-field label {
  font-family: var(--fu);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.s4-field input,
.s4-field select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  color: #fff;
  font-family: var(--fu);
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none;
}

.s4-field input:focus,
.s4-field select:focus {
  border-color: var(--accent);
  background: rgba(18,197,123,0.04);
}

.s4-field input::placeholder { color: rgba(255,255,255,0.2); }
.s4-field select option { background: #1a1a1a; color: #fff; }

.s4-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.6rem;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 1rem 2rem;
  cursor: pointer;
  font-family: var(--fu);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  width: fit-content;
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.s4-submit:hover { opacity: 0.88; transform: scale(1.04); }


.s4-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(3rem, 6vh, 5rem) clamp(3rem, 6vw, 6rem);
  background: #111;
}



.s4-eyebrow, .s4-form-label {
  font-family: var(--fu);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.s4-heading {
  font-family: var(--fh);
  font-size: clamp(2rem, 3.5vw, 4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.s4-heading em {
  font-style: italic;
  color: rgba(255,255,255,0.35);
}

.s4-bio {
  font-family: var(--fu);
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.s4-stats {
  display: flex;
  gap: 2.5rem;
}

.s4-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.s4-stat-num {
  font-family: var(--fh);
  font-size: clamp(1.6rem, 2.5vw, 2.8rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.s4-stat-label {
  font-family: var(--fu);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* Formularz */
.s4-form-heading {
  font-family: var(--fh);
  font-size: clamp(1.4rem, 2.2vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 2rem;
}

.s4-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.s4-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.s4-field label {
  font-family: var(--fu);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.s4-field input,
.s4-field select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--fu);
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}

.s4-field input:focus,
.s4-field select:focus {
  border-color: var(--accent);
}

.s4-field input::placeholder { color: rgba(255,255,255,0.25); }

.s4-field select option { background: #1a1a1a; color: #fff; }

.s4-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  font-family: var(--fu);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  width: fit-content;
  transition: opacity 0.2s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.s4-submit:hover { opacity: 0.88; transform: scale(1.03); }


/* ═══════════════════════════════════════════════════════════════
   WIZARD CONTACT FORM — mkdev 3-step wizard
   Strategy: all steps absolutely stacked → perfect v-centering
   ═══════════════════════════════════════════════════════════════ */

/* ── s4-right reset for wizard ─────────────────────────────── */
#cf-panel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  /* top: minimalny oddech — formularz ma być blisko nagłówka; bottom: footer height (~56px) + breathing room */
  padding: clamp(0.75rem, 2vh, 1.5rem) clamp(2.5rem, 5vw, 5rem) calc(56px + 1.25rem);
}

/* Niskie okna (małe laptopy z paskami przeglądarki) — nagłówek + odstępy
   potrafiły zjeść tyle wysokości, że krok 3 (telefon + zgoda) nie mieścił
   się w całości i "zgoda na przetwarzanie danych" była ucięta prawie
   do zera. Na niskich viewportach dajemy formularzowi więcej miejsca. */
@media (max-height: 760px) {
  .s4-left {
    /* góra jak w zwykłym układzie — nagłówek ma zostać pod menu, nie wjeżdżać na logo */
    padding-bottom: 0.5rem;
  }
  .s4-heading {
    font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  }
  .s4-right {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  #cf-panel {
    padding-top: 0.5rem;
    padding-bottom: calc(56px + 0.5rem);
  }
}

/* ── PROGRESS BAR ───────────────────────────────────────────── */
.cf-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  margin-bottom: 0.75rem;
}

.cf-prog-track {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.07);
  border-radius: 2px;
  overflow: hidden;
}

.cf-prog-fill {
  height: 100%;
  width: 33.33%;
  background: var(--c-green);
  border-radius: 2px;
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(18,197,123,0.4);
}

.cf-prog-label {
  font-family: var(--fu);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 2.5rem;
  text-align: right;
}

/* Zielona etykieta „Formularz" — między paskiem postępu a treścią kroku */
.cf-form-label {
  flex-shrink: 0;
  font-family: var(--fu);
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-top: 0.35rem;
  margin-bottom: 0.6rem;
}

/* ── WIZARD CONTAINER ───────────────────────────────────────── */
.cf-wizard {
  position: relative;
  flex: 1;
  min-height: 0;
}

/* ── STEP BASE — absolutely stacked, fade + lift transition ─── */
.cf-wstep {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.cf-wstep.is-active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

/* Exiting step: fades out downward */
.cf-wstep.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity 0.3s cubic-bezier(0.4, 0, 1, 1),
    transform 0.3s cubic-bezier(0.4, 0, 1, 1);
}

/* ── STEP BODY ──────────────────────────────────────────────── */
.cf-wstep-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 1 auto;          /* treść + przycisk = zwarta grupa, wyśrodkowana przez .cf-wstep — mniej pustej czerni */
  justify-content: flex-start;
  min-height: 0;
  overflow-y: auto;        /* dłuższe kroki (np. 3 z telefonem) przewijają się wewnątrz zamiast być przycięte */
  overflow-x: hidden;
}

/* Pasek przewijania zawsze widoczny i wyraźny — na niskich oknach krok 3
   (telefon + zgoda) potrafi nie zmieścić się w całości, a bez tego było
   widać tylko skrawek ostatniego pola bez żadnej wskazówki, że da się
   przewinąć, by zobaczyć resztę. */
.cf-wstep-body::-webkit-scrollbar {
  width: 8px;
}
.cf-wstep-body::-webkit-scrollbar-track {
  background: transparent;
}
.cf-wstep-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.28);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}
.cf-wstep-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.45);
  background-clip: content-box;
}

.cf-wstep-body--center {
  align-items: center;
  text-align: center;
}

/* ── STEP NAV ───────────────────────────────────────────────── */
.cf-wstep-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0.75rem;   /* było 1.25rem — razem z padding-top dawało podwójny odstęp i ucinało dłuższe kroki (np. 3 z telefonem) na niższych ekranach */
}

.cf-wstep-nav--right {
  justify-content: flex-end;
}

/* Krok 1 — jedyny przycisk „Dalej" wypełnia pasek akcji (nie siedzi sam w rogu) */
.cf-wstep-nav--right .cf-btn-next {
  flex: 1 1 auto;
  justify-content: center;
}

/* ── BACK BUTTON ────────────────────────────────────────────── */
.cf-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--fu);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.35);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.cf-btn-back:hover {
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
}

/* ── NEXT BUTTON ────────────────────────────────────────────── */
.cf-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fu);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--c-green);
  border: none;
  border-radius: 6px;
  padding: 0.95rem 2rem;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s;
}

.cf-btn-next:not(:disabled):hover {
  opacity: 0.88;
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(18,197,123,0.28);
}

.cf-btn-next:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.cf-btn-next svg { flex-shrink: 0; }

/* ── SUBMIT BUTTON ──────────────────────────────────────────── */
.cf-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--fu);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--c-green);
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    opacity 0.2s,
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s;
}

.cf-btn-submit:not(:disabled):hover {
  opacity: 0.88;
  transform: scale(1.03);
  box-shadow: 0 6px 22px rgba(18,197,123,0.3);
}

.cf-btn-submit:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.cf-btn-submit.is-loading .cf-submit-text,
.cf-btn-submit.is-loading .cf-submit-arrow { opacity: 0; }

.cf-btn-submit.is-loading .cf-submit-spinner { display: block; }

.cf-submit-spinner {
  display: none;
  position: absolute;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cfSpin 0.65s linear infinite;
}

@keyframes cfSpin { to { transform: rotate(360deg); } }

.cf-submit-arrow {
  flex-shrink: 0;
  transition: transform 0.22s;
}
.cf-btn-submit:not(:disabled):hover .cf-submit-arrow { transform: translateX(3px); }

/* ── INTRO TEXT ─────────────────────────────────────────────── */
.cf-intro-text {
  font-family: var(--fh);
  font-size: clamp(1.5rem, 2.2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em;
}

.cf-inline-field {
  display: inline-flex;
  align-items: baseline;
}

.cf-inline-input {
  font-family: var(--fh);
  font-size: inherit;
  font-style: italic;
  color: var(--c-green);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(18,197,123,0.35);
  outline: none;
  padding: 0.05em 0.1em 0.08em;
  width: 9em;
  min-width: 4em;
  caret-color: var(--c-green);
  transition: border-color 0.25s;
}

.cf-inline-input:focus { border-color: var(--c-green); }

.cf-inline-input::placeholder {
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

.cf-inline-input--co {
  width: 12em;
}

/* Prevents 'z' from orphaning at line-end — wraps with company input as one unit */
.cf-intro-nowrap {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  gap: 0;
}

.cf-z {
  margin-right: 0.3em;
}

/* ── PILL LABEL ─────────────────────────────────────────────── */
.cf-pill-label {
  font-family: var(--fu);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.5rem;
}

/* ── PILLS ──────────────────────────────────────────────────── */
.cf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.cf-pills--wrap { gap: 0.45rem; }

.cf-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5rem 1.05rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  font-family: var(--fu);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  text-align: left;
  line-height: 1.4;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s;
}

.cf-pill:hover {
  border-color: rgba(18,197,123,0.5);
  color: #fff;
  background: rgba(18,197,123,0.06);
  transform: translateY(-1px);
}

.cf-pill.is-selected {
  border-color: var(--c-green);
  color: #fff;
  background: rgba(18,197,123,0.18);
  box-shadow: inset 0 0 0 1px rgba(18,197,123,0.35);
}

.cf-pill.is-selected::before {
  content: '✓';
  font-size: 0.68em;
  opacity: 0.7;
}

.cf-pill--lg {
  border-radius: 5px;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
}

/* ── TEXT INPUT ─────────────────────────────────────────────── */
.cf-field-label {
  font-family: var(--fu);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 0.5rem;
}

.cf-text-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  padding: 0.55rem 0.9rem;
  color: #fff;
  font-family: var(--fu);
  font-size: 0.875rem;
  font-weight: 300;
  outline: none;
  caret-color: var(--c-green);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.cf-text-input:focus {
  border-color: var(--c-green);
  background: rgba(18,197,123,0.04);
  box-shadow: 0 0 0 3px rgba(18,197,123,0.08);
}

.cf-text-input::placeholder { color: rgba(255,255,255,0.18); }

/* Pole „Moja branża to:" — stała wysokość + wewnętrzny scroll, bez rozciągania */
textarea.cf-text-input {
  height: 100px;
  min-height: 100px;
  max-height: 100px;
  line-height: 1.5;
  overflow-y: scroll;
  resize: none;
  field-sizing: fixed; /* nie rośnie z treścią w nowych przeglądarkach */
}

/* Zawsze widoczny pasek przewijania (Safari domyślnie chowa nakładkowy) */
textarea.cf-text-input::-webkit-scrollbar {
  width: 10px;
}
textarea.cf-text-input::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
}
textarea.cf-text-input::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.28);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}
textarea.cf-text-input::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.45);
  background-clip: content-box;
}

.cf-contact-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Pułapka na boty (honeypot) — poza ekranem, a nie display:none, bo część botów pomija ukryte pola */
.cf-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ── SWIPE VERIFIER ─────────────────────────────────────────── */
.cf-verify-wrap { margin-top: 0.75rem; }

.cf-verify-track {
  position: relative;
  height: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 25px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  transition: border-color 0.35s, background 0.4s;
}

.cf-verify-track.is-verified {
  border-color: var(--c-green);
  background: rgba(18,197,123,0.08);
  cursor: default;
}

/* Green fill layer */
.cf-verify-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, rgba(18,197,123,0.2) 0%, rgba(18,197,123,0.06) 100%);
  pointer-events: none;
  transition: width 0.08s linear;
}

.cf-verify-track.is-verified .cf-verify-fill { width: 100%; transition: width 0.35s ease; }

/* Thumb */
.cf-verify-thumb {
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  z-index: 2;
  transition: background 0.3s, border-color 0.3s, color 0.3s, box-shadow 0.3s;
  will-change: left;
}

.cf-verify-track.is-verified .cf-verify-thumb {
  background: var(--c-green);
  border-color: transparent;
  color: #000;
  box-shadow: 0 0 16px rgba(18,197,123,0.5);
}

/* Labels */
.cf-verify-text,
.cf-verify-ok {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 48px;
  font-family: var(--fu);
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cf-verify-text { color: rgba(255,255,255,0.28); }
.cf-verify-ok   { color: var(--c-green); opacity: 0; }
.cf-verify-track.is-verified .cf-verify-text { opacity: 0; }
.cf-verify-track.is-verified .cf-verify-ok   { opacity: 1; }

/* ── ZGODA NA PRZETWARZANIE DANYCH ─────────────────────────────
   Nazwy klas celowo neutralne (bez "rodo"/"privacy"/"consent") —
   te słowa w id/class trafiają na listy filtrów blokerów reklam
   i ciasteczek (np. wbudowany bloker w Operze, EasyList Polska),
   które potrafią po cichu ukryć taki element na stronie.        */
.cf-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.cf-checkbox {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--c-green);
  cursor: pointer;
}

.cf-agree-label {
  font-family: var(--fu);
  font-size: 0.7rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255,255,255,0.38);
  cursor: pointer;
}

.cf-agree-link {
  color: var(--c-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}
.cf-agree-link:hover { opacity: 0.7; }

/* ── SUCCESS SCREEN ─────────────────────────────────────────── */
.cf-wstep--success .cf-wstep-body {
  gap: 1rem;
}

.cf-success-ring {
  margin-bottom: 0.5rem;
}

.cf-success-arc {
  transform-origin: center;
  transform: rotate(-90deg);
  transition: stroke-dashoffset 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.cf-success-arc.draw { stroke-dashoffset: 0; }

.cf-success-check {
  transition: opacity 0.35s ease 0.65s;
}
.cf-success-check.show { opacity: 1; }

.cf-success-title {
  font-family: var(--fh);
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cf-success-sub {
  font-family: var(--fu);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
}

/* ── FIELD ROW SPACING ──────────────────────────────────────── */
.cf-field-row { display: flex; flex-direction: column; }

/* KAFELKI block starts below */
/* ── KAFELKI ────────────────────────────────────────────────────── */



/* ── KAFELKI ────────────────────────────────────────────────────── */

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --c-dark:   #0a0a0a;
      --c-white:  #ffffff;
      --c-mid:    #f0f0f0;
      --c-text-d: rgba(255,255,255,0.55);
      --c-text-l: rgba(0,0,0,0.42);
      --c-title-l:#1d1d1f;
      --green:    oklch(0.72 0.22 142);
      --green-d:  oklch(0.55 0.18 142);
      --dur:      0.65s;
      --ease:     cubic-bezier(0.4, 0, 0.2, 1);
    }

    

    /* ==============================
       SOCIAL MEDIA PANEL -- FINAL
    ============================== */

    /* Column layout, exact image bg color everywhere */
    #sect-3 .panel-expanded {
      flex-direction: column;
      align-items: stretch;
      padding: 0; gap: 0;
      background: #f9f9f9;
    }

    /* Bezszwowe tło slajdu — próbkowane z krawędzi grafiki: ciepły greige TL (#e0d2d1)
       → jaśniejszy neutralny BR (#edebec). Ta sama diagonala co studyjne tło zdjęcia. */
    /* cover sprawia, że dół grafiki schodzi poza slajd — gradient musi już tylko pasować
       do LEWEJ krawędzi zdjęcia (próbkowane PIL: #dccecd góra → #e2d8d7 środek). Spójny warm
       greige w całości, bez żadnej bieli — brak paska u dołu. */
    #slide-5 {
      background-color: #e6dcda;
      background-image: linear-gradient(180deg,
        #ded1cf 0%,
        #e2d8d7 42%,
        #e7e0de 72%,
        #eae3e1 100%);
    }

    /* LEWA kolumna — tekst + CTA + wskaźniki */
    .sm-visual {
      position: relative;
      flex: 1 1 0;
      min-width: 0;
      max-width: 640px;
      min-height: 0;
      overflow: hidden;
      background: transparent;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;
      gap: clamp(1.4rem, 3vh, 2.4rem);
      padding: clamp(3rem, 6vw, 6.5rem);
    }

    /* PRAWA kolumna — grafika wtopiona maską w gradient slajdu (brak ostrej ramki) */
    .sm-media {
      position: relative;
      flex: 1 1 0;
      min-width: 0;
      min-height: 0;
      overflow: hidden;
    }
    .sm-media-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: 50% center;
      display: block;
      background: transparent;
      /* cover = grafika wypełnia całą wysokość, góra/dół/prawa schodzą poza slajd (brak pasa).
         Maska pióruje tylko LEWĄ krawędź — jedyny styk z tłem slajdu. */
      -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 11%, #000 100%);
              mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 11%, #000 100%);
    }

    /* Nowy akapit opisowy */
    .sm-lead {
      font-family: 'Inter', sans-serif;
      font-size: clamp(17px, 1.35vw, 20px);
      line-height: 1.8;
      letter-spacing: 0.01em;
      color: rgba(0, 0, 0, 0.54);
      max-width: 480px;
    }

    /* Image wrapper fills entire sm-visual */
    .ig-graphic-wrap {
      position: absolute;
      inset: 0;
      transform-style: preserve-3d;
    }

    /* Image fills wrapper, contain so all 3 phones visible */
    .sm-ig-img {
      width: 100%; height: 100%;
      object-fit: contain;
      background: #f9f9f9;
      display: block;
      pointer-events: none;
    }

    /* Title overlay: sits on top of the light image background */
    .sm-overlay-title {
      position: absolute;
      top: clamp(72px, 10vh, 96px);
      left: clamp(40px, 5vw, 72px);
      z-index: 10;
      display: flex; flex-direction: column; gap: 10px;
      max-width: 520px;
    }

    /* Bottom overlay inside full-bleed sm-visual */
    .sm-footer {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      display: flex; align-items: flex-end; gap: 48px;
      padding: 48px 72px 44px;
      background: linear-gradient(to top,
        rgba(249,249,249,0.97) 0%,
        rgba(249,249,249,0.85) 50%,
        transparent 100%);
      z-index: 15;
    }
    .sm-footer-desc {
      flex: 1;
      display: flex; flex-direction: column; gap: 8px;
      max-width: 460px;
      margin-left: clamp(20px, 3vw, 48px);
      padding-left: 18px;
      border-left: 3px solid var(--accent);
    }
    .sm-footer-cta  { flex: 0 0 auto; display: flex; align-items: center; gap: 24px; padding-bottom: 2px; }

    /* Text styles */
    .sm-eyebrow {
      font-size: 10px; font-weight: 600;
      letter-spacing: 3px; text-transform: uppercase;
      color: var(--green);
    }
    .sm-title {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(37px, 4.2vw, 59px);
      font-weight: 400; line-height: 1.02;
      letter-spacing: -0.5px; color: var(--c-dark); margin: 0;
    }
    .sm-title em { font-style: italic; color: var(--green); }
    .sm-footer-tagline {
      font-size: 15px; font-weight: 700;
      color: var(--accent); line-height: 1.35;
      letter-spacing: -0.01em;
    }
    .sm-desc {
      font-size: 13.5px; line-height: 1.75;
      color: rgba(0,0,0,0.48);
    }

    /* Tags as dot-separated inline text — no borders, no boxes */
    .sm-tags { display: flex; align-items: center; gap: 0; }
    .sm-tag {
      font-size: 10px; font-weight: 700;
      letter-spacing: 2px; text-transform: uppercase;
      color: rgba(0,0,0,0.32);
      padding: 0;
      border: none;
      background: none;
    }
    .sm-tag + .sm-tag::before {
      content: '\B7';
      margin: 0 10px;
      color: rgba(0,0,0,0.18);
      font-size: 14px;
    }
    .sm-cta {
      display: inline-flex; align-items: center; gap: 8px;
      font-size: 13.5px; font-weight: 600;
      color: var(--c-dark); background: var(--green);
      padding: 13px 26px; border-radius: 3px;
      text-decoration: none; white-space: nowrap;
      letter-spacing: 0.2px;
      margin-top: clamp(1rem, 2.5vh, 2rem);
      transition: background 0.2s, transform 0.15s;
    }
    .sm-cta:hover { background: oklch(0.82 0.18 142); transform: translateY(-2px); }

    /* Notification pills */
    .ig-notif {
      position: absolute;
      display: flex; align-items: center; gap: 8px;
      padding: 9px 15px 9px 11px;
      background: rgba(255,255,255,0.97);
      -webkit-backdrop-filter: blur(14px);
      backdrop-filter: blur(14px);
      border-radius: 100px;
      box-shadow:
        0 4px 22px rgba(0,0,0,0.10),
        0 1px 5px rgba(0,0,0,0.06),
        inset 0 1px 0 rgba(255,255,255,0.95);
      font-family: 'Inter', sans-serif;
      font-size: 12.5px; font-weight: 600;
      color: #1a1a1a; white-space: nowrap;
      pointer-events: none; user-select: none;
      opacity: 0; transform: translateY(10px) scale(0.88);
      z-index: 30;
      will-change: transform, opacity;
    }
    .notif-icon {
      font-size: 18px;
      line-height: 1;
      display: flex;
      align-items: center;
    }
    /* Ikona-specific kolory — targetujemy ikony wewnątrz konkretnych dymków */
    .ig-notif-1 .notif-icon { color: #ed4956; }  /* favorite — Instagram red */
    .ig-notif-2 .notif-icon { color: #8e8e8e; }  /* visibility — neutral grey */
    .ig-notif-3 .notif-icon { color: var(--accent); } /* trending_up — green */
    .ig-notif-4 .notif-icon { color: #0095f6; }  /* chat_bubble — Instagram blue */
    .notif-lbl  { color: rgba(0,0,0,0.42); font-weight: 400; font-size: 11.5px; }
    /* Notifications: bliżej centrum, "krążą" wokół telefonów */
    /* Floating badges: notif-1 w lewej kolumnie (poza grafiką), reszta wokół grafiki */
    .ig-notif-1 { inset: 16% 5% auto auto; }                              /* lewa kolumna, góra — na wysokości włosów, z dala od grafiki */
    .ig-notif-2 { inset: clamp(110px, 15%, 160px) clamp(4px, 4%, 50px) auto auto; } /* prawa-góra, wyraźnie pod nav */
    .ig-notif-3 { inset: auto clamp(4px, 3%, 42px) 20% auto; }            /* dół-prawo   */
    .ig-notif-4 { inset: auto auto 33% clamp(4px, 4%, 48px); }            /* środek-lewo grafiki */

    @keyframes notif-pop {
      0%   { opacity:0; transform: translateY(14px) scale(0.84); }
      62%  { opacity:1; transform: translateY(-3px)  scale(1.03); }
      100% { opacity:1; transform: translateY(0)     scale(1); }
    }
    @keyframes float-a { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-10px)} }
    @keyframes float-b { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-7px)}  }
    @keyframes float-c { 0%,100%{transform:translateY(-2px)} 50%{transform:translateY(-11px)} }
    @keyframes float-d { 0%,100%{transform:translateY(-1px)} 50%{transform:translateY(-9px)} }

    #slide-5.is-visible .ig-notif-1 {
      animation: notif-pop 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.65s both,
                 float-a 3.7s ease-in-out 1.38s infinite;
    }
    #slide-5.is-visible .ig-notif-2 {
      animation: notif-pop 0.7s cubic-bezier(0.34,1.56,0.64,1) 1.05s both,
                 float-b 4.2s ease-in-out 1.78s infinite;
    }
    #slide-5.is-visible .ig-notif-3 {
      animation: notif-pop 0.7s cubic-bezier(0.34,1.56,0.64,1) 1.45s both,
                 float-c 4.8s ease-in-out 2.18s infinite;
    }
    #slide-5.is-visible .ig-notif-4 {
      animation: notif-pop 0.7s cubic-bezier(0.34,1.56,0.64,1) 1.85s both,
                 float-d 4.0s ease-in-out 2.58s infinite;
    }

    /* Rising hearts */
    .hearts-wrap {
      position: absolute; inset: 0;
      pointer-events: none; overflow: hidden; z-index: 20;
    }
    .heart-bubble {
      position: absolute; bottom: -50px;
      left: var(--hx, 50%); font-size: var(--hs, 22px);
      opacity: 0; line-height: 1;
    }
    @keyframes rise-heart {
      0%   { opacity: 0;    transform: translateY(0)      scale(0.5)  rotate(var(--hrot,0deg)); }
      12%  { opacity: 0.95; transform: translateY(-55px)  scale(1.0)  rotate(var(--hrot,0deg)); }
      78%  { opacity: 0.5;  transform: translateY(-360px) scale(0.82) rotate(calc(var(--hrot,0deg) + 20deg)); }
      100% { opacity: 0;    transform: translateY(-460px) scale(0.6)  rotate(calc(var(--hrot,0deg) + 32deg)); }
    }
    #slide-5.is-visible .heart-bubble {
      animation: rise-heart var(--hd,3.5s) ease-out var(--hdel,0s) infinite;
    }

    /* ===============================
       BRANDING PLACEHOLDER
    =============================== */
    .brand-visual {
      width: 100%;
      max-width: 460px;
      aspect-ratio: 4/3;
      background: rgba(0,0,0,0.05);
      border: 1px solid rgba(0,0,0,0.07);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }
    .bv-c {
      position: absolute;
      border-radius: 50%;
    }
    .bv-c1 { width: 200px; height: 200px; border: 1px solid rgba(0,0,0,0.08); top: 15%; left: 18%; }
    .bv-c2 { width: 130px; height: 130px; background: rgba(0,0,0,0.04); top: 32%; left: 34%; }
    .bv-c3 { width: 85px;  height: 85px;  border: 1px solid rgba(0,0,0,0.06); bottom: 18%; right: 18%; }
    .bv-lbl {
      font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
      color: rgba(0,0,0,0.2); position: relative; z-index: 1;
    }

    /* ===== SCROLL PAGE ARCHITECTURE ===== */
    

    #scrollPage {
      height: 100vh;
      overflow-y: scroll;
      scroll-snap-type: y mandatory;
    }
    .snap-section {
      height: 100vh;
      min-height: 100vh;
      scroll-snap-align: start;
      scroll-snap-stop: always;
      position: relative;
      overflow: hidden;
    }
    /* Tiles section fills full screen */
    #sect-0 { display: flex; flex-direction: column; }
    #sect-0 .panels { flex: 1; height: 100%; min-height: unset; }
    /* Crossfade overlay for instant section teleport */
    #page-overlay {
      position: fixed; inset: 0;
      background: #fff;
      z-index: 9999;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.32s ease;
    }
  


/* ── SLIDE 3: jak działamy ───────────────────────────────────────── */
#slide-3 {
  background: #0a0a0a;
  display: flex;
}

/* ── SLIDE 4: formularz ─────────────────────────────────────────── */
#slide-4 {
  background: #0a0a0a;
  color: #fff;
  display: flex;
}

/* ── FOOTER ─────────────────────────────────────────────────────── */
.site-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}
.footer-copy {
  font-family: var(--fu);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}
.footer-link {
  font-family: var(--fu);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

  /* slide-6 = Jak działamy (dawny slide-3), slide-7 = Formularz (dawny slide-4) */
  #slide-6 { background: #0a0a0a; display: flex; }
  #slide-7 { background: #0a0a0a; color: #fff; display: flex; flex-direction: column; }

  /* ── HOLD CURSOR (tunel brandingowy slide-4) ── */
  #panel-cursor {
    position: fixed; pointer-events: none; z-index: 10001;
    padding: 9px 18px; background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px); border-radius: 100px;
    white-space: nowrap; transform: translate(-50%,-50%) scale(0);
    opacity: 0; transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), opacity 0.18s ease;
    display: flex; align-items: center; gap: 8px;
    will-change: transform, opacity;
  }
  #panel-cursor.visible { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  #panel-cursor svg { width: 16px; height: 16px; flex-shrink: 0; transform: rotate(-90deg); }
  #panel-cursor .c-track { fill: none; stroke: rgba(0,0,0,0.12); stroke-width: 2.5; }
  #panel-cursor .c-fill  { fill: none; stroke: #0a0a0a; stroke-width: 2.5; stroke-linecap: round; }
  #panel-cursor .c-label {
    font-family: 'JetBrains Mono', monospace; font-size: 9px;
    font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #0a0a0a;
  }

  /* ── GLOBAL CUSTOM CURSOR ── */
  body { cursor: none; }
  a, button, [role="button"], .s2-panel, .exp-cta, .sm-cta, .p2-t-cta, nav a { cursor: none; }

  #gCursorDot {
    position: fixed; pointer-events: none; z-index: 99999;
    width: 6px; height: 6px; border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s;
    will-change: transform;
  }
  #gCursorRing {
    position: fixed; pointer-events: none; z-index: 99998;
    width: 34px; height: 34px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.55);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, height 0.25s ease,
                border-color 0.25s ease, opacity 0.2s;
    will-change: transform;
  }
  #gCursorRing.hovering {
    width: 48px; height: 48px;
    border-color: oklch(0.72 0.22 142 / 0.85);
    border-width: 2px;
  }
  #gCursorDot.hidden, #gCursorRing.hidden { opacity: 0; }

  

/* ========================================
   RECOVERED: Tunnel 3D + Terminal CSS
   (z: site stara do recover)
======================================== */
    /* ===============================
       PANEL 2 -- 3D TUNNEL GALLERY
    =============================== */
    #sect-2 .panel-expanded {
      padding: 0;
      overflow: hidden;
      background: #f3f2f0;
    }

    .p2-tunnel {
      position: absolute;
      inset: 0;
      overflow: hidden;
      cursor: crosshair;
      background: #f3f2f0; /* visible before canvas fades in */
    }

    .p2-tunnel-canvas {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      display: block;
      background: #f3f2f0;
      opacity: 0;
      transition: opacity 1s ease;
      will-change: opacity;
    }
    .p2-tunnel-canvas.tunnel-ready { opacity: 1; }


    .p2-tunnel-content {
      position: absolute;
      inset: 0;
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 48px;
      pointer-events: none;
    }

    .p2-t-eyebrow {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: #888;
      margin-bottom: 18px;
    }

    .p2-t-headline {
      font-family: 'DM Serif Display', serif;
      font-size: clamp(28px, 3.8vw, 54px);
      font-weight: 400;
      line-height: 1.08;
      letter-spacing: -1.5px;
      color: #111;
      margin-bottom: 18px;
      pointer-events: auto;
    }

    .p2-t-headline em { font-style: italic; }

    .p2-t-sub {
      font-size: 14px;
      color: #666;
      max-width: 340px;
      line-height: 1.65;
      pointer-events: auto;
    }

    .p2-tunnel-footer {
      position: absolute;
      bottom: 36px;
      left: 0; right: 0;
      z-index: 3;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .p2-t-tag {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: #777;
      padding: 6px 14px;
      border: 1px solid rgba(0,0,0,0.15);
      border-radius: 20px;
    }

    .p2-t-cta {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 0.5px;
      text-decoration: none;
      padding: 10px 24px;
      background: #111;
      color: #f3f2f0;
      border-radius: 24px;
      transition: background 0.2s ease;
      display: block;
      width: fit-content;
      margin: 22px auto 0;
      text-align: center;
      pointer-events: auto;
    }
    .p2-t-cta:hover { background: #333; }

    /* ── T3: scrim za treścią (między canvasem a .p2-tunnel-content) ── */
    .p2-scrim {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      background: radial-gradient(
        ellipse at center,
        rgba(243, 242, 240, 0.9) 0%,
        rgba(243, 242, 240, 0.55) 42%,
        rgba(243, 242, 240, 0) 70%
      );
    }

    /*
      12-image grid — panel divided into 4 cols × 3 rows zones.
      One image per zone, no same-image neighbours.
      Mix of large / small sizes for visual rhythm.
    */

    /* ROW 1 (top) */
    .p2-a  { top:  4%;   left:  3%;   width: 158px; height: 158px; } /* G1 Bubble  – large  */
    .p2-b  { top:  2%;   left: 23%;   width:  82px; height: 146px; } /* G3 Gradient– tall   */
    .p2-c  { top:  6%;   left: 54%;   width: 132px; height: 132px; } /* G2 Editorial– med  */
    .p2-d  { top:  3%;   right: 3%;   width: 118px; height: 148px; } /* G4 Tropical– med   */

    /* ROW 2 (middle) */
    .p2-e  { top: 38%;   left:  4%;   width: 185px; height: 139px; } /* G5 Geometric– wide */
    .p2-f  { top: 40%;   left: 26%;   width: 102px; height: 127px; } /* G4 Tropical– small */
    .p2-g  { top: 36%;   left: 50%;   width: 122px; height: 122px; } /* G1 Bubble  – med   */
    .p2-h  { top: 32%;   right: 4%;   width:  78px; height: 138px; } /* G3 Gradient+text   */

    /* ROW 3 (bottom) */
    .p2-i  { bottom: 5%; left:  4%;   width: 122px; height: 122px; } /* G2 Editorial– med  */
    .p2-j  { bottom: 7%; left: 24%;   width: 148px; height: 111px; } /* G5 Geometric– sml  */
    .p2-k  { bottom: 4%; left: 50%;   width: 152px; height: 190px; } /* G4 Tropical– large */
    .p2-l  { bottom: 6%; right: 3%;   width: 105px; height: 105px; } /* G1 Bubble  – small */

    /* mkdev text overlay on gradient card */
    .p2-overlay-text {
      position: absolute;
      bottom: 14px;
      left: 0; right: 0;
      text-align: center;
      font-family: 'DM Serif Display', Georgia, serif;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 4px;
      text-transform: uppercase;
      color: #0f0a20;
      pointer-events: none;
      mix-blend-mode: multiply;
      opacity: 0.75;
    }

    .terminal {
      width: 100%;
      max-width: 580px;
      background: #111111;
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 12px;
      overflow: hidden;
      box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 40px 100px rgba(0,0,0,0.95);
      position: relative;
      z-index: 2;
    }

    .terminal-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 14px 18px;
      background: #181818;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .t-dot { width: 12px; height: 12px; border-radius: 50%; }
    .t-dot-r { background: #ff5f57; }
    .t-dot-y { background: #ffbd2e; }
    .t-dot-g { background: #28c840; }
    .t-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      color: rgba(255,255,255,0.22);
      margin: 0 auto;
      letter-spacing: 0.5px;
    }

    .terminal-body {
      padding: 18px 20px 20px;
      height: 380px;
      display: flex;
      flex-direction: column;
    }

    .term-lines {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      line-height: 1.8;
      flex: 1;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    .t-line        { display: block; white-space: pre; color: rgba(255,255,255,0.5); }
    .t-line.cmd    { color: rgba(255,255,255,0.88); }
    .t-line.tag    { color: #7dd3fc; }
    .t-line.attr   { color: #86efac; }
    .t-line.str    { color: #fda4af; }
    .t-line.dim    { color: rgba(255,255,255,0.2); }

    .term-cta {
      font-family: 'JetBrains Mono', monospace;
      font-size: 16px;
      font-weight: 500;
      color: var(--green);
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,0.05);
      margin-top: 12px;
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .term-cta.show { opacity: 1; transform: translateY(0); }

    .t-cursor {
      display: inline-block;
      width: 7px; height: 13px;
      background: var(--green);
      animation: blink 1s step-end infinite;
      vertical-align: middle;
      margin-left: 2px;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }


/* ========================================
   SLIDE-3 — Strony internetowe (Terminal)
   Left column premium styles
======================================== */

#slide-3 .exp-info {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 2.5rem;
  margin-top: -2rem;
}

.exp-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
}

.exp-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(37px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -1px;
  color: #fff;
  margin: 0;
}

.exp-title em {
  font-style: italic;
  color: var(--accent);
}

.exp-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 340px;
  margin: 0;
}

.exp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6);
  padding: 5px 12px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  transition: border-color 0.2s, color 0.2s;
}

.exp-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.exp-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(28,255,100,0.3);
  padding-bottom: 4px;
  width: fit-content;
  margin-top: 1rem;
  transition: border-color 0.2s, gap 0.2s;
}

.exp-cta:hover {
  border-color: var(--accent);
  gap: 12px;
}
