/* =========================================================================
   Test Gallupa z omówieniem — Piotr Sarota
   Design system: brand/design-system.md (kanon, Fragment D)
   Wzorzec struktury: mediacje-biznesowe/style.css
   ========================================================================= */

/* ------------------------------- Tokens -------------------------------- */
:root {
  --color-black: #020224;
  --color-navy: #172356;
  --color-action: #E15951;   /* KOLOR AKCJI — wszystkie CTA (coral) */
  --color-action-hover: #F37972; /* hover CTA (coral-light) */
  --color-coral-light: #F37972;
  --color-accent: #5DE4C7;   /* mint — labele, eyebrow, drobne akcenty */
  --color-purple: #7357A5;
  --color-blue: #478FCD;
  --color-light-blue: #A3AFD8;
  --color-near-white: #F7F8FF;

  --text-primary: #FFFFFF;
  --text-secondary: #E5E7EB;
  --text-muted: #9CA3AF;

  --bg-hero: #020224;
  --bg-section: #172356;

  --font-heading: 'Fustat', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-button: 24px;  /* przyciski: pill 24px */
  --radius-card: 8px;     /* karty */
  --radius-image: 8px;    /* obrazy */
  --radius-input: 24px;   /* inputy */
  --radius-pill: 100px;   /* tagi/pattern */

  --shadow-card: 0 4px 24px rgba(2, 2, 36, 0.4);
  --shadow-elevated: 0 2px 12px rgba(2, 2, 36, 0.3);
  --shadow-cta: 0 8px 32px rgba(225, 89, 81, 0.3);

  --maxw: 1144px;
  --maxw-narrow: 780px;
}

/* ------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-hero);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }

/* ------------------------------ Layout --------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 96px 0; overflow: hidden; }
.section--hero {
  background-color: #020224;
  background-image: url("public/images/right-stripes.svg"), url("public/images/left-stripes.svg"), linear-gradient(135deg, #020224 0%, #172356 100%);
  background-repeat: no-repeat;
  background-position: top right, top left, center;
  background-size: auto, auto, cover;
  padding-top: 124px;
}
@media (max-width: 479px) {
  .section--hero { background-image: url("public/images/mobile-stripes.svg"), linear-gradient(135deg, #020224 0%, #172356 100%); background-position: top center, center; background-size: contain, cover; }
}
.section--navy { background: linear-gradient(180deg, #020224 0%, #172356 16%, #172356 100%); }
.section--black { background: linear-gradient(180deg, #172356 0%, #020224 16%, #020224 100%); }
.narrow { max-width: var(--maxw-narrow); margin-left: auto; margin-right: auto; }

/* ---------------------------- Typography ------------------------------- */
h1, h2, h3 { font-family: var(--font-heading); color: var(--text-primary); line-height: 1.15; }
h1 { font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-weight: 700; font-size: clamp(30px, 4vw, 36px); line-height: 1.2; letter-spacing: -0.01em; }
h3 { font-weight: 600; font-size: 24px; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 16px;
}
.lead {
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
}
.body-text { font-size: 17px; line-height: 1.6; color: var(--text-secondary); }
.body-text + .body-text { margin-top: 20px; }

.grad-text {
  background: linear-gradient(90deg, #F37972, #7357A5, #478FCD);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ------------------------------ Buttons -------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: #FFFFFF;
  background: var(--color-action);
  border: none;
  border-radius: var(--radius-button);
  padding: 12px 24px;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-primary:hover {
  background: var(--color-action-hover);
  box-shadow: var(--shadow-cta);
  transform: translateY(-1px);
}
.btn-primary:focus-visible {
  outline: 3px solid var(--color-near-white);
  outline-offset: 3px;
}
.btn-primary svg { width: 18px; height: 18px; flex: none; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px; line-height: 1.2;
  color: var(--color-near-white); background: transparent;
  border: 1.5px solid var(--color-action); border-radius: var(--radius-button);
  padding: 11px 24px; cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn-outline:hover { background: #FFFFFF; color: #020224; box-shadow: var(--shadow-cta); transform: translateY(-1px); }
.btn-outline:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 3px; }
.btn-outline svg { width: 18px; height: 18px; flex: none; }

/* --------------------------- Frosted glass ----------------------------- */
.glass {
  background: rgba(23, 35, 86, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* -------- Brandowy pattern (reużyte assety systemu LP) ------------------ */
.deco { position: absolute; z-index: 0; pointer-events: none; user-select: none; }
.deco-stripes-r { top: -6%; right: -6%; width: min(720px, 62%); height: auto; }
.deco-stripes-l { bottom: -8%; left: -7%; width: min(600px, 52%); height: auto; transform: scaleX(-1); }
.deco-glow { width: 520px; height: auto; opacity: .85; }
.deco-glow--tr { top: -10%; right: 0; }
@media (max-width: 640px) {
  /* pasy dekoracyjne w sekcjach treściowych znikają — nie mogą kolidować z tekstem */
  .deco-stripes-r, .deco-stripes-l { display: none; }
  .deco-glow { width: 340px; opacity: .5; }
}
.section > .container { position: relative; z-index: 1; }

/* ============================ NAVIGATION =============================== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2, 2, 36, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-logo img { height: 30px; width: auto; }
.nav-groups { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a, .nav-links span {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-secondary);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-links .is-active {
  color: var(--text-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}
.nav-sep { width: 1px; height: 20px; background: rgba(255,255,255,0.12); }
.nav-cta { padding: 10px 20px; font-size: 15px; min-height: 44px; }
.burger {
  display: none;
  background: transparent; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
  color: var(--text-primary);
}
.burger svg { width: 24px; height: 24px; }
.burger:focus-visible, .mobile-close:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 2px; border-radius: 6px; }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-hero);
  padding: 24px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .25s ease, visibility .25s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-top { display: flex; align-items: center; justify-content: space-between; height: 48px; }
.mobile-top img { height: 28px; }
.mobile-close { background: transparent; border: none; color: var(--text-primary); cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.mobile-close svg { width: 24px; height: 24px; }
.mobile-links { display: flex; flex-direction: column; gap: 4px; margin-top: 32px; }
.mobile-links a, .mobile-links span {
  font-family: var(--font-heading); font-weight: 600; font-size: 22px;
  color: var(--text-secondary); padding: 12px 0;
}
.mobile-links .is-active { color: var(--color-accent); }
.mobile-menu .btn-primary { margin-top: 24px; align-self: flex-start; }

/* ============================== HERO ================================== */
.hero-content { max-width: 860px; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 24px; }
.hero .hero-sub { max-width: 760px; margin-bottom: 40px; }
.hero-cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* ============================ ROUTING ================================= */
/* Pasek liderów — dyskretnie między ofertą a final CTA (czwarta tura: FAQ
   przeniesione na koniec strony). Oferta (--black) kończy się na #020224,
   final CTA zaczyna od #020224 — pasek na litym #020224, bez cięć. */
.routing { padding: 0 0 28px; background: #020224; }
.routing-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 32px; padding: 22px 32px;
  position: relative; z-index: 2;
  background: rgba(23, 35, 86, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.routing-links { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.routing-links p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.routing-links strong { color: var(--text-primary); }
.routing-links a {
  color: var(--color-accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  display: inline-flex; align-items: center; min-height: 44px;
}
.routing-links a:hover { color: var(--color-near-white); }
.routing-links a:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 860px) {
  .routing-bar { flex-direction: column; align-items: center; padding: 20px 24px; }
  .routing-links a { min-height: 0; padding: 4px 0; }
}

/* ============================= PROBLEM =============================== */
.problem-stripes { top: -8%; right: -9%; width: min(540px, 42%); }
.problem-head { max-width: 780px; margin-bottom: 44px; }
.problem-head h2 { margin-bottom: 0; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px; }
.problem-card { padding: 30px; }
.problem-card h3 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; color: var(--text-primary); }
.problem-card p { font-size: 16px; line-height: 1.62; color: var(--text-secondary); }
@media (max-width: 760px) { .problem-grid { grid-template-columns: 1fr; } }

/* ============================ SOLUTION =============================== */
.solution-stripes { top: -8%; right: -9%; width: min(540px, 42%); }
.solution h2 { margin-bottom: 24px; max-width: 820px; }
.solution-body { max-width: 780px; margin-bottom: 48px; }
.solution-gains-label {
  font-family: var(--font-heading); font-weight: 600; font-size: 20px;
  color: var(--text-primary); margin-bottom: 24px;
}
.solution-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card { padding: 32px 30px; position: relative; }
.solution-card .sc-num {
  position: absolute; top: 28px; right: 30px;
  font-family: var(--font-heading); font-weight: 700; font-size: 26px; line-height: 1; opacity: .55;
}
.solution-card h3 { font-size: 19px; line-height: 1.4; margin-bottom: 12px; padding-right: 44px; color: var(--text-primary); }
.solution-card p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.sc-1 { background: rgba(93, 228, 199, 0.08); border-color: rgba(93, 228, 199, 0.28); }
.sc-1 .sc-num { color: #5DE4C7; }
.sc-2 { background: rgba(115, 87, 165, 0.14); border-color: rgba(115, 87, 165, 0.34); }
.sc-2 .sc-num { color: #B69BE0; }
.sc-3 { background: rgba(225, 89, 81, 0.10); border-color: rgba(225, 89, 81, 0.30); }
.sc-3 .sc-num { color: #F37972; }
@media (max-width: 960px) { .solution-cards { grid-template-columns: 1fr; } }

/* ============ METODOLOGIA — kafle 2×2 (parytet wizualny z warsztatami live) ============ */
.method-section-stripes { top: -10%; right: -10%; width: min(480px, 40%); }
.method-grid { display: grid; grid-template-columns: 1fr 540px; gap: 60px; align-items: center; }
.method-text h2 { margin-bottom: 24px; }
.method-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.method-tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  min-height: 200px; padding: 16px 20px 20px;
  border-radius: 12px; /* parytet z kaflami wzorca (nie token kart 8px) */
  border: 1px solid transparent;
  box-shadow: 0 30px 50px -15px rgba(9, 9, 45, 0.5);
}
.method-tile h3 { font-size: 20px; line-height: 26px; color: var(--color-near-white); }
.method-tile p { font-family: var(--font-heading); font-weight: 500; font-size: 15px; line-height: 22px; color: var(--color-near-white); }
.method-icon { width: 56px; height: 56px; }
.method-bar { display: block; width: 52px; height: 2px; }
.method-tile::after {
  /* mała pillowa belka deko w rogu — jak rectangle7x we wzorcu */
  content: ""; position: absolute; top: 10px; right: -26px;
  width: 104px; height: 13px; border-radius: var(--radius-pill);
  transform: rotate(315deg); opacity: .8;
}
.method-tile--title {
  justify-content: flex-end; padding-top: 86px;
  background: linear-gradient(0deg, #DFE4FA 0%, #F6F8FF 100%);
  border-color: rgba(255, 255, 255, 0.4);
}
.method-tile--title h3 { color: #47437F; }
.method-tile--title::after { content: none; }
.method-tile-deco { position: absolute; top: 20px; left: 20px; width: 237px; height: 48px; }
.method-tile--coral {
  background: linear-gradient(119deg, rgba(243, 121, 114, 0.25) 0%, rgba(243, 121, 114, 0.75) 100%), rgba(2, 2, 36, 0.33);
  border-color: #F37972;
}
.method-tile--coral .method-bar { background: #F37972; }
.method-tile--coral::after { background: linear-gradient(90deg, rgba(243, 121, 114, 0), #F37972); }
.method-tile--purple {
  background: linear-gradient(119deg, rgba(155, 109, 198, 0.26) 0%, rgba(155, 109, 198, 0.75) 100%), rgba(2, 2, 36, 0.33);
  border-color: #9B6DC6;
}
.method-tile--purple .method-bar { background: #9B6DC6; }
.method-tile--purple::after { background: linear-gradient(90deg, rgba(155, 109, 198, 0), #9B6DC6); }
.method-tile--teal {
  /* teal 1:1 ze wzorca live warsztatów (parytet wizualny kafli — decyzja koordynatora) */
  background: linear-gradient(119deg, rgba(31, 167, 127, 0.25) 0%, rgba(31, 167, 127, 0.75) 100%), rgba(2, 2, 36, 0.33);
  border-color: #1FA77F;
}
.method-tile--teal .method-bar { background: #1FA77F; }
.method-tile--teal::after { background: linear-gradient(90deg, rgba(31, 167, 127, 0), #1FA77F); }
@media (max-width: 1100px) {
  .method-grid { grid-template-columns: 1fr; gap: 40px; }
  .method-tiles { max-width: 540px; }
}
@media (max-width: 560px) {
  .method-tiles { grid-template-columns: 1fr; gap: 18px; max-width: none; }
  .method-tile { min-height: 0; }
  .method-tile--title { padding-top: 78px; }
}

/* ================= PROOF — karuzela referencji (wzorzec: warsztaty) ================= */
.proof h2 { margin-bottom: 44px; max-width: 820px; }
.testimonials {
  position: relative;
  background: rgba(0, 0, 35, 0.66);
  border: 1px solid rgba(96, 117, 203, 0.5);
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(9, 9, 45, 0.6);
  padding: 84px 60px 44px 60px;
}
.testimonials-quote {
  position: absolute; top: -22px; left: 52px;
  width: 111px; height: 91px; pointer-events: none; user-select: none;
}
.testimonials-viewport { overflow: hidden; }
.testimonials-track {
  display: flex; align-items: stretch;
  transition: transform .5s ease;
  will-change: transform;
}
.testimonial {
  flex: 0 0 100%; min-width: 100%;
  display: flex; flex-direction: column; gap: 36px;
  padding: 0 80px;
}
.testimonial-text {
  font-family: var(--font-heading); font-weight: 400;
  font-size: 18px; line-height: 30px; color: #DFE4FA;
}
.testimonial-author { display: flex; align-items: center; gap: 20px; font-size: 15px; line-height: 1.5; }
.testimonial-avatar {
  flex: none; width: 60px; height: 60px; border-radius: var(--radius-pill);
  object-fit: cover; border: 1px solid rgba(163, 175, 219, 0.35);
}
.testimonial-avatar--fallback {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7357A5, #478FCD);
  font-family: var(--font-heading); font-weight: 600; font-size: 18px; letter-spacing: 0.04em;
  color: var(--color-near-white);
}
.testimonial-author-meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 16px; color: var(--color-near-white); }
.testimonial-author span { color: #A2AFDB; font-size: 14px; }
.testimonials-controls {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  margin-top: 36px;
}
.testimonials-dots { display: flex; align-items: center; gap: 10px; margin-right: 14px; }
.testimonials-dot {
  width: 12px; height: 12px; padding: 0; border: none; border-radius: var(--radius-pill);
  background: rgba(163, 175, 219, 0.35); cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.testimonials-dot.is-active { width: 28px; background: #A3AFDB; }
.testimonials-dot:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 3px; }
.button-round {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border: none; border-radius: var(--radius-pill);
  background: #A3AFDB; color: #020224; cursor: pointer;
  transition: opacity .2s ease, transform .2s ease;
}
.button-round:hover { opacity: 0.7; transform: translateY(-1px); }
.button-round:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 3px; }
.button-round svg { width: 20px; height: 20px; }
@media (max-width: 760px) {
  .testimonials { padding: 64px 24px 32px; }
  .testimonial { padding: 0 8px; }
  .testimonials-quote { width: 72px; height: 59px; top: -14px; left: 24px; }
  .testimonials-controls { justify-content: center; }
}

/* ============ PROCESS — jasny panel „przełamania" (wzorzec: mediacje) ============ */
.process--light {
  position: relative; z-index: 2; margin-top: -74px; overflow: hidden;
  background-color: #E6EEF9;
  background-image: url("public/images/process-bg.svg");
  background-repeat: no-repeat; background-position: center top; background-size: 160%;
  border-radius: 56px;
  padding-top: 150px; padding-bottom: 132px;
}
.process--light .eyebrow { color: #7357A5; }
.process--light h2 { color: #020224; }
.process--light .process-steps { border-top-color: rgba(2, 2, 36, 0.12); }
.process--light .process-step { border-bottom-color: rgba(2, 2, 36, 0.12); }
.process--light .step-num { color: #6B7394; }
.process--light .step-title { color: #020224; }
.process--light .process-step summary::after { color: #7357A5; }
.process--light .process-step summary:focus-visible { outline-color: #172356; }
.process--light .step-body p { color: #3C4257; }
.process--light .process-note {
  background: rgba(2, 2, 36, 0.05);
  border-left-color: #7357A5;
  color: #172356;
  border-radius: var(--radius-card);
  box-shadow: none; border-top: none; border-right: none; border-bottom: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.process--light .process-note a { color: #172356; font-weight: 600; }
.process--light .process-note a:hover { color: #7357A5; }
.process--light .process-note a:focus-visible { outline-color: #172356; }
@media (max-width: 560px) {
  .process--light { border-radius: 40px; padding-top: 120px; padding-bottom: 104px; margin-top: -56px;
    background-image: url("public/images/process-mobile.svg"); background-size: 200%; }
}

.process h2 { margin-bottom: 40px; }
.process-steps { list-style: none; margin: 0 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.10); position: relative; z-index: 1; }
.process-step { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.process-step summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 22px; padding: 26px 6px; min-height: 44px; }
.process-step summary::-webkit-details-marker { display: none; }
.step-num { font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--color-accent); flex: none; letter-spacing: 0.04em; }
.step-title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.3; color: var(--text-primary); margin: 0; flex: 1; }
.process-step summary::after { content: "+"; font-family: var(--font-heading); font-weight: 400; font-size: 26px; line-height: 1; color: var(--color-accent); flex: none; }
.process-step[open] summary::after { content: "\2212"; }
.process-step summary:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 3px; border-radius: 6px; }
.step-body { padding: 0 6px 30px 54px; }
.step-body p { font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.process-note {
  padding: 24px 30px; border-left: 4px solid var(--color-accent);
  font-size: 17px; line-height: 1.6; color: var(--text-primary);
}
.process-note a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.process-note a:hover { color: var(--color-near-white); }
.process-note a:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 3px; border-radius: 4px; }

/* ============================== ABOUT =============================== */
.about::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 55% at 10% 42%, rgba(115, 87, 165, 0.22), transparent 70%);
}
.about-grid { display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.about-media { position: relative; }
.about-beam {
  position: absolute; top: -16%; right: -6%; width: 300px; height: 560px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(93, 228, 199, 0.55) 0%, rgba(93, 228, 199, 0.10) 50%, transparent 80%);
  transform: rotate(26deg); filter: blur(34px); border-radius: 120px;
}
.about-photo {
  position: relative; z-index: 1; border-radius: var(--radius-image); overflow: hidden;
  background: linear-gradient(180deg, rgba(71, 143, 205, 0.16), rgba(115, 87, 165, 0.16));
  box-shadow: var(--shadow-card);
}
.about-photo img { width: 100%; height: auto; display: block; }
.about-text h2 { margin-bottom: 24px; }
.about-text .body-text + .body-text { margin-top: 18px; }
.proof-strip {
  margin-top: 28px; padding: 16px 24px;
  border-left: 3px solid var(--color-accent);
  background: rgba(93, 228, 199, 0.06);
  border-radius: var(--radius-card);
  font-family: var(--font-heading); font-weight: 600;
  font-size: 15px; line-height: 1.7; color: var(--text-primary);
}
.badges { display: flex; align-items: center; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.badges img { width: auto; display: block; }
.badge-pcc { height: 66px; }
.badge-gallup { height: 66px; }
.trust-strip {
  margin-top: 24px; font-family: var(--font-heading); font-weight: 600;
  font-size: 15px; line-height: 1.8; color: var(--text-secondary);
}

/* ============================== OFFER =============================== */
.offer::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(36% 50% at 8% 46%, rgba(115, 87, 165, 0.20), transparent 70%);
}
.offer-stripes { top: -6%; right: -9%; width: min(520px, 42%); }
.offer h2 { margin-bottom: 44px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; margin-bottom: 24px; }
.offer-card { padding: 34px 30px 30px; display: flex; flex-direction: column; position: relative; }
.offer-card--featured {
  border-color: rgba(225, 89, 81, 0.55);
  background: linear-gradient(170deg, rgba(225, 89, 81, 0.14) 0%, rgba(23, 35, 86, 0.6) 55%);
}
.offer-badge {
  position: absolute; top: -14px; left: 26px;
  font-family: var(--font-heading); font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #FFFFFF; background: var(--color-action);
  border-radius: var(--radius-pill); padding: 6px 14px;
  box-shadow: var(--shadow-elevated);
}
.offer-card h3 { font-size: 20px; line-height: 1.35; margin-bottom: 14px; padding-right: 8px; }
.offer-price { font-family: var(--font-heading); font-weight: 700; font-size: 36px; line-height: 1; color: var(--text-primary); margin-bottom: 24px; }
.offer-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; flex: 1; }
.offer-features li { position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.5; color: var(--text-secondary); }
.offer-features li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: var(--radius-pill);
  background: rgba(93, 228, 199, 0.12); border: 1px solid rgba(93, 228, 199, 0.45);
}
.offer-features li::after {
  content: ""; position: absolute; left: 7px; top: 8px;
  width: 8px; height: 5px; border-left: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}
.offer-card .btn-primary, .offer-card .btn-outline { width: 100%; }
.offer-consult {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px 32px; padding: 26px 32px; margin-bottom: 28px;
}
.offer-consult p { font-size: 17px; line-height: 1.5; color: var(--text-secondary); }
.offer-consult strong { color: var(--text-primary); font-family: var(--font-heading); font-weight: 700; }
.offer-fineprint { font-size: 14px; line-height: 1.55; color: var(--text-muted); }
@media (max-width: 960px) {
  .offer-grid { grid-template-columns: 1fr; gap: 26px; }
  .offer-card--featured { order: -1; }
}

/* =============================== FAQ =============================== */
.faq .container > h2 { margin-bottom: 40px; text-align: center; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { padding: 0 26px; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 0; min-height: 44px;
  font-family: var(--font-heading); font-weight: 600; font-size: 18px; line-height: 1.4;
  color: var(--text-primary); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; margin-top: 6px;
  width: 12px; height: 12px; border-right: 2px solid var(--color-accent); border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-answer { padding: 0 0 24px; }
.faq-answer p { font-size: 16px; line-height: 1.65; color: var(--text-secondary); max-width: 62ch; }
.faq-item summary:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 4px; border-radius: 4px; }

/* ============================ FINAL CTA ============================= */
.final-cta {
  background-color: #020224;
  background-image: url("public/images/left-stripes.svg"), linear-gradient(180deg, #020224 0%, #020224 45%, #172356 100%);
  background-repeat: no-repeat;
  background-position: bottom left, center;
  background-size: auto, cover;
}
.final-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.final-left h2 { margin-bottom: 20px; }
.final-left .final-body { max-width: 520px; margin-bottom: 32px; }
.final-left .btn-primary { margin-bottom: 40px; }
.final-contact-block { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; align-items: center; gap: 14px; font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: var(--text-primary); transition: color .18s ease; min-height: 44px; }
.contact-row:hover { color: var(--color-accent); }
.contact-row:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 3px; border-radius: 6px; }
.contact-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--color-accent); background: rgba(93, 228, 199, 0.12); border: 1px solid rgba(93, 228, 199, 0.30); }
.contact-ic svg { width: 20px; height: 20px; }

.final-card-wrap { position: relative; }
.card-bar { position: absolute; border-radius: var(--radius-pill); z-index: 0; }
.card-bar--tr { top: -22px; right: -34px; width: 170px; height: 58px; transform: rotate(-42deg); background: linear-gradient(90deg, #5DE4C7, #7357A5); }
.card-bar--bl { bottom: -24px; left: -34px; width: 150px; height: 54px; transform: rotate(-42deg); background: linear-gradient(90deg, #478FCD, #E15951); }
.final-card { position: relative; z-index: 1; overflow: hidden; background: #F7F8FF; border-radius: 24px; padding: 44px 44px 40px; box-shadow: 0 24px 64px rgba(2, 2, 36, 0.55); }

/* ---- Formularz kontaktowy ---- */
.form-title { font-family: var(--font-heading); font-weight: 600; font-size: clamp(23px, 2.5vw, 29px); line-height: 1.2; color: #020224; margin: 0 0 26px; }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; color: #5A6178; margin-bottom: 8px; }
.contact-form .req { color: var(--color-action); }
.contact-form input, .contact-form textarea {
  width: 100%; box-sizing: border-box; background: #FFFFFF;
  border: 1.5px solid rgba(2, 2, 36, 0.18); border-radius: var(--radius-input);
  padding: 12px 18px; min-height: 44px;
  font-family: var(--font-body); font-size: 16px; color: #020224;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgba(225, 89, 81, 0.18);
}
.contact-form textarea { resize: vertical; min-height: 92px; }
.form-consent { font-size: 12.5px; line-height: 1.5; color: #6B7280; margin: 6px 0 22px; }
.form-consent a { color: var(--color-action); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:focus-visible { outline: 3px solid var(--color-action); outline-offset: 2px; border-radius: 3px; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 48px;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: #fff;
  background: var(--color-action); border: none; border-radius: var(--radius-button);
  padding: 12px 28px; transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-submit:hover { background: var(--color-action-hover); transform: translateY(-1px); box-shadow: var(--shadow-cta); }
.btn-submit:focus-visible { outline: 3px solid #020224; outline-offset: 3px; }
.btn-submit svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .final-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================== FOOTER ============================= */
.site-footer {
  background: #020224;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 76px 0 56px;
}
.footer-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 40px;
}
.footer-brand { display: flex; align-items: center; gap: 40px; }
.footer-logo { height: 30px; width: auto; }
.footer-social { display: flex; align-items: center; gap: 18px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: var(--text-secondary);
  transition: color .18s ease;
}
.footer-social a:hover { color: var(--color-action); }
.footer-social a:focus-visible { outline: 3px solid var(--color-near-white); outline-offset: 2px; border-radius: 8px; }
.footer-social svg { width: 22px; height: 22px; }
.footer-copy {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 14px; color: var(--text-muted);
}
.footer-copy a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }
.footer-copy a:hover { color: var(--color-action); }
.footer-company {
  display: flex; flex-wrap: wrap; gap: 6px 20px;
  font-size: 14px; color: var(--text-muted);
}
.footer-company-name { font-family: var(--font-heading); font-weight: 600; color: var(--text-secondary); }

/* ============================== RWD ================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 380px; gap: 40px; }
}
@media (max-width: 960px) {
  .nav-links, .nav-sep, .nav-cta { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-media { order: -1; max-width: 420px; }
  .about-beam { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .offer-consult { padding: 24px; }
  .offer-consult .btn-primary { width: 100%; }
  .final-card { padding: 32px 24px 28px; }
  .step-body { padding-left: 6px; }
}
@media (max-width: 360px) {
  .container { padding: 0 16px; }
}

/* Dostępność: redukcja ruchu */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
