/* ==========================================================================
   Strona-wizytówka montażysty rolek
   Ciemne tło, jeden akcent (żółty jak podświetlenie w napisach rolek),
   materiał wideo daje resztę koloru.
   ========================================================================== */

:root {
  --bg: #08090B;
  --bg-2: #0E1014;
  --bg-3: rgba(255, 255, 255, .06);
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F4F4F2;
  --muted: #A4A7AE;
  --muted-2: #8B8E95;
  --accent: #FFD23F;
  --accent-2: #FFE07A;
  --on-accent: #111111;
  --error: #FF8F80;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);
  --font-mono: var(--font);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --r-reel: 20px;

  --container: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: #2A2D33 var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

::selection { background: var(--accent); color: var(--on-accent); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2A2D33; border-radius: 10px; border: 2px solid var(--bg); }

img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

/* ==========================================================================
   Przyciski
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.25rem;
  padding: 0 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: 600 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--accent {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .7);
}
.btn--accent:hover { background: var(--accent-2); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; }
.btn--ghost {
  background: var(--bg-3);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); }
.btn--sm { min-height: 2.5rem; padding: 0 1.1rem; font-size: .9375rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-btn {
  background: none;
  border: 0;
  padding: .5rem 0;
  color: var(--muted);
  font: 500 .9375rem/1 var(--font);
  cursor: pointer;
}
.link-btn:hover { color: var(--text); }

/* ==========================================================================
   Nawigacja
   ========================================================================== */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: rgba(8, 9, 11, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding: .85rem var(--gutter);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -.01em;
}
/* Znak marki: pionowy kadr w proporcji 9:16 */
.brand__mark {
  display: block;
  width: 1.125rem; height: 2rem;
  border-radius: 5px;
  background: var(--text);
  box-shadow: inset 0 0 0 3px var(--text), inset 0 0 0 4.5px var(--bg);
}
.brand__name { font-weight: 500; color: var(--muted); font-size: 1.0625rem; letter-spacing: -.015em; }
.brand__name b { font-weight: 800; color: var(--text); }
.nav__links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: var(--text); }
.nav__toggle {
  display: none;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--r-pill);
  padding: .55rem 1rem;
  font: 500 .9375rem/1 var(--font);
  cursor: pointer;
}
@media (max-width: 52em) {
  .nav__toggle { display: inline-flex; }
  .nav__cta { display: none; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: .5rem var(--gutter) 1rem;
    background: rgba(8, 9, 11, .96);
    border-bottom: 1px solid var(--line);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: .85rem 0; font-size: 1.0625rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
}

/* ==========================================================================
   Tło: miękkie wstęgi granatu i turkusu (canvas) od góry strony
   do połowy rolek w Realizacjach, wygasające do czerni
   ========================================================================== */
main { position: relative; isolation: isolate; }
.page-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 160vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  filter: blur(48px) saturate(120%);
  opacity: .95;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: overlay;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Hero: dwie kolumny, po prawej wachlarz 3 rolek
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 4rem);
}
.hero-copy, .hero-stage-wrap { min-width: 0; }


.hero__title {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.4rem, 3.9vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--accent); }
.hero__sub {
  margin: 1.5rem 0 0;
  max-width: 50ch;
  font-size: clamp(1.02rem, 1.3vw, 1.125rem);
  line-height: 1.65;
  color: #C9CBD0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 2.25rem;
}
.hero-copy .hero__actions { justify-content: flex-start; margin-top: 2.25rem; }

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 3.25rem 0 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(14, 16, 20, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.proof-item { padding: 1.15rem 1.1rem; }
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item dt {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.proof-item dd {
  margin: .35rem 0 0;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--muted);
}

/* Wachlarz 3 rolek; tylna rolka po najechaniu wychodzi na pierwszy plan */
.hero-stage-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 540px;
  min-height: 492px;
  display: grid;
  place-items: center;
}
.hero-stage .reel-card {
  position: absolute;
  width: 246px;
  transition: transform .38s var(--ease-out), box-shadow .38s var(--ease-out), border-color .25s ease, opacity .25s ease;
}
.hero-stage .reel-card[data-slot="0"] {
  z-index: 3;
  width: 266px;
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 32px 72px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 210, 63, .26);
}
.hero-stage .reel-card[data-slot="1"] {
  z-index: 2;
  transform: translate3d(134px, 24px, 0) rotate(5.5deg) scale(.9);
  opacity: .9;
}
.hero-stage .reel-card[data-slot="2"] {
  z-index: 1;
  transform: translate3d(-134px, 28px, 0) rotate(-5.5deg) scale(.9);
  opacity: .88;
}
.hero-stage .reel-card[data-slot="0"]:hover,
.hero-stage .reel-card[data-slot="0"]:focus-visible {
  z-index: 5;
  transform: translate3d(0, -14px, 0) scale(1.02);
}
.hero-stage .reel-card[data-slot="1"]:hover,
.hero-stage .reel-card[data-slot="1"]:focus-visible {
  z-index: 5;
  opacity: 1;
  transform: translate3d(144px, 4px, 0) rotate(1.5deg) scale(1);
  box-shadow: 0 34px 76px rgba(0, 0, 0, .72), 0 0 0 1px rgba(255, 210, 63, .55);
}
.hero-stage .reel-card[data-slot="2"]:hover,
.hero-stage .reel-card[data-slot="2"]:focus-visible {
  z-index: 5;
  opacity: 1;
  transform: translate3d(-144px, 6px, 0) rotate(-1.5deg) scale(1);
  box-shadow: 0 34px 76px rgba(0, 0, 0, .72), 0 0 0 1px rgba(255, 210, 63, .55);
}
/* Podpowiedź stoi pod rolkami, ale nie wlicza się do wysokości,
   więc tekst po lewej wyrównuje się do samych rolek */
.hero-stage-hint {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 1.25rem;
  color: var(--muted-2);
  font-size: .875rem;
}

/* Karta rolki 9:16 (hero i realizacje) */
.reel-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-reel);
  background: var(--bg-2);
  color: inherit;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  aspect-ratio: 9 / 16;
  box-shadow: 0 20px 44px rgba(0, 0, 0, .42);
}
.reel-card:hover { border-color: rgba(255, 210, 63, .55); }
.reel-card-poster,
.reel-card > .frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.reel-card:hover .reel-card-poster,
.reel-card:hover > .frame { transform: scale(1.035); }
.reel-play-badge {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(8, 9, 11, .68);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, .32);
  color: var(--text);
  transition: transform .25s var(--ease-out), background-color .25s ease, color .25s ease, border-color .25s ease;
}
.reel-play-badge svg { width: 1.25rem; height: 1.25rem; fill: currentColor; margin-left: 2px; }
.reel-card:hover .reel-play-badge,
.reel-card:focus-visible .reel-play-badge {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

/* Telefon i tablet: wachlarz zamienia się w poziomy pas, przewija się tylko on */
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .hero-stage-wrap { align-items: stretch; width: 100%; max-width: 100%; }
  .hero-stage {
    width: auto;
    max-width: none;
    min-height: 0;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-block: 4px 10px;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .hero-stage::-webkit-scrollbar { display: none; }
  .hero-stage .reel-card,
  .hero-stage .reel-card[data-slot] {
    position: relative;
    flex: 0 0 218px;
    width: 218px;
    transform: none;
    opacity: 1;
    scroll-snap-align: start;
  }
  .hero-stage .reel-card[data-slot]:hover,
  .hero-stage .reel-card[data-slot]:focus-visible { transform: none; }
  .hero-stage-hint { position: static; justify-content: flex-start; margin-top: 1rem; }
}
@media (max-width: 40em) {
  .hero { padding-top: 1.75rem; }
  .hero-proof { grid-template-columns: 1fr; margin-top: 2rem; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line); }
  .proof-item { display: flex; align-items: baseline; gap: .75rem; padding: .85rem 1.1rem; }
  .proof-item dt { font-size: 1.125rem; }
  .proof-item dd { margin: 0; }
}

/* Kadr zaślepki (gdy rolka nie ma jeszcze pliku) */
.frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 14% 10% 12%;
  text-align: center;
  background:
    radial-gradient(120% 70% at 50% 0%, var(--tint, #2B3A67) 0%, transparent 60%),
    linear-gradient(180deg, #15181F 0%, #0C0D11 100%);
}
.frame::before {
  /* sylwetka osoby mówiącej do kamery */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 78%;
  aspect-ratio: 1 / 1.05;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .13) 0 22%, transparent 23%),
    radial-gradient(ellipse 70% 45% at 50% 100%, rgba(255, 255, 255, .09) 0 98%, transparent 100%);
}
.frame--mg::before {
  width: 70%;
  aspect-ratio: 1;
  bottom: 30%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.12) 0 100%) 10% 70% / 18% 30% no-repeat,
    linear-gradient(90deg, rgba(255,255,255,.18) 0 100%) 41% 70% / 18% 55% no-repeat,
    linear-gradient(90deg, rgba(255,210,63,.75) 0 100%) 72% 70% / 18% 85% no-repeat;
}
.frame__cap {
  position: relative;
  font-size: clamp(.95rem, 1.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.frame__cap mark {
  background: var(--accent);
  color: var(--on-accent);
  padding: 0 .18em;
  border-radius: 4px;
  text-shadow: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ==========================================================================
   Sekcje
   ========================================================================== */
.section { padding-block: var(--section-y) 0; }
.section:last-of-type { padding-bottom: var(--section-y); }
.head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.head__title {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.04em;
}
.head__text {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.125rem;
}

/* Realizacje */
.tabs {
  display: flex;
  justify-content: center;
  gap: .35rem;
  width: fit-content;
  margin: 0 auto 2rem;
  padding: .3rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.tab {
  border: 0;
  background: none;
  color: var(--muted);
  padding: .6rem 1.1rem;
  border-radius: var(--r-pill);
  font: 500 .9375rem/1 var(--font);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.tab:hover { color: var(--text); }
.tab { white-space: nowrap; }
@media (max-width: 30em) {
  .tabs { width: 100%; }
  .tab { flex: 1; padding: .6rem .5rem; font-size: .875rem; }
}
/* Na kafelku w Realizacjach napis zaślepki stoi nad podpisem klienta */
.reel .frame { padding-bottom: 34%; }
.tab[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.reels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 60em) { .reels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40em) { .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; } }
.reel[hidden] { display: none; }
.reel__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.reel__btn:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .9);
}
.reel__btn video { width: 100%; height: 100%; object-fit: cover; }
.reel__time {
  position: absolute;
  top: .7rem; right: .7rem;
  padding: .2rem .5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.reel__play {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  margin: -1.625rem 0 0 -1.625rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background-color .2s, opacity .2s;
}
.reel__play svg { width: 1.25rem; height: 1.25rem; fill: #fff; }
.reel__btn:hover .reel__play { transform: scale(1.08); background: rgba(255, 255, 255, .24); }
.reel.is-playing .reel__play { opacity: 0; }
.reel.is-playing .reel__btn:hover .reel__play { opacity: 1; }
.reel__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem .9rem .9rem;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), transparent);
  pointer-events: none;
}
.reel__client { font-size: .75rem; font-weight: 600; color: #D6D8DC; }
.reel__title { margin-top: .15rem; font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.reel.is-playing .reel__meta { opacity: 0; transition: opacity .3s; }

/* Współpraca */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 56em) { .benefits { grid-template-columns: 1fr; } }
.benefit {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
}
.benefit__icon {
  width: 2.75rem; height: 2.75rem;
  padding: .6rem;
  border-radius: 12px;
  background: rgba(255, 210, 63, .12);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit__title {
  margin-top: 1.25rem;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.benefit p { margin-top: .6rem; color: var(--muted); }

.scope {
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 2rem;
  margin-top: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
@media (max-width: 48em) { .scope { grid-template-columns: 1fr; gap: 1rem; } }
.scope__title { font-size: 1.3125rem; font-weight: 700; letter-spacing: -.02em; }
.scope__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: 40em) { .scope__list { grid-template-columns: 1fr; } }
.scope__list li {
  position: relative;
  padding-left: 1.75rem;
  color: #D6D8DC;
}
.scope__list li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: rgba(255, 210, 63, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.75v6.5M4.75 8h6.5' fill='none' stroke='%23FFD23F' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.scope__text { margin-top: .6rem; color: var(--muted); font-size: .9375rem; line-height: 1.55; }

/* Jak zaczynamy */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps::before {
  content: "";
  position: absolute;
  left: 1.4rem; right: 1.4rem;
  top: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line) 60%);
}
@media (max-width: 56em) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
  .steps::before { display: none; }
}
@media (max-width: 36em) { .steps { grid-template-columns: 1fr; } }
.step-item h3 {
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -.015em;
}
.step-item p { margin-top: .5rem; color: var(--muted); font-size: 1rem; }
.step-item__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.8rem; height: 2.8rem;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: var(--bg);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.step-item:first-child .step-item__num { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ==========================================================================
   Kontakt i formularz
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 56em) { .contact { grid-template-columns: 1fr; } }
.contact__info .head__title { text-align: left; }
.contact__text { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; max-width: 30rem; }
.contact__list { margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact__list div { padding-top: 1rem; border-top: 1px solid var(--line); }
.contact__list dt { color: var(--muted); font-size: .875rem; }
.contact__list dd { margin: .2rem 0 0; font-size: 1.125rem; font-weight: 600; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
}
.progress-wrap { display: grid; gap: .65rem; margin-bottom: 1.75rem; }
.step-count { color: var(--muted); font-size: .875rem; font-weight: 500; }
.progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.progress li {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  transition: background-color .3s;
}
.progress li.is-done, .progress li.is-current { background: var(--accent); }
.progress li.is-current { background: linear-gradient(90deg, var(--accent) 50%, var(--line) 50%); }

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend {
  padding: 0;
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
}
legend:focus { outline: none; }
.js .step { display: none; }
.js .step.is-active { display: block; animation: step-in .45s var(--ease); }
@keyframes step-in { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html:not(.js) .step + .step { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
html:not(.js) .step-nav [data-next], html:not(.js) .step-nav [data-back] { display: none; }

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
@media (max-width: 30em) { .choices { grid-template-columns: 1fr; } }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choice {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.5rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .03);
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.choice::before {
  content: "";
  flex: none;
  width: 1.15rem; height: 1.15rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.choice:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .06); }
.choices input:checked + .choice { border-color: var(--accent); background: rgba(255, 210, 63, .08); }
.choices input:checked + .choice::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #1a1a1a; }
.choices input:focus-visible + .choice { outline: 2px solid var(--accent); outline-offset: 3px; }
.other { margin-top: 1rem; }
.other label { display: block; margin-bottom: .45rem; font-size: .9375rem; font-weight: 600; }

.step-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.step-nav [data-back] { margin-right: auto; }
.step-nav--submit .btn { min-width: 12rem; }

.field + .field { margin-top: 1.1rem; }
.field label:not(.check):not(.choice) {
  display: block;
  margin-bottom: .45rem;
  font-size: .9375rem;
  font-weight: 600;
}
.optional { color: var(--muted); font-weight: 400; margin-left: .25rem; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  color: var(--text);
  font: 400 1rem/1.4 var(--font);
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 7rem; }
input::placeholder, textarea::placeholder { color: #8B8E95; }
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 210, 63, .18);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); }
.field__error { margin-top: .45rem; color: var(--error); font-size: .875rem; font-weight: 500; }
.check {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .9375rem;
  cursor: pointer;
}
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.form-error { margin-top: 1rem; color: var(--error); font-size: .9375rem; }
.form-error:empty { display: none; }
.form-done { padding: 2rem 0; text-align: center; }
.form-done:focus { outline: none; }
.form-done__icon {
  width: 3.5rem; height: 3.5rem;
  margin: 0 auto 1rem;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.form-done__title { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; }
.form-done p { margin-top: .5rem; color: var(--muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 1.25rem 3.5rem 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  transition: background-color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, .03); }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  right: 1.5rem; top: 50%;
  width: .85rem; height: 1.5px;
  background: var(--muted);
  transition: transform .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 1.1rem 1.5rem 1.5rem; color: var(--muted); max-width: 62ch; }

/* ==========================================================================
   Końcowe wezwanie i stopka
   ========================================================================== */
.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--section-y);
  padding-block: clamp(5rem, 10vw, 8rem);
  text-align: center;
  border-top: 1px solid var(--line);
}
.final__glow {
  position: absolute;
  z-index: -1;
  left: 50%; top: 100%;
  width: 70rem; height: 40rem;
  transform: translate(-50%, -55%);
  background: radial-gradient(closest-side, rgba(72, 186, 212, .16), rgba(34, 64, 190, .22) 55%, transparent);
  filter: blur(30px);
}
.final__title {
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.final__title span { color: var(--accent); }
.final__text { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }

.footer { border-top: 1px solid var(--line); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  color: var(--muted);
  font-size: .9375rem;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Poprawki po przeglądzie UI/UX Pro Max
   ========================================================================== */

/* 1. Pola kliknięcia na telefonie: co najmniej 44 px wysokości */
@media (max-width: 52em) {
  .brand { min-height: 2.75rem; }
  .nav__toggle { min-height: 2.75rem; padding: 0 1.15rem; align-items: center; }
}
@media (max-width: 40em) {
  .tab { min-height: 2.75rem; }
  .btn--sm { min-height: 2.75rem; }
  .link-btn { min-height: 2.75rem; }
  .contact__list a,
  .footer__links a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .contact__list dd { margin-top: 0; }
  .footer__links { gap: .25rem 1.5rem; }
}

/* 3. Kontakt: na komputerze dane pod nagłówkiem, na telefonie pod formularzem */
.contact { row-gap: 0; }
.contact__info { grid-column: 1; grid-row: 1; }
.form-card { grid-column: 2; grid-row: 1 / span 2; }
.contact__direct { grid-column: 1; grid-row: 2; margin-top: 2rem; }
.contact__direct .contact__list { margin-top: 0; }
.contact__alt { display: none; }
@media (max-width: 56em) {
  .contact { row-gap: 2rem; }
  .contact__info, .form-card, .contact__direct { grid-column: 1; grid-row: auto; }
  .contact__direct { margin-top: 0; }
  .contact__alt { display: block; margin-bottom: .75rem; color: var(--muted); font-size: 1rem; }
}

/* 4. Czytelniejszy podpis klienta pod rolką */
.reel__client { font-size: .875rem; }

/* ==========================================================================
   Odtwarzacz rolek 9:16 (okno) z przełączaniem poprzednia / następna
   ========================================================================== */
body.modal-open { overflow: hidden; }
.reel-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 16px;
}
.reel-modal[hidden] { display: none; }
.reel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 11, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.reel-modal-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: modal-in .35s var(--ease-out);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.reel-modal-topbar {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.reel-modal-type {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--muted);
}
.reel-modal-title {
  margin-top: .15rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.reel-modal-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.modal-close-btn,
.modal-nav-btn {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(14, 16, 20, .9);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.modal-close-btn:hover,
.modal-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.reel-player-frame {
  position: relative;
  height: min(72dvh, 640px);
  aspect-ratio: 9 / 16;
  max-width: calc(100vw - 120px);
  border-radius: 22px;
  overflow: hidden;
  background: #05070A;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .72);
}
.reel-player-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.reel-player-frame .frame { position: absolute; inset: 0; }
.reel-player-note {
  position: absolute;
  top: .9rem; left: 50%;
  transform: translateX(-50%);
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(8, 9, 11, .7);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  white-space: nowrap;
}
.modal-cta-link {
  color: var(--muted);
  font-size: .9375rem;
  text-decoration: none;
  padding: .6rem .25rem;
}
.modal-cta-link:hover { color: var(--accent); }
@media (max-width: 520px) {
  .reel-modal-stage { gap: 8px; }
  .reel-player-frame { height: min(70dvh, 540px); max-width: calc(100vw - 140px); }
}

/* Podpis rodzaju rolki pod kaflem */
.reel__client { font-size: .8125rem; font-weight: 600; }

/* ==========================================================================
   Poprawki po drugim przeglądzie UI/UX Pro Max
   ========================================================================== */
/* 1. Kontrast: ciemniejsza, miękka plama pod kolumną tekstu w hero,
   żeby jasna część wstęgi nie wybijała się spod liter */
.hero-copy { position: relative; }
.hero-copy::before {
  content: "";
  position: absolute;
  inset: -12% -18% -12% -30%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(8, 9, 11, .78), rgba(8, 9, 11, .5) 55%, transparent);
}
/* Podpowiedź pod rolkami na ciemnej pigułce */
.hero-stage-hint {
  width: fit-content;
  margin-inline: auto;
  padding: .45rem .9rem;
  border-radius: var(--r-pill);
  background: rgba(8, 9, 11, .72);
  color: var(--muted);
}
/* 4. Inny tekst podpowiedzi na ekranach dotykowych */
.hint-touch { display: none; }
@media (hover: none) {
  .hint-pointer { display: none; }
  .hint-touch { display: inline; }
}

/* ==========================================================================
   Marka 916studio: czysty, elegancki napis jako bohater pierwszego ekranu
   ========================================================================== */
/* Nawigacja: sam napis, bez symbolu */
.brand__name { font-size: 1.125rem; font-weight: 400; letter-spacing: -.025em; color: var(--muted); }
.brand__name b { font-weight: 600; color: var(--text); }

/* Pierwszy ekran: nazwa największa, pod nią usługa, potem obietnica */
.brandmark { margin: 0; font-weight: 400; }
.brandmark__name {
  display: block;
  font-size: clamp(3.75rem, 9.5vw, 8.25rem);
  font-weight: 200;
  line-height: .88;
  letter-spacing: -.06em;
  color: var(--muted);
  margin-left: -.04em;
}
.brandmark__num { color: var(--text); font-weight: 300; }
.brandmark__service {
  display: block;
  margin-top: 1.1rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--text);
}
.hero__promise {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.hero__promise span { color: var(--accent); }
.hero-copy .hero__sub { margin-top: .9rem; }

/* Podpis marki przez całą szerokość na dole strony */
.footer__mark {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 0;
  font-size: clamp(4.5rem, 21vw, 19rem);
  font-weight: 200;
  line-height: .8;
  letter-spacing: -.07em;
  text-align: center;
  color: rgba(255, 255, 255, .07);
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
}
.footer__mark span { color: rgba(255, 255, 255, .16); font-weight: 300; }

/* Większy wachlarz na komputerze, żeby tekst i rolki kończyły się na jednym poziomie */
.hero__promise { margin-top: 1.6rem; padding-top: 1.25rem; }
.hero-copy .hero__actions { margin-top: 1.75rem; }
.hero-copy .hero-proof { margin-top: 2.25rem; }
@media (min-width: 1300px) {
  .hero-stage { max-width: 600px; min-height: 566px; }
  .hero-stage .reel-card { width: 283px; }
  .hero-stage .reel-card[data-slot="0"] { width: 306px; }
  .hero-stage .reel-card[data-slot="1"] { transform: translate3d(154px, 26px, 0) rotate(5.5deg) scale(.9); }
  .hero-stage .reel-card[data-slot="2"] { transform: translate3d(-154px, 30px, 0) rotate(-5.5deg) scale(.9); }
  .hero-stage .reel-card[data-slot="1"]:hover, .hero-stage .reel-card[data-slot="1"]:focus-visible { transform: translate3d(166px, 4px, 0) rotate(1.5deg) scale(1); }
  .hero-stage .reel-card[data-slot="2"]:hover, .hero-stage .reel-card[data-slot="2"]:focus-visible { transform: translate3d(-166px, 6px, 0) rotate(-1.5deg) scale(1); }
}

/* Nazwa w tym samym kroju i grubości co nagłówki strony (Geist 800) */
.brandmark__name {
  font-size: clamp(3.5rem, 8.4vw, 7.25rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.055em;
}
.brandmark__num { font-weight: 800; }
.brand__name { font-weight: 800; letter-spacing: -.04em; }
.brand__name b { font-weight: 800; }
.footer__mark { font-weight: 800; letter-spacing: -.06em; }
.footer__mark span { font-weight: 800; }

/* Kolor nazwy: „916” jasne, „studio” żółte (ten sam żółty co przyciski) */
.brandmark__name { color: var(--accent); }
.brand__name { color: var(--accent); }
.footer__mark { color: rgba(255, 210, 63, .10); }

/* Dwa kroje w nazwie: „916” w Geist 800 jak nagłówki, „studio” w kursywie Instrument Serif */
.brandmark__word,
.brand__word,
.footer__mark .footer__word {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.12em;
  letter-spacing: -.02em;
  margin-left: .05em;
}
.footer__mark .footer__word { color: rgba(255, 210, 63, .14); }

/* „916” odrobinę lżejsze (600 zamiast 800) */
.brandmark__num,
.brand__name b,
.footer__mark span:not(.footer__word) { font-weight: 600; letter-spacing: -.045em; }

/* ==========================================================================
   Realizacje: zakładki z licznikiem i przesuwanym podświetleniem
   ========================================================================== */
.tabs { position: relative; isolation: isolate; }
.tabs[hidden] { display: none; }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.tab[hidden] { display: none; }
.tab__count {
  min-width: 1.45rem;
  padding: .15rem .4rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  color: var(--muted);
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  transition: background-color .3s, color .3s;
}
.tabs__indicator {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  border-radius: var(--r-pill);
  background: var(--text);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .7);
  transition: transform .45s var(--ease), width .45s var(--ease), height .45s var(--ease);
  pointer-events: none;
  opacity: 0;
}
.tabs.has-indicator .tabs__indicator { opacity: 1; }
.tabs.has-indicator .tab[aria-pressed="true"] { background: none; }
.tab[aria-pressed="true"] { color: var(--bg); transition: color .3s; }
.tab[aria-pressed="true"] .tab__count { background: rgba(8, 9, 11, .12); color: var(--bg); }
.tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 40em) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 22px;
  }
  .tabs .tab { flex: none; padding: .7rem .5rem; font-size: .875rem; }
  .tabs__indicator { border-radius: 18px; }
}

/* Siatka rolek: rząd z mniejszą liczbą kafli stoi na środku */
.reels {
  --cols: 4;
  --gap: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}
.reels > .reel { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }
@media (max-width: 60em) { .reels { --cols: 3; } }
@media (max-width: 40em) { .reels { --cols: 2; --gap: .75rem; } }
.reels.is-out > .reel { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .17s ease, transform .17s ease; }
.reels.is-in > .reel:not([hidden]) { animation: reel-in .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes reel-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: none; }
}

/* Plakietka „Koncept” */
.reel-concept {
  position: absolute;
  top: .7rem; left: .7rem;
  z-index: 3;
  padding: .22rem .55rem;
  border: 1px solid rgba(255, 210, 63, .55);
  border-radius: 6px;
  background: rgba(8, 9, 11, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Zaślepka 3D: bryła z miękkim światłem */
.frame--3d::before {
  width: 46%;
  aspect-ratio: 1;
  bottom: 40%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .55), rgba(92, 203, 224, .35) 38%, rgba(20, 40, 60, .2) 70%, transparent 72%);
}
/* Zaślepka surowego nagrania: szare, płaskie światło, bez napisów */
.frame--raw { background: linear-gradient(180deg, #1A1B1E 0%, #111214 100%); filter: saturate(0); }

/* ==========================================================================
   Przed i po
   ========================================================================== */
.ba {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: rgba(14, 16, 20, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.ba__title {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
}
.ba__text { margin-top: .9rem; max-width: 30rem; color: #C9CBD0; font-size: 1.0625rem; }
.ba__stats { display: flex; gap: 2rem; margin: 1.5rem 0 0; }
.ba__stats[hidden] { display: none; }
.ba__stats dt { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ba__stats div:last-child dt { color: var(--accent); }
.ba__stats dd { margin: .1rem 0 0; color: var(--muted); font-size: .875rem; }
.ba__play { margin-top: 1.75rem; gap: .6rem; }
.ba__play svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.ba__icon-pause { display: none; }
.ba.is-playing .ba__icon-play { display: none; }
.ba.is-playing .ba__icon-pause { display: block; }
.ba__play[disabled] { opacity: 1; background: var(--surface-2); border-color: var(--line); color: var(--muted); cursor: not-allowed; box-shadow: none; }
.ba__note { margin-top: .85rem; color: var(--muted-2); font-size: .875rem; }

.ba__stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 34rem;
  justify-self: center;
  margin: 0;
}
.ba__phone { margin: 0; }
.ba__screen {
  position: relative;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-reel);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8);
}
.ba__screen video,
.ba__screen .frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__phone--after .ba__screen {
  border-color: rgba(255, 210, 63, .55);
  box-shadow: 0 0 0 1px rgba(255, 210, 63, .18), 0 24px 50px -20px rgba(0, 0, 0, .8);
}
.ba__phone figcaption { margin-top: .85rem; text-align: center; }
.ba__tag {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 600;
}
.ba__tag--after { background: var(--accent); color: var(--on-accent); }
@media (max-width: 56em) {
  .ba { grid-template-columns: minmax(0, 1fr); }
  .ba__stage { max-width: 26rem; }
}
@media (prefers-reduced-motion: reduce) {
  .tabs__indicator { transition: none; }
}

/* Informacja o danych osobowych pod formularzem */
.privacy { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted-2); font-size: .8125rem; line-height: 1.55; }
.privacy summary { display: inline-flex; align-items: center; min-height: 1.75rem; color: var(--muted); font-weight: 500; cursor: pointer; }
.privacy summary:hover { color: var(--text); }
.privacy p { margin-top: .6rem; }
.privacy a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* Linki kontaktowe: wygodny cel dla palca (min. 24 px) */
.contact__list a,
.footer__links a { display: inline-flex; align-items: center; min-height: 1.75rem; }

/* ==========================================================================
   Wydajność: rozmycie tła liczone w canvasie (klasa z script.js), kafelek
   z wyróżnikami bez rozmywania tła pod spodem (tło pod nim jest animowane)
   ========================================================================== */
.hero__bg.is-soft { filter: none; }
.hero-proof {
  background: rgba(14, 16, 20, .86);
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}

/* Węższe okno i tablet: rolki pod tekstem rosną do szerokości kolumny
   (maks. 300 px) i stoją na środku; gdy się nie mieszczą, przewija się pasek */
@media (max-width: 1180px) {
  .hero-stage .reel-card,
  .hero-stage .reel-card[data-slot] {
    flex: 1 0 218px;
    width: auto;
    max-width: 300px;
  }
  .hero-stage > :first-child { margin-left: auto; }
  .hero-stage > :last-child { margin-right: auto; }
  .hero-stage-hint { justify-content: center; }
}
@media (max-width: 40em) {
  .hero-stage .reel-card,
  .hero-stage .reel-card[data-slot] { flex: 0 0 218px; }
  .hero-stage-hint { justify-content: flex-start; }
}
