/* ==========================================================================
   FASSTER – landing page
   Paleta oparta na kolorach z fasster.pl:
   #0056B3 (główny), #004494 (hover), #E6F0FF, #F4F8FC (tła), #333 (tekst)
   ========================================================================== */

:root {
  /* Kolory marki */
  --blue-950: #061B3A;
  --blue-900: #0B2A5B;
  --blue-800: #004494;
  --blue-700: #0056B3;
  --blue-600: #1466C7;
  --blue-500: #2E7BE0;
  --blue-300: #7FB2F0;
  --blue-200: #B9D4F7;
  --blue-100: #E6F0FF;
  --blue-50:  #F4F8FC;

  --ink: #333333;
  --ink-strong: #0F1F3A;
  --muted: #5B6B82;
  --border: #DDE5F0;
  --white: #FFFFFF;

  /* Typografia */
  --font-display: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Kształty i cienie */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 30px rgba(0, 86, 179, 0.10);
  --shadow-lg: 0 30px 60px rgba(6, 27, 58, 0.30);
  --shadow-btn: 0 8px 20px rgba(0, 86, 179, 0.28);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset i podstawy
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-800); }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-strong);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--blue-700);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Sekcje docelowe kotwic – margines pod sticky header */
section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* --------------------------------------------------------------------------
   Elementy wspólne
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-700);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.eyebrow-light { color: var(--blue-300); }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--muted);
  max-width: 44rem;
}

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section-tint { background: var(--blue-50); }
.section-dark {
  position: relative;
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 60%, #063C7E 100%);
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
}
.section-dark h2 { color: #fff; }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head h2 { margin-bottom: 1rem; }

.grid { display: grid; gap: 1.5rem; }
/* Elementy siatek nie mogą wymuszać szerokości większej niż kolumna */
.grid > *, .hero-inner > *, .facts > *, .faq > *, .contact > *, .footer-grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2s infinite;
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
              color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--blue-800); color: #fff; box-shadow: 0 12px 26px rgba(0, 86, 179, 0.35); }

.btn-light {
  background: #fff;
  color: var(--blue-900);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.btn-light:hover { background: var(--blue-100); color: var(--blue-900); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.btn-outline {
  border-color: var(--border);
  background: #fff;
  color: var(--blue-900);
}
.btn-outline:hover { border-color: var(--blue-300); background: var(--blue-100); color: var(--blue-900); }

.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.925rem; }
.btn-block { width: 100%; padding-inline: 1rem; white-space: normal; line-height: 1.3; text-align: center; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Nagłówek
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-strong);
}
.brand-mark { width: 40px; height: 40px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--blue-700);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-list { display: flex; gap: 0.25rem; }
.nav-list a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--ink);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-active {
  background: var(--blue-100);
  color: var(--blue-700);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1rem var(--gutter) 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(6, 27, 58, 0.12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0.15rem; }
  .nav-list a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav-cta { width: 100%; padding: 0.95rem 1.2rem; font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(6rem, 10vw, 8.5rem);
  background: linear-gradient(135deg, var(--blue-950) 0%, var(--blue-900) 45%, var(--blue-700) 100%);
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  right: -240px;
  top: -200px;
  background: radial-gradient(circle, rgba(46, 123, 224, 0.55) 0%, rgba(46, 123, 224, 0) 65%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
}
.hl {
  background: linear-gradient(90deg, var(--blue-300) 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  max-width: 36rem;
  margin-bottom: 2.25rem;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-trust .icon { color: var(--blue-300); }

.eyebrow-light .dot { color: #4ADE80; }

/* Makieta panelu kampanii */
.hero-visual {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  width: 100%;
}
.dash {
  position: relative;
  padding: 1.5rem 1.5rem 1.85rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.dash-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.dash-sub { display: block; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.pill-live { background: rgba(74, 222, 128, 0.15); color: #86EFAC; }

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.kpi {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.kpi-label { font-size: 0.7rem; color: rgba(255, 255, 255, 0.6); }
.kpi-value { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.kpi-delta { font-size: 0.72rem; font-weight: 600; color: #86EFAC; }

.dash-chart { margin-bottom: 1.25rem; }
.bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-items: end;
  height: 120px;
}
.bars span {
  display: block;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--blue-300) 0%, var(--blue-500) 100%);
  opacity: 0.85;
  transform-origin: bottom;
  animation: grow 1s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 40ms);
}
.bars span:nth-child(1) { --d: 1; } .bars span:nth-child(2) { --d: 2; } .bars span:nth-child(3) { --d: 3; }
.bars span:nth-child(4) { --d: 4; } .bars span:nth-child(5) { --d: 5; } .bars span:nth-child(6) { --d: 6; }
.bars span:nth-child(7) { --d: 7; } .bars span:nth-child(8) { --d: 8; } .bars span:nth-child(9) { --d: 9; }
.bars span:nth-child(10) { --d: 10; } .bars span:nth-child(11) { --d: 11; } .bars span:nth-child(12) { --d: 12; }
.bars span.is-hot {
  opacity: 1;
  background: linear-gradient(180deg, #fff 0%, var(--blue-300) 100%);
  box-shadow: 0 0 24px rgba(127, 178, 240, 0.6);
}
.bars-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
}

.dash-rows { display: grid; gap: 0.6rem; }
.dash-rows li {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}
.dash-rows i {
  position: relative;
  display: block;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.dash-rows i::after {
  content: '';
  position: absolute;
  inset: 0;
  width: var(--w);
  border-radius: 6px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
}
.dash-rows b { font-weight: 600; font-variant-numeric: tabular-nums; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink-strong);
  box-shadow: 0 20px 40px rgba(6, 27, 58, 0.35);
  animation: float 6s ease-in-out infinite;
}
.float-card .icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.5rem;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
}
.float-card strong { display: block; font-family: var(--font-display); font-size: 0.95rem; line-height: 1.2; }
.float-card span { display: block; font-size: 0.75rem; color: var(--muted); }
.float-a { top: -2.4rem; left: -1.5rem; }
.float-b { bottom: -2.9rem; right: -1.5rem; animation-delay: -3s; }

@media (max-width: 1023px) {
  .hero { padding-bottom: 7.5rem; }
  .hero-visual { max-width: 520px; padding-inline: 0.5rem; }
  .float-a { left: 0; top: -2.2rem; }
  .float-b { right: 0; bottom: -2.6rem; }
}
@media (max-width: 480px) {
  .dash { padding: 1.1rem; }
  .dash-kpis { gap: 0.5rem; }
  .kpi { padding: 0.65rem 0.6rem; }
  .kpi-value { font-size: 0.92rem; }
  .bars { height: 90px; }
  .float-card { padding: 0.65rem 0.8rem; }
  .float-card .icon { width: 1.9rem; height: 1.9rem; padding: 0.4rem; }
  .float-card strong { font-size: 0.85rem; }
}

/* --------------------------------------------------------------------------
   Pasek statystyk
   -------------------------------------------------------------------------- */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
}
.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.stat {
  padding: 1.6rem 1.5rem;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: 0; }
.stat-value {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue-700);
  line-height: 1;
}
.stat-label { margin: 0; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 768px) {
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 400px) {
  .stat { padding: 1.2rem 1rem; }
}

/* --------------------------------------------------------------------------
   Karty
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-700);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card-icon .icon { width: 24px; height: 24px; }
.card:hover .card-icon { background: var(--blue-700); color: #fff; transform: scale(1.05); }

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.card-num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-100);
  letter-spacing: -0.04em;
}
.card-service { padding-bottom: 2.25rem; }
.card-service p { margin-bottom: 1.25rem; }

.check-list {
  display: grid;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.check-list li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-strong);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--blue-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 60% no-repeat;
}

/* --------------------------------------------------------------------------
   Proces
   -------------------------------------------------------------------------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue-300), var(--blue-200));
}
.step { position: relative; }
.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 0 0 8px var(--blue-50), 0 10px 20px rgba(0, 86, 179, 0.25);
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.step p { color: var(--muted); font-size: 0.97rem; }

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; padding-bottom: 2rem; }
  .step::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 56px;
    bottom: 0;
    width: 2px;
    background: var(--blue-200);
  }
  .step:last-child::before { display: none; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: 1 / span 2; margin-bottom: 0; }
  .step h3 { padding-top: 0.6rem; }
}

.process-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #fff 0%, var(--blue-100) 100%);
  border: 1px solid var(--blue-200);
}
.process-cta h3 { margin-bottom: 0.35rem; }
.process-cta p { color: var(--muted); }
@media (max-width: 720px) {
  .process-cta { flex-direction: column; align-items: flex-start; }
}

/* --------------------------------------------------------------------------
   Dlaczego Allegro Ads (sekcja ciemna)
   -------------------------------------------------------------------------- */
.section-dark::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  left: -200px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(46, 123, 224, 0.45) 0%, rgba(46, 123, 224, 0) 65%);
  pointer-events: none;
}
.facts {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.facts-copy h2 { margin-bottom: 1.25rem; }
.facts-copy p { margin-bottom: 2rem; color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; }

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.fact:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(127, 178, 240, 0.5); transform: translateY(-4px); }
.fact-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}
.fact-text { font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 480px) {
  .facts-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 960px) {
  .faq { grid-template-columns: 0.8fr 1.2fr; gap: 5rem; }
  .faq-head { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.faq-head h2 { margin-bottom: 1rem; }
.faq-head .lead { margin-bottom: 1.75rem; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue-700); }
.faq-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.faq-icon .icon { width: 18px; height: 18px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--blue-700); color: #fff; }
.faq-body { padding-bottom: 1.5rem; }
.faq-body p { color: var(--muted); max-width: 60ch; }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 960px) {
  .contact { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
}
.contact-copy h2 { margin-bottom: 1rem; }
.contact-copy .lead { margin-bottom: 2.25rem; }

.contact-list { display: grid; gap: 1.25rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--blue-700);
  flex-shrink: 0;
}
.contact-icon .icon { width: 22px; height: 22px; }
.contact-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-list a { font-weight: 600; color: var(--blue-700); }
.contact-list span:not(.contact-label) { color: var(--ink-strong); }

.contact-card {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  background: var(--blue-700);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.contact-card-icon .icon { width: 28px; height: 28px; }
.contact-card h3 { margin-bottom: 0.6rem; font-size: 1.5rem; }
.contact-card > p { margin-bottom: 1.75rem; color: var(--muted); }

.contact-email {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  border: 1px solid var(--border);
}
.contact-email .contact-label { margin-bottom: 0.4rem; }
.contact-email-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.contact-email-row a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-700);
  overflow-wrap: anywhere;
}
.copy-btn {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-900);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.copy-btn:hover { border-color: var(--blue-300); background: var(--blue-100); }
.copy-btn.is-copied { border-color: #86EFAC; background: #DCFCE7; color: #15803D; }

.contact-tips {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.contact-tips h4 { margin-bottom: 0.9rem; font-size: 0.95rem; }
.contact-tips .check-list { margin-top: 0; padding-top: 0; border-top: 0; }

/* --------------------------------------------------------------------------
   Stopka
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
}
.footer-brand .brand { margin-bottom: 1.25rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { max-width: 34rem; font-size: 0.95rem; }
.site-footer h4 {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.footer-links { display: grid; gap: 0.6rem; font-size: 0.95rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); transition: color 0.25s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-legal { font-variant-numeric: tabular-nums; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-note { max-width: 42rem; }

/* --------------------------------------------------------------------------
   Animacje
   -------------------------------------------------------------------------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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