/* ============================================
   KANCELARIA SZYMAŃSCY — Modern, Bold, Living
   Animated mesh, glass, glow, motion
   ============================================ */

:root {
  /* Core palette — bold but human */
  --c-ink: #0a0e27;            /* deep navy almost black */
  --c-ink-2: #131938;
  --c-paper: #fafbff;
  --c-paper-2: #f0f3ff;
  --c-text: #0a0e27;
  --c-text-soft: #4a5378;
  --c-text-mute: #8089a8;
  --c-border: rgba(10, 14, 39, 0.08);
  --c-border-strong: rgba(10, 14, 39, 0.14);

  /* Brand gradient stops */
  --c-blue: #4f6cff;
  --c-violet: #8b5cf6;
  --c-pink: #ec4899;
  --c-emerald: #10b981;
  --c-cyan: #06b6d4;
  --c-amber: #f59e0b;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #4f6cff 0%, #8b5cf6 50%, #ec4899 100%);
  --grad-emerald: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --grad-amber: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  --grad-text: linear-gradient(120deg, #4f6cff 0%, #8b5cf6 50%, #ec4899 100%);
  --grad-dark: linear-gradient(135deg, #0a0e27 0%, #1e2547 50%, #2d1b69 100%);

  /* Glass */
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --glass-dark: rgba(10, 14, 39, 0.5);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 14, 39, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 14, 39, 0.08);
  --shadow-lg: 0 24px 60px rgba(79, 108, 255, 0.18);
  --shadow-xl: 0 30px 80px rgba(139, 92, 246, 0.25);
  --shadow-glow-blue: 0 0 60px rgba(79, 108, 255, 0.4);
  --shadow-glow-pink: 0 0 60px rgba(236, 72, 153, 0.4);

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --container: 1240px;
  --container-narrow: 920px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--c-blue); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--c-violet); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  color: var(--c-text);
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 0.6em; font-weight: 800; }
h3 { font-size: 1.35rem; margin-bottom: 0.5em; font-weight: 700; }
p { margin-bottom: 1em; color: var(--c-text-soft); }
p strong { color: var(--c-text); font-weight: 600; }

.gradient-text {
  background: var(--grad-text);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shift 6s ease-in-out infinite;
}
@keyframes shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 28px; }

/* ============================================
   ANIMATED BACKGROUND BLOBS / MESH
   ============================================ */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 22s ease-in-out infinite;
  will-change: transform;
}
.blob-1 {
  width: 540px; height: 540px;
  background: var(--c-blue);
  top: -120px; left: -120px;
  animation-delay: 0s;
}
.blob-2 {
  width: 480px; height: 480px;
  background: var(--c-violet);
  top: 30%; right: -160px;
  animation-delay: -7s;
  opacity: 0.4;
}
.blob-3 {
  width: 420px; height: 420px;
  background: var(--c-emerald);
  bottom: 10%; left: 30%;
  animation-delay: -14s;
  opacity: 0.3;
}
.blob-4 {
  width: 380px; height: 380px;
  background: var(--c-pink);
  top: 60%; left: -120px;
  animation-delay: -3s;
  opacity: 0.35;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.08); }
  66% { transform: translate(-50px, 50px) scale(0.94); }
}

/* Subtle grid overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 14, 39, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 39, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* ============================================
   HEADER / NAV  (glassmorphism)
   ============================================ */
.header {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 16px 24px 0;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(10, 14, 39, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--c-ink); }
.logo-mark {
  position: relative;
  width: 40px; height: 40px;
  background: var(--grad-hero);
  border-radius: 12px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.05em;
  box-shadow: 0 6px 20px rgba(79, 108, 255, 0.35);
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 10px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.2));
  pointer-events: none;
}
.logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--c-text-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--c-text);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.94rem;
  transition: all 0.18s ease;
}
.nav-links a:hover { background: rgba(79, 108, 255, 0.08); color: var(--c-blue); }
.nav-links a.active { color: var(--c-blue); background: rgba(79, 108, 255, 0.1); }

.nav-cta {
  background: var(--c-ink) !important;
  color: #fff !important;
  padding: 11px 22px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  position: relative;
  overflow: hidden;
}
.nav-cta:hover { background: var(--c-blue) !important; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--c-ink);
  padding: 4px 8px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--grad-hero);
  background-size: 200% 200%;
  color: #fff !important;
  box-shadow: var(--shadow-lg);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background-position: 100% 100%;
  color: #fff !important;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: rgba(10, 14, 39, 0.04);
  color: var(--c-ink);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(10, 14, 39, 0.08);
  color: var(--c-ink);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--c-ink);
  color: #fff !important;
}
.btn-dark:hover {
  background: var(--c-blue);
  color: #fff !important;
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

.btn-arrow::after {
  content: '→';
  font-size: 1.15em;
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 70px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--c-ink);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--c-emerald);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.05); }
}

.hero h1 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  margin-bottom: 24px;
  line-height: 1.02;
}

.hero-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--c-text-soft);
  margin-bottom: 36px;
  line-height: 1.55;
  max-width: 540px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hero-trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-trust-item span {
  font-size: 0.88rem;
  color: var(--c-text-mute);
}

/* Hero visual — animated SVG illustration card */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.hero-card {
  position: relative;
  background: var(--glass-strong);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  transform: rotate(-1.5deg);
  animation: tilt 8s ease-in-out infinite;
}
@keyframes tilt {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(0.5deg) translateY(-12px); }
}
.hero-card-illustration {
  background: var(--grad-hero);
  border-radius: var(--r-md);
  padding: 28px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.hero-card-illustration svg { width: 100%; height: auto; max-height: 180px; }
.hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--c-ink);
}
.hero-checklist { list-style: none; }
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.92rem;
  color: var(--c-text);
  font-weight: 500;
  border-bottom: 1px dashed var(--c-border);
}
.hero-checklist li:last-child { border: none; }
.hero-checklist .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--grad-emerald);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Floating mini-card */
.hero-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  animation: floaty 5s ease-in-out infinite;
  z-index: 2;
}
.hero-badge-1 {
  top: -16px; left: -28px;
  animation-delay: -1s;
}
.hero-badge-2 {
  bottom: 30px; right: -30px;
  animation-delay: -3s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-badge-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1rem;
}
.hero-badge-1 .hero-badge-icon { background: var(--grad-emerald); color: #fff; }
.hero-badge-2 .hero-badge-icon { background: var(--grad-amber); color: #fff; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 110px 0; position: relative; }
.section-tight { padding: 70px 0; }

.section-soft {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79, 108, 255, 0.06), transparent 70%),
    var(--c-paper);
}
.section-dark {
  background: var(--grad-dark);
  color: #fff;
  overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.7); }

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(79, 108, 255, 0.1);
  color: var(--c-blue);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-dark .section-eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.section-head p { font-size: 1.12rem; }

/* ============================================
   FEATURE CARDS — bold, glassy, gradient borders
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  border: 1px solid var(--c-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-hero);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(79, 108, 255, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }
.feature-card:hover .feature-card-icon {
  transform: scale(1.08) rotate(-4deg);
}

.feature-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid; place-items: center;
  margin-bottom: 22px;
  background: var(--grad-hero);
  color: #fff;
  box-shadow: 0 10px 30px rgba(79, 108, 255, 0.35);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}
.feature-card-icon.green { background: var(--grad-emerald); box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35); }
.feature-card-icon.amber { background: var(--grad-amber); box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35); }
.feature-card-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.feature-card p {
  font-size: 0.97rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}
.feature-card-link {
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.feature-card-link::after {
  content: '→';
  transition: transform 0.2s ease;
}
.feature-card-link:hover::after { transform: translateX(4px); }

/* ============================================
   "Czego ludzie nie wiedzą" — alert / fact blocks
   ============================================ */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.fact-block {
  position: relative;
  background: linear-gradient(135deg, #fff8eb 0%, #ffffff 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fact-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 100%;
  background: var(--grad-amber);
}
.fact-block::after {
  content: '!';
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 800;
  color: rgba(245, 158, 11, 0.18);
  display: grid; place-items: center;
  padding-bottom: 20px;
}
.fact-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fact-block-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.fact-block h3 { color: #7c2d12; font-size: 1.18rem; margin-bottom: 10px; position: relative; z-index: 1; }
.fact-block p { color: #422006; margin-bottom: 0; font-size: 0.98rem; position: relative; z-index: 1; }

/* ============================================
   PROCESS STEPS — numbered, gradient connectors
   ============================================ */
.steps-wrap { position: relative; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 26px 26px;
  position: relative;
  border: 1px solid var(--c-border);
  transition: all 0.25s ease;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.step-num {
  position: absolute;
  top: -22px; left: 24px;
  width: 44px; height: 44px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(79, 108, 255, 0.35);
}
.step h3 { font-size: 1.08rem; margin-top: 14px; margin-bottom: 8px; }
.step p { font-size: 0.93rem; margin-bottom: 0; }

/* ============================================
   PARTNERS MARQUEE
   ============================================ */
.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  gap: 16px;
  animation: marquee 40s linear infinite;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.partner-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 14px 24px;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.partner-pill .dot {
  width: 6px; height: 6px;
  background: var(--c-emerald);
  border-radius: 50%;
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  position: relative;
  background: var(--grad-dark);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  border-radius: var(--r-xl);
  margin: 80px 28px;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(79, 108, 255, 0.4), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2), transparent 50%);
  filter: blur(20px);
}
.cta-band-content { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; font-size: clamp(2rem, 4.5vw, 3.4rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; margin-bottom: 36px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--c-ink) !important;
  background-image: none;
}
.cta-band .btn-primary:hover { background: var(--c-paper); transform: translateY(-2px); color: var(--c-ink) !important; }
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ============================================
   FORM
   ============================================ */
.form-block {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.7);
  color: var(--c-text);
  transition: all 0.18s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79, 108, 255, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-rodo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.84rem;
  color: var(--c-text-soft);
  margin-top: 8px;
  margin-bottom: 22px;
  line-height: 1.5;
}
.form-rodo input { margin-top: 4px; flex-shrink: 0; width: auto; }

/* ============================================
   FOOTER — dark, glowing
   ============================================ */
.footer {
  background: var(--c-ink);
  color: #94a3b8;
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(79, 108, 255, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
  position: relative;
}
.footer h4 {
  color: #fff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.footer p { color: #94a3b8; font-size: 0.93rem; margin-bottom: 12px; }
.footer a { color: #cbd5e1; font-size: 0.93rem; transition: color 0.18s; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer-logo .logo { color: #fff; font-size: 1.15rem; }
.footer-logo .logo-sub { color: #64748b; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #64748b;
  position: relative;
}

/* ============================================
   PAGE HEADER (subpages)
   ============================================ */
.page-header {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
}
.page-header-content { max-width: 820px; position: relative; z-index: 1; }
.page-header .breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--c-text-soft);
  margin-bottom: 22px;
}
.page-header .breadcrumb a { color: var(--c-blue); font-weight: 500; }
.page-header h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.page-header p {
  font-size: 1.18rem;
  color: var(--c-text-soft);
  max-width: 700px;
}

/* ============================================
   CONTENT BLOCKS (split rows)
   ============================================ */
.content-block { padding: 80px 0; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.content-grid.reverse > div:first-child { order: 2; }
.content-grid h2 { margin-bottom: 18px; }
.content-grid > div > p { font-size: 1.05rem; }
.content-list {
  list-style: none;
  margin: 22px 0;
}
.content-list li {
  position: relative;
  padding: 12px 0 12px 36px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  font-size: 1rem;
}
.content-list li:last-child { border: none; }
.content-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 22px; height: 22px;
  background: var(--grad-emerald);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.content-list li::after {
  content: '✓';
  position: absolute;
  left: 0; top: 16px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
}

/* ============================================
   ILLUSTRATION / VISUAL CARDS for split rows
   ============================================ */
.viz {
  position: relative;
  background: var(--grad-hero);
  border-radius: var(--r-xl);
  padding: 50px;
  color: #fff;
  min-height: 380px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.viz.amber { background: var(--grad-amber); }
.viz.emerald { background: var(--grad-emerald); }
.viz.dark { background: var(--grad-dark); }
.viz::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1), transparent 50%);
  pointer-events: none;
}
.viz-content { position: relative; z-index: 1; }
.viz svg { width: 100%; height: auto; max-height: 280px; }

/* ============================================
   VIZ — premium abstract / data-style cards
   (replaces cartoonish SVG illustrations)
   ============================================ */
.viz-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 1;
}
.viz-stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.viz-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 12px;
  display: block;
}
.viz-stat-num small {
  font-size: 0.45em;
  font-weight: 600;
  opacity: 0.75;
  margin-left: 4px;
  letter-spacing: 0;
}
.viz-stat-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
  max-width: 90%;
}

.viz-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.viz-pill {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}
.viz-pill.solid {
  background: #fff;
  color: var(--c-ink);
  border-color: #fff;
}

.viz-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}
.viz-tile {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.viz-tile-ico {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--c-ink);
}
.viz-tile-ico svg { width: 20px; height: 20px; max-height: 20px; }
.viz-tile-text { color: #fff; }
.viz-tile-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.viz-tile-text span {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Mini chart container for utrata/wartosc */
.viz-chart {
  position: relative;
  z-index: 1;
}
.viz-chart-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
}
.viz-chart-row strong {
  flex-shrink: 0;
  font-family: var(--font-display);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  width: 88px;
  letter-spacing: -0.02em;
}
.viz-chart-bar {
  flex: 1;
  height: 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.viz-chart-bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #fff;
  position: relative;
}
.viz-chart-bar.before > span { background: rgba(255,255,255,0.5); }
.viz-chart-bar.after > span { background: linear-gradient(90deg, #fff, #fbbf24); box-shadow: 0 0 20px rgba(255,255,255,0.5); }
.viz-chart-row span.value {
  flex-shrink: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  width: 80px;
  text-align: right;
}

/* List with checks for viz */
.viz-list {
  list-style: none;
  position: relative;
  z-index: 1;
  margin-top: 22px;
}
.viz-list li {
  padding: 12px 0;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.viz-list li:last-child { border: none; }
.viz-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: #fff;
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0e27' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Dramatic noise/grain overlay for premium feel */
.viz::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='3'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.18 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
  border-radius: inherit;
}
.viz > * { position: relative; z-index: 2; }

/* ============================================
   PREMIUM MOTION — additions
   ============================================ */

/* HERO mesh — stronger animated gradient, slow drift */
.hero {
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(79, 108, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(236, 72, 153, 0.14), transparent 55%),
    radial-gradient(800px 500px at 50% 100%, rgba(16, 185, 129, 0.12), transparent 60%),
    var(--c-paper);
  background-size: 200% 200%;
  animation: heroDrift 18s ease-in-out infinite;
}
@keyframes heroDrift {
  0%, 100% { background-position: 0% 0%, 100% 0%, 50% 100%; }
  50% { background-position: 30% 20%, 70% 40%, 30% 70%; }
}

/* CTA band — animated gradient */
.cta-band {
  background:
    linear-gradient(120deg, #4f6cff 0%, #8b5cf6 35%, #ec4899 70%, #4f6cff 100%);
  background-size: 300% 300%;
  animation: ctaShift 14s ease-in-out infinite;
}
@keyframes ctaShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Shield pulse glow inside hero card */
.hero-card-illustration { position: relative; }
.hero-card-illustration::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 65%);
  transform: translate(-50%, -50%);
  filter: blur(40px);
  animation: shieldPulse 3.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shieldPulse {
  0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(0.85); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.1); }
}

/* Magnet / lift hover for primary CTA buttons */
.btn-primary {
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.4),
              box-shadow 0.3s ease,
              background-position 0.4s ease;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad-hero);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: inherit;
}
.btn-primary:hover::after { opacity: 0.6; }

/* Feature cards — premium tilt + glow border */
.feature-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.feature-card:hover {
  transform: translateY(-8px) rotateX(2deg) rotateY(-2deg);
}
.feature-card .feature-card-icon svg path,
.feature-card .feature-card-icon svg line,
.feature-card .feature-card-icon svg polyline,
.feature-card .feature-card-icon svg circle,
.feature-card .feature-card-icon svg rect {
  stroke-dasharray: 60;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.6s ease;
}
.feature-card:hover .feature-card-icon svg path,
.feature-card:hover .feature-card-icon svg line,
.feature-card:hover .feature-card-icon svg polyline,
.feature-card:hover .feature-card-icon svg circle,
.feature-card:hover .feature-card-icon svg rect {
  animation: drawStroke 0.8s ease forwards;
}
@keyframes drawStroke {
  0% { stroke-dashoffset: 60; }
  100% { stroke-dashoffset: 0; }
}

/* Card ripple effect (added by JS) */
.feature-card .ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 108, 255, 0.35), transparent 60%);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: rippleOut 0.7s ease-out;
}
@keyframes rippleOut {
  to { transform: translate(-50%, -50%) scale(6); opacity: 0; }
}

/* ============================================
   STEPS — animated timeline
   ============================================ */
.steps-wrap { position: relative; padding-top: 28px; }
.steps-line {
  position: absolute;
  top: 24px;
  left: 8%; right: 8%;
  height: 3px;
  background: var(--c-border);
  border-radius: 99px;
  z-index: 0;
  overflow: hidden;
}
.steps-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  background-size: 200% 100%;
  animation: shimmerLine 6s ease-in-out infinite;
  transform: scaleX(var(--draw, 0));
  transform-origin: left center;
  transition: transform 1.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@keyframes shimmerLine {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
}
.js .steps-wrap.in .steps-line { --draw: 1; }
.steps-wrap.in .steps-line { --draw: 1; }

.step { position: relative; z-index: 1; }
.step-num {
  animation: numPulse 2.6s ease-in-out infinite;
  animation-delay: var(--num-delay, 0s);
}
@keyframes numPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(79, 108, 255, 0.35), 0 0 0 0 rgba(79, 108, 255, 0.4); }
  50% { box-shadow: 0 10px 24px rgba(79, 108, 255, 0.45), 0 0 0 14px rgba(79, 108, 255, 0); }
}

/* ============================================
   STAT BLOCKS — count-up + glow
   ============================================ */
.viz-stat-num {
  position: relative;
  display: inline-block;
}
.viz-stat-num::after {
  content: '';
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.5), transparent 60%);
  filter: blur(20px);
  z-index: -1;
  animation: numGlow 4s ease-in-out infinite;
}
@keyframes numGlow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.85; }
}

/* "5x" / huge stat dramatic style */
.viz-stat-num.huge {
  font-size: clamp(5rem, 12vw, 9rem);
  letter-spacing: -0.06em;
  line-height: 0.85;
}

/* Animated chart bar progressive fill */
.viz-chart-bar > span {
  width: 0 !important;
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.viz-chart.in .viz-chart-bar > span {
  width: var(--w, 100%) !important;
}

/* Warning shimmer on "30-60%" */
.viz.warn-flash::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,180,80,0.15) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: warnShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
@keyframes warnShimmer {
  0%, 100% { background-position: 200% 0%; }
  50% { background-position: -200% 0%; }
}

/* ============================================
   STORY ANIMATION — 4 frames: crash → tow → new car → happy driver
   ============================================ */
.story {
  position: relative;
  background: linear-gradient(135deg, #0a0e27 0%, #1e2547 50%, #2d1b69 100%);
  border-radius: var(--r-xl);
  padding: 48px 40px;
  overflow: hidden;
  margin-top: 20px;
  min-height: 320px;
}
.story::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(79, 108, 255, 0.4), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.3), transparent 40%);
  filter: blur(20px);
  pointer-events: none;
}
.story-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 28px;
}
.story-header h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.story-header p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-size: 0.95rem;
}
.story-stage {
  position: relative;
  z-index: 2;
  height: 200px;
  width: 100%;
}
.story-stage svg { width: 100%; height: 100%; display: block; }
.story-frames {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.story-frame {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  padding: 14px;
  text-align: center;
  transition: all 0.3s ease;
}
.story-frame.active {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-4px);
}
.story-frame .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 26px; height: 26px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 8px;
}
.story-frame strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.story-frame span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* Map pins / network */
.map-link-line {
  stroke-dasharray: 6 8;
  animation: dashFlow 2.5s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -28; }
}

/* Subtle grain (CSS only) for warning/dramatic blocks */
.viz.dark::after {
  opacity: 0.6;
  animation: grainShift 8s steps(8) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-1%, 1%); }
  40% { transform: translate(1%, -1%); }
  60% { transform: translate(-1%, -1%); }
  80% { transform: translate(1%, 1%); }
  100% { transform: translate(0, 0); }
}

/* Hero card parallax target */
.hero-card { transform-origin: center; transition: transform 0.18s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .hero, .cta-band, .viz-stat-num::after, .step-num,
  .hero-card-illustration::before, .viz.warn-flash::before,
  .map-link-line, .viz.dark::after, .feature-card .feature-card-icon svg path { animation: none !important; }
  .feature-card:hover { transform: none !important; }
  .viz-chart-bar > span { transition: none !important; width: var(--w, 100%) !important; }
}

/* ============================================
   SERVICE LIST
   ============================================ */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 22px;
}
.service-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all 0.25s ease;
  overflow: hidden;
}
.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(79, 108, 255, 0.04), rgba(236, 72, 153, 0.03));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-item:hover { transform: translateY(-5px); border-color: transparent; box-shadow: var(--shadow-lg); }
.service-item:hover::before { opacity: 1; }
.service-item h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.service-item h3 .ico {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(79, 108, 255, 0.1);
  color: var(--c-blue);
  border-radius: 12px;
  display: grid; place-items: center;
}
.service-item h3 .ico svg { width: 20px; height: 20px; }
.service-item p { font-size: 0.95rem; margin-bottom: 0; position: relative; z-index: 1; }

/* ============================================
   FAQ
   ============================================ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.2s ease;
}
.faq-item:hover { border-color: var(--c-border-strong); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: transparent; }
.faq-item summary {
  padding: 24px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--c-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  transition: transform 0.25s ease;
  box-shadow: 0 6px 16px rgba(79, 108, 255, 0.25);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item div.faq-body { padding: 0 28px 26px; color: var(--c-text-soft); }
.faq-item div.faq-body p:last-child { margin-bottom: 0; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}
.contact-info { padding: 8px 0; }
.contact-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.contact-card-icon {
  width: 48px; height: 48px;
  background: var(--grad-hero);
  color: #fff;
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(79, 108, 255, 0.3);
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-mute);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-card p, .contact-card a {
  font-size: 1.05rem;
  color: var(--c-ink);
  font-weight: 600;
  margin: 0;
  word-break: break-word;
}
.contact-card a:hover { color: var(--c-blue); }

/* ============================================
   STATS strip (for "o-kancelarii" page)
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-card span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.75); }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   Only hide elements when JS is enabled (html.js).
   Otherwise everything is visible (no JS, no animation).
   ============================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.js .reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.js .reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.js .reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.js .reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.js .reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.js .reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.js .reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }
.js .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
  .hero-card { animation: none; transform: none; }
  .hero-badge { animation: none; }
  .marquee-track { animation: none; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .content-grid.reverse > div:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .header { margin: 12px; padding: 10px 16px; border-radius: 24px; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-toggle { display: block; }

  .hero { padding: 40px 0 60px; }
  .hero-trust { grid-template-columns: 1fr; gap: 18px; padding-top: 24px; margin-top: 32px; }
  .hero-card { padding: 22px; transform: none; animation: none; }
  .hero-badge-1 { left: -10px; top: -10px; padding: 10px 14px; font-size: 0.8rem; }
  .hero-badge-2 { right: -10px; bottom: 20px; padding: 10px 14px; font-size: 0.8rem; }

  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .form-block { padding: 26px 22px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cta-band { margin: 60px 14px; padding: 70px 24px; }
  .viz { padding: 32px; min-height: 280px; }
  .form-block { padding: 24px 20px; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .header, .footer, .cta-band, .bg-mesh, .bg-grid { display: none; }
}
