/* ============================================================
   KONWERTERY WARSZAWA — style głównej strony
   Paleta i typografia zgodna z brand guidelines
   ============================================================ */

:root {
  --bg: #090A13;
  --bg-2: #111321;
  --purple: #7C3AED;
  --magenta: #EC008C;
  --white: #F8FAFC;
  --text: #CBD5E1;
  --muted: #8b94a7;
  --border: rgba(255, 255, 255, .08);
  --glass: rgba(255, 255, 255, .04);
  --grad: linear-gradient(135deg, #7C3AED, #EC008C);
  --radius: 18px;
  --shadow-glow: 0 20px 80px rgba(124, 58, 237, .25);
  --font-display: "Michroma", "Space Grotesk", system-ui, sans-serif;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: .015em;
  text-transform: uppercase;
}

h1 { font-size: clamp(1.6rem, 3.4vw, 2.9rem); }
h2 { font-size: clamp(1.3rem, 2.5vw, 2.05rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.18rem; font-weight: 600; }

p { max-width: 70ch; }

a { color: inherit; text-decoration: none; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}
.container--narrow { width: min(860px, 100% - 3rem); }

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; position: relative; }
.section--alt { background: var(--bg-2); }

.section__eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: .68rem;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section__lead { font-size: 1.1rem; margin-bottom: 3rem; max-width: 62ch; }

.section__cta {
  margin-top: 3.5rem;
  text-align: center;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}
.section__cta p { color: var(--white); font-size: 1.12rem; font-weight: 500; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background:
    linear-gradient(135deg, rgba(124, 58, 237, .32), rgba(236, 0, 140, .28)),
    rgba(17, 19, 33, .55);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  color: var(--white);
  border-color: rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 8px 30px rgba(9, 10, 19, .35),
    0 4px 20px rgba(124, 58, 237, .14);
}
.btn--primary:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 0, 140, .45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    0 14px 40px rgba(9, 10, 19, .45),
    0 6px 28px rgba(236, 0, 140, .22);
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--white);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
}

.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.02rem; }
.btn--sm { padding: .55rem 1.15rem; font-size: .85rem; }
.btn--full { width: 100%; }

/* ---------- Nawigacja: pływająca szklana pigułka ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: max(.8rem, env(safe-area-inset-top));
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  width: min(1240px, 100% - 1.6rem);
  margin-inline: auto;
  height: 64px;
  padding: 0 .6rem 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(17, 19, 33, .5);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(4, 5, 12, .45);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled .nav__inner {
  background: rgba(9, 10, 19, .78);
  border-color: rgba(124, 58, 237, .28);
  box-shadow: 0 16px 50px rgba(4, 5, 12, .65), 0 4px 24px rgba(124, 58, 237, .12);
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-full { height: 46px; width: auto; display: block; }
.footer__logo-full { height: 64px; width: auto; display: block; }

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: .3rem 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__phone {
  display: flex; align-items: center; gap: .45rem;
  color: var(--white); font-family: var(--font-head);
  font-weight: 600; font-size: .9rem;
  transition: color .2s ease;
}
.nav__phone:hover { color: var(--magenta); }
.nav__phone svg { color: var(--magenta); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  pointer-events: auto;
  display: none;
  flex-direction: column;
  gap: .3rem;
  width: min(1240px, 100% - 1.6rem);
  margin: .6rem auto 0;
  padding: .9rem 1.4rem 1.3rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(9, 10, 19, .88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 20px 60px rgba(4, 5, 12, .6);
  animation: navDrop .3s cubic-bezier(.21, 1.02, .73, 1);
}
@keyframes navDrop {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.nav__mobile a { padding: .7rem 0; font-weight: 500; color: var(--white); border-bottom: 1px solid var(--border); }
.nav__mobile a:last-of-type { border-bottom: 0; }
.nav__mobile a.btn { border-bottom: 0; margin-top: .8rem; }
.nav__mobile.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.hero__video-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 10, 19, .68) 0%, rgba(9, 10, 19, .3) 52%, rgba(9, 10, 19, .12) 100%),
    linear-gradient(180deg, rgba(9, 10, 19, .3) 0%, rgba(9, 10, 19, .08) 55%, var(--bg) 100%);
}
.hero__inner, .hero__scroll { z-index: 2; }
.hero__glow, .hero__grid { z-index: 1; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 640px; height: 640px;
  background: rgba(124, 58, 237, .1);
  top: -180px; right: -120px;
}
.hero__glow--2 {
  width: 520px; height: 520px;
  background: rgba(236, 0, 140, .06);
  bottom: -220px; left: -160px;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  width: min(1280px, 100% - 3rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 3rem;
  position: relative;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--white);
  padding: .5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(20px);
  margin-bottom: 1.6rem;
}
.hero__badge svg { color: var(--magenta); }
.hero__sub {
  font-size: 1.15rem;
  margin: 1.4rem 0 2.3rem;
  max-width: 54ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }

.hero__callback { margin-bottom: 2.2rem; max-width: 520px; width: 100%; }
.hero__callback-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .5rem .45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(9, 10, 19, .55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.hero__callback-row:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .22);
}
.hero__callback-row > svg { color: var(--magenta); flex-shrink: 0; }
.hero__callback-row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .55rem .35rem;
}
.hero__callback-row input::placeholder { color: #8b94a7; }
.hero__callback-row .btn { flex-shrink: 0; padding: .7rem 1.4rem; font-size: .88rem; }
.hero__callback-note {
  font-size: .74rem;
  color: var(--muted);
  margin-top: .6rem;
  padding-left: 1.1rem;
}
.hero__callback-note a { color: var(--text); text-decoration: underline; }
.hero__callback-note a:hover { color: var(--white); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 2rem;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  color: var(--text);
}
.hero__trust svg { color: var(--purple); flex-shrink: 0; }
.stars { color: #FBBF24; letter-spacing: .12em; font-size: .95rem; }

.hero__visual { display: grid; place-items: center; position: relative; }
.hero__converter {
  position: relative;
  width: min(440px, 84%);
  aspect-ratio: 1;
  filter: drop-shadow(0 30px 90px rgba(124, 58, 237, .35));
}
.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, .35), 0 40px 120px rgba(9, 10, 19, .8);
  -webkit-mask-image: radial-gradient(circle, #000 62%, rgba(0,0,0,.92) 78%, rgba(0,0,0,.55) 100%);
  mask-image: radial-gradient(circle, #000 62%, rgba(0,0,0,.92) 78%, rgba(0,0,0,.55) 100%);
}
.converter-svg { width: 100%; height: 100%; }
.converter-blades { transform-origin: 260px 260px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__converter-ring {
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  border: 1px solid rgba(236, 0, 140, .18);
  animation: pulseRing 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: .5; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 999px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}
.hero__scroll span {
  width: 3px; height: 9px;
  border-radius: 3px;
  background: var(--grad);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Statystyki ---------- */
.stats {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  padding: 3.6rem 0;
}
.stats__label {
  text-align: center;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .74rem;
  color: var(--muted);
  margin-bottom: 2.4rem;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat__num, .stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat p { margin-top: .35rem; font-size: .9rem; color: var(--muted); margin-inline: auto; }

/* ---------- Karty ---------- */
.cards-grid { display: grid; gap: 1.4rem; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.8rem 1.6rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 58, 237, .12), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, .4);
  box-shadow: var(--shadow-glow);
}
.card:hover::before { opacity: 1; }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, .12);
  border: 1px solid rgba(124, 58, 237, .3);
  color: #a78bfa;
  margin-bottom: 1.2rem;
  transition: transform .25s ease, color .25s ease;
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { transform: scale(1.08) rotate(-4deg); color: var(--magenta); }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .93rem; color: var(--muted); }

/* Wędrujące światło wokół ramek kafelków usług */
@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.card--service::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1.5px;
  background: conic-gradient(
    from var(--spin),
    transparent 0deg,
    transparent 265deg,
    rgba(124, 58, 237, .75) 310deg,
    rgba(236, 0, 140, .9) 340deg,
    rgba(248, 250, 252, .85) 352deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: cardBorderSpin 11s linear infinite;
  pointer-events: none;
}
@keyframes cardBorderSpin { to { --spin: 360deg; } }
.card--service:nth-child(2)::after { animation-delay: -1.8s; }
.card--service:nth-child(3)::after { animation-delay: -3.6s; }
.card--service:nth-child(4)::after { animation-delay: -5.4s; }
.card--service:nth-child(5)::after { animation-delay: -7.2s; }
.card--service:nth-child(6)::after { animation-delay: -9s; }

/* Pływająca ikona WhatsApp (kolory strony) */
.whatsapp-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.4rem;
  z-index: 95;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(124, 58, 237, .45), rgba(236, 0, 140, .4)),
    rgba(17, 19, 33, .7);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 10px 34px rgba(9, 10, 19, .5),
    0 4px 22px rgba(236, 0, 140, .22);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(236, 0, 140, .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 16px 44px rgba(9, 10, 19, .6),
    0 6px 30px rgba(236, 0, 140, .35);
}

/* Płynne wyłanianie tekstów sterowane scrollem (w obie strony) */
.scroll-fade {
  opacity: .12;
  will-change: opacity;
}

/* ---------- Zdjęcia-banery (editorial) ---------- */
.img-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 90px rgba(9, 10, 19, .6), 0 10px 40px rgba(124, 58, 237, .18);
  margin: 0 0 3rem;
}
.img-banner img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(.16, 1, .3, 1);
}
.img-banner:hover img { transform: scale(1.06); }
.img-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 10, 19, .82));
  pointer-events: none;
}
.img-banner figcaption {
  position: absolute;
  left: 1.6rem;
  bottom: 1.3rem;
  right: 1.6rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .8rem;
}
.img-banner figcaption::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--grad);
  flex-shrink: 0;
}
.img-banner--below { margin: 3rem 0 0; }

/* ---------- Proces ---------- */
/* Sekcja jest zwykła i statyczna, jak pozostałe. Animuje się tylko sekwencja
   klatek konwertera po prawej — nic się nie przypina do ekranu. */
.process { position: relative; background: var(--bg-2); }
.process__pin {
  padding: clamp(3.5rem, 8vh, 6rem) 0;
}
.process__layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 3rem;
  align-items: center;
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}
/* Wszystkie kroki widoczne naraz, w siatce pod nagłówkiem i grafiką */
.process__steps {
  width: min(1200px, 100% - 3rem);
  margin: clamp(2.5rem, 5vh, 3.5rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.5rem;
}
.process__step {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.process__num {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .24em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: .7rem;
}
.process__step h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.process__step p { font-size: .98rem; }

/* Pasek postępu mierzył przewijanie przypiętej sekcji — bez przypinania nie ma
   czego pokazywać. */
.process__progress { display: none; }
.process__visual { display: grid; place-items: center; }
.process__stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 1280 / 610;
}
.process__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  /* czerń klatki znika w ciemnym tle sekcji */
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 76% 82% at 50% 50%, #000 48%, transparent 88%);
  mask-image: radial-gradient(ellipse 76% 82% at 50% 50%, #000 48%, transparent 88%);
  will-change: opacity, transform;
}
.process__img--exploded { opacity: 0; }
.process__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 76% 82% at 50% 50%, #000 48%, transparent 88%);
  mask-image: radial-gradient(ellipse 76% 82% at 50% 50%, #000 48%, transparent 88%);
  opacity: 0;
  transition: opacity .4s ease;
}
.process__canvas.is-ready { opacity: 1; }
.process__stage-label {
  position: absolute;
  left: 50%;
  bottom: -.4rem;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: .7rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.process__stage-label::before,
.process__stage-label::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--grad);
}

/* ---------- B2B ---------- */
.b2b {
  position: relative;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(124, 58, 237, .16), transparent 65%),
    radial-gradient(700px 420px at 8% 90%, rgba(236, 0, 140, .1), transparent 60%),
    var(--bg);
  overflow: hidden;
  border-block: 1px solid var(--border);
}
.b2b::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/car-night.jpg") center / cover no-repeat;
  opacity: .16;
  pointer-events: none;
}
.b2b::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 10, 19, .92) 0%, rgba(9, 10, 19, .55) 60%, rgba(9, 10, 19, .8) 100%);
  pointer-events: none;
}
.b2b .container { position: relative; z-index: 1; }
.b2b__layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3.5rem;
  align-items: center;
}
.b2b__list { list-style: none; margin: 2.4rem 0 2.6rem; display: grid; gap: 1.25rem; }
.b2b__list li { display: flex; gap: 1rem; align-items: flex-start; }
.b2b__list svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
  margin-top: .2rem;
  color: var(--magenta);
  background: rgba(236, 0, 140, .12);
  border: 1px solid rgba(236, 0, 140, .3);
  border-radius: 50%;
  padding: 4px;
}
.b2b__list strong { color: var(--white); display: block; font-family: var(--font-head); font-size: 1.02rem; }
.b2b__list span { font-size: .92rem; color: var(--muted); }

.b2b__panel { display: grid; place-items: center; }
.b2b__panel-card {
  width: 100%;
  max-width: 380px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  padding: 2.6rem 2.2rem;
  text-align: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.b2b__panel-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,.6), transparent 40%, transparent 60%, rgba(236,0,140,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.b2b__panel-num {
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.b2b__panel-num em { font-style: normal; font-size: 2.2rem; }
.b2b__panel-card > p { margin: 1rem auto 2rem; font-size: .95rem; }
.b2b__panel-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}
.b2b__panel-row strong { display: block; color: var(--white); font-family: var(--font-head); font-size: 1.25rem; }
.b2b__panel-row span { font-size: .78rem; color: var(--muted); }

/* ---------- Opinie ---------- */
.card--testimonial { display: flex; flex-direction: column; gap: 1.1rem; }
.card--testimonial blockquote {
  font-size: .97rem;
  color: var(--text);
  flex-grow: 1;
}
.card--testimonial footer { display: flex; align-items: center; gap: .9rem; }
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.card--testimonial strong { color: var(--white); display: block; font-family: var(--font-head); }
.card--testimonial footer span:not(.avatar) { font-size: .84rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; margin-top: 2.6rem; }
.faq__item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: border-color .25s ease;
  overflow: hidden;
}
.faq__item[open] { border-color: rgba(124, 58, 237, .45); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--white);
  font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__chevron {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: relative;
  flex-shrink: 0;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.faq__chevron::before, .faq__chevron::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.6px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform .3s ease;
}
.faq__chevron::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__chevron {
  background: var(--grad);
  border-color: transparent;
  transform: rotate(45deg);
}
.faq__body { padding: 0 1.5rem 1.4rem; }
.faq__body p { font-size: .95rem; color: var(--muted); }

/* ---------- Kontakt ---------- */
.contact {
  position: relative;
  padding: clamp(5rem, 9vw, 8.5rem) 0;
  background: var(--bg-2);
  overflow: hidden;
}
.contact__glow {
  position: absolute;
  width: 800px; height: 500px;
  background: rgba(124, 58, 237, .12);
  filter: blur(140px);
  border-radius: 50%;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.contact__layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: start;
}
.contact__info { display: grid; gap: 1rem; }
.contact__card {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  padding: 1.15rem 1.3rem;
  transition: transform .25s ease, border-color .25s ease;
}
.contact__card:hover { transform: translateX(6px); border-color: rgba(236, 0, 140, .45); }
.contact__card .card__icon { margin-bottom: 0; width: 46px; height: 46px; flex-shrink: 0; }
.contact__card .card__icon svg { width: 22px; height: 22px; }
.contact__card strong { color: var(--white); font-family: var(--font-head); display: block; font-size: .95rem; }
.contact__card span { font-size: .92rem; color: var(--text); display: block; }
.contact__card em { font-style: normal; font-size: .78rem; color: var(--muted); }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 240px;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(200deg) saturate(.75) brightness(.9);
}

.contact__form {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  padding: 2.4rem;
  box-shadow: var(--shadow-glow);
}
.contact__form h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.contact__form-sub { font-size: .92rem; color: var(--muted); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: .45rem;
}
.form-field label span { color: var(--magenta); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(9, 10, 19, .6);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .8rem 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #5b6478; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .22);
}
.form-consent {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .8rem;
  color: var(--muted);
  margin: .4rem 0 1.5rem;
  cursor: pointer;
}
.form-consent input { margin-top: .25rem; accent-color: var(--purple); width: 16px; height: 16px; flex-shrink: 0; }
.form-consent a { color: var(--text); text-decoration: underline; }
.form-consent a:hover { color: var(--white); }
.contact__form-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* ---------- Stopka ---------- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer__tagline {
  font-family: var(--font-head);
  color: var(--magenta);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 1.2rem 0 .9rem;
}
.footer__desc { font-size: .9rem; color: var(--muted); max-width: 40ch; margin-top: 1.2rem; }
.footer__col h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  margin-bottom: 1.2rem;
  color: var(--white);
}
.footer__col a, .footer__col p {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  padding: .32rem 0;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: var(--muted);
}
.footer__legal { display: flex; gap: 1.6rem; }
.footer__legal a { color: var(--muted); transition: color .2s ease; }
.footer__legal a:hover { color: var(--white); }

/* ---------- Mobilny pasek CTA ---------- */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  gap: .8rem;
  padding: .8rem 1rem calc(.8rem + env(safe-area-inset-bottom));
  background: rgba(9, 10, 19, .9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-cta .btn { flex: 1; }

/* ---------- Popup ---------- */
.popup { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 1.5rem; }
.popup[hidden] { display: none; }
.popup__backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 5, 12, .72);
  backdrop-filter: blur(8px);
}
.popup__card {
  position: relative;
  width: min(440px, 100%);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.6rem 2.2rem 2.2rem;
  box-shadow: 0 30px 100px rgba(124, 58, 237, .35);
  animation: popupIn .35s cubic-bezier(.21, 1.02, .73, 1);
  text-align: center;
}
@keyframes popupIn {
  from { transform: translateY(26px) scale(.96); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.popup__close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: .4rem;
  transition: color .2s ease, transform .2s ease;
}
.popup__close:hover { color: var(--white); transform: rotate(90deg); }
.popup__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.3rem;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 34px rgba(236, 0, 140, .4);
}
.popup__card h3 { font-size: 1.55rem; margin-bottom: .7rem; }
.popup__card > p { font-size: .92rem; color: var(--muted); margin: 0 auto 1.6rem; }
.popup__card form { text-align: left; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 150;
  width: min(420px, calc(100% - 2.4rem));
  background: rgba(17, 19, 33, .92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  animation: popupIn .4s ease;
}
.cookies[hidden] { display: none; }
.cookies__text strong { color: var(--white); font-family: var(--font-head); display: block; margin-bottom: .35rem; }
.cookies__text p { font-size: .82rem; color: var(--muted); }
.cookies__text a { text-decoration: underline; }
.cookies__actions { display: flex; gap: .7rem; margin-top: 1.1rem; }
.cookies__actions .btn { flex: 1; }

/* ---------- Animacje reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__converter { width: min(300px, 66%); }
  .hero { padding-top: calc(var(--nav-h) + 2.5rem); }
  .process__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .process__visual { order: -1; }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .exploded-svg { max-width: 460px; }
  .b2b__layout { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav__phone span { display: none; }
  .nav__actions .btn { display: none; }
  .cards-grid--4, .cards-grid--3 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form { padding: 1.6rem 1.3rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
  .cookies { left: .8rem; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .whatsapp-fab { width: 50px; height: 50px; right: .9rem; bottom: calc(86px + env(safe-area-inset-bottom)); }
  .whatsapp-fab svg { width: 23px; height: 23px; }
  .hero__scroll { display: none; }
  .btn--lg { width: 100%; }
  .hero__cta { width: 100%; }
  .hero__callback-row { flex-wrap: wrap; padding: .6rem; }
  .hero__callback-row > svg { display: none; }
  .hero__callback-row input { width: 100%; flex-basis: 100%; text-align: center; }
  .hero__callback-row .btn { width: 100%; }
  .hero__callback-note { padding-left: 0; text-align: center; }
  .process__step h3 { font-size: 1.2rem; }
  .process__steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .process__stage-label { display: none; }
}
